From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-wm/openbox/
Date: Sat, 5 Aug 2023 22:29:48 +0000 (UTC) [thread overview]
Message-ID: <1691274511.7f9198feb0dc9af82c863c7839d339c6a54bd76c.sam@gentoo> (raw)
commit: 7f9198feb0dc9af82c863c7839d339c6a54bd76c
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 5 22:28:02 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Aug 5 22:28:31 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f9198fe
x11-wm/openbox: fix shebang in /etc/X11/Sessions file
A file in /etc/X11/Sessions with just the path that's *not* executable is fine,
but if it's executable, it's reasonably treated as a script. Oops.
Closes: https://bugs.gentoo.org/911787
Signed-off-by: Sam James <sam <AT> gentoo.org>
.../{openbox-9999.ebuild => openbox-3.6.1-r6.ebuild} | 13 +++++++++----
x11-wm/openbox/openbox-9999.ebuild | 11 ++++++++---
2 files changed, 17 insertions(+), 7 deletions(-)
diff --git a/x11-wm/openbox/openbox-9999.ebuild b/x11-wm/openbox/openbox-3.6.1-r6.ebuild
similarity index 91%
copy from x11-wm/openbox/openbox-9999.ebuild
copy to x11-wm/openbox/openbox-3.6.1-r6.ebuild
index d753cdef761b..0233009d6d34 100644
--- a/x11-wm/openbox/openbox-9999.ebuild
+++ b/x11-wm/openbox/openbox-3.6.1-r6.ebuild
@@ -14,7 +14,7 @@ if [[ ${PV} == *9999* ]]; then
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"
+ 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 )"
@@ -61,6 +61,8 @@ PATCHES=(
"${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() {
@@ -99,9 +101,12 @@ src_configure() {
}
src_install() {
- dodir /etc/X11/Sessions
- echo "/usr/bin/openbox-session" > "${ED}/etc/X11/Sessions/${PN}"
- fperms a+x /etc/X11/Sessions/${PN}
+ exeinto /etc/X11/Sessions
+ newexe - ${PN} <<-EOF
+ #!/bin/sh
+ ${PN}
+ EOF
+
emake DESTDIR="${D}" install
if use branding; then
insinto /usr/share/themes
diff --git a/x11-wm/openbox/openbox-9999.ebuild b/x11-wm/openbox/openbox-9999.ebuild
index d753cdef761b..3a35c296e216 100644
--- a/x11-wm/openbox/openbox-9999.ebuild
+++ b/x11-wm/openbox/openbox-9999.ebuild
@@ -61,6 +61,8 @@ PATCHES=(
"${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() {
@@ -99,9 +101,12 @@ src_configure() {
}
src_install() {
- dodir /etc/X11/Sessions
- echo "/usr/bin/openbox-session" > "${ED}/etc/X11/Sessions/${PN}"
- fperms a+x /etc/X11/Sessions/${PN}
+ exeinto /etc/X11/Sessions
+ newexe - ${PN} <<-EOF
+ #!/bin/sh
+ ${PN}
+ EOF
+
emake DESTDIR="${D}" install
if use branding; then
insinto /usr/share/themes
next reply other threads:[~2023-08-05 22:29 UTC|newest]
Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-05 22:29 Sam James [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-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-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=1691274511.7f9198feb0dc9af82c863c7839d339c6a54bd76c.sam@gentoo \
--to=sam@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