diff options
Diffstat (limited to 'x11-wm/icewm')
-rw-r--r-- | x11-wm/icewm/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/icewm/files/digest-icewm-1.2.5 | 1 | ||||
-rw-r--r-- | x11-wm/icewm/files/icewm-1.2.5-gentoo.patch | 83 | ||||
-rw-r--r-- | x11-wm/icewm/icewm-1.2.5.ebuild | 79 |
4 files changed, 170 insertions, 1 deletions
diff --git a/x11-wm/icewm/ChangeLog b/x11-wm/icewm/ChangeLog index 01b0a2c27e7a..917b5e5c7359 100644 --- a/x11-wm/icewm/ChangeLog +++ b/x11-wm/icewm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/icewm # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.18 2002/12/29 01:37:36 drobbins Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.19 2003/01/08 19:16:48 bcowan Exp $ + +*icewm-1.2.5 (08 Jan 2003) + + 08 Jan 2003; Brad Cowan <bcowan@gentoo.org> icewm-1.2.5.ebuild, + files/digest-icewm-1.2.5, files/icewm-1.2.5-gentoo.patch: + Version bump. *icewm-1.2.3 (28 Dec 2002) diff --git a/x11-wm/icewm/files/digest-icewm-1.2.5 b/x11-wm/icewm/files/digest-icewm-1.2.5 new file mode 100644 index 000000000000..0ae2956d69b3 --- /dev/null +++ b/x11-wm/icewm/files/digest-icewm-1.2.5 @@ -0,0 +1 @@ +MD5 20aa6e9258b07275fdee5bcc9e40b883 icewm-1.2.5.tar.gz 749592 diff --git a/x11-wm/icewm/files/icewm-1.2.5-gentoo.patch b/x11-wm/icewm/files/icewm-1.2.5-gentoo.patch new file mode 100644 index 000000000000..581e1f2dadac --- /dev/null +++ b/x11-wm/icewm/files/icewm-1.2.5-gentoo.patch @@ -0,0 +1,83 @@ +diff -urN icewm-1.2.5/Makefile icewm-1.2.5-new/Makefile +--- icewm-1.2.5/Makefile Thu Dec 26 12:05:47 2002 ++++ icewm-1.2.5-new/Makefile Sat Dec 28 18:12:30 2002 +@@ -110,12 +110,12 @@ + + install-docs: docs + @echo ------------------------------------------ +- @rm -fr "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" +- @$(INSTALLDIR) "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" ++ @rm -fr "$(DESTDIR)$(DOCDIR)/" ++ @$(INSTALLDIR) "$(DESTDIR)$(DOCDIR)/" + @echo "Installing documentation in $(DESTDIR)$(DOCDIR)" +- @$(INSTALLLIB) $(DOCFILES) "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" +- @$(INSTALLLIB) "$(top_srcdir)/doc/"*.sgml "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" +- @$(INSTALLLIB) "$(top_srcdir)/doc/"*.html "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" ++ @$(INSTALLLIB) $(DOCFILES) "$(DESTDIR)$(DOCDIR)/" ++ @$(INSTALLLIB) "$(top_srcdir)/doc/"*.sgml "$(DESTDIR)$(DOCDIR)/" ++ @$(INSTALLLIB) "$(top_srcdir)/doc/"*.html "$(DESTDIR)$(DOCDIR)/" + @echo ------------------------------------------ + + install-nls: nls +diff -urN icewm-1.2.5/Makefile.in icewm-1.2.5-new/Makefile.in +--- icewm-1.2.5/Makefile.in Thu Dec 26 12:05:29 2002 ++++ icewm-1.2.5-new/Makefile.in Sat Dec 28 18:12:30 2002 +@@ -110,12 +110,12 @@ + + install-docs: docs + @echo ------------------------------------------ +- @rm -fr "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" +- @$(INSTALLDIR) "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" ++ @rm -fr "$(DESTDIR)$(DOCDIR)/" ++ @$(INSTALLDIR) "$(DESTDIR)$(DOCDIR)/" + @echo "Installing documentation in $(DESTDIR)$(DOCDIR)" +- @$(INSTALLLIB) $(DOCFILES) "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" +- @$(INSTALLLIB) "$(top_srcdir)/doc/"*.sgml "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" +- @$(INSTALLLIB) "$(top_srcdir)/doc/"*.html "$(DESTDIR)$(DOCDIR)/icewm-$(VERSION)" ++ @$(INSTALLLIB) $(DOCFILES) "$(DESTDIR)$(DOCDIR)/" ++ @$(INSTALLLIB) "$(top_srcdir)/doc/"*.sgml "$(DESTDIR)$(DOCDIR)/" ++ @$(INSTALLLIB) "$(top_srcdir)/doc/"*.html "$(DESTDIR)$(DOCDIR)/" + @echo ------------------------------------------ + + install-nls: nls +diff -urN icewm-1.2.5/src/Makefile icewm-1.2.5-new/src/Makefile +--- icewm-1.2.5/src/Makefile Thu Dec 26 12:05:48 2002 ++++ icewm-1.2.5-new/src/Makefile Sat Dec 28 18:12:30 2002 +@@ -28,7 +28,7 @@ + -DEXEEXT='"$(EXEEXT)"' \ + -DICEWMEXE='"icewm$(EXEEXT)"' \ + -DICEHELPEXE='"icehelp$(EXEEXT)"' \ +- -DICEHELPIDX='"$(DOCDIR)/icewm-$(VERSION)/icewm.html"' ++ -DICEHELPIDX='"$(DOCDIR)//icewm.html"' + + CXXFLAGS = -fpermissive -Wall -Wpointer-arith -Wconversion -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Winline -Woverloaded-virtual -W -fno-exceptions -fno-rtti -g -O2 $(DEBUG) $(DEFS) \ + -I/usr/X11R6/include -I/usr/include/Xft2 -I/usr/include/freetype2 -I/usr/X11R6/include -I/usr/X11R6/include # `fc-config --cflags` +diff -urN icewm-1.2.5/src/Makefile.in icewm-1.2.5-new/src/Makefile.in +--- icewm-1.2.5/src/Makefile.in Thu Dec 26 12:05:30 2002 ++++ icewm-1.2.5-new/src/Makefile.in Sat Dec 28 18:12:30 2002 +@@ -28,7 +28,7 @@ + -DEXEEXT='"$(EXEEXT)"' \ + -DICEWMEXE='"icewm$(EXEEXT)"' \ + -DICEHELPEXE='"icehelp$(EXEEXT)"' \ +- -DICEHELPIDX='"$(DOCDIR)/icewm-$(VERSION)/icewm.html"' ++ -DICEHELPIDX='"$(DOCDIR)//icewm.html"' + + CXXFLAGS = @CXXFLAGS@ $(DEBUG) $(DEFS) \ + @CORE_CFLAGS@ @IMAGE_CFLAGS@ @AUDIO_CFLAGS@ # `fc-config --cflags` +diff -urN icewm-1.2.5/src/wmclient.h icewm-1.2.5-new/src/wmclient.h +--- icewm-1.2.5/src/wmclient.h Thu Dec 26 12:05:30 2002 ++++ icewm-1.2.5-new/src/wmclient.h Sat Dec 28 18:12:38 2002 +@@ -13,9 +13,10 @@ + + #ifndef __YIMP_XUTIL__ + //!!! remove these if possible +-typedef struct XWMHints; +-typedef struct XSizeHints; +-typedef struct XClassHint; ++//typedef struct XWMHints; ++//typedef struct XSizeHints; ++//typedef struct XClassHint; ++#include <X11/Xutil.h> + #endif + + class ClientData { diff --git a/x11-wm/icewm/icewm-1.2.5.ebuild b/x11-wm/icewm/icewm-1.2.5.ebuild new file mode 100644 index 000000000000..a480d6f2da46 --- /dev/null +++ b/x11-wm/icewm/icewm-1.2.5.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.5.ebuild,v 1.1 2003/01/08 19:16:48 bcowan Exp $ + +DESCRIPTION="Ice Window Manager" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.icewm.org" +IUSE="esd gnome imlib nls spell truetype" + +DEPEND="virtual/x11 + esd? ( media-sound/esound ) + gnome? ( gnome-base/gnome ) + imlib? ( >=media-libs/imlib-1.9.10-r1 ) + nls? ( sys-devel/gettext ) + truetype? ( >=media-libs/freetype-2.0.9 )" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~x86 ~ppc ~sparc " + +src_unpack(){ + unpack ${A} + patch -p0 < ${FILESDIR}/${P}-gentoo.patch || die +} + +src_compile(){ + use esd \ + && myconf="${myconf} --with-esd-config=/usr/bin/esd-config" + + use nls \ + && myconf="${myconf} --enable-nls --enable-i18n" \ + || myconf="${myconf} --disable-nls --disable-i18n" + + use imlib \ + && myconf="${myconf} --with-imlib --without-xpm" \ + || myconf="${myconf} --without-imlib --with-xpm" + + use spell \ + && myconf="${myconf} --enable-GtkSpell" \ + || myconf="${myconf} --disable-GtkSpell" + + use truetype \ + && myconf="${myconf} --enable-gradients" \ + || myconf="${myconf} --disable-xfreetype" + + use x86 \ + && myconf="${myconf} --enable-x86-asm" \ + || myconf="${myconf} --disable-x86-asm" + + use gnome \ + && myconf="${myconf} --with-gnome-menus" \ + || myconf="${myconf} --without-gnome-menus" + + CXXFLAGS="${CXXFLAGS}" econf \ + --with-xpm \ + --with-libdir=/usr/share/icewm \ + --with-cfgdir=/etc/icewm \ + --with-docdir=/usr/share/doc/${PF}/html \ + ${myconf} || die "configure failed" + + emake || die "emake failed" +} + +src_install(){ + make DESTDIR=${D} install || die + + dodoc AUTHORS BUGS CHANGES COPYING FAQ PLATFORMS README* TODO VERSION + dohtml -a html,sgml doc/* + + echo "#!/bin/bash" > icewm + echo "/usr/bin/icewm" >> icewm + exeinto /etc/X11/Sessions + doexe icewm +} + +pkg_postinst() { + echo "Please note that the default icewm libdir has moved from" + echo "/usr/lib/icewm to /usr/share/icewm." +} |