From 71deace00d1a2b091313fe137ab7092418c6f87c Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Mon, 10 Feb 2020 21:05:55 +0000 Subject: gentoo resync : 10.02.2020 --- x11-wm/openbox/Manifest | 2 +- x11-wm/openbox/openbox-3.6.1-r2.ebuild | 100 -------------------------------- x11-wm/openbox/openbox-3.6.1-r3.ebuild | 102 +++++++++++++++++++++++++++++++++ 3 files changed, 103 insertions(+), 101 deletions(-) delete mode 100644 x11-wm/openbox/openbox-3.6.1-r2.ebuild create mode 100644 x11-wm/openbox/openbox-3.6.1-r3.ebuild (limited to 'x11-wm/openbox') diff --git a/x11-wm/openbox/Manifest b/x11-wm/openbox/Manifest index 9d54ae1a4f9e..9a143c6f766e 100644 --- a/x11-wm/openbox/Manifest +++ b/x11-wm/openbox/Manifest @@ -3,7 +3,7 @@ AUX openbox-3.6.1-py3-xdg.patch 4702 BLAKE2B 52e8f35626bf71a10327efe99d518994aec 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-r1.ebuild 2584 BLAKE2B 95dad82aebe611f66b5b4e6bf949faf3b2ea1ef8890c06733f603097ec88fc9284a9935cc5d61c7b432b11bb42744632f2ec687f380d53b914b6f72db0556f42 SHA512 3b82c0e85f29e7a7a08fda6a4e07c896e36e39382fab54c8ab0a161c4d8f41c64e7afaeeb80c5b7908c52e5383ef381732b21aaf5cd6cbc43831c58ba3776e47 -EBUILD openbox-3.6.1-r2.ebuild 2687 BLAKE2B 52ccce008a376c2b50b6a6c799e91564b76532d73135d806240546e2c617ecaf14263bd68975a099a513719e3c90ac327a09a119e6461194b5fe5011ffafd3fa SHA512 04bf5059164ff8908010d98c924d18a9f0ebba44da661fe8bfa0fd8a2d5df3878c7375473909d3ce342d61baa46da7d6f409d087c84d82dc19ae33b788925966 +EBUILD openbox-3.6.1-r3.ebuild 2725 BLAKE2B d5cb28c493febc08ed6282d40854af54021c0cd4f71d71d7abfc939aca96ee351e22222e565864e8e3d2f8cb53337b225840c1c15e059d0e7d0e33d79086ceff SHA512 fb0b2ef5eb5d7528ccf1ab80e9d6a109c2cb8d2460bfb8936e45551a0892873c233eb95baf1eeb4a7fb1ba2ba94cdc25a6b99273fb37829345026fdaade6f6a8 EBUILD openbox-3.6.1.ebuild 2603 BLAKE2B 66d72f6e085ec2e7d83e23e182c21748e593251eee28a047a066351d9c7b4e263587f55c58d7ebe8c871a33eb4df82c521f918b6deaebd275d48524e988a1b2e SHA512 c8b3a3383006de5a14fc598cdf418cca28e8dbc28517fbc016f71349032c8da62baa7412e485e31077ef8c6857926345e07aec9cfcd8bf4d7853ca0f6a3606da EBUILD openbox-9999.ebuild 2571 BLAKE2B 090fa6460c016b773f261a8b18193c877037eb5d4010fb7d4f559d6577c478010f327ea792383ab60182a746281c96ffbc10cdd07ae7875cdf4a4ab82f12f868 SHA512 e86a5a5cee36e22f8cba4f1438f65d29e39acbca9e3c99599ae9ac56535b1340d7b5ecb675513d818a1f1a2a27dc39842b2b231107a08bdb3536385aac3e0dc5 MISC metadata.xml 719 BLAKE2B 3236c3d611795444ade10b779d3453ab3e3823654ce11e2b0a961f360b40b443806c41f84a015d5ec4f6f0b14058002f286ec899a0714ed339c510ec00d68230 SHA512 b43b7e174748e26c812a0549c924ca01ce892177a7964c3cd777af9096b68c21e869278a3f05c613f9e071fdcd4804d837cfe04bc1b2c19a2ce1fe6b2d9db127 diff --git a/x11-wm/openbox/openbox-3.6.1-r2.ebuild b/x11-wm/openbox/openbox-3.6.1-r2.ebuild deleted file mode 100644 index 80c67975b171..000000000000 --- a/x11-wm/openbox/openbox-3.6.1-r2.ebuild +++ /dev/null @@ -1,100 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{6,7,8} ) -inherit multilib autotools python-single-r1 eutils - -DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager" -HOMEPAGE="http://openbox.org/" -if [[ ${PV} == *9999* ]]; then - inherit git-r3 - EGIT_REPO_URI="git://git.openbox.org/dana/openbox" - SRC_URI="branding? ( - https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" -else - SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz - branding? ( https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-linux" -fi - -LICENSE="GPL-2" -SLOT="3" -IUSE="branding debug imlib nls session startup-notification static-libs svg xdg" -REQUIRED_USE="xdg? ( ${PYTHON_REQUIRED_USE} )" - -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} - dev-python/pyxdg[${PYTHON_USEDEP}] - ) - " -DEPEND="${RDEPEND} - sys-devel/gettext - virtual/pkgconfig - 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" -) - -src_prepare() { - default - sed -i \ - -e "s:-O0 -ggdb ::" \ - -e 's/-fno-strict-aliasing//' \ - "${S}"/m4/openbox.m4 || die - eautoreconf -} - -src_configure() { - econf \ - --docdir="${EPREFIX}/usr/share/doc/${PF}" \ - $(use_enable debug) \ - $(use_enable static-libs static) \ - $(use_enable nls) \ - $(use_enable imlib imlib2) \ - $(use_enable svg librsvg) \ - $(use_enable startup-notification) \ - $(use_enable session session-management) \ - --with-x -} - -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 - use static-libs || find "${D}" -name '*.la' -delete - 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-r3.ebuild b/x11-wm/openbox/openbox-3.6.1-r3.ebuild new file mode 100644 index 000000000000..87f93920849e --- /dev/null +++ b/x11-wm/openbox/openbox-3.6.1-r3.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{6,7,8} ) +inherit multilib autotools python-single-r1 eutils + +DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager" +HOMEPAGE="http://openbox.org/" +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="git://git.openbox.org/dana/openbox" + SRC_URI="branding? ( + https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" +else + SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz + branding? ( https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo.tar.gz )" + KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-linux" +fi + +LICENSE="GPL-2" +SLOT="3" +IUSE="branding debug imlib nls session startup-notification static-libs svg xdg" +REQUIRED_USE="xdg? ( ${PYTHON_REQUIRED_USE} )" + +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_MULTI_USEDEP}] + ') + ) + " +DEPEND="${RDEPEND} + sys-devel/gettext + virtual/pkgconfig + 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" +) + +src_prepare() { + default + sed -i \ + -e "s:-O0 -ggdb ::" \ + -e 's/-fno-strict-aliasing//' \ + "${S}"/m4/openbox.m4 || die + eautoreconf +} + +src_configure() { + econf \ + --docdir="${EPREFIX}/usr/share/doc/${PF}" \ + $(use_enable debug) \ + $(use_enable static-libs static) \ + $(use_enable nls) \ + $(use_enable imlib imlib2) \ + $(use_enable svg librsvg) \ + $(use_enable startup-notification) \ + $(use_enable session session-management) \ + --with-x +} + +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 + use static-libs || find "${D}" -name '*.la' -delete + if use xdg ; then + python_fix_shebang "${ED}"/usr/libexec/openbox-xdg-autostart + else + rm "${ED}"/usr/libexec/openbox-xdg-autostart || die + fi +} -- cgit v1.2.3