summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/Manifest.gzbin9129 -> 9131 bytes
-rw-r--r--x11-wm/openbox/Manifest3
-rw-r--r--x11-wm/openbox/openbox-3.6.1-r10.ebuild126
-rw-r--r--x11-wm/openbox/openbox-9999.ebuild6
4 files changed, 129 insertions, 6 deletions
diff --git a/x11-wm/Manifest.gz b/x11-wm/Manifest.gz
index 727b6451f3ed..04a1b8ce18b0 100644
--- a/x11-wm/Manifest.gz
+++ b/x11-wm/Manifest.gz
Binary files differ
diff --git a/x11-wm/openbox/Manifest b/x11-wm/openbox/Manifest
index 6073b52329e3..b3190f7e61ff 100644
--- a/x11-wm/openbox/Manifest
+++ b/x11-wm/openbox/Manifest
@@ -4,6 +4,7 @@ AUX openbox-3.6.1-glib-2.76.patch 2227 BLAKE2B 5f7605d81d00e1222945467a688927a9f
AUX openbox-3.6.1-py3-xdg.patch 4702 BLAKE2B 52e8f35626bf71a10327efe99d518994aece46561f4cb4d26d71412f8f5e1528efbd17c48b38a902053b6d3eefbaa9b79f79c06783d669b0c76cbdf256300463 SHA512 7079cf38a79e2fe7e35c07a5600de8a4678961239d3990596378239f064522204ca40522861f1d403d6e621bca92ca14b06873645ba60fda2c86a4132a9aa16a
DIST openbox-3.6.1.tar.gz 962665 BLAKE2B 1c0288137d7b02d443c384f970cd9a3f4d5d5585989917ac6ae8cf492e045dc086650c245907e168bc7b6d0ce701339854a5d94ad510823141cc78e28c1e13c5 SHA512 5e6f4a214005bea8b26bc8959fe5bb67356a387ddd317e014f43cb5b5bf263ec617a5973e2982eb76a08dc7d3ca5ec9e72e64c9b5efd751001a8999b420b1ad0
DIST surreal-gentoo.tar.gz 13410 BLAKE2B e7d902278004785c68a2e5aa02aa326cee1ef04fe964fce283afde00cb668b06d5d8461207ef9571aa402b960ec16bdff6bf11cf38ca9a76335ced173592ffce SHA512 dd43cb78e5e33345767edad22d0470765ac9eeae02bbad0acd8098bc096c15a166bf651493d12a5953bc043c9be92e9b160607eafb4723a6bcfc5d1d6fae235e
+EBUILD openbox-3.6.1-r10.ebuild 2868 BLAKE2B e2aa0d8d095fa77c9b04191838f92cda041a4f1636f93d9a9709091c7854710b2bd89ee26286645e55da3d309078080431d544e138dd0f053a70d50694316eed SHA512 3576c6c8ddcdf745d27ab7318d600ddbb86bbec160072e7fce0a92c2413ffd18a01f56c0ae86cd1120f6b2a2882820ae91a8f1926b2a84ce9547ebdcc45227dc
EBUILD openbox-3.6.1-r9.ebuild 2860 BLAKE2B 9deb5bb785ee72a72f90d16114b231ef92b3ca503abbfd9456c4ec76e84a6f079ae084235e241a50a012a3633a2caf14acd36e823fae43587833786566321c84 SHA512 be6a2cf868b7e5ce864d97e4988bb1825153ce3338df745551abafbb655f97ab89de24626d71662c7c58240571ba39624519b6f13a5604b3d51a9326aff24e1b
-EBUILD openbox-9999.ebuild 2867 BLAKE2B 7e5bc7d3fa89336dc8856765373248add99034f472bea52425f1087db317443c5d4b1b6b83adb764eac2bbbe050d7b4305a04954faab5cfb81e8da46df47b12d SHA512 08d6cca668b631c8de5a31e0611288dd2135ce35a66c3239f6f51691b42a803fa374c13586780f0c10e007f4640518155bfae7190f7e43ee3c772953e9384cd9
+EBUILD openbox-9999.ebuild 2702 BLAKE2B 5f52461e79c59ad21b0bc74ee4ef906457bc87b2942e8fefd2455a641e6d29567667dadaff78b884605870f3ec3833974a98fb06a45ab9a78b68c76fc618ed2d SHA512 a9390c0e39dc905bdf5bfe85f96e6a0ddc73aa4e577b3dc6c175068e9fcefdfe127ec4550f5e356f536d765254253db1ba66959e0cefc7628935a247c98fabc9
MISC metadata.xml 705 BLAKE2B 0df8e542b8837fb94e5f6fd289b0d5172c1d4d01bc88c550b6afd5307619a0dfdf5de2c2ba8838d63f8a8c29a378e6545a8932c77d6f0bef7cc898a4fd400206 SHA512 acf171ad8ccc7d07b533e4f5aef895b485050fa8fa39d8a6db798a15d9c5924d4f825573b77ddd8b755b8c0b34e8c3ab49cd0f56592854ae36462c3de448f4dc
diff --git a/x11-wm/openbox/openbox-3.6.1-r10.ebuild b/x11-wm/openbox/openbox-3.6.1-r10.ebuild
new file mode 100644
index 000000000000..cc86876183ab
--- /dev/null
+++ b/x11-wm/openbox/openbox-3.6.1-r10.ebuild
@@ -0,0 +1,126 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..13})
+inherit autotools python-single-r1
+
+DESCRIPTION="Standards compliant, fast, light-weight, extensible window manager"
+HOMEPAGE="http://openbox.org/wiki/Main_Page"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Mikachu/openbox.git"
+else
+ SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz"
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x86-linux"
+fi
+
+SRC_URI+=" branding? ( https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )"
+
+LICENSE="GPL-2"
+SLOT="3"
+IUSE="branding debug imlib nls session startup-notification svg xdg"
+REQUIRED_USE="xdg? ( ${PYTHON_REQUIRED_USE} )"
+
+BDEPEND="
+ sys-devel/gettext
+ virtual/pkgconfig
+"
+RDEPEND="
+ dev-libs/glib:2
+ >=dev-libs/libxml2-2.0
+ >=media-libs/fontconfig-2
+ x11-libs/cairo
+ x11-libs/libXau
+ x11-libs/libXcursor
+ x11-libs/libXext
+ x11-libs/libXft
+ x11-libs/libXinerama
+ x11-libs/libXrandr
+ x11-libs/libXt
+ >=x11-libs/pango-1.8[X]
+ imlib? ( media-libs/imlib2 )
+ startup-notification? ( >=x11-libs/startup-notification-0.8 )
+ svg? ( gnome-base/librsvg:2 )
+ xdg? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/pyxdg[${PYTHON_USEDEP}]
+ ')
+ )
+"
+DEPEND="${RDEPEND}
+ x11-base/xorg-proto
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-3.5.2-gnome-session.patch"
+ # see https://github.com/danakj/openbox/pull/35
+ "${FILESDIR}/${PN}-3.6.1-py3-xdg.patch"
+ # https://bugs.gentoo.org/827227
+ "${FILESDIR}/${PN}-3.6.1-getgrent-to-getgroups.patch"
+ # https://bugs.gentoo.org/901777
+ "${FILESDIR}/${PN}-3.6.1-glib-2.76.patch"
+)
+
+pkg_setup() {
+ use xdg && python-single-r1_pkg_setup
+}
+
+src_unpack() {
+ if [[ ${PV} == *9999* ]]; then
+ git-r3_src_unpack
+ fi
+
+ default
+}
+
+src_prepare() {
+ default
+ sed -i \
+ -e "s:-O0 -ggdb ::" \
+ -e 's/-fno-strict-aliasing//' \
+ m4/openbox.m4 || die
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --disable-static
+ --with-x
+ $(use_enable debug)
+ $(use_enable imlib imlib2)
+ $(use_enable nls)
+ $(use_enable session session-management)
+ $(use_enable startup-notification)
+ $(use_enable svg librsvg)
+ )
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ exeinto /etc/X11/Sessions
+ newexe - ${PN} <<-EOF
+ #!/bin/sh
+ openbox-session
+ EOF
+
+ emake DESTDIR="${D}" install
+ if use branding; then
+ insinto /usr/share/themes
+ doins -r "${WORKDIR}"/Surreal_Gentoo
+ # make it the default theme
+ sed -i \
+ -e "/<theme>/{n; s@<name>.*</name>@<name>Surreal_Gentoo</name>@}" \
+ "${D}"/etc/xdg/openbox/rc.xml \
+ || die "failed to set Surreal Gentoo as the default theme"
+ fi
+ find "${ED}" -name '*.la' -delete || die
+ if use xdg ; then
+ python_fix_shebang "${ED}"/usr/libexec/openbox-xdg-autostart
+ else
+ rm "${ED}"/usr/libexec/openbox-xdg-autostart || die
+ fi
+}
diff --git a/x11-wm/openbox/openbox-9999.ebuild b/x11-wm/openbox/openbox-9999.ebuild
index aba60e39ae11..85a1cb93cc93 100644
--- a/x11-wm/openbox/openbox-9999.ebuild
+++ b/x11-wm/openbox/openbox-9999.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-PYTHON_COMPAT=( python3_{9..12})
+PYTHON_COMPAT=( python3_{10..13})
inherit autotools python-single-r1
DESCRIPTION="Standards compliant, fast, light-weight, extensible window manager"
@@ -59,10 +59,6 @@ PATCHES=(
"${FILESDIR}/${PN}-3.5.2-gnome-session.patch"
# see https://github.com/danakj/openbox/pull/35
"${FILESDIR}/${PN}-3.6.1-py3-xdg.patch"
- # https://bugs.gentoo.org/827227
- "${FILESDIR}/${PN}-3.6.1-getgrent-to-getgroups.patch"
- # https://bugs.gentoo.org/901777
- "${FILESDIR}/${PN}-3.6.1-glib-2.76.patch"
)
pkg_setup() {