1 |
truedfx 07/11/22 22:10:00 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: windowmaker-0.92.0-r7.ebuild |
5 |
Removed: windowmaker-0.92.0-r6.ebuild |
6 |
Log: |
7 |
Get rid of gettextlib, so that fontconfig works (#199414) |
8 |
(Portage version: 2.1.3.19) |
9 |
|
10 |
Revision Changes Path |
11 |
1.92 x11-wm/windowmaker/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/ChangeLog?rev=1.92&view=markup |
14 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/ChangeLog?rev=1.92&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/ChangeLog?r1=1.91&r2=1.92 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v |
20 |
retrieving revision 1.91 |
21 |
retrieving revision 1.92 |
22 |
diff -u -r1.91 -r1.92 |
23 |
--- ChangeLog 21 Nov 2007 19:54:40 -0000 1.91 |
24 |
+++ ChangeLog 22 Nov 2007 22:09:59 -0000 1.92 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for x11-wm/windowmaker |
27 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.91 2007/11/21 19:54:40 grobian Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.92 2007/11/22 22:09:59 truedfx Exp $ |
30 |
+ |
31 |
+*windowmaker-0.92.0-r7 (22 Nov 2007) |
32 |
+ |
33 |
+ 22 Nov 2007; Harald van Dijk <truedfx@g.o> |
34 |
+ -windowmaker-0.92.0-r6.ebuild, +windowmaker-0.92.0-r7.ebuild: |
35 |
+ Get rid of gettextlib, so that fontconfig works (#199414) |
36 |
|
37 |
*windowmaker-0.92.0-r6 (21 Nov 2007) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-wm/windowmaker/windowmaker-0.92.0-r7.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/windowmaker-0.92.0-r7.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/windowmaker/windowmaker-0.92.0-r7.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: windowmaker-0.92.0-r7.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2007 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.92.0-r7.ebuild,v 1.1 2007/11/22 22:09:59 truedfx Exp $ |
52 |
|
53 |
inherit autotools eutils gnustep-base flag-o-matic |
54 |
|
55 |
PATCHVER=1 |
56 |
S=${WORKDIR}/${P/windowm/WindowM} |
57 |
|
58 |
DESCRIPTION="The fast and light GNUstep window manager" |
59 |
SRC_URI="ftp://ftp.windowmaker.info/pub/source/release/${P/windowm/WindowM}.tar.gz |
60 |
http://www.windowmaker.info/pub/source/release/WindowMaker-extra-0.1.tar.gz |
61 |
http://www.gentoo.org/~grobian/distfiles/${P}-patchset-${PATCHVER}.tar.bz2" |
62 |
HOMEPAGE="http://www.windowmaker.info/" |
63 |
|
64 |
IUSE="gif gnustep jpeg nls png tiff modelock xinerama" |
65 |
DEPEND="x11-libs/libXv |
66 |
x11-libs/libXft |
67 |
x11-libs/libXt |
68 |
media-libs/fontconfig |
69 |
gif? ( >=media-libs/giflib-4.1.0-r3 ) |
70 |
png? ( >=media-libs/libpng-1.2.1 ) |
71 |
jpeg? ( >=media-libs/jpeg-6b-r2 ) |
72 |
tiff? ( >=media-libs/tiff-3.6.1-r2 ) |
73 |
gnustep? ( >=gnustep-base/gnustep-make-2.0 )" |
74 |
RDEPEND="${DEPEND} |
75 |
nls? ( >=sys-devel/gettext-0.10.39 )" |
76 |
|
77 |
SLOT="0" |
78 |
LICENSE="GPL-2" |
79 |
KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
80 |
|
81 |
src_unpack() { |
82 |
is-flag -fstack-protector && filter-flags -fstack-protector \ |
83 |
&& ewarn "CFLAG -fstack-protector has been disabled, as it is known to cause bugs with WindowMaker (bug #78051)" && ebeep 2 |
84 |
replace-flags "-Os" "-O2" |
85 |
replace-flags "-O3" "-O2" |
86 |
|
87 |
unpack ${A} |
88 |
cd "${S}" |
89 |
local psd="${WORKDIR}"/${P}-patchset-${PATCHVER} |
90 |
|
91 |
epatch "${psd}"/WindowMaker-0.92.0-cvs20060123.patch |
92 |
epatch "${psd}"/WindowMaker-0.92.0-cvs-gcc41.patch |
93 |
epatch "${FILESDIR}"/${PV/0.92/0.91}/wlist-0.9x.patch |
94 |
epatch "${FILESDIR}"/${PV}/${P}-gif-before-ungif.patch |
95 |
epatch "${FILESDIR}"/${PV}/${P}-math_h.patch |
96 |
|
97 |
# Patches from altlinux |
98 |
epatch "${psd}"/WindowMaker-0.91.0-alt-session.patch |
99 |
epatch "${psd}"/WindowMaker-0.91.0-alt-restartscrpt.patch |
100 |
epatch "${psd}"/WindowMaker-0.91.0-alt-menutrans.patch |
101 |
epatch "${psd}"/WindowMaker-0.91.0-alt-titlebar.patch |
102 |
epatch "${psd}"/WindowMaker-0.91.0-alt-clipnotext.patch |
103 |
epatch "${psd}"/WindowMaker-0.91.0-alt-mmx.patch |
104 |
epatch "${psd}"/WindowMaker-0.80.2-cvs-alt-textfield.patch |
105 |
epatch "${psd}"/WindowMaker-0.91.0-alt-focus.patch |
106 |
|
107 |
# New features (cool!) |
108 |
epatch "${FILESDIR}"/${PV/0.92/0.91}/singleclick-shadeormaxopts-0.9x.patch2 |
109 |
epatch "${psd}"/WindowMaker-0.91.0-alt-dockhotkeys.patch |
110 |
epatch "${psd}"/WindowMaker-0.91.0-alt-vlaad-trance.patch |
111 |
epatch "${psd}"/WindowMaker-0.91.0-alt-vlaad-newbuttons.patch |
112 |
epatch "${psd}"/WindowMaker-0.91.0-alt-adialog.patch |
113 |
epatch "${psd}"/WindowMaker-0.91.0-hmepas-minimizeall.patch |
114 |
epatch "${psd}"/WindowMaker-0.91.0-hmepas-swmenu_rclick.patch |
115 |
epatch "${psd}"/WindowMaker-0.91.0-sga-moving-add.patch |
116 |
epatch "${psd}"/WindowMaker-0.91.0-peter-newappicon.patch |
117 |
epatch "${psd}"/WindowMaker-0.91.0-peter-mouse-placement.patch |
118 |
epatch "${psd}"/WindowMaker-0.91.0-peter-appicon-bouncer2.patch |
119 |
epatch "${psd}"/WindowMaker-0.91.0-sga-swpanel-customization.patch |
120 |
epatch "${psd}"/WindowMaker-0.92.0-alt-newpo.patch |
121 |
|
122 |
# Add UK localisation |
123 |
cp "${psd}"/WindowMaker-uk.po po/uk.po |
124 |
cp "${psd}"/WPrefs-uk.po WPrefs.app/po/uk.po |
125 |
|
126 |
# Add newbuttons resources |
127 |
cp "${psd}"/WindowMaker-newbuttons.nextstyle.tiff \ |
128 |
WPrefs.app/tiff/nextstyle.tiff |
129 |
cp "${psd}"/WindowMaker-newbuttons.oldstyle.tiff \ |
130 |
WPrefs.app/tiff/oldstyle.tiff |
131 |
cp "${psd}"/WindowMaker-newbuttons.nextstyle.xpm \ |
132 |
WPrefs.app/xpm/nextstyle.xpm |
133 |
|
134 |
# Fix some paths |
135 |
if use gnustep; then |
136 |
egnustep_env |
137 |
fi |
138 |
for file in "${S}"/WindowMaker/*menu*; do |
139 |
if [ -r "$file" ]; then |
140 |
if use gnustep ; then |
141 |
sed -i "s:/usr/local/GNUstep/Applications:${GNUSTEP_SYSTEM_APPS}:g" "$file" |
142 |
else |
143 |
sed -i "s:/usr/local/GNUstep/Applications/WPrefs.app:/usr/bin/:g;" "$file" |
144 |
fi |
145 |
|
146 |
sed -i 's:/usr/local/share/WindowMaker:/usr/share/WindowMaker:g;' "$file" |
147 |
sed -i 's:/opt/share/WindowMaker:/usr/share/WindowMaker:g;' "$file" |
148 |
fi; |
149 |
done; |
150 |
|
151 |
eautoreconf || die "eautoreconf failed" |
152 |
} |
153 |
|
154 |
src_compile() { |
155 |
local myconf |
156 |
|
157 |
# image format types |
158 |
# xpm is provided by X itself |
159 |
myconf="--enable-xpm $(use_enable png) $(use_enable jpeg) $(use_enable gif) $(use_enable tiff)" |
160 |
|
161 |
# non required X capabilities |
162 |
myconf="${myconf} $(use_enable modelock) $(use_enable xinerama)" |
163 |
|
164 |
if use gnustep ; then |
165 |
egnustep_env |
166 |
# Gentoo installs everything in System, make sure configure honors that |
167 |
export GNUSTEP_LOCAL_ROOT=${GNUSTEP_SYSTEM_ROOT} |
168 |
myconf="${myconf} --with-gnustepdir=${GNUSTEP_SYSTEM_ROOT}" |
169 |
fi |
170 |
|
171 |
if use nls; then |
172 |
[ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" |
173 |
else |
174 |
myconf="${myconf} --disable-locale" |
175 |
fi |
176 |
|
177 |
# enable new features, need to be done via defines |
178 |
append-flags -DBOUNCE_APP -DNEWAPPICON -DVIRTUAL_DESKTOP |
179 |
|
180 |
# Solaris has inet_aton, but it's hidden in -lresolv |
181 |
[[ ${CHOST} == *-solaris* ]] && append-ldflags -lresolv |
182 |
|
183 |
# default settings with $myconf appended |
184 |
econf \ |
185 |
--sysconfdir=/etc/X11 \ |
186 |
--with-x \ |
187 |
--enable-usermenu \ |
188 |
--with-pixmapdir=/usr/share/pixmaps \ |
189 |
--with-nlsdir=/usr/share/locale \ |
190 |
${myconf} || die |
191 |
|
192 |
emake || die "windowmaker: make has failed" |
193 |
|
194 |
# WindowMaker Extra Package (themes and icons) |
195 |
cd ../WindowMaker-extra-0.1 |
196 |
econf || die "windowmaker-extra: configure has failed" |
197 |
emake || die "windowmaker-extra: make has failed" |
198 |
} |
199 |
|
200 |
src_install() { |
201 |
emake DESTDIR="${D}" install || die "windowmaker: install has failed." |
202 |
|
203 |
dodoc AUTHORS BUGFORM BUGS ChangeLog COPYING* INSTALL* FAQ* \ |
204 |
MIRRORS README* NEWS TODO |
205 |
|
206 |
# WindowMaker Extra |
207 |
cd ../WindowMaker-extra-0.1 |
208 |
emake DESTDIR="${D}" install || die "windowmaker-extra: install failed" |
209 |
|
210 |
newdoc README README.extra |
211 |
|
212 |
# create wmaker session shell script |
213 |
echo "#!/usr/bin/env bash" > wmaker |
214 |
echo "/usr/bin/wmaker" >> wmaker |
215 |
exeinto /etc/X11/Sessions/ |
216 |
doexe wmaker |
217 |
|
218 |
insinto /etc/X11/dm/Sessions |
219 |
doins "${FILESDIR}"/wmaker.desktop |
220 |
make_desktop_entry /usr/bin/wmaker |
221 |
} |
222 |
|
223 |
|
224 |
|
225 |
-- |
226 |
gentoo-commits@g.o mailing list |