summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2006-12-18 21:09:47 +0000
committerTavis Ormandy <taviso@gentoo.org>2006-12-18 21:09:47 +0000
commit858032e5b07c90e2e35cd8bf88698ebfc811cf8e (patch)
treeae1c7c59568efd794bcbabf492c14886b1e8ed68 /x11-wm
parentversion bump (diff)
downloadgentoo-2-858032e5b07c90e2e35cd8bf88698ebfc811cf8e.tar.gz
gentoo-2-858032e5b07c90e2e35cd8bf88698ebfc811cf8e.tar.bz2
gentoo-2-858032e5b07c90e2e35cd8bf88698ebfc811cf8e.zip
version bump
(Portage version: 2.1.1-r1) (Signed Manifest commit)
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/fvwm/Manifest41
-rw-r--r--x11-wm/fvwm/files/digest-fvwm-2.5.166
-rw-r--r--x11-wm/fvwm/files/digest-fvwm-2.5.186
-rw-r--r--x11-wm/fvwm/fvwm-2.5.16.ebuild203
-rw-r--r--x11-wm/fvwm/fvwm-2.5.18.ebuild159
5 files changed, 17 insertions, 398 deletions
diff --git a/x11-wm/fvwm/Manifest b/x11-wm/fvwm/Manifest
index 47f69a0f1157..8814cd3b2ee2 100644
--- a/x11-wm/fvwm/Manifest
+++ b/x11-wm/fvwm/Manifest
@@ -13,43 +13,36 @@ AUX fvwm-menu-xlock-xlockmore-compat.diff 550 RMD160 72af6f306e5869581fcd48c84ed
MD5 d91fb7d2af57653fc93a70e6e1c0a0ea files/fvwm-menu-xlock-xlockmore-compat.diff 550
RMD160 72af6f306e5869581fcd48c84edfe00adea4a5b9 files/fvwm-menu-xlock-xlockmore-compat.diff 550
SHA256 5db8bc279f618096b23fed04b70b626c6ff50c104283d5ece505200db1e5a8af files/fvwm-menu-xlock-xlockmore-compat.diff 550
-DIST fvwm-2.5.16-translucent-menus.diff.gz 5022 RMD160 995c1dcd20bd5e4342cb0d2db442ef14490275e6 SHA1 5331b75cb63681df53dde8567c9475a15ac12a2e SHA256 ac57011a3211267ed7893001e6bc381230c2491526231efc2468991a9774f977
-DIST fvwm-2.5.16.tar.bz2 2018815 RMD160 2c0d9c3c1c452d970dbcd4ba4800944714d4c2d4 SHA1 fb12b06bec5992b5d3e640f9a530fe453f5f7a1e SHA256 9fb3f38dfd329b3de1cab0b4e500edd7a2d2fbe11357ef0ca11e052e4ee406d9
DIST fvwm-2.5.18-translucent-menus.diff.gz 82595 RMD160 175e2dc93ca4e265a5022655deeede32dd653b38 SHA1 58e7120717e9dc581d9c6b61770aa740ef33bcbe SHA256 ffdaf69a93f626a709541e15ecbbb8842c306543beebd4adc909a6edbda42516
DIST fvwm-2.5.18.tar.bz2 2034340 RMD160 68bd7a5d3e1c5fb3776de0fbda75414d9e7ad54b SHA1 b7ef45dfe3975deab38dd9ae306c5fd280f307c6 SHA256 8489b32ad488d91898d9be0ff4ec4697590feee66f10de88301511efc617e9c5
-EBUILD fvwm-2.5.16.ebuild 5997 RMD160 1f6c2d1fc03431a7ddb77de7e61508006c3f8b25 SHA1 90149cdc690769a989e6731bdb838760322f7e01 SHA256 87ec055324c328876451aa5be4343e74aea0d7e77801d65cc4178d68773586b6
-MD5 95c04709f9e1c483b061a4bc7fb99c11 fvwm-2.5.16.ebuild 5997
-RMD160 1f6c2d1fc03431a7ddb77de7e61508006c3f8b25 fvwm-2.5.16.ebuild 5997
-SHA256 87ec055324c328876451aa5be4343e74aea0d7e77801d65cc4178d68773586b6 fvwm-2.5.16.ebuild 5997
+DIST fvwm-2.5.19-translucent-menus.diff.gz 5203 RMD160 637f1fb2597b0b8046b3f55c95b5c8826caaf753 SHA1 39ea5b122c8e2ccd252b36b4a807760e8ea34609 SHA256 64e71d288569b09233397b8e340c5641f6fc488bd6f97813e3b3aaebe385b24a
+DIST fvwm-2.5.19.tar.bz2 1990433 RMD160 75aabb54a9a66db21a16a339bbc4359b484b58de SHA1 b35da6ba6acb2f7bccd84da2ca95e49af2d7dd75 SHA256 b298c8de6ff64f45a6bddd456b3db3608522cd488e69435c60447e92617d4422
EBUILD fvwm-2.5.18-r1.ebuild 5378 RMD160 6c8d6bc30869c43c0d558cf011a831299da8e410 SHA1 db83e2be956f7de3d4ab5a1e5b9d893fcea50d90 SHA256 e39c9b42771f2e07e559786cfcdee52351875f0756db1e3ddef3d0e440200723
MD5 be9f710df0b9dc45a49984c636cd936b fvwm-2.5.18-r1.ebuild 5378
RMD160 6c8d6bc30869c43c0d558cf011a831299da8e410 fvwm-2.5.18-r1.ebuild 5378
SHA256 e39c9b42771f2e07e559786cfcdee52351875f0756db1e3ddef3d0e440200723 fvwm-2.5.18-r1.ebuild 5378
-EBUILD fvwm-2.5.18.ebuild 5156 RMD160 795da92d49a95e558a770420c7a87cdf7fdfbfa0 SHA1 cfc87833274534b92eb0ab9b03fa866abaf21cda SHA256 26e568830f5c949b77e14c0e6e2371af3308e63bd815595d5c1110660281cafb
-MD5 e6cdef0d68baab145a94020b5d384c77 fvwm-2.5.18.ebuild 5156
-RMD160 795da92d49a95e558a770420c7a87cdf7fdfbfa0 fvwm-2.5.18.ebuild 5156
-SHA256 26e568830f5c949b77e14c0e6e2371af3308e63bd815595d5c1110660281cafb fvwm-2.5.18.ebuild 5156
-MISC ChangeLog 21872 RMD160 c4d423b789d8a68dfb40962c38e3337a2e9c3746 SHA1 222a703f219ee0dbb366e7fc2e4588dfd0ae2ecd SHA256 33627964541ed8775570095614d35a6126c95ce9ef883f901e91739e1705dbea
-MD5 3d0e8e36caa7af937b8d51cdcba2476e ChangeLog 21872
-RMD160 c4d423b789d8a68dfb40962c38e3337a2e9c3746 ChangeLog 21872
-SHA256 33627964541ed8775570095614d35a6126c95ce9ef883f901e91739e1705dbea ChangeLog 21872
+EBUILD fvwm-2.5.19.ebuild 5232 RMD160 ee91c888229ee306dc6b19fd29d6a7bde3fc0f62 SHA1 98f6b3ae38f6bd5a7596332a9afde666e17a6f9b SHA256 0e0d3033987df1d9d91c601670fc1796eb334201124951d2e3f0b9750420ea37
+MD5 e407485374ea16dd6b8174e7ecad8d76 fvwm-2.5.19.ebuild 5232
+RMD160 ee91c888229ee306dc6b19fd29d6a7bde3fc0f62 fvwm-2.5.19.ebuild 5232
+SHA256 0e0d3033987df1d9d91c601670fc1796eb334201124951d2e3f0b9750420ea37 fvwm-2.5.19.ebuild 5232
+MISC ChangeLog 22058 RMD160 cc399ecb2707bb76e9d3538fe45a36942baab72f SHA1 c4538606fdbd9a08a60fb136b97f54b2b75c0c9a SHA256 57407b4364621db4e8e8a9eaa979fcda56f4a3e85a4b40c848bf6d671a22fb55
+MD5 aae388163077c958997fe58a11a8bdfb ChangeLog 22058
+RMD160 cc399ecb2707bb76e9d3538fe45a36942baab72f ChangeLog 22058
+SHA256 57407b4364621db4e8e8a9eaa979fcda56f4a3e85a4b40c848bf6d671a22fb55 ChangeLog 22058
MISC metadata.xml 527 RMD160 e50357d85b1410cf8a00f1afad349ed77b986fd7 SHA1 30ccd6474c2e572a1758202aa2a8b5f8edaf843d SHA256 e22df6337e402284589214f91894a06fd29786e4412ffd70845fe1cf86bb1375
MD5 4833e4d0685ef48988c0c5c4f9c6b377 metadata.xml 527
RMD160 e50357d85b1410cf8a00f1afad349ed77b986fd7 metadata.xml 527
SHA256 e22df6337e402284589214f91894a06fd29786e4412ffd70845fe1cf86bb1375 metadata.xml 527
-MD5 293a9b01b3bbdfc741ac4a6fe86d3a21 files/digest-fvwm-2.5.16 527
-RMD160 aa0272e67f38f6c8db6986ac2b54165e5ce42645 files/digest-fvwm-2.5.16 527
-SHA256 21ea20a2227a9ec115691056fdb382b440de63f2f1552567898dfcc780aadd33 files/digest-fvwm-2.5.16 527
-MD5 25addc6d638328c72c1b1e2d9d89181f files/digest-fvwm-2.5.18 530
-RMD160 cc98cfff3501a5b64176f936befd759f075894a1 files/digest-fvwm-2.5.18 530
-SHA256 15f65ff835712c3942c2d073dd95abe0d5739ac281be5b31bd598f9bff97e5fc files/digest-fvwm-2.5.18 530
MD5 25addc6d638328c72c1b1e2d9d89181f files/digest-fvwm-2.5.18-r1 530
RMD160 cc98cfff3501a5b64176f936befd759f075894a1 files/digest-fvwm-2.5.18-r1 530
SHA256 15f65ff835712c3942c2d073dd95abe0d5739ac281be5b31bd598f9bff97e5fc files/digest-fvwm-2.5.18-r1 530
+MD5 92361e1a13b578341dc56efebe350919 files/digest-fvwm-2.5.19 527
+RMD160 ee489b8d7e000f752d6780e64ace567a19334d2a files/digest-fvwm-2.5.19 527
+SHA256 605e1c4e7b87a1dde283aa0c5d577360663b398b2b65ebc108462a0913d4d288 files/digest-fvwm-2.5.19 527
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5 (GNU/Linux)
+Version: GnuPG v1.4.6 (GNU/Linux)
-iQBVAwUBRXWUrNommWwmkP1xAQK0CQH9EIlQ08XXxyvlGeySqbzoccWIlOhwWIL9
-JZo9LxIlwLEw6LX1TbZJnC0tvyKzPP4PauHMRKXrSJyevtIVSWFuYQ==
-=oVcn
+iQBVAwUBRYcDo9ommWwmkP1xAQL4sgIAp3dqBBfBqZ8nDJfwBEAXXnSPEsKr97qP
+1B6mTaFg92rrOQIvzABqB24167UzVWtCwyjkrQkAqRnVzFiR+ZG2rA==
+=M9do
-----END PGP SIGNATURE-----
diff --git a/x11-wm/fvwm/files/digest-fvwm-2.5.16 b/x11-wm/fvwm/files/digest-fvwm-2.5.16
deleted file mode 100644
index ac2c839cb8e8..000000000000
--- a/x11-wm/fvwm/files/digest-fvwm-2.5.16
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 4110ed5d89208f0ec57b60523bed37e0 fvwm-2.5.16-translucent-menus.diff.gz 5022
-RMD160 995c1dcd20bd5e4342cb0d2db442ef14490275e6 fvwm-2.5.16-translucent-menus.diff.gz 5022
-SHA256 ac57011a3211267ed7893001e6bc381230c2491526231efc2468991a9774f977 fvwm-2.5.16-translucent-menus.diff.gz 5022
-MD5 78eb609bd913868f659034173292b9bd fvwm-2.5.16.tar.bz2 2018815
-RMD160 2c0d9c3c1c452d970dbcd4ba4800944714d4c2d4 fvwm-2.5.16.tar.bz2 2018815
-SHA256 9fb3f38dfd329b3de1cab0b4e500edd7a2d2fbe11357ef0ca11e052e4ee406d9 fvwm-2.5.16.tar.bz2 2018815
diff --git a/x11-wm/fvwm/files/digest-fvwm-2.5.18 b/x11-wm/fvwm/files/digest-fvwm-2.5.18
deleted file mode 100644
index 6ebdba7bf2ce..000000000000
--- a/x11-wm/fvwm/files/digest-fvwm-2.5.18
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 140c3b506c7afb69a3e6ac0b2b56e75b fvwm-2.5.18-translucent-menus.diff.gz 82595
-RMD160 175e2dc93ca4e265a5022655deeede32dd653b38 fvwm-2.5.18-translucent-menus.diff.gz 82595
-SHA256 ffdaf69a93f626a709541e15ecbbb8842c306543beebd4adc909a6edbda42516 fvwm-2.5.18-translucent-menus.diff.gz 82595
-MD5 d90612ab2bd3a86b2bd23325aa87d3d4 fvwm-2.5.18.tar.bz2 2034340
-RMD160 68bd7a5d3e1c5fb3776de0fbda75414d9e7ad54b fvwm-2.5.18.tar.bz2 2034340
-SHA256 8489b32ad488d91898d9be0ff4ec4697590feee66f10de88301511efc617e9c5 fvwm-2.5.18.tar.bz2 2034340
diff --git a/x11-wm/fvwm/fvwm-2.5.16.ebuild b/x11-wm/fvwm/fvwm-2.5.16.ebuild
deleted file mode 100644
index 8c6461839881..000000000000
--- a/x11-wm/fvwm/fvwm-2.5.16.ebuild
+++ /dev/null
@@ -1,203 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/fvwm-2.5.16.ebuild,v 1.12 2006/11/28 07:22:30 omp Exp $
-
-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 mirror://gentoo/fvwm-2.5.16-translucent-menus.diff.gz"
-
-LICENSE="GPL-2 FVWM"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
-IUSE="bidi debug gtk nls perl png readline rplay stroke tk truetype xinerama"
-
-RDEPEND="readline? ( >=sys-libs/readline-4.1 >=sys-libs/ncurses-5.3-r1 )
- gtk? ( =x11-libs/gtk+-1.2* )
- rplay? ( >=media-sound/rplay-3.3.2 )
- bidi? ( >=dev-libs/fribidi-0.10.4 )
- png? ( >=media-libs/libpng-1.0.12-r2 )
- stroke? ( >=dev-libs/libstroke-0.4 )
- perl? ( tk? ( >=dev-lang/tk-8.3.4
- >=dev-perl/perl-tk-800.024-r2
- >=dev-perl/X11-Protocol-0.52 ) )
- truetype? ( virtual/xft >=media-libs/fontconfig-2.1-r1 )
- >=dev-lang/perl-5.6.1-r10
- >=sys-libs/zlib-1.1.4-r1
- sys-apps/debianutils
- || ( (
- x11-libs/libXpm
- x11-libs/libXft
- xinerama? ( x11-libs/libXinerama ) )
- virtual/x11 )"
-# XXX: gtk2 perl bindings require dev-perl/gtk2-perl, worth a dependency?
-# XXX: gtk perl bindings require dev-perl/gtk-perl, worth a dependency?
-# XXX: netpbm is used by FvwmScript-ScreenDump, worth a dependency?
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- !x11-wm/metisse
- || ( (
- x11-libs/libXrandr
- x11-proto/xextproto
- x11-proto/xproto
- xinerama? ( x11-proto/xineramaproto ) )
- virtual/x11 )"
-
-src_unpack() {
- unpack ${A}; export EPATCH_OPTS="-F3 -l"
-
- # this patch enables fast translucent menus in fvwm. this is a
- # minor tweak of a patch posted to fvwm-user mailing list by Olivier
- # Chapuis in <20030827135125.GA6370@snoopy.folie>.
- cd ${S}; epatch ${WORKDIR}/fvwm-2.5.16-translucent-menus.diff
-
- # fixing #51287, the fvwm-menu-xlock script is not compatible
- # with the xlockmore implementation in portage.
- cd ${S}; epatch ${FILESDIR}/fvwm-menu-xlock-xlockmore-compat.diff
-}
-
-src_compile() {
- local myconf="--libexecdir=/usr/lib --with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm --enable-package-subdirs"
-
-
- # use readline in FvwmConsole.
- if ! use readline; then
- myconf="${myconf} --without-readline-library"
- else
- myconf="${myconf} --with-readline-library --without-termcap-library"
- fi
-
- # FvwmGtk can be built as a gnome application, or a Gtk+ application.
- if ! use gtk; then
- myconf="${myconf} --disable-gtk --without-gnome"
- else
- einfo "ATTN: You can safely ignore any imlib related configure errors."
- myconf="${myconf} --with-imlib-prefix=${T}"
- myconf="${myconf} --without-gnome"
- fi
-
- if ! use rplay; then
- myconf="${myconf} --without-rplay-library"
- fi
-
- # Install perl bindings.
- if use perl; then
- myconf="${myconf} --enable-perllib"
- else
- myconf="${myconf} --disable-perllib"
- fi
-
- if use xinerama; then
- myconf="${myconf} --enable-xinerama"
- else
- myconf="${myconf} --disable-xinerama"
- fi
-
- # bidirectional writing support
- if use bidi; then
- myconf="${myconf} --enable-bidi"
- else
- myconf="${myconf} --disable-bidi"
- fi
-
- # png image support
- if ! use png; then
- myconf="${myconf} --without-png-library"
- fi
-
- # native language support
- if use nls; then
- myconf="${myconf} --enable-nls --enable-iconv"
- else
- myconf="${myconf} --disable-nls --disable-iconv"
- fi
-
- # support for mouse gestures using libstroke (very very cool)
- if ! use stroke; then
- myconf="${myconf} --without-stroke-library"
- fi
-
- if use debug; then
- myconf="${myconf} --enable-debug-msgs --enable-command-log"
- fi
-
- # Xft Anti Aliased text support
- if use truetype; then
- myconf="${myconf} --enable-xft"
- else
- myconf="${myconf} --disable-xft"
- fi
-
- # set the local maintainer for fvwm-bug.
- export FVWM_BUGADDR="taviso@gentoo.org"
-
- # reccommended by upstream
- append-flags -fno-strict-aliasing
-
- econf ${myconf} || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- if use perl; then
-
- local toolkits="gtk tcltk"
-
- if ! use tk; then
- # Remove the Tk bindings (requires perl-tk)
- rm -f ${D}/usr/share/fvwm/perllib/FVWM/Module/Tk.pm
- toolkits=${toolkits/tcltk/}
- fi
- if ! use gtk; then
- # Remove gtk bindings (requires gtk-perl/gtk2-perl)
- rm -f ${D}/usr/share/fvwm/perllib/FVWM/Module/Gtk.pm \
- ${D}/usr/share/fvwm/perllib/FVWM/Module/Gtk2.pm
- toolkits=${toolkits/gtk/}
- fi
- toolkits=${toolkits// /}
- if ! test "${toolkits}"; then
- # No perl toolkit bindings wanted, remove the unneeded files
- # and empty directories.
- 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
- else
- # Remove useless script if perllib isnt required.
- rm -rf ${D}/usr/bin/fvwm-perllib ${D}/usr/share/man/man1/fvwm-perllib.1
- fi
-
- # neat utility for testing fvwm behaviour on applications setting various
- # hints, creates a simple black window with configurable hints set.
- if use debug; then
- dobin ${S}/tests/hints/hints_test
- newdoc ${S}/tests/hints/README README.hints
- fi
-
- # fvwm-convert-2.6 is just a stub, contains no code - remove it for now.
- # fvwm-convert-2.2 has a man page, but the script is no longer distributed.
- rm -f ${D}/usr/bin/fvwm-convert-2.6 ${D}/usr/share/man/man1/fvwm-convert-2.6.1
- rm -f ${D}/usr/share/man/man1/fvwm-convert-2.2.1
-
- # ive included `exec` to save a few bytes of memory.
- echo "#!/bin/bash" > fvwm2
- echo "exec /usr/bin/fvwm2" >> fvwm2
-
- exeinto /etc/X11/Sessions
- doexe fvwm2
-
- dodoc AUTHORS ChangeLog COPYING README NEWS docs/ANNOUNCE docs/BUGS \
- docs/COMMANDS docs/DEVELOPERS docs/FAQ docs/error_codes docs/TODO \
- docs/fvwm.lsm
-
- dodoc ${FILESDIR}/README.transluceny
-}
-
-pkg_postinst() {
- einfo
- einfo "For information about the changes in this release, please"
- einfo "refer to the NEWS file."
- einfo
-}
diff --git a/x11-wm/fvwm/fvwm-2.5.18.ebuild b/x11-wm/fvwm/fvwm-2.5.18.ebuild
deleted file mode 100644
index 2b4d0223d6f8..000000000000
--- a/x11-wm/fvwm/fvwm-2.5.18.ebuild
+++ /dev/null
@@ -1,159 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/fvwm/fvwm-2.5.18.ebuild,v 1.12 2006/11/28 07:22:30 omp Exp $
-
-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 mirror://gentoo/fvwm-2.5.18-translucent-menus.diff.gz"
-
-LICENSE="GPL-2 FVWM"
-SLOT="0"
-KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"
-IUSE="bidi debug gtk nls perl png readline rplay stroke tk truetype xinerama"
-
-RDEPEND="readline? ( sys-libs/readline sys-libs/ncurses )
- gtk? ( =x11-libs/gtk+-1.2* )
- rplay? ( media-sound/rplay )
- bidi? ( dev-libs/fribidi )
- png? ( media-libs/libpng )
- stroke? ( dev-libs/libstroke )
- perl? ( tk? ( dev-lang/tk
- dev-perl/perl-tk
- >=dev-perl/X11-Protocol-0.56 ) )
- truetype? ( virtual/xft media-libs/fontconfig )
- dev-lang/perl
- sys-libs/zlib
- sys-apps/debianutils
- || ( (
- x11-libs/libXpm
- x11-libs/libXft
- xinerama? ( x11-libs/libXinerama ) )
- virtual/x11 )"
-# XXX: gtk2 perl bindings require dev-perl/gtk2-perl, worth a dependency?
-# XXX: gtk perl bindings require dev-perl/gtk-perl, worth a dependency?
-# XXX: netpbm is used by FvwmScript-ScreenDump, worth a dependency?
-DEPEND="${RDEPEND}
- dev-util/pkgconfig
- !x11-wm/metisse
- || ( (
- x11-libs/libXrandr
- x11-proto/xextproto
- x11-proto/xproto
- xinerama? ( x11-proto/xineramaproto ) )
- virtual/x11 )"
-
-src_unpack() {
- unpack ${A}; export EPATCH_OPTS="-F3 -l"
-
- # this patch enables fast translucent menus in fvwm. this is a
- # minor tweak of a patch posted to fvwm-user mailing list by Olivier
- # Chapuis in <20030827135125.GA6370@snoopy.folie>.
- cd ${S}; epatch ${WORKDIR}/fvwm-2.5.18-translucent-menus.diff
-
- # fixing #51287, the fvwm-menu-xlock script is not compatible
- # with the xlockmore implementation in portage.
- cd ${S}; epatch ${FILESDIR}/fvwm-menu-xlock-xlockmore-compat.diff
-}
-
-src_compile() {
- local myconf="--libexecdir=/usr/lib --with-imagepath=/usr/include/X11/bitmaps:/usr/include/X11/pixmaps:/usr/share/icons/fvwm --enable-package-subdirs"
-
- # use readline in FvwmConsole.
- if use readline; then
- myconf="${myconf} --without-termcap-library"
- fi
-
- # FvwmGtk can be built as a gnome application, or a Gtk+ application.
- if ! use gtk; then
- myconf="${myconf} --disable-gtk --without-gnome"
- else
- einfo "ATTN: You can safely ignore any imlib related configure errors."
- myconf="${myconf} --with-imlib-prefix=${T}"
- myconf="${myconf} --without-gnome"
- fi
-
- # set the local maintainer for fvwm-bug.
- export FVWM_BUGADDR="taviso@gentoo.org"
-
- # reccommended by upstream
- append-flags -fno-strict-aliasing
-
- econf ${myconf} `use_enable truetype xft` \
- `use_with stroke stroke-library` \
- `use_enable nls` \
- `use_enable nls iconv` \
- `use_enable png png-library` \
- `use_enable bidi` \
- `use_enable xinerama` \
- `use_enable debug debug-msgs` \
- `use_enable debug command-log` \
- `use_enable perl perllib` \
- `use_with readline readline-library` \
- `use_with rplay rplay-library` || die
- emake || die
-}
-
-src_install() {
- make DESTDIR=${D} install || die
-
- if use perl; then
-
- local toolkits="gtk tcltk"
-
- if ! use tk; then
- # Remove the Tk bindings (requires perl-tk)
- rm -f ${D}/usr/share/fvwm/perllib/FVWM/Module/Tk.pm
- toolkits=${toolkits/tcltk/}
- fi
- if ! use gtk; then
- # Remove gtk bindings (requires gtk-perl/gtk2-perl)
- rm -f ${D}/usr/share/fvwm/perllib/FVWM/Module/Gtk.pm \
- ${D}/usr/share/fvwm/perllib/FVWM/Module/Gtk2.pm
- toolkits=${toolkits/gtk/}
- fi
- toolkits=${toolkits// /}
- if ! test "${toolkits}"; then
- # No perl toolkit bindings wanted, remove the unneeded files
- # and empty directories.
- 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
- else
- # Remove useless script if perllib isnt required.
- rm -rf ${D}/usr/bin/fvwm-perllib ${D}/usr/share/man/man1/fvwm-perllib.1
- fi
-
- # neat utility for testing fvwm behaviour on applications setting various
- # hints, creates a simple black window with configurable hints set.
- if use debug; then
- dobin ${S}/tests/hints/hints_test
- newdoc ${S}/tests/hints/README README.hints
- fi
-
- # fvwm-convert-2.6 is just a stub, contains no code - remove it for now.
- # fvwm-convert-2.2 has a man page, but the script is no longer distributed.
- rm -f ${D}/usr/bin/fvwm-convert-2.6 ${D}/usr/share/man/man1/fvwm-convert-2.6.1
- rm -f ${D}/usr/share/man/man1/fvwm-convert-2.2.1
-
- # ive included `exec` to save a few bytes of memory.
- echo "#!/bin/bash" > fvwm2
- echo "exec /usr/bin/fvwm2" >> fvwm2
-
- exeinto /etc/X11/Sessions
- doexe fvwm2
-
- dodoc AUTHORS ChangeLog COPYING README NEWS docs/ANNOUNCE docs/BUGS \
- docs/COMMANDS docs/DEVELOPERS docs/FAQ docs/error_codes docs/TODO \
- docs/fvwm.lsm
-
- dodoc ${FILESDIR}/README.transluceny
-}
-
-pkg_postinst() {
- einfo
- einfo "For information about the changes in this release, please"
- einfo "refer to the NEWS file."
- einfo
-}