diff options
-rw-r--r-- | meta-oe/recipes-graphics/xscreensaver/files/0001-Tweak-app-defaults.patch (renamed from meta-oe/recipes-graphics/xscreensaver/files/tweak-app-defaults.patch) | 23 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/xscreensaver/files/0001-configure-Ignore-CONF_STATUS-for-gtk-and-openGL-need.patch | 47 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/xscreensaver/files/0002-build-Do-not-build-po-files.patch (renamed from meta-oe/recipes-graphics/xscreensaver/files/0001-build-Do-not-build-po-files.patch) | 25 | ||||
-rw-r--r-- | meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb (renamed from meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.01.bb) | 23 |
4 files changed, 99 insertions, 19 deletions
diff --git a/meta-oe/recipes-graphics/xscreensaver/files/tweak-app-defaults.patch b/meta-oe/recipes-graphics/xscreensaver/files/0001-Tweak-app-defaults.patch index 4ce2faed5d..1d0d20da2f 100644 --- a/meta-oe/recipes-graphics/xscreensaver/files/tweak-app-defaults.patch +++ b/meta-oe/recipes-graphics/xscreensaver/files/0001-Tweak-app-defaults.patch | |||
@@ -1,3 +1,14 @@ | |||
1 | From f2c592352360e52a7c817a1adcc8b09fd92cd941 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 16 Jul 2022 09:58:24 -0700 | ||
4 | Subject: [PATCH 1/2] Tweak app defaults | ||
5 | |||
6 | Upstream-Status: Inappropriate [OE-Specific] | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | --- | ||
9 | driver/XScreenSaver.ad.in | 259 +------------------------------------- | ||
10 | 1 file changed, 6 insertions(+), 253 deletions(-) | ||
11 | |||
1 | --- a/driver/XScreenSaver.ad.in | 12 | --- a/driver/XScreenSaver.ad.in |
2 | +++ b/driver/XScreenSaver.ad.in | 13 | +++ b/driver/XScreenSaver.ad.in |
3 | @@ -29,7 +29,7 @@ | 14 | @@ -29,7 +29,7 @@ |
@@ -32,7 +43,7 @@ | |||
32 | *splashDuration: 0:00:05 | 43 | *splashDuration: 0:00:05 |
33 | *visualID: default | 44 | *visualID: default |
34 | *installColormap: True | 45 | *installColormap: True |
35 | @@ -324,250 +324,8 @@ XScreenSaver.bourneShell: /bin/sh | 46 | @@ -324,256 +324,8 @@ XScreenSaver.bourneShell: /bin/sh |
36 | !============================================================================= | 47 | !============================================================================= |
37 | 48 | ||
38 | *programs: \ | 49 | *programs: \ |
@@ -74,7 +85,7 @@ | |||
74 | - munch -root \n\ | 85 | - munch -root \n\ |
75 | - penrose -root \n\ | 86 | - penrose -root \n\ |
76 | -@GL_KLUDGE@ GL: pipes -root \n\ | 87 | -@GL_KLUDGE@ GL: pipes -root \n\ |
77 | - rd-bomb -root \n\ | 88 | - rdbomb -root \n\ |
78 | -@GL_KLUDGE@ GL: rubik -root \n\ | 89 | -@GL_KLUDGE@ GL: rubik -root \n\ |
79 | -- sierpinski -root \n\ | 90 | -- sierpinski -root \n\ |
80 | - slip -root \n\ | 91 | - slip -root \n\ |
@@ -277,7 +288,13 @@ | |||
277 | -@GL_KLUDGE@ GL: etruscanvenus -root \n\ | 288 | -@GL_KLUDGE@ GL: etruscanvenus -root \n\ |
278 | -@GL_KLUDGE@ GL: gibson -root \n\ | 289 | -@GL_KLUDGE@ GL: gibson -root \n\ |
279 | -@GL_KLUDGE@ GL: headroom -root \n\ | 290 | -@GL_KLUDGE@ GL: headroom -root \n\ |
280 | -@GL_KLUDGE@ GL: sphereeversion -root \n | 291 | -@GL_KLUDGE@ GL: sphereeversion -root \n\ |
292 | - binaryhorizon -root \n\ | ||
293 | - marbling -root \n\ | ||
294 | -@GL_KLUDGE@ GL: chompytower -root \n\ | ||
295 | -@GL_KLUDGE@ GL: mapscroller -root \n\ | ||
296 | -@GL_KLUDGE@ GL: nakagin -root \n\ | ||
297 | -@GL_KLUDGE@ GL: squirtorus -root \n | ||
281 | - | 298 | - |
282 | - | 299 | - |
283 | +- fontglide -root -program "date +'%F %H:%M %z'" | 300 | +- fontglide -root -program "date +'%F %H:%M %z'" |
diff --git a/meta-oe/recipes-graphics/xscreensaver/files/0001-configure-Ignore-CONF_STATUS-for-gtk-and-openGL-need.patch b/meta-oe/recipes-graphics/xscreensaver/files/0001-configure-Ignore-CONF_STATUS-for-gtk-and-openGL-need.patch new file mode 100644 index 0000000000..ea3f25a2f2 --- /dev/null +++ b/meta-oe/recipes-graphics/xscreensaver/files/0001-configure-Ignore-CONF_STATUS-for-gtk-and-openGL-need.patch | |||
@@ -0,0 +1,47 @@ | |||
1 | From 516fbcdcfe6343b1d64d35957ddb768346713ff6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sun, 17 Jul 2022 09:47:35 -0700 | ||
4 | Subject: [PATCH] configure: Ignore CONF_STATUS for gtk and openGL needs | ||
5 | |||
6 | These are just warnings | ||
7 | |||
8 | Upstream-Status: Inappropriate [OE-Specific] | ||
9 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
10 | --- | ||
11 | configure.ac | 4 ---- | ||
12 | 1 file changed, 4 deletions(-) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index c4fd38f..d7463cf 100644 | ||
16 | --- a/configure.ac | ||
17 | +++ b/configure.ac | ||
18 | @@ -4522,7 +4522,6 @@ fi | ||
19 | if test "$gtk_halfassed" != no ; then | ||
20 | warnL "GTK was found, but $gtk_halfassed_lib was not, so GTK" | ||
21 | warn2 "can't be used." | ||
22 | - CONF_STATUS=1 | ||
23 | |||
24 | if ( echo $gtk_halfassed_lib | grep -qi pixbuf-xlib ); then | ||
25 | echo '' | ||
26 | @@ -4549,7 +4548,6 @@ if test "$have_motif" = no -a "$have_gtk" = no; then | ||
27 | else | ||
28 | warnL "The GTK libraries do not seem to be available; the" | ||
29 | warn2 "\`xscreensaver-settings' program requires them." | ||
30 | - CONF_STATUS=1 | ||
31 | # echo '' | ||
32 | # warn2 'You can use Motif or Lesstif instead of GTK (use the' | ||
33 | # warn2 "\`--with-motif' option) but that is NOT recommended." | ||
34 | @@ -4735,10 +4733,8 @@ if test "$have_gl" = no ; then | ||
35 | CONF_STATUS=1 | ||
36 | elif test "$with_gl_req" = no ; then | ||
37 | noteL 'The OpenGL 3D library is not being used.' | ||
38 | - CONF_STATUS=1 | ||
39 | else | ||
40 | noteL 'The OpenGL 3D library was not found.' | ||
41 | - CONF_STATUS=1 | ||
42 | fi | ||
43 | |||
44 | if test "$gl_halfassed" = yes ; then | ||
45 | -- | ||
46 | 2.37.1 | ||
47 | |||
diff --git a/meta-oe/recipes-graphics/xscreensaver/files/0001-build-Do-not-build-po-files.patch b/meta-oe/recipes-graphics/xscreensaver/files/0002-build-Do-not-build-po-files.patch index 7703a43204..0ceba7be02 100644 --- a/meta-oe/recipes-graphics/xscreensaver/files/0001-build-Do-not-build-po-files.patch +++ b/meta-oe/recipes-graphics/xscreensaver/files/0002-build-Do-not-build-po-files.patch | |||
@@ -1,18 +1,22 @@ | |||
1 | From 19bd0a979677a81d7399d5b567998398ec81f38b Mon Sep 17 00:00:00 2001 | 1 | From 6b5d022f6dd9848a2d5ca08a1968929b8c140981 Mon Sep 17 00:00:00 2001 |
2 | From: Khem Raj <raj.khem@gmail.com> | 2 | From: Khem Raj <raj.khem@gmail.com> |
3 | Date: Thu, 8 Jul 2021 15:40:10 -0700 | 3 | Date: Sat, 16 Jul 2022 09:59:40 -0700 |
4 | Subject: [PATCH] build: Do not build po files | 4 | Subject: [PATCH 2/2] build: Do not build po files |
5 | 5 | ||
6 | Fixes | 6 | Fixes |
7 | | make[1]: Entering directory '/mnt/b/yoe/master/build/tmp/work/cortexa57-yoe-linux/xscreensaver/6.01-r0/xscreensaver-6.01/po' | 7 | | make[1]: Entering directory '/mnt/b/yoe/master/build/tmp/work/cortexa57-yoe-linux/xscreensaver/6.01-r0/xscreensaver-6.01/po' |
8 | | make[1]: *** No rule to make target 'default'. Stop. | 8 | | make[1]: *** No rule to make target 'default'. Stop. |
9 | 9 | ||
10 | Upstream-Status: Pending | 10 | Upstream-Status: Pending |
11 | |||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | 12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
12 | --- | 13 | --- |
13 | Makefile.in | 3 +-- | 14 | Makefile.in | 5 ++--- |
14 | 1 file changed, 1 insertion(+), 2 deletions(-) | 15 | driver/Makefile.in | 2 +- |
16 | 2 files changed, 3 insertions(+), 4 deletions(-) | ||
15 | 17 | ||
18 | diff --git a/Makefile.in b/Makefile.in | ||
19 | index 9de79b2..1c1d16c 100644 | ||
16 | --- a/Makefile.in | 20 | --- a/Makefile.in |
17 | +++ b/Makefile.in | 21 | +++ b/Makefile.in |
18 | @@ -6,8 +6,8 @@ srcdir = @srcdir@ | 22 | @@ -6,8 +6,8 @@ srcdir = @srcdir@ |
@@ -26,14 +30,16 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
26 | SUBDIRS2 = $(SUBDIRS) OSX android | 30 | SUBDIRS2 = $(SUBDIRS) OSX android |
27 | TARFILES = README README.hacking INSTALL \ | 31 | TARFILES = README README.hacking INSTALL \ |
28 | configure configure.ac Makefile.in config.h.in \ | 32 | configure configure.ac Makefile.in config.h.in \ |
29 | @@ -451,4 +451,3 @@ cerebrum:: | 33 | @@ -461,4 +461,3 @@ cerebrum:: |
30 | --include 'configure*' \ | 34 | --include 'ad2c' \ |
31 | --include '*/' \ | 35 | --include '*/' \ |
32 | --exclude '*' | 36 | --exclude '*' |
33 | - | 37 | - |
38 | diff --git a/driver/Makefile.in b/driver/Makefile.in | ||
39 | index e1fa1b2..feca6fc 100644 | ||
34 | --- a/driver/Makefile.in | 40 | --- a/driver/Makefile.in |
35 | +++ b/driver/Makefile.in | 41 | +++ b/driver/Makefile.in |
36 | @@ -212,7 +212,7 @@ TEST_EXES = test-passwd test-uid | 42 | @@ -211,7 +211,7 @@ TEST_EXES = test-passwd test-uid test-xdpms test-grab \ |
37 | xdpyinfo test-screens test-yarandom test-xinput \ | 43 | xdpyinfo test-screens test-yarandom test-xinput \ |
38 | test-xkb | 44 | test-xkb |
39 | 45 | ||
@@ -42,3 +48,6 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
42 | UTIL_EXES = xscreensaver-gfx @EXES_SYSTEMD@ | 48 | UTIL_EXES = xscreensaver-gfx @EXES_SYSTEMD@ |
43 | SETUID_EXES = xscreensaver-auth | 49 | SETUID_EXES = xscreensaver-auth |
44 | DEMO_EXES = @ALL_DEMO_PROGRAMS@ | 50 | DEMO_EXES = @ALL_DEMO_PROGRAMS@ |
51 | -- | ||
52 | 2.37.1 | ||
53 | |||
diff --git a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.01.bb b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb index 2ab5297949..d24f666bcf 100644 --- a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.01.bb +++ b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb | |||
@@ -3,16 +3,15 @@ HOMEPAGE = "https://www.jwz.org/xscreensaver/" | |||
3 | LICENSE = "0BSD" | 3 | LICENSE = "0BSD" |
4 | LIC_FILES_CHKSUM = "file://driver/xscreensaver.h;endline=10;md5=c3ce41cdff745eb1dc9d4fcfbffb4d51" | 4 | LIC_FILES_CHKSUM = "file://driver/xscreensaver.h;endline=10;md5=c3ce41cdff745eb1dc9d4fcfbffb4d51" |
5 | 5 | ||
6 | SRC_URI = "https://www.jwz.org/${BPN}/${BP}.tar.gz" | 6 | SRC_URI = "https://www.jwz.org/${BPN}/${BP}.tar.gz \ |
7 | SRC_URI[sha256sum] = "085484665d91f60b4a1dedacd94bcf9b74b0fb096bcedc89ff1c245168e5473b" | ||
8 | |||
9 | SRC_URI += " \ | ||
10 | file://xscreensaver.service \ | 7 | file://xscreensaver.service \ |
11 | file://0001-build-Do-not-build-po-files.patch \ | 8 | file://0001-Tweak-app-defaults.patch \ |
12 | file://tweak-app-defaults.patch \ | 9 | file://0002-build-Do-not-build-po-files.patch \ |
10 | file://0001-configure-Ignore-CONF_STATUS-for-gtk-and-openGL-need.patch \ | ||
13 | " | 11 | " |
12 | SRC_URI[sha256sum] = "787014b29f0c5793ecc2d93e1109a049ff48ab0c29b851dab34f683ceef6b152" | ||
14 | 13 | ||
15 | DEPENDS = "intltool-native libx11 libxext libxt libxft libxi glib-2.0-native bc-native libpam" | 14 | DEPENDS = "intltool-native libx11 libxext libxt libxft libxi glib-2.0-native bc-native libpam jpeg" |
16 | # These are only needed as part of the stopgap screensaver implementation: | 15 | # These are only needed as part of the stopgap screensaver implementation: |
17 | RDEPENDS:${PN} = " \ | 16 | RDEPENDS:${PN} = " \ |
18 | liberation-fonts \ | 17 | liberation-fonts \ |
@@ -25,9 +24,17 @@ inherit systemd perlnative pkgconfig gettext autotools-brokensep features_check | |||
25 | EXTRA_OECONF += "--with-app-defaults=${datadir}/X11/app-defaults --libdir=${STAGING_LIBDIR} \ | 24 | EXTRA_OECONF += "--with-app-defaults=${datadir}/X11/app-defaults --libdir=${STAGING_LIBDIR} \ |
26 | --includedir=${STAGING_INCDIR} --with-pam --with-login-manager" | 25 | --includedir=${STAGING_INCDIR} --with-pam --with-login-manager" |
27 | 26 | ||
28 | EXTRA_OEMAKE += "install_prefix=${D}" | 27 | EXTRA_OEMAKE += "install_prefix=${D} GTK_DATADIR=${datadir}" |
29 | REQUIRED_DISTRO_FEATURES = "x11 pam" | 28 | REQUIRED_DISTRO_FEATURES = "x11 pam" |
30 | 29 | ||
30 | PACKAGECONFIG = "png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" | ||
31 | |||
32 | PACKAGECONFIG[systemd] = "--with-systemd=yes,--with-systemd=no,systemd" | ||
33 | PACKAGECONFIG[png] = "--with-png=yes,--with-png=no,libpng" | ||
34 | |||
35 | CONFIGUREOPTS:remove = "--disable-silent-rules --disable-dependency-tracking ${@append_libtool_sysroot(d)}" | ||
36 | EXTRA_OECONF:remove = "--disable-static" | ||
37 | |||
31 | do_install:append() { | 38 | do_install:append() { |
32 | install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service | 39 | install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service |
33 | for f in xscreensaver-getimage-file xscreensaver-getimage-video webcollage xscreensaver-text vidwhacker | 40 | for f in xscreensaver-getimage-file xscreensaver-getimage-video webcollage xscreensaver-text vidwhacker |