diff options
author | Armando Di Cianno <fafhrd@gentoo.org> | 2004-11-12 04:00:18 +0000 |
---|---|---|
committer | Armando Di Cianno <fafhrd@gentoo.org> | 2004-11-12 04:00:18 +0000 |
commit | ede46bfeb0ade603024fd1182b04674851cd5fa3 (patch) | |
tree | 4afa2f7a38c5bd7d6c91448e6789f315884e8f1b /x11-wm | |
parent | Keyworded ppc for GNOME 2.8 (Manifest recommit) (diff) | |
download | gentoo-2-ede46bfeb0ade603024fd1182b04674851cd5fa3.tar.gz gentoo-2-ede46bfeb0ade603024fd1182b04674851cd5fa3.tar.bz2 gentoo-2-ede46bfeb0ade603024fd1182b04674851cd5fa3.zip |
Mass Update: gnustep.eclass revamped to allow configurable root install; gnustep-base/libs/apps updated to utilize new gnustep.eclass (only versions bumped where files would change); some KEYWORDS were accidentally dropped between version bumps of packages -- this has been resolved; windowmaker correctly supports gnustep now; gnustep-funcs.eclass added -- used where info on an installed gnustep-env is needed rather than making a full GNUstep application
Diffstat (limited to 'x11-wm')
-rw-r--r-- | x11-wm/windowmaker/ChangeLog | 12 | ||||
-rw-r--r-- | x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r1 | 2 | ||||
-rw-r--r-- | x11-wm/windowmaker/windowmaker-0.91.0-r1.ebuild | 181 |
3 files changed, 194 insertions, 1 deletions
diff --git a/x11-wm/windowmaker/ChangeLog b/x11-wm/windowmaker/ChangeLog index f46d9ef8f293..7f8782713b7a 100644 --- a/x11-wm/windowmaker/ChangeLog +++ b/x11-wm/windowmaker/ChangeLog @@ -1,6 +1,16 @@ # ChangeLog for x11-wm/windowmaker # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.27 2004/11/07 09:44:05 blubb Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.28 2004/11/12 03:58:52 fafhrd Exp $ + +*windowmaker-0.91.0-r1 (11 Nov 2004) + + 11 Nov 2004; Armando Di Cianno <fafhrd@gentoo.org> + +windowmaker-0.91.0-r1.ebuild: + Mass Update: gnustep.eclass revamped to allow configurable root install; + gnustep-base/libs/apps updated to utilize new gnustep.eclass (only versions + bumped where files would change); some KEYWORDS were accidentally dropped + between version bumps of packages -- this has been resolved; windowmaker + correctly supports gnustep now 07 Nov 2004; Simon Stelling <blubb@gentoo.org> windowmaker-0.91.0.ebuild: added ~amd64 diff --git a/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r1 b/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r1 new file mode 100644 index 000000000000..8973161344f4 --- /dev/null +++ b/x11-wm/windowmaker/files/digest-windowmaker-0.91.0-r1 @@ -0,0 +1,2 @@ +MD5 be07953e905d1e42fe7a65ac2193a5f9 WindowMaker-0.91.0.tar.gz 2742380 +MD5 07c7700daaaf232bc490f5abaabef085 WindowMaker-extra-0.1.tar.gz 238018 diff --git a/x11-wm/windowmaker/windowmaker-0.91.0-r1.ebuild b/x11-wm/windowmaker/windowmaker-0.91.0-r1.ebuild new file mode 100644 index 000000000000..1b9097fcdce7 --- /dev/null +++ b/x11-wm/windowmaker/windowmaker-0.91.0-r1.ebuild @@ -0,0 +1,181 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.91.0-r1.ebuild,v 1.1 2004/11/12 03:58:52 fafhrd Exp $ + +inherit eutils gnustep-funcs + +S=${WORKDIR}/${P/windowm/WindowM} + +DESCRIPTION="The fast and light GNUstep window manager" +SRC_URI="ftp://ftp.windowmaker.org/pub/source/release/${P/windowm/WindowM}.tar.gz + http://www.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz" +HOMEPAGE="http://www.windowmaker.org/" + +IUSE="gif gnustep jpeg nls png tiff modelock vdesktop xinerama" +DEPEND="x11-base/xorg-x11 + media-libs/fontconfig + gif? ( || ( >=media-libs/libungif-4.1.0 + >=media-libs/giflib-4.1.0-r3)) + png? ( >=media-libs/libpng-1.2.1 ) + jpeg? ( >=media-libs/jpeg-6b-r2 ) + tiff? ( >=media-libs/tiff-3.6.1-r2 )" +RDEPEND="nls? ( >=sys-devel/gettext-0.10.39 ) + gnustep? ( gnustep-base/gnustep-env )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc ~amd64" + +if use gnustep; then + egnustep_install_domain "System" +fi + +src_compile() { + local myconf + local gs_user_postfix + + # 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 vdesktop) $(use_enable xinerama)" + + # integrate with GNUstep environment, or not + if use gnustep ; then + egnustep_env + myconf="${myconf} --with-appspath=$(egnustep_system_root)/Applications" + else + # no change from wm-0.80* ebuilds, as to not pollute things more + myconf="${myconf} --with-appspath=/usr/lib/GNUstep/Applications" + fi + + use nls \ + && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" \ + || myconf="${myconf} --disable-nls --disable-locale" + + # default settings with $myconf appended + econf \ + --sysconfdir=/etc/X11 \ + --with-x \ + --enable-usermenu \ + --with-pixmapdir=/usr/share/pixmaps \ + ${myconf} || die + + # don't know if zh_TW is still non-functional, but leaving it out still + # for now + cd ${S}/po + cp Makefile Makefile.orig + sed 's:zh_TW.*::' \ + Makefile.orig > Makefile + + cd ${S}/WPrefs.app/po + cp Makefile Makefile.orig + sed 's:zh_TW.*::' \ + Makefile.orig > Makefile + + cd ${S} + for file in ${S}/WindowMaker/*menu*; do + if [ -r $file ]; then + if use gnustep ; then + sed -e "s/\/usr\/local\/GNUstep/`cat ${TMP}/sed.gs_prefix`System/g; + s/XXX_SED_FSLASH/\//g;" < $file > $file.tmp + else + sed -e 's/\/usr\/local\/GNUstep/\/usr\/lib\/GNUstep/g;' < $file > $file.tmp + fi + mv $file.tmp $file; + + sed -e 's/\/usr\/local\/share\/WindowMaker/\/usr\/share\/WindowMaker/g;' < $file > $file.tmp; + mv $file.tmp $file; + fi; + done; + + cd ${S} + emake -j1 || die "windowmaker: make has failed" + + cd ${S} + for file in ${S}/WindowMaker/Defaults/W*; do + if [ -r $file ]; then + if use gnustep; then + sed -e "s/\$HOME\/GNUstep\//\$HOME`cat ${TMP}/sed.gs_user_root_suffix`/g; + s/XXX_SED_FSLASH/\//g;" < $file > $file.tmp + mv $file.tmp $file; + + sed -e "s/~\/GNUstep\//~`cat ${TMP}/sed.gs_user_root_suffix`/g; + s/XXX_SED_FSLASH/\//g;" < $file > $file.tmp + mv $file.tmp $file; + fi + fi + done; + + # 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 install DESTDIR=${D} || 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 install DESTDIR=${D} || die "windowmaker-extra: install failed" + + newdoc README README.extra + + # create wmaker session shell script + echo "#!/bin/bash" > wmaker + echo "/usr/bin/wmaker" >> wmaker + exeinto /etc/X11/Sessions/ + doexe wmaker +} + +pkg_postinst() { + einfo "If you are using 'startx' from the command line, and require" + einfo " .xinitrc, you may need to execute 'wmaker.inst', which will" + einfo " setup default configurations for you." + einfo "" + + if use gnustep ; then + einfo "WPrefs.app is installed in you GNUstep System Applications directory." + einfo "" + ewarn "*** IMPORTANT ***" + ewarn "If you changed the GNUstep user root, via a use flag like 'layout-osx-like' in gnustep-make" + ewarn " you will have to repair the personal WindowMaker config files you have. For example," + ewarn " if you changed the default user root as above, \$HOME/GNUstep to ~/, these commands" + ewarn " will help you:" + ewarn "cd ; cp -a ./GNUstep/.AppInfo . ; cp -a ./GNUstep/Defaults/W* ./Defaults/ ;" + ewarn " cp -a ./GNUstep/Library/Icons ./GNUstep/Library/WindowMaker ./Library/" + ewarn "The above commands are specifically to help repair your WindowMaker install;" + ewarn " a less elegant, but reasonable method is to simply run wmaker.inst again," + ewarn " **after sourcing GNUstep.sh**, as this env script sets the GNUSTEP_USER_ROOT variable." + ewarn "Generally, other config files in your old ~/GNUstep directory, can simply be" + ewarn " moved to the new GNUSTEP_USER_ROOT." + ewarn "^^^ IMPORTANT ^^^" + ewarn "" + else + einfo "Even though you are not using the GNUstep environment, wmaker.inst will" + einfo " create a 'GNUstep' directory in your home -- it uses this dirctory" + einfo " to store your WindowMaker configuration files." + einfo "WPrefs.app can be launched at /usr/lib/GNUstep/Applications/WPrefs.app/WPrefs" + einfo " or by simply **clicking on it in the WindowMaker default dock.**" + einfo "" + fi + + if use vdesktop ; then + ewarn "Note that enabling support for NETWM virtual desktops will make" + ewarn " menus that should be autoscrolling seem to not scroll, as they" + ewarn " are not off the screen, but rather in another virtual desktop." + ewarn "" + fi + + ewarn "This package provides libwraster.so.3. Packages depending on" + ewarn " libwraster.so.2 will have to be rebuilt, i.e. 'revdep-rebuild'" + + ebeep 4 + epause 4 +} + |