Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/ratpoison/
Date: Wed, 12 Apr 2017 20:15:05
Message-Id: 1492028098.403a8f6b51b86d0ef614c1aa590b3e10b4fca89a.jer@gentoo
1 commit: 403a8f6b51b86d0ef614c1aa590b3e10b4fca89a
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Apr 12 20:14:29 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 12 20:14:58 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=403a8f6b
7
8 x11-wm/ratpoison: Version bump.
9
10 Package-Manager: Portage-2.3.5, Repoman-2.3.2
11
12 x11-wm/ratpoison/Manifest | 1 +
13 x11-wm/ratpoison/metadata.xml | 1 +
14 ...atpoison-9999.ebuild => ratpoison-1.4.9.ebuild} | 37 +++++++++++++---------
15 x11-wm/ratpoison/ratpoison-9999.ebuild | 25 ++++++++++-----
16 4 files changed, 41 insertions(+), 23 deletions(-)
17
18 diff --git a/x11-wm/ratpoison/Manifest b/x11-wm/ratpoison/Manifest
19 index e6ffb24851b..c0552ec7185 100644
20 --- a/x11-wm/ratpoison/Manifest
21 +++ b/x11-wm/ratpoison/Manifest
22 @@ -1 +1,2 @@
23 DIST ratpoison-1.4.8.tar.xz 364700 SHA256 da4695636d1fce8883ef2144d79ce46ebb0431a5da02440bd1ffec5dca17a0f0 SHA512 10b44489e60d3186ca407a5bd87e23dbd737cdafee22ea7284ac4db8bb4463081af483460d1899161fbae2973f4d25fbd1bfd354e3ffb59735baf69bbd6f94f6 WHIRLPOOL 53e087a28e685f7667ecbf2302db3df88382ac5840c898b3b8e7954f5c6de3b6f6928e8d021df30e5562991dab5c1c1b810556abc8fdef8979ffc062dd144426
24 +DIST ratpoison-1.4.9.tar.xz 315584 SHA256 d98fa4be025ecca453c407ff311ab3949f29f20d6d8abedf8f0716b85fc8d1f1 SHA512 97f705efd2092b8e12528496890c59f613e6fcec010aca94a5a59bd641e22dfc50dd500a4b94af7a07553a8a6359f6bec4eee0db1a7ded29d7f051904b09beef WHIRLPOOL 719aa36dce28b1cd0614e0e994f4109c3ade0d32fef7a295530f0c760c8bd3864b67ee3d2b5d9d45c89e059000721d0f564f40b33086c458f0a6df5876140e40
25
26 diff --git a/x11-wm/ratpoison/metadata.xml b/x11-wm/ratpoison/metadata.xml
27 index 652fb6eaaa8..00627b34957 100644
28 --- a/x11-wm/ratpoison/metadata.xml
29 +++ b/x11-wm/ratpoison/metadata.xml
30 @@ -18,5 +18,6 @@
31 <use>
32 <flag name="history">Use <pkg>sys-libs/readline</pkg> for history handling</flag>
33 <flag name="sloppy">Install sloppy, a focus-follows-mouse implementation for ratpoison</flag>
34 + <flag name="xrandr">Enable support for XRandR</flag>
35 </use>
36 </pkgmetadata>
37
38 diff --git a/x11-wm/ratpoison/ratpoison-9999.ebuild b/x11-wm/ratpoison/ratpoison-1.4.9.ebuild
39 similarity index 72%
40 copy from x11-wm/ratpoison/ratpoison-9999.ebuild
41 copy to x11-wm/ratpoison/ratpoison-1.4.9.ebuild
42 index 0353bcb130d..f0c2e4dc948 100644
43 --- a/x11-wm/ratpoison/ratpoison-9999.ebuild
44 +++ b/x11-wm/ratpoison/ratpoison-1.4.9.ebuild
45 @@ -1,52 +1,59 @@
46 -# Copyright 1999-2014 Gentoo Foundation
47 +# Copyright 1999-2017 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49
50 -EAPI=5
51 -inherit autotools elisp-common eutils git-r3 toolchain-funcs
52 +EAPI=6
53 +inherit elisp-common eutils toolchain-funcs
54
55 DESCRIPTION="window manager without mouse dependency"
56 HOMEPAGE="http://www.nongnu.org/ratpoison/"
57 -EGIT_REPO_URI="git://git.savannah.nongnu.org/ratpoison.git"
58 +SRC_URI="http://download.savannah.gnu.org/releases/${PN}/${P}.tar.xz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 -KEYWORDS=""
63 -IUSE="debug emacs +history sloppy +xft"
64 +KEYWORDS="~amd64 ~hppa ~ppc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux"
65 +IUSE="debug emacs +history sloppy +xft +xrandr"
66
67 RDEPEND="
68 emacs? ( virtual/emacs )
69 history? ( sys-libs/readline:= )
70 xft? ( x11-libs/libXft )
71 + xrandr? ( x11-libs/libXrandr )
72 virtual/perl-Pod-Parser
73 - x11-libs/libXinerama
74 x11-libs/libXtst
75 "
76 DEPEND="
77 ${RDEPEND}
78 - app-arch/xz-utils
79 virtual/pkgconfig
80 + x11-proto/randrproto
81 + x11-proto/xproto
82 "
83
84 SITEFILE=50ratpoison-gentoo.el
85 -DOCS=( AUTHORS ChangeLog NEWS README TODO )
86 -
87 -src_prepare() {
88 - epatch "${FILESDIR}"/ratpoison.el-gentoo.patch
89 - eautoreconf
90 -}
91 +DOCS=(
92 + AUTHORS
93 + ChangeLog
94 + NEWS
95 + README
96 + TODO
97 +)
98 +
99 +PATCHES=(
100 + "${FILESDIR}"/ratpoison.el-gentoo.patch
101 +)
102
103 src_configure() {
104 econf \
105 $(use_enable debug) \
106 $(use_enable history) \
107 $(use_with xft) \
108 + $(use_with xrandr) \
109 --without-electric-fence
110 }
111
112 src_compile() {
113 emake CFLAGS="${CFLAGS}"
114 if use emacs; then
115 - elisp-compile contrib/ratpoison.el || die "elisp-compile failed"
116 + elisp-compile contrib/ratpoison.el || die
117 fi
118
119 if use sloppy; then
120
121 diff --git a/x11-wm/ratpoison/ratpoison-9999.ebuild b/x11-wm/ratpoison/ratpoison-9999.ebuild
122 index 0353bcb130d..568ee3d06f2 100644
123 --- a/x11-wm/ratpoison/ratpoison-9999.ebuild
124 +++ b/x11-wm/ratpoison/ratpoison-9999.ebuild
125 @@ -1,7 +1,7 @@
126 -# Copyright 1999-2014 Gentoo Foundation
127 +# Copyright 1999-2017 Gentoo Foundation
128 # Distributed under the terms of the GNU General Public License v2
129
130 -EAPI=5
131 +EAPI=6
132 inherit autotools elisp-common eutils git-r3 toolchain-funcs
133
134 DESCRIPTION="window manager without mouse dependency"
135 @@ -11,27 +11,35 @@ EGIT_REPO_URI="git://git.savannah.nongnu.org/ratpoison.git"
136 LICENSE="GPL-2"
137 SLOT="0"
138 KEYWORDS=""
139 -IUSE="debug emacs +history sloppy +xft"
140 +IUSE="debug emacs +history sloppy +xft +xrandr"
141
142 RDEPEND="
143 emacs? ( virtual/emacs )
144 history? ( sys-libs/readline:= )
145 xft? ( x11-libs/libXft )
146 + xrandr? ( x11-libs/libXrandr )
147 virtual/perl-Pod-Parser
148 - x11-libs/libXinerama
149 x11-libs/libXtst
150 "
151 DEPEND="
152 ${RDEPEND}
153 - app-arch/xz-utils
154 virtual/pkgconfig
155 + x11-proto/randrproto
156 + x11-proto/xproto
157 "
158
159 SITEFILE=50ratpoison-gentoo.el
160 -DOCS=( AUTHORS ChangeLog NEWS README TODO )
161 +DOCS=(
162 + AUTHORS
163 + ChangeLog
164 + NEWS
165 + README
166 + TODO
167 +)
168
169 src_prepare() {
170 - epatch "${FILESDIR}"/ratpoison.el-gentoo.patch
171 + eapply "${FILESDIR}"/ratpoison.el-gentoo.patch
172 +
173 eautoreconf
174 }
175
176 @@ -40,13 +48,14 @@ src_configure() {
177 $(use_enable debug) \
178 $(use_enable history) \
179 $(use_with xft) \
180 + $(use_with xrandr) \
181 --without-electric-fence
182 }
183
184 src_compile() {
185 emake CFLAGS="${CFLAGS}"
186 if use emacs; then
187 - elisp-compile contrib/ratpoison.el || die "elisp-compile failed"
188 + elisp-compile contrib/ratpoison.el || die
189 fi
190
191 if use sloppy; then