summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2008-12-07 21:09:06 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2008-12-07 21:09:06 +0000
commitadb425c594ab11f82bb84897ecfe368939466a6b (patch)
tree7a68825da152ea0cf7ac5b2d60ebe4051c95c8c2 /x11-misc/xkeycaps
parentUpdated cmake-utils usage and removed legacy MAKEOPTS value, closes bug (diff)
downloadgentoo-2-adb425c594ab11f82bb84897ecfe368939466a6b.tar.gz
gentoo-2-adb425c594ab11f82bb84897ecfe368939466a6b.tar.bz2
gentoo-2-adb425c594ab11f82bb84897ecfe368939466a6b.zip
Version bump for bug 215218, thanks to <timofonic at gmail.com>.
(Portage version: 2.1.6_rc3/cvs/Linux 2.6.27.7 i686)
Diffstat (limited to 'x11-misc/xkeycaps')
-rw-r--r--x11-misc/xkeycaps/ChangeLog8
-rw-r--r--x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch22
-rw-r--r--x11-misc/xkeycaps/files/xkeycaps-2.47-man.patch12
-rw-r--r--x11-misc/xkeycaps/xkeycaps-2.47.ebuild45
4 files changed, 86 insertions, 1 deletions
diff --git a/x11-misc/xkeycaps/ChangeLog b/x11-misc/xkeycaps/ChangeLog
index 7fb7522eb18c..fd4a0a488915 100644
--- a/x11-misc/xkeycaps/ChangeLog
+++ b/x11-misc/xkeycaps/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-misc/xkeycaps
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeycaps/ChangeLog,v 1.19 2008/03/23 15:46:43 coldwind Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeycaps/ChangeLog,v 1.20 2008/12/07 21:09:06 ssuominen Exp $
+
+*xkeycaps-2.47 (07 Dec 2008)
+
+ 07 Dec 2008; <ssuominen@gentoo.org> +files/xkeycaps-2.47-Imakefile.patch,
+ +files/xkeycaps-2.47-man.patch, +xkeycaps-2.47.ebuild:
+ Version bump for bug 215218, thanks to <timofonic at gmail.com>.
23 Mar 2008; Santiago M. Mola <coldwind@gentoo.org> xkeycaps-2.46.ebuild:
amd64 stable
diff --git a/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch b/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch
new file mode 100644
index 000000000000..42f7ab6e344d
--- /dev/null
+++ b/x11-misc/xkeycaps/files/xkeycaps-2.47-Imakefile.patch
@@ -0,0 +1,22 @@
+diff -ur xkeycaps-2.47.orig/Imakefile xkeycaps-2.47/Imakefile
+--- xkeycaps-2.47.orig/Imakefile 2005-02-23 00:33:15.000000000 +0200
++++ xkeycaps-2.47/Imakefile 2008-12-07 22:55:24.000000000 +0200
+@@ -1,5 +1,5 @@
+-/**/# Imakefile for xkeycaps;
+-/**/# Copyright (c) 1991, 1992, 1993, 1994, 1995, 1999 Jamie Zawinski.
++/* Imakefile for xkeycaps;
++ Copyright (c) 1991, 1992, 1993, 1994, 1995, 1999 Jamie Zawinski. */
+
+ /*
+ * To specify a different default keyboard (for when the vendor display
+@@ -353,8 +353,8 @@
+ TAR = tar
+ COMPRESS = compress
+ COMPRESS_EXT = Z
+-/**/# COMPRESS = gzip --verbose --best
+-/**/# COMPRESS_EXT = gz
++/* COMPRESS = gzip --verbose --best */
++/* COMPRESS_EXT = gz */
+
+ ComplexProgramTarget(xkeycaps)
+
diff --git a/x11-misc/xkeycaps/files/xkeycaps-2.47-man.patch b/x11-misc/xkeycaps/files/xkeycaps-2.47-man.patch
new file mode 100644
index 000000000000..f68629ef3eaf
--- /dev/null
+++ b/x11-misc/xkeycaps/files/xkeycaps-2.47-man.patch
@@ -0,0 +1,12 @@
+diff -ur xkeycaps-2.47.orig/xkeycaps.man xkeycaps-2.47/xkeycaps.man
+--- xkeycaps-2.47.orig/xkeycaps.man 2006-01-02 02:22:17.000000000 +0200
++++ xkeycaps-2.47/xkeycaps.man 2008-12-07 22:51:38.000000000 +0200
+@@ -267,7 +267,7 @@
+ the physical keys: it is immutable (unless you repaint your keyboard...)
+ .TP 10
+ .B \fIChord\fP
+-This term refers to a set of two or more keys held down simultaniously (by
++This term refers to a set of two or more keys held down simultaneously (by
+ analogy with piano keyboards.) All but one of the keys will generally be
+ Modifier Keys. Sometimes \fIConstellation\fP is used to mean the same thing.
+ .TP 10
diff --git a/x11-misc/xkeycaps/xkeycaps-2.47.ebuild b/x11-misc/xkeycaps/xkeycaps-2.47.ebuild
new file mode 100644
index 000000000000..589e8e3e1acd
--- /dev/null
+++ b/x11-misc/xkeycaps/xkeycaps-2.47.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/xkeycaps/xkeycaps-2.47.ebuild,v 1.1 2008/12/07 21:09:06 ssuominen Exp $
+
+inherit eutils
+
+DESCRIPTION="GUI frontend to xmodmap"
+HOMEPAGE="http://packages.qa.debian.org/x/xkeycaps.html"
+SRC_URI="mirror://debian/pool/main/x/${PN}/${PN}_${PV}.orig.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE=""
+
+RDEPEND="x11-misc/xbitmaps
+ x11-libs/libX11
+ x11-libs/libXmu
+ x11-libs/libXt
+ x11-libs/libXaw
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ x11-misc/imake
+ >=sys-apps/sed-4"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-Imakefile.patch \
+ "${FILESDIR}"/${P}-man.patch
+}
+
+src_compile() {
+ xmkmf || die "xmkmf failed."
+ sed -i -e "s,all:: xkeycaps.\$(MANSUFFIX).html,all:: ,g" \
+ Makefile || die "sed failed."
+ emake || die "emake failed."
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install failed."
+ newman ${PN}.man ${PN}.1
+ dodoc README *.txt
+}