Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/i3/
Date: Sun, 08 Sep 2019 08:03:12
Message-Id: 1567929783.92e98d83dc8a147c44036fc2caee6d523f2a9422.polynomial-c@gentoo
1 commit: 92e98d83dc8a147c44036fc2caee6d523f2a9422
2 Author: Nelo-T. Wallus <nelo <AT> wallus <DOT> de>
3 AuthorDate: Sun Sep 8 07:37:24 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 8 08:03:03 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92e98d83
7
8 x11-wm/i3: Bump to v4.17.1
9
10 Package-Manager: Portage-2.3.75, Repoman-2.3.12
11 Signed-off-by: Nelo-T. Wallus <nelo <AT> wallus.de>
12 Closes: https://github.com/gentoo/gentoo/pull/12885
13 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
14
15 x11-wm/i3/Manifest | 1 +
16 x11-wm/i3/i3-4.17.1.ebuild | 110 +++++++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 111 insertions(+)
18
19 diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest
20 index c2509315514..29255354a40 100644
21 --- a/x11-wm/i3/Manifest
22 +++ b/x11-wm/i3/Manifest
23 @@ -2,3 +2,4 @@ DIST i3-4.14.tar.gz 3936748 BLAKE2B 42678130be56bc695e5700e978ddbd34bfdaeda7a652
24 DIST i3-4.15.tar.bz2 1196263 BLAKE2B 36f20327202957dba30aface91af4d2c6261979e726584712a508a11cb4a612d812e771dc9f28ec4cfcbf3ebc9d92c72f5e940048516cca0f185eab20f95ae32 SHA512 60ab61b7e380342126bea12fb4371f98fcf18f6435f79a9519d3f59cfabdb170634366036e1aa20c5592da0832b03140ad1f0c72bad3cfaace0b7c57ad01dfc4
25 DIST i3-4.16.1.tar.bz2 1211532 BLAKE2B 64a6996c0b89516069b58bf1cba92908a7f61ab04d66659b612b27411eb92fa9d49a7214eccdba33e7c33605b5f9247f69c1f0e23de629552edf113ab7520747 SHA512 3e328f8c7216697c5e484ca854605350f78844e24cc6cfb9c10e71368c2c0457387a14f819abdf8be2370d437889297f452fbf63f3924766ca81c157ab27e1b0
26 DIST i3-4.16.tar.bz2 1213251 BLAKE2B a65d15278a83bac9903a611628ea53c64cd554ab9fff2a8864e649fd962858b2f3e77fe69d0dc70affc93dc69b3cbbd7b3ee670a2af9d697e28e9e4ea3323f67 SHA512 99abd15349ee8e61c084b3664ef3a189c92ea07812ac59eb6a5441df7cebea8211be52204e39bddcc33d8c714447fddbbe2c5c8a25b756a96e2dc6732526cbf8
27 +DIST i3-4.17.1.tar.bz2 1218418 BLAKE2B eb798eee2b618691ceb47b72c08fe09b09e2913c17fe667fab95426069c86497bff67278bea5fc97fdf90ebdfc6574e68cad36b21036a63d053edced1edf8592 SHA512 af397dc1768ea6530e4b2ce8ef21b20ecff8ab9eebf380df224456173eea4c3bacf28b55c8efcdc70f76f0d66543c163564a94cfd66028221ace481fa3c2913f
28
29 diff --git a/x11-wm/i3/i3-4.17.1.ebuild b/x11-wm/i3/i3-4.17.1.ebuild
30 new file mode 100644
31 index 00000000000..70b10d43e8f
32 --- /dev/null
33 +++ b/x11-wm/i3/i3-4.17.1.ebuild
34 @@ -0,0 +1,110 @@
35 +# Copyright 1999-2019 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-2.0.3
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-1.14.4[X,xcb]
64 + >=x11-libs/pango-1.30.0[X]"
65 +DEPEND="${CDEPEND}
66 + test? (
67 + dev-perl/AnyEvent
68 + >=dev-perl/X11-XCB-0.120.0
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-0.940.0
75 + x11-base/xorg-server[xephyr]
76 + )"
77 +RDEPEND="${CDEPEND}
78 + dev-lang/perl
79 + dev-perl/AnyEvent-I3
80 + dev-perl/JSON-XS"
81 +BDEPEND="virtual/pkgconfig"
82 +
83 +# Test without debug will apply optimization levels, which results
84 +# in type-punned pointers - which in turn causes test failures.
85 +REQUIRED_USE="test? ( debug )"
86 +
87 +PATCHES=(
88 + "${FILESDIR}/${PN}-4.16-musl-GLOB_TILDE.patch"
89 +)
90 +
91 +# https://github.com/i3/i3/issues/3013
92 +RESTRICT="test"
93 +
94 +src_prepare() {
95 + default
96 +
97 + cat <<- EOF > "${T}"/i3wm
98 + #!/bin/sh
99 + exec /usr/bin/i3
100 + EOF
101 +
102 + eautoreconf
103 +}
104 +
105 +my_src_configure() {
106 + local myeconfargs=(
107 + $(use_enable debug)
108 + )
109 + econf "${myeconfargs[@]}"
110 +}
111 +
112 +my_src_test() {
113 + emake \
114 + test.commands_parser \
115 + test.config_parser \
116 + test.inject_randr15
117 +
118 + virtx perl \
119 + -I "${S}/testcases/lib" \
120 + -I "${BUILD_DIR}/testcases/lib" \
121 + testcases/complete-run.pl
122 +}
123 +
124 +my_src_install_all() {
125 + doman man/*.1
126 +
127 + einstalldocs
128 + use doc && dodoc -r docs "RELEASE-NOTES-${PV}"
129 +
130 + exeinto /etc/X11/Sessions
131 + doexe "${T}/i3wm"
132 +}
133 +
134 +pkg_postinst() {
135 + # Only show the elog information on a new install
136 + if [[ ! ${REPLACING_VERSIONS} ]]; then
137 + elog "There are several packages that you may find useful with ${PN} and"
138 + elog "their usage is suggested by the upstream maintainers, namely:"
139 + elog " x11-misc/dmenu"
140 + elog " x11-misc/i3status"
141 + elog " x11-misc/i3lock"
142 + elog "Please refer to their description for additional info."
143 + fi
144 +}