summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-graphics
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-graphics')
-rw-r--r--meta-oe/recipes-graphics/cglm/cglm_0.9.4.bb (renamed from meta-oe/recipes-graphics/cglm/cglm_0.9.2.bb)2
-rw-r--r--meta-oe/recipes-graphics/directfb/directfb.inc1
-rw-r--r--meta-oe/recipes-graphics/directfb/directfb/0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch36
-rw-r--r--meta-oe/recipes-graphics/fvwm/fvwm/0001-configure-Do-not-require-support-for-implicit-ints.patch45
-rw-r--r--meta-oe/recipes-graphics/fvwm/fvwm/0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch32
-rw-r--r--meta-oe/recipes-graphics/fvwm/fvwm/0003-configure-Further-defang-the-Werror-check.patch35
-rw-r--r--meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb3
-rw-r--r--meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb8
-rw-r--r--meta-oe/recipes-graphics/gphoto2/libgphoto2/fix-build-with-gcc-14.patch36
-rw-r--r--meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb3
-rw-r--r--meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb2
-rw-r--r--meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb2
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch52
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.2.bb (renamed from meta-oe/recipes-graphics/libsdl/libsdl2-image_2.0.5.bb)5
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb1
-rw-r--r--meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb4
-rw-r--r--meta-oe/recipes-graphics/pango/pangomm-2.48_2.52.0.bb (renamed from meta-oe/recipes-graphics/pango/pangomm-2.48_2.50.1.bb)2
-rw-r--r--meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb2
-rw-r--r--meta-oe/recipes-graphics/suckless/st_0.9.2.bb2
-rw-r--r--meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb2
-rw-r--r--meta-oe/recipes-graphics/tslib/tslib_1.22.bb4
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb2
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn-fonts.conf (renamed from meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf)0
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb34
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc26
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp-fonts.conf (renamed from meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf)0
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb34
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr-fonts.conf (renamed from meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf)0
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb34
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw-fonts.conf (renamed from meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf)0
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb34
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb2
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb8
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb2
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb5
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb3
-rw-r--r--meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.6.bb (renamed from meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.5.bb)4
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.8.bb (renamed from meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.7.bb)2
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch75
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch30
-rw-r--r--meta-oe/recipes-graphics/xorg-app/xterm_392.bb (renamed from meta-oe/recipes-graphics/xorg-app/xterm_388.bb)7
-rw-r--r--meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb2
-rw-r--r--meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb4
-rw-r--r--meta-oe/recipes-graphics/ydotool/ydotool_git.bb6
47 files changed, 361 insertions, 240 deletions
diff --git a/meta-oe/recipes-graphics/cglm/cglm_0.9.2.bb b/meta-oe/recipes-graphics/cglm/cglm_0.9.4.bb
index b503c6ed9..6fcc07d92 100644
--- a/meta-oe/recipes-graphics/cglm/cglm_0.9.2.bb
+++ b/meta-oe/recipes-graphics/cglm/cglm_0.9.4.bb
@@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8dc95c4110ba741c43832734b51b7de7"
10 10
11SRC_URI = "git://github.com/recp/cglm;branch=master;protocol=https" 11SRC_URI = "git://github.com/recp/cglm;branch=master;protocol=https"
12# Tag v0.9.1 12# Tag v0.9.1
13SRCREV = "c8781615183ce3cb4f5d72caf70f2c01d7d4d2af" 13SRCREV = "1796cc5ce298235b615dc7a4750b8c3ba56a05dd"
14 14
15S = "${WORKDIR}/git" 15S = "${WORKDIR}/git"
16 16
diff --git a/meta-oe/recipes-graphics/directfb/directfb.inc b/meta-oe/recipes-graphics/directfb/directfb.inc
index 4d38632e2..54aeb06aa 100644
--- a/meta-oe/recipes-graphics/directfb/directfb.inc
+++ b/meta-oe/recipes-graphics/directfb/directfb.inc
@@ -24,6 +24,7 @@ SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/DirectFB-${PV}.tar.g
24 file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \ 24 file://0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch \
25 file://0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch \ 25 file://0001-os-linux-Fix-build-when-__NR_futex-is-not-available.patch \
26 file://0001-include-libgen.h-for-basename.patch \ 26 file://0001-include-libgen.h-for-basename.patch \
27 file://0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch \
27 " 28 "
28 29
29S = "${WORKDIR}/DirectFB-${PV}" 30S = "${WORKDIR}/DirectFB-${PV}"
diff --git a/meta-oe/recipes-graphics/directfb/directfb/0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch b/meta-oe/recipes-graphics/directfb/directfb/0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch
new file mode 100644
index 000000000..574bba0bc
--- /dev/null
+++ b/meta-oe/recipes-graphics/directfb/directfb/0001-inputdrivers-Correct-the-signature-of-bind-call-on-m.patch
@@ -0,0 +1,36 @@
1From 18f4eca291cabf93d87e7c9051268d9c385b8f37 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 May 2024 18:23:06 -0700
4Subject: [PATCH] inputdrivers: Correct the signature of bind() call on musl
5 systems
6
7Its flagged with GCC14
8
9../../../DirectFB-1.7.7/inputdrivers/linux_input/linux_input.c:1551:27: error: passing argument 2 of 'bind' from incompatible pointer type [-Wincompatible-pointer-types]
10 1551 | rt = bind(socket_fd, &sock_addr,
11 | ^~~~~~~~~~
12 | |
13 | struct sockaddr_un *
14
15Upstream-Status: Pending
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 inputdrivers/linux_input/linux_input.c | 2 +-
19 1 file changed, 1 insertion(+), 1 deletion(-)
20
21diff --git a/inputdrivers/linux_input/linux_input.c b/inputdrivers/linux_input/linux_input.c
22index 03deebc..207f5a5 100644
23--- a/inputdrivers/linux_input/linux_input.c
24+++ b/inputdrivers/linux_input/linux_input.c
25@@ -1548,7 +1548,7 @@ udev_hotplug_EventThread(DirectThread *thread, void * hotplug_data)
26 "/org/kernel/udev/monitor",
27 sizeof(sock_addr.sun_path) - 1);
28
29- rt = bind(socket_fd, &sock_addr,
30+ rt = bind(socket_fd, (struct sockaddr *)&sock_addr,
31 sizeof(sock_addr.sun_family)+1+strlen(&sock_addr.sun_path[1]));
32 if (rt < 0) {
33 D_PERROR( "DirectFB/linux_input: bind() failed: %s\n",
34--
352.45.1
36
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm/0001-configure-Do-not-require-support-for-implicit-ints.patch b/meta-oe/recipes-graphics/fvwm/fvwm/0001-configure-Do-not-require-support-for-implicit-ints.patch
new file mode 100644
index 000000000..356bd73f8
--- /dev/null
+++ b/meta-oe/recipes-graphics/fvwm/fvwm/0001-configure-Do-not-require-support-for-implicit-ints.patch
@@ -0,0 +1,45 @@
1From cbba378a23410241176d62f3bb43965c044615e3 Mon Sep 17 00:00:00 2001
2From: Florian Weimer <fweimer@redhat.com>
3Date: Thu, 24 Nov 2022 13:06:50 +0100
4Subject: [PATCH 1/3] configure: Do not require support for implicit ints
5
6Implicit ints have not been part of C since 1999, and future
7compilers will disable support for them by default. Fortunatenly,
8only one configure check needs adjusting.
9
10Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 acinclude.m4 | 2 +-
14 configure.ac | 2 +-
15 2 files changed, 2 insertions(+), 2 deletions(-)
16
17diff --git a/acinclude.m4 b/acinclude.m4
18index 8b74ff1e..b66042f9 100644
19--- a/acinclude.m4
20+++ b/acinclude.m4
21@@ -30,7 +30,7 @@ if test "$ac_cv_func_select" = yes; then
22 #ifdef HAVE_SYS_SOCKET_H
23 #include <sys/socket.h>
24 #endif],
25-[extern select ($ac_cv_type_fd_set_size_t,
26+[extern int select ($ac_cv_type_fd_set_size_t,
27 $ac_cv_type_fd_set *, $ac_cv_type_fd_set *, $ac_cv_type_fd_set *,
28 $ac_type_timeval *);],
29 [ac_found=yes ; break 3],ac_found=no)
30diff --git a/configure.ac b/configure.ac
31index 97ab9e7a..c9fcede6 100644
32--- a/configure.ac
33+++ b/configure.ac
34@@ -220,7 +220,7 @@ AC_MINIX
35
36 # catch -Werror and similar options when running configure
37 AC_TRY_COMPILE([#include <stdio.h>],
38-[int i; static j; int *p; char *c;
39+[int i; int *p; char *c;
40 switch (*p = p = *c) { case 0: printf("%Q", c, p); }
41 *c = &i; c = p;
42 while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1));
43--
442.45.0
45
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm/0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch b/meta-oe/recipes-graphics/fvwm/fvwm/0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch
new file mode 100644
index 000000000..50ecb20c7
--- /dev/null
+++ b/meta-oe/recipes-graphics/fvwm/fvwm/0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch
@@ -0,0 +1,32 @@
1From 51287fb60263530f61b14df5519e10dabe67d2ad Mon Sep 17 00:00:00 2001
2From: Florian Weimer <fweimer@redhat.com>
3Date: Thu, 24 Nov 2022 13:07:56 +0100
4Subject: [PATCH 2/3] acinclude.m4: Add missing <unistd.h> to
5 AM_SAFETY_CHECK_MKSTEMP
6
7Otherwise, the check fails on a compiler which does not support
8implicit function declarations (a language feature removed in 1999).
9
10Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100]
11Signed-off-by: Khem Raj <raj.khem@gmail.com>
12---
13 acinclude.m4 | 3 +++
14 1 file changed, 3 insertions(+)
15
16diff --git a/acinclude.m4 b/acinclude.m4
17index b66042f9..4dee2abe 100644
18--- a/acinclude.m4
19+++ b/acinclude.m4
20@@ -1154,6 +1154,9 @@ AC_DEFUN([AM_SAFETY_CHECK_MKSTEMP],[
21 #include <stdio.h>
22 #include <stdlib.h>
23 #include <string.h>
24+#ifdef HAVE_UNISTD_H
25+#include <unistd.h>
26+#endif
27 int main(void)
28 {
29 char template[128];
30--
312.45.0
32
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm/0003-configure-Further-defang-the-Werror-check.patch b/meta-oe/recipes-graphics/fvwm/fvwm/0003-configure-Further-defang-the-Werror-check.patch
new file mode 100644
index 000000000..e9d780ddc
--- /dev/null
+++ b/meta-oe/recipes-graphics/fvwm/fvwm/0003-configure-Further-defang-the-Werror-check.patch
@@ -0,0 +1,35 @@
1From 542c6f25327587d5a6bffb8a45b457ec85dcf8e1 Mon Sep 17 00:00:00 2001
2From: Florian Weimer <fweimer@redhat.com>
3Date: Tue, 19 Dec 2023 13:24:50 +0100
4Subject: [PATCH 3/3] configure: Further defang the -Werror check
5
6Incompatible pointer types are actually errors (in the sense
7that they are invalid C). Compilers have merely tolerated them as
8warnings for backwards compatibility. This is changing with Clang 16
9and GCC 14, so relax the check a little.
10
11Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100]
12Signed-off-by: Khem Raj <raj.khem@gmail.com>
13---
14 configure.ac | 5 ++---
15 1 file changed, 2 insertions(+), 3 deletions(-)
16
17diff --git a/configure.ac b/configure.ac
18index c9fcede6..2e9615b2 100644
19--- a/configure.ac
20+++ b/configure.ac
21@@ -220,9 +220,8 @@ AC_MINIX
22
23 # catch -Werror and similar options when running configure
24 AC_TRY_COMPILE([#include <stdio.h>],
25-[int i; int *p; char *c;
26- switch (*p = p = *c) { case 0: printf("%Q", c, p); }
27- *c = &i; c = p;
28+[int unused; int *p; char *c;
29+ printf("%Q", c, p);
30 while (1 || (unsigned int)3 >= 0 || ((int)-1) == ((unsigned int)1));
31 ], , AC_MSG_ERROR("
32 configure is not able to compile programs with warnings. Please
33--
342.45.0
35
diff --git a/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb b/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb
index 8daf38a0b..df349494a 100644
--- a/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb
+++ b/meta-oe/recipes-graphics/fvwm/fvwm_2.7.0.bb
@@ -34,6 +34,9 @@ DEPENDS = " \
34SRC_URI = " \ 34SRC_URI = " \
35 git://github.com/fvwmorg/fvwm.git;protocol=https;branch=master \ 35 git://github.com/fvwmorg/fvwm.git;protocol=https;branch=master \
36 file://0001-Fix-compilation-for-disabled-gnome.patch \ 36 file://0001-Fix-compilation-for-disabled-gnome.patch \
37 file://0001-configure-Do-not-require-support-for-implicit-ints.patch \
38 file://0002-acinclude.m4-Add-missing-unistd.h-to-AM_SAFETY_CHECK.patch \
39 file://0003-configure-Further-defang-the-Werror-check.patch \
37" 40"
38 41
39SRCREV = "7baf540e56fb1a3e91752acba872a88543529d46" 42SRCREV = "7baf540e56fb1a3e91752acba872a88543529d46"
diff --git a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb b/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb
index dd520b245..e313d7a19 100644
--- a/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb
+++ b/meta-oe/recipes-graphics/glm/glm_0.9.9.8.bb
@@ -29,10 +29,10 @@ do_install() {
29 cp -R --no-dereference --preserve=mode,links ${S}/glm ${D}${includedir} 29 cp -R --no-dereference --preserve=mode,links ${S}/glm ${D}${includedir}
30 cp -R --no-dereference --preserve=mode,links ${S}/doc ${D}${docdir}/glm 30 cp -R --no-dereference --preserve=mode,links ${S}/doc ${D}${docdir}/glm
31 rm ${D}${includedir}/glm/CMakeLists.txt 31 rm ${D}${includedir}/glm/CMakeLists.txt
32 sed "s/@VERSION@/${PV}/" ${WORKDIR}/glmConfigVersion.cmake.in > ${D}${libdir}/cmake/glm/glmConfigVersion.cmake 32 sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glmConfigVersion.cmake.in > ${D}${libdir}/cmake/glm/glmConfigVersion.cmake
33 sed "s/@VERSION@/${PV}/" ${WORKDIR}/glmConfig.cmake.in > ${D}${libdir}/cmake/glm/glmConfig.cmake 33 sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glmConfig.cmake.in > ${D}${libdir}/cmake/glm/glmConfig.cmake
34 sed "s/@VERSION@/${PV}/" ${WORKDIR}/glm.pc.in > ${D}${libdir}/pkgconfig/glm.pc 34 sed "s/@VERSION@/${PV}/" ${UNPACKDIR}/glm.pc.in > ${D}${libdir}/pkgconfig/glm.pc
35 install -Dm644 ${WORKDIR}/glmTargets.cmake ${D}${libdir}/cmake/glm/glmTargets.cmake 35 install -Dm644 ${UNPACKDIR}/glmTargets.cmake ${D}${libdir}/cmake/glm/glmTargets.cmake
36 36
37} 37}
38 38
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2/fix-build-with-gcc-14.patch b/meta-oe/recipes-graphics/gphoto2/libgphoto2/fix-build-with-gcc-14.patch
new file mode 100644
index 000000000..0c2a8d4bd
--- /dev/null
+++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2/fix-build-with-gcc-14.patch
@@ -0,0 +1,36 @@
1From 721f7f8c3ec8058d504607873e4c317aac0c99c5 Mon Sep 17 00:00:00 2001
2From: Marcus Meissner <marcus@jet.franken.de>
3Date: Mon, 4 Dec 2023 13:26:08 +0100
4Subject: [PATCH] align outlen length with jpeg jeaders. fixes
5 https://github.com/gphoto/libgphoto2/issues/941
6
7---
8Upstream-Status: Backport [https://github.com/gphoto/libgphoto2/commit/721f7f8c3ec8058d504607873e4c317aac0c99c5]
9
10 camlibs/ptp2/chdk.c | 6 +++---
11 1 file changed, 3 insertions(+), 3 deletions(-)
12
13diff --git a/camlibs/ptp2/chdk.c b/camlibs/ptp2/chdk.c
14index e1d898f378..e775ea1d4b 100644
15--- a/camlibs/ptp2/chdk.c
16+++ b/camlibs/ptp2/chdk.c
17@@ -1150,7 +1150,7 @@ static void yuv_live_to_jpeg(unsigned char *p_yuv,
18 struct jpeg_error_mgr jerr;
19 JSAMPROW row_ptr[1];
20 uint8_t *outbuf = NULL, *tmprowbuf = NULL;
21- uint64_t outlen = 0;
22+ unsigned long outlen = 0;
23 unsigned int row_inc;
24 int sshift, dshift, xshift, skip;
25
26@@ -1161,8 +1161,8 @@ static void yuv_live_to_jpeg(unsigned char *p_yuv,
27 sshift = 6;
28 dshift = (width/height > 2) ? 6 : 12;
29 xshift = 4;
30- /* Digic 6 cameras: 8 bit per element UYVY,
31- * 4 bytes used to encode 2 pixels, need 6 bytes raw YUV data for jpeg encoding */
32+ /* Digic 6 cameras: 8 bit per element UYVY,
33+ * 4 bytes used to encode 2 pixels, need 6 bytes raw YUV data for jpeg encoding */
34 } else {
35 row_inc = buf_width*2;
36 sshift = 4;
diff --git a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb
index cc42b6a9c..57c9d199e 100644
--- a/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb
+++ b/meta-oe/recipes-graphics/gphoto2/libgphoto2_2.5.31.bb
@@ -13,6 +13,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/gphoto/libgphoto2-${PV}.tar.bz2;name=libgphoto2
13 file://40-libgphoto2.rules \ 13 file://40-libgphoto2.rules \
14 file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \ 14 file://0001-configure.ac-remove-AM_PO_SUBDIRS.patch \
15 file://0001-configure-Filter-out-buildpaths-from-CC.patch \ 15 file://0001-configure-Filter-out-buildpaths-from-CC.patch \
16 file://fix-build-with-gcc-14.patch \
16" 17"
17SRC_URI[libgphoto2.sha256sum] = "4f81c34c0b812bee67afd5f144940fbcbe01a2055586a6a1fa2d0626024a545b" 18SRC_URI[libgphoto2.sha256sum] = "4f81c34c0b812bee67afd5f144940fbcbe01a2055586a6a1fa2d0626024a545b"
18 19
@@ -38,7 +39,7 @@ do_configure:append() {
38 39
39do_install:append() { 40do_install:append() {
40 install -d ${D}${sysconfdir}/udev/rules.d/ 41 install -d ${D}${sysconfdir}/udev/rules.d/
41 install -m 0644 ${WORKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/ 42 install -m 0644 ${UNPACKDIR}/*.rules ${D}${sysconfdir}/udev/rules.d/
42} 43}
43 44
44PACKAGES =+ "libgphotoport libgphoto2-camlibs" 45PACKAGES =+ "libgphotoport libgphoto2-camlibs"
diff --git a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb b/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb
index 2700142e5..38d738310 100644
--- a/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb
+++ b/meta-oe/recipes-graphics/graphviz/graphviz_8.1.0.bb
@@ -67,7 +67,7 @@ do_configure:prepend() {
67do_install:append:class-nativesdk() { 67do_install:append:class-nativesdk() {
68 # graphviz-setup.sh must be executed at SDK installation 68 # graphviz-setup.sh must be executed at SDK installation
69 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d 69 install -d ${D}${SDKPATHNATIVE}/post-relocate-setup.d
70 install -m 0755 ${WORKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d 70 install -m 0755 ${UNPACKDIR}/graphviz-setup.sh ${D}${SDKPATHNATIVE}/post-relocate-setup.d
71} 71}
72FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}" 72FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}"
73 73
diff --git a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
index a70d31fed..30964a1b9 100644
--- a/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
+++ b/meta-oe/recipes-graphics/gtkperf/gtkperf_0.40.bb
@@ -24,7 +24,7 @@ REQUIRED_DISTRO_FEATURES = "x11"
24 24
25do_configure:prepend () { 25do_configure:prepend () {
26 rm -f ${S}/m4/init.m4 26 rm -f ${S}/m4/init.m4
27 cp -f ${WORKDIR}/Makevars ${S}/po/ 27 cp -f ${UNPACKDIR}/Makevars ${S}/po/
28} 28}
29 29
30do_install:append () { 30do_install:append () {
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch b/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch
new file mode 100644
index 000000000..2007766f7
--- /dev/null
+++ b/meta-oe/recipes-graphics/libsdl/libsdl-1.2.15/0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch
@@ -0,0 +1,52 @@
1From 6c35fc94ca30a4d0662479f7ef8a704d97aa7352 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 18 May 2024 18:13:30 -0700
4Subject: [PATCH] stdlib: Make iconv use portable across glibc/musl
5
6This is a backport from libsdl2
7
8Upstream-Status: Backport [https://github.com/libsdl-org/SDL/blob/main/src/stdlib/SDL_iconv.c#L49C1-L51C1]
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10---
11 src/stdlib/SDL_iconv.c | 19 ++++---------------
12 1 file changed, 4 insertions(+), 15 deletions(-)
13
14diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c
15index fa56a99..087b6ec 100644
16--- a/src/stdlib/SDL_iconv.c
17+++ b/src/stdlib/SDL_iconv.c
18@@ -28,27 +28,16 @@
19
20 #ifdef HAVE_ICONV
21
22-/* Depending on which standard the iconv() was implemented with,
23- iconv() may or may not use const char ** for the inbuf param.
24- If we get this wrong, it's just a warning, so no big deal.
25-*/
26-#if defined(_XGP6) || \
27- defined(__GLIBC__) && ((__GLIBC__ > 2) || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2))
28-#define ICONV_INBUF_NONCONST
29-#endif
30-
31 #include <errno.h>
32
33 size_t SDL_iconv(SDL_iconv_t cd,
34 const char **inbuf, size_t *inbytesleft,
35 char **outbuf, size_t *outbytesleft)
36 {
37- size_t retCode;
38-#ifdef ICONV_INBUF_NONCONST
39- retCode = iconv(cd, (char **)inbuf, inbytesleft, outbuf, outbytesleft);
40-#else
41- retCode = iconv(cd, inbuf, inbytesleft, outbuf, outbytesleft);
42-#endif
43+ /* iconv's second parameter may or may not be `const char const *` depending on the
44+ C runtime's whims. Casting to void * seems to make everyone happy, though. */
45+
46+ const size_t retCode = iconv((iconv_t)((uintptr_t)cd), (void *)inbuf, inbytesleft, outbuf, outbytesleft);
47 if ( retCode == (size_t)-1 ) {
48 switch(errno) {
49 case E2BIG:
50--
512.45.1
52
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.0.5.bb b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.2.bb
index 57f0f9979..267311853 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.0.5.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl2-image_2.8.2.bb
@@ -2,13 +2,12 @@ SUMMARY = "Simple DirectMedia Layer image library v2"
2SECTION = "libs" 2SECTION = "libs"
3 3
4LICENSE = "Zlib" 4LICENSE = "Zlib"
5LIC_FILES_CHKSUM = "file://COPYING.txt;md5=822edb694b20ff16ceef85b27f61c11f" 5LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2f6d9e01c97958aa851954ed5acf82ee"
6 6
7DEPENDS = "tiff zlib libpng jpeg libsdl2 libwebp" 7DEPENDS = "tiff zlib libpng jpeg libsdl2 libwebp"
8 8
9SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz" 9SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz"
10SRC_URI[md5sum] = "f26f3a153360a8f09ed5220ef7b07aea" 10SRC_URI[sha256sum] = "8f486bbfbcf8464dd58c9e5d93394ab0255ce68b51c5a966a918244820a76ddc"
11SRC_URI[sha256sum] = "bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0"
12 11
13S = "${WORKDIR}/SDL2_image-${PV}" 12S = "${WORKDIR}/SDL2_image-${PV}"
14 13
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
index 4fc4679f7..1f436c6d7 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -15,6 +15,7 @@ SRC_URI = "http://www.libsdl.org/release/SDL-${PV}.tar.gz \
15 file://libsdl-1.2.15-xdata32.patch \ 15 file://libsdl-1.2.15-xdata32.patch \
16 file://pkgconfig.patch \ 16 file://pkgconfig.patch \
17 file://0001-build-Pass-tag-CC-explictly-when-using-libtool.patch \ 17 file://0001-build-Pass-tag-CC-explictly-when-using-libtool.patch \
18 file://0001-stdlib-Make-iconv-use-portable-across-glibc-musl.patch \
18 file://CVE-2019-7577.patch \ 19 file://CVE-2019-7577.patch \
19 file://CVE-2019-7574.patch \ 20 file://CVE-2019-7574.patch \
20 file://CVE-2019-7572.patch \ 21 file://CVE-2019-7572.patch \
diff --git a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
index adf9cb597..ae4525829 100644
--- a/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
+++ b/meta-oe/recipes-graphics/lxdm/lxdm_0.5.3.bb
@@ -61,12 +61,12 @@ do_compile:append() {
61 61
62do_install:append() { 62do_install:append() {
63 install -d ${D}${localstatedir}/lib/lxdm 63 install -d ${D}${localstatedir}/lib/lxdm
64 install -m 644 ${WORKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm 64 install -m 644 ${UNPACKDIR}/lxdm.conf ${D}${localstatedir}/lib/lxdm
65 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then 65 if ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'true', 'false', d)}; then
66 # ArchLinux version of pam config has the following advantages: 66 # ArchLinux version of pam config has the following advantages:
67 # * simple setup of passwordless login 67 # * simple setup of passwordless login
68 # * in XFCE powerdown/restart enabled in logoff dialog 68 # * in XFCE powerdown/restart enabled in logoff dialog
69 install -m 644 ${WORKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm 69 install -m 644 ${UNPACKDIR}/${@bb.utils.contains("DISTRO_TYPE", "debug", "lxdm-pam-debug", "lxdm-pam",d)} ${D}${sysconfdir}/pam.d/lxdm
70 fi 70 fi
71} 71}
72 72
diff --git a/meta-oe/recipes-graphics/pango/pangomm-2.48_2.50.1.bb b/meta-oe/recipes-graphics/pango/pangomm-2.48_2.52.0.bb
index 86787a6b7..3b0fbd3e7 100644
--- a/meta-oe/recipes-graphics/pango/pangomm-2.48_2.50.1.bb
+++ b/meta-oe/recipes-graphics/pango/pangomm-2.48_2.52.0.bb
@@ -9,7 +9,7 @@ DEPENDS = "mm-common cairomm-1.16 glibmm-2.68 pango"
9GNOMEBN = "pangomm" 9GNOMEBN = "pangomm"
10inherit gnomebase features_check 10inherit gnomebase features_check
11 11
12SRC_URI[archive.sha256sum] = "ccc9923413e408c2bff637df663248327d72822f11e394b423e1c5652b7d9214" 12SRC_URI[archive.sha256sum] = "34a134126a6484ff12f774358c36ecc44d0e9df094e1b83796d9774bb7d24947"
13REQUIRED_DISTRO_FEATURES = "x11" 13REQUIRED_DISTRO_FEATURES = "x11"
14 14
15S = "${WORKDIR}/${GNOMEBN}-${PV}" 15S = "${WORKDIR}/${GNOMEBN}-${PV}"
diff --git a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
index e52ec5f29..58f227573 100644
--- a/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
+++ b/meta-oe/recipes-graphics/renderdoc/renderdoc_1.27.bb
@@ -10,7 +10,7 @@ SRC_URI = " \
10" 10"
11S = "${WORKDIR}/git" 11S = "${WORKDIR}/git"
12 12
13DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native" 13DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms"
14 14
15RDEPENDS:${PN} = "libxcb xcb-util-keysyms" 15RDEPENDS:${PN} = "libxcb xcb-util-keysyms"
16 16
diff --git a/meta-oe/recipes-graphics/suckless/st_0.9.2.bb b/meta-oe/recipes-graphics/suckless/st_0.9.2.bb
index 5e0f2e71c..22ad0211b 100644
--- a/meta-oe/recipes-graphics/suckless/st_0.9.2.bb
+++ b/meta-oe/recipes-graphics/suckless/st_0.9.2.bb
@@ -33,3 +33,5 @@ ALTERNATIVE:${PN} = "st st-256color"
33ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st" 33ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st"
34 34
35ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color" 35ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color"
36
37CVE_STATUS[CVE-2017-16224] = "cpe-incorrect: The recipe used in the meta-openembedded is a different st package compared to the one which has the CVE issue."
diff --git a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb
index 5cde7c9fb..668ca79dd 100644
--- a/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb
+++ b/meta-oe/recipes-graphics/tigervnc/tigervnc_1.11.0.bb
@@ -27,7 +27,7 @@ SRC_URI = "git://github.com/TigerVNC/tigervnc.git;branch=1.11-branch;protocol=ht
27XORG_PN ?= "xorg-server" 27XORG_PN ?= "xorg-server"
28XORG_PV ?= "1.20.6" 28XORG_PV ?= "1.20.6"
29SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg" 29SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg"
30XORG_S = "${WORKDIR}/${XORG_PN}-${XORG_PV}" 30XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}"
31SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b" 31SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b"
32SRC_URI[xorg.sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1" 32SRC_URI[xorg.sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1"
33 33
diff --git a/meta-oe/recipes-graphics/tslib/tslib_1.22.bb b/meta-oe/recipes-graphics/tslib/tslib_1.22.bb
index 01da03a47..cc7e44eff 100644
--- a/meta-oe/recipes-graphics/tslib/tslib_1.22.bb
+++ b/meta-oe/recipes-graphics/tslib/tslib_1.22.bb
@@ -53,12 +53,12 @@ PACKAGECONFIG[one-wire-ts-input] = "--enable-one-wire-ts-input,--disable-one-wir
53PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" 53PACKAGECONFIG[debug] = "--enable-debug,--disable-debug"
54 54
55do_install:prepend() { 55do_install:prepend() {
56 install -m 0644 ${WORKDIR}/ts.conf ${S}/etc/ts.conf 56 install -m 0644 ${UNPACKDIR}/ts.conf ${S}/etc/ts.conf
57} 57}
58 58
59do_install:append() { 59do_install:append() {
60 install -d ${D}${sysconfdir}/profile.d/ 60 install -d ${D}${sysconfdir}/profile.d/
61 install -m 0755 ${WORKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/ 61 install -m 0755 ${UNPACKDIR}/tslib.sh ${D}${sysconfdir}/profile.d/
62} 62}
63 63
64RPROVIDES:tslib-conf = "libts-0.0-conf" 64RPROVIDES:tslib-conf = "libts-0.0-conf"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb b/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb
index 3402d0d46..e7ec00405 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-code-pro-fonts_2.030_1.050.bb
@@ -16,7 +16,7 @@ S = "${WORKDIR}/source-code-pro-2.030R-ro-1.050R-it"
16 16
17do_install() { 17do_install() {
18 install -d ${D}${sysconfdir}/fonts/conf.d/ 18 install -d ${D}${sysconfdir}/fonts/conf.d/
19 install -m 0644 ${WORKDIR}/44-source-code-pro-fonts-fontconfig.conf ${D}${sysconfdir}/fonts/conf.d/ 19 install -m 0644 ${UNPACKDIR}/44-source-code-pro-fonts-fontconfig.conf ${D}${sysconfdir}/fonts/conf.d/
20 20
21 install -d ${D}${datadir}/fonts/truetype/ 21 install -d ${D}${datadir}/fonts/truetype/
22 find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \; 22 find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn-fonts.conf
index 6855791b4..6855791b4 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn.conf
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts/44-source-han-sans-cn-fonts.conf
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
index b4a598527..c46952cce 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
@@ -1,34 +1,6 @@
1require ttf.inc 1require source-han-sans-fonts.inc
2 2
3SUMMARY = "Adobe OpenType Pan-CJK font family for Simplified Chinese" 3SUMMARY = "Adobe OpenType Pan-CJK font family for Simplified Chinese"
4HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" 4ZIPNAME = "SourceHanSansCN"
5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
7
8inherit allarch fontcache
9
10# Download tends to break - so - or not?
11#EXCLUDE_FROM_WORLD = "1"
12
13SRC_URI = " \
14 svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/CN;protocol=http;rev=82 \
15 file://44-source-han-sans-cn.conf \
16"
17SRC_URI[md5sum] = "d16abc21f6575bb08894efedbed484a2"
18SRC_URI[sha256sum] = "0a0e1d8e52833bc352d454d8242da03b82c0efc41323fb66f7435e5b39734a4f"
19
20S = "${WORKDIR}/SourceHanSansCN"
21
22do_install() {
23 install -d ${D}${sysconfdir}/fonts/conf.d/
24 install -m 0644 ${WORKDIR}/44-source-han-sans-cn.conf ${D}${sysconfdir}/fonts/conf.d/
25
26 install -d ${D}${datadir}/fonts/truetype/
27 find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
28}
29
30FILES:${PN} = " \
31 ${sysconfdir}/fonts \
32 ${datadir}/fonts \
33"
34 5
6SRC_URI[sha256sum] = "6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc
new file mode 100644
index 000000000..03ca4c090
--- /dev/null
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-fonts.inc
@@ -0,0 +1,26 @@
1require ttf.inc
2
3HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans"
4LICENSE = "OFL-1.1"
5LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
6
7inherit allarch fontcache
8
9SRC_URI = " \
10 https://github.com/adobe-fonts/source-han-sans/releases/download/${PV}R/${ZIPNAME}.zip;subdir=${BP};downloadfilename=${BP}.zip \
11 file://44-${BPN}.conf \
12"
13
14do_install() {
15 install -d ${D}${sysconfdir}/fonts/conf.d/
16 install -m 0644 ${UNPACKDIR}/44-${BPN}.conf ${D}${sysconfdir}/fonts/conf.d/
17
18 install -d ${D}${datadir}/fonts/truetype/
19 find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
20}
21
22FILES:${PN} = " \
23 ${sysconfdir}/fonts \
24 ${datadir}/fonts \
25"
26
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp-fonts.conf
index a7a93feea..a7a93feea 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp.conf
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts/44-source-han-sans-jp-fonts.conf
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
index 6a4509048..40128f97d 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
@@ -1,34 +1,6 @@
1require ttf.inc 1require source-han-sans-fonts.inc
2 2
3SUMMARY = "Adobe OpenType Pan-CJK font family for Japanese" 3SUMMARY = "Adobe OpenType Pan-CJK font family for Japanese"
4HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" 4ZIPNAME = "SourceHanSansJP"
5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
7
8inherit allarch fontcache
9
10# Download tends to break - so - or not?
11#EXCLUDE_FROM_WORLD = "1"
12
13SRC_URI = " \
14 svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/JP;protocol=http;rev=82 \
15 file://44-source-han-sans-jp.conf \
16"
17SRC_URI[md5sum] = "908fbf97f3df04a6838708c093f1e900"
18SRC_URI[sha256sum] = "dc6dbae3fba35f220bac88ba7130b826c7efe1282f472788fae3628b79be3f54"
19
20S = "${WORKDIR}/SourceHanSansJP"
21
22do_install() {
23 install -d ${D}${sysconfdir}/fonts/conf.d/
24 install -m 0644 ${WORKDIR}/44-source-han-sans-jp.conf ${D}${sysconfdir}/fonts/conf.d/
25
26 install -d ${D}${datadir}/fonts/truetype/
27 find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
28}
29
30FILES:${PN} = " \
31 ${sysconfdir}/fonts \
32 ${datadir}/fonts \
33"
34 5
6SRC_URI[sha256sum] = "1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf9802750c17e"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr-fonts.conf
index dee73ae77..dee73ae77 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr.conf
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts/44-source-han-sans-kr-fonts.conf
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
index 5ab5057d8..8b32ab82d 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
@@ -1,34 +1,6 @@
1require ttf.inc 1require source-han-sans-fonts.inc
2 2
3SUMMARY = "Adobe OpenType Pan-CJK font family for Korean" 3SUMMARY = "Adobe OpenType Pan-CJK font family for Korean"
4HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" 4ZIPNAME = "SourceHanSansKR"
5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
7
8inherit allarch fontcache
9
10# Download tends to break - so - or not?
11#EXCLUDE_FROM_WORLD = "1"
12
13SRC_URI = " \
14 svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82 \
15 file://44-source-han-sans-kr.conf \
16"
17SRC_URI[md5sum] = "f8d1bd6c87d8575afdb25e2f46bd81d4"
18SRC_URI[sha256sum] = "38fd15c80f9980492faaa1af39ff873d8a38e45027023fb17d5b10d4b4b0e6af"
19
20S = "${WORKDIR}/SourceHanSansKR"
21
22do_install() {
23 install -d ${D}${sysconfdir}/fonts/conf.d/
24 install -m 0644 ${WORKDIR}/44-source-han-sans-kr.conf ${D}${sysconfdir}/fonts/conf.d/
25
26 install -d ${D}${datadir}/fonts/truetype/
27 find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
28}
29
30FILES:${PN} = " \
31 ${sysconfdir}/fonts \
32 ${datadir}/fonts \
33"
34 5
6SRC_URI[sha256sum] = "02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw-fonts.conf
index ae289401b..ae289401b 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw.conf
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts/44-source-han-sans-tw-fonts.conf
diff --git a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
index a2b3fff07..b841660ef 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
@@ -1,34 +1,6 @@
1require ttf.inc 1require source-han-sans-fonts.inc
2 2
3SUMMARY = "Adobe OpenType Pan-CJK font family for Traditional Chinese" 3SUMMARY = "Adobe OpenType Pan-CJK font family for Traditional Chinese"
4HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" 4ZIPNAME = "SourceHanSansTW"
5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90"
7
8inherit allarch fontcache
9
10# Download tends to break - so - or not?
11#EXCLUDE_FROM_WORLD = "1"
12
13SRC_URI = " \
14 svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82 \
15 file://44-source-han-sans-tw.conf \
16"
17SRC_URI[md5sum] = "6533b71b31c19e548768f0fc963202f3"
18SRC_URI[sha256sum] = "92ba161921c5cdec5a8f8d5711676f0865b50cee071c25eb4bd4125b5af59fd0"
19
20S = "${WORKDIR}/SourceHanSansTW"
21
22do_install() {
23 install -d ${D}${sysconfdir}/fonts/conf.d/
24 install -m 0644 ${WORKDIR}/44-source-han-sans-tw.conf ${D}${sysconfdir}/fonts/conf.d/
25
26 install -d ${D}${datadir}/fonts/truetype/
27 find ./ -name '*.otf' -exec install -m 0644 {} ${D}${datadir}/fonts/truetype/ \;
28}
29
30FILES:${PN} = " \
31 ${sysconfdir}/fonts \
32 ${datadir}/fonts \
33"
34 5
6SRC_URI[sha256sum] = "11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
index 43a387b81..54aeb318a 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-dejavu_2.37.bb
@@ -23,7 +23,7 @@ UPSTREAM_CHECK_URI = "https://sourceforge.net/projects/dejavu/files/dejavu/"
23 23
24do_install:append () { 24do_install:append () {
25 install -d ${D}${sysconfdir}/fonts/conf.d/ 25 install -d ${D}${sysconfdir}/fonts/conf.d/
26 install -m 0644 ${WORKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/ 26 install -m 0644 ${UNPACKDIR}/30-dejavu-aliases.conf ${D}${sysconfdir}/fonts/conf.d/
27} 27}
28 28
29PACKAGES = "\ 29PACKAGES = "\
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb
index d61860749..c142f1dd0 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-google-fira.bb
@@ -23,7 +23,8 @@ SRC_URI = "git://github.com/google/fonts.git;protocol=https;branch=main;subpath=
23 git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasanscondensed;name=firasanscondensed \ 23 git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasanscondensed;name=firasanscondensed \
24 git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasansextracondensed;name=firasansextracondensed" 24 git://github.com/google/fonts.git;protocol=https;branch=main;subpath=ofl/firasansextracondensed;name=firasansextracondensed"
25 25
26S = "${WORKDIR}" 26S = "${WORKDIR}/sources"
27UNPACKDIR = "${S}"
27 28
28do_install:append() { 29do_install:append() {
29 install -d ${D}${datadir}/fonts/truetype/ 30 install -d ${D}${datadir}/fonts/truetype/
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
index 2ae1d619c..5a8fe4c32 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-inconsolata_20100526.bb
@@ -3,23 +3,23 @@ require ttf.inc
3SUMMARY = "Inconsolata font - TTF Version" 3SUMMARY = "Inconsolata font - TTF Version"
4HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html" 4HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html"
5LICENSE = "OFL-1.1" 5LICENSE = "OFL-1.1"
6LIC_FILES_CHKSUM = "file://../OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed" 6LIC_FILES_CHKSUM = "file://${UNPACKDIR}/OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed"
7 7
8SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \ 8SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \
9 file://OFL.txt" 9 file://OFL.txt"
10 10
11S = "${WORKDIR}/ttf-inconsolata-${PV}" 11S = "${UNPACKDIR}/ttf-inconsolata-${PV}"
12 12
13FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ 13FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \
14 ${datadir}/doc/ttf-inconsolata/*" 14 ${datadir}/doc/ttf-inconsolata/*"
15 15
16do_configure() { 16do_configure() {
17 cp -fr ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf 17 cp -fr ${UNPACKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf
18} 18}
19 19
20do_install:append() { 20do_install:append() {
21 install -d ${D}${datadir}/doc/ttf-inconsolata/ 21 install -d ${D}${datadir}/doc/ttf-inconsolata/
22 install -m 0644 ${WORKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/ 22 install -m 0644 ${UNPACKDIR}/OFL.txt ${D}${datadir}/doc/ttf-inconsolata/
23} 23}
24 24
25SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf" 25SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
index f386d6ec5..a0fb7b6a7 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-liberation-sans-narrow_1.07.4.bb
@@ -22,7 +22,7 @@ do_install:append () {
22 install -d ${D}${datadir}/fonts/TTF/ 22 install -d ${D}${datadir}/fonts/TTF/
23 install -d ${D}${sysconfdir}/fonts/conf.d/ 23 install -d ${D}${sysconfdir}/fonts/conf.d/
24 install -m 0644 LiberationSansNarrow*.ttf ${D}${datadir}/fonts/TTF/ 24 install -m 0644 LiberationSansNarrow*.ttf ${D}${datadir}/fonts/TTF/
25 install -D -m 0644 ${WORKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf 25 install -D -m 0644 ${UNPACKDIR}/30-0-liberation-sans-narrow.conf ${D}${sysconfdir}/conf.avail/30-${PN}-sans.conf
26 install -D -m 0644 ${S}/License.txt ${D}${datadir}/licenses/${PN}/LICENSE 26 install -D -m 0644 ${S}/License.txt ${D}${datadir}/licenses/${PN}/LICENSE
27 # normal liberation fonts come from ttf-liberation recipe so delete here 27 # normal liberation fonts come from ttf-liberation recipe so delete here
28 rm -rf ${D}${datadir}/fonts/truetype 28 rm -rf ${D}${datadir}/fonts/truetype
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb
index 395164733..65d0f0bb3 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-lklug_0.6-14.20090803cvs.fc24.bb
@@ -10,7 +10,8 @@ SRC_URI[sha256sum] = "de5750f7048973f851961050f76b8b58e9bda400d5007c3078d9317fbe
10 10
11DEPENDS = "fontforge-native" 11DEPENDS = "fontforge-native"
12 12
13S = "${WORKDIR}" 13S = "${WORKDIR}/sources"
14UNPACKDIR = "${S}"
14FONT_PACKAGES = "${PN}" 15FONT_PACKAGES = "${PN}"
15FILES:${PN} = "${datadir}" 16FILES:${PN} = "${datadir}"
16 17
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
index e9aa5721f..fce76418f 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-pt-sans_1.1.bb
@@ -5,7 +5,7 @@ HOMEPAGE = "http://www.paratype.com/public/"
5SECTION = "x11/fonts" 5SECTION = "x11/fonts"
6 6
7LICENSE = "ParaTypeFFL-1.3" 7LICENSE = "ParaTypeFFL-1.3"
8LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d" 8LIC_FILES_CHKSUM = "file://${UNPACKDIR}/PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d"
9 9
10inherit allarch fontcache 10inherit allarch fontcache
11 11
@@ -16,9 +16,10 @@ SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans
16SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7" 16SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7"
17SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e" 17SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e"
18 18
19S = "${UNPACKDIR}"
20
19do_install () { 21do_install () {
20 install -d ${D}${datadir}/fonts/X11/TTF/ 22 install -d ${D}${datadir}/fonts/X11/TTF/
21 cd ..
22 for i in *.ttf; do 23 for i in *.ttf; do
23 install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i} 24 install -m 0644 $i ${D}${prefix}/share/fonts/X11/TTF/${i}
24 done 25 done
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb
index 1870c78f9..3752ec39b 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-roboto_2.138.bb
@@ -9,6 +9,7 @@ SRC_URI = "https://github.com/google/roboto/releases/download/v${PV}/roboto-andr
9SRC_URI[md5sum] = "3b43a5cb33196ec25e44d5fcb40219e1" 9SRC_URI[md5sum] = "3b43a5cb33196ec25e44d5fcb40219e1"
10SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf" 10SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf"
11 11
12S = "${WORKDIR}" 12S = "${WORKDIR}/sources"
13UNPACKDIR = "${S}"
13 14
14FILES:${PN} = "${datadir}/fonts/truetype/*.ttf" 15FILES:${PN} = "${datadir}/fonts/truetype/*.ttf"
diff --git a/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb b/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb
index 461e3def7..0131a62ee 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/ttf-tlwg_0.6.1.bb
@@ -3,7 +3,7 @@ require ttf.inc
3SUMMARY = "Thai Linux Working Group Fonts" 3SUMMARY = "Thai Linux Working Group Fonts"
4HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg" 4HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg"
5LICENSE = "GPL-2.0-only & TLWG" 5LICENSE = "GPL-2.0-only & TLWG"
6LIC_FILES_CHKSUM = "file://../fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd" 6LIC_FILES_CHKSUM = "file://${UNPACKDIR}/fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd"
7 7
8SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \ 8SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \
9 http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf" 9 http://linux.thai.net/pub/ThaiLinux/software/ttf-tlwg/ttf-tlwg-${PV}.tar.xz;name=ttf"
diff --git a/meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.5.bb b/meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.6.bb
index f078ad60e..0274608d0 100644
--- a/meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.5.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xkbutils_1.0.6.bb
@@ -9,9 +9,9 @@ It includes: \
9 xkbvleds - display the state of LEDs on an XKB keyboard in a window \ 9 xkbvleds - display the state of LEDs on an XKB keyboard in a window \
10 xkbwatch - reports changes in the XKB keyboard state \ 10 xkbwatch - reports changes in the XKB keyboard state \
11" 11"
12LIC_FILES_CHKSUM = "file://COPYING;md5=64322fab5239f5c8d97cf6e0e14f1c62" 12LIC_FILES_CHKSUM = "file://COPYING;md5=6767a97a97e21260134637b657b922ae"
13 13
14DEPENDS += "libxaw libxkbfile" 14DEPENDS += "libxaw libxkbfile"
15 15
16SRC_URI_EXT = "xz" 16SRC_URI_EXT = "xz"
17SRC_URI[sha256sum] = "f6a4a8e9c54582beb3787b1faa8168caab125c1fee0ca9cfa5b6c9c1df25eea4" 17SRC_URI[sha256sum] = "31a2bbee1e09ccba01de92897b8f540b545de812f318d31de07bd3a5a75ee25e"
diff --git a/meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.7.bb b/meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.8.bb
index e5cd0ce6f..4ddb1b988 100644
--- a/meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.7.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xlsfonts_1.0.8.bb
@@ -7,4 +7,4 @@ LICENSE = "MIT"
7LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b" 7LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b"
8 8
9SRC_URI_EXT = "xz" 9SRC_URI_EXT = "xz"
10SRC_URI[sha256sum] = "7b726945a967b44c35cddee5edd74802907a239ce2e2e515730b8a32c8e50465" 10SRC_URI[sha256sum] = "807f909eace684b866fc63b3e962729c120822a6c96e051ff51cf350b3ffb6cd"
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch b/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch
deleted file mode 100644
index a6cf16e4e..000000000
--- a/meta-oe/recipes-graphics/xorg-app/xterm/0001-Add-configure-time-check-for-setsid.patch
+++ /dev/null
@@ -1,75 +0,0 @@
1From b23d38f1216c4d70738edaa367cf9ecd2dd4b660 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 13 Dec 2019 12:59:26 -0800
4Subject: [PATCH] Add configure time check for setsid
5
6Do not assume glibc == linux
7
8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10
11---
12 configure | 1 +
13 configure.in | 1 +
14 main.c | 4 ++--
15 xtermcfg.hin | 1 +
16 4 files changed, 5 insertions(+), 2 deletions(-)
17
18diff --git a/configure b/configure
19index 72342c7..c2ec2ac 100755
20--- a/configure
21+++ b/configure
22@@ -5803,6 +5803,7 @@ for ac_func in \
23 unsetenv \
24 sched_yield \
25 setpgid \
26+ setsid \
27 strftime \
28 tcgetattr \
29 waitpid \
30diff --git a/configure.in b/configure.in
31index 56dbc25..0608c80 100644
32--- a/configure.in
33+++ b/configure.in
34@@ -99,6 +99,7 @@ AC_CHECK_FUNCS( \
35 unsetenv \
36 sched_yield \
37 setpgid \
38+ setsid \
39 strftime \
40 tcgetattr \
41 waitpid \
42diff --git a/main.c b/main.c
43index 24da0eb..332174c 100644
44--- a/main.c
45+++ b/main.c
46@@ -2956,7 +2956,7 @@ main(int argc, char *argv[]ENVP_ARG)
47 }
48 }
49
50-#if defined(__osf__) || (defined(__GLIBC__) && !defined(USE_USG_PTYS)) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
51+#if defined(__osf__) || (defined(__linux__) && !defined(USE_USG_PTYS)) || defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__APPLE__)
52 #define USE_OPENPTY 1
53 static int opened_tty = -1;
54 #endif
55@@ -4205,7 +4205,7 @@ spawnXTerm(XtermWidget xw, unsigned line_speed)
56 /*
57 * now in child process
58 */
59-#if defined(_POSIX_SOURCE) || defined(SVR4) || defined(__convex__) || defined(__SCO__) || defined(__QNX__)
60+#if HAVE_SETSID
61 int pgrp = setsid(); /* variable may not be used... */
62 #else
63 int pgrp = getpid();
64diff --git a/xtermcfg.hin b/xtermcfg.hin
65index 19048cd..e54d2cd 100644
66--- a/xtermcfg.hin
67+++ b/xtermcfg.hin
68@@ -98,6 +98,7 @@
69 #undef HAVE_SCHED_YIELD /* AC_CHECK_FUNCS(sched_yield) */
70 #undef HAVE_SETITIMER /* CF_SETITIMER */
71 #undef HAVE_SETPGID /* AC_CHECK_FUNCS(setpgid) */
72+#undef HAVE_SETSID /* AC_CHECK_FUNCS(setsid) */
73 #undef HAVE_STDINT_H /* AC_PROG_CC_STDC */
74 #undef HAVE_STDLIB_H /* AC_CHECK_HEADERS(stdlib.h) */
75 #undef HAVE_STDNORETURN_H /* CF_C11_NORETURN */
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch b/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch
new file mode 100644
index 000000000..0c9d64c82
--- /dev/null
+++ b/meta-oe/recipes-graphics/xorg-app/xterm/0001-include-missing-pty.h-header-for-openpty.patch
@@ -0,0 +1,30 @@
1From e30ab2d73a21bc55511cbedbb9ae603246dbfcd1 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 16 May 2024 23:10:00 -0700
4Subject: [PATCH] include missing pty.h header for openpty()
5
6On musl this problem is unearthed
7
8Fix
9./main.c: In function 'get_pty':
10./main.c:3123:14: error: implicit declaration of function 'openpty'; did you mean 'openat'? [-Wimplicit-function-declaration]
11 3123 | result = openpty(pty, &opened_tty, ttydev, NULL, NULL);
12 | ^~~~~~~
13 | openat
14
15Upstream-Status: Submitted [sent to dickey@invisible-island.net]
16Signed-off-by: Khem Raj <raj.khem@gmail.com>
17---
18 main.c | 1 +
19 1 file changed, 1 insertion(+)
20
21--- a/main.c
22+++ b/main.c
23@@ -89,6 +89,7 @@
24
25 #define RES_OFFSET(field) XtOffsetOf(XTERM_RESOURCE, field)
26
27+#include <pty.h>
28 #include <xterm.h>
29 #include <version.h>
30 #include <graphics.h>
diff --git a/meta-oe/recipes-graphics/xorg-app/xterm_388.bb b/meta-oe/recipes-graphics/xorg-app/xterm_392.bb
index 8578f0cc9..677f5c999 100644
--- a/meta-oe/recipes-graphics/xorg-app/xterm_388.bb
+++ b/meta-oe/recipes-graphics/xorg-app/xterm_392.bb
@@ -2,13 +2,12 @@ require recipes-graphics/xorg-app/xorg-app-common.inc
2SUMMARY = "xterm is the standard terminal emulator for the X Window System" 2SUMMARY = "xterm is the standard terminal emulator for the X Window System"
3DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native" 3DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native"
4 4
5LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=9c96124b492c0c02356850c243aaeca2" 5LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=1a3032aa728f8fda9d686948940ca58d"
6 6
7SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ 7SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \
8 file://0001-Add-configure-time-check-for-setsid.patch \ 8 file://0001-include-missing-pty.h-header-for-openpty.patch \
9 " 9 "
10 10SRC_URI[sha256sum] = "4d57372ef08eafa9fb7682db8d07be0fe0513e58e8478c2ec8e9b62486e7fe5e"
11SRC_URI[sha256sum] = "ac429345e6f937a5945a89d425a265fee6c215fc669dbdc6a0326e21f4c5f674"
12 11
13PACKAGECONFIG ?= "" 12PACKAGECONFIG ?= ""
14PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" 13PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native"
diff --git a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb
index 9f445ff26..8c26bf798 100644
--- a/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb
+++ b/meta-oe/recipes-graphics/xorg-driver/xf86-input-tslib_1.1.1.bb
@@ -14,7 +14,7 @@ SRC_URI[sha256sum] = "b596168c4ed2f1023212dc828ce49cbe82a0bbd1aac3c5e2958154d788
14 14
15do_install:append() { 15do_install:append() {
16 install -d ${D}${nonarch_base_libdir}/udev/rules.d 16 install -d ${D}${nonarch_base_libdir}/udev/rules.d
17 install -m 0644 ${WORKDIR}/99-xf86-input-tslib.rules ${D}${nonarch_base_libdir}/udev/rules.d/ 17 install -m 0644 ${UNPACKDIR}/99-xf86-input-tslib.rules ${D}${nonarch_base_libdir}/udev/rules.d/
18} 18}
19 19
20FILES:${PN} += "${nonarch_base_libdir}/udev" 20FILES:${PN} += "${nonarch_base_libdir}/udev"
diff --git a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb
index dc909ed78..d698efa5e 100644
--- a/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb
+++ b/meta-oe/recipes-graphics/xscreensaver/xscreensaver_6.04.bb
@@ -34,11 +34,11 @@ PACKAGECONFIG = "png ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd',
34PACKAGECONFIG[systemd] = "--with-systemd=yes,--with-systemd=no,systemd" 34PACKAGECONFIG[systemd] = "--with-systemd=yes,--with-systemd=no,systemd"
35PACKAGECONFIG[png] = "--with-png=yes,--with-png=no,libpng" 35PACKAGECONFIG[png] = "--with-png=yes,--with-png=no,libpng"
36 36
37CONFIGUREOPTS:remove = "--disable-silent-rules --disable-dependency-tracking ${@append_libtool_sysroot(d)}" 37CONFIGUREOPTS:remove = "--disable-silent-rules --disable-dependency-tracking"
38EXTRA_OECONF:remove = "--disable-static" 38EXTRA_OECONF:remove = "--disable-static"
39 39
40do_install:append() { 40do_install:append() {
41 install -D ${WORKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service 41 install -D ${UNPACKDIR}/xscreensaver.service ${D}${systemd_unitdir}/system/xscreensaver.service
42 for f in xscreensaver-getimage-file xscreensaver-getimage-video webcollage xscreensaver-text vidwhacker 42 for f in xscreensaver-getimage-file xscreensaver-getimage-video webcollage xscreensaver-text vidwhacker
43 do 43 do
44 sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" ${D}/${libexecdir}/${PN}/$f 44 sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" ${D}/${libexecdir}/${PN}/$f
diff --git a/meta-oe/recipes-graphics/ydotool/ydotool_git.bb b/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
index c1427457d..3acf70235 100644
--- a/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
+++ b/meta-oe/recipes-graphics/ydotool/ydotool_git.bb
@@ -16,5 +16,11 @@ EXTRA_OECMAKE = "\
16 -DBUILD_DOCS=OFF \ 16 -DBUILD_DOCS=OFF \
17" 17"
18 18
19do_install:append() {
20 if ! ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
21 rm -rf ${D}${systemd_user_unitdir}
22 rmdir ${D}${nonarch_libdir}/systemd ${D}${nonarch_libdir}
23 fi
24}
19SYSTEMD_SERVICE:${PN} = "ydotoold.service" 25SYSTEMD_SERVICE:${PN} = "ydotoold.service"
20SYSTEMD_AUTO_ENABLE = "disable" 26SYSTEMD_AUTO_ENABLE = "disable"