1 |
voyageur 13/12/06 09:50:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: windowmaker-0.95.5-r1.ebuild |
5 |
Log: |
6 |
Fix crash on BSD, thanks Yuta SATOH <nigoro.gentoo@×××××.com> in bug #493124 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key C74525F2) |
9 |
|
10 |
Revision Changes Path |
11 |
1.141 x11-wm/windowmaker/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/ChangeLog?rev=1.141&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/ChangeLog?rev=1.141&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/ChangeLog?r1=1.140&r2=1.141 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v |
20 |
retrieving revision 1.140 |
21 |
retrieving revision 1.141 |
22 |
diff -u -r1.140 -r1.141 |
23 |
--- ChangeLog 13 Sep 2013 23:43:48 -0000 1.140 |
24 |
+++ ChangeLog 6 Dec 2013 09:50:17 -0000 1.141 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for x11-wm/windowmaker |
27 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.140 2013/09/13 23:43:48 voyageur Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.141 2013/12/06 09:50:17 voyageur Exp $ |
30 |
+ |
31 |
+*windowmaker-0.95.5-r1 (06 Dec 2013) |
32 |
+ |
33 |
+ 06 Dec 2013; Bernard Cafarelli <voyageur@g.o> |
34 |
+ +windowmaker-0.95.5-r1.ebuild, +files/windowmaker-0.95.5-bsd_crash.patch: |
35 |
+ Fix crash on BSD, thanks Yuta SATOH <nigoro.gentoo@×××××.com> in bug #493124 |
36 |
|
37 |
*windowmaker-0.95.5 (13 Sep 2013) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 x11-wm/windowmaker/windowmaker-0.95.5-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/windowmaker-0.95.5-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/windowmaker/windowmaker-0.95.5-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: windowmaker-0.95.5-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2013 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.95.5-r1.ebuild,v 1.1 2013/12/06 09:50:17 voyageur Exp $ |
52 |
|
53 |
EAPI=5 |
54 |
inherit autotools eutils |
55 |
|
56 |
DESCRIPTION="The fast and light GNUstep window manager" |
57 |
HOMEPAGE="http://www.windowmaker.org/" |
58 |
SRC_URI=" http://windowmaker.org/pub/source/release/${P/windowm/WindowM}.tar.gz |
59 |
http://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz" |
60 |
|
61 |
SLOT="0" |
62 |
LICENSE="GPL-2" |
63 |
IUSE="gif jpeg nls png tiff modelock xinerama xrandr" |
64 |
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" |
65 |
|
66 |
DEPEND="media-libs/fontconfig |
67 |
>=x11-libs/libXft-2.1.0 |
68 |
x11-libs/libXmu |
69 |
x11-libs/libXt |
70 |
x11-libs/libXv |
71 |
gif? ( >=media-libs/giflib-4.1.0-r3 ) |
72 |
png? ( media-libs/libpng:0= ) |
73 |
jpeg? ( virtual/jpeg ) |
74 |
tiff? ( media-libs/tiff:0 ) |
75 |
xinerama? ( x11-libs/libXinerama ) |
76 |
xrandr? ( x11-libs/libXrandr )" |
77 |
RDEPEND="${DEPEND} |
78 |
nls? ( >=sys-devel/gettext-0.10.39 )" |
79 |
|
80 |
S=${WORKDIR}/${P/windowm/WindowM} |
81 |
|
82 |
src_prepare() { |
83 |
# Fix some paths |
84 |
for file in WindowMaker/*menu* util/wmgenmenu.c; do |
85 |
if [[ -r $file ]] ; then |
86 |
sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die |
87 |
sed -i -e "s:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die |
88 |
sed -i -e "s:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;" "$file" || die |
89 |
fi; |
90 |
done; |
91 |
|
92 |
epatch "${FILESDIR}"/${PN}-0.95.3-fix_underlinking.patch |
93 |
epatch "${FILESDIR}"/${P}-bsd_crash.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 |
} |