From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A742F158020 for ; Sat, 29 Oct 2022 11:03:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7933AE07E0; Sat, 29 Oct 2022 11:03:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 13274E075F for ; Sat, 29 Oct 2022 11:03:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 386933406F2 for ; Sat, 29 Oct 2022 11:03:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 710CE62F for ; Sat, 29 Oct 2022 11:03:04 +0000 (UTC) From: "Jakov Smolić" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" Message-ID: <1667041280.d62e8b27f7d90ed75d0a9a73caa32234e5962cd7.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/i3/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-wm/i3/Manifest x11-wm/i3/i3-4.21.1.ebuild X-VCS-Directories: x11-wm/i3/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: d62e8b27f7d90ed75d0a9a73caa32234e5962cd7 X-VCS-Branch: master Date: Sat, 29 Oct 2022 11:03:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 10151d09-43e2-4469-90a0-39d963965d6c X-Archives-Hash: 22d0227b3956eed716b922437398a961 commit: d62e8b27f7d90ed75d0a9a73caa32234e5962cd7 Author: Jakov Smolić gentoo org> AuthorDate: Sat Oct 29 11:01:20 2022 +0000 Commit: Jakov Smolić gentoo org> CommitDate: Sat Oct 29 11:01:20 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d62e8b27 x11-wm/i3: add 4.21.1 Signed-off-by: Jakov Smolić gentoo.org> x11-wm/i3/Manifest | 1 + x11-wm/i3/i3-4.21.1.ebuild | 107 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 108 insertions(+) diff --git a/x11-wm/i3/Manifest b/x11-wm/i3/Manifest index be1a92133669..fc51fa17f6b5 100644 --- a/x11-wm/i3/Manifest +++ b/x11-wm/i3/Manifest @@ -1,2 +1,3 @@ DIST i3-4.20.1.tar.xz 1284984 BLAKE2B a7943b3bc680eb3df596b008d751d034fc6ccf2b6891db731b9af5164fdcfc2872c0756c81c3f11f94a30aa9bdc4ecf4b47d20022a214bb6eb6c06fd78458fb3 SHA512 c0f6b991d46180ca470cbb7ab4cf5492552beb9dbf2631c61c8d92d0647106885481962381682e9129f3993d70bc6e5de506da1d32c3710fca64a66d51e8c8ce +DIST i3-4.21.1.tar.xz 1297400 BLAKE2B 44661bd9edf0bee384b8be88cbf2361bb2ad26fdbaee9a2e010ebdee662b31129057a1a183f46bef0839a545f63c70d00903b0ec4693c1bc9390c84d7a78ac44 SHA512 9656b302d6654f38c48bfa1d97a89eaf3ed395027039b6903005d81a9e95d2c4aeba561cf8d1aa36962ba9975996f133ce4298132cddde0f70ba36f57af3197d DIST i3-4.21.tar.xz 1294968 BLAKE2B cf53e0087cb4dabc8eefa8430cc5f7057de927ef49f8172a05c62d690ca60e5d20733da4f3a6230d311bf54a94f117d21665e3d2b39b7f45814e3b0462e12efe SHA512 db56d93850b0cbc8352f5762d9596d38a641e4cf7330cf0afd3778c41a8ed140bbbed3e5419023b1bf3dcc1c470da40018aac9bf684b18d02c12ffe886d29193 diff --git a/x11-wm/i3/i3-4.21.1.ebuild b/x11-wm/i3/i3-4.21.1.ebuild new file mode 100644 index 000000000000..4c767977870b --- /dev/null +++ b/x11-wm/i3/i3-4.21.1.ebuild @@ -0,0 +1,107 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson optfeature virtualx + +DESCRIPTION="An improved dynamic tiling window manager" +HOMEPAGE="https://i3wm.org/" +if [[ "${PV}" = *9999 ]]; then + EGIT_REPO_URI="https://github.com/i3/i3" + EGIT_BRANCH="next" + inherit git-r3 +else + SRC_URI="https://i3wm.org/downloads/${P}.tar.xz" + KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86" +fi + +LICENSE="BSD" +SLOT="0" +IUSE="doc test" +RESTRICT="!test? ( test )" + +COMMON_DEPEND=" + dev-libs/libev + dev-libs/libpcre2 + dev-libs/yajl + x11-libs/cairo[X,xcb(+)] + x11-libs/libxcb[xkb] + x11-libs/libxkbcommon[X] + x11-libs/pango[X] + x11-libs/startup-notification + x11-libs/xcb-util + x11-libs/xcb-util-cursor + x11-libs/xcb-util-keysyms + x11-libs/xcb-util-wm + x11-libs/xcb-util-xrm + x11-misc/xkeyboard-config +" +DEPEND=" + ${COMMON_DEPEND} + test? ( + dev-perl/AnyEvent + dev-perl/ExtUtils-PkgConfig + dev-perl/Inline + dev-perl/Inline-C + dev-perl/IPC-Run + dev-perl/local-lib + dev-perl/X11-XCB + virtual/perl-Test-Simple + x11-base/xorg-server[xephyr] + x11-misc/xvfb-run + ) + doc? ( + app-text/asciidoc + app-text/xmlto + dev-lang/perl + ) +" +RDEPEND=" + ${COMMON_DEPEND} + dev-lang/perl + dev-perl/AnyEvent-I3 + dev-perl/JSON-XS +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-4.16-musl-GLOB_TILDE.patch +) + +src_prepare() { + default + + cat > "${T}"/i3wm <<- EOF || die + #!/bin/sh + exec /usr/bin/i3 + EOF +} + +src_configure() { + local emesonargs=( + -Ddocdir="${EPREFIX}"/usr/share/doc/${PF} + $(meson_use doc docs) + $(meson_use doc mans) + ) + + meson_src_configure +} + +src_test() { + virtx meson_src_test +} + +src_install() { + meson_src_install + + exeinto /etc/X11/Sessions + doexe "${T}"/i3wm +} + +pkg_postinst() { + optfeature_header "There are several packages that may be useful with i3:" + optfeature "application launcher" x11-misc/dmenu + optfeature "simple screen locker" x11-misc/i3lock + optfeature "status bar generator" x11-misc/i3status +}