Gentoo Archives: gentoo-commits

From: "Bernard Cafarelli (voyageur)" <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/afterstep: ChangeLog afterstep-2.2.9.ebuild
Date: Tue, 03 Nov 2009 14:49:30
Message-Id: E1N5KhL-0008WB-0L@stork.gentoo.org
1 voyageur 09/11/03 14:49:27
2
3 Modified: ChangeLog
4 Added: afterstep-2.2.9.ebuild
5 Log:
6 Version bump with cleanups, fixes bugs #180765 (bump request), #252119 (stripped files), and #265841 (ldconfig run on install)
7 (Portage version: 2.2_rc48/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.83 x11-wm/afterstep/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/afterstep/ChangeLog?rev=1.83&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/afterstep/ChangeLog?rev=1.83&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/afterstep/ChangeLog?r1=1.82&r2=1.83
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-wm/afterstep/ChangeLog,v
19 retrieving revision 1.82
20 retrieving revision 1.83
21 diff -u -r1.82 -r1.83
22 --- ChangeLog 10 Jul 2009 13:58:19 -0000 1.82
23 +++ ChangeLog 3 Nov 2009 14:49:26 -0000 1.83
24 @@ -1,6 +1,13 @@
25 # ChangeLog for x11-wm/afterstep
26 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/afterstep/ChangeLog,v 1.82 2009/07/10 13:58:19 ssuominen Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/afterstep/ChangeLog,v 1.83 2009/11/03 14:49:26 voyageur Exp $
29 +
30 +*afterstep-2.2.9 (03 Nov 2009)
31 +
32 + 03 Nov 2009; Bernard Cafarelli <voyageur@g.o>
33 + +afterstep-2.2.9.ebuild, +files/no-alternatives-2.2.9.patch:
34 + Version bump with cleanups, fixes bugs #180765 (bump request), #252119
35 + (stripped files), and #265841 (ldconfig run on install)
36
37 10 Jul 2009; Samuli Suominen <ssuominen@g.o>
38 -files/afterstep-1.8.11-gentoo.diff, -afterstep-2.00.05.ebuild,
39
40
41
42 1.1 x11-wm/afterstep/afterstep-2.2.9.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/afterstep/afterstep-2.2.9.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/afterstep/afterstep-2.2.9.ebuild?rev=1.1&content-type=text/plain
46
47 Index: afterstep-2.2.9.ebuild
48 ===================================================================
49 # Copyright 1999-2009 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/x11-wm/afterstep/afterstep-2.2.9.ebuild,v 1.1 2009/11/03 14:49:26 voyageur Exp $
52
53 EAPI=2
54 inherit autotools flag-o-matic eutils
55
56 DESCRIPTION="AfterStep is a feature rich NeXTish window manager"
57 HOMEPAGE="http://www.afterstep.org"
58 SRC_URI="ftp://ftp.afterstep.org/stable/AfterStep-${PV}.tar.bz2"
59
60 LICENSE="AFTERSTEP"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
63 IUSE="alsa debug dbus gif gtk jpeg mmx nls png svg tiff xinerama"
64
65 RDEPEND="media-libs/freetype
66 alsa? ( media-libs/alsa-lib )
67 dbus? ( sys-apps/dbus )
68 jpeg? ( >=media-libs/jpeg-6b )
69 gif? ( >=media-libs/giflib-4.1.0 )
70 gtk? ( x11-libs/gtk+:2 )
71 png? ( >=media-libs/libpng-1.2.5 )
72 svg? ( gnome-base/librsvg:2 )
73 tiff? ( >=media-libs/tiff-3.5.7 )
74 x11-libs/libICE
75 x11-libs/libXext
76 x11-libs/libSM
77 x11-libs/libXmu
78 x11-libs/libXt
79 x11-libs/libX11
80 x11-libs/libXpm
81 x11-libs/libXrender
82 xinerama? ( x11-libs/libXinerama )"
83
84 DEPEND="${RDEPEND}
85 x11-proto/xextproto
86 x11-proto/xproto
87 xinerama? ( x11-proto/xineramaproto )"
88
89 S=${WORKDIR}/AfterStep-${PV}
90
91 src_prepare() {
92 epatch "${FILESDIR}"/no-alternatives-${PV}.patch
93
94 # Do not strip binaries, bug #252119
95 sed -e "/STRIP_BINARIES/s/-s//" -i autoconf/configure.in || die "strip sed failed"
96 cd "${S}"/autoconf || die "cd autoconf failed"
97 eautoreconf
98 cp "${S}"/autoconf/autoconf/config.h.in "${S}"/autoconf || die "cp failed"
99 cp "${S}"/autoconf/configure "${S}" || die "cp failed"
100 }
101
102 src_configure() {
103 local myconf
104
105 use debug && myconf="--enable-gdb --enable-warn --enable-gprof
106 --enable-audit --enable-trace --enable-trace-x"
107
108 #implied intent of debug means you need the frame pointers.
109 use debug && filter-flags -fomit-frame-pointer
110
111 # Explanation of configure options
112 # ================================
113 # --with-helpcommand="xterm -e man" - Avoid installing xiterm
114 # --with-xpm - Contained in xfree
115 # --disable-availability - So we can use complete paths for menuitems
116 # --enable-ascp - The AfterStep ControlPanel is abandoned
117 # LDCONFIG - bug #265841
118
119 LDCONFIG=/bin/true econf \
120 $(use_enable alsa) \
121 $(use_enable mmx mmx-optimization) \
122 $(use_enable nls i18n) \
123 $(use_enable xinerama) \
124 $(use_with dbus dbus1) \
125 $(use_with gif) \
126 $(use_with gtk) \
127 $(use_with jpeg) \
128 $(use_with png) \
129 $(use_with tiff) \
130 $(use_with svg) \
131 --with-helpcommand="xterm -e man" \
132 --disable-availability \
133 --disable-staticlibs \
134 --enable-ascp=no \
135 ${myconf} || die "configure failed"
136 }
137
138 src_install() {
139 emake DESTDIR="${D}" install || die "make install failed"
140
141 # Create a symlink from MonitorWharf to Wharf
142 rm "${D}"/usr/bin/MonitorWharf
143 dosym /usr/bin/Wharf /usr/bin/MonitorWharf
144
145 # Handle the documentation
146 dodoc ChangeLog INSTALL NEW* README* TEAM UPGRADE
147 cp -pPR "${S}"/TODO "${D}"/usr/share/doc/${PF}/
148 dodir /usr/share/doc/${PF}/html
149 cp -pPR "${S}"/doc/* "${D}"/usr/share/doc/${PF}/html
150 rm "${D}"/usr/share/doc/${PF}/html/{Makefile*,afterstepdoc.in}
151
152 insinto /usr/share/xsessions
153 newins "${S}"/AfterStep.desktop.final AfterStep.desktop
154
155 # For desktop managers like GDM or KDE
156 exeinto /etc/X11/Sessions
157 doexe "${FILESDIR}"/afterstep
158 }