Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/biew: biew-6.1.0-r2.ebuild ChangeLog biew-6.1.0-r1.ebuild
Date: Sun, 04 Mar 2012 09:54:57
Message-Id: 20120304095446.AB18B2004C@flycatcher.gentoo.org
1 pacho 12/03/04 09:54:46
2
3 Modified: ChangeLog
4 Added: biew-6.1.0-r2.ebuild
5 Removed: biew-6.1.0-r1.ebuild
6 Log:
7 Prevent crashes, bug #382033 by Nico R. Drop broken version.
8
9 (Portage version: 2.1.10.49/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.33 dev-util/biew/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/ChangeLog?rev=1.33&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/ChangeLog?rev=1.33&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/ChangeLog?r1=1.32&r2=1.33
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v
21 retrieving revision 1.32
22 retrieving revision 1.33
23 diff -u -r1.32 -r1.33
24 --- ChangeLog 28 Dec 2011 08:08:40 -0000 1.32
25 +++ ChangeLog 4 Mar 2012 09:54:46 -0000 1.33
26 @@ -1,6 +1,12 @@
27 # ChangeLog for dev-util/biew
28 -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.32 2011/12/28 08:08:40 xmw Exp $
30 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/dev-util/biew/ChangeLog,v 1.33 2012/03/04 09:54:46 pacho Exp $
32 +
33 +*biew-6.1.0-r2 (04 Mar 2012)
34 +
35 + 04 Mar 2012; Pacho Ramos <pacho@g.o> +biew-6.1.0-r2.ebuild,
36 + +files/biew-610-crash.patch, -biew-6.1.0-r1.ebuild:
37 + Prevent crashes, bug #382033 by Nico R. Drop broken version.
38
39 28 Dec 2011; Michael Weber <xmw@g.o> metadata.xml:
40 taking maint
41
42
43
44 1.1 dev-util/biew/biew-6.1.0-r2.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/biew-6.1.0-r2.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-util/biew/biew-6.1.0-r2.ebuild?rev=1.1&content-type=text/plain
48
49 Index: biew-6.1.0-r2.ebuild
50 ===================================================================
51 # Copyright 1999-2012 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/dev-util/biew/biew-6.1.0-r2.ebuild,v 1.1 2012/03/04 09:54:46 pacho Exp $
54
55 EAPI=4
56 inherit eutils flag-o-matic toolchain-funcs versionator
57
58 MY_P=${PN}-$(replace_all_version_separators "")
59
60 DESCRIPTION="A portable viewer of binary files, hexadecimal and disassembler modes."
61 HOMEPAGE="http://beye.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/beye/${PV}/${MY_P}-src.tar.bz2"
63 S=${WORKDIR}/${MY_P}
64
65 LICENSE="GPL-2"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="gpm mmx sse"
69 REQUIRED_USE="mmx sse"
70
71 RDEPEND="gpm? ( sys-libs/gpm )"
72 DEPEND="${RDEPEND}"
73
74 pkg_setup() {
75 append-flags -mmmx -msse #362043
76 }
77
78 src_prepare() {
79 epatch "${FILESDIR}/${PN}-610-fix_localedep-1.patch"
80 epatch "${FILESDIR}/${PN}-610-portable_configure-1.patch"
81 epatch "${FILESDIR}/${PN}-610-crash.patch"
82 sed -i -e 's^man/man1/biew.1^share/man/man1/biew.1^' makefile || die "Failed to edit makefile."
83 }
84
85 src_configure() {
86 if use gpm; then
87 append-flags -DHAVE_MOUSE
88 else
89 append-flags -UHAVE_MOUSE
90 fi
91 ./configure --datadir=/usr/share/${PN} \
92 --prefix=/usr \
93 --cc="$(tc-getCC)" \
94 --ld="$(tc-getCC)" \
95 --as="$(tc-getAS)" \
96 --ranlib="$(tc-getRANLIB)" || die "configure failed."
97 }
98
99 src_compile() {
100 emake LDFLAGS="${LDFLAGS}"
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" install
105 dodoc doc/{biew_en,release,unix}.txt
106 }
107
108 pkg_postinst() {
109 elog
110 elog "Note: if you are upgrading from <=dev-util/biew-6.1.0 you will need"
111 elog "to change the paths in the setup dialog (F9) from /usr/share/ to"
112 elog "/usr/share/biew/ Alternatively, you can delete ~/.biewrc and it will"
113 elog "automatically determine the correct locations on the next run."
114 elog
115 }