diff options
Diffstat (limited to 'x11-wm/i3-gaps')
-rw-r--r-- | x11-wm/i3-gaps/Manifest | 8 | ||||
-rw-r--r-- | x11-wm/i3-gaps/files/i3-gaps-4.18-musl.patch | 74 | ||||
-rw-r--r-- | x11-wm/i3-gaps/i3-gaps-4.20.1.ebuild | 85 | ||||
-rw-r--r-- | x11-wm/i3-gaps/i3-gaps-4.21-r2.ebuild | 85 | ||||
-rw-r--r-- | x11-wm/i3-gaps/i3-gaps-4.21.1.ebuild | 85 | ||||
-rw-r--r-- | x11-wm/i3-gaps/metadata.xml | 11 |
6 files changed, 0 insertions, 348 deletions
diff --git a/x11-wm/i3-gaps/Manifest b/x11-wm/i3-gaps/Manifest deleted file mode 100644 index 40d39e2e5021..000000000000 --- a/x11-wm/i3-gaps/Manifest +++ /dev/null @@ -1,8 +0,0 @@ -AUX i3-gaps-4.18-musl.patch 2157 BLAKE2B 4fef024279d11e996c5c204f27b5a8b9fb654b392aeef19b92d5c3f9dfb203290fad7c31c003a046ee91c1201d940f3050a950721da8f58bdfd75495cb9be05c SHA512 14f70f067679b952e1ffc1965ea460173799292a33b5df6d3b2ca2c091219d6cd1f14b2d41b187452a83923b5b34cabe218ecb6fa70702accbef7562dd01f021 -DIST i3-gaps-4.20.1.tar.gz 4199697 BLAKE2B b9297f95d8e29f6bcc2fa89ba99c30bd9c4df3549de8b4eff018c0ad1e39e1c5a89281e5a0994596b6af08e8bdf94b8df866667042023dc757fa2596770484be SHA512 0f3cab505f5dcd11d4d9ab63aa84d7d90e63ffebe6a867c9592c7979fe57d37db69869d555ea2127b84caa108778a028e03fa8fab1432d897c02723e3c83e6ba -DIST i3-gaps-4.21.1.tar.gz 4214689 BLAKE2B 5194a9b148c9909834f70c6cc3aaf771682bf0f1874358ef8c54004fa62fa4a648ccbf42c7e122a8f1d2769773efb3a39378a426506bff59400258ca0d485687 SHA512 9ef5bd2b658609907b0f76894508fdf2f9b94b85e5d211489f7b4bf7d98e8a66a670a040c8770f85795d929c8e07239cacc50082c6044ee78cf51633a78b4ce4 -DIST i3-gaps-4.21.tar.gz 4212229 BLAKE2B ee871dcb374d3dadbcf3c1b4be230be9b608902c2cc9923a635d2fb8f3896e01361b270c09ec69d5a0bddd4b53181db8e6545346a03a30df53d6dccf6b990514 SHA512 5bf423977a92e8d428eb13019bd683948584c876429290b17e118135e8d9cc16545dd62ee07befd54adfc0f3dba3c0f7748e58e3fe4f3aa484e3f00a9af75a16 -EBUILD i3-gaps-4.20.1.ebuild 1733 BLAKE2B 6c20c7e5d109d486727097152c20e17a57b8766f5c4c3a91632040473319a47fb226134e4dadc8d40620852d458f8abed2b817877c6390cab32d0fa8c75cb885 SHA512 e51d871f0c1c329e6ca700358390669a63e827206365c9f3351fdc811a16b2758d90008366500e73a113f5e8b42763a1a2e86ffd1d8a088bb76c5a01b21ef6e2 -EBUILD i3-gaps-4.21-r2.ebuild 1729 BLAKE2B 3ba94132f2f172f3781800198d6bb55a4be853523c64db496f4cac6c8f44958fcb26588f8f5062e1624da808842f67f2ade9074683a067e1d1f326f9ebf4a2aa SHA512 1c7a38be5b32f33244dc5f6d1471cda2ad8dd6915d7494a7cb4a2f9b55b29c69e853903ef89e16699aa96e261b617e1bb7abeea99a5f8239532b3bf6b8a6e0a6 -EBUILD i3-gaps-4.21.1.ebuild 1731 BLAKE2B 517d13683be5497093af57fe541d39933773435288f67d192254940c1072b14a473e029eed3817e2bad9019b069f7874130610a442ae5420e069fb2c7a38d5f7 SHA512 f4954258f89ad64f8d3f4313f529277ce18a0e3a0e07c94129cdcd0ecac731ee82344125df0260cab257776ac70f549491b7c2125b90598adfefdf70bdf41ff6 -MISC metadata.xml 325 BLAKE2B 9ba8b18821fde643863d03bd1550bb4bf6fb2f69b7fcd427eed48887573ace9d3c387e1444717e071eddee3dd89d48f04075b87926403f2ddab72111d46130c0 SHA512 5a69d3ad5248c785f1bb53e6817277e4fc4bf7ceda661ccf497271df05ea930a6f8581681f9a3b6f48a9b0bc7b905904b5b8940f1a0454dd086611486649bed1 diff --git a/x11-wm/i3-gaps/files/i3-gaps-4.18-musl.patch b/x11-wm/i3-gaps/files/i3-gaps-4.18-musl.patch deleted file mode 100644 index bf59b32e3f70..000000000000 --- a/x11-wm/i3-gaps/files/i3-gaps-4.18-musl.patch +++ /dev/null @@ -1,74 +0,0 @@ ---- a/i3bar/src/main.c -+++ b/i3bar/src/main.c -@@ -45,14 +45,20 @@ void debuglog(char *fmt, ...) { - * - */ - static char *expand_path(char *path) { -- static glob_t globbuf; -- if (glob(path, GLOB_NOCHECK | GLOB_TILDE, NULL, &globbuf) < 0) { -- ELOG("glob() failed\n"); -- exit(EXIT_FAILURE); -+ char *home, *expanded; -+ -+ if (strncmp(path, "~/", 2) == 0) { -+ home = getenv("HOME"); -+ if (home != NULL) { -+ /* new length: sum - 1 (omit '~') + 1 (for '\0') */ -+ expanded = scalloc(strlen(home)+strlen(path), 1); -+ strcpy(expanded, home); -+ strcat(expanded, path+1); -+ return expanded; -+ } - } -- char *result = sstrdup(globbuf.gl_pathc > 0 ? globbuf.gl_pathv[0] : path); -- globfree(&globbuf); -- return result; -+ -+ return sstrdup(path); - } - - static void print_usage(char *elf_name) { ---- a/libi3/resolve_tilde.c -+++ b/libi3/resolve_tilde.c -@@ -19,28 +19,18 @@ - * - */ - char *resolve_tilde(const char *path) { -- static glob_t globbuf; -- char *head, *tail, *result; -+ char *home, *expanded; - -- tail = strchr(path, '/'); -- head = sstrndup(path, tail ? (size_t)(tail - path) : strlen(path)); -- -- int res = glob(head, GLOB_TILDE, NULL, &globbuf); -- free(head); -- /* no match, or many wildcard matches are bad */ -- if (res == GLOB_NOMATCH || globbuf.gl_pathc != 1) -- result = sstrdup(path); -- else if (res != 0) { -- err(EXIT_FAILURE, "glob() failed"); -- } else { -- head = globbuf.gl_pathv[0]; -- result = scalloc(strlen(head) + (tail ? strlen(tail) : 0) + 1, 1); -- strcpy(result, head); -- if (tail) { -- strcat(result, tail); -+ if (strncmp(path, "~/", 2) == 0) { -+ home = getenv("HOME"); -+ if (home != NULL) { -+ /* new length: sum - 1 (omit '~') + 1 (for '\0') */ -+ expanded = scalloc(strlen(home)+strlen(path), 1); -+ strcpy(expanded, home); -+ strcat(expanded, path+1); -+ return expanded; - } - } -- globfree(&globbuf); - -- return result; -+ return sstrdup(path); - } --- -2.27.0 - diff --git a/x11-wm/i3-gaps/i3-gaps-4.20.1.ebuild b/x11-wm/i3-gaps/i3-gaps-4.20.1.ebuild deleted file mode 100644 index db94abcd1d57..000000000000 --- a/x11-wm/i3-gaps/i3-gaps-4.20.1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson optfeature - -DESCRIPTION="i3 fork with gaps and some more features" -HOMEPAGE="https://github.com/Airblader/i3" -SRC_URI="https://github.com/Airblader/i3/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/i3-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND="dev-libs/glib:2 - dev-libs/libev - dev-libs/libpcre - 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" -DEPEND="${COMMON_DEPEND} - test? ( - dev-perl/ExtUtils-PkgConfig - dev-perl/IPC-Run - dev-perl/Inline - dev-perl/Inline-C - dev-perl/X11-XCB - dev-perl/XS-Object-Magic - x11-apps/xhost - x11-base/xorg-server[xephyr,xvfb] - x11-misc/xvfb-run - )" -BDEPEND="app-text/asciidoc - app-text/xmlto - dev-lang/perl - virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND} - dev-lang/perl - dev-perl/AnyEvent-I3 - dev-perl/JSON-XS - !x11-wm/i3" - -DOCS=( RELEASE-NOTES-$(ver_cut 1-3) ) - -PATCHES=( - "${FILESDIR}/${PN}-4.18-musl.patch" -) - -src_configure() { - local emesonargs=( - -Ddocdir="/usr/share/doc/${PF}" - -Ddocs=$(usex doc true false) - -Dmans=true - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - exeinto /etc/X11/Sessions - newexe - i3wm <<- EOF - #!/usr/bin/env sh - exec /usr/bin/i3 - EOF -} - -pkg_postinst() { - optfeature "Application launcher" x11-misc/dmenu - optfeature "Simple screen locker" x11-misc/i3lock - optfeature "Status bar generator" x11-misc/i3status -} diff --git a/x11-wm/i3-gaps/i3-gaps-4.21-r2.ebuild b/x11-wm/i3-gaps/i3-gaps-4.21-r2.ebuild deleted file mode 100644 index c0089941c838..000000000000 --- a/x11-wm/i3-gaps/i3-gaps-4.21-r2.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson optfeature - -DESCRIPTION="i3 fork with gaps and some more features" -HOMEPAGE="https://github.com/Airblader/i3" -SRC_URI="https://github.com/Airblader/i3/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/i3-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~ppc64 ~riscv x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND="dev-libs/glib:2 - dev-libs/libev - dev-libs/libpcre2 - dev-libs/yajl:= - x11-libs/cairo[X,xcb(+)] - x11-libs/libxcb:= - 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" -DEPEND="${COMMON_DEPEND} - test? ( - dev-perl/ExtUtils-PkgConfig - dev-perl/IPC-Run - dev-perl/Inline - dev-perl/Inline-C - dev-perl/X11-XCB - dev-perl/XS-Object-Magic - x11-apps/xhost - x11-base/xorg-server[xephyr,xvfb] - x11-misc/xvfb-run - )" -BDEPEND="app-text/asciidoc - app-text/xmlto - dev-lang/perl - virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND} - dev-lang/perl - dev-perl/AnyEvent-I3 - dev-perl/JSON-XS - !x11-wm/i3" - -DOCS=( RELEASE-NOTES-$(ver_cut 1-3) ) - -PATCHES=( - "${FILESDIR}/${PN}-4.18-musl.patch" -) - -src_configure() { - local emesonargs=( - -Ddocdir="/usr/share/doc/${PF}" - -Ddocs=$(usex doc true false) - -Dmans=true - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - exeinto /etc/X11/Sessions - newexe - i3wm <<- EOF - #!/usr/bin/env sh - exec /usr/bin/i3 - EOF -} - -pkg_postinst() { - optfeature "Application launcher" x11-misc/dmenu - optfeature "Simple screen locker" x11-misc/i3lock - optfeature "Status bar generator" x11-misc/i3status -} diff --git a/x11-wm/i3-gaps/i3-gaps-4.21.1.ebuild b/x11-wm/i3-gaps/i3-gaps-4.21.1.ebuild deleted file mode 100644 index c4a28a87b33f..000000000000 --- a/x11-wm/i3-gaps/i3-gaps-4.21.1.ebuild +++ /dev/null @@ -1,85 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit meson optfeature - -DESCRIPTION="i3 fork with gaps and some more features" -HOMEPAGE="https://github.com/Airblader/i3" -SRC_URI="https://github.com/Airblader/i3/archive/${PV}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}/i3-${PV}" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86" -IUSE="doc test" -RESTRICT="!test? ( test )" - -COMMON_DEPEND="dev-libs/glib:2 - dev-libs/libev - dev-libs/libpcre2 - dev-libs/yajl:= - x11-libs/cairo[X,xcb(+)] - x11-libs/libxcb:= - 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" -DEPEND="${COMMON_DEPEND} - test? ( - dev-perl/ExtUtils-PkgConfig - dev-perl/IPC-Run - dev-perl/Inline - dev-perl/Inline-C - dev-perl/X11-XCB - dev-perl/XS-Object-Magic - x11-apps/xhost - x11-base/xorg-server[xephyr,xvfb] - x11-misc/xvfb-run - )" -BDEPEND="app-text/asciidoc - app-text/xmlto - dev-lang/perl - virtual/pkgconfig" -RDEPEND="${COMMON_DEPEND} - dev-lang/perl - dev-perl/AnyEvent-I3 - dev-perl/JSON-XS - !x11-wm/i3" - -DOCS=( RELEASE-NOTES-$(ver_cut 1-3) ) - -PATCHES=( - "${FILESDIR}/${PN}-4.18-musl.patch" -) - -src_configure() { - local emesonargs=( - -Ddocdir="/usr/share/doc/${PF}" - -Ddocs=$(usex doc true false) - -Dmans=true - ) - - meson_src_configure -} - -src_install() { - meson_src_install - - exeinto /etc/X11/Sessions - newexe - i3wm <<- EOF - #!/usr/bin/env sh - exec /usr/bin/i3 - EOF -} - -pkg_postinst() { - optfeature "Application launcher" x11-misc/dmenu - optfeature "Simple screen locker" x11-misc/i3lock - optfeature "Status bar generator" x11-misc/i3status -} diff --git a/x11-wm/i3-gaps/metadata.xml b/x11-wm/i3-gaps/metadata.xml deleted file mode 100644 index 5cae6b57b8d3..000000000000 --- a/x11-wm/i3-gaps/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <maintainer type="person"> - <email>ajak@gentoo.org</email> - <name>John Helmert III</name> - </maintainer> - <upstream> - <remote-id type="github">Airblader/i3</remote-id> - </upstream> -</pkgmetadata> |