1 |
omp 08/05/04 08:44:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: fvwm-2.5.25.ebuild |
5 |
Log: |
6 |
Version bump; copied from my subversion repository. (bug #191638) |
7 |
(Portage version: 2.1.5_rc6) |
8 |
|
9 |
Revision Changes Path |
10 |
1.145 x11-wm/fvwm/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fvwm/ChangeLog?rev=1.145&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fvwm/ChangeLog?rev=1.145&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fvwm/ChangeLog?r1=1.144&r2=1.145 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/x11-wm/fvwm/ChangeLog,v |
19 |
retrieving revision 1.144 |
20 |
retrieving revision 1.145 |
21 |
diff -u -r1.144 -r1.145 |
22 |
--- ChangeLog 7 Jan 2008 03:49:05 -0000 1.144 |
23 |
+++ ChangeLog 4 May 2008 08:44:20 -0000 1.145 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for x11-wm/fvwm |
26 |
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/ChangeLog,v 1.144 2008/01/07 03:49:05 omp Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/ChangeLog,v 1.145 2008/05/04 08:44:20 omp Exp $ |
29 |
+ |
30 |
+*fvwm-2.5.25 (04 May 2008) |
31 |
+ |
32 |
+ 04 May 2008; David Shakaryan <omp@g.o> |
33 |
+ +files/fvwm-2.5.23-translucent-menus.diff, +fvwm-2.5.25.ebuild: |
34 |
+ Version bump; copied from my subversion repository. (bug #191638) |
35 |
|
36 |
07 Jan 2008; David Shakaryan <omp@g.o> fvwm-2.5.18-r1.ebuild, |
37 |
fvwm-2.5.19.ebuild, fvwm-2.5.21.ebuild: |
38 |
|
39 |
|
40 |
|
41 |
1.1 x11-wm/fvwm/fvwm-2.5.25.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fvwm/fvwm-2.5.25.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/x11-wm/fvwm/fvwm-2.5.25.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: fvwm-2.5.25.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2008 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/fvwm-2.5.25.ebuild,v 1.1 2008/05/04 08:44:20 omp Exp $ |
51 |
|
52 |
inherit eutils flag-o-matic |
53 |
|
54 |
DESCRIPTION="An extremely powerful ICCCM-compliant multiple virtual desktop window manager" |
55 |
HOMEPAGE="http://www.fvwm.org/" |
56 |
SRC_URI="ftp://ftp.fvwm.org/pub/fvwm/version-2/${P}.tar.bz2" |
57 |
|
58 |
LICENSE="GPL-2 FVWM" |
59 |
SLOT="0" |
60 |
KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
61 |
IUSE="bidi debug doc gtk imlib nls perl png readline rplay stroke svg tk truetype vanilla xinerama" |
62 |
|
63 |
RDEPEND="dev-lang/perl |
64 |
sys-libs/zlib |
65 |
x11-libs/libXpm |
66 |
x11-libs/libXft |
67 |
bidi? ( dev-libs/fribidi ) |
68 |
gtk? ( |
69 |
=x11-libs/gtk+-1.2* |
70 |
imlib? ( media-libs/imlib ) |
71 |
) |
72 |
perl? ( tk? ( |
73 |
dev-lang/tk |
74 |
dev-perl/perl-tk |
75 |
>=dev-perl/X11-Protocol-0.56 |
76 |
) |
77 |
) |
78 |
png? ( media-libs/libpng ) |
79 |
readline? ( |
80 |
sys-libs/ncurses |
81 |
sys-libs/readline |
82 |
) |
83 |
rplay? ( media-sound/rplay ) |
84 |
stroke? ( dev-libs/libstroke ) |
85 |
svg? ( gnome-base/librsvg ) |
86 |
truetype? ( |
87 |
media-libs/fontconfig |
88 |
virtual/xft |
89 |
) |
90 |
userland_GNU? ( sys-apps/debianutils ) |
91 |
xinerama? ( x11-libs/libXinerama )" |
92 |
# XXX: gtk2 perl bindings require dev-perl/gtk2-perl, worth a dependency? |
93 |
# XXX: gtk perl bindings require dev-perl/gtk-perl, worth a dependency? |
94 |
# XXX: netpbm is used by FvwmScript-ScreenDump, worth a dependency? |
95 |
DEPEND="${RDEPEND} |
96 |
dev-libs/libxslt |
97 |
dev-util/pkgconfig |
98 |
x11-libs/libXrandr |
99 |
x11-proto/xextproto |
100 |
x11-proto/xproto |
101 |
doc? ( dev-libs/libxslt ) |
102 |
xinerama? ( x11-proto/xineramaproto )" |
103 |
|
104 |
src_unpack() { |
105 |
unpack ${A} |
106 |
|
107 |
if ! use vanilla; then |
108 |
cd "${S}" |
109 |
|
110 |
# Enables fast translucent menus; patch from fvwm-user mailing list. |
111 |
epatch "${FILESDIR}/fvwm-2.5.23-translucent-menus.diff" |
112 |
|
113 |
# A Gentoo-specific compatibility patch. |
114 |
epatch "${FILESDIR}/fvwm-menu-xlock-xlockmore-compat.patch" |
115 |
fi |
116 |
} |
117 |
|
118 |
src_compile() { |
119 |
local myconf="--libexecdir=/usr/lib --with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm --enable-package-subdirs --without-gnome" |
120 |
|
121 |
# Non-upstream email where bugs should be sent; used in fvwm-bug. |
122 |
export FVWM_BUGADDR="desktop-wm@g.o" |
123 |
|
124 |
# Recommended by upstream. |
125 |
append-flags -fno-strict-aliasing |
126 |
|
127 |
# Signed chars are required. |
128 |
use ppc && append-flags -fsigned-char |
129 |
|
130 |
if use gtk; then |
131 |
if ! use imlib; then |
132 |
einfo "ATTN: You can safely ignore any imlib related configure errors." |
133 |
myconf="${myconf} --with-imlib-prefix=${T}" |
134 |
fi |
135 |
else |
136 |
myconf="${myconf} --disable-gtk" |
137 |
fi |
138 |
|
139 |
use readline && myconf="${myconf} --without-termcap-library" |
140 |
|
141 |
econf ${myconf} \ |
142 |
$(use_enable bidi) \ |
143 |
$(use_enable debug debug-msgs) \ |
144 |
$(use_enable debug command-log) \ |
145 |
$(use_enable doc htmldoc) \ |
146 |
$(use_enable nls) \ |
147 |
$(use_enable nls iconv) \ |
148 |
$(use_enable perl perllib) \ |
149 |
$(use_with png png-library) \ |
150 |
$(use_with readline readline-library) \ |
151 |
$(use_with rplay rplay-library) \ |
152 |
$(use_with stroke stroke-library) \ |
153 |
$(use_enable svg rsvg) \ |
154 |
$(use_enable truetype xft) \ |
155 |
$(use_enable xinerama) \ |
156 |
|| die "econf failed" |
157 |
|
158 |
emake || die "emake failed" |
159 |
} |
160 |
|
161 |
src_install() { |
162 |
emake DESTDIR="${D}" install || die "emake install failed" |
163 |
|
164 |
if use perl; then |
165 |
local toolkits="gtk tcltk" |
166 |
|
167 |
if ! use tk; then |
168 |
rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Tk.pm" |
169 |
toolkits=${toolkits/tcltk/} |
170 |
fi |
171 |
|
172 |
if ! use gtk; then |
173 |
rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/"Gtk{,2}.pm |
174 |
toolkits=${toolkits/gtk/} |
175 |
fi |
176 |
|
177 |
if ! test "${toolkits// /}"; then |
178 |
rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Toolkit.pm" |
179 |
find "${D}/usr/share/fvwm/perllib" -depth -type d -exec rmdir {} \; 2>/dev/null |
180 |
fi |
181 |
else |
182 |
rm -rf "${D}/usr/bin/fvwm-perllib" \ |
183 |
"${D}/usr/share/man/man1/fvwm-perllib.1" |
184 |
fi |
185 |
|
186 |
# Utility for testing FVWM behaviour by creating a simple window with |
187 |
# configurable hints. |
188 |
if use debug; then |
189 |
dobin "${S}/tests/hints/hints_test" |
190 |
newdoc "${S}/tests/hints/README" README.hints |
191 |
fi |
192 |
|
193 |
# Remove fvwm-convert-2.6 as it does not contain any code. |
194 |
rm -f "${D}/usr/bin/fvwm-convert-2.6" \ |
195 |
"${D}/usr/share/man/man1/fvwm-convert-2.6.1" |
196 |
|
197 |
echo "/usr/bin/fvwm" > "${D}/etc/X11/Sessions/${PN}" |
198 |
|
199 |
dodoc AUTHORS ChangeLog NEWS README \ |
200 |
docs/{ANNOUNCE,BUGS,COMMANDS,CONVENTIONS} \ |
201 |
docs/{DEVELOPERS,error_codes,FAQ,TODO,fvwm.lsm} |
202 |
|
203 |
# README file for translucent menus patch. |
204 |
use vanilla || dodoc "${FILESDIR}/README.translucency" |
205 |
} |
206 |
|
207 |
|
208 |
|
209 |
-- |
210 |
gentoo-commits@l.g.o mailing list |