1 |
floppym 12/12/30 23:53:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: gpm-1.20.7-r1.ebuild |
5 |
Log: |
6 |
Install systemd unit taken from Fedora, bug 449350. |
7 |
|
8 |
(Portage version: 2.2.0_alpha149/cvs/Linux x86_64, signed Manifest commit with key 0BBEEA1FEA4843A4) |
9 |
|
10 |
Revision Changes Path |
11 |
1.92 sys-libs/gpm/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/gpm/ChangeLog?rev=1.92&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/gpm/ChangeLog?rev=1.92&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/gpm/ChangeLog?r1=1.91&r2=1.92 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v |
20 |
retrieving revision 1.91 |
21 |
retrieving revision 1.92 |
22 |
diff -u -r1.91 -r1.92 |
23 |
--- ChangeLog 28 Oct 2012 11:35:56 -0000 1.91 |
24 |
+++ ChangeLog 30 Dec 2012 23:53:45 -0000 1.92 |
25 |
@@ -1,6 +1,12 @@ |
26 |
# ChangeLog for sys-libs/gpm |
27 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.91 2012/10/28 11:35:56 vapier Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/ChangeLog,v 1.92 2012/12/30 23:53:45 floppym Exp $ |
30 |
+ |
31 |
+*gpm-1.20.7-r1 (30 Dec 2012) |
32 |
+ |
33 |
+ 30 Dec 2012; Mike Gilbert <floppym@g.o> +files/gpm.service, |
34 |
+ +gpm-1.20.7-r1.ebuild: |
35 |
+ Install systemd unit taken from Fedora, bug 449350. |
36 |
|
37 |
*gpm-1.20.7 (28 Oct 2012) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-libs/gpm/gpm-1.20.7-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/gpm/gpm-1.20.7-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/gpm/gpm-1.20.7-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: gpm-1.20.7-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2012 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/gpm/gpm-1.20.7-r1.ebuild,v 1.1 2012/12/30 23:53:45 floppym Exp $ |
52 |
|
53 |
# emacs support disabled due to #99533 #335900 |
54 |
|
55 |
EAPI="4" |
56 |
|
57 |
inherit eutils systemd toolchain-funcs autotools |
58 |
|
59 |
DESCRIPTION="Console-based mouse driver" |
60 |
HOMEPAGE="http://www.nico.schottelius.org/software/gpm/" |
61 |
SRC_URI="http://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma" |
62 |
|
63 |
LICENSE="GPL-2" |
64 |
SLOT="0" |
65 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" |
66 |
IUSE="selinux static-libs" |
67 |
|
68 |
RDEPEND="sys-libs/ncurses |
69 |
selinux? ( sec-policy/selinux-gpm )" |
70 |
DEPEND="sys-libs/ncurses |
71 |
app-arch/xz-utils |
72 |
virtual/yacc" |
73 |
|
74 |
src_prepare() { |
75 |
# fix ABI values |
76 |
sed -i \ |
77 |
-e '/^abi_lev=/s:=.*:=1:' \ |
78 |
-e '/^abi_age=/s:=.*:=20:' \ |
79 |
configure.ac.footer || die |
80 |
sed -i -e '/ACLOCAL/,$d' autogen.sh || die |
81 |
./autogen.sh |
82 |
eautoreconf |
83 |
} |
84 |
|
85 |
src_configure() { |
86 |
econf \ |
87 |
--sysconfdir=/etc/gpm \ |
88 |
$(use_enable static-libs static) \ |
89 |
emacs=/bin/false |
90 |
} |
91 |
|
92 |
src_compile() { |
93 |
# make sure nothing compiled is left |
94 |
emake clean |
95 |
emake EMACS=: |
96 |
} |
97 |
|
98 |
src_install() { |
99 |
emake install DESTDIR="${D}" EMACS=: ELISP="" |
100 |
|
101 |
dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so |
102 |
gen_usr_ldscript -a gpm |
103 |
|
104 |
insinto /etc/gpm |
105 |
doins conf/gpm-*.conf |
106 |
|
107 |
dodoc README TODO |
108 |
dodoc doc/Announce doc/FAQ doc/README* |
109 |
|
110 |
newinitd "${FILESDIR}"/gpm.rc6-2 gpm |
111 |
newconfd "${FILESDIR}"/gpm.conf.d gpm |
112 |
systemd_dounit "${FILESDIR}"/gpm.service |
113 |
} |