From 5c4786a868bad6e3f46aecf32ad6c6dc5de98408 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 29 May 2024 00:07:15 +0100 Subject: gentoo auto-resync : 29:05:2024 - 00:07:15 --- x11-wm/openbox/Manifest | 4 +- x11-wm/openbox/openbox-3.6.1-r5.ebuild | 123 -------------------------------- x11-wm/openbox/openbox-3.6.1-r9.ebuild | 126 +++++++++++++++++++++++++++++++++ x11-wm/openbox/openbox-9999.ebuild | 4 +- 4 files changed, 130 insertions(+), 127 deletions(-) delete mode 100644 x11-wm/openbox/openbox-3.6.1-r5.ebuild create mode 100644 x11-wm/openbox/openbox-3.6.1-r9.ebuild (limited to 'x11-wm/openbox') diff --git a/x11-wm/openbox/Manifest b/x11-wm/openbox/Manifest index d120ea1d0192..3886f1d35871 100644 --- a/x11-wm/openbox/Manifest +++ b/x11-wm/openbox/Manifest @@ -4,7 +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-r5.ebuild 2903 BLAKE2B 75ad51841c606570d9caa705aec928ed012456447f424249dfa71041925160846099f7c625a7cedbd132a1e86a99e8460a73ed36ac3b1a144021abc8f1208c1c SHA512 7f2ead2acc3777644f74786a4f95c7e1b35105485e6b0e3ff996730d916c9924c019e7ea8fabd4918d54fb03134841d64a5e814bd1e8b7937ef81c0506562e31 EBUILD openbox-3.6.1-r8.ebuild 2860 BLAKE2B 64de05b63836238d89b35abc1a17c970ad98d6b50e335e168685ee09c28bb75b14d50e86c0b90ea12edb1864e97dfb3e36b720fe08335ed8fea178db41176f48 SHA512 48859b5b3967c59a0a32532f2b014eb330a3fd812644d5b630f9cc9a8c25520ee14c7cb61b529d0a6438b17cd66795ab0e0a23c69417c137d2e9c8e34e14996b -EBUILD openbox-9999.ebuild 2867 BLAKE2B 751d994dfafc391e26562663002bb86d64a2cddbaec90947099babde027967a81460225ad68b9dc93c25660989926771f25d63e14447ec2d21e385838d3e5e25 SHA512 d4939834921e2e850f5bdab99e9b443a05839801c803023e6be2c481c5bccb40a8d6640fca5c1f270d74971b2ff332bcf5bbeaa09b5a27f4b0ca8195778effa6 +EBUILD openbox-3.6.1-r9.ebuild 2867 BLAKE2B 7e5bc7d3fa89336dc8856765373248add99034f472bea52425f1087db317443c5d4b1b6b83adb764eac2bbbe050d7b4305a04954faab5cfb81e8da46df47b12d SHA512 08d6cca668b631c8de5a31e0611288dd2135ce35a66c3239f6f51691b42a803fa374c13586780f0c10e007f4640518155bfae7190f7e43ee3c772953e9384cd9 +EBUILD openbox-9999.ebuild 2867 BLAKE2B 7e5bc7d3fa89336dc8856765373248add99034f472bea52425f1087db317443c5d4b1b6b83adb764eac2bbbe050d7b4305a04954faab5cfb81e8da46df47b12d SHA512 08d6cca668b631c8de5a31e0611288dd2135ce35a66c3239f6f51691b42a803fa374c13586780f0c10e007f4640518155bfae7190f7e43ee3c772953e9384cd9 MISC metadata.xml 705 BLAKE2B 0df8e542b8837fb94e5f6fd289b0d5172c1d4d01bc88c550b6afd5307619a0dfdf5de2c2ba8838d63f8a8c29a378e6545a8932c77d6f0bef7cc898a4fd400206 SHA512 acf171ad8ccc7d07b533e4f5aef895b485050fa8fa39d8a6db798a15d9c5924d4f825573b77ddd8b755b8c0b34e8c3ab49cd0f56592854ae36462c3de448f4dc diff --git a/x11-wm/openbox/openbox-3.6.1-r5.ebuild b/x11-wm/openbox/openbox-3.6.1-r5.ebuild deleted file mode 100644 index 2805aebf7192..000000000000 --- a/x11-wm/openbox/openbox-3.6.1-r5.ebuild +++ /dev/null @@ -1,123 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -PYTHON_COMPAT=( python3_{9..11}) -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() { - dodir /etc/X11/Sessions - echo "/usr/bin/openbox-session" > "${ED}/etc/X11/Sessions/${PN}" - fperms a+x /etc/X11/Sessions/${PN} - 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 "//{n; s@.*@Surreal_Gentoo@}" \ - "${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-3.6.1-r9.ebuild b/x11-wm/openbox/openbox-3.6.1-r9.ebuild new file mode 100644 index 000000000000..aba60e39ae11 --- /dev/null +++ b/x11-wm/openbox/openbox-3.6.1-r9.ebuild @@ -0,0 +1,126 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12}) +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 "//{n; s@.*@Surreal_Gentoo@}" \ + "${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 ee0aaca94942..aba60e39ae11 100644 --- a/x11-wm/openbox/openbox-9999.ebuild +++ b/x11-wm/openbox/openbox-9999.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -PYTHON_COMPAT=( python3_{9..11}) +PYTHON_COMPAT=( python3_{9..12}) inherit autotools python-single-r1 DESCRIPTION="Standards compliant, fast, light-weight, extensible window manager" -- cgit v1.2.3