1 |
commit: f733c76af6f80c66c237d1f905d2b488671d9e6f |
2 |
Author: Nelo-T. Wallus <nelo <AT> wallus <DOT> de> |
3 |
AuthorDate: Wed Mar 20 22:13:18 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 26 08:58:42 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f733c76a |
7 |
|
8 |
x11-wm/i3: Bump to 4.16.1 |
9 |
|
10 |
Package-Manager: Portage-2.3.62, Repoman-2.3.12 |
11 |
Signed-off-by: Nelo-T. Wallus <nelo <AT> wallus.de> |
12 |
Closes: https://github.com/gentoo/gentoo/pull/11429 |
13 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
14 |
|
15 |
x11-wm/i3/Manifest | 1 + |
16 |
x11-wm/i3/i3-4.16.1.ebuild | 111 +++++++++++++++++++++++++++++++++++++++++++++ |
17 |
2 files changed, 112 insertions(+) |
18 |
|
19 |
diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest |
20 |
index 37fd66cefdd..815dd064801 100644 |
21 |
--- a/x11-wm/i3/Manifest |
22 |
+++ b/x11-wm/i3/Manifest |
23 |
@@ -2,4 +2,5 @@ DIST i3-4.13.tar.bz2 1121298 BLAKE2B 94f3940406d43083c8dc577b4216a32a08ad4c4b58e |
24 |
DIST i3-4.14.1.tar.bz2 1173560 BLAKE2B 96a0e1d75be13098fd530c3970464ce7710063f517c0d538939de6e7c799ab6b3ec005fb50216b1db4ccefd44584c584b263ac359bd9a86be53418d8f8d4beba SHA512 ef628af002947b40e1c88b0e872c6e93d4377a9674a120bd9adc3f323a38570b05124cd3047b5a26659e72070de2d00d83fb93186510c74ad8ddbf4f3df85472 |
25 |
DIST i3-4.14.tar.gz 3936748 BLAKE2B 42678130be56bc695e5700e978ddbd34bfdaeda7a65252a05568581d76fe613e80e710f3a507110e7988077fe62048bf984d4009e722d877b178206cef600221 SHA512 fe3db78813987a15ed93d182968bcd5139e1d03f29d3e8effd9fce59f87bc8309407af0b2fa5f1cd83b8583e50ea0ade6b8eafc5dda6dea9161832dc9cebfdfe |
26 |
DIST i3-4.15.tar.bz2 1196263 BLAKE2B 36f20327202957dba30aface91af4d2c6261979e726584712a508a11cb4a612d812e771dc9f28ec4cfcbf3ebc9d92c72f5e940048516cca0f185eab20f95ae32 SHA512 60ab61b7e380342126bea12fb4371f98fcf18f6435f79a9519d3f59cfabdb170634366036e1aa20c5592da0832b03140ad1f0c72bad3cfaace0b7c57ad01dfc4 |
27 |
+DIST i3-4.16.1.tar.bz2 1211532 BLAKE2B 64a6996c0b89516069b58bf1cba92908a7f61ab04d66659b612b27411eb92fa9d49a7214eccdba33e7c33605b5f9247f69c1f0e23de629552edf113ab7520747 SHA512 3e328f8c7216697c5e484ca854605350f78844e24cc6cfb9c10e71368c2c0457387a14f819abdf8be2370d437889297f452fbf63f3924766ca81c157ab27e1b0 |
28 |
DIST i3-4.16.tar.bz2 1213251 BLAKE2B a65d15278a83bac9903a611628ea53c64cd554ab9fff2a8864e649fd962858b2f3e77fe69d0dc70affc93dc69b3cbbd7b3ee670a2af9d697e28e9e4ea3323f67 SHA512 99abd15349ee8e61c084b3664ef3a189c92ea07812ac59eb6a5441df7cebea8211be52204e39bddcc33d8c714447fddbbe2c5c8a25b756a96e2dc6732526cbf8 |
29 |
|
30 |
diff --git a/x11-wm/i3/i3-4.16.1.ebuild b/x11-wm/i3/i3-4.16.1.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..40e2cfb9d89 |
33 |
--- /dev/null |
34 |
+++ b/x11-wm/i3/i3-4.16.1.ebuild |
35 |
@@ -0,0 +1,111 @@ |
36 |
+# Copyright 1999-2019 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit autotools out-of-source virtualx |
42 |
+ |
43 |
+DESCRIPTION="An improved dynamic tiling window manager" |
44 |
+HOMEPAGE="https://i3wm.org/" |
45 |
+SRC_URI="https://i3wm.org/downloads/${P}.tar.bz2" |
46 |
+ |
47 |
+LICENSE="BSD" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~amd64 ~arm64 ~x86" |
50 |
+IUSE="doc debug test" |
51 |
+ |
52 |
+CDEPEND="dev-libs/libev |
53 |
+ dev-libs/libpcre |
54 |
+ >=dev-libs/yajl-2.0.3 |
55 |
+ x11-libs/libxcb[xkb] |
56 |
+ x11-libs/libxkbcommon[X] |
57 |
+ x11-libs/startup-notification |
58 |
+ x11-libs/xcb-util |
59 |
+ x11-libs/xcb-util-cursor |
60 |
+ x11-libs/xcb-util-keysyms |
61 |
+ x11-libs/xcb-util-wm |
62 |
+ x11-libs/xcb-util-xrm |
63 |
+ x11-misc/xkeyboard-config |
64 |
+ >=x11-libs/cairo-1.14.4[X,xcb] |
65 |
+ >=x11-libs/pango-1.30.0[X]" |
66 |
+DEPEND="${CDEPEND} |
67 |
+ test? ( |
68 |
+ dev-perl/AnyEvent |
69 |
+ >=dev-perl/X11-XCB-0.120.0 |
70 |
+ dev-perl/Inline |
71 |
+ dev-perl/Inline-C |
72 |
+ dev-perl/IPC-Run |
73 |
+ dev-perl/ExtUtils-PkgConfig |
74 |
+ dev-perl/local-lib |
75 |
+ >=virtual/perl-Test-Simple-0.940.0 |
76 |
+ x11-base/xorg-server[xephyr] |
77 |
+ ) |
78 |
+" |
79 |
+RDEPEND="${CDEPEND} |
80 |
+ dev-lang/perl |
81 |
+ dev-perl/AnyEvent-I3 |
82 |
+ dev-perl/JSON-XS" |
83 |
+BDEPEND="virtual/pkgconfig" |
84 |
+ |
85 |
+# Test without debug will apply optimization levels, which results |
86 |
+# in type-punned pointers - which in turn causes test failures. |
87 |
+REQUIRED_USE="test? ( debug )" |
88 |
+ |
89 |
+PATCHES=( |
90 |
+ "${FILESDIR}/${PN}-4.16-musl-GLOB_TILDE.patch" |
91 |
+) |
92 |
+ |
93 |
+# https://github.com/i3/i3/issues/3013 |
94 |
+RESTRICT="test" |
95 |
+ |
96 |
+src_prepare() { |
97 |
+ default |
98 |
+ |
99 |
+ cat <<- EOF > "${T}"/i3wm |
100 |
+ #!/bin/sh |
101 |
+ exec /usr/bin/i3 |
102 |
+ EOF |
103 |
+ |
104 |
+ eautoreconf |
105 |
+} |
106 |
+ |
107 |
+my_src_configure() { |
108 |
+ local myeconfargs=( |
109 |
+ $(use_enable debug) |
110 |
+ ) |
111 |
+ econf "${myeconfargs[@]}" |
112 |
+} |
113 |
+ |
114 |
+my_src_test() { |
115 |
+ emake \ |
116 |
+ test.commands_parser \ |
117 |
+ test.config_parser \ |
118 |
+ test.inject_randr15 |
119 |
+ |
120 |
+ virtx perl \ |
121 |
+ -I "${S}/testcases/lib" \ |
122 |
+ -I "${BUILD_DIR}/testcases/lib" \ |
123 |
+ testcases/complete-run.pl |
124 |
+} |
125 |
+ |
126 |
+my_src_install_all() { |
127 |
+ doman man/*.1 |
128 |
+ |
129 |
+ einstalldocs |
130 |
+ use doc && dodoc -r docs "RELEASE-NOTES-${PV}" |
131 |
+ |
132 |
+ exeinto /etc/X11/Sessions |
133 |
+ doexe "${T}/i3wm" |
134 |
+} |
135 |
+ |
136 |
+pkg_postinst() { |
137 |
+ # Only show the elog information on a new install |
138 |
+ if [[ ! ${REPLACING_VERSIONS} ]]; then |
139 |
+ elog "There are several packages that you may find useful with ${PN} and" |
140 |
+ elog "their usage is suggested by the upstream maintainers, namely:" |
141 |
+ elog " x11-misc/dmenu" |
142 |
+ elog " x11-misc/i3status" |
143 |
+ elog " x11-misc/i3lock" |
144 |
+ elog "Please refer to their description for additional info." |
145 |
+ fi |
146 |
+} |