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