summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-02-15 21:05:02 +0000
committerMike Frysinger <vapier@gentoo.org>2009-02-15 21:05:02 +0000
commitbfe9c4aac6b87e91420b6dda2dd09c0b936cb8ee (patch)
tree39cbb0bf20ecb5048bd0dfa2a24fb8d270d78ec9 /sys-libs/gpm
parentVersion bump #258602 by Hans Meine. (diff)
downloadhistorical-bfe9c4aac6b87e91420b6dda2dd09c0b936cb8ee.tar.gz
historical-bfe9c4aac6b87e91420b6dda2dd09c0b936cb8ee.tar.bz2
historical-bfe9c4aac6b87e91420b6dda2dd09c0b936cb8ee.zip
old
Diffstat (limited to 'sys-libs/gpm')
-rw-r--r--sys-libs/gpm/files/gpm-1.20.3-no-emacs-dir.patch11
-rw-r--r--sys-libs/gpm/files/gpm-1.20.4-abi.patch13
-rw-r--r--sys-libs/gpm/files/gpm-configure-LANG.patch64
-rw-r--r--sys-libs/gpm/gpm-1.20.4.ebuild61
4 files changed, 0 insertions, 149 deletions
diff --git a/sys-libs/gpm/files/gpm-1.20.3-no-emacs-dir.patch b/sys-libs/gpm/files/gpm-1.20.3-no-emacs-dir.patch
deleted file mode 100644
index d3edf560d06c..000000000000
--- a/sys-libs/gpm/files/gpm-1.20.3-no-emacs-dir.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- gpm-1.20.3-orig/Makefile.in 2008-04-15 16:34:13.000000000 +0200
-+++ gpm-1.20.3/Makefile.in 2008-04-20 23:30:30.000000000 +0200
-@@ -51,7 +51,7 @@
-
- installdirs:
- $(MKDIR) $(libdir) $(bindir) $(sbindir) $(includedir) $(sysconfdir); \
-- if test "x@ELISP@" != "x" ; then \
-+ if test "x$(ELISP)" != "x" ; then \
- $(MKDIR) $(lispdir) ; \
- fi
-
diff --git a/sys-libs/gpm/files/gpm-1.20.4-abi.patch b/sys-libs/gpm/files/gpm-1.20.4-abi.patch
deleted file mode 100644
index f6dd76e2cb18..000000000000
--- a/sys-libs/gpm/files/gpm-1.20.4-abi.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-the SONAME upstream was bumped to try and sort out the 1.19.x/1.20.x mess, but
-since we've always had 1.20.x in our tree, we dont care about that breakage.
-
-http://lists.linux.it/pipermail/gpm/2008-June/001026.html
-http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=473496
-
---- gpm/configure
-+++ gpm/configure
-@@ -1736,2 +1736,2 @@
--abi_lev="2"
--abi_age="0"
-+abi_lev="1"
-+abi_age="20"
diff --git a/sys-libs/gpm/files/gpm-configure-LANG.patch b/sys-libs/gpm/files/gpm-configure-LANG.patch
deleted file mode 100644
index d1b1b0353662..000000000000
--- a/sys-libs/gpm/files/gpm-configure-LANG.patch
+++ /dev/null
@@ -1,64 +0,0 @@
-The LANG vars aren't reset early enough so when sed tries to use [a-zA-Z] in
-option parsing, it may break.
-
-http://bugs.gentoo.org/103483
-
---- configure
-+++ configure
-@@ -54,6 +54,19 @@
- infodir='${prefix}/info'
- mandir='${prefix}/man'
-
-+# NLS nuisances.
-+for as_var in \
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-+ LC_TELEPHONE LC_TIME
-+do
-+ if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
-+ eval $as_var=C; export $as_var
-+ else
-+ unset $as_var
-+ fi
-+done
-+
- # Initialize some other variables.
- subdirs=
- MFLAGS= MAKEFLAGS=
-@@ -452,16 +463,6 @@
- esac
- done
-
--# NLS nuisances.
--# Only set these to C if already set. These must not be set unconditionally
--# because not all systems understand e.g. LANG=C (notably SCO).
--# Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
--# Non-C LC_CTYPE values break the ctype check.
--if test "${LANG+set}" = set; then LANG=C; export LANG; fi
--if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
--if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
--if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
--
- # confdefs.h avoids OS command line length limits that DEFS can exceed.
- rm -rf conftest* confdefs.h
- # AIX cpp loses on an empty file, so make sure it contains at least a newline.
-@@ -1850,6 +1850,19 @@
- # Compiler output produced by configure, useful for debugging
- # configure, is in ./config.log if it exists.
-
-+# NLS nuisances.
-+for as_var in \
-+ LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
-+ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
-+ LC_TELEPHONE LC_TIME
-+do
-+ if (set +x; test -z "`(eval \$as_var=C; export \$as_var) 2>&1`"); then
-+ eval \$as_var=C; export \$as_var
-+ else
-+ unset \$as_var
-+ fi
-+done
-+
- ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
- for ac_option
- do
diff --git a/sys-libs/gpm/gpm-1.20.4.ebuild b/sys-libs/gpm/gpm-1.20.4.ebuild
deleted file mode 100644
index ae9944e5ad40..000000000000
--- a/sys-libs/gpm/gpm-1.20.4.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.4.ebuild,v 1.3 2008/06/08 21:17:53 vapier Exp $
-
-# emacs support disabled due to Bug 99533
-
-inherit eutils toolchain-funcs flag-o-matic
-
-DESCRIPTION="Console-based mouse driver"
-HOMEPAGE="http://linux.schottelius.org/gpm/"
-SRC_URI="http://linux.schottelius.org/gpm/archives/${P}.tar.lzma"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
-IUSE="selinux"
-
-DEPEND="sys-libs/ncurses
- app-arch/lzma-utils"
-RDEPEND="selinux? ( sec-policy/selinux-gpm )"
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/${PN}-1.20.3-no-emacs-dir.patch
- epatch "${FILESDIR}"/${PN}-1.20.4-abi.patch
- append-flags -D_GNU_SOURCE #225375
-}
-
-src_compile() {
- econf \
- --libdir=/$(get_libdir) \
- --sysconfdir=/etc/gpm \
- || die "econf failed"
-
- # workaround broken release
- find -name '*.o' | xargs rm
- emake clean || die
- emake -j1 -C doc || die
-
- emake EMACS=: || die "emake failed"
-}
-
-src_install() {
- emake install DESTDIR="${D}" EMACS=: ELISP="" || die "make install failed"
-
- dosym libgpm.so.1.20.0 /$(get_libdir)/libgpm.so.1
- dosym libgpm.so.1 /$(get_libdir)/libgpm.so
- dodir /usr/$(get_libdir)
- mv "${D}"/$(get_libdir)/libgpm.a "${D}"/usr/$(get_libdir)/ || die
- gen_usr_ldscript libgpm.so
-
- insinto /etc/gpm
- doins conf/gpm-*.conf
-
- dodoc BUGS Changes README TODO
- dodoc doc/Announce doc/FAQ doc/README*
-
- newinitd "${FILESDIR}"/gpm.rc6 gpm
- newconfd "${FILESDIR}"/gpm.conf.d gpm
-}