summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephanie J. Lockwood-Childs <wormo@gentoo.org>2008-12-26 08:07:25 +0000
committerStephanie J. Lockwood-Childs <wormo@gentoo.org>2008-12-26 08:07:25 +0000
commit38fe061a92433f33149670613647b46e426863ec (patch)
treecb0a3e8753d339c0d82bdbb5e343338882e1779d /dev-util/biew
parentpackage.masked dev-util/biew on amd64 no-multilib profiles (diff)
downloadhistorical-38fe061a92433f33149670613647b46e426863ec.tar.gz
historical-38fe061a92433f33149670613647b46e426863ec.tar.bz2
historical-38fe061a92433f33149670613647b46e426863ec.zip
Version bump with the help of Andrej Gelenberg (bug #251905)
Package-Manager: portage-2.1.4.5
Diffstat (limited to 'dev-util/biew')
-rw-r--r--dev-util/biew/ChangeLog9
-rw-r--r--dev-util/biew/Manifest16
-rw-r--r--dev-util/biew/biew-5.7.0.ebuild59
-rw-r--r--dev-util/biew/files/biew-570-configure-gpm.patch16
-rw-r--r--dev-util/biew/files/biew-570-makefile.patch29
5 files changed, 117 insertions, 12 deletions
diff --git a/dev-util/biew/ChangeLog b/dev-util/biew/ChangeLog
index 0f6885632bff..bde739ae9c49 100644
--- a/dev-util/biew/ChangeLog
+++ b/dev-util/biew/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for dev-util/biew
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.23 2008/10/05 12:00:47 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.24 2008/12/26 08:07:23 wormo Exp $
+
+*biew-5.7.0 (26 Dec 2008)
+
+ 26 Dec 2008; Stephanie Lockwood-Childs <wormo@gentoo.org>
+ +files/biew-570-configure-gpm.patch, +files/biew-570-makefile.patch,
+ +biew-5.7.0.ebuild:
+ Version bump with the help of Andrej Gelenberg (bug #251905)
05 Oct 2008; Michał Januszewski <spock@gentoo.org> metadata.xml:
Remove myself from the maintainer list.
diff --git a/dev-util/biew/Manifest b/dev-util/biew/Manifest
index 50fe7104bafc..b9175f912b4c 100644
--- a/dev-util/biew/Manifest
+++ b/dev-util/biew/Manifest
@@ -1,16 +1,10 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX biew-562-lvalue-casts.patch 5531 RMD160 fd994fa1c4104023b1644a5a8cb53adbafe4b7cf SHA1 b579bbfc6fb8e3a6d8e572e6dc5b16caf7597415 SHA256 1a9090cd036ee0c32d4e36a8db6fd10238e6011d0daf579041a3079912dad5c3
+AUX biew-570-configure-gpm.patch 438 RMD160 babcf41509c96a687edc49054be1c365b5bb35f5 SHA1 9b97afde5558a7605f6351571cacd048e6c88d01 SHA256 e68e00503e0d9ecc743f0cfeb0a165de1073f9344a7019fa91aee62097519659
+AUX biew-570-makefile.patch 1470 RMD160 ad57982ba052fa1b99393aa5a4d0cbd2eab9dc74 SHA1 b275ab43972ccd4c90069a597d231f7aa107e7e5 SHA256 4e01be131af03bcca368dd5a6504a88181d1b8ee411c479661ac30f5536a3015
+DIST biew-570.tar.bz2 734263 RMD160 c9b27528f3d23016cb5050bc01eeeb6585c02956 SHA1 5f3207cc713a8e0d665df1c1335764dc94463049 SHA256 5cc56bfe1951f7a66989cf0dd342e71c8600942b6ac05fece2f95aff6353248c
DIST biew562.tar.bz2 594367 RMD160 413f2c72a70056adbebd5e79d541201d6e3b27cb SHA1 44435c0815a59d38c9a6c74d09c0f495e71e23fe SHA256 82263fdd9f9854a9326889b8d4e138c0dba3f08460922d4683f659873313e46a
EBUILD biew-5.6.2-r1.ebuild 1678 RMD160 4ecc7326e5121e8c3e4777521764a793caff2215 SHA1 aed4077ff37825f68de95d12a5499afdeadc7ba3 SHA256 8d84058f77c8afcdf3a54a37a2f7ac612561a112909838a730abccf3bd7bbf42
EBUILD biew-5.6.2.ebuild 1555 RMD160 ad7c69643c772863741c8d18042b03043856a3f2 SHA1 6a5099cc03f7e54ee76ea2456d0e984ffaa32d79 SHA256 91590f47083f4d6d23761c79e22f719c4c1a9fd18104ab57906e19819525023f
-MISC ChangeLog 2867 RMD160 b09a7ed0c45962b68c8f1a408fe944fce84b8a4f SHA1 083d070e1e9f900809fcac55c540f9aba61b6dd5 SHA256 4dd7b072ff247ec8a933858eeddbcbc25c7943469e5c711ab3be63f9c6dde67b
+EBUILD biew-5.7.0.ebuild 1321 RMD160 8a6de85c20b6b07e0cf79abc316edd8697359933 SHA1 ce3b7c0ca32c0fdfadbac79b2dd92ed9b84007e6 SHA256 32cd25edc001b1495a60a6a7175e8d596c9895274bcf3fe7c76c6abed3567968
+MISC ChangeLog 3111 RMD160 0b76cbb893b511ebb5b123743f65ad482da76bc1 SHA1 04d2f2a48fb7e4fa651d663077a02954e224e119 SHA256 9907971bdf8e2f1375bdb8095a8da15be0e562e6608bf1c86d0d323e4e582d27
MISC metadata.xml 233 RMD160 d81ec1a0582856aeac5ef3bfec5c80d9850216f6 SHA1 9b94f113e7f382076b1749c2a856e409c96cade3 SHA256 dce03f6cdd96135caf3c971a5ca4a8c916f44532fe8cfb6df88b7bdade407e8b
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkjorCMACgkQchej4aZK9/dm0QCffTPneedNbiAqlJ0dHtuWIMi/
-HXwAn3WbTub5Dy8wxnZyFxs7p3o6lzSY
-=cdEy
------END PGP SIGNATURE-----
diff --git a/dev-util/biew/biew-5.7.0.ebuild b/dev-util/biew/biew-5.7.0.ebuild
new file mode 100644
index 000000000000..a864013a6abc
--- /dev/null
+++ b/dev-util/biew/biew-5.7.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-5.7.0.ebuild,v 1.1 2008/12/26 08:07:23 wormo Exp $
+
+inherit eutils
+
+DESCRIPTION="A portable viewer of binary files, hexadecimal and disassembler modes."
+HOMEPAGE="http://biew.sourceforge.net"
+SRC_URI="mirror://sourceforge/biew/${PN}-${PV//./}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="gpm"
+
+DEPEND="gpm? ( sys-libs/gpm )"
+
+RDEPEND="gpm? (
+ x86? ( sys-libs/gpm )
+ amd64? ( app-emulation/emul-linux-x86-baselibs )
+ )"
+# biew build only compiles 32-bit binary on amd64, and 32-bit libgpm is in
+# app-emulation/emul-linux-x86-baselibs
+
+S=${WORKDIR}/${PN}-${PV//./}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/biew-570-configure-gpm.patch
+ epatch "${FILESDIR}"/biew-570-makefile.patch
+}
+
+src_compile() {
+ local enable_gpm
+
+ if use gpm ; then
+ enable_gpm=yes
+ else
+ enable_gpm=no
+ fi
+ export _gpm=${enable_gpm}
+
+ econf
+ emake
+ for i in doc/*.ru doc/file_id.diz doc/biew_ru.txt doc/biew_en.txt
+ do
+ if iconv -f cp866 -t utf-8 "$i" > "$i.conv"
+ then
+ mv "$i.conv" "$i"
+ fi
+ done
+}
+
+src_install() {
+ make install DESTDIR="${D}"
+ doman doc/biew.1
+ dodoc doc/*.txt doc/*.en doc/*.ru doc/file_id.diz
+}
diff --git a/dev-util/biew/files/biew-570-configure-gpm.patch b/dev-util/biew/files/biew-570-configure-gpm.patch
new file mode 100644
index 000000000000..61497f80ca89
--- /dev/null
+++ b/dev-util/biew/files/biew-570-configure-gpm.patch
@@ -0,0 +1,16 @@
+--- configure.old 2008-12-24 13:26:59.000000000 -0800
++++ configure 2008-12-24 13:34:00.000000000 -0800
+@@ -478,8 +478,11 @@
+ #include <gpm.h>
+ int main(void) {return 0;}
+ EOF
+- _gpm=no
+- cc_check -lgpm && _gpm=yes
++ # _gpm may be forced from command line
++ if test -z "$_gpm" ; then
++ _gpm=no
++ cc_check -lgpm && _gpm=yes
++ fi
+ if test "$_gpm" = yes ; then
+ _cdefos="-DHAVE_MOUSE $_cdefos"
+ _oslibs="-lgpm $_oslibs"
diff --git a/dev-util/biew/files/biew-570-makefile.patch b/dev-util/biew/files/biew-570-makefile.patch
new file mode 100644
index 000000000000..eda929ba33d1
--- /dev/null
+++ b/dev-util/biew/files/biew-570-makefile.patch
@@ -0,0 +1,29 @@
+--- makefile.orig 2008-12-21 12:33:37.001959467 +0100
++++ makefile 2008-12-21 12:38:56.925669582 +0100
+@@ -271,16 +271,16 @@
+ @echo "*** of this project"
+ @exit 1
+ endif
+- $(INSTALL) -D -m 755 $(TARGET) $(PREFIX)/bin/$(TARGET)
+- $(INSTALL) -D -c -m 644 doc/biew.1 $(PREFIX)/man/man1/biew.1
+- $(INSTALL) -D -c -m 644 bin_rc/biew.hlp $(DATADIR)/biew.hlp
+- mkdir --parents $(DATADIR)/skn
+- $(INSTALL) -D -c -m 644 bin_rc/skn/*.skn $(DATADIR)/skn
+- mkdir --parents $(DATADIR)/syntax
+- $(INSTALL) -D -c -m 644 bin_rc/syntax/*.stx $(DATADIR)/syntax
+- mkdir --parents $(DATADIR)/xlt/russian
+- $(INSTALL) -D -c -m 644 bin_rc/xlt/russian/*.xlt $(DATADIR)/xlt/russian
+- $(INSTALL) -D -c -m 644 bin_rc/xlt/*.xlt bin_rc/xlt/readme $(DATADIR)/xlt
++ $(INSTALL) -D -m 755 $(TARGET) $(DESTDIR)$(PREFIX)/bin/$(TARGET)
++ $(INSTALL) -D -c -m 644 doc/biew.1 $(DESTDIR)$(PREFIX)/man/man1/biew.1
++ $(INSTALL) -D -c -m 644 bin_rc/biew.hlp $(DESTDIR)$(DATADIR)/biew.hlp
++ mkdir --parents $(DESTDIR)$(DATADIR)/skn
++ $(INSTALL) -D -c -m 644 bin_rc/skn/*.skn $(DESTDIR)$(DATADIR)/skn
++ mkdir --parents $(DESTDIR)$(DATADIR)/syntax
++ $(INSTALL) -D -c -m 644 bin_rc/syntax/*.stx $(DESTDIR)$(DATADIR)/syntax
++ mkdir --parents $(DESTDIR)$(DATADIR)/xlt/russian
++ $(INSTALL) -D -c -m 644 bin_rc/xlt/russian/*.xlt $(DESTDIR)$(DATADIR)/xlt/russian
++ $(INSTALL) -D -c -m 644 bin_rc/xlt/*.xlt bin_rc/xlt/readme $(DESTDIR)$(DATADIR)/xlt
+ uninstall:
+ $(RM) $(PREFIX)/bin/$(TARGET)
+ $(RM) $(DATADIR)/skn/*