diff options
author | Christian Faulhammer <fauli@gentoo.org> | 2009-09-11 20:51:58 +0000 |
---|---|---|
committer | Christian Faulhammer <fauli@gentoo.org> | 2009-09-11 20:51:58 +0000 |
commit | d97772fce54e82f0a5df8fc70ef8913108862161 (patch) | |
tree | 2671d1d1c9f0754261f3b613abb5332ebfec050a /x11-wm/fvwm | |
parent | Add deps for bzip2 and zlib. Bug 284638. (diff) | |
download | historical-d97772fce54e82f0a5df8fc70ef8913108862161.tar.gz historical-d97772fce54e82f0a5df8fc70ef8913108862161.tar.bz2 historical-d97772fce54e82f0a5df8fc70ef8913108862161.zip |
create Sessions directory before doing any operations there, thanks to tcunha
Package-Manager: portage-2.1.6.13/cvs/Linux i686
RepoMan-Options: --force
Diffstat (limited to 'x11-wm/fvwm')
-rw-r--r-- | x11-wm/fvwm/ChangeLog | 9 | ||||
-rw-r--r-- | x11-wm/fvwm/Manifest | 9 | ||||
-rw-r--r-- | x11-wm/fvwm/fvwm-2.5.27-r1.ebuild | 177 |
3 files changed, 190 insertions, 5 deletions
diff --git a/x11-wm/fvwm/ChangeLog b/x11-wm/fvwm/ChangeLog index 20d145532103..3386d600c9be 100644 --- a/x11-wm/fvwm/ChangeLog +++ b/x11-wm/fvwm/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for x11-wm/fvwm # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/ChangeLog,v 1.158 2009/09/05 22:13:12 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/ChangeLog,v 1.159 2009/09/11 20:51:58 fauli Exp $ + +*fvwm-2.5.27-r1 (11 Sep 2009) + + 11 Sep 2009; Christian Faulhammer <fauli@gentoo.org> + +fvwm-2.5.27-r1.ebuild: + create Sessions directory before doing any operations there, thanks to + tcunha 05 Sep 2009; Markus Meier <maekke@gentoo.org> fvwm-2.5.27.ebuild: amd64 stable, bug #266937 diff --git a/x11-wm/fvwm/Manifest b/x11-wm/fvwm/Manifest index bf7948d4f0f2..e584ec0a481a 100644 --- a/x11-wm/fvwm/Manifest +++ b/x11-wm/fvwm/Manifest @@ -14,13 +14,14 @@ DIST fvwm-2.5.27.tar.bz2 2524965 RMD160 3b08849931d026619a45583f26528088efc51f6f EBUILD fvwm-2.5.18-r1.ebuild 5363 RMD160 166152c3c5ca70a2e63209796881b8a3d725b153 SHA1 7c049074fddfb4079af6b984454c353407b5f335 SHA256 81b1f71bc53a1366d61ef5e73de313272749a13efcb5120f56c0923606e96c30 EBUILD fvwm-2.5.25.ebuild 4396 RMD160 356c644a5a32542c0e270834b56557b44c3db5d0 SHA1 5fdc5cc0c6b9109898a0d0ff3c40c11e67449742 SHA256 a418be99ec9d553cffed3a6dabfff1dea7782bcfc4d8a728d54367430795b445 EBUILD fvwm-2.5.26.ebuild 4840 RMD160 2b01847b9db40f22c69bf9c3a7bec80182ede45a SHA1 15811d2e7cc0e993ebc986203c96f7fb440b43ac SHA256 7e888246e3f4bfb25a9938b8e8af1fd166534ab62c231bb468e6194ea19605af +EBUILD fvwm-2.5.27-r1.ebuild 4948 RMD160 b3319061d1a3b58dd17363e034a8ab5c7014283b SHA1 c9f071279200c0ee8b74f42c7fd3587371cc0c1a SHA256 1b8d99eec5eec9dab1f380f4c334daa4b2b33f0a0f2431fb77a4a0d40ed993ff EBUILD fvwm-2.5.27.ebuild 4901 RMD160 4ec0419b752c114b0c52fa14dc171dc1cce83598 SHA1 fbec06129582c97ba0cfaf852e1cb5689381e2a7 SHA256 d61f0c56b260839720955625726fa3f3f597be1f6d78f746a1e11b524fb931aa -MISC ChangeLog 25030 RMD160 9cd1dcab8181e71e79c8a46d51bb969724dda7c4 SHA1 cb9c50b98ab9d6f7499ada2627ad7a9733b862c7 SHA256 28ded3789e94b2696ba2516cf0f8d9480faa86872141b33702172178310bd717 +MISC ChangeLog 25224 RMD160 54a9525f658f1827343c3f8694db659bc03284ae SHA1 b3441ae5411978af533c1030f65c67c2feb0f027 SHA256 750c59f2f27d85389efc979dfe3b791d01b6e48057d30032b0ec6a579fe3fd34 MISC metadata.xml 1030 RMD160 b260d643a074659f85850fa34e70bbd8c75bace1 SHA1 95ca4f850821b546bf56cc053bb800cbfe67c54e SHA256 2bc103425bb6eb407042640f5768da44c559fc1e14cd21b7670a0d7c63f823b0 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) -iEYEARECAAYFAkqi4q0ACgkQkKaRLQcq0GJVFACcDlbVH1i811zKFBNckK0lRbAa -KUoAn1viw09U/2uETknUOsJZFrthBsS/ -=XCLv +iEYEARECAAYFAkqquIMACgkQNQqtfCuFneMoSwCgiIwZaGZa+ZoYiyQXjiWn8kmI +AWsAniMWcIh5s3gL6VP8I81gTcidKTaB +=wCzu -----END PGP SIGNATURE----- diff --git a/x11-wm/fvwm/fvwm-2.5.27-r1.ebuild b/x11-wm/fvwm/fvwm-2.5.27-r1.ebuild new file mode 100644 index 000000000000..7f127b6158d0 --- /dev/null +++ b/x11-wm/fvwm/fvwm-2.5.27-r1.ebuild @@ -0,0 +1,177 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/fvwm-2.5.27-r1.ebuild,v 1.1 2009/09/11 20:51:58 fauli Exp $ + +EAPI=2 + +inherit eutils flag-o-matic + +DESCRIPTION="An extremely powerful ICCCM-compliant multiple virtual desktop window manager" +HOMEPAGE="http://www.fvwm.org/" +SRC_URI="ftp://ftp.fvwm.org/pub/fvwm/version-2/${P}.tar.bz2" + +LICENSE="GPL-2 FVWM" +SLOT="0" +KEYWORDS="alpha amd64 ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd" +IUSE="bidi debug doc gtk gtk2-perl imlib netpbm nls perl png readline rplay stroke svg tk truetype vanilla xinerama lock" + +COMMON_DEPEND=" + sys-libs/zlib + x11-libs/libICE + x11-libs/libSM + x11-libs/libX11 + x11-libs/libXau + x11-libs/libxcb + x11-libs/libXcursor + x11-libs/libXdmcp + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXpm + x11-libs/libXrandr + x11-libs/libXrender + bidi? ( dev-libs/fribidi ) + gtk? ( + =x11-libs/gtk+-1.2* + imlib? ( media-libs/imlib[gtk] ) + ) + png? ( media-libs/libpng ) + readline? ( + sys-libs/ncurses + sys-libs/readline + ) + stroke? ( dev-libs/libstroke ) + svg? ( gnome-base/librsvg ) + truetype? ( + media-libs/fontconfig + x11-libs/libXft + ) + xinerama? ( + x11-proto/xineramaproto + x11-libs/libXinerama + )" + +RDEPEND="${COMMON_DEPEND} + dev-lang/perl + gtk2-perl? ( dev-perl/gtk2-perl ) + perl? ( tk? ( + dev-lang/tk + dev-perl/perl-tk + >=dev-perl/X11-Protocol-0.56 + ) + ) + rplay? ( media-sound/rplay ) + lock? ( x11-misc/xlockmore ) + userland_GNU? ( sys-apps/debianutils ) + !x86-fbsd? ( netpbm? ( media-libs/netpbm ) )" + +DEPEND="${COMMON_DEPEND} + dev-util/pkgconfig + doc? ( dev-libs/libxslt ) + x11-proto/xextproto + x11-proto/xproto" + +src_prepare() { + if ! use vanilla; then + # Enables fast translucent menus; patch from fvwm-user mailing list. + epatch "${FILESDIR}/${P}-translucent-menus.diff" + + # A Gentoo-specific compatibility patch. + epatch "${FILESDIR}/fvwm-menu-xlock-xlockmore-compat.diff" + fi +} + +src_configure() { + local myconf="--libexecdir=/usr/lib --with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm --enable-package-subdirs --without-gnome" + + # Non-upstream email where bugs should be sent; used in fvwm-bug. + export FVWM_BUGADDR="desktop-wm@gentoo.org" + + # Recommended by upstream. + append-flags -fno-strict-aliasing + + # Signed chars are required. + use ppc && append-flags -fsigned-char + + if use gtk; then + if ! use imlib; then + einfo "ATTN: You can safely ignore any imlib related configure errors." + myconf="${myconf} --with-imlib-prefix=${T}" + fi + else + myconf="${myconf} --disable-gtk" + fi + + use readline && myconf="${myconf} --without-termcap-library" + + econf ${myconf} \ + $(use_enable bidi) \ + $(use_enable debug debug-msgs) \ + $(use_enable debug command-log) \ + $(use_enable doc htmldoc) \ + $(use_enable nls) \ + $(use_enable nls iconv) \ + $(use_enable perl perllib) \ + $(use_with png png-library) \ + $(use_with readline readline-library) \ + $(use_with rplay rplay-library) \ + $(use_with stroke stroke-library) \ + $(use_enable svg rsvg) \ + $(use_enable truetype xft) \ + $(use_enable xinerama) \ + || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + # These are always removed, because gentoo doesn't have anymore + # a dev-perl/gtk-perl package, so, these modules are pointless. + rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Gtk.pm" + find "${D}" -name '*FvwmGtkDebug*' -exec rm -f '{}' \; 2>/dev/null + + if ! use lock; then + find "${D}" -name '*fvwm-menu-xlock' -exec rm -f '{}' \; 2>/dev/null + fi + + if use perl; then + if ! use tk; then + rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Tk.pm" + if ! use gtk2-perl; then # no tk and no gtk2 bindings + rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Toolkit.pm" + find "${D}/usr/share/fvwm/perllib" -depth -type d -exec rmdir '{}' \; 2>/dev/null + fi + fi + + # Now, the Gtk2.pm file, it will require dev-perl/gtk2-perl + # so it implies gtk2 as well. That's why we need another use flag. + if ! use gtk2-perl; then + rm -f "${D}/usr/share/fvwm/perllib/FVWM/Module/Gtk2.pm" + fi + else + # Completely wipe it if ! use perl + rm -rf "${D}/usr/bin/fvwm-perllib" \ + "${D}/usr/share/man/man1/fvwm-perllib.1" + fi + + # Utility for testing FVWM behaviour by creating a simple window with + # configurable hints. + if use debug; then + dobin "${S}/tests/hints/hints_test" + newdoc "${S}/tests/hints/README" README.hints + fi + + # Remove fvwm-convert-2.6 as it does not contain any code. + rm -f "${D}/usr/bin/fvwm-convert-2.6" \ + "${D}/usr/share/man/man1/fvwm-convert-2.6.1" + + dodir /etc/X11/Sessions/${PN} + echo "/usr/bin/fvwm" > "${D}/etc/X11/Sessions/${PN}" || die + fperms a+x /etc/X11/Sessions/${PN} || die + + dodoc AUTHORS ChangeLog NEWS README \ + docs/{ANNOUNCE,BUGS,COMMANDS,CONVENTIONS} \ + docs/{DEVELOPERS,error_codes,FAQ,TODO,fvwm.lsm} + + # README file for translucent menus patch. + use vanilla || dodoc "${FILESDIR}"/README.translucency +} |