public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Ulrich Müller" <ulm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/xscreensaver/, x11-misc/xscreensaver/files/
Date: Sun, 25 Jul 2021 07:08:08 +0000 (UTC)	[thread overview]
Message-ID: <1627196871.4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68.ulm@gentoo> (raw)

commit:     4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 25 07:07:51 2021 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 25 07:07:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bc0d6db

x11-misc/xscreensaver: Replace src_prepare weirdness

Add an AM_PROG_INSTALL_SH line to configure.ac instead.

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 .../files/xscreensaver-6.01-configure-install_sh.patch     | 12 ++++++++++++
 x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild          | 14 ++------------
 2 files changed, 14 insertions(+), 12 deletions(-)

diff --git a/x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch b/x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch
new file mode 100644
index 00000000000..490e32f6817
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-6.01-configure-install_sh.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/803479
+
+--- a/configure.ac
++++ b/configure.ac
+@@ -1062,6 +1062,7 @@
+ AC_PROG_INSTALL
+ AC_PROG_INSTALL_DIRS
+ AC_PROG_MAKE_SET
++AM_PROG_INSTALL_SH
+ 
+ # By default, autoconf sets INSTALL_SCRIPT to '${INSTALL_PROGRAM}'.
+ # That's wrong: it should be set to '${INSTALL}', so that one can

diff --git a/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild b/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild
index fc75283e450..609e6c132c7 100644
--- a/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild
+++ b/x11-misc/xscreensaver/xscreensaver-6.01-r3.ebuild
@@ -2,6 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+
 inherit autotools flag-o-matic font multilib optfeature pam
 
 DESCRIPTION="modular screen saver and locker for the X Window System"
@@ -87,6 +88,7 @@ PATCHES=(
 	"${FILESDIR}"/${PN}-6.01-without-gl-makefile.patch
 	"${FILESDIR}"/${PN}-6.01-non-gtk-install.patch
 	"${FILESDIR}"/${PN}-6.01-gtk-detection.patch
+	"${FILESDIR}"/${PN}-6.01-configure-install_sh.patch
 )
 
 src_prepare() {
@@ -125,19 +127,7 @@ src_prepare() {
 	eapply_user
 
 	# Must be eauto*re*conf, to force the rebuild
-	# it is NOT an entirely normal autoconf so there is weirdness!
 	eautoreconf
-	eautoheader
-
-	# Afterwards, fix the linguas
-	# doesn't populate @install_sh@ properly
-	# https://bugs.gentoo.org/803479
-	# requires LINGUAS to trigger
-	sed -i.orig \
-		-e "/^install_sh = /s!=.*!= ${S}/install-sh!g" \
-		"${S}/po/Makefile.in.in" || die
-	grep -e install_sh \
-		"${S}/po/Makefile.in.in" || die
 }
 
 src_configure() {


             reply	other threads:[~2021-07-25  7:08 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-25  7:08 Ulrich Müller [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-17  7:50 [gentoo-commits] repo/gentoo:master commit in: x11-misc/xscreensaver/, x11-misc/xscreensaver/files/ Florian Schmaus
2023-09-06 10:51 Florian Schmaus
2023-05-29 18:21 Sam James
2022-12-25 22:26 Ulrich Müller
2022-12-16 20:19 Sebastian Pipping
2022-10-30  9:40 Sam James
2022-03-12  0:10 Sam James
2021-09-05  5:16 Jakov Smolić
2021-07-17 22:17 Sebastian Pipping
2021-06-13 11:44 Sebastian Pipping
2021-06-11 15:36 Sebastian Pipping
2021-03-12 20:33 Sebastian Pipping
2021-03-12 17:14 Sebastian Pipping
2020-07-23 10:42 Jeroen Roovers
2020-05-03  1:35 Matt Turner
2020-03-22  8:05 Jeroen Roovers
2020-03-21  6:39 Jeroen Roovers
2016-08-13  8:18 Jeroen Roovers
2015-11-08  6:09 Jeroen Roovers

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=1627196871.4bc0d6dbbda9ba1edb52d90a5320f83ef8d61a68.ulm@gentoo \
    --to=ulm@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