Gentoo Archives: gentoo-commits

From: Bernard Cafarelli <voyageur@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/windowmaker/files/, x11-wm/windowmaker/
Date: Fri, 02 Jun 2017 22:31:09
Message-Id: 1496442526.fbff0b62bb6a91011372db2490a226c78e4ec19e.voyageur@gentoo
1 commit: fbff0b62bb6a91011372db2490a226c78e4ec19e
2 Author: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jun 2 22:28:35 2017 +0000
4 Commit: Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
5 CommitDate: Fri Jun 2 22:28:46 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbff0b62
7
8 x11-wm/windowmaker: drop old
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 x11-wm/windowmaker/Manifest | 2 -
13 .../windowmaker-0.95.3-fix_underlinking.patch | 15 ---
14 .../files/windowmaker-0.95.5-bsd_crash.patch | 28 ------
15 .../files/windowmaker-0.95.6-webp_detection.patch | 70 -------------
16 x11-wm/windowmaker/windowmaker-0.95.5-r2.ebuild | 108 --------------------
17 x11-wm/windowmaker/windowmaker-0.95.6.ebuild | 111 ---------------------
18 x11-wm/windowmaker/windowmaker-0.95.8.ebuild | 106 --------------------
19 7 files changed, 440 deletions(-)
20
21 diff --git a/x11-wm/windowmaker/Manifest b/x11-wm/windowmaker/Manifest
22 index 5ddd0e5e48f..d680f7617dc 100644
23 --- a/x11-wm/windowmaker/Manifest
24 +++ b/x11-wm/windowmaker/Manifest
25 @@ -1,5 +1,3 @@
26 -DIST WindowMaker-0.95.5.tar.gz 2927995 SHA256 4b25f474fde032a060c93fbc50f1ce04729ab17ea963ca3eb8dbb82f49af70d0 SHA512 0a6eb7c3ffee1d09dbc2408be4d2c04f6647cd1195366047083b5c5c89b61e92a5c7d5d134e43775fc371ea27ac8645ad0a7cbae86ebd53f2eae20066ac56703 WHIRLPOOL eb41cffab165af4efb66b28aacbc0e4695d57a426565554f20566b02bb0f428c31e23ec50af36759992a9a18f1598a727f98168d6bde7443f58821101d1653da
27 -DIST WindowMaker-0.95.6.tar.gz 3004856 SHA256 435b0b4a318a3a00e8267f02cdbd826ad547b1f54259d193ce43e9a77ce06dc4 SHA512 259db96b44058fde21b7efe65419b7f7ae149029dcfbf5cf480f920d68f906cd15345105ab67d8539be44d6f1b30e62accf68fc009d53af8c12e047c01154a11 WHIRLPOOL 6f27180cc4439b4b19c3f249fc9c5577463187c741c2e04112bb70feb8e052ad1093e0a5103f1772b59ee7b2549f7b126ac621165f94483e22fd756a969e0e3c
28 DIST WindowMaker-0.95.7.tar.gz 3238325 SHA256 842d486c4b212b19d10dbae2c315c6ff20c6e651471eaa45214b3b832d8097a9 SHA512 9c1190503efdc58c11a90d5ba80796979cdc9f2beb69a6d233ffc8d531a54c877c5270841bf6318738069098cd488e5ab77ac19f661ac888e892bf05ac22d93f WHIRLPOOL 090efc24fe47487b5f9ec68e821b0fea789ac4f7badccf639a5910f463613381701c6750db29f98e6777207387850e0c47324ffc8fcc1d1b4fe60ac05c05c25d
29 DIST WindowMaker-0.95.8.tar.gz 3253515 SHA256 9dbf5c5571bb79c4b1584f496c960ee2cd7379af45ef0f58b4b0f487259de88a SHA512 6ab16ed4304aba20f0f3a4083adf63a47fa674ade7bc39aaa8aa6466c7842e3f10ab73af96e2afce0842b11c57a35eb69f43183a4044d8cd95d4e2a4d2c079a2 WHIRLPOOL e5027c70637b0a9204b9e71054a0351389fcb5c2773c8dbc1e7c15285a6e6caeaf6c04456b6d5fa7f4510abe0da4872db8a8bd870b78ef6369aaf9e81197b553
30 DIST WindowMaker-extra-0.1.tar.gz 238018 SHA256 acd6e1fb790485b107daf2b710da372367b41383c55d9c8bdfdac521d850edc4 SHA512 0fe9b3ffc093942db167d8a01e15c0f6741f3a40959d1434ea4f23e7b9d4a9c13935a61eabef9691e5fdfd4e407564caafce15c2d65d66499960a6764a874ab8 WHIRLPOOL f2c61b318f64a2debb727ae79dfa1bb8101888bc9492633a96ace0e704c731c383e92882c871622987d5971b919359c066638fba05c5dade330fe3bee21bb034
31
32 diff --git a/x11-wm/windowmaker/files/windowmaker-0.95.3-fix_underlinking.patch b/x11-wm/windowmaker/files/windowmaker-0.95.3-fix_underlinking.patch
33 deleted file mode 100644
34 index cd88709dc14..00000000000
35 --- a/x11-wm/windowmaker/files/windowmaker-0.95.3-fix_underlinking.patch
36 +++ /dev/null
37 @@ -1,15 +0,0 @@
38 -diff --git a/wmlib/Makefile.am b/wmlib/Makefile.am
39 -index 0f8201f..7b95d1f 100644
40 ---- a/wmlib/Makefile.am
41 -+++ b/wmlib/Makefile.am
42 -@@ -2,6 +2,7 @@
43 - AUTOMAKE_OPTIONS = no-dependencies
44 -
45 - libWMaker_la_LDFLAGS = -version-info 1:1:0
46 -+libWMaker_la_LIBADD = @LIBRARY_SEARCH_PATH@ @XLIBS@
47 - lib_LTLIBRARIES = libWMaker.la
48 -
49 - include_HEADERS = WMaker.h
50 ---
51 -1.7.8.6
52 -
53
54 diff --git a/x11-wm/windowmaker/files/windowmaker-0.95.5-bsd_crash.patch b/x11-wm/windowmaker/files/windowmaker-0.95.5-bsd_crash.patch
55 deleted file mode 100644
56 index a3e71375f62..00000000000
57 --- a/x11-wm/windowmaker/files/windowmaker-0.95.5-bsd_crash.patch
58 +++ /dev/null
59 @@ -1,28 +0,0 @@
60 -From: François Tigeot <ftigeot@××××××××.org>
61 -Date: Sat, 21 Sep 2013 10:34:51 +0000 (+0200)
62 -Subject: osdep_bsd.c: Fix a typo causing memory to be overwritten
63 -X-Git-Url: http://repo.or.cz/w/wmaker-crm.git/commitdiff_plain/38e088314a2a4b7f8031f50eb546c22e5024bdf4
64 -
65 -osdep_bsd.c: Fix a typo causing memory to be overwritten
66 -
67 -* When compiled on DragonFly+gcc 4.7.3, this out of bounds array element
68 - initialization causes an important variable to be overwritten and a
69 - subsequent WindowMaker crash
70 -
71 -* It was sheer luck other compilers/environments didn't exhibit any obvious
72 - issue so far
73 ----
74 -
75 -diff --git a/src/osdep_bsd.c b/src/osdep_bsd.c
76 -index 3393240..ad504ad 100644
77 ---- a/src/osdep_bsd.c
78 -+++ b/src/osdep_bsd.c
79 -@@ -86,7 +86,7 @@ Bool GetCommandForPid(int pid, char ***argv, int *argc)
80 - mib[0] = CTL_KERN;
81 - mib[1] = KERN_ARGMAX;
82 - mib[2] = 0;
83 -- mib[4] = 0;
84 -+ mib[3] = 0;
85 -
86 - count = sizeof(argmax);
87 - if (sysctl(mib, 2, &argmax, &count, NULL, 0) == -1)
88
89 diff --git a/x11-wm/windowmaker/files/windowmaker-0.95.6-webp_detection.patch b/x11-wm/windowmaker/files/windowmaker-0.95.6-webp_detection.patch
90 deleted file mode 100644
91 index a451486288f..00000000000
92 --- a/x11-wm/windowmaker/files/windowmaker-0.95.6-webp_detection.patch
93 +++ /dev/null
94 @@ -1,70 +0,0 @@
95 -From e1146e56e08af2a66aecedffc6ff31d8ddcb25f3 Mon Sep 17 00:00:00 2001
96 -From: Christophe CURIS <christophe.curis@××××.fr>
97 -Date: Mon, 15 Dec 2014 23:49:29 +0100
98 -Subject: [PATCH] configure: rewrote the detection for WebP image library
99 -
100 -Unfortunately, the detection was broken because the header is using a hack
101 -on the function name to provide compatibility between different versions of
102 -the API, which means the usual link test, which uses a known name of a
103 -symbol, cannot work without also using the header to get the hack applied
104 -on the function's name.
105 -
106 -The new detection mechanism now simply check for both header and link at
107 -the same time, so we're probably safe until a Major API change is decided,
108 -in which case we will also have to update WRaster's code anyway.
109 -
110 -Signed-off-by: Christophe CURIS <christophe.curis@××××.fr>
111 ----
112 - m4/wm_imgfmt_check.m4 | 36 ++++++++++++++++++++++++++++--------
113 - 1 files changed, 28 insertions(+), 8 deletions(-)
114 -
115 -diff --git a/m4/wm_imgfmt_check.m4 b/m4/wm_imgfmt_check.m4
116 -index cad2d72..d07e618 100644
117 ---- a/m4/wm_imgfmt_check.m4
118 -+++ b/m4/wm_imgfmt_check.m4
119 -@@ -187,14 +187,34 @@ AC_DEFUN_ONCE([WM_IMGFMT_CHECK_TIFF],
120 - # the variable 'supported_gfx'
121 - # When not found, append info to variable 'unsupported'
122 - AC_DEFUN_ONCE([WM_IMGFMT_CHECK_WEBP],
123 --[WM_LIB_CHECK([WEBP], ["-lwebp"], [VP8DecodeLayer], [$XLFLAGS $XLIBS],
124 -- [wm_save_CFLAGS="$CFLAGS"
125 -- AS_IF([wm_fn_lib_try_compile "webp/decode.h" "" "return 0" ""],
126 -- [],
127 -- [AC_MSG_ERROR([found $CACHEVAR but could not find appropriate header - are you missing libwebp-dev package?])])
128 -- CFLAGS="$wm_save_CFLAGS"],
129 -- [supported_gfx], [GFXLIBS])dnl
130 --]) dnl AC_DEFUN
131 -+[AS_IF([test "x$enable_webp" = "xno"],
132 -+ [unsupported="$unsupported WebP"],
133 -+ [AC_CACHE_CHECK([for WebP support library], [wm_cv_imgfmt_webp],
134 -+ [wm_cv_imgfmt_webp=no
135 -+ dnl
136 -+ dnl The library is using a special trick on the functions to provide
137 -+ dnl compatibility between versions, so we cannot try linking against
138 -+ dnl a symbol without first using the header to handle it
139 -+ wm_save_LIBS="$LIBS"
140 -+ LIBS="$LIBS -lwebp"
141 -+ AC_TRY_LINK(
142 -+ [@%:@include <webp/decode.h>],
143 -+ [WebPGetFeatures(NULL, 1024, NULL);],
144 -+ [wm_cv_imgfmt_webp="-lwebp"])
145 -+ LIBS="$wm_save_LIBS"
146 -+ AS_IF([test "x$enable_webp$wm_cv_imgfmt_webp" = "xyesno"],
147 -+ [AC_MSG_ERROR([explicit WebP support requested but no library found])])dnl
148 -+ ])
149 -+ AS_IF([test "x$wm_cv_imgfmt_webp" = "xno"],
150 -+ [unsupported="$unsupported WebP"
151 -+ enable_webp="no"],
152 -+ [supported_gfx="$supported_gfx WebP"
153 -+ WM_APPEND_ONCE([$wm_cv_imgfmt_webp], [GFXLIBS])dnl
154 -+ AC_DEFINE([USE_WEBP], [1],
155 -+ [defined when valid Webp library with header was found])])dnl
156 -+ ])
157 -+AM_CONDITIONAL([USE_WEBP], [test "x$enable_webp" != "xno"])dnl
158 -+])
159 -
160 -
161 - # WM_IMGFMT_CHECK_XPM
162 ---
163 -1.7.6.6.GIT
164 -
165
166 diff --git a/x11-wm/windowmaker/windowmaker-0.95.5-r2.ebuild b/x11-wm/windowmaker/windowmaker-0.95.5-r2.ebuild
167 deleted file mode 100644
168 index 8d9121fcf31..00000000000
169 --- a/x11-wm/windowmaker/windowmaker-0.95.5-r2.ebuild
170 +++ /dev/null
171 @@ -1,108 +0,0 @@
172 -# Copyright 1999-2017 Gentoo Foundation
173 -# Distributed under the terms of the GNU General Public License v2
174 -
175 -EAPI=5
176 -inherit autotools eutils
177 -
178 -DESCRIPTION="The fast and light GNUstep window manager"
179 -HOMEPAGE="http://www.windowmaker.org/"
180 -SRC_URI=" http://windowmaker.org/pub/source/release/${P/windowm/WindowM}.tar.gz
181 - http://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
182 -
183 -SLOT="0"
184 -LICENSE="GPL-2"
185 -IUSE="gif jpeg nls png tiff modelock xinerama xrandr"
186 -KEYWORDS="alpha amd64 ~arm hppa ~mips ppc ~ppc64 sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
187 -
188 -DEPEND="media-libs/fontconfig
189 - >=x11-libs/libXft-2.1.0
190 - x11-libs/libXmu
191 - x11-libs/libXpm
192 - x11-libs/libXt
193 - x11-libs/libXv
194 - gif? ( >=media-libs/giflib-4.1.0-r3:0= )
195 - png? ( media-libs/libpng:0= )
196 - jpeg? ( virtual/jpeg:0= )
197 - tiff? ( media-libs/tiff:0 )
198 - xinerama? ( x11-libs/libXinerama )
199 - xrandr? ( x11-libs/libXrandr )"
200 -RDEPEND="${DEPEND}
201 - nls? ( >=sys-devel/gettext-0.10.39 )
202 - !app-i18n/scim-anthy[gtk3]
203 -"
204 -
205 -S=${WORKDIR}/${P/windowm/WindowM}
206 -
207 -src_prepare() {
208 - # Fix some paths
209 - for file in WindowMaker/*menu* util/wmgenmenu.c; do
210 - if [[ -r $file ]] ; then
211 - sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die
212 - sed -i -e "s:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
213 - sed -i -e "s:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
214 - fi;
215 - done;
216 -
217 - epatch "${FILESDIR}"/${PN}-0.95.3-fix_underlinking.patch
218 - epatch "${FILESDIR}"/${P}-bsd_crash.patch
219 - eautoreconf
220 -}
221 -
222 -src_configure() {
223 - local myconf
224 -
225 - # image format types
226 - myconf="--enable-xpm $(use_enable png) $(use_enable jpeg) $(use_enable gif) $(use_enable tiff)"
227 -
228 - # non required X capabilities
229 - myconf="${myconf} $(use_enable modelock) $(use_enable xrandr) $(use_enable xinerama)"
230 -
231 - if use nls; then
232 - [[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
233 - else
234 - myconf="${myconf} --disable-locale"
235 - fi
236 -
237 - # default settings with $myconf appended
238 - econf \
239 - --sysconfdir="${EPREFIX}"/etc/X11 \
240 - --with-x \
241 - --enable-usermenu \
242 - --with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
243 - --with-nlsdir="${EPREFIX}"/usr/share/locale \
244 - ${myconf}
245 -
246 - cd ../WindowMaker-extra-0.1
247 - econf
248 -}
249 -
250 -src_compile() {
251 - emake
252 -
253 - # WindowMaker Extra Package (themes and icons)
254 - cd ../WindowMaker-extra-0.1
255 - emake
256 -}
257 -
258 -src_install() {
259 - emake DESTDIR="${D}" install
260 -
261 - dodoc AUTHORS BUGFORM BUGS ChangeLog INSTALL* FAQ* \
262 - README* NEWS TODO
263 -
264 - # WindowMaker Extra
265 - cd ../WindowMaker-extra-0.1
266 - emake DESTDIR="${D}" install
267 -
268 - newdoc README README.extra
269 -
270 - # create wmaker session shell script
271 - echo "#!/usr/bin/env bash" > wmaker
272 - echo "${EPREFIX}/usr/bin/wmaker" >> wmaker
273 - exeinto /etc/X11/Sessions/
274 - doexe wmaker
275 -
276 - insinto /usr/share/xsessions
277 - doins "${FILESDIR}"/wmaker.desktop
278 - make_desktop_entry /usr/bin/wmaker
279 -}
280
281 diff --git a/x11-wm/windowmaker/windowmaker-0.95.6.ebuild b/x11-wm/windowmaker/windowmaker-0.95.6.ebuild
282 deleted file mode 100644
283 index 00222e46040..00000000000
284 --- a/x11-wm/windowmaker/windowmaker-0.95.6.ebuild
285 +++ /dev/null
286 @@ -1,111 +0,0 @@
287 -# Copyright 1999-2017 Gentoo Foundation
288 -# Distributed under the terms of the GNU General Public License v2
289 -
290 -EAPI=5
291 -inherit autotools eutils
292 -
293 -DESCRIPTION="The fast and light GNUstep window manager"
294 -HOMEPAGE="http://www.windowmaker.org/"
295 -SRC_URI=" http://windowmaker.org/pub/source/release/${P/windowm/WindowM}.tar.gz
296 - http://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
297 -
298 -SLOT="0"
299 -LICENSE="GPL-2"
300 -IUSE="gif imagemagick jpeg modelock nls png tiff webp xinerama +xpm xrandr"
301 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
302 -
303 -DEPEND="media-libs/fontconfig
304 - >=x11-libs/libXft-2.1.0
305 - x11-libs/libXmu
306 - x11-libs/libXpm
307 - x11-libs/libXt
308 - x11-libs/libXv
309 - gif? ( >=media-libs/giflib-4.1.0-r3 )
310 - imagemagick? ( media-gfx/imagemagick )
311 - jpeg? ( virtual/jpeg:0= )
312 - png? ( media-libs/libpng:0= )
313 - tiff? ( media-libs/tiff:0 )
314 - webp? ( media-libs/libwebp )
315 - xinerama? ( x11-libs/libXinerama )
316 - xrandr? ( x11-libs/libXrandr )"
317 -RDEPEND="${DEPEND}
318 - nls? ( >=sys-devel/gettext-0.10.39 )
319 - !app-i18n/scim-anthy[gtk3]
320 -"
321 -
322 -S=${WORKDIR}/${P/windowm/WindowM}
323 -
324 -src_prepare() {
325 - # Fix some paths
326 - for file in WindowMaker/*menu* util/wmgenmenu.c; do
327 - if [[ -r $file ]] ; then
328 - sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die
329 - sed -i -e "s:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
330 - sed -i -e "s:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
331 - fi;
332 - done;
333 -
334 - epatch "${FILESDIR}"/${PN}-0.95.3-fix_underlinking.patch
335 - epatch "${FILESDIR}"/${P}-webp_detection.patch
336 -
337 - eautoreconf
338 -}
339 -
340 -src_configure() {
341 - local myconf
342 -
343 - # image format types
344 - myconf="$(use_enable imagemagick magick) $(use_enable jpeg) $(use_enable gif) $(use_enable png) $(use_enable tiff) $(use_enable webp) $(use_enable xpm)"
345 -
346 - # non required X capabilities
347 - myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) $(use_enable xinerama)"
348 -
349 - if use nls; then
350 - [[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
351 - else
352 - myconf="${myconf} --disable-locale"
353 - fi
354 -
355 - # default settings with $myconf appended
356 - econf \
357 - --sysconfdir="${EPREFIX}"/etc/X11 \
358 - --with-x \
359 - --enable-usermenu \
360 - --with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
361 - --with-nlsdir="${EPREFIX}"/usr/share/locale \
362 - ${myconf}
363 -
364 - cd ../WindowMaker-extra-0.1
365 - econf
366 -}
367 -
368 -src_compile() {
369 - emake
370 -
371 - # WindowMaker Extra Package (themes and icons)
372 - cd ../WindowMaker-extra-0.1
373 - emake
374 -}
375 -
376 -src_install() {
377 - emake DESTDIR="${D}" install
378 -
379 - dodoc AUTHORS BUGFORM BUGS ChangeLog INSTALL* FAQ* \
380 - README* NEWS TODO
381 -
382 - # WindowMaker Extra
383 - cd ../WindowMaker-extra-0.1
384 - emake DESTDIR="${D}" install
385 -
386 - newdoc README README.extra
387 -
388 - # create wmaker session shell script
389 - echo "#!/usr/bin/env bash" > wmaker
390 - echo "${EPREFIX}/usr/bin/wmaker" >> wmaker
391 - exeinto /etc/X11/Sessions/
392 - doexe wmaker
393 -
394 - insinto /usr/share/xsessions
395 - doins "${FILESDIR}"/wmaker.desktop
396 - make_desktop_entry /usr/bin/wmaker
397 -}
398
399 diff --git a/x11-wm/windowmaker/windowmaker-0.95.8.ebuild b/x11-wm/windowmaker/windowmaker-0.95.8.ebuild
400 deleted file mode 100644
401 index 066d5ac0a91..00000000000
402 --- a/x11-wm/windowmaker/windowmaker-0.95.8.ebuild
403 +++ /dev/null
404 @@ -1,106 +0,0 @@
405 -# Copyright 1999-2017 Gentoo Foundation
406 -# Distributed under the terms of the GNU General Public License v2
407 -
408 -EAPI=6
409 -inherit eutils
410 -
411 -DESCRIPTION="The fast and light GNUstep window manager"
412 -HOMEPAGE="http://www.windowmaker.org/"
413 -SRC_URI=" http://windowmaker.org/pub/source/release/${P/windowm/WindowM}.tar.gz
414 - http://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
415 -
416 -SLOT="0"
417 -LICENSE="GPL-2"
418 -IUSE="gif imagemagick jpeg modelock nls png tiff webp xinerama +xpm xrandr"
419 -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
420 -
421 -DEPEND="media-libs/fontconfig
422 - >=x11-libs/libXft-2.1.0
423 - x11-libs/libXmu
424 - x11-libs/libXpm
425 - x11-libs/libXt
426 - x11-libs/libXv
427 - gif? ( >=media-libs/giflib-4.1.0-r3 )
428 - imagemagick? ( media-gfx/imagemagick )
429 - jpeg? ( virtual/jpeg:0= )
430 - png? ( media-libs/libpng:0= )
431 - tiff? ( media-libs/tiff:0 )
432 - webp? ( media-libs/libwebp )
433 - xinerama? ( x11-libs/libXinerama )
434 - xrandr? ( x11-libs/libXrandr )"
435 -RDEPEND="${DEPEND}
436 - nls? ( >=sys-devel/gettext-0.10.39 )"
437 -
438 -S=${WORKDIR}/${P/windowm/WindowM}
439 -
440 -src_prepare() {
441 - # Fix some paths
442 - for file in WindowMaker/*menu* util/wmgenmenu.c; do
443 - if [[ -r $file ]] ; then
444 - sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die
445 - sed -i -e "s:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
446 - sed -i -e "s:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
447 - fi;
448 - done;
449 -
450 - default
451 -}
452 -
453 -src_configure() {
454 - local myconf
455 -
456 - # image format types
457 - myconf="$(use_enable imagemagick magick) $(use_enable jpeg) $(use_enable gif) $(use_enable png) $(use_enable tiff) $(use_enable webp) $(use_enable xpm)"
458 -
459 - # non required X capabilities
460 - myconf="${myconf} $(use_enable modelock) $(use_enable xrandr randr) $(use_enable xinerama)"
461 -
462 - if use nls; then
463 - [[ -z $LINGUAS ]] && export LINGUAS="$(ls po/*.po | sed 's:po/\(.*\)\.po$:\1:' | xargs)"
464 - else
465 - myconf="${myconf} --disable-locale"
466 - fi
467 -
468 - # default settings with $myconf appended
469 - econf \
470 - --sysconfdir="${EPREFIX}"/etc/X11 \
471 - --with-x \
472 - --enable-usermenu \
473 - --with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
474 - --localedir="${EPREFIX}"/usr/share/locale \
475 - ${myconf}
476 -
477 - cd ../WindowMaker-extra-0.1
478 - econf
479 -}
480 -
481 -src_compile() {
482 - emake
483 -
484 - # WindowMaker Extra Package (themes and icons)
485 - cd ../WindowMaker-extra-0.1
486 - emake
487 -}
488 -
489 -src_install() {
490 - emake DESTDIR="${D}" install
491 -
492 - dodoc AUTHORS BUGFORM BUGS ChangeLog INSTALL* FAQ* \
493 - README* NEWS TODO
494 -
495 - # WindowMaker Extra
496 - cd ../WindowMaker-extra-0.1
497 - emake DESTDIR="${D}" install
498 -
499 - newdoc README README.extra
500 -
501 - # create wmaker session shell script
502 - echo "#!/usr/bin/env bash" > wmaker
503 - echo "${EPREFIX}/usr/bin/wmaker" >> wmaker
504 - exeinto /etc/X11/Sessions/
505 - doexe wmaker
506 -
507 - insinto /usr/share/xsessions
508 - doins "${FILESDIR}"/wmaker.desktop
509 - make_desktop_entry /usr/bin/wmaker
510 -}