1 |
commit: 964a1629b70ecd13442bf87c7db23ac3b5752c17 |
2 |
Author: Pascal Jäger <pascal.jaeger <AT> leimstift <DOT> de> |
3 |
AuthorDate: Mon Oct 31 16:31:22 2022 +0000 |
4 |
Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Oct 31 17:32:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964a1629 |
7 |
|
8 |
x11-misc/xscreensaver: revbump, get install dirs from GTK3 instead of GTK2 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/878875 |
11 |
Signed-off-by: Pascal Jäger <pascal.jaeger <AT> leimstift.de> |
12 |
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> |
13 |
|
14 |
...er-6.05-get-dirs-from-gtk3.0-in-configure.patch | 27 ++++++++++++++++++++++ |
15 |
...ver-6.05.ebuild => xscreensaver-6.05-r1.ebuild} | 1 + |
16 |
2 files changed, 28 insertions(+) |
17 |
|
18 |
diff --git a/x11-misc/xscreensaver/files/xscreensaver-6.05-get-dirs-from-gtk3.0-in-configure.patch b/x11-misc/xscreensaver/files/xscreensaver-6.05-get-dirs-from-gtk3.0-in-configure.patch |
19 |
new file mode 100644 |
20 |
index 000000000000..c624c8046026 |
21 |
--- /dev/null |
22 |
+++ b/x11-misc/xscreensaver/files/xscreensaver-6.05-get-dirs-from-gtk3.0-in-configure.patch |
23 |
@@ -0,0 +1,27 @@ |
24 |
+Even though xscreensaver now uses GTK+3 instead of GTK+2 since version 6.05 |
25 |
+it still gets its directories from GTK+2 which results in an empty prefix |
26 |
+when GTK+2 is not installed. |
27 |
+ |
28 |
+Bug: https://bugs.gentoo.org/878875 |
29 |
+ |
30 |
+Signed-off-by: Pascal Jäger <pascal.jaeger@×××××××××.de> |
31 |
+ |
32 |
+--- a/configure |
33 |
++++ b/configure |
34 |
+@@ -16035,7 +16035,7 @@ printf "%s\n" "$ac_cv_gtk_config_libs" >&6; } |
35 |
+ |
36 |
+ GTK_DATADIR="" |
37 |
+ if test "$have_gtk" = yes; then |
38 |
+- GTK_DATADIR=`$pkg_config --variable=prefix gtk+-2.0` |
39 |
++ GTK_DATADIR=`$pkg_config --variable=prefix gtk+-3.0` |
40 |
+ GTK_DATADIR="$GTK_DATADIR/share" |
41 |
+ fi |
42 |
+ |
43 |
+@@ -21440,6 +21440,6 @@ printf %s "checking for locale directory... " >&6; } |
44 |
+ if test -n "$GTK_DATADIR" ; then |
45 |
+ PO_DATADIR="$GTK_DATADIR" |
46 |
+ elif test "$have_gtk" = yes; then |
47 |
+- PO_DATADIR=`$pkg_config --variable=prefix gtk+-2.0` |
48 |
++ PO_DATADIR=`$pkg_config --variable=prefix gtk+-3.0` |
49 |
+ PO_DATADIR="$PO_DATADIR/share" |
50 |
+ fi |
51 |
|
52 |
diff --git a/x11-misc/xscreensaver/xscreensaver-6.05.ebuild b/x11-misc/xscreensaver/xscreensaver-6.05-r1.ebuild |
53 |
similarity index 99% |
54 |
rename from x11-misc/xscreensaver/xscreensaver-6.05.ebuild |
55 |
rename to x11-misc/xscreensaver/xscreensaver-6.05-r1.ebuild |
56 |
index 9a1a99c055ec..b751510dba2d 100644 |
57 |
--- a/x11-misc/xscreensaver/xscreensaver-6.05.ebuild |
58 |
+++ b/x11-misc/xscreensaver/xscreensaver-6.05-r1.ebuild |
59 |
@@ -88,6 +88,7 @@ PATCHES=( |
60 |
"${FILESDIR}"/${PN}-6.03-without-gl-configure.patch |
61 |
"${FILESDIR}"/${PN}-6.05-remove-update-icon-cache.patch |
62 |
"${FILESDIR}"/${PN}-6.05-configure-exit-codes.patch |
63 |
+ "${FILESDIR}"/${PN}-6.05-get-dirs-from-gtk3.0-in-configure.patch |
64 |
) |
65 |
|
66 |
DOCS=( README{,.hacking} ) |