public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/openbox/
Date: Sat, 28 Mar 2020 13:11:27 +0000 (UTC)	[thread overview]
Message-ID: <1585400884.21bdc12c53c76a92910a85d86f6706ac4f1eb99d.asturm@gentoo> (raw)

commit:     21bdc12c53c76a92910a85d86f6706ac4f1eb99d
Author:     Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 24 13:09:02 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Mar 28 13:08:04 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21bdc12c

x11-wm/openbox: use 'python-single-r1_pkg_setup' and sync 9999

Also includes minor cosmetic changes, an update for the homepage,
removal of unused eclass inherits, and a fix for installing the
'Surreal Gentoo' theme for 9999.

Closes: https://bugs.gentoo.org/705420
Package-Manager: Portage-2.3.95, Repoman-2.3.21
Signed-off-by: Jimi Huotari <chiitoo <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/15106
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 x11-wm/openbox/openbox-3.6.1-r3.ebuild | 28 ++++++++++++++-------
 x11-wm/openbox/openbox-9999.ebuild     | 46 +++++++++++++++++++++++-----------
 2 files changed, 50 insertions(+), 24 deletions(-)

diff --git a/x11-wm/openbox/openbox-3.6.1-r3.ebuild b/x11-wm/openbox/openbox-3.6.1-r3.ebuild
index ac111903327..736a89bce39 100644
--- a/x11-wm/openbox/openbox-3.6.1-r3.ebuild
+++ b/x11-wm/openbox/openbox-3.6.1-r3.ebuild
@@ -4,21 +4,21 @@
 EAPI=7
 
 PYTHON_COMPAT=( python3_{6,7,8} )
-inherit multilib autotools python-single-r1 eutils
+inherit autotools python-single-r1
 
 DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager"
-HOMEPAGE="http://openbox.org/"
+HOMEPAGE="http://openbox.org/wiki/Main_Page"
+
 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"
+	SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~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 static-libs svg xdg"
@@ -45,11 +45,12 @@ RDEPEND="dev-libs/glib:2
 			dev-python/pyxdg[${PYTHON_MULTI_USEDEP}]
 		')
 	)
-	"
+"
 DEPEND="${RDEPEND}
 	sys-devel/gettext
 	virtual/pkgconfig
-	x11-base/xorg-proto"
+	x11-base/xorg-proto
+"
 
 PATCHES=(
 	"${FILESDIR}/${PN}-3.5.2-gnome-session.patch"
@@ -57,7 +58,16 @@ PATCHES=(
 	"${FILESDIR}/${PN}-3.6.1-py3-xdg.patch"
 )
 
+src_unpack() {
+	if [[ ${PV} == *9999* ]]; then
+		git-r3_src_unpack
+	fi
+
+	default
+}
+
 src_prepare() {
+	use xdg && python-single-r1_pkg_setup
 	default
 	sed -i \
 		-e "s:-O0 -ggdb ::" \

diff --git a/x11-wm/openbox/openbox-9999.ebuild b/x11-wm/openbox/openbox-9999.ebuild
index 75bd3b71f0f..736a89bce39 100644
--- a/x11-wm/openbox/openbox-9999.ebuild
+++ b/x11-wm/openbox/openbox-9999.ebuild
@@ -1,24 +1,24 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python2_7 )
-inherit multilib autotools ltprune python-r1 eutils
+PYTHON_COMPAT=( python3_{6,7,8} )
+inherit autotools python-single-r1
 
 DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager"
-HOMEPAGE="http://openbox.org/"
+HOMEPAGE="http://openbox.org/wiki/Main_Page"
+
 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 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-linux"
+	SRC_URI="http://openbox.org/dist/openbox/${P}.tar.gz"
+	KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~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 static-libs svg xdg"
@@ -41,17 +41,33 @@ RDEPEND="dev-libs/glib:2
 	svg? ( gnome-base/librsvg:2 )
 	xdg? (
 		${PYTHON_DEPS}
-		dev-python/pyxdg[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep '
+			dev-python/pyxdg[${PYTHON_MULTI_USEDEP}]
+		')
 	)
-	"
+"
 DEPEND="${RDEPEND}
 	sys-devel/gettext
 	virtual/pkgconfig
-	x11-base/xorg-proto"
+	x11-base/xorg-proto
+"
 
-PATCHES=( "${FILESDIR}/${PN}-3.5.2-gnome-session.patch" )
+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_unpack() {
+	if [[ ${PV} == *9999* ]]; then
+		git-r3_src_unpack
+	fi
+
+	default
+}
 
 src_prepare() {
+	use xdg && python-single-r1_pkg_setup
 	default
 	sed -i \
 		-e "s:-O0 -ggdb ::" \
@@ -86,9 +102,9 @@ src_install() {
 			"${D}"/etc/xdg/openbox/rc.xml \
 			|| die "failed to set Surreal Gentoo as the default theme"
 	fi
-	use static-libs || prune_libtool_files --all
+	use static-libs || find "${D}" -name '*.la' -delete
 	if use xdg ; then
-		python_replicate_script "${ED}"/usr/libexec/openbox-xdg-autostart
+		python_fix_shebang "${ED}"/usr/libexec/openbox-xdg-autostart
 	else
 		rm "${ED}"/usr/libexec/openbox-xdg-autostart || die
 	fi


             reply	other threads:[~2020-03-28 13:11 UTC|newest]

Thread overview: 64+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-28 13:11 Andreas Sturmlechner [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-28 20:33 [gentoo-commits] repo/gentoo:master commit in: x11-wm/openbox/ Jimi Huotari
2024-06-07 16:19 Arthur Zamarin
2024-06-07  7:13 Arthur Zamarin
2024-06-05 19:59 Arthur Zamarin
2024-06-05 19:59 Arthur Zamarin
2024-06-05 19:59 Arthur Zamarin
2024-06-05 19:59 Arthur Zamarin
2024-06-05 19:59 Arthur Zamarin
2024-05-28 16:01 Jimi Huotari
2024-05-28 16:01 Jimi Huotari
2023-12-23 20:00 Arthur Zamarin
2023-12-18  9:01 Arthur Zamarin
2023-12-17  6:20 Arthur Zamarin
2023-12-17  6:20 Arthur Zamarin
2023-12-17  0:22 Sam James
2023-12-17  0:05 Sam James
2023-12-17  0:05 Sam James
2023-08-10  4:08 Sam James
2023-08-05 23:12 Sam James
2023-08-05 22:35 Sam James
2023-08-05 22:29 Sam James
2023-06-18 14:53 Andreas Sturmlechner
2023-05-05  9:57 Arthur Zamarin
2023-05-05  9:45 Arthur Zamarin
2023-05-05  9:24 Arthur Zamarin
2023-05-04 12:45 Sam James
2023-05-04 12:45 Sam James
2023-05-04 12:23 Arthur Zamarin
2023-05-04 12:12 Sam James
2023-03-09 16:29 Jimi Huotari
2023-03-09 16:29 Jimi Huotari
2022-05-25 11:20 WANG Xuerui
2022-05-25 11:20 WANG Xuerui
2022-02-02  2:36 Craig Andrews
2021-07-17 18:18 David Seifert
2021-05-27 14:34 Yixun Lan
2021-03-14 23:02 Andreas Sturmlechner
2020-08-13 15:47 Andreas Sturmlechner
2020-08-13 15:47 Andreas Sturmlechner
2020-05-18 16:46 Sergei Trofimovich
2020-05-13 10:08 Agostino Sarubbo
2020-05-13 10:06 Agostino Sarubbo
2020-05-13 10:05 Agostino Sarubbo
2020-05-13 10:04 Agostino Sarubbo
2020-05-13 10:04 Agostino Sarubbo
2020-05-12 21:48 Mart Raudsepp
2020-05-12 13:05 Agostino Sarubbo
2020-03-28 13:11 Andreas Sturmlechner
2020-03-22 18:21 Hanno Böck
2020-02-15 10:03 David Seifert
2020-02-09 16:42 Michał Górny
2019-11-29  8:17 Michał Górny
2018-05-31  5:38 Johannes Huber
2018-05-30 21:13 Johannes Huber
2018-05-30 21:13 Johannes Huber
2018-05-30 21:13 Johannes Huber
2018-05-30 21:13 Johannes Huber
2018-05-30 21:13 Johannes Huber
2017-11-26 23:33 David Seifert
2016-10-01 11:50 Jeroen Roovers
2016-05-23 14:38 Tobias Klausmann
2016-04-19 15:57 Markus Meier
2016-04-09 13:46 Agostino Sarubbo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1585400884.21bdc12c53c76a92910a85d86f6706ac4f1eb99d.asturm@gentoo \
    --to=asturm@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox