commit: 83bf5642dd2de461bf540a085d89d38bc7f3c807 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun Oct 12 03:52:10 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Oct 12 03:52:10 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83bf5642
x11-wm/goomwwm: add 1.0.0_p20250710 Closes: https://bugs.gentoo.org/943889 Signed-off-by: Sam James <sam <AT> gentoo.org> x11-wm/goomwwm/Manifest | 1 + .../files/goomwwm-1.0.0_p20250710-makefile.patch | 30 ++++++++++++++++ x11-wm/goomwwm/goomwwm-1.0.0_p20250710.ebuild | 42 ++++++++++++++++++++++ 3 files changed, 73 insertions(+) diff --git a/x11-wm/goomwwm/Manifest b/x11-wm/goomwwm/Manifest index 8c569d95baa9..751d52b0c932 100644 --- a/x11-wm/goomwwm/Manifest +++ b/x11-wm/goomwwm/Manifest @@ -1 +1,2 @@ DIST goomwwm-1.0.0-github.tar.gz 406143 BLAKE2B 0118dfec32a3598b0a23b3421643a211386c1bc302d523a4a63a78e34ba9f0673b0bae18b27b491ab153e3e0fb8031123c56425ac007c20651fb3ec8484ab7a5 SHA512 e37d80c8ea47fe136172c392521ec8d4dab361c3469d3d1626ed7c30385513301983c0ffde39f4c2e6f2dee8709da6a34f14f7bb89776f1ccde5103ab1a26764 +DIST goomwwm-1.0.0_p20250710.gh.tar.gz 412209 BLAKE2B cd6569675e72ac0d1f01e1b9adbeee0931c8594a46a65625c0e55596cf876b709381ce2ed026ac8b9e61cfd4722be0173aa43e3a9c336cf03be32c275ab05119 SHA512 4d0479248423a2b4237ff466aa8c9f515a587d52df135ce3b1bd6f7c458f1c00414c35994ea6e274003fe09d04f011a1a71094cb81ebddffe5e7dd96902ab990 diff --git a/x11-wm/goomwwm/files/goomwwm-1.0.0_p20250710-makefile.patch b/x11-wm/goomwwm/files/goomwwm-1.0.0_p20250710-makefile.patch new file mode 100644 index 000000000000..e6aca3d32732 --- /dev/null +++ b/x11-wm/goomwwm/files/goomwwm-1.0.0_p20250710-makefile.patch @@ -0,0 +1,30 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,11 +1,10 @@ +-CFLAGS?=-Wall -Os +-LDADD?=`pkg-config --cflags --libs x11 xinerama xft` ++PKG_CONFIG ?= pkg-config ++CFLAGS ?= -Wall -Os ++CPPFLAGS += $(shell $(PKG_CONFIG) --cflags x11 xinerama xft) ++LDLIBS += $(shell $(PKG_CONFIG) --libs x11 xinerama xft) + +-normal: +- $(CC) -o goomwwm goomwwm.c $(CFLAGS) $(LDADD) $(LDFLAGS) +- +-debug: +- $(CC) -o goomwwm-debug goomwwm.c $(CFLAGS) -g -DDEBUG $(LDADD) ++all: goomwwm ++goomwwm.c: proto + + proto: + cat *.c | egrep '^(void|int|char|unsigned|client|Window|winlist|box|textbox|XWindow)' | sed -r 's/\)/);/' > proto.h +@@ -13,7 +12,5 @@ proto: + docs: + pandoc -s -w man goomwwm.md -o goomwwm.1 + +-all: proto normal debug docs +- + clean: +- rm -f goomwwm goomwwm-debug +\ No newline at end of file ++ rm -f goomwwm goomwwm-debug diff --git a/x11-wm/goomwwm/goomwwm-1.0.0_p20250710.ebuild b/x11-wm/goomwwm/goomwwm-1.0.0_p20250710.ebuild new file mode 100644 index 000000000000..c641ae122a7a --- /dev/null +++ b/x11-wm/goomwwm/goomwwm-1.0.0_p20250710.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic toolchain-funcs + +GOOMWM_COMMIT="5747442e8842e8b150e75f656dec4b2db225110f" +DESCRIPTION="Get out of my way, Window Manager!" +HOMEPAGE="https://github.com/seanpringle/goomwwm" +SRC_URI="https://github.com/seanpringle/goomwwm/archive/${GOOMWM_COMMIT}.tar.gz -> ${P}.gh.tar.gz" +S="${WORKDIR}"/${PN}-${GOOMWM_COMMIT} + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +RDEPEND=" + x11-libs/libXft + x11-libs/libX11 + x11-libs/libXinerama +" +DEPEND=" + ${RDEPEND} + x11-base/xorg-proto +" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-1.0.0_p20250710-makefile.patch +) + +src_configure() { + tc-export CC PKG_CONFIG + use debug && append-cppflags -DDEBUG +} + +src_install() { + dobin goomwwm + doman goomwwm.1 +}
