diff options
Diffstat (limited to 'meta-oe/recipes-graphics')
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 | ||
11 | SRC_URI = "git://github.com/recp/cglm;branch=master;protocol=https" | 11 | SRC_URI = "git://github.com/recp/cglm;branch=master;protocol=https" |
12 | # Tag v0.9.1 | 12 | # Tag v0.9.1 |
13 | SRCREV = "c8781615183ce3cb4f5d72caf70f2c01d7d4d2af" | 13 | SRCREV = "1796cc5ce298235b615dc7a4750b8c3ba56a05dd" |
14 | 14 | ||
15 | S = "${WORKDIR}/git" | 15 | S = "${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 | ||
29 | S = "${WORKDIR}/DirectFB-${PV}" | 30 | S = "${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 @@ | |||
1 | From 18f4eca291cabf93d87e7c9051268d9c385b8f37 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 20 May 2024 18:23:06 -0700 | ||
4 | Subject: [PATCH] inputdrivers: Correct the signature of bind() call on musl | ||
5 | systems | ||
6 | |||
7 | Its 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 | |||
15 | Upstream-Status: Pending | ||
16 | Signed-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 | |||
21 | diff --git a/inputdrivers/linux_input/linux_input.c b/inputdrivers/linux_input/linux_input.c | ||
22 | index 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 | -- | ||
35 | 2.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 @@ | |||
1 | From cbba378a23410241176d62f3bb43965c044615e3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Florian Weimer <fweimer@redhat.com> | ||
3 | Date: Thu, 24 Nov 2022 13:06:50 +0100 | ||
4 | Subject: [PATCH 1/3] configure: Do not require support for implicit ints | ||
5 | |||
6 | Implicit ints have not been part of C since 1999, and future | ||
7 | compilers will disable support for them by default. Fortunatenly, | ||
8 | only one configure check needs adjusting. | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100] | ||
11 | Signed-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 | |||
17 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
18 | index 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) | ||
30 | diff --git a/configure.ac b/configure.ac | ||
31 | index 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 | -- | ||
44 | 2.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 @@ | |||
1 | From 51287fb60263530f61b14df5519e10dabe67d2ad Mon Sep 17 00:00:00 2001 | ||
2 | From: Florian Weimer <fweimer@redhat.com> | ||
3 | Date: Thu, 24 Nov 2022 13:07:56 +0100 | ||
4 | Subject: [PATCH 2/3] acinclude.m4: Add missing <unistd.h> to | ||
5 | AM_SAFETY_CHECK_MKSTEMP | ||
6 | |||
7 | Otherwise, the check fails on a compiler which does not support | ||
8 | implicit function declarations (a language feature removed in 1999). | ||
9 | |||
10 | Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100] | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | --- | ||
13 | acinclude.m4 | 3 +++ | ||
14 | 1 file changed, 3 insertions(+) | ||
15 | |||
16 | diff --git a/acinclude.m4 b/acinclude.m4 | ||
17 | index 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 | -- | ||
31 | 2.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 @@ | |||
1 | From 542c6f25327587d5a6bffb8a45b457ec85dcf8e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Florian Weimer <fweimer@redhat.com> | ||
3 | Date: Tue, 19 Dec 2023 13:24:50 +0100 | ||
4 | Subject: [PATCH 3/3] configure: Further defang the -Werror check | ||
5 | |||
6 | Incompatible pointer types are actually errors (in the sense | ||
7 | that they are invalid C). Compilers have merely tolerated them as | ||
8 | warnings for backwards compatibility. This is changing with Clang 16 | ||
9 | and GCC 14, so relax the check a little. | ||
10 | |||
11 | Upstream-Status: Submitted [https://github.com/fvwmorg/fvwm/pull/100] | ||
12 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
13 | --- | ||
14 | configure.ac | 5 ++--- | ||
15 | 1 file changed, 2 insertions(+), 3 deletions(-) | ||
16 | |||
17 | diff --git a/configure.ac b/configure.ac | ||
18 | index 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 | -- | ||
34 | 2.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 = " \ | |||
34 | SRC_URI = " \ | 34 | SRC_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 | ||
39 | SRCREV = "7baf540e56fb1a3e91752acba872a88543529d46" | 42 | SRCREV = "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 @@ | |||
1 | From 721f7f8c3ec8058d504607873e4c317aac0c99c5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Marcus Meissner <marcus@jet.franken.de> | ||
3 | Date: Mon, 4 Dec 2023 13:26:08 +0100 | ||
4 | Subject: [PATCH] align outlen length with jpeg jeaders. fixes | ||
5 | https://github.com/gphoto/libgphoto2/issues/941 | ||
6 | |||
7 | --- | ||
8 | Upstream-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 | |||
13 | diff --git a/camlibs/ptp2/chdk.c b/camlibs/ptp2/chdk.c | ||
14 | index 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 | " |
17 | SRC_URI[libgphoto2.sha256sum] = "4f81c34c0b812bee67afd5f144940fbcbe01a2055586a6a1fa2d0626024a545b" | 18 | SRC_URI[libgphoto2.sha256sum] = "4f81c34c0b812bee67afd5f144940fbcbe01a2055586a6a1fa2d0626024a545b" |
18 | 19 | ||
@@ -38,7 +39,7 @@ do_configure:append() { | |||
38 | 39 | ||
39 | do_install:append() { | 40 | do_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 | ||
44 | PACKAGES =+ "libgphotoport libgphoto2-camlibs" | 45 | PACKAGES =+ "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() { | |||
67 | do_install:append:class-nativesdk() { | 67 | do_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 | } |
72 | FILES:${PN}:class-nativesdk += "${SDKPATHNATIVE}" | 72 | FILES:${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 | ||
25 | do_configure:prepend () { | 25 | do_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 | ||
30 | do_install:append () { | 30 | do_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 @@ | |||
1 | From 6c35fc94ca30a4d0662479f7ef8a704d97aa7352 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Sat, 18 May 2024 18:13:30 -0700 | ||
4 | Subject: [PATCH] stdlib: Make iconv use portable across glibc/musl | ||
5 | |||
6 | This is a backport from libsdl2 | ||
7 | |||
8 | Upstream-Status: Backport [https://github.com/libsdl-org/SDL/blob/main/src/stdlib/SDL_iconv.c#L49C1-L51C1] | ||
9 | Signed-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 | |||
14 | diff --git a/src/stdlib/SDL_iconv.c b/src/stdlib/SDL_iconv.c | ||
15 | index 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 | -- | ||
51 | 2.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" | |||
2 | SECTION = "libs" | 2 | SECTION = "libs" |
3 | 3 | ||
4 | LICENSE = "Zlib" | 4 | LICENSE = "Zlib" |
5 | LIC_FILES_CHKSUM = "file://COPYING.txt;md5=822edb694b20ff16ceef85b27f61c11f" | 5 | LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2f6d9e01c97958aa851954ed5acf82ee" |
6 | 6 | ||
7 | DEPENDS = "tiff zlib libpng jpeg libsdl2 libwebp" | 7 | DEPENDS = "tiff zlib libpng jpeg libsdl2 libwebp" |
8 | 8 | ||
9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz" | 9 | SRC_URI = "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-${PV}.tar.gz" |
10 | SRC_URI[md5sum] = "f26f3a153360a8f09ed5220ef7b07aea" | 10 | SRC_URI[sha256sum] = "8f486bbfbcf8464dd58c9e5d93394ab0255ce68b51c5a966a918244820a76ddc" |
11 | SRC_URI[sha256sum] = "bdd5f6e026682f7d7e1be0b6051b209da2f402a2dd8bd1c4bd9c25ad263108d0" | ||
12 | 11 | ||
13 | S = "${WORKDIR}/SDL2_image-${PV}" | 12 | S = "${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 | ||
62 | do_install:append() { | 62 | do_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" | |||
9 | GNOMEBN = "pangomm" | 9 | GNOMEBN = "pangomm" |
10 | inherit gnomebase features_check | 10 | inherit gnomebase features_check |
11 | 11 | ||
12 | SRC_URI[archive.sha256sum] = "ccc9923413e408c2bff637df663248327d72822f11e394b423e1c5652b7d9214" | 12 | SRC_URI[archive.sha256sum] = "34a134126a6484ff12f774358c36ecc44d0e9df094e1b83796d9774bb7d24947" |
13 | REQUIRED_DISTRO_FEATURES = "x11" | 13 | REQUIRED_DISTRO_FEATURES = "x11" |
14 | 14 | ||
15 | S = "${WORKDIR}/${GNOMEBN}-${PV}" | 15 | S = "${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 | " |
11 | S = "${WORKDIR}/git" | 11 | S = "${WORKDIR}/git" |
12 | 12 | ||
13 | DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms vim-native" | 13 | DEPENDS += "virtual/libx11 virtual/libgl libxcb xcb-util-keysyms" |
14 | 14 | ||
15 | RDEPENDS:${PN} = "libxcb xcb-util-keysyms" | 15 | RDEPENDS:${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" | |||
33 | ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st" | 33 | ALTERNATIVE_LINK_NAME[st] = "${datadir}/terminfo/s/st" |
34 | 34 | ||
35 | ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color" | 35 | ALTERNATIVE_LINK_NAME[st-256color] = "${datadir}/terminfo/s/st-256color" |
36 | |||
37 | CVE_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 | |||
27 | XORG_PN ?= "xorg-server" | 27 | XORG_PN ?= "xorg-server" |
28 | XORG_PV ?= "1.20.6" | 28 | XORG_PV ?= "1.20.6" |
29 | SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg" | 29 | SRC_URI += "${XORG_MIRROR}/individual/xserver/${XORG_PN}-${XORG_PV}.tar.bz2;name=xorg" |
30 | XORG_S = "${WORKDIR}/${XORG_PN}-${XORG_PV}" | 30 | XORG_S = "${UNPACKDIR}/${XORG_PN}-${XORG_PV}" |
31 | SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b" | 31 | SRC_URI[xorg.md5sum] = "a98170084f2c8fed480d2ff601f8a14b" |
32 | SRC_URI[xorg.sha256sum] = "6316146304e6e8a36d5904987ae2917b5d5b195dc9fc63d67f7aca137e5a51d1" | 32 | SRC_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 | |||
53 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" | 53 | PACKAGECONFIG[debug] = "--enable-debug,--disable-debug" |
54 | 54 | ||
55 | do_install:prepend() { | 55 | do_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 | ||
59 | do_install:append() { | 59 | do_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 | ||
64 | RPROVIDES:tslib-conf = "libts-0.0-conf" | 64 | RPROVIDES: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 | ||
17 | do_install() { | 17 | do_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 @@ | |||
1 | require ttf.inc | 1 | require source-han-sans-fonts.inc |
2 | 2 | ||
3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Simplified Chinese" | 3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Simplified Chinese" |
4 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | 4 | ZIPNAME = "SourceHanSansCN" |
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
7 | |||
8 | inherit allarch fontcache | ||
9 | |||
10 | # Download tends to break - so - or not? | ||
11 | #EXCLUDE_FROM_WORLD = "1" | ||
12 | |||
13 | SRC_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 | " | ||
17 | SRC_URI[md5sum] = "d16abc21f6575bb08894efedbed484a2" | ||
18 | SRC_URI[sha256sum] = "0a0e1d8e52833bc352d454d8242da03b82c0efc41323fb66f7435e5b39734a4f" | ||
19 | |||
20 | S = "${WORKDIR}/SourceHanSansCN" | ||
21 | |||
22 | do_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 | |||
30 | FILES:${PN} = " \ | ||
31 | ${sysconfdir}/fonts \ | ||
32 | ${datadir}/fonts \ | ||
33 | " | ||
34 | 5 | ||
6 | SRC_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 @@ | |||
1 | require ttf.inc | ||
2 | |||
3 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | ||
4 | LICENSE = "OFL-1.1" | ||
5 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
6 | |||
7 | inherit allarch fontcache | ||
8 | |||
9 | SRC_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 | |||
14 | do_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 | |||
22 | FILES:${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 @@ | |||
1 | require ttf.inc | 1 | require source-han-sans-fonts.inc |
2 | 2 | ||
3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Japanese" | 3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Japanese" |
4 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | 4 | ZIPNAME = "SourceHanSansJP" |
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
7 | |||
8 | inherit allarch fontcache | ||
9 | |||
10 | # Download tends to break - so - or not? | ||
11 | #EXCLUDE_FROM_WORLD = "1" | ||
12 | |||
13 | SRC_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 | " | ||
17 | SRC_URI[md5sum] = "908fbf97f3df04a6838708c093f1e900" | ||
18 | SRC_URI[sha256sum] = "dc6dbae3fba35f220bac88ba7130b826c7efe1282f472788fae3628b79be3f54" | ||
19 | |||
20 | S = "${WORKDIR}/SourceHanSansJP" | ||
21 | |||
22 | do_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 | |||
30 | FILES:${PN} = " \ | ||
31 | ${sysconfdir}/fonts \ | ||
32 | ${datadir}/fonts \ | ||
33 | " | ||
34 | 5 | ||
6 | SRC_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 @@ | |||
1 | require ttf.inc | 1 | require source-han-sans-fonts.inc |
2 | 2 | ||
3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Korean" | 3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Korean" |
4 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | 4 | ZIPNAME = "SourceHanSansKR" |
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
7 | |||
8 | inherit allarch fontcache | ||
9 | |||
10 | # Download tends to break - so - or not? | ||
11 | #EXCLUDE_FROM_WORLD = "1" | ||
12 | |||
13 | SRC_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 | " | ||
17 | SRC_URI[md5sum] = "f8d1bd6c87d8575afdb25e2f46bd81d4" | ||
18 | SRC_URI[sha256sum] = "38fd15c80f9980492faaa1af39ff873d8a38e45027023fb17d5b10d4b4b0e6af" | ||
19 | |||
20 | S = "${WORKDIR}/SourceHanSansKR" | ||
21 | |||
22 | do_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 | |||
30 | FILES:${PN} = " \ | ||
31 | ${sysconfdir}/fonts \ | ||
32 | ${datadir}/fonts \ | ||
33 | " | ||
34 | 5 | ||
6 | SRC_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 @@ | |||
1 | require ttf.inc | 1 | require source-han-sans-fonts.inc |
2 | 2 | ||
3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Traditional Chinese" | 3 | SUMMARY = "Adobe OpenType Pan-CJK font family for Traditional Chinese" |
4 | HOMEPAGE = "https://github.com/adobe-fonts/source-han-sans" | 4 | ZIPNAME = "SourceHanSansTW" |
5 | LICENSE = "OFL-1.1" | ||
6 | LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/${LICENSE};md5=fac3a519e5e9eb96316656e0ca4f2b90" | ||
7 | |||
8 | inherit allarch fontcache | ||
9 | |||
10 | # Download tends to break - so - or not? | ||
11 | #EXCLUDE_FROM_WORLD = "1" | ||
12 | |||
13 | SRC_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 | " | ||
17 | SRC_URI[md5sum] = "6533b71b31c19e548768f0fc963202f3" | ||
18 | SRC_URI[sha256sum] = "92ba161921c5cdec5a8f8d5711676f0865b50cee071c25eb4bd4125b5af59fd0" | ||
19 | |||
20 | S = "${WORKDIR}/SourceHanSansTW" | ||
21 | |||
22 | do_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 | |||
30 | FILES:${PN} = " \ | ||
31 | ${sysconfdir}/fonts \ | ||
32 | ${datadir}/fonts \ | ||
33 | " | ||
34 | 5 | ||
6 | SRC_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 | ||
24 | do_install:append () { | 24 | do_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 | ||
29 | PACKAGES = "\ | 29 | PACKAGES = "\ |
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 | ||
26 | S = "${WORKDIR}" | 26 | S = "${WORKDIR}/sources" |
27 | UNPACKDIR = "${S}" | ||
27 | 28 | ||
28 | do_install:append() { | 29 | do_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 | |||
3 | SUMMARY = "Inconsolata font - TTF Version" | 3 | SUMMARY = "Inconsolata font - TTF Version" |
4 | HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html" | 4 | HOMEPAGE = "http://www.levien.com/type/myfonts/inconsolata.html" |
5 | LICENSE = "OFL-1.1" | 5 | LICENSE = "OFL-1.1" |
6 | LIC_FILES_CHKSUM = "file://../OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed" | 6 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/OFL.txt;md5=969851e3a70122069a4d9ee61dd5a2ed" |
7 | 7 | ||
8 | SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \ | 8 | SRC_URI = "http://levien.com/type/myfonts/Inconsolata.otf \ |
9 | file://OFL.txt" | 9 | file://OFL.txt" |
10 | 10 | ||
11 | S = "${WORKDIR}/ttf-inconsolata-${PV}" | 11 | S = "${UNPACKDIR}/ttf-inconsolata-${PV}" |
12 | 12 | ||
13 | FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ | 13 | FILES:${PN} = "${datadir}/fonts/truetype/Inconsolata.ttf \ |
14 | ${datadir}/doc/ttf-inconsolata/*" | 14 | ${datadir}/doc/ttf-inconsolata/*" |
15 | 15 | ||
16 | do_configure() { | 16 | do_configure() { |
17 | cp -fr ${WORKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf | 17 | cp -fr ${UNPACKDIR}/Inconsolata.otf ${S}/Inconsolata.ttf |
18 | } | 18 | } |
19 | 19 | ||
20 | do_install:append() { | 20 | do_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 | ||
25 | SRC_URI[md5sum] = "0fbe014c1f0fb5e3c71140ff0dc63edf" | 25 | SRC_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 | ||
11 | DEPENDS = "fontforge-native" | 11 | DEPENDS = "fontforge-native" |
12 | 12 | ||
13 | S = "${WORKDIR}" | 13 | S = "${WORKDIR}/sources" |
14 | UNPACKDIR = "${S}" | ||
14 | FONT_PACKAGES = "${PN}" | 15 | FONT_PACKAGES = "${PN}" |
15 | FILES:${PN} = "${datadir}" | 16 | FILES:${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/" | |||
5 | SECTION = "x11/fonts" | 5 | SECTION = "x11/fonts" |
6 | 6 | ||
7 | LICENSE = "ParaTypeFFL-1.3" | 7 | LICENSE = "ParaTypeFFL-1.3" |
8 | LIC_FILES_CHKSUM = "file://../PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d" | 8 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/PT%20Free%20Font%20License_eng.txt;md5=d720f3a281ed81c3f4cfc465e11b1d0d" |
9 | 9 | ||
10 | inherit allarch fontcache | 10 | inherit allarch fontcache |
11 | 11 | ||
@@ -16,9 +16,10 @@ SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/paratype-pt-sans-fonts/PTSans | |||
16 | SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7" | 16 | SRC_URI[md5sum] = "c3f5a0e20a75cf628387510a720924a7" |
17 | SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e" | 17 | SRC_URI[sha256sum] = "0164f824e03c32c99e8a225853ec168893a04a09ade132e93a674e85ae033b2e" |
18 | 18 | ||
19 | S = "${UNPACKDIR}" | ||
20 | |||
19 | do_install () { | 21 | do_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 | |||
9 | SRC_URI[md5sum] = "3b43a5cb33196ec25e44d5fcb40219e1" | 9 | SRC_URI[md5sum] = "3b43a5cb33196ec25e44d5fcb40219e1" |
10 | SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf" | 10 | SRC_URI[sha256sum] = "c825453253f590cfe62557733e7173f9a421fff103b00f57d33c4ad28ae53baf" |
11 | 11 | ||
12 | S = "${WORKDIR}" | 12 | S = "${WORKDIR}/sources" |
13 | UNPACKDIR = "${S}" | ||
13 | 14 | ||
14 | FILES:${PN} = "${datadir}/fonts/truetype/*.ttf" | 15 | FILES:${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 | |||
3 | SUMMARY = "Thai Linux Working Group Fonts" | 3 | SUMMARY = "Thai Linux Working Group Fonts" |
4 | HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg" | 4 | HOMEPAGE = "http://linux.thai.net/projects/fonts-tlwg" |
5 | LICENSE = "GPL-2.0-only & TLWG" | 5 | LICENSE = "GPL-2.0-only & TLWG" |
6 | LIC_FILES_CHKSUM = "file://../fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd" | 6 | LIC_FILES_CHKSUM = "file://${UNPACKDIR}/fonts-tlwg-${PV}/COPYING;md5=3d20cd7eadf4afd5460c0adb32e387fd" |
7 | 7 | ||
8 | SRC_URI = "http://linux.thai.net/pub/ThaiLinux/software/fonts-tlwg/fonts-tlwg-${PV}.tar.xz;name=source \ | 8 | SRC_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 | " |
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=64322fab5239f5c8d97cf6e0e14f1c62" | 12 | LIC_FILES_CHKSUM = "file://COPYING;md5=6767a97a97e21260134637b657b922ae" |
13 | 13 | ||
14 | DEPENDS += "libxaw libxkbfile" | 14 | DEPENDS += "libxaw libxkbfile" |
15 | 15 | ||
16 | SRC_URI_EXT = "xz" | 16 | SRC_URI_EXT = "xz" |
17 | SRC_URI[sha256sum] = "f6a4a8e9c54582beb3787b1faa8168caab125c1fee0ca9cfa5b6c9c1df25eea4" | 17 | SRC_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" | |||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b" | 7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5ec74dd7ea4d10c4715a7c44f159a40b" |
8 | 8 | ||
9 | SRC_URI_EXT = "xz" | 9 | SRC_URI_EXT = "xz" |
10 | SRC_URI[sha256sum] = "7b726945a967b44c35cddee5edd74802907a239ce2e2e515730b8a32c8e50465" | 10 | SRC_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 @@ | |||
1 | From b23d38f1216c4d70738edaa367cf9ecd2dd4b660 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Fri, 13 Dec 2019 12:59:26 -0800 | ||
4 | Subject: [PATCH] Add configure time check for setsid | ||
5 | |||
6 | Do not assume glibc == linux | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-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 | |||
18 | diff --git a/configure b/configure | ||
19 | index 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 \ | ||
30 | diff --git a/configure.in b/configure.in | ||
31 | index 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 \ | ||
42 | diff --git a/main.c b/main.c | ||
43 | index 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(); | ||
64 | diff --git a/xtermcfg.hin b/xtermcfg.hin | ||
65 | index 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 @@ | |||
1 | From e30ab2d73a21bc55511cbedbb9ae603246dbfcd1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Thu, 16 May 2024 23:10:00 -0700 | ||
4 | Subject: [PATCH] include missing pty.h header for openpty() | ||
5 | |||
6 | On musl this problem is unearthed | ||
7 | |||
8 | Fix | ||
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 | |||
15 | Upstream-Status: Submitted [sent to dickey@invisible-island.net] | ||
16 | Signed-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 | |||
2 | SUMMARY = "xterm is the standard terminal emulator for the X Window System" | 2 | SUMMARY = "xterm is the standard terminal emulator for the X Window System" |
3 | DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native" | 3 | DEPENDS = "libxaw xorgproto libxext libxau libxinerama libxpm ncurses desktop-file-utils-native" |
4 | 4 | ||
5 | LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=9c96124b492c0c02356850c243aaeca2" | 5 | LIC_FILES_CHKSUM = "file://xterm.h;beginline=3;endline=31;md5=1a3032aa728f8fda9d686948940ca58d" |
6 | 6 | ||
7 | SRC_URI = "http://invisible-mirror.net/archives/${BPN}/${BP}.tgz \ | 7 | SRC_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 | 10 | SRC_URI[sha256sum] = "4d57372ef08eafa9fb7682db8d07be0fe0513e58e8478c2ec8e9b62486e7fe5e" | |
11 | SRC_URI[sha256sum] = "ac429345e6f937a5945a89d425a265fee6c215fc669dbdc6a0326e21f4c5f674" | ||
12 | 11 | ||
13 | PACKAGECONFIG ?= "" | 12 | PACKAGECONFIG ?= "" |
14 | PACKAGECONFIG[xft] = "--enable-freetype,--disable-freetype,libxft fontconfig freetype-native" | 13 | PACKAGECONFIG[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 | ||
15 | do_install:append() { | 15 | do_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 | ||
20 | FILES:${PN} += "${nonarch_base_libdir}/udev" | 20 | FILES:${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', | |||
34 | PACKAGECONFIG[systemd] = "--with-systemd=yes,--with-systemd=no,systemd" | 34 | PACKAGECONFIG[systemd] = "--with-systemd=yes,--with-systemd=no,systemd" |
35 | PACKAGECONFIG[png] = "--with-png=yes,--with-png=no,libpng" | 35 | PACKAGECONFIG[png] = "--with-png=yes,--with-png=no,libpng" |
36 | 36 | ||
37 | CONFIGUREOPTS:remove = "--disable-silent-rules --disable-dependency-tracking ${@append_libtool_sysroot(d)}" | 37 | CONFIGUREOPTS:remove = "--disable-silent-rules --disable-dependency-tracking" |
38 | EXTRA_OECONF:remove = "--disable-static" | 38 | EXTRA_OECONF:remove = "--disable-static" |
39 | 39 | ||
40 | do_install:append() { | 40 | do_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 | ||
19 | do_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 | } | ||
19 | SYSTEMD_SERVICE:${PN} = "ydotoold.service" | 25 | SYSTEMD_SERVICE:${PN} = "ydotoold.service" |
20 | SYSTEMD_AUTO_ENABLE = "disable" | 26 | SYSTEMD_AUTO_ENABLE = "disable" |