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, 25 Oct 2020 19:26:58
Message-Id: 1603654007.8ccd4dfee3003892ae8f1c6e6751a9fa9f59f7bc.polynomial-c@gentoo
1 commit: 8ccd4dfee3003892ae8f1c6e6751a9fa9f59f7bc
2 Author: Nelo-T. Wallus <nelo <AT> wallus <DOT> de>
3 AuthorDate: Thu Oct 22 18:17:06 2020 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 25 19:26:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ccd4dfe
7
8 x11-wm/i3: Bump to v4.18.3
9
10 Package-Manager: Portage-3.0.5, Repoman-2.3.23
11 Signed-off-by: Nelo-T. Wallus <nelo <AT> wallus.de>
12 Closes: https://github.com/gentoo/gentoo/pull/18003
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.3.ebuild | 103 +++++++++++++++++++++++++++++++++++++++++++++
17 2 files changed, 104 insertions(+)
18
19 diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest
20 index 88a378d3834..f4ce02652a2 100644
21 --- a/x11-wm/i3/Manifest
22 +++ b/x11-wm/i3/Manifest
23 @@ -2,4 +2,5 @@ DIST i3-4.14.tar.gz 3936748 BLAKE2B 42678130be56bc695e5700e978ddbd34bfdaeda7a652
24 DIST i3-4.17.1.tar.bz2 1218418 BLAKE2B eb798eee2b618691ceb47b72c08fe09b09e2913c17fe667fab95426069c86497bff67278bea5fc97fdf90ebdfc6574e68cad36b21036a63d053edced1edf8592 SHA512 af397dc1768ea6530e4b2ce8ef21b20ecff8ab9eebf380df224456173eea4c3bacf28b55c8efcdc70f76f0d66543c163564a94cfd66028221ace481fa3c2913f
25 DIST i3-4.18.1.tar.bz2 1217703 BLAKE2B 469a6ac09004f95861655858c47d9e6b2f378152bec7b7c6e7b08f06ee387043b8e2c382f888f14daf806ae8764d934025118e997f072709eee23c5cc52de21d SHA512 b001f539b1daf78be6dd9335a7c0474d30f8d969f79d131391ebd9ca310a058a1cc1234e4a9e60552efd520fc4983571f3c0b8cbd7be978e45957daaf86b3e90
26 DIST i3-4.18.2.tar.bz2 1218440 BLAKE2B 55fba66b2399730cb3bc63d76efff18a439aad755c943f06d7622bd7c4d91502b3750cff638b98ef86d6f99746bc1858ffbd9396e2d89a7220f513575879e08a SHA512 997c7cdf32f95ba25cfcd483a09f7e37e5219e4501baefa5c1865ddffd206bc9725211e4082663fab4174dc947b663ff454d343a7e30340ac3ea451f999417fc
27 +DIST i3-4.18.3.tar.bz2 1218766 BLAKE2B c394bbe9882dc893107f0c948632a3a79c52db75b75b2890f6f43fa60d80ce82d1c8a8c32a8793f59d9a6f929ab038765dbe3813c3c6bc1b79bebbbbde772451 SHA512 61599b79247ec546819bab22666a78fc8dc77eecbcf6055efb6b52720290fa7f72719ac6670396a6dfb54858781e438b5207c15fdf2cf9e2424a1b84ffeb749c
28 DIST i3-4.18.tar.bz2 1218591 BLAKE2B 582b7ba3a54edf8dd2657add05eb54a64b7c004761a1a248d91dfcb061cb9df215ff35301c125b11aa69b571daeacd5732b498934c1fb17f69404a101fd16ec8 SHA512 0bbfda7f4b20a92a50ffb6abbfc3f6bfe6bb4c987ad4b5b1791192eb23b8c3389cc9949a699901797370c14de1ff8e12447a3b8ce330ab7d300fafdb60a432ec
29
30 diff --git a/x11-wm/i3/i3-4.18.3.ebuild b/x11-wm/i3/i3-4.18.3.ebuild
31 new file mode 100644
32 index 00000000000..58a3f832182
33 --- /dev/null
34 +++ b/x11-wm/i3/i3-4.18.3.ebuild
35 @@ -0,0 +1,103 @@
36 +# Copyright 1999-2020 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 ~arm ~arm64 ~x86"
50 +IUSE="doc debug test"
51 +
52 +CDEPEND="dev-libs/libev
53 + dev-libs/libpcre
54 + dev-libs/yajl
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[X,xcb(+)]
65 + x11-libs/pango[X]"
66 +DEPEND="${CDEPEND}
67 + test? (
68 + dev-perl/AnyEvent
69 + dev-perl/X11-XCB
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
76 + x11-base/xorg-server[xephyr]
77 + x11-misc/xvfb-run
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 check
116 +}
117 +
118 +my_src_install_all() {
119 + doman man/*.1
120 +
121 + einstalldocs
122 + use doc && dodoc -r docs "RELEASE-NOTES-${PV}"
123 +
124 + exeinto /etc/X11/Sessions
125 + doexe "${T}/i3wm"
126 +}
127 +
128 +pkg_postinst() {
129 + # Only show the elog information on a new install
130 + if [[ ! ${REPLACING_VERSIONS} ]]; then
131 + elog "There are several packages that you may find useful with ${PN} and"
132 + elog "their usage is suggested by the upstream maintainers, namely:"
133 + elog " x11-misc/dmenu"
134 + elog " x11-misc/i3status"
135 + elog " x11-misc/i3lock"
136 + elog "Please refer to their description for additional info."
137 + fi
138 +}