diff options
author | Patrick Lauer <patrick@gentoo.org> | 2009-03-07 11:05:06 +0000 |
---|---|---|
committer | Patrick Lauer <patrick@gentoo.org> | 2009-03-07 11:05:06 +0000 |
commit | 52a1ee267b97af0a38528fcdcdd55fc277116672 (patch) | |
tree | ee5e1d744fd334928efcfa0cd7dd0ef449f25311 | |
parent | x86 stable, bug 253551 (diff) | |
download | gentoo-2-52a1ee267b97af0a38528fcdcdd55fc277116672.tar.gz gentoo-2-52a1ee267b97af0a38528fcdcdd55fc277116672.tar.bz2 gentoo-2-52a1ee267b97af0a38528fcdcdd55fc277116672.zip |
Bump to 1.2.37. Fixes #246135
(Portage version: 2.2_rc23/cvs/Linux x86_64)
-rw-r--r-- | x11-wm/icewm/ChangeLog | 7 | ||||
-rw-r--r-- | x11-wm/icewm/icewm-1.2.37.ebuild | 104 |
2 files changed, 110 insertions, 1 deletions
diff --git a/x11-wm/icewm/ChangeLog b/x11-wm/icewm/ChangeLog index 07e598d56227..3183b8f55c82 100644 --- a/x11-wm/icewm/ChangeLog +++ b/x11-wm/icewm/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-wm/icewm # Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.136 2009/01/07 14:52:20 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/ChangeLog,v 1.137 2009/03/07 11:05:06 patrick Exp $ + +*icewm-1.2.37 (07 Mar 2009) + + 07 Mar 2009; Patrick Lauer <patrick@gentoo.org> +icewm-1.2.37.ebuild: + Bump to 1.2.37. Fixes #246135 07 Jan 2009; Brent Baude <ranger@gentoo.org> icewm-1.2.35.ebuild: Marking icewm-1.2.35 ~ppc64 for bug 253304 diff --git a/x11-wm/icewm/icewm-1.2.37.ebuild b/x11-wm/icewm/icewm-1.2.37.ebuild new file mode 100644 index 000000000000..40fb73aad06a --- /dev/null +++ b/x11-wm/icewm/icewm-1.2.37.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/icewm/icewm-1.2.37.ebuild,v 1.1 2009/03/07 11:05:06 patrick Exp $ + +inherit eutils + +DESCRIPTION="Ice Window Manager with Themes" + +HOMEPAGE="http://www.icewm.org/" + +#fix for icewm preversion package names +S=${WORKDIR}/${P/_} + +SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" + +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" + +IUSE="esd imlib nls spell truetype xinerama minimal debug uclibc" + +RDEPEND="x11-libs/libX11 + x11-libs/libXrandr + x11-libs/libXext + x11-libs/libXpm + x11-libs/libXrender + x11-libs/libXft + x11-libs/libSM + x11-libs/libICE + xinerama? ( x11-libs/libXinerama ) + esd? ( media-sound/esound ) + imlib? ( >=media-libs/imlib-1.9.10-r1 ) + nls? ( sys-devel/gettext ) + truetype? ( >=media-libs/freetype-2.0.9 ) + media-libs/giflib" + +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + xinerama? ( x11-proto/xineramaproto ) + >=sys-apps/sed-4" + +pkg_setup() { + if use truetype && use minimal; then + ewarn "You have both 'truetype' and 'minimal' use flags enabled." + ewarn "If you really want a minimal install, you will have to turn off" + ewarn "the truetype flag for this package." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}/src" + + use uclibc && epatch "${FILESDIR}/icewm-uclibc.patch" + + echo "#!/bin/sh" > "$T/icewm" + echo "/usr/bin/icewm-session" >> "$T/icewm" +} + +src_compile() { + + if use truetype + then + myconf="${myconf} --enable-gradients --enable-shape --enable-movesize-fx --enable-shaped-decorations" + else + myconf="${myconf} --disable-xfreetype --enable-corefonts + $(use_enable minimal lite)" + fi + + myconf="${myconf} + --with-libdir=/usr/share/icewm + --with-cfgdir=/etc/icewm + --with-docdir=/usr/share/doc/${PF}/html + $(use_with esd esd-config /usr/bin/esd-config) + $(use_enable nls) + $(use_enable nls i18n) + $(use_with imlib) + $(use_enable spell GtkSpell) + $(use_enable x86 x86-asm) + $(use_enable xinerama) + $(use_enable debug)" + + CXXFLAGS="${CXXFLAGS}" econf ${myconf} || die "configure failed" + + sed -i "s:/icewm-\$(VERSION)::" src/Makefile || die "patch failed" + sed -i "s:ungif:gif:" src/Makefile || die "libungif fix failed" + + emake || die "emake failed" +} + +src_install(){ + emake DESTDIR="${D}" install || die "make install failed" + + dodoc AUTHORS BUGS CHANGES PLATFORMS README* TODO VERSION + dohtml -a html,sgml doc/* + + exeinto /etc/X11/Sessions + doexe "$T/icewm" + + insinto /usr/share/xsessions + doins "${FILESDIR}/IceWM.desktop" +} |