Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-util/insight: ChangeLog insight-6.7.1.ebuild
Date: Fri, 09 Nov 2007 08:41:49
Message-Id: E1IqPQp-000801-3P@stork.gentoo.org
1 vapier 07/11/09 08:41:39
2
3 Modified: ChangeLog
4 Added: insight-6.7.1.ebuild
5 Log:
6 Version bump.
7 (Portage version: 2.1.3.19)
8
9 Revision Changes Path
10 1.41 dev-util/insight/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/insight/ChangeLog?rev=1.41&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/insight/ChangeLog?rev=1.41&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/insight/ChangeLog?r1=1.40&r2=1.41
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/dev-util/insight/ChangeLog,v
19 retrieving revision 1.40
20 retrieving revision 1.41
21 diff -u -r1.40 -r1.41
22 --- ChangeLog 22 Jul 2007 07:24:10 -0000 1.40
23 +++ ChangeLog 9 Nov 2007 08:41:38 -0000 1.41
24 @@ -1,6 +1,11 @@
25 # ChangeLog for dev-util/insight
26 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/dev-util/insight/ChangeLog,v 1.40 2007/07/22 07:24:10 graaff Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/dev-util/insight/ChangeLog,v 1.41 2007/11/09 08:41:38 vapier Exp $
29 +
30 +*insight-6.7.1 (09 Nov 2007)
31 +
32 + 09 Nov 2007; Mike Frysinger <vapier@g.o> +insight-6.7.1.ebuild:
33 + Version bump.
34
35 22 Jul 2007; Hans de Graaff <graaff@g.o> insight-6.5.ebuild:
36 Drop virtual/x11 references.
37
38
39
40 1.1 dev-util/insight/insight-6.7.1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/insight/insight-6.7.1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-util/insight/insight-6.7.1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: insight-6.7.1.ebuild
46 ===================================================================
47 # Copyright 1999-2007 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/dev-util/insight/insight-6.7.1.ebuild,v 1.1 2007/11/09 08:41:38 vapier Exp $
50
51 inherit eutils flag-o-matic
52
53 export CTARGET=${CTARGET:-${CHOST}}
54 if [[ ${CTARGET} == ${CHOST} ]] ; then
55 if [[ ${CATEGORY/cross-} != ${CATEGORY} ]] ; then
56 export CTARGET=${CATEGORY/cross-}
57 fi
58 fi
59
60 DESCRIPTION="A graphical interface to the GNU debugger"
61 HOMEPAGE="http://sourceware.org/insight/"
62 SRC_URI="ftp://sources.redhat.com/pub/${PN}/releases/${P}.tar.bz2"
63
64 LICENSE="GPL-2 LGPL-2"
65 [[ ${CTARGET} != ${CHOST} ]] \
66 && SLOT="${CTARGET}" \
67 || SLOT="0"
68 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86"
69 IUSE="nls"
70
71 RDEPEND="sys-libs/ncurses
72 x11-libs/libX11"
73 DEPEND="${RDEPEND}
74 nls? ( sys-devel/gettext )"
75
76 src_unpack() {
77 unpack ${A}
78 cd "${S}"
79 epatch "${FILESDIR}"/${PN}-6.6-DESTDIR.patch
80 epatch "${FILESDIR}"/${PN}-6.6-burn-paths.patch
81 }
82
83 src_compile() {
84 append-flags -fno-strict-aliasing # tcl code sucks
85 strip-linguas -u bfd/po opcodes/po
86 econf \
87 --disable-werror \
88 $(use_enable nls) \
89 --enable-gdbtk \
90 --disable-tui \
91 --datadir=/usr/share/${PN} \
92 || die
93 emake || die
94 }
95
96 src_install() {
97 # the tcl-related subdirs are not parallel safe
98 emake -j1 DESTDIR="${D}" install || die
99
100 # Don't install docs when building a cross-insight
101 if [[ ${CTARGET} == ${CHOST} ]] ; then
102 dodoc gdb/gdbtk/{README,TODO}
103 fi
104
105 # the gui tcl code does not consider any of the configure
106 # options given it ... instead, it requires the path to
107 # be /usr/share/redhat/...
108 mv "${D}"/usr/share/${PN}/redhat "${D}"/usr/share/ || die
109
110 # scrub all the cruft we dont want
111 local x
112 cd "${D}"/usr/bin
113 for x in * ; do
114 [[ ${x} != *insight ]] && rm -f ${x}
115 done
116 cd "${D}"
117 rm -rf usr/{include,man,share/{info,locale,man}}
118 rm -rf usr/lib*
119 }
120
121
122
123 --
124 gentoo-commits@g.o mailing list