Gentoo Archives: gentoo-commits

From: "Jeremy Olexa (darkside)" <darkside@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-wm/fvwm: fvwm-2.6.3.ebuild ChangeLog
Date: Sat, 01 Oct 2011 03:42:42
Message-Id: 20111001034232.94B4820034@flycatcher.gentoo.org
1 darkside 11/10/01 03:42:32
2
3 Modified: ChangeLog
4 Added: fvwm-2.6.3.ebuild
5 Log:
6 version bump by Jesús Guerrero, bug 385145
7
8 (Portage version: 2.1.10.20/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.179 x11-wm/fvwm/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fvwm/ChangeLog?rev=1.179&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fvwm/ChangeLog?rev=1.179&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fvwm/ChangeLog?r1=1.178&r2=1.179
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/x11-wm/fvwm/ChangeLog,v
20 retrieving revision 1.178
21 retrieving revision 1.179
22 diff -u -r1.178 -r1.179
23 --- ChangeLog 8 Aug 2011 15:43:03 -0000 1.178
24 +++ ChangeLog 1 Oct 2011 03:42:32 -0000 1.179
25 @@ -1,6 +1,11 @@
26 # ChangeLog for x11-wm/fvwm
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/ChangeLog,v 1.178 2011/08/08 15:43:03 darkside Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/ChangeLog,v 1.179 2011/10/01 03:42:32 darkside Exp $
30 +
31 +*fvwm-2.6.3 (01 Oct 2011)
32 +
33 + 01 Oct 2011; Jeremy Olexa <darkside@g.o> +fvwm-2.6.3.ebuild:
34 + version bump by Jesús Guerrero, bug 385145
35
36 *fvwm-2.6.2 (08 Aug 2011)
37
38
39
40
41 1.1 x11-wm/fvwm/fvwm-2.6.3.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fvwm/fvwm-2.6.3.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-wm/fvwm/fvwm-2.6.3.ebuild?rev=1.1&content-type=text/plain
45
46 Index: fvwm-2.6.3.ebuild
47 ===================================================================
48 # Copyright 1999-2011 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.6.3.ebuild,v 1.1 2011/10/01 03:42:32 darkside Exp $
51
52 EAPI=2
53
54 inherit eutils flag-o-matic
55
56 DESCRIPTION="An extremely powerful ICCCM-compliant multiple virtual desktop window manager"
57 HOMEPAGE="http://www.fvwm.org/"
58 SRC_URI="ftp://ftp.fvwm.org/pub/fvwm/version-2/${P}.tar.bz2"
59
60 LICENSE="GPL-2 FVWM"
61 SLOT="0"
62 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
63 IUSE="bidi debug doc gtk2-perl netpbm nls perl png readline rplay stroke svg tk truetype vanilla xinerama lock"
64
65 COMMON_DEPEND="
66 sys-libs/zlib
67 x11-libs/libICE
68 x11-libs/libSM
69 x11-libs/libX11
70 x11-libs/libXau
71 x11-libs/libxcb
72 x11-libs/libXcursor
73 x11-libs/libXdmcp
74 x11-libs/libXext
75 x11-libs/libXfixes
76 x11-libs/libXpm
77 x11-libs/libXrandr
78 x11-libs/libXrender
79 bidi? ( dev-libs/fribidi )
80 png? ( media-libs/libpng )
81 readline? (
82 sys-libs/ncurses
83 sys-libs/readline
84 )
85 stroke? ( dev-libs/libstroke )
86 svg? ( gnome-base/librsvg )
87 truetype? (
88 media-libs/fontconfig
89 x11-libs/libXft
90 )
91 xinerama? (
92 x11-proto/xineramaproto
93 x11-libs/libXinerama
94 )"
95
96 RDEPEND="${COMMON_DEPEND}
97 dev-lang/perl
98 gtk2-perl? ( dev-perl/gtk2-perl )
99 perl? ( tk? (
100 dev-lang/tk
101 dev-perl/perl-tk
102 >=dev-perl/X11-Protocol-0.56
103 )
104 )
105 rplay? ( media-sound/rplay )
106 lock? ( x11-misc/xlockmore )
107 userland_GNU? ( sys-apps/debianutils )
108 !x86-fbsd? ( netpbm? ( media-libs/netpbm ) )"
109
110 DEPEND="${COMMON_DEPEND}
111 dev-util/pkgconfig
112 doc? ( dev-libs/libxslt )
113 x11-proto/xextproto
114 x11-proto/xproto"
115
116 src_prepare() {
117 if ! use vanilla; then
118 # Enables fast translucent menus; patch from fvwm-user mailing list.
119 epatch "${FILESDIR}/${PN}-2.5.27-translucent-menus.diff"
120 fi
121 }
122
123 src_configure() {
124 local myconf="--libexecdir=/usr/lib --with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm --enable-package-subdirs --without-gnome"
125
126 # Non-upstream email where bugs should be sent; used in fvwm-bug.
127 export FVWM_BUGADDR="desktop-wm@g.o"
128
129 # Recommended by upstream.
130 append-flags -fno-strict-aliasing
131
132 # Signed chars are required.
133 use ppc && append-flags -fsigned-char
134
135 myconf="${myconf} --disable-gtk"
136
137 use readline && myconf="${myconf} --without-termcap-library"
138
139 econf ${myconf} \
140 $(use_enable bidi) \
141 $(use_enable debug debug-msgs) \
142 $(use_enable debug command-log) \
143 $(use_enable doc htmldoc) \
144 $(use_enable nls) \
145 $(use_enable nls iconv) \
146 $(use_enable perl perllib) \
147 $(use_with png png-library) \
148 $(use_with readline readline-library) \
149 $(use_with rplay rplay-library) \
150 $(use_with stroke stroke-library) \
151 $(use_enable svg rsvg) \
152 $(use_enable truetype xft) \
153 $(use_enable xinerama) \
154 --docdir="/usr/share/doc/${P}"
155 }
156
157 src_install() {
158 emake DESTDIR="${D}" docdir="/usr/share/doc/${P}" install || die
159
160 # These are always removed, because gentoo doesn't have anymore
161 # a dev-perl/gtk-perl package, so, these modules are pointless.
162 rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Gtk.pm"
163 find "${D}" -name '*FvwmGtkDebug*' -exec rm -f '{}' \; 2>/dev/null
164
165 if ! use lock; then
166 find "${D}" -name '*fvwm-menu-xlock' -exec rm -f '{}' \; 2>/dev/null
167 fi
168
169 if use perl; then
170 if ! use tk; then
171 rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Tk.pm"
172 if ! use gtk2-perl; then # no tk and no gtk2 bindings
173 rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Toolkit.pm"
174 find "${D}/usr/share/fvwm/perllib" -depth -type d -exec rmdir '{}' \; 2>/dev/null
175 fi
176 fi
177
178 # Now, the Gtk2.pm file, it will require dev-perl/gtk2-perl
179 # so it implies gtk2 as well. That's why we need another use flag.
180 if ! use gtk2-perl; then
181 rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Gtk2.pm"
182 fi
183 else
184 # Completely wipe it if ! use perl
185 rm -rf "${D}/usr/bin/fvwm-perllib" \
186 "${D}/usr/share/man/man1/fvwm-perllib.1"
187 fi
188
189 # Utility for testing FVWM behaviour by creating a simple window with
190 # configurable hints.
191 if use debug; then
192 dobin "${S}/tests/hints/hints_test"
193 newdoc "${S}/tests/hints/README" README.hints
194 fi
195
196 dodir /etc/X11/Sessions
197 echo "/usr/bin/fvwm" > "${D}/etc/X11/Sessions/${PN}" || die
198 fperms a+x /etc/X11/Sessions/${PN} || die
199
200 dodoc AUTHORS ChangeLog NEWS README \
201 docs/{ANNOUNCE,BUGS,COMMANDS,CONVENTIONS} \
202 docs/{DEVELOPERS,error_codes,FAQ,TODO,fvwm.lsm}
203
204 # README file for translucent menus patch.
205 use vanilla || dodoc "${FILESDIR}"/README.translucency
206 }