From af7f706f9391e74d7ae2ddc09858583890983e0f Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Tue, 31 Jan 2012 23:02:05 +0000 Subject: Clean up patch. Version bump. (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) --- x11-wm/jwm/ChangeLog | 10 ++++- x11-wm/jwm/files/jwm-2.0.1-nostrip.patch | 5 +-- x11-wm/jwm/jwm-2.0.1.ebuild | 6 +-- x11-wm/jwm/jwm-2.1.0.ebuild | 70 ++++++++++++++++++++++++++++++++ 4 files changed, 83 insertions(+), 8 deletions(-) create mode 100644 x11-wm/jwm/jwm-2.1.0.ebuild (limited to 'x11-wm/jwm') diff --git a/x11-wm/jwm/ChangeLog b/x11-wm/jwm/ChangeLog index b0b26fc9017e..e5430ffbde32 100644 --- a/x11-wm/jwm/ChangeLog +++ b/x11-wm/jwm/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for x11-wm/jwm -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/jwm/ChangeLog,v 1.21 2010/11/08 18:48:32 xarthisius Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/jwm/ChangeLog,v 1.22 2012/01/31 23:02:05 jer Exp $ + +*jwm-2.1.0 (31 Jan 2012) + + 31 Jan 2012; Jeroen Roovers jwm-2.0.1.ebuild, + files/jwm-2.0.1-nostrip.patch, +jwm-2.1.0.ebuild: + Clean up patch. Version bump. 08 Nov 2010; Kacper Kowalik jwm-2.0.1.ebuild: media-libs/jpeg -> virtual/jpeg diff --git a/x11-wm/jwm/files/jwm-2.0.1-nostrip.patch b/x11-wm/jwm/files/jwm-2.0.1-nostrip.patch index f58f97f30bfb..7b1eb1c7fc83 100644 --- a/x11-wm/jwm/files/jwm-2.0.1-nostrip.patch +++ b/x11-wm/jwm/files/jwm-2.0.1-nostrip.patch @@ -1,6 +1,5 @@ -diff -ur jwm-2.0.1.orig/src/Makefile.in jwm-2.0.1/src/Makefile.in ---- jwm-2.0.1.orig/src/Makefile.in 2007-12-09 18:51:46.000000000 +0100 -+++ jwm-2.0.1/src/Makefile.in 2007-12-09 18:52:02.000000000 +0100 +--- a/src/Makefile.in ++++ b/src/Makefile.in @@ -20,7 +20,6 @@ all: $(EXE) diff --git a/x11-wm/jwm/jwm-2.0.1.ebuild b/x11-wm/jwm/jwm-2.0.1.ebuild index 4a9693d4dff9..247efa9c8ccb 100644 --- a/x11-wm/jwm/jwm-2.0.1.ebuild +++ b/x11-wm/jwm/jwm-2.0.1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-wm/jwm/jwm-2.0.1.ebuild,v 1.9 2010/11/08 18:48:32 xarthisius Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-wm/jwm/jwm-2.0.1.ebuild,v 1.10 2012/01/31 23:02:05 jer Exp $ EAPI=3 inherit eutils -DESCRIPTION="Very fast and lightweight still powerfull window manager for X" +DESCRIPTION="Very fast and lightweight still powerful window manager for X" HOMEPAGE="http://joewing.net/programs/jwm/" SRC_URI="http://joewing.net/programs/jwm/releases/${P}.tar.bz2" diff --git a/x11-wm/jwm/jwm-2.1.0.ebuild b/x11-wm/jwm/jwm-2.1.0.ebuild new file mode 100644 index 000000000000..9453cb8a2f77 --- /dev/null +++ b/x11-wm/jwm/jwm-2.1.0.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-wm/jwm/jwm-2.1.0.ebuild,v 1.1 2012/01/31 23:02:03 jer Exp $ + +EAPI=4 +inherit eutils + +DESCRIPTION="Very fast and lightweight still powerful window manager for X" +HOMEPAGE="http://joewing.net/programs/jwm/" +SRC_URI="http://joewing.net/programs/jwm/releases/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~x86" +IUSE="bidi debug jpeg png truetype xinerama xpm" + +RDEPEND="xpm? ( x11-libs/libXpm ) + xinerama? ( x11-libs/libXinerama ) + x11-libs/libXext + x11-libs/libXrender + x11-libs/libXau + x11-libs/libXdmcp + truetype? ( x11-libs/libXft ) + png? ( media-libs/libpng ) + jpeg? ( virtual/jpeg ) + bidi? ( dev-libs/fribidi ) + dev-libs/expat" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/xextproto + xinerama? ( x11-proto/xineramaproto )" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-2.0.1-nostrip.patch +} + +src_configure() { + econf \ + $(use_enable debug) \ + $(use_enable jpeg) \ + $(use_enable png) \ + $(use_enable truetype xft) \ + $(use_enable xinerama) \ + $(use_enable xpm) \ + $(use_enable bidi fribidi) \ + --enable-shape \ + --enable-xrender +} + +src_install() { + dodir /usr/bin + dodir /etc + dodir /usr/share/man + emake BINDIR="${D}/usr/bin" SYSCONF="${D}/etc" \ + MANDIR="${D}/usr/share/man" install + rm "${D}"/etc/system.jwmrc + + echo "#!/bin/sh" > jwm + echo "exec /usr/bin/jwm" >> jwm + exeinto /etc/X11/Sessions + doexe jwm + + dodoc README example.jwmrc todo.txt +} + +pkg_postinst() { + einfo "Put an appropriate configuration file in /etc/system.jwmrc" + einfo "or in ~/.jwmrc." + einfo "An example file can be found in ${EROOT}/usr/share/doc/${PF}/" +} -- cgit v1.2.3-65-gdbad