1 |
commit: b97714981dc43da022fe9e406ae2c16613931d57 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat May 15 00:07:13 2021 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat May 15 00:07:13 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b9771498 |
7 |
|
8 |
sys-libs/gpm: drop 1.20.7-r2 |
9 |
|
10 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
11 |
|
12 |
sys-libs/gpm/gpm-1.20.7-r2.ebuild | 99 --------------------------------------- |
13 |
1 file changed, 99 deletions(-) |
14 |
|
15 |
diff --git a/sys-libs/gpm/gpm-1.20.7-r2.ebuild b/sys-libs/gpm/gpm-1.20.7-r2.ebuild |
16 |
deleted file mode 100644 |
17 |
index 15121136759..00000000000 |
18 |
--- a/sys-libs/gpm/gpm-1.20.7-r2.ebuild |
19 |
+++ /dev/null |
20 |
@@ -1,99 +0,0 @@ |
21 |
-# Copyright 1999-2021 Gentoo Authors |
22 |
-# Distributed under the terms of the GNU General Public License v2 |
23 |
- |
24 |
-# emacs support disabled due to #99533 #335900 |
25 |
- |
26 |
-EAPI=5 |
27 |
- |
28 |
-inherit epatch systemd autotools multilib-minimal usr-ldscript |
29 |
- |
30 |
-DESCRIPTION="Console-based mouse driver" |
31 |
-HOMEPAGE="https://www.nico.schottelius.org/software/gpm/" |
32 |
-SRC_URI="https://www.nico.schottelius.org/software/${PN}/archives/${P}.tar.lzma |
33 |
- mirror://gentoo/${P}-docs.patch.xz" |
34 |
- |
35 |
-LICENSE="GPL-2" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86" |
38 |
-IUSE="selinux static-libs" |
39 |
- |
40 |
-RDEPEND=">=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] |
41 |
- selinux? ( sec-policy/selinux-gpm )" |
42 |
-DEPEND=">=sys-libs/ncurses-5.9-r3:0=[${MULTILIB_USEDEP}] |
43 |
- app-arch/xz-utils |
44 |
- sys-apps/texinfo |
45 |
- virtual/yacc" |
46 |
- |
47 |
-src_prepare() { |
48 |
- epatch "${FILESDIR}"/${P}-sysmacros.patch |
49 |
- |
50 |
- # Hack up the docs until we get this sorted upstream. |
51 |
- # https://github.com/telmich/gpm/issues/8 |
52 |
- epatch "${WORKDIR}"/${P}-docs.patch |
53 |
- touch -r . doc/* || die |
54 |
- |
55 |
- # bug #629774 |
56 |
- epatch "${FILESDIR}"/${P}-glibc-2.26.patch |
57 |
- |
58 |
- # bug #705878 |
59 |
- epatch "${FILESDIR}"/${P}-gcc-10.patch |
60 |
- |
61 |
- epatch_user |
62 |
- |
63 |
- # fix ABI values |
64 |
- sed -i \ |
65 |
- -e '/^abi_lev=/s:=.*:=1:' \ |
66 |
- -e '/^abi_age=/s:=.*:=20:' \ |
67 |
- configure.ac.footer || die |
68 |
- # Rebuild autotools since release doesn't include them. |
69 |
- # Should be fixed with the next release though. |
70 |
- # https://github.com/telmich/gpm/pull/15 |
71 |
- sed -i -e '/ACLOCAL/,$d' autogen.sh || die |
72 |
- ./autogen.sh |
73 |
- eautoreconf |
74 |
- |
75 |
- # Out-of-tree builds are broken. |
76 |
- # https://github.com/telmich/gpm/issues/16 |
77 |
- multilib_copy_sources |
78 |
-} |
79 |
- |
80 |
-multilib_src_configure() { |
81 |
- econf \ |
82 |
- --sysconfdir=/etc/gpm \ |
83 |
- $(use_enable static-libs static) \ |
84 |
- emacs=/bin/false |
85 |
-} |
86 |
- |
87 |
-_emake() { |
88 |
- emake \ |
89 |
- EMACS=: ELISP="" \ |
90 |
- $(multilib_is_native_abi || echo "PROG= ") \ |
91 |
- "$@" |
92 |
-} |
93 |
- |
94 |
-multilib_src_compile() { |
95 |
- _emake |
96 |
-} |
97 |
- |
98 |
-multilib_src_test() { |
99 |
- _emake check |
100 |
-} |
101 |
- |
102 |
-multilib_src_install() { |
103 |
- _emake DESTDIR="${D}" install |
104 |
- |
105 |
- dosym libgpm.so.1 /usr/$(get_libdir)/libgpm.so |
106 |
- gen_usr_ldscript -a gpm |
107 |
-} |
108 |
- |
109 |
-multilib_src_install_all() { |
110 |
- insinto /etc/gpm |
111 |
- doins conf/gpm-*.conf |
112 |
- |
113 |
- dodoc README TODO |
114 |
- dodoc doc/Announce doc/FAQ doc/README* |
115 |
- |
116 |
- newinitd "${FILESDIR}"/gpm.rc6-2 gpm |
117 |
- newconfd "${FILESDIR}"/gpm.conf.d gpm |
118 |
- systemd_dounit "${FILESDIR}"/gpm.service |
119 |
-} |