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/windowmaker: ChangeLog windowmaker-0.92.0-r4.ebuild
Date: Mon, 10 Sep 2007 20:18:06
Message-Id: E1IUoqv-0003JQ-Oj@stork.gentoo.org
1 voyageur 07/09/10 19:23:21
2
3 Modified: ChangeLog
4 Added: windowmaker-0.92.0-r4.ebuild
5 Log:
6 Ebuild cleanup, closes #103698, #170467, #187092
7 (Portage version: 2.1.3.9)
8
9 Revision Changes Path
10 1.83 x11-wm/windowmaker/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/ChangeLog?rev=1.83&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/ChangeLog?rev=1.83&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/ChangeLog?r1=1.82&r2=1.83
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v
19 retrieving revision 1.82
20 retrieving revision 1.83
21 diff -u -r1.82 -r1.83
22 --- ChangeLog 2 Aug 2007 15:26:15 -0000 1.82
23 +++ ChangeLog 10 Sep 2007 19:23:21 -0000 1.83
24 @@ -1,6 +1,17 @@
25 # ChangeLog for x11-wm/windowmaker
26 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.82 2007/08/02 15:26:15 uberlord Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.83 2007/09/10 19:23:21 voyageur Exp $
29 +
30 +*windowmaker-0.92.0-r4 (10 Sep 2007)
31 +
32 + 10 Sep 2007; Bernard Cafarelli <voyageur@g.o>
33 + +windowmaker-0.92.0-r4.ebuild:
34 + Ebuild cleanup, includes:
35 + * themes path in some default menus (bug #187092)
36 + * locale path fixed (bug #103698)
37 + * WPrefs.app in GNUstep System domain (bug #170467)
38 + * uses new GNUstep eclasses
39 + * internal ebuild cleanups
40
41 02 Aug 2007; Roy Marples <uberlord@g.o>
42 windowmaker-0.91.0-r1.ebuild, windowmaker-0.92.0-r3.ebuild:
43
44
45
46 1.1 x11-wm/windowmaker/windowmaker-0.92.0-r4.ebuild
47
48 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/windowmaker-0.92.0-r4.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/windowmaker-0.92.0-r4.ebuild?rev=1.1&content-type=text/plain
50
51 Index: windowmaker-0.92.0-r4.ebuild
52 ===================================================================
53 # Copyright 1999-2007 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.92.0-r4.ebuild,v 1.1 2007/09/10 19:23:21 voyageur Exp $
56
57 inherit autotools eutils gnustep-base flag-o-matic
58
59 S=${WORKDIR}/${P/windowm/WindowM}
60
61 DESCRIPTION="The fast and light GNUstep window manager"
62 SRC_URI="ftp://ftp.windowmaker.info/pub/source/release/${P/windowm/WindowM}.tar.gz
63 http://www.windowmaker.info/pub/source/release/WindowMaker-extra-0.1.tar.gz"
64 HOMEPAGE="http://www.windowmaker.info/"
65
66 IUSE="gif gnustep jpeg nls png tiff modelock xinerama"
67 DEPEND="x11-libs/libXv
68 x11-libs/libXft
69 x11-libs/libXt
70 media-libs/fontconfig
71 gif? ( >=media-libs/giflib-4.1.0-r3 )
72 png? ( >=media-libs/libpng-1.2.1 )
73 jpeg? ( >=media-libs/jpeg-6b-r2 )
74 tiff? ( >=media-libs/tiff-3.6.1-r2 )
75 gnustep? ( gnustep-base/gnustep-make )"
76 RDEPEND="${DEPEND}
77 nls? ( >=sys-devel/gettext-0.10.39 )"
78
79 SLOT="0"
80 LICENSE="GPL-2"
81 KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
82
83 src_unpack() {
84 is-flag -fstack-protector && filter-flags -fstack-protector \
85 && ewarn "CFLAG -fstack-protector has been disabled, as it is known to cause bugs with WindowMaker (bug #78051)" && ebeep 2
86 replace-flags "-Os" "-O2"
87 replace-flags "-O3" "-O2"
88
89 unpack ${A}
90 cd "${S}"
91 epatch ${FILESDIR}/${PV/0.92/0.91}/singleclick-shadeormaxopts-0.9x.patch2
92 epatch ${FILESDIR}/${PV/0.92/0.91}/wlist-0.9x.patch
93 epatch ${FILESDIR}/${PV}/${P}-configure.patch
94 epatch ${FILESDIR}/${PV}/${P}-gcc41.patch
95 epatch ${FILESDIR}/${PV}/${P}-fullscreen.patch
96 epatch ${FILESDIR}/${PV}/${P}-qtdialogsfix.patch
97
98 # Fix some paths
99 for file in ${S}/WindowMaker/*menu*; do
100 if [ -r $file ]; then
101 if use gnustep ; then
102 egnustep_env
103 sed -i "s:/usr/local/GNUstep/Applications:${GNUSTEP_SYSTEM_APPS}:g" $file
104 else
105 sed -i "s:/usr/local/GNUstep/Applications/WPrefs.app:/usr/bin/:g;" $file
106 fi
107
108 sed -i 's:/usr/local/share/WindowMaker:/usr/share/WindowMaker:g;' $file
109 sed -i 's:/opt/share/WindowMaker:/usr/share/WindowMaker:g;' $file
110 fi;
111 done;
112
113 eautoreconf || die "eautoreconf failed"
114 }
115
116 src_compile() {
117 local myconf
118
119 # image format types
120 # xpm is provided by X itself
121 myconf="--enable-xpm $(use_enable png) $(use_enable jpeg) $(use_enable gif) $(use_enable tiff)"
122
123 # non required X capabilities
124 myconf="${myconf} $(use_enable modelock) $(use_enable xinerama)"
125
126 if use gnustep ; then
127 egnustep_env
128 myconf="${myconf} --with-gnustepdir=${GNUSTEP_SYSTEM_ROOT}"
129 fi
130
131 if use nls; then
132 [ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
133 else
134 myconf="${myconf} --disable-locale"
135 fi
136
137 # default settings with $myconf appended
138 econf \
139 --sysconfdir=/etc/X11 \
140 --with-x \
141 --enable-usermenu \
142 --with-pixmapdir=/usr/share/pixmaps \
143 --with-nlsdir=/usr/share/locale \
144 ${myconf} || die
145
146 emake || die "windowmaker: make has failed"
147
148 # WindowMaker Extra Package (themes and icons)
149 cd ../WindowMaker-extra-0.1
150 econf || die "windowmaker-extra: configure has failed"
151 emake || die "windowmaker-extra: make has failed"
152 }
153
154 src_install() {
155 emake DESTDIR="${D}" install || die "windowmaker: install has failed."
156
157 dodoc AUTHORS BUGFORM BUGS ChangeLog COPYING* INSTALL* FAQ* \
158 MIRRORS README* NEWS TODO
159
160 # WindowMaker Extra
161 cd ../WindowMaker-extra-0.1
162 emake DESTDIR="${D}" install || die "windowmaker-extra: install failed"
163
164 newdoc README README.extra
165
166 # create wmaker session shell script
167 echo "#!/bin/bash" > wmaker
168 echo "/usr/bin/wmaker" >> wmaker
169 exeinto /etc/X11/Sessions/
170 doexe wmaker
171
172 insinto /etc/X11/dm/Sessions
173 doins ${FILESDIR}/wmaker.desktop
174 make_desktop_entry /usr/bin/wmaker
175 }
176
177
178
179 --
180 gentoo-commits@g.o mailing list