From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/openbox/
Date: Sun, 14 Mar 2021 23:02:06 +0000 (UTC) [thread overview]
Message-ID: <1615762913.c041c9a6d1228503e15329e7eaffb24dc49c9b5b.asturm@gentoo> (raw)
commit: c041c9a6d1228503e15329e7eaffb24dc49c9b5b
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 13 23:57:00 2021 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Mar 14 23:01:53 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c041c9a6
x11-wm/openbox: Fix IUSE=-xdg w/o python, drop 'static-libs', py39
Closes: https://bugs.gentoo.org/772878
Package-Manager: Portage-3.0.17, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
x11-wm/openbox/openbox-3.6.1-r3.ebuild | 38 +++++++++++++++++++---------------
x11-wm/openbox/openbox-9999.ebuild | 38 +++++++++++++++++++---------------
2 files changed, 42 insertions(+), 34 deletions(-)
diff --git a/x11-wm/openbox/openbox-3.6.1-r3.ebuild b/x11-wm/openbox/openbox-3.6.1-r3.ebuild
index 0737dc46d36..5a00c19811e 100644
--- a/x11-wm/openbox/openbox-3.6.1-r3.ebuild
+++ b/x11-wm/openbox/openbox-3.6.1-r3.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit autotools python-single-r1
-DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager"
+DESCRIPTION="Standards compliant, fast, light-weight, extensible window manager"
HOMEPAGE="http://openbox.org/wiki/Main_Page"
if [[ ${PV} == *9999* ]]; then
@@ -21,7 +21,7 @@ SRC_URI+=" branding? ( https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo
LICENSE="GPL-2"
SLOT="3"
-IUSE="branding debug imlib nls session startup-notification static-libs svg xdg"
+IUSE="branding debug imlib nls session startup-notification svg xdg"
REQUIRED_USE="xdg? ( ${PYTHON_REQUIRED_USE} )"
BDEPEND="
@@ -51,8 +51,7 @@ RDEPEND="
')
)
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}
x11-base/xorg-proto
"
@@ -62,6 +61,10 @@ PATCHES=(
"${FILESDIR}/${PN}-3.6.1-py3-xdg.patch"
)
+pkg_setup() {
+ use xdg && python-single-r1_pkg_setup
+}
+
src_unpack() {
if [[ ${PV} == *9999* ]]; then
git-r3_src_unpack
@@ -71,25 +74,26 @@ src_unpack() {
}
src_prepare() {
- use xdg && python-single-r1_pkg_setup
default
sed -i \
-e "s:-O0 -ggdb ::" \
-e 's/-fno-strict-aliasing//' \
- "${S}"/m4/openbox.m4 || die
+ m4/openbox.m4 || die
eautoreconf
}
src_configure() {
- econf \
- $(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) \
+ 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() {
@@ -106,7 +110,7 @@ src_install() {
"${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
+ find "${ED}" -name '*.la' -delete || die
if use xdg ; then
python_fix_shebang "${ED}"/usr/libexec/openbox-xdg-autostart
else
diff --git a/x11-wm/openbox/openbox-9999.ebuild b/x11-wm/openbox/openbox-9999.ebuild
index 916dd0c6229..f608dddb2d7 100644
--- a/x11-wm/openbox/openbox-9999.ebuild
+++ b/x11-wm/openbox/openbox-9999.ebuild
@@ -1,12 +1,12 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
-PYTHON_COMPAT=( python3_{7,8} )
+PYTHON_COMPAT=( python3_{7,8,9} )
inherit autotools python-single-r1
-DESCRIPTION="A standards compliant, fast, light-weight, extensible window manager"
+DESCRIPTION="Standards compliant, fast, light-weight, extensible window manager"
HOMEPAGE="http://openbox.org/wiki/Main_Page"
if [[ ${PV} == *9999* ]]; then
@@ -21,7 +21,7 @@ SRC_URI+=" branding? ( https://dev.gentoo.org/~hwoarang/distfiles/surreal-gentoo
LICENSE="GPL-2"
SLOT="3"
-IUSE="branding debug imlib nls session startup-notification static-libs svg xdg"
+IUSE="branding debug imlib nls session startup-notification svg xdg"
REQUIRED_USE="xdg? ( ${PYTHON_REQUIRED_USE} )"
BDEPEND="
@@ -51,8 +51,7 @@ RDEPEND="
')
)
"
-DEPEND="
- ${RDEPEND}
+DEPEND="${RDEPEND}
x11-base/xorg-proto
"
@@ -62,6 +61,10 @@ PATCHES=(
"${FILESDIR}/${PN}-3.6.1-py3-xdg.patch"
)
+pkg_setup() {
+ use xdg && python-single-r1_pkg_setup
+}
+
src_unpack() {
if [[ ${PV} == *9999* ]]; then
git-r3_src_unpack
@@ -71,25 +74,26 @@ src_unpack() {
}
src_prepare() {
- use xdg && python-single-r1_pkg_setup
default
sed -i \
-e "s:-O0 -ggdb ::" \
-e 's/-fno-strict-aliasing//' \
- "${S}"/m4/openbox.m4 || die
+ m4/openbox.m4 || die
eautoreconf
}
src_configure() {
- econf \
- $(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) \
+ 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() {
@@ -106,7 +110,7 @@ src_install() {
"${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
+ find "${ED}" -name '*.la' -delete || die
if use xdg ; then
python_fix_shebang "${ED}"/usr/libexec/openbox-xdg-autostart
else
next reply other threads:[~2021-03-14 23:02 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-14 23:02 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
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-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=1615762913.c041c9a6d1228503e15329e7eaffb24dc49c9b5b.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