summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Birchinger <joker@gentoo.org>2003-06-04 13:49:57 +0000
committerChristian Birchinger <joker@gentoo.org>2003-06-04 13:49:57 +0000
commit53799a5802bd5c82250a7ae450499bcbaa30106e (patch)
tree787fd025cfe12204cbb9e871d03db7c111fa31cc /x11-wm/windowmaker
parentAdded WindowMaker to windowmaker move (diff)
downloadgentoo-2-53799a5802bd5c82250a7ae450499bcbaa30106e.tar.gz
gentoo-2-53799a5802bd5c82250a7ae450499bcbaa30106e.tar.bz2
gentoo-2-53799a5802bd5c82250a7ae450499bcbaa30106e.zip
Added windowmaker (WindowMaker will be removed)
Diffstat (limited to 'x11-wm/windowmaker')
-rw-r--r--x11-wm/windowmaker/ChangeLog106
-rw-r--r--x11-wm/windowmaker/Manifest6
-rw-r--r--x11-wm/windowmaker/files/digest-windowmaker-0.80.1-r22
-rw-r--r--x11-wm/windowmaker/files/digest-windowmaker-0.80.22
-rw-r--r--x11-wm/windowmaker/files/windowmaker-0.80.1-gentoo.patch121
-rw-r--r--x11-wm/windowmaker/windowmaker-0.80.1-r2.ebuild132
-rw-r--r--x11-wm/windowmaker/windowmaker-0.80.2.ebuild132
7 files changed, 501 insertions, 0 deletions
diff --git a/x11-wm/windowmaker/ChangeLog b/x11-wm/windowmaker/ChangeLog
new file mode 100644
index 000000000000..429ffce0a4b6
--- /dev/null
+++ b/x11-wm/windowmaker/ChangeLog
@@ -0,0 +1,106 @@
+# ChangeLog for x11-wm/windowmaker
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/ChangeLog,v 1.1 2003/06/04 13:49:57 joker Exp $
+
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*windowmaker-0.80.2 (10 Nov 2002)
+
+ 13 Nov 2002; Nick Hadaway <raker@gentoo.org> windowmaker-0.80.2.ebuild :
+ Marked all arches stable.
+
+ 10 Nov 2002; Nick Hadaway <raker@gentoo.org> windowmaker-0.80.2.ebuild :
+ Version bump. Fixes a potential buffer overflow.
+
+*windowmaker-0.80.1-r2 (17 Jul 2002)
+
+ 21 Oct 2002; Nick Hadaway <raker@gentoo.org>
+ windowmaker-0.80.1-r2.ebuild :
+ Changed the description at lostlogic's request. :)
+
+ 28 Sep 2002; Nick Hadaway <raker@gentoo.org>
+ windowmaker-0.80.1-r2.ebuild :
+ Removed wmfpo comments completely as it has been merged into the
+ gentoo patch
+
+ 27 Sep 2002; Nick Hadaway <raker@gentoo.org>
+ windowmaker-0.80.1-r2.ebuild :
+ Commented out wmfpo-81.patch as it no longer appears in the files
+ directory.
+
+ 13 Sep 2002; Owen Stampflee <owen@gentoo.org> :
+ Added PPC to KEYWORDS.
+
+ 06 Aug 2002; Nick Hadaway <raker@gentoo.org> windowmaker-0.80.1-r2.ebuild,
+ files/wmfpo-81.patch, files/windowmaker-0.80.1-gentoo.patch :
+ Updated the wmfpo patch for 0.80.1. Added to the gentoo patch to
+ address bug #5975. Cleaned up xpm comment. Deleted unneeded ebuilds
+ and files.
+
+ 17 Jul 2002; Nick Hadaway <raker@gentoo.org>
+ windowmaker-0.80.1-r2.ebuild :
+ Uncommented the wmfpo-80.patch as it still works with this latest version.
+ Closes bug #5139.
+
+*windowmaker-0.80.1-r2 (13 Jul 2002)
+
+ 13 Jul 2002; Nick Hadaway <raker@gentoo.org>
+ windowmaker-0.80.1-r2.ebuild files/digest-windowmaker-0.80.1-r1:
+
+ Changed WPrefs.app utility to install in /usr/share/GNUstep instead of
+ /usr/GNUstep. Closes bug #4893. This ebuild also does not require
+ gnustep-env.
+
+*windowmaker-0.80.1-r1 (03 Jul 2002)
+
+ 03 Jul 2002; Seemant Kulleen <seemant@gentoo.org>
+ windowmaker-0.80.1-r1.ebuild files/digest-windowmaker-0.80.1-r1 :
+
+ lwj <lwj@manufacture.com.tw> the upstream developer for Taiwanese
+ translations gave us a patch to make it compile and install correctly.
+
+*windowmaker-0.80.1 (02 Jul 2002)
+
+ 02 Jul 2002; Seemant Kulleen <seemant@gentoo.org> windowmaker-0.80.1.ebuild
+ files/digest-windowmaker-0.80.1 :
+
+ Version bump. Removed Taiwanese translations installation.
+
+*windowmaker-0.80.0-r3 (10 May 2002)
+ 10 May 2002; Jos� Alberto Su�rez L�pez <bass@gentoo.org> windowmaker-0.80.0-r3.ebuild :
+ added a comment about the libxpm.
+
+*windowmaker-0.80.0-r3 (8 May 2002)
+ 8 May 2002; Jos� Alberto Su�rez L�pez <bass@gentoo.org> windowmaker-0.80.0-r3.ebuild :
+ fix a error in the url of the WindowMaker-extra.
+
+*windowmaker-0.80.0-r3 (18 Apr 2002)
+ 18 Apr 2002; Spider <spider@gentoo.org> windowmaker-0.80.0-r3.ebuild:
+ remove "xpm" dependency since this is in XFree now.
+
+*windowmaker-0.80.0-r3 (18 Apr 2002)
+ 18 Apr 2002; Spider <spider@gentoo.org> windowmaker-0.80.0-r3.ebuild:
+ removed an extra ) in the gif? part
+
+*windowmaker-0.80.0-r3 (12 Apr 2002)
+
+ 12 Apr 2002; Seemant Kulleen <seemant@gentoo.org> windowmaker-0.80.0-r3.ebuild:
+
+ Removed the ungif USE flag in favour of the gif USE flag. Also, adjusted
+ the libpng dependency to reflect the 1.2.1 release of that library.
+
+*windowmaker-0.80.0-r2 (2 Apr 2002)
+
+ 2 Apr 2002; Seemant Kulleen <seemant@gentoo.org> windowmaker-0.80.0-r2.ebuild:
+
+ Added USE dependent nls and sound compilation.
+
+*windowmaker-0.80.0-r1 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/x11-wm/windowmaker/Manifest b/x11-wm/windowmaker/Manifest
new file mode 100644
index 000000000000..06029a2e7076
--- /dev/null
+++ b/x11-wm/windowmaker/Manifest
@@ -0,0 +1,6 @@
+MD5 c46c9acadbdcb03d10511391b14a477a windowmaker-0.80.1-r2.ebuild 3113
+MD5 9760d2c26cb372a34351aac6927018c1 ChangeLog 3908
+MD5 5f0693f73b9ceee2463ad5a262e59338 windowmaker-0.80.2.ebuild 3087
+MD5 dda192d90a51a83abae0c5e7c953e53a files/digest-windowmaker-0.80.1-r2 144
+MD5 ea778106abbddc560e19120d5b7547bd files/windowmaker-0.80.1-gentoo.patch 4333
+MD5 b5304655d4ff5441989ab94a1bdc9506 files/digest-windowmaker-0.80.2 144
diff --git a/x11-wm/windowmaker/files/digest-windowmaker-0.80.1-r2 b/x11-wm/windowmaker/files/digest-windowmaker-0.80.1-r2
new file mode 100644
index 000000000000..c05f660bc310
--- /dev/null
+++ b/x11-wm/windowmaker/files/digest-windowmaker-0.80.1-r2
@@ -0,0 +1,2 @@
+MD5 b1c88c8ecb8f4484d0ae953b9a730418 WindowMaker-0.80.1.tar.gz 2503965
+MD5 07c7700daaaf232bc490f5abaabef085 WindowMaker-extra-0.1.tar.gz 238018
diff --git a/x11-wm/windowmaker/files/digest-windowmaker-0.80.2 b/x11-wm/windowmaker/files/digest-windowmaker-0.80.2
new file mode 100644
index 000000000000..4ef83da7e63a
--- /dev/null
+++ b/x11-wm/windowmaker/files/digest-windowmaker-0.80.2
@@ -0,0 +1,2 @@
+MD5 e4b71ee2b35a4e16b371ab9595e7335f WindowMaker-0.80.2.tar.gz 2532831
+MD5 07c7700daaaf232bc490f5abaabef085 WindowMaker-extra-0.1.tar.gz 238018
diff --git a/x11-wm/windowmaker/files/windowmaker-0.80.1-gentoo.patch b/x11-wm/windowmaker/files/windowmaker-0.80.1-gentoo.patch
new file mode 100644
index 000000000000..435540d00d1a
--- /dev/null
+++ b/x11-wm/windowmaker/files/windowmaker-0.80.1-gentoo.patch
@@ -0,0 +1,121 @@
+diff -urN WindowMaker-0.80.1/WPrefs.app/po/zh_TW.Big5.po WindowMaker-0.80.1-modified/WPrefs.app/po/zh_TW.Big5.po
+--- WindowMaker-0.80.1/WPrefs.app/po/zh_TW.Big5.po Tue Jan 8 07:44:42 2002
++++ WindowMaker-0.80.1-modified/WPrefs.app/po/zh_TW.Big5.po Tue Aug 6 21:40:32 2002
+@@ -1887,11 +1887,11 @@
+
+ #: ../../WPrefs.app/WindowHandling.c:366
+ msgid "...do not cover icons"
+-msgstr "...���n�л\\�ϥ�"
++msgstr "...���n�л\�ϥ�"
+
+ #: ../../WPrefs.app/WindowHandling.c:372
+ msgid "...do not cover dock"
+-msgstr "...���n�л\\���a��"
++msgstr "...���n�л\���a��"
+
+ #: ../../WPrefs.app/WindowHandling.c:381
+ msgid "Edge Resistance"
+@@ -2063,3 +2063,4 @@
+ #: ../../WPrefs.app/main.c:161
+ msgid "could not initialize application"
+ msgstr "�L�k�ҩl���ε{��"
++
+diff -urN WindowMaker-0.80.1/WindowMaker/plmenu WindowMaker-0.80.1-modified/WindowMaker/plmenu
+--- WindowMaker-0.80.1/WindowMaker/plmenu Mon Jul 1 19:30:25 2002
++++ WindowMaker-0.80.1-modified/WindowMaker/plmenu Tue Aug 6 21:41:19 2002
+@@ -95,7 +95,7 @@
+ ),
+ ("Save Theme", SHEXEC, "getstyle -t $HOME/GNUstep/Library/WindowMaker/Themes/\"%a(Theme name)\""),
+ ("Save IconSet", SHEXEC, "geticonset $HOME/GNUstep/Library/WindowMaker/IconSets/\"%a(IconSet name)\""),
+- ("Preferences Utility", EXEC, "/usr/local/GNUstep/Apps/WPrefs.app/WPrefs")
++ ("Preferences Utility", EXEC, "/usr/share/GNUstep/Apps/WPrefs.app/WPrefs")
+ ),
+ ("Exit",
+ ("Restart", RESTART),
+diff -urN WindowMaker-0.80.1/po/zh_TW.Big5.po WindowMaker-0.80.1-modified/po/zh_TW.Big5.po
+--- WindowMaker-0.80.1/po/zh_TW.Big5.po Tue Jan 8 07:45:06 2002
++++ WindowMaker-0.80.1-modified/po/zh_TW.Big5.po Tue Aug 6 21:40:32 2002
+@@ -519,8 +519,8 @@
+ "is docked in the same positions on the other workspaces and the Clip is not "
+ "full in some workspace."
+ msgstr ""
+-"�Y�ǹϥܵL�k�]���L�Ҥ��b�C�нT�{�b��L�u�@�ϦP�@�Ӧ�m�W�S����L�ϥܰ��a�B�b�"
+-"Y�Ǥu�@�Ϫ��j���w�����C"
++"�Y�ǹϥܵL�k�]���L�Ҥ��b�C "
++"�нT�{�b��L�u�@�ϦP�@�Ӧ�m�W�S����L�ϥܰ��a�B�b�Y�Ǥu�@�Ϫ��j���w�����C"
+
+ #: ../src/dock.c:529
+ msgid ""
+@@ -528,8 +528,8 @@
+ "docked in the same position on the other workspaces and the Clip is not full "
+ "in some workspace."
+ msgstr ""
+-"�ϥܵL�k�]���L�Ҥ��b�C�нT�{�b��L�u�@�ϦP�@�Ӧ�m�W�S����L�ϥܰ��a�B�b�Y�Ǥ"
+-"u�@�Ϫ��j���w�����C"
++"�ϥܵL�k�]���L�Ҥ��b�C "
++"�нT�{�b��L�u�@�ϦP�@�Ӧ�m�W�S����L�ϥܰ��a�B�b�Y�Ǥu�@�Ϫ��j���w�����C"
+
+ #: ../src/dock.c:556
+ msgid "Workspace Clip"
+@@ -1142,13 +1142,13 @@
+ msgid ""
+ "There are more than one WORKSPACE_MENU commands in the applications menu. "
+ "Only one is allowed."
+-msgstr "���ε{����椤���W�L�@�� WORKSPACE_MENU �R�O�C�u���\\�@�ӡC"
++msgstr "���ε{����椤���W�L�@�� WORKSPACE_MENU �R�O�C�u���\�@�ӡC"
+
+ #: ../src/rootmenu.c:834
+ msgid ""
+ "There are more than one WINDOWS_MENU commands in the applications menu. Only "
+ "one is allowed."
+-msgstr "���ε{����椤���W�L�@�� WINDOWS_MENU �R�O�C�u���\\�@�ӡC"
++msgstr "���ε{����椤���W�L�@�� WINDOWS_MENU �R�O�C�u���\�@�ӡC"
+
+ #: ../src/rootmenu.c:839
+ msgid "Window List"
+@@ -1502,11 +1502,11 @@
+ #: ../src/winspector.c:1121
+ #, c-format
+ msgid "Inspecting %s.%s"
+-msgstr "�˾\\ %s.%s"
++msgstr "�˾\ %s.%s"
+
+ #: ../src/winspector.c:1147
+ msgid "Click in the window you wish to inspect."
+-msgstr "�b�A�Q�˾\\�������I�@�U"
++msgstr "�b�A�Q�˾\�������I�@�U"
+
+ #: ../src/winspector.c:1186
+ msgid ""
+@@ -1620,7 +1620,7 @@
+ msgid ""
+ "Keep the window over other windows, not allowing\n"
+ "them to cover it."
+-msgstr "�������O���b��L�������W�A���\\�����л\\���C"
++msgstr "�������O���b��L�������W�A���\�����л\���C"
+
+ #: ../src/winspector.c:1370
+ msgid "Keep at bottom (sunken)"
+@@ -1682,7 +1682,7 @@
+ "of your shortcut configuration."
+ msgstr ""
+ "���������o��J�I�ɤ��n�q Window Maker ���X��L���|�C\n"
+-"�o���\\�����o��Ҧ���L�զX���z�|�A�����|�]�w�C"
++"�o���\�����o��Ҧ���L�զX���z�|�A�����|�]�w�C"
+
+ #: ../src/winspector.c:1436
+ msgid "Do not bind mouse clicks"
+@@ -1720,7 +1720,7 @@
+ msgid ""
+ "Do not allow the window to move itself completely\n"
+ "outside the screen. For bug compatibility.\n"
+-msgstr "�����\\�����������X�ù��C�Ω���~�ۮe�ʡC\n"
++msgstr "�����\�����������X�ù��C�Ω���~�ۮe�ʡC\n"
+
+ #: ../src/winspector.c:1460
+ msgid "Ignore 'Hide Others'"
+@@ -1848,3 +1848,4 @@
+ #: ../src/workspace.c:936
+ msgid "Destroy Last"
+ msgstr "�R���̫᪺�u�@��"
++
diff --git a/x11-wm/windowmaker/windowmaker-0.80.1-r2.ebuild b/x11-wm/windowmaker/windowmaker-0.80.1-r2.ebuild
new file mode 100644
index 000000000000..797beb683b12
--- /dev/null
+++ b/x11-wm/windowmaker/windowmaker-0.80.1-r2.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.80.1-r2.ebuild,v 1.1 2003/06/04 13:49:57 joker Exp $
+
+IUSE="gif nls png kde oss jpeg gnome"
+
+MY_P=${P/windowm/WindowM}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="The fast and light GNUstep window manager"
+SRC_URI="ftp://ftp.windowmaker.org/pub/source/release/${MY_P}.tar.gz
+ ftp://ftp.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
+HOMEPAGE="http://www.windowmaker.org/"
+
+DEPEND="virtual/x11
+ >=media-libs/tiff-3.5.5
+ gif? ( >=media-libs/giflib-4.1.0-r3
+ >=media-libs/libungif-4.1.0 )
+ png? ( >=media-libs/libpng-1.2.1 )
+ jpeg? ( >=media-libs/jpeg-6b-r2 )"
+
+RDEPEND="nls? ( >=sys-devel/gettext-0.10.39 )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc alpha"
+
+src_unpack() {
+ unpack ${A}
+ cd ${WORKDIR}
+ patch -p0 < ${FILESDIR}/${P}-gentoo.patch
+}
+
+src_compile() {
+
+ local myconf
+
+ use gnome \
+ && myconf="${myconf} --enable-gnome" \
+ || myconf="${myconf} --disable-gnome"
+
+ use kde \
+ && myconf="${myconf} --enable-kde" \
+ && export KDEDIR=/usr/kde/2 \
+ || myconf="${myconf} --disable-kde"
+
+ if [ "$WITH_MODELOCK" ] ; then
+ myconf="${myconf} --enable-modelock"
+ else
+ myconf="${myconf} --disable-modelock"
+ fi
+
+ use nls \
+ && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" \
+ || myconf="${myconf} --disable-nls --disable-locale"
+
+ use gif \
+ || myconf="${myconf} --disable-gif"
+
+ use jpeg \
+ || myconf="${myconf} --disable-jpeg"
+
+ use png \
+ || myconf="${myconf} --disable-png"
+
+
+ use esd || use alsa || use oss \
+ && myconf="${myconf} --enable-sound" \
+ || myconf="${myconf} --disable-sound"
+
+ econf \
+ --sysconfdir=/etc/X11 \
+ --localstatedir=/var/state/WindowMaker \
+ --with-x \
+ --enable-newstyle \
+ --enable-superfluous \
+ --enable-usermenu \
+ --with-appspath=/usr/share/GNUstep \
+ --with-pixmapdir=/usr/share/pixmaps \
+ ${myconf} || die
+
+ 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}
+ #0.80.1-r2 did not work with make -j4 (drobbins, 15 Jul 2002)
+ #with future Portage, this should become "emake -j1"
+ make || die
+
+ # WindowMaker Extra
+ cd ../WindowMaker-extra-0.1
+ econf || die
+
+ make || die
+}
+
+src_install() {
+
+ einstall \
+ sysconfdir=${D}/etc/X11 \
+ wprefsdir=${D}/usr/share/GNUstep/WPrefs.app \
+ wpdatadir=${D}/usr/share/GNUstep/WPrefs.app \
+ wpexecbindir=${D}/usr/share/GNUstep/WPrefs.app || die
+
+ cp -f WindowMaker/plmenu ${D}/etc/X11/WindowMaker/WMRootMenu
+
+ dodoc AUTHORS BUGFORUM BUGS ChangeLog COPYING* INSTALL* FAQ* \
+ MIRRORS README* NEWS TODO
+
+ # WindowMaker Extra
+ cd ../WindowMaker-extra-0.1
+ einstall || die
+
+ newdoc README README.extra
+
+ echo "#!/bin/bash" > wmaker
+ echo "/usr/bin/wmaker" >> wmaker
+
+ exeinto /etc/X11/Sessions/
+ doexe wmaker
+}
+
+pkg_postinst() {
+ einfo "You need to emerge media-libs/xpm to get transparent globes or"
+ einfo "other transparent elements."
+}
diff --git a/x11-wm/windowmaker/windowmaker-0.80.2.ebuild b/x11-wm/windowmaker/windowmaker-0.80.2.ebuild
new file mode 100644
index 000000000000..e4d56702a672
--- /dev/null
+++ b/x11-wm/windowmaker/windowmaker-0.80.2.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/windowmaker/windowmaker-0.80.2.ebuild,v 1.1 2003/06/04 13:49:57 joker Exp $
+
+IUSE="gif nls png kde oss jpeg gnome"
+
+MY_P=${P/windowm/WindowM}
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="The fast and light GNUstep window manager"
+SRC_URI="ftp://ftp.windowmaker.org/pub/source/release/${MY_P}.tar.gz
+ ftp://ftp.windowmaker.org/pub/source/release/WindowMaker-extra-0.1.tar.gz"
+HOMEPAGE="http://www.windowmaker.org/"
+
+DEPEND="virtual/x11
+ media-libs/hermes
+ >=media-libs/tiff-3.5.5
+ gif? ( >=media-libs/giflib-4.1.0-r3
+ >=media-libs/libungif-4.1.0 )
+ png? ( >=media-libs/libpng-1.2.1 )
+ jpeg? ( >=media-libs/jpeg-6b-r2 )"
+
+RDEPEND="nls? ( >=sys-devel/gettext-0.10.39 )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ppc sparc alpha"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ patch -p1 < ${FILESDIR}/${PN}-0.80.1-gentoo.patch
+}
+
+src_compile() {
+
+ local myconf
+
+ use gnome \
+ && myconf="${myconf} --enable-gnome" \
+ || myconf="${myconf} --disable-gnome"
+
+ use kde \
+ && myconf="${myconf} --enable-kde" \
+ && export KDEDIR=/usr/kde/2 \
+ || myconf="${myconf} --disable-kde"
+
+ if [ "$WITH_MODELOCK" ] ; then
+ myconf="${myconf} --enable-modelock"
+ else
+ myconf="${myconf} --disable-modelock"
+ fi
+
+ use nls \
+ && export LINGUAS="`ls po/*.po | sed 's:po/\(.*\)\.po$:\1:'`" \
+ || myconf="${myconf} --disable-nls --disable-locale"
+
+ use gif \
+ || myconf="${myconf} --disable-gif"
+
+ use jpeg \
+ || myconf="${myconf} --disable-jpeg"
+
+ use png \
+ || myconf="${myconf} --disable-png"
+
+
+ use esd || use alsa || use oss \
+ && myconf="${myconf} --enable-sound" \
+ || myconf="${myconf} --disable-sound"
+
+ econf \
+ --sysconfdir=/etc/X11 \
+ --with-x \
+ --enable-newstyle \
+ --enable-superfluous \
+ --enable-usermenu \
+ --with-appspath=/usr/share/GNUstep \
+ --with-pixmapdir=/usr/share/pixmaps \
+ ${myconf} || die
+
+ 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}
+ #0.80.1-r2 did not work with make -j4 (drobbins, 15 Jul 2002)
+ #with future Portage, this should become "emake -j1"
+ make || die
+
+ # WindowMaker Extra
+ cd ../WindowMaker-extra-0.1
+ econf || die
+
+ make || die
+}
+
+src_install() {
+
+ einstall \
+ sysconfdir=${D}/etc/X11 \
+ wprefsdir=${D}/usr/share/GNUstep/WPrefs.app \
+ wpdatadir=${D}/usr/share/GNUstep/WPrefs.app \
+ wpexecbindir=${D}/usr/share/GNUstep/WPrefs.app || die
+
+ cp -f WindowMaker/plmenu ${D}/etc/X11/WindowMaker/WMRootMenu
+
+ dodoc AUTHORS BUGFORUM BUGS ChangeLog COPYING* INSTALL* FAQ* \
+ MIRRORS README* NEWS TODO
+
+ # WindowMaker Extra
+ cd ../WindowMaker-extra-0.1
+ einstall || die
+
+ newdoc README README.extra
+
+ echo "#!/bin/bash" > wmaker
+ echo "/usr/bin/wmaker" >> wmaker
+
+ exeinto /etc/X11/Sessions/
+ doexe wmaker
+}
+
+pkg_postinst() {
+ einfo "You need to emerge media-libs/xpm to get transparent globes or"
+ einfo "other transparent elements."
+}