# 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.10 2002/09/20 08:30:47 doctomoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.11 2002/10/17 03:03:55 seemant Exp $
+
+*icewm-1.2.2 (16 Oct 2002)
+
+ 16 Oct 2002; Seemant Kulleen <seemant@gentoo.org> icewm-1.2.2.ebuild
+ files/digest-icewm-1.2.2 :
+
+ Version bump thanks to: craig@mosquitonet.com (Craig Callender) in bug
+ #7970.
*icewm-1.2.0-r1 (16 Aug 2002)
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.0-r1.ebuild,v 1.5 2002/10/05 05:39:28 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.0-r1.ebuild,v 1.6 2002/10/17 03:03:55 seemant Exp $
IUSE="truetype nls esd imlib"
cd ${S}
- patch -p1< ${FILESDIR}/${P}-gcc31-gentoo.patch || die
+ patch -p1< ${FILESDIR}/${PN}-gcc31-gentoo.patch || die
# icewm's doc dir layout is un-gentoo-like. To fix it, we have
# "make install" skip the docs install, and do it ourselves. That also
# Copyright 1999-2002 Gentoo Technologies, Inc.
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.0.ebuild,v 1.5 2002/10/05 05:39:28 drobbins Exp $
-
-IUSE="truetype nls esd imlib"
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.2.ebuild,v 1.1 2002/10/17 03:03:55 seemant Exp $
S=${WORKDIR}/${P}
DESCRIPTION="Ice Window Manager"
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="x86 sparc sparc64"
+KEYWORDS="~x86 ~ppc ~sparc ~sparc64"
src_unpack(){
unpack ${A}
cd ${S}
- patch -p1< ${FILESDIR}/${P}-gcc31-gentoo.patch || die
+ patch -p1< ${FILESDIR}/${PN}-gcc31-gentoo.patch || die
# icewm's doc dir layout is un-gentoo-like. To fix it, we have
# "make install" skip the docs install, and do it ourselves. That also
# means we have to adjust the Makefile so that it can find the help files
# when you choose the 'help' item out of its menu.
+ cp Makefile.in Makefile.in.orig
+ sed 's:icewm-$(VERSION)::' \
+ Makefile.in.orig > Makefile.in
+
+ cp Makefile Makefile.orig
+ sed 's:icewm-$(VERSION)::' \
+ Makefile.orig > Makefile
+
+ cd ${S}/src
cp Makefile Makefile.orig
- sed 's:icewm-$(VERSION)/::' \
+ sed 's:icewm-$(VERSION)::' \
Makefile.orig > Makefile
}
|| myconf="${myconf} --disable-nls --disable-i18n"
use imlib \
- && myconf="${myconf} --with-imlib" \
- || myconf="${myconf} --without-imlib"
+ && myconf="${myconf} --with-imlib --without-xpm" \
+ || myconf="${myconf} --without-imlib --with-xpm"
use truetype \
&& myconf="${myconf} --enable-gradients" \
|| myconf="${myconf} --disable-xfreetype"
- # until the new sexy use style arch code is implemented...
- if [ ${ARCH} != "x86" ]
- then
- myconf="${myconf} --disable-x86-asm"
- else
- myconf="${myconf} --enable-x86-asm"
- fi
+ use x86 \
+ && myconf="${myconf} --enable-x86-asm" \
+ || myconf="${myconf} --disable-x86-asm"
+
+ use gnome \
+ && myconf="${myconf} --with-gnome-menus" \
+ || myconf="${myconf} --without-gnome-menus"
- econf \
+ CXXFLAGS="${CXXFLAGS}" econf \
+ --with-xpm \
--with-libdir=/usr/lib/icewm \
--with-cfgdir=/etc/icewm \
--with-docdir=/usr/share/doc/${PF}/html \
}
src_install(){
- make \
- prefix=${D}/usr \
- LIBDIR=${D}/usr/lib/icewm \
- CFGDIR=${D}/etc/icewm \
- LOCDIR=${D}/usr/share/locale \
- DOCDIR=${S}/dummy \
- install || die "make install failed"
+# make \
+# PREFIX=${D}/usr \
+# BINDIR=${D}/usr/bin \
+# LIBDIR=${D}/usr/lib/icewm \
+# CFGDIR=${D}/etc/icewm \
+# LOCDIR=${D}/usr/share/locale \
+# DOCDIR=${S}/share/doc/${PF} \
+# KDEDIR=${D}/usr/share \
+# install || die "make install failed"
+
+ make DESTDIR=${D} install || die
dodoc AUTHORS BUGS CHANGES COPYING FAQ PLATFORMS README* TODO VERSION
dohtml -a html,sgml doc/*