diff options
author | Michael Januszewski <spock@gentoo.org> | 2006-04-25 13:58:12 +0000 |
---|---|---|
committer | Michael Januszewski <spock@gentoo.org> | 2006-04-25 13:58:12 +0000 |
commit | 8f7ea2f3e51c22ffd915a59915f91c60822219db (patch) | |
tree | 2dfdc9000926aaf91894b9ac2cacc7d5e8aa6a99 /x11-wm/afterstep | |
parent | Removed virtual/x11 since all necessary X dependencies are being pulled in by... (diff) | |
download | gentoo-2-8f7ea2f3e51c22ffd915a59915f91c60822219db.tar.gz gentoo-2-8f7ea2f3e51c22ffd915a59915f91c60822219db.tar.bz2 gentoo-2-8f7ea2f3e51c22ffd915a59915f91c60822219db.zip |
Version bump.
(Portage version: 2.1_pre9-r4)
Diffstat (limited to 'x11-wm/afterstep')
-rw-r--r-- | x11-wm/afterstep/ChangeLog | 8 | ||||
-rw-r--r-- | x11-wm/afterstep/afterstep-2.2.1.ebuild | 133 | ||||
-rw-r--r-- | x11-wm/afterstep/files/digest-afterstep-2.2.1 | 3 |
3 files changed, 143 insertions, 1 deletions
diff --git a/x11-wm/afterstep/ChangeLog b/x11-wm/afterstep/ChangeLog index dee5494c3ec8..d13602f03999 100644 --- a/x11-wm/afterstep/ChangeLog +++ b/x11-wm/afterstep/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/afterstep # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/afterstep/ChangeLog,v 1.54 2006/03/10 00:05:12 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/afterstep/ChangeLog,v 1.55 2006/04/25 13:58:12 spock Exp $ + +*afterstep-2.2.1 (25 Apr 2006) + + 25 Apr 2006; Michał Januszewski <spock@gentoo.org> + +afterstep-2.2.1.ebuild: + Version bump. 10 Mar 2006; Michael Hanselmann <hansmi@gentoo.org> afterstep-2.2.0.ebuild: diff --git a/x11-wm/afterstep/afterstep-2.2.1.ebuild b/x11-wm/afterstep/afterstep-2.2.1.ebuild new file mode 100644 index 000000000000..868f190d031f --- /dev/null +++ b/x11-wm/afterstep/afterstep-2.2.1.ebuild @@ -0,0 +1,133 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/afterstep/afterstep-2.2.1.ebuild,v 1.1 2006/04/25 13:58:12 spock Exp $ + +inherit flag-o-matic + +DESCRIPTION="AfterStep is a feature rich NeXTish window manager" +HOMEPAGE="http://www.afterstep.org" +SRC_URI="ftp://ftp.afterstep.org/stable/AfterStep-${PV}.tar.bz2" + +LICENSE="AFTERSTEP" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="debug gif jpeg mmx nls png tiff xinerama" + +RDEPEND="virtual/libc + media-libs/freetype + debug? ( !hppa? ( !ppc? ( dev-util/efence ) ) ) + png? ( >=media-libs/libpng-1.2.5 ) + jpeg? ( >=media-libs/jpeg-6b ) + gif? ( >=media-libs/giflib-4.1.0 ) + tiff? ( >=media-libs/tiff-3.5.7 ) + || ( ( x11-libs/libICE + x11-libs/libXext + x11-libs/libSM + x11-libs/libXmu + x11-libs/libXt + x11-libs/libX11 + x11-libs/libXpm + x11-libs/libXrender + xinerama? ( x11-libs/libXinerama ) + ) + virtual/x11 + )" + +DEPEND="${RDEPEND} + || ( ( x11-proto/xextproto + x11-proto/xproto + xinerama? ( x11-proto/xineramaproto ) + ) + virtual/x11 + )" + +S="${WORKDIR}/AfterStep-${PV}" + +src_compile() { + local myconf + + use debug && myconf="--enable-gdb --enable-warn --enable-gprof + --enable-audit --enable-trace --enable-trace-x" + + if ! use ppc && use debug ; then + myconf="${myconf} --with-libefence" + fi + + #implied intent of debug means you need the frame pointers. + use debug && filter-flags -fomit-frame-pointer + + # Explanation of configure options + # ================================ + # --with-helpcommand="xterm -e man" - Avoid installing xiterm + # --with-xpm - Contained in xfree + # --with-ungif=no - Use giflib instead of libungif + # --disable-availability - So we can use complete paths for menuitems + # --enable-ascp - The AfterStep ControlPanel is abandoned + + econf \ + $(use_enable nls i18n) \ + $(use_enable mmx mmx-optimization) \ + $(use_enable xinerama) \ + $(use_with png) \ + $(use_with jpeg) \ + $(use_with gif) \ + $(use_with tiff) \ + --with-helpcommand="xterm -e man" \ + --with-ungif=no \ + --disable-availability \ + --disable-staticlibs \ + --enable-ascp=no \ + ${myconf} || die "configure failed" + + emake || die "emake failed" +} + +src_install() { + # see bug #31541 + dodir /usr/share/gnome/wm-properties + + # afterstep tries to detect the current resolution + # for documentation generation, causing access violations + # for the video device. bug #87356 + unset DISPLAY + + make DESTDIR=${D} install || die "make install failed" + + # This fixes a bug with shared libraries + rm ${D}/usr/lib/{libAfterImage.a,libAfterBase.a} + cp -pPR ${S}/libAfterImage/libAfterImage.so* ${D}/usr/lib + cp -pPR ${S}/libAfterBase/libAfterBase.so* ${D}/usr/lib + cp -pPR ${S}/libAfterConf/libAfterConf.so* ${D}/usr/lib + cp -pPR ${S}/libAfterStep/libAfterStep.so* ${D}/usr/lib + + # Create a symlink from MonitorWharf to Wharf + rm ${D}/usr/bin/MonitorWharf + dosym /usr/bin/Wharf /usr/bin/MonitorWharf + + # Handle the documentation + dodoc COPYRIGHT ChangeLog INSTALL NEW* README* TEAM UPGRADE + cp -pPR ${S}/TODO ${D}/usr/share/doc/${PF}/ + dodir /usr/share/doc/${PF}/html + cp -pPR ${S}/doc/* ${D}/usr/share/doc/${PF}/html + rm ${D}/usr/share/doc/${PF}/html/{Makefile*,afterstepdoc.in} + + dodir /usr/share/xsessions + insinto /usr/share/xsessions + newins ${S}/AfterStep.desktop.final AfterStep.desktop + + # For desktop managers like GDM or KDE + exeinto /etc/X11/Sessions + doexe ${FILESDIR}/afterstep +} + +pkg_postinst() { + echo + einfo "To use AfterStep issue the following commands:" + einfo "mv ~/.xinitrc ~/xinitrc.old" + einfo "echo afterstep > ~/.xinitrc" + echo + einfo "If you like AfterStep please vote for it at" + einfo "http://www.PLiG.org/xwinman/vote.html !" + echo +} + diff --git a/x11-wm/afterstep/files/digest-afterstep-2.2.1 b/x11-wm/afterstep/files/digest-afterstep-2.2.1 new file mode 100644 index 000000000000..564d3ff2ac02 --- /dev/null +++ b/x11-wm/afterstep/files/digest-afterstep-2.2.1 @@ -0,0 +1,3 @@ +MD5 4d49be8b6e3497c89211ce25b81be9c7 AfterStep-2.2.1.tar.bz2 5405913 +RMD160 c838b9b19c5d5a4a5ad5d22f1e2f1b412d91e487 AfterStep-2.2.1.tar.bz2 5405913 +SHA256 f4b59eefe315636bcf13505ddbcf36440f7f94e711716b5952c48b4db7a70f50 AfterStep-2.2.1.tar.bz2 5405913 |