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.95.6.ebuild
Date: Wed, 03 Sep 2014 21:03:09
Message-Id: 20140903210303.108884A18@oystercatcher.gentoo.org
1 voyageur 14/09/03 21:03:03
2
3 Modified: ChangeLog
4 Added: windowmaker-0.95.6.ebuild
5 Log:
6 Version bump, supports more image formats, code cleanups and translation updates
7
8 (Portage version: 2.2.12/cvs/Linux x86_64, signed Manifest commit with key C74525F2)
9
10 Revision Changes Path
11 1.148 x11-wm/windowmaker/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/ChangeLog?rev=1.148&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/ChangeLog?rev=1.148&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/ChangeLog?r1=1.147&r2=1.148
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v
20 retrieving revision 1.147
21 retrieving revision 1.148
22 diff -u -r1.147 -r1.148
23 --- ChangeLog 17 May 2014 14:06:09 -0000 1.147
24 +++ ChangeLog 3 Sep 2014 21:03:03 -0000 1.148
25 @@ -1,6 +1,13 @@
26 # ChangeLog for x11-wm/windowmaker
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.147 2014/05/17 14:06:09 ago Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.148 2014/09/03 21:03:03 voyageur Exp $
30 +
31 +*windowmaker-0.95.6 (03 Sep 2014)
32 +
33 + 03 Sep 2014; Bernard Cafarelli <voyageur@g.o>
34 + +windowmaker-0.95.6.ebuild:
35 + Version bump, supports more image formats, code cleanups and translation
36 + updates
37
38 17 May 2014; Agostino Sarubbo <ago@g.o> windowmaker-0.95.5-r1.ebuild:
39 Stable for alpha, wrt bug #496082
40
41
42
43 1.1 x11-wm/windowmaker/windowmaker-0.95.6.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/windowmaker-0.95.6.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/windowmaker-0.95.6.ebuild?rev=1.1&content-type=text/plain
47
48 Index: windowmaker-0.95.6.ebuild
49 ===================================================================
50 # Copyright 1999-2014 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.95.6.ebuild,v 1.1 2014/09/03 21:03:03 voyageur Exp $
53
54 EAPI=5
55 inherit autotools eutils
56
57 DESCRIPTION="The fast and light GNUstep window manager"
58 HOMEPAGE="http://www.windowmaker.org/"
59 SRC_URI=" http://windowmaker.org/pub/source/release/${P/windowm/WindowM}.tar.gz
60 http://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
61
62 SLOT="0"
63 LICENSE="GPL-2"
64 IUSE="gif jpeg nls png tiff modelock xinerama xrandr"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
66
67 DEPEND="media-libs/fontconfig
68 >=x11-libs/libXft-2.1.0
69 x11-libs/libXmu
70 x11-libs/libXt
71 x11-libs/libXv
72 gif? ( >=media-libs/giflib-4.1.0-r3 )
73 png? ( media-libs/libpng:0= )
74 jpeg? ( virtual/jpeg )
75 tiff? ( media-libs/tiff:0 )
76 xinerama? ( x11-libs/libXinerama )
77 xrandr? ( x11-libs/libXrandr )"
78 RDEPEND="${DEPEND}
79 nls? ( >=sys-devel/gettext-0.10.39 )"
80
81 S=${WORKDIR}/${P/windowm/WindowM}
82
83 src_prepare() {
84 # Fix some paths
85 for file in WindowMaker/*menu* util/wmgenmenu.c; do
86 if [[ -r $file ]] ; then
87 sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die
88 sed -i -e "s:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
89 sed -i -e "s:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die
90 fi;
91 done;
92
93 epatch "${FILESDIR}"/${PN}-0.95.3-fix_underlinking.patch
94 eautoreconf
95 }
96
97 src_configure() {
98 local myconf
99
100 # image format types
101 # xpm is provided by X itself
102 myconf="--enable-xpm $(use_enable png) $(use_enable jpeg) $(use_enable gif) $(use_enable tiff)"
103
104 # non required X capabilities
105 myconf="${myconf} $(use_enable modelock) $(use_enable xrandr) $(use_enable xinerama)"
106
107 if use nls; then
108 [[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
109 else
110 myconf="${myconf} --disable-locale"
111 fi
112
113 # default settings with $myconf appended
114 econf \
115 --sysconfdir="${EPREFIX}"/etc/X11 \
116 --with-x \
117 --enable-usermenu \
118 --with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
119 --with-nlsdir="${EPREFIX}"/usr/share/locale \
120 ${myconf}
121
122 cd ../WindowMaker-extra-0.1
123 econf
124 }
125
126 src_compile() {
127 emake
128
129 # WindowMaker Extra Package (themes and icons)
130 cd ../WindowMaker-extra-0.1
131 emake
132 }
133
134 src_install() {
135 emake DESTDIR="${D}" install
136
137 dodoc AUTHORS BUGFORM BUGS ChangeLog INSTALL* FAQ* \
138 README* NEWS TODO
139
140 # WindowMaker Extra
141 cd ../WindowMaker-extra-0.1
142 emake DESTDIR="${D}" install
143
144 newdoc README README.extra
145
146 # create wmaker session shell script
147 echo "#!/usr/bin/env bash" > wmaker
148 echo "${EPREFIX}/usr/bin/wmaker" >> wmaker
149 exeinto /etc/X11/Sessions/
150 doexe wmaker
151
152 insinto /usr/share/xsessions
153 doins "${FILESDIR}"/wmaker.desktop
154 make_desktop_entry /usr/bin/wmaker
155 }