summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-10-23 19:56:32 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-10-23 19:56:32 +0000
commit96772139b8b4d7b2dd70df7074c0317207d9767d (patch)
tree215e5661d514805e8ee5ce5c2fe31273b826f765 /x11-wm/windowmaker
parentold (diff)
downloadhistorical-96772139b8b4d7b2dd70df7074c0317207d9767d.tar.gz
historical-96772139b8b4d7b2dd70df7074c0317207d9767d.tar.bz2
historical-96772139b8b4d7b2dd70df7074c0317207d9767d.zip
old
Package-Manager: portage-2.2.0_alpha70/cvs/Linux x86_64
Diffstat (limited to 'x11-wm/windowmaker')
-rw-r--r--x11-wm/windowmaker/ChangeLog6
-rw-r--r--x11-wm/windowmaker/Manifest17
-rw-r--r--x11-wm/windowmaker/windowmaker-0.92.0-r10.ebuild197
-rw-r--r--x11-wm/windowmaker/windowmaker-0.92.0-r9.ebuild196
4 files changed, 14 insertions, 402 deletions
diff --git a/x11-wm/windowmaker/ChangeLog b/x11-wm/windowmaker/ChangeLog
index 833b5ecea0f7..d9a18a64ee72 100644
--- a/x11-wm/windowmaker/ChangeLog
+++ b/x11-wm/windowmaker/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-wm/windowmaker
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.127 2011/10/23 16:12:52 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.128 2011/10/23 19:56:32 ssuominen Exp $
+
+ 23 Oct 2011; Samuli Suominen <ssuominen@gentoo.org>
+ -windowmaker-0.92.0-r9.ebuild, -windowmaker-0.92.0-r10.ebuild:
+ old
23 Oct 2011; Raúl Porcel <armin76@gentoo.org> windowmaker-0.92.0-r11.ebuild:
alpha/sparc stable wrt #385799
diff --git a/x11-wm/windowmaker/Manifest b/x11-wm/windowmaker/Manifest
index 213bb99370b8..f600ec6d2206 100644
--- a/x11-wm/windowmaker/Manifest
+++ b/x11-wm/windowmaker/Manifest
@@ -4,17 +4,18 @@ Hash: SHA1
AUX wmaker.desktop 221 RMD160 501ba6451f7e756cc3d07682d728bcd6fe55366d SHA1 acd95a41645fbef358459f8f4753056cb321497e SHA256 40359d3c61117f0dbc5eb547e4c369982427e8bc3174c95002d34eb30f9a4a84
DIST WindowMaker-0.92.0.tar.gz 2758524 RMD160 b8bebed6a34696625ae0ae7c0ebcfdfc0ba09cdd SHA1 6f545356acde7e9bf4c11345ac1359b451a9d1bc SHA256 9edaa8d9ee6e6beb06f4c391c0aec5cd0e5b5494456cae2cdcfd49656177afc6
DIST WindowMaker-extra-0.1.tar.gz 238018 RMD160 94334c2c12d20a8fd0cd2a70e54cd3689f043038 SHA1 80f34cb3af705ec0f79d727b82cef28ee50fc4e7 SHA256 acd6e1fb790485b107daf2b710da372367b41383c55d9c8bdfdac521d850edc4
-DIST windowmaker-0.92.0-patchset-4.tar.bz2 226943 RMD160 afc95f3216ffba029de6798184601a21daa2c467 SHA1 2b97a62b85c6e12aa1b0c94ca61e5f86cd94f762 SHA256 369f7538d848ae4d3af8859d04fa282e0990d71b33f82666585f369bc3e8eff2
DIST windowmaker-0.92.0-patchset-5.tar.bz2 226417 RMD160 c49fa346e3d024a5e12e576073d141f1d1c9958b SHA1 a6285c3034b80575f8a9dbda95f830f6387cd554 SHA256 3298be8a2f1eb8130c249df790ed2a35a230c337f2d12fd426e14df9652a9adc
-EBUILD windowmaker-0.92.0-r10.ebuild 6936 RMD160 3572fc8b70f7ab6cb72663ce1e82342e84bd242d SHA1 86921bc6f91748c3b32fce35d2ca233e10b7d1c6 SHA256 18ffe9767059326910f1f1eb41fe130cd771ed743777d6c426f473d94fd174f9
EBUILD windowmaker-0.92.0-r11.ebuild 6452 RMD160 22ee345af2853eda5a9b776374509762f33f532d SHA1 6418e51cedbbcde86509e71b0ded811af0d384ce SHA256 f308a5d8d5dcd9fee0c8667c41c4180086a69e038a2f66a68f42c831c57839ba
-EBUILD windowmaker-0.92.0-r9.ebuild 6846 RMD160 5db0d34cceefabef7ced492bf8e29f3b6d6b1463 SHA1 b4f06e7d317b77edd1dabe99e2d03d2e31e6a6d2 SHA256 3f80a22cff9be3d2ad16c598cc893345df004baa572eb2563cbeb3631dc65d41
-MISC ChangeLog 26494 RMD160 57c98266702a6592206b2819a20d486a8d306bf7 SHA1 f894d02d55fd07359abf8aefc32d18c558189aa6 SHA256 20ed1f93c8798e965a49489bb1983bbb39d7dd39dce87ba9a361120d6273cc65
+MISC ChangeLog 26622 RMD160 35bdeaa752dbfe13c3ba5f280f4356a6eba34791 SHA1 8c7f217c928f58090439ac16f33b7cfe03c13b3e SHA256 b03878275aada8257d857053b51ba95fd1bc7617a8e795daae9b44daa92b1cee
MISC metadata.xml 455 RMD160 41514c712d553ed4752ce045efca3d27dd036c19 SHA1 345b35512a60f3d19cf5fc4cebbfe30bd6006bf3 SHA256 7661636f854da151e83478668ff58943b0d80662f6abd2a209707d3d34b37c7c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk6kPQoACgkQuQc30/atMkCeXwCeI2K5huXgFqESond0L4q8GXeX
-usYAnjOcMgncgd6SX2HOqnHudVeY3ZcV
-=TToQ
+iQEcBAEBAgAGBQJOpHFCAAoJEEdUh39IaPFNg0gH/RYQAKh23QaNmWV+GWE3shjB
+8nNnYl5eTtz81f8IcX91Rka+hhE1qIQZbys0XLYC08DwvIYYlvxEt3nGaV4DN2SH
+g8vFbmEhc9I0GbK3E6EuRQKSOMTC2RDeP8IFZpxWBoX2Eb5CrcV/G/XwM0UoX+8N
+uQ5mpCusmPN4EdSwCPRd0ut3hNRveOVY8mXyjeTloh9k0dblP7eIM9yus6azDSss
+MV19ZyH/SL7g5KLsh/yZ62QrsfiTY6tqAZSBlIBtY2Fi8dwGOmx4uYW3+RV5hjRK
+4MsRvG6fy4mRCnKUIPy7bGOqSlpPbgNcSCZgTZ/RAPiJjfrj5r+TjCuV6xpLUHc=
+=GIgX
-----END PGP SIGNATURE-----
diff --git a/x11-wm/windowmaker/windowmaker-0.92.0-r10.ebuild b/x11-wm/windowmaker/windowmaker-0.92.0-r10.ebuild
deleted file mode 100644
index e364732e6d7a..000000000000
--- a/x11-wm/windowmaker/windowmaker-0.92.0-r10.ebuild
+++ /dev/null
@@ -1,197 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.92.0-r10.ebuild,v 1.3 2010/12/01 17:54:34 grobian Exp $
-
-EAPI=3
-
-inherit autotools eutils gnustep-base flag-o-matic
-
-# note: patchset is in gentoo/src/patchsets/windowmaker
-PATCHVER=4
-S=${WORKDIR}/${P/windowm/WindowM}
-
-DESCRIPTION="The fast and light GNUstep window manager"
-SRC_URI="ftp://ftp.windowmaker.info/pub/source/release/${P/windowm/WindowM}.tar.gz
- http://www.windowmaker.info/pub/source/release/WindowMaker-extra-0.1.tar.gz
- mirror://gentoo/${P}-patchset-${PATCHVER}.tar.bz2"
-HOMEPAGE="http://www.windowmaker.info/"
-
-IUSE="gif gnustep jpeg nls png tiff modelock +vdesktop xinerama"
-DEPEND="x11-libs/libXv
- >=x11-libs/libXft-2.1.0
- x11-libs/libXt
- media-libs/fontconfig
- gif? ( >=media-libs/giflib-4.1.0-r3 )
- png? ( >=media-libs/libpng-1.2.1 )
- jpeg? ( virtual/jpeg )
- tiff? ( >=media-libs/tiff-3.6.1-r2 )
- gnustep? ( >=gnustep-base/gnustep-make-2.0 )
- xinerama? ( x11-libs/libXinerama )"
-RDEPEND="${DEPEND}
- nls? ( >=sys-devel/gettext-0.10.39 )"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~alpha ~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-src_prepare() {
- local psd="${WORKDIR}"/${P}-patchset-${PATCHVER}
-
- epatch "${psd}"/WindowMaker-0.92.0-cvs20060123.patch
- epatch "${psd}"/WindowMaker-0.92.0-cvs-gcc41.patch
- epatch "${psd}"/wlist-0.9x.patch
- epatch "${psd}"/${P}-gif-before-ungif.patch
- epatch "${psd}"/${P}-math_h.patch
- epatch "${psd}"/${P}-gettext.patch
- epatch "${psd}"/${P}-libpng14.patch
-
- # Patches from upstream HG
- epatch "${psd}"/${P}-composite-non-24bit-depth.patch
- epatch "${psd}"/${P}-mouse-window-focus.patch
- epatch "${psd}"/${P}-maximise-borderless-too-small.patch
- epatch "${psd}"/${P}-xinerama-switchpanel-corruption.patch
- epatch "${psd}"/${P}-dialog-history.patch
- epatch "${psd}"/${P}-single-click-dockapp-start.patch
- epatch "${psd}"/${P}-no-pop-empty-array.patch
- epatch "${psd}"/${P}-empty-command-fatal-error.patch
- epatch "${psd}"/${P}-findfile-overflow.patch
- epatch "${psd}"/${P}-pointer-integer-warn-fix.patch
- epatch "${psd}"/${P}-workspace-change-crash.patch
- epatch "${psd}"/${P}-app-icon-fix.patch
- epatch "${psd}"/${P}-xchangeproperty-64bits-fix.patch
-
- # Patches from altlinux
- epatch "${psd}"/WindowMaker-0.91.0-alt-session.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-restartscrpt.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-menutrans.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-titlebar.patch
- epatch "${psd}"/${P}-no-clip-title.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-mmx.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-focus.patch
- epatch "${psd}"/WindowMaker-0.92.0-alt-alloca.patch
-
- # New features (cool!)
- epatch "${psd}"/${P}-doubleclick-maximise.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-dockhotkeys.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-vlaad-trance.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-vlaad-newbuttons.patch
- epatch "${psd}"/WindowMaker-0.91.0-hmepas-minimizeall.patch
- epatch "${psd}"/WindowMaker-0.91.0-hmepas-swmenu_rclick.patch
- epatch "${psd}"/WindowMaker-0.91.0-sga-moving-add.patch
- epatch "${psd}"/WindowMaker-0.91.0-peter-newappicon.patch
- epatch "${psd}"/WindowMaker-0.91.0-peter-mouse-placement.patch
- epatch "${psd}"/WindowMaker-0.91.0-peter-appicon-bouncer2.patch
- epatch "${psd}"/WindowMaker-0.91.0-sga-swpanel-customization.patch
- epatch "${psd}"/WindowMaker-0.92.0-alt-newpo.patch
-
- [[ ${CHOST} == *-interix* ]] && epatch "${psd}"/${P}-interix3.patch
- epatch "${psd}"/${P}-darwin-setlocale.patch
- epatch "${psd}"/${P}-nls.patch
-
- # Add UK localisation
- cp "${psd}"/WindowMaker-uk.po po/uk.po
- cp "${psd}"/WPrefs-uk.po WPrefs.app/po/uk.po
-
- # Add newbuttons resources
- cp "${psd}"/WindowMaker-newbuttons.nextstyle.tiff \
- WPrefs.app/tiff/nextstyle.tiff
- cp "${psd}"/WindowMaker-newbuttons.oldstyle.tiff \
- WPrefs.app/tiff/oldstyle.tiff
- cp "${psd}"/WindowMaker-newbuttons.nextstyle.xpm \
- WPrefs.app/xpm/nextstyle.xpm
-
- # Fix some paths
- if use gnustep; then
- egnustep_env
- fi
- for file in "${S}"/WindowMaker/*menu*; do
- if [[ -r $file ]] ; then
- if use gnustep ; then
- sed -i -e "s:/usr/local/GNUstep/Applications:${GNUSTEP_SYSTEM_APPS}:g" "$file" || die
- else
- sed -i -e "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file" || die
- fi
-
- sed -i -e 's:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;' "$file" || die
- sed -i -e 's:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;' "$file" || die
- fi;
- done;
-
- eautoreconf || die "eautoreconf failed"
-}
-
-src_configure() {
- local myconf
-
- is-flag -fstack-protector && filter-flags -fstack-protector \
- && ewarn "CFLAG -fstack-protector has been disabled, as it is known to cause bugs with WindowMaker (bug #78051)" && ebeep 2
- replace-flags "-Os" "-O2"
- replace-flags "-O3" "-O2"
-
- # image format types
- # xpm is provided by X itself
- myconf="--enable-xpm $(use_enable png) $(use_enable jpeg) $(use_enable gif) $(use_enable tiff)"
-
- # non required X capabilities
- myconf="${myconf} $(use_enable modelock) $(use_enable xinerama)"
-
- if use gnustep ; then
- egnustep_env
- # Gentoo installs everything in System, make sure configure
- # honors that. Don't set --with-gnustepdir, configure is
- # borked, and GNUSTEP_LOCAL_ROOT takes precedence anyway.
- export GNUSTEP_LOCAL_ROOT=${GNUSTEP_SYSTEM_ROOT}
- fi
-
- if use nls; then
- [[ -z $LINGUAS ]] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
- else
- myconf="${myconf} --disable-locale"
- fi
-
- # enable new features, need to be done via defines
- append-flags -DBOUNCE_APP -DNEWAPPICON
- use vdesktop && append-flags -DVIRTUAL_DESKTOP
-
- # default settings with $myconf appended
- econf \
- --sysconfdir="${EPREFIX}"/etc/X11 \
- --with-x \
- --enable-usermenu \
- --with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
- --with-nlsdir="${EPREFIX}"/usr/share/locale \
- ${myconf} || die
- cd ../WindowMaker-extra-0.1
- econf || die "windowmaker-extra: configure has failed"
-}
-
-src_compile() {
- emake || die "windowmaker: make has failed"
-
- # WindowMaker Extra Package (themes and icons)
- cd ../WindowMaker-extra-0.1
- emake || die "windowmaker-extra: make has failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "windowmaker: install has failed."
-
- dodoc AUTHORS BUGFORM BUGS ChangeLog COPYING* INSTALL* FAQ* \
- MIRRORS README* NEWS TODO
-
- # WindowMaker Extra
- cd ../WindowMaker-extra-0.1
- emake DESTDIR="${D}" install || die "windowmaker-extra: install failed"
-
- newdoc README README.extra
-
- # create wmaker session shell script
- echo "#!/usr/bin/env bash" > wmaker
- echo "${EPREFIX}/usr/bin/wmaker" >> wmaker
- exeinto /etc/X11/Sessions/
- doexe wmaker
-
- insinto /etc/X11/dm/Sessions
- doins "${FILESDIR}"/wmaker.desktop
- make_desktop_entry /usr/bin/wmaker
-}
diff --git a/x11-wm/windowmaker/windowmaker-0.92.0-r9.ebuild b/x11-wm/windowmaker/windowmaker-0.92.0-r9.ebuild
deleted file mode 100644
index ea2821068eaa..000000000000
--- a/x11-wm/windowmaker/windowmaker-0.92.0-r9.ebuild
+++ /dev/null
@@ -1,196 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.92.0-r9.ebuild,v 1.7 2010/11/08 15:01:38 voyageur Exp $
-
-EAPI=1
-
-inherit autotools eutils gnustep-base flag-o-matic
-
-PATCHVER=4
-S=${WORKDIR}/${P/windowm/WindowM}
-
-DESCRIPTION="The fast and light GNUstep window manager"
-SRC_URI="ftp://ftp.windowmaker.info/pub/source/release/${P/windowm/WindowM}.tar.gz
- http://www.windowmaker.info/pub/source/release/WindowMaker-extra-0.1.tar.gz
- mirror://gentoo/${P}-patchset-${PATCHVER}.tar.bz2"
-HOMEPAGE="http://www.windowmaker.info/"
-
-IUSE="gif gnustep jpeg nls png tiff modelock +vdesktop xinerama"
-DEPEND="x11-libs/libXv
- >=x11-libs/libXft-2.1.0
- x11-libs/libXt
- media-libs/fontconfig
- gif? ( >=media-libs/giflib-4.1.0-r3 )
- png? ( >=media-libs/libpng-1.2.1 )
- jpeg? ( virtual/jpeg )
- tiff? ( >=media-libs/tiff-3.6.1-r2 )
- gnustep? ( >=gnustep-base/gnustep-make-2.0 )
- xinerama? ( x11-libs/libXinerama )"
-RDEPEND="${DEPEND}
- nls? ( >=sys-devel/gettext-0.10.39 )"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 hppa ~mips ppc ~ppc64 sparc x86 ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
-
-src_unpack() {
- is-flag -fstack-protector && filter-flags -fstack-protector \
- && ewarn "CFLAG -fstack-protector has been disabled, as it is known to cause bugs with WindowMaker (bug #78051)" && ebeep 2
- replace-flags "-Os" "-O2"
- replace-flags "-O3" "-O2"
-
- unpack ${A}
- cd "${S}"
- local psd="${WORKDIR}"/${P}-patchset-${PATCHVER}
-
- epatch "${psd}"/WindowMaker-0.92.0-cvs20060123.patch
- epatch "${psd}"/WindowMaker-0.92.0-cvs-gcc41.patch
- epatch "${psd}"/wlist-0.9x.patch
- epatch "${psd}"/${P}-gif-before-ungif.patch
- epatch "${psd}"/${P}-math_h.patch
- epatch "${psd}"/${P}-gettext.patch
- epatch "${psd}"/${P}-libpng14.patch
-
- # Patches from upstream HG
- epatch "${psd}"/${P}-composite-non-24bit-depth.patch
- epatch "${psd}"/${P}-mouse-window-focus.patch
- epatch "${psd}"/${P}-maximise-borderless-too-small.patch
- epatch "${psd}"/${P}-xinerama-switchpanel-corruption.patch
- epatch "${psd}"/${P}-dialog-history.patch
- epatch "${psd}"/${P}-single-click-dockapp-start.patch
- epatch "${psd}"/${P}-no-pop-empty-array.patch
- epatch "${psd}"/${P}-empty-command-fatal-error.patch
- epatch "${psd}"/${P}-findfile-overflow.patch
- epatch "${psd}"/${P}-pointer-integer-warn-fix.patch
- epatch "${psd}"/${P}-workspace-change-crash.patch
- epatch "${psd}"/${P}-app-icon-fix.patch
- epatch "${psd}"/${P}-xchangeproperty-64bits-fix.patch
-
- # Patches from altlinux
- epatch "${psd}"/WindowMaker-0.91.0-alt-session.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-restartscrpt.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-menutrans.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-titlebar.patch
- epatch "${psd}"/${P}-no-clip-title.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-mmx.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-focus.patch
- epatch "${psd}"/WindowMaker-0.92.0-alt-alloca.patch
-
- # New features (cool!)
- epatch "${psd}"/${P}-doubleclick-maximise.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-dockhotkeys.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-vlaad-trance.patch
- epatch "${psd}"/WindowMaker-0.91.0-alt-vlaad-newbuttons.patch
- epatch "${psd}"/WindowMaker-0.91.0-hmepas-minimizeall.patch
- epatch "${psd}"/WindowMaker-0.91.0-hmepas-swmenu_rclick.patch
- epatch "${psd}"/WindowMaker-0.91.0-sga-moving-add.patch
- epatch "${psd}"/WindowMaker-0.91.0-peter-newappicon.patch
- epatch "${psd}"/WindowMaker-0.91.0-peter-mouse-placement.patch
- epatch "${psd}"/WindowMaker-0.91.0-peter-appicon-bouncer2.patch
- epatch "${psd}"/WindowMaker-0.91.0-sga-swpanel-customization.patch
- epatch "${psd}"/WindowMaker-0.92.0-alt-newpo.patch
-
- [[ ${CHOST} == *-interix* ]] && epatch "${psd}"/${P}-interix3.patch
- epatch "${psd}"/${P}-darwin-setlocale.patch
- epatch "${psd}"/${P}-nls.patch
- #use nls && sed -i -e 's/#NLSENABLE //' configure.ac
- #touch ABOUT-NLS config.rpath
-
- # Add UK localisation
- cp "${psd}"/WindowMaker-uk.po po/uk.po
- cp "${psd}"/WPrefs-uk.po WPrefs.app/po/uk.po
-
- # Add newbuttons resources
- cp "${psd}"/WindowMaker-newbuttons.nextstyle.tiff \
- WPrefs.app/tiff/nextstyle.tiff
- cp "${psd}"/WindowMaker-newbuttons.oldstyle.tiff \
- WPrefs.app/tiff/oldstyle.tiff
- cp "${psd}"/WindowMaker-newbuttons.nextstyle.xpm \
- WPrefs.app/xpm/nextstyle.xpm
-
- # Fix some paths
- if use gnustep; then
- egnustep_env
- fi
- for file in "${S}"/WindowMaker/*menu*; do
- if [ -r "$file" ]; then
- if use gnustep ; then
- sed -i "s:/usr/local/GNUstep/Applications:${GNUSTEP_SYSTEM_APPS}:g" "$file"
- else
- sed -i "s:/usr/local/GNUstep/Applications/WPrefs.app:${EPREFIX}/usr/bin/:g;" "$file"
- fi
-
- sed -i 's:/usr/local/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;' "$file"
- sed -i 's:/opt/share/WindowMaker:${EPREFIX}/usr/share/WindowMaker:g;' "$file"
- fi;
- done;
-
- eautoreconf || die "eautoreconf failed"
-}
-
-src_compile() {
- local myconf
-
- # image format types
- # xpm is provided by X itself
- myconf="--enable-xpm $(use_enable png) $(use_enable jpeg) $(use_enable gif) $(use_enable tiff)"
-
- # non required X capabilities
- myconf="${myconf} $(use_enable modelock) $(use_enable xinerama)"
-
- if use gnustep ; then
- egnustep_env
- # Gentoo installs everything in System, make sure configure honors that
- export GNUSTEP_LOCAL_ROOT=${GNUSTEP_SYSTEM_ROOT}
- myconf="${myconf} --with-gnustepdir=${GNUSTEP_SYSTEM_ROOT}"
- fi
-
- if use nls; then
- [ -z "$LINGUAS" ] && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`"
- else
- myconf="${myconf} --disable-locale"
- fi
-
- # enable new features, need to be done via defines
- append-flags -DBOUNCE_APP -DNEWAPPICON
- use vdesktop && append-flags -DVIRTUAL_DESKTOP
-
- # default settings with $myconf appended
- econf \
- --sysconfdir="${EPREFIX}"/etc/X11 \
- --with-x \
- --enable-usermenu \
- --with-pixmapdir="${EPREFIX}"/usr/share/pixmaps \
- --with-nlsdir="${EPREFIX}"/usr/share/locale \
- ${myconf} || die
-
- emake || die "windowmaker: make has failed"
-
- # WindowMaker Extra Package (themes and icons)
- cd ../WindowMaker-extra-0.1
- econf || die "windowmaker-extra: configure has failed"
- emake || die "windowmaker-extra: make has failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "windowmaker: install has failed."
-
- dodoc AUTHORS BUGFORM BUGS ChangeLog COPYING* INSTALL* FAQ* \
- MIRRORS README* NEWS TODO
-
- # WindowMaker Extra
- cd ../WindowMaker-extra-0.1
- emake DESTDIR="${D}" install || die "windowmaker-extra: install failed"
-
- newdoc README README.extra
-
- # create wmaker session shell script
- echo "#!/usr/bin/env bash" > wmaker
- echo "${EPREFIX}/usr/bin/wmaker" >> wmaker
- exeinto /etc/X11/Sessions/
- doexe wmaker
-
- insinto /etc/X11/dm/Sessions
- doins "${FILESDIR}"/wmaker.desktop
- make_desktop_entry /usr/bin/wmaker
-}