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: Fri, 13 Oct 2017 09:38:20
Message-Id: 1507886854.3af8a51ed3bd9387b17b387c59f6ce81606a83ad.polynomial-c@gentoo
1 commit: 3af8a51ed3bd9387b17b387c59f6ce81606a83ad
2 Author: Nelo-T. Wallus <nelo <AT> wallus <DOT> de>
3 AuthorDate: Sat Oct 7 06:25:26 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 13 09:27:34 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3af8a51e
7
8 x11-wm/i3: Bump version to 4.14.1
9
10 Package-Manager: Portage-2.3.11, Repoman-2.3.3
11 Closes: https://github.com/gentoo/gentoo/pull/5879
12
13 x11-wm/i3/Manifest | 1 +
14 x11-wm/i3/i3-4.14.1.ebuild | 119 +++++++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 120 insertions(+)
16
17 diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest
18 index 8329aa932cd..312a27d4fac 100644
19 --- a/x11-wm/i3/Manifest
20 +++ b/x11-wm/i3/Manifest
21 @@ -1,2 +1,3 @@
22 DIST i3-4.13.tar.bz2 1121298 SHA256 94c13183e527a984132a3b050c8bf629626502a6e133e07b413641aec5f8cf8a SHA512 1bb1044e8d86e78d3ccb79d49f0eb26665dcd05a348058a5e57138151d74f57d77830efc3025893170fe1b8ec612f739f75247a427410f96286b09afd2c5f14c WHIRLPOOL c0e9b205837e30d214d525af6ceb8adcc4cbbba42d9aa0eab4e7639cbd8884d827c5783590eb23a6790e8d8d87fb81884afa369e48a7ae474613392dc6f9b371
23 +DIST i3-4.14.1.tar.bz2 1173560 SHA256 d0063ac561f3aa8d7e31e137356815bad781bd6ad774030362c89abe96ab5fb1 SHA512 ef628af002947b40e1c88b0e872c6e93d4377a9674a120bd9adc3f323a38570b05124cd3047b5a26659e72070de2d00d83fb93186510c74ad8ddbf4f3df85472 WHIRLPOOL 95bfc65c2ff172121ed4091efc5d6d770eafe1e53189018335b048363e669c02a5221dfecece70d2c357de41cb8a42f19bca8b46a45e1a423a1e20741c8b855d
24 DIST i3-4.14.tar.gz 3936748 SHA256 6807a578275be936289986a77f77320e1581dad9e752f2fc7c443b6aeaa0d14c SHA512 fe3db78813987a15ed93d182968bcd5139e1d03f29d3e8effd9fce59f87bc8309407af0b2fa5f1cd83b8583e50ea0ade6b8eafc5dda6dea9161832dc9cebfdfe WHIRLPOOL 57aa268c52a4271a6170042c31b8e4cba82486ffce96981c96a305e2d7c613f2abc6e5f395c598fc93acfffdf34d45c8f131b79deedc2d2fc7cb5d1dd5ae2499
25
26 diff --git a/x11-wm/i3/i3-4.14.1.ebuild b/x11-wm/i3/i3-4.14.1.ebuild
27 new file mode 100644
28 index 00000000000..bd58f0a26c7
29 --- /dev/null
30 +++ b/x11-wm/i3/i3-4.14.1.ebuild
31 @@ -0,0 +1,119 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +AEVER=0.17
38 +
39 +VIRTUALX_REQUIRED=always
40 +
41 +inherit autotools 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 +LICENSE="BSD"
47 +SLOT="0"
48 +KEYWORDS="~amd64 ~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-libs/cairo-1.14.4[X,xcb]
63 + >=x11-libs/pango-1.30.0[X]"
64 +DEPEND="${CDEPEND}
65 + app-text/asciidoc
66 + doc? ( app-text/xmlto dev-lang/perl )
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 + virtual/pkgconfig"
79 +RDEPEND="${CDEPEND}
80 + dev-lang/perl
81 + dev-perl/AnyEvent-I3
82 + dev-perl/JSON-XS"
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 +DOCS=(
89 + "RELEASE-NOTES-${PV}"
90 + docs
91 +)
92 +PATCHES=(
93 + "${FILESDIR}/${PN}-musl-GLOB_TILDE.patch"
94 +)
95 +
96 +# https://github.com/i3/i3/issues/3013
97 +RESTRICT="test"
98 +
99 +src_test() {
100 + emake -C "${CBUILD}" \
101 + test.commands_parser \
102 + test.config_parser \
103 + test.inject_randr15
104 +
105 + virtx perl \
106 + -I "${S}/testcases/lib" \
107 + -I "${CBUILD}/testcases/lib" \
108 + "${CBUILD}/testcases/complete-run.pl"
109 +}
110 +
111 +src_prepare() {
112 + default
113 +
114 + cat <<- EOF > "${T}"/i3wm
115 + #!/bin/sh
116 + exec /usr/bin/i3
117 + EOF
118 +
119 + eautoreconf
120 +}
121 +
122 +src_configure() {
123 + local myeconfargs=(
124 + $(use_enable debug)
125 + )
126 + econf "${myeconfargs[@]}"
127 +}
128 +
129 +src_compile() {
130 + emake -C "${CBUILD}"
131 +}
132 +
133 +src_install() {
134 + emake -C "${CBUILD}" DESTDIR="${D}" install
135 + doman "${CBUILD}"/man/*.1
136 +
137 + use doc && einstalldocs
138 +
139 + exeinto /etc/X11/Sessions
140 + doexe "${T}/i3wm"
141 +}
142 +
143 +pkg_postinst() {
144 + einfo "There are several packages that you may find useful with ${PN} and"
145 + einfo "their usage is suggested by the upstream maintainers, namely:"
146 + einfo " x11-misc/dmenu"
147 + einfo " x11-misc/i3status"
148 + einfo " x11-misc/i3lock"
149 + einfo "Please refer to their description for additional info."
150 +}