summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrad Teaford Cowan <bcowan@gentoo.org>2003-03-25 05:17:56 +0000
committerBrad Teaford Cowan <bcowan@gentoo.org>2003-03-25 05:17:56 +0000
commit3522c1efd6444bdee6a8d4bf490cd56b135e8a73 (patch)
tree5ee6c3a3b47a2b7012e5e6e398af37022f84491c
parentstable on alpha (diff)
downloadhistorical-3522c1efd6444bdee6a8d4bf490cd56b135e8a73.tar.gz
historical-3522c1efd6444bdee6a8d4bf490cd56b135e8a73.tar.bz2
historical-3522c1efd6444bdee6a8d4bf490cd56b135e8a73.zip
version bump
-rw-r--r--x11-wm/icewm/ChangeLog8
-rw-r--r--x11-wm/icewm/files/digest-icewm-1.2.71
-rw-r--r--x11-wm/icewm/files/icewm-1.2.7-gentoo.patch83
-rw-r--r--x11-wm/icewm/icewm-1.2.7.ebuild80
4 files changed, 171 insertions, 1 deletions
diff --git a/x11-wm/icewm/ChangeLog b/x11-wm/icewm/ChangeLog
index e01c8797794c..6aa993824477 100644
--- a/x11-wm/icewm/ChangeLog
+++ b/x11-wm/icewm/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-wm/icewm
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.21 2003/02/12 09:51:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.22 2003/03/25 05:17:56 bcowan Exp $
+
+*icewm-1.2.7 (24 Mar 2003)
+
+ 24 Mar 2003; Brad Cowan <bcowan@gentoo.org> icewm-1.2.7.ebuild,
+ files/digest-icewm-1.2.7, files/icewm-1.2.7-gentoo.patch:
+ Version bump.
*icewm-1.2.6 (26 Jan 2003)
diff --git a/x11-wm/icewm/files/digest-icewm-1.2.7 b/x11-wm/icewm/files/digest-icewm-1.2.7
new file mode 100644
index 000000000000..657d236d1634
--- /dev/null
+++ b/x11-wm/icewm/files/digest-icewm-1.2.7
@@ -0,0 +1 @@
+MD5 b2423bdcf841a552d8c60a03858a1116 icewm-1.2.7.tar.gz 782335
diff --git a/x11-wm/icewm/files/icewm-1.2.7-gentoo.patch b/x11-wm/icewm/files/icewm-1.2.7-gentoo.patch
new file mode 100644
index 000000000000..046333627de7
--- /dev/null
+++ b/x11-wm/icewm/files/icewm-1.2.7-gentoo.patch
@@ -0,0 +1,83 @@
+diff -urN icewm-1.2.6/Makefile icewm-1.2.6-new/Makefile
+--- icewm-1.2.6/Makefile Thu Dec 26 12:05:47 2002
++++ icewm-1.2.6-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.6/Makefile.in icewm-1.2.6-new/Makefile.in
+--- icewm-1.2.6/Makefile.in Thu Dec 26 12:05:29 2002
++++ icewm-1.2.6-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.6/src/Makefile icewm-1.2.6-new/src/Makefile
+--- icewm-1.2.6/src/Makefile Thu Dec 26 12:05:48 2002
++++ icewm-1.2.6-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.6/src/Makefile.in icewm-1.2.6-new/src/Makefile.in
+--- icewm-1.2.6/src/Makefile.in Thu Dec 26 12:05:30 2002
++++ icewm-1.2.6-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.6/src/wmclient.h icewm-1.2.6-new/src/wmclient.h
+--- icewm-1.2.6/src/wmclient.h Thu Dec 26 12:05:30 2002
++++ icewm-1.2.6-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.7.ebuild b/x11-wm/icewm/icewm-1.2.7.ebuild
new file mode 100644
index 000000000000..b83a8130635b
--- /dev/null
+++ b/x11-wm/icewm/icewm-1.2.7.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2003 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.7.ebuild,v 1.1 2003/03/25 05:17:56 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-libs )
+ 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}
+ cd ${S}
+ patch -p1 < ${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 --with-antialias" \
+ || 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."
+}