diff options
Diffstat (limited to 'meta/recipes-gnome')
67 files changed, 2414 insertions, 2047 deletions
diff --git a/meta/recipes-gnome/epiphany/epiphany_3.38.1.bb b/meta/recipes-gnome/epiphany/epiphany_3.38.1.bb deleted file mode 100644 index f9daa8bfe2..0000000000 --- a/meta/recipes-gnome/epiphany/epiphany_3.38.1.bb +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | SUMMARY = "WebKit based web browser for GNOME" | ||
2 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/epiphany" | ||
3 | LICENSE = "GPLv3+" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
5 | |||
6 | DEPENDS = "libsoup-2.4 webkitgtk gtk+3 iso-codes avahi libnotify gcr \ | ||
7 | gsettings-desktop-schemas libxml2-native \ | ||
8 | glib-2.0 glib-2.0-native json-glib libdazzle libhandy libportal" | ||
9 | |||
10 | GNOMEBASEBUILDCLASS = "meson" | ||
11 | inherit gnomebase gsettings features_check upstream-version-is-even gettext mime-xdg | ||
12 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | ||
13 | |||
14 | SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@gnome_verdir("${PV}")}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ | ||
15 | file://0002-help-meson.build-disable-the-use-of-yelp.patch \ | ||
16 | " | ||
17 | SRC_URI[archive.sha256sum] = "59b7576acb11fbb52eaca6dbf6fce28664de5c915ca2580c47f0b08ba83d2843" | ||
18 | |||
19 | FILES_${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo" | ||
20 | RDEPENDS_${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas" | ||
diff --git a/meta/recipes-gnome/epiphany/epiphany_48.3.bb b/meta/recipes-gnome/epiphany/epiphany_48.3.bb new file mode 100644 index 0000000000..74a17be5a5 --- /dev/null +++ b/meta/recipes-gnome/epiphany/epiphany_48.3.bb | |||
@@ -0,0 +1,43 @@ | |||
1 | SUMMARY = "WebKit based web browser for GNOME" | ||
2 | DESCRIPTION = "Epiphany is an open source web browser for the Linux desktop environment. \ | ||
3 | It provides a simple and easy-to-use internet browsing experience." | ||
4 | HOMEPAGE = "https://wiki.gnome.org/Apps/Web" | ||
5 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/epiphany" | ||
6 | LICENSE = "GPL-3.0-or-later" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" | ||
8 | |||
9 | DEPENDS = " \ | ||
10 | webkitgtk \ | ||
11 | gcr \ | ||
12 | gsettings-desktop-schemas \ | ||
13 | nettle \ | ||
14 | json-glib \ | ||
15 | libadwaita \ | ||
16 | libarchive \ | ||
17 | libdazzle \ | ||
18 | libhandy \ | ||
19 | libportal \ | ||
20 | libsoup \ | ||
21 | glib-2.0-native \ | ||
22 | coreutils-native \ | ||
23 | desktop-file-utils-native \ | ||
24 | " | ||
25 | |||
26 | inherit gnomebase gsettings features_check gettext mime-xdg gtk-icon-cache | ||
27 | REQUIRED_DISTRO_FEATURES = "x11 opengl" | ||
28 | |||
29 | SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@oe.utils.trim_version("${PV}", 1)}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \ | ||
30 | file://0002-help-meson.build-disable-the-use-of-yelp.patch \ | ||
31 | file://migrator.patch \ | ||
32 | file://distributor.patch \ | ||
33 | " | ||
34 | SRC_URI[archive.sha256sum] = "da2953e7e2b73bf7473c0a33979104d79362795295eaa0a2a38ea188537daf13" | ||
35 | |||
36 | # Developer mode enables debugging | ||
37 | PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true,-Ddeveloper_mode=false" | ||
38 | |||
39 | FILES:${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo" | ||
40 | RDEPENDS:${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas" | ||
41 | |||
42 | # ANGLE requires SSE support as of webkit 2.40.x on 32 bit x86 | ||
43 | COMPATIBLE_HOST:x86 = "${@bb.utils.contains_any('TUNE_FEATURES', 'core2 corei7', '.*', 'null', d)}" | ||
diff --git a/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch b/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch index 118b5d1825..929e33b015 100644 --- a/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch +++ b/meta/recipes-gnome/epiphany/files/0002-help-meson.build-disable-the-use-of-yelp.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 3725c254f1d1d8204fa299e71c1e2bfd0ff6a634 Mon Sep 17 00:00:00 2001 | 1 | From 165ef2bf636c170d81576f7d3e6348fc3d781821 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Wed, 31 Jan 2018 15:50:38 +0200 | 3 | Date: Wed, 31 Jan 2018 15:50:38 +0200 |
4 | Subject: [PATCH] help/meson.build: disable the use of yelp | 4 | Subject: [PATCH] help/meson.build: disable the use of yelp |
@@ -7,17 +7,16 @@ In particular this avoids calling itstool which oe-core doesn't provide. | |||
7 | 7 | ||
8 | Upstream-Status: Inappropriate [oe-core specific] | 8 | Upstream-Status: Inappropriate [oe-core specific] |
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
10 | |||
11 | --- | 10 | --- |
12 | help/meson.build | 8 ++++---- | 11 | help/meson.build | 8 ++++---- |
13 | 1 file changed, 4 insertions(+), 4 deletions(-) | 12 | 1 file changed, 4 insertions(+), 4 deletions(-) |
14 | 13 | ||
15 | diff --git a/help/meson.build b/help/meson.build | 14 | diff --git a/help/meson.build b/help/meson.build |
16 | index 484860c..d9b2e80 100644 | 15 | index ff324dd..f5e421d 100644 |
17 | --- a/help/meson.build | 16 | --- a/help/meson.build |
18 | +++ b/help/meson.build | 17 | +++ b/help/meson.build |
19 | @@ -32,7 +32,7 @@ help_media = [ | 18 | @@ -31,7 +31,7 @@ help_media = [ |
20 | 'media/epiphany-private-3-36.png' | 19 | 'media/org.gnome.Epiphany.svg' |
21 | ] | 20 | ] |
22 | 21 | ||
23 | -gnome.yelp(meson.project_name(), | 22 | -gnome.yelp(meson.project_name(), |
diff --git a/meta/recipes-gnome/epiphany/files/distributor.patch b/meta/recipes-gnome/epiphany/files/distributor.patch new file mode 100644 index 0000000000..dac4855750 --- /dev/null +++ b/meta/recipes-gnome/epiphany/files/distributor.patch | |||
@@ -0,0 +1,24 @@ | |||
1 | From c43bbbb4154bb9686756297a7e2eecaa72bb1e9f Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Fri, 26 Feb 2021 10:17:52 +0000 | ||
4 | Subject: [PATCH] Don't encode the distro from /etc/os-release into the | ||
5 | binaries. | ||
6 | |||
7 | Upstream-Status: Pending | ||
8 | RP 2021/2/26 | ||
9 | --- | ||
10 | meson.build | 1 + | ||
11 | 1 file changed, 1 insertion(+) | ||
12 | |||
13 | diff --git a/meson.build b/meson.build | ||
14 | index 96554b7..f5c9727 100644 | ||
15 | --- a/meson.build | ||
16 | +++ b/meson.build | ||
17 | @@ -15,6 +15,7 @@ if r.returncode() == 0 | ||
18 | else | ||
19 | distributor_name = 'GNOME Web' | ||
20 | endif | ||
21 | +distributor_name = 'OpenEmbedded' | ||
22 | |||
23 | prefix = get_option('prefix') | ||
24 | datadir = join_paths(prefix, get_option('datadir')) | ||
diff --git a/meta/recipes-gnome/epiphany/files/migrator.patch b/meta/recipes-gnome/epiphany/files/migrator.patch new file mode 100644 index 0000000000..5407d893d6 --- /dev/null +++ b/meta/recipes-gnome/epiphany/files/migrator.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From 4c5f6b0b44b959f0156cb74f76b2db46a0042c4a Mon Sep 17 00:00:00 2001 | ||
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | ||
3 | Date: Thu, 25 Feb 2021 14:52:32 +0000 | ||
4 | Subject: [PATCH] epiphany: Fix reproducibility issue | ||
5 | |||
6 | We don't want to encide BUILD_ROOT into target packages. This is used | ||
7 | for build time tests but in our case those would be on target anyway | ||
8 | do use the target paths. | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | RP 2021/2/25 | ||
12 | --- | ||
13 | lib/ephy-profile-utils.c | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/lib/ephy-profile-utils.c b/lib/ephy-profile-utils.c | ||
17 | index a2f6181..5218077 100644 | ||
18 | --- a/lib/ephy-profile-utils.c | ||
19 | +++ b/lib/ephy-profile-utils.c | ||
20 | @@ -130,10 +130,10 @@ ephy_profile_utils_do_migration (const char *profile_directory, | ||
21 | argv[i++] = NULL; | ||
22 | |||
23 | #if DEVELOPER_MODE | ||
24 | - argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR; | ||
25 | + argv[0] = PKGLIBEXECDIR "/" EPHY_PROFILE_MIGRATOR; | ||
26 | #else | ||
27 | if (debug) | ||
28 | - argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR; | ||
29 | + argv[0] = PKGLIBEXECDIR "/" EPHY_PROFILE_MIGRATOR; | ||
30 | #endif | ||
31 | |||
32 | g_spawn_sync (NULL, (char **)argv, envp, G_SPAWN_SEARCH_PATH, | ||
diff --git a/meta/recipes-gnome/gcr/gcr_3.38.0.bb b/meta/recipes-gnome/gcr/gcr_3.38.0.bb deleted file mode 100644 index 49e8f1848b..0000000000 --- a/meta/recipes-gnome/gcr/gcr_3.38.0.bb +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | SUMMARY = "A library for bits of crypto UI and parsing etc" | ||
2 | DESCRIPTION = "GCR is a library for displaying certificates, and crypto UI, \ | ||
3 | accessing key stores. It also provides the viewer for crypto files on the \ | ||
4 | GNOME desktop." | ||
5 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcr" | ||
6 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues" | ||
7 | |||
8 | LICENSE = "GPLv2" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | ||
10 | |||
11 | DEPENDS = "gtk+3 p11-kit glib-2.0 libgcrypt gnupg-native \ | ||
12 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}" | ||
13 | |||
14 | GNOMEBASEBUILDCLASS = "meson" | ||
15 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
16 | inherit gnomebase gtk-icon-cache gtk-doc features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg | ||
17 | # depends on gtk+3, but also x11 through gtk+-x11 | ||
18 | REQUIRED_DISTRO_FEATURES = "x11" | ||
19 | |||
20 | SRC_URI[archive.sha256sum] = "a64cc7b65757fc2cd16de1708d132a16d05cd1f62c6eba436d56fe45d4ba27e1" | ||
21 | |||
22 | FILES_${PN} += " \ | ||
23 | ${datadir}/dbus-1 \ | ||
24 | ${datadir}/gcr-3 \ | ||
25 | " | ||
26 | |||
27 | # http://errors.yoctoproject.org/Errors/Details/20229/ | ||
28 | ARM_INSTRUCTION_SET_armv4 = "arm" | ||
29 | ARM_INSTRUCTION_SET_armv5 = "arm" | ||
30 | ARM_INSTRUCTION_SET_armv6 = "arm" | ||
diff --git a/meta/recipes-gnome/gcr/gcr_4.3.1.bb b/meta/recipes-gnome/gcr/gcr_4.3.1.bb new file mode 100644 index 0000000000..f556376258 --- /dev/null +++ b/meta/recipes-gnome/gcr/gcr_4.3.1.bb | |||
@@ -0,0 +1,57 @@ | |||
1 | SUMMARY = "A library for bits of crypto UI and parsing etc" | ||
2 | DESCRIPTION = "GCR is a library for displaying certificates, and crypto UI, \ | ||
3 | accessing key stores. It also provides the viewer for crypto files on the \ | ||
4 | GNOME desktop." | ||
5 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcr" | ||
6 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues" | ||
7 | |||
8 | LICENSE = "LGPL-2.0-only" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | ||
10 | |||
11 | DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \ | ||
12 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}" | ||
13 | |||
14 | CFLAGS += "-D_GNU_SOURCE" | ||
15 | |||
16 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
17 | inherit gnomebase gtk-icon-cache gi-docgen features_check vala gobject-introspection gettext mime mime-xdg | ||
18 | UPSTREAM_CHECK_REGEX = "gcr-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | ||
19 | |||
20 | REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}" | ||
21 | |||
22 | SRC_URI[archive.sha256sum] = "b2f070fff1840eef70546a28be80235427c116aadc593b5b68ccc869be3aa09d" | ||
23 | |||
24 | PACKAGECONFIG ??= " \ | ||
25 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ | ||
26 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \ | ||
27 | ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \ | ||
28 | ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} \ | ||
29 | " | ||
30 | PACKAGECONFIG[gtk] = "-Dgtk4=true,-Dgtk4=false,gtk4" | ||
31 | PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh" | ||
32 | #'Use systemd socket activation for server programs' | ||
33 | PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd" | ||
34 | PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false," | ||
35 | |||
36 | FILES:${PN} += " \ | ||
37 | ${datadir}/dbus-1 \ | ||
38 | ${datadir}/gcr-4 \ | ||
39 | ${systemd_user_unitdir}/gcr-ssh-agent.socket \ | ||
40 | ${systemd_user_unitdir}/gcr-ssh-agent.service \ | ||
41 | " | ||
42 | |||
43 | # http://errors.yoctoproject.org/Errors/Details/20229/ | ||
44 | ARM_INSTRUCTION_SET:armv4 = "arm" | ||
45 | ARM_INSTRUCTION_SET:armv5 = "arm" | ||
46 | ARM_INSTRUCTION_SET:armv6 = "arm" | ||
47 | |||
48 | EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross" | ||
49 | |||
50 | do_write_config:append() { | ||
51 | cat >${WORKDIR}/meson-${PN}.cross <<EOF | ||
52 | [binaries] | ||
53 | gpg = '${bindir}/gpg' | ||
54 | ssh-add = '${bindir}/ssh-add' | ||
55 | ssh-agent = '${bindir}/ssh-agent' | ||
56 | EOF | ||
57 | } | ||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-a-couple-of-decisions-around-cross-compilation.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-a-couple-of-decisions-around-cross-compilation.patch deleted file mode 100644 index e461404918..0000000000 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Fix-a-couple-of-decisions-around-cross-compilation.patch +++ /dev/null | |||
@@ -1,38 +0,0 @@ | |||
1 | From be8a47e0c21e5577d4f5669d339dfec6299b25be Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 14 Feb 2019 18:06:25 +0100 | ||
4 | Subject: [PATCH] Generate loaders.cache using a native tool when | ||
5 | cross-compiling | ||
6 | |||
7 | Otherwise meson would attempt to run a target binary. | ||
8 | |||
9 | Upstream-Status: Pending | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | |||
12 | --- | ||
13 | gdk-pixbuf/meson.build | 12 ++++++++++-- | ||
14 | 1 file changed, 10 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/gdk-pixbuf/meson.build b/gdk-pixbuf/meson.build | ||
17 | index 5cddbec..78c8bd3 100644 | ||
18 | --- a/gdk-pixbuf/meson.build | ||
19 | +++ b/gdk-pixbuf/meson.build | ||
20 | @@ -324,8 +324,16 @@ if not meson.is_cross_build() | ||
21 | build_by_default: true) | ||
22 | loaders_dep = declare_dependency(sources: [ loaders_cache ]) | ||
23 | else | ||
24 | - loaders_cache = [] | ||
25 | - loaders_dep = declare_dependency() | ||
26 | + loaders_cache = custom_target('loaders.cache', | ||
27 | + output: 'loaders.cache', | ||
28 | + capture: true, | ||
29 | + command: [ | ||
30 | + 'gdk-pixbuf-query-loaders', | ||
31 | + dynamic_loaders, | ||
32 | + ], | ||
33 | + depends: dynamic_loaders_dep, | ||
34 | + build_by_default: true) | ||
35 | + loaders_dep = declare_dependency(sources: [ loaders_cache ]) | ||
36 | endif | ||
37 | |||
38 | pkgconfig = import('pkgconfig') | ||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Work-around-thumbnailer-cross-compile-failure.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Work-around-thumbnailer-cross-compile-failure.patch deleted file mode 100644 index 110b32a490..0000000000 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-Work-around-thumbnailer-cross-compile-failure.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 8c7ced988def52654946458a3779e383b27f14f7 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Thu, 14 Feb 2019 17:56:10 +0100 | ||
4 | Subject: [PATCH] Work-around thumbnailer cross-compile failure | ||
5 | |||
6 | Install gdk-pixbuf-print-mime-types that's needed for thumbnail | ||
7 | metadata generation. | ||
8 | |||
9 | The upstream issue is https://bugzilla.gnome.org/show_bug.cgi?id=779057 | ||
10 | |||
11 | Upstream-Status: Inappropriate [workaround] | ||
12 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
13 | --- | ||
14 | thumbnailer/meson.build | 1 + | ||
15 | 1 file changed, 1 insertion(+) | ||
16 | |||
17 | diff --git a/thumbnailer/meson.build b/thumbnailer/meson.build | ||
18 | index e801144..aaafec8 100644 | ||
19 | --- a/thumbnailer/meson.build | ||
20 | +++ b/thumbnailer/meson.build | ||
21 | @@ -10,6 +10,7 @@ executable('gdk-pixbuf-thumbnailer', | ||
22 | gdk_pixbuf_print_mime_types = executable('gdk-pixbuf-print-mime-types', | ||
23 | 'gdk-pixbuf-print-mime-types.c', | ||
24 | c_args: common_cflags, | ||
25 | + install: true, | ||
26 | dependencies: gdk_pixbuf_deps + [ gdkpixbuf_dep ]) | ||
27 | |||
28 | custom_target('thumbnailer', | ||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-meson.build-allow-a-subset-of-tests-in-cross-compile.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-meson.build-allow-a-subset-of-tests-in-cross-compile.patch new file mode 100644 index 0000000000..24edda8102 --- /dev/null +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0001-meson.build-allow-a-subset-of-tests-in-cross-compile.patch | |||
@@ -0,0 +1,66 @@ | |||
1 | From 325a4cde99a00b84116ab7111d27e6973f3c5026 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Thu, 26 Jan 2023 20:29:46 +0100 | ||
4 | Subject: [PATCH] meson.build: allow (a subset of) tests in cross compile | ||
5 | settings | ||
6 | |||
7 | There is no need to completely disable tests: most of them | ||
8 | do not require running target executables at build time, | ||
9 | and so can be built and installed. | ||
10 | |||
11 | This requires inserting a couple of specific guards around | ||
12 | items that do require running target executables. | ||
13 | |||
14 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/150] | ||
15 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
16 | --- | ||
17 | meson.build | 6 +++--- | ||
18 | tests/meson.build | 10 ++++++---- | ||
19 | 2 files changed, 9 insertions(+), 7 deletions(-) | ||
20 | |||
21 | diff --git a/meson.build b/meson.build | ||
22 | index 3eb3fcc..dc7e790 100644 | ||
23 | --- a/meson.build | ||
24 | +++ b/meson.build | ||
25 | @@ -390,10 +390,10 @@ subdir('gdk-pixbuf') | ||
26 | # i18n | ||
27 | subdir('po') | ||
28 | |||
29 | +if get_option('tests') | ||
30 | + subdir('tests') | ||
31 | +endif | ||
32 | if not meson.is_cross_build() | ||
33 | - if get_option('tests') | ||
34 | - subdir('tests') | ||
35 | - endif | ||
36 | subdir('thumbnailer') | ||
37 | endif | ||
38 | |||
39 | diff --git a/tests/meson.build b/tests/meson.build | ||
40 | index 3781066..911b5fb 100644 | ||
41 | --- a/tests/meson.build | ||
42 | +++ b/tests/meson.build | ||
43 | @@ -4,7 +4,7 @@ | ||
44 | # gdk-pixbuf-pixdata from build directory because it needs all DLL locations in | ||
45 | # $PATH. Ideally we should use gnome.compile_resources() and let Meson deal with | ||
46 | # this problem: See https://github.com/mesonbuild/meson/issues/8266. | ||
47 | -if enabled_loaders.contains('png') and host_system != 'windows' | ||
48 | +if enabled_loaders.contains('png') and host_system != 'windows' and not meson.is_cross_build() | ||
49 | # Resources; we cannot use gnome.compile_resources() here, because we need to | ||
50 | # override the environment in order to use the utilities we just built instead | ||
51 | # of the system ones | ||
52 | @@ -164,9 +164,11 @@ endif | ||
53 | test_deps = gdk_pixbuf_deps + [ gdkpixbuf_dep, ] | ||
54 | test_args = [ '-k' ] | ||
55 | test_env = environment() | ||
56 | -test_env.set('G_TEST_SRCDIR', meson.current_source_dir()) | ||
57 | -test_env.set('G_TEST_BUILDDIR', meson.current_build_dir()) | ||
58 | -test_env.set('GDK_PIXBUF_MODULE_FILE', loaders_cache.full_path()) | ||
59 | +if not meson.is_cross_build() | ||
60 | + test_env.set('G_TEST_SRCDIR', meson.current_source_dir()) | ||
61 | + test_env.set('G_TEST_BUILDDIR', meson.current_build_dir()) | ||
62 | + test_env.set('GDK_PIXBUF_MODULE_FILE', loaders_cache.full_path()) | ||
63 | +endif | ||
64 | |||
65 | foreach test_name, test_data: installed_tests | ||
66 | test_sources = [ test_name + '.c', 'test-common.c' ] | ||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch deleted file mode 100644 index a9c7600eb3..0000000000 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch +++ /dev/null | |||
@@ -1,94 +0,0 @@ | |||
1 | From 2d1b65bd1272ad63b7fbd4babd9a8e8c296d15b5 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 22 Feb 2019 13:22:06 +0100 | ||
4 | Subject: [PATCH] (target only) Work-around thumbnailer and pixdata | ||
5 | cross-compile failure | ||
6 | |||
7 | Use native gdk-pixbuf-print-mime-types and gdk-pixbuf-pixdata | ||
8 | when generating the thumbnail metadata and resources. | ||
9 | |||
10 | This works but the mime types will come from native | ||
11 | loader.cache (which will only contain in-tree loaders), not from the | ||
12 | target loader.cache. | ||
13 | |||
14 | The upstream issue is https://bugzilla.gnome.org/show_bug.cgi?id=779057 | ||
15 | |||
16 | Upstream-Status: Inappropriate [workaround] | ||
17 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
18 | |||
19 | --- | ||
20 | build-aux/gen-thumbnailer.py | 2 -- | ||
21 | tests/meson.build | 11 +++++++++-- | ||
22 | thumbnailer/meson.build | 5 +---- | ||
23 | 3 files changed, 10 insertions(+), 8 deletions(-) | ||
24 | |||
25 | diff --git a/build-aux/gen-thumbnailer.py b/build-aux/gen-thumbnailer.py | ||
26 | index 05ac821..c5b99ab 100644 | ||
27 | --- a/build-aux/gen-thumbnailer.py | ||
28 | +++ b/build-aux/gen-thumbnailer.py | ||
29 | @@ -20,8 +20,6 @@ argparser.add_argument('output', help='Output file') | ||
30 | args = argparser.parse_args() | ||
31 | |||
32 | newenv = os.environ.copy() | ||
33 | -newenv['GDK_PIXBUF_PIXDATA'] = args.pixdata | ||
34 | -newenv['GDK_PIXBUF_MODULE_FILE'] = args.loaders | ||
35 | # 'nt': NT-based Windows, see https://docs.python.org/3/library/os.html | ||
36 | if os.name == 'nt': | ||
37 | gdk_pixbuf_dll_buildpath = os.path.dirname(args.pixdata) | ||
38 | diff --git a/tests/meson.build b/tests/meson.build | ||
39 | index 8ed7cc1..e011b77 100644 | ||
40 | --- a/tests/meson.build | ||
41 | +++ b/tests/meson.build | ||
42 | @@ -1,12 +1,19 @@ | ||
43 | # Resources; we cannot use gnome.compile_resources() here, because we need to | ||
44 | # override the environment in order to use the utilities we just built instead | ||
45 | # of the system ones | ||
46 | + | ||
47 | +if not meson.is_cross_build() | ||
48 | +pixdata_binary = gdk_pixbuf_pixdata.full_path() | ||
49 | +else | ||
50 | +pixdata_binary = 'gdk-pixbuf-pixdata' | ||
51 | +endif | ||
52 | + | ||
53 | resources_c = custom_target('resources.c', | ||
54 | input: 'resources.gresource.xml', | ||
55 | output: 'resources.c', | ||
56 | command: [ | ||
57 | gen_resources, | ||
58 | - '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()), | ||
59 | + '--pixdata=@0@'.format(pixdata_binary), | ||
60 | '--loaders=@0@'.format(loaders_cache.full_path()), | ||
61 | '--sourcedir=@0@'.format(meson.current_source_dir()), | ||
62 | '--source', | ||
63 | @@ -24,7 +31,7 @@ resources_h = custom_target('resources.h', | ||
64 | output: 'resources.h', | ||
65 | command: [ | ||
66 | gen_resources, | ||
67 | - '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()), | ||
68 | + '--pixdata=@0@'.format(pixdata_binary), | ||
69 | '--loaders=@0@'.format(loaders_cache.full_path()), | ||
70 | '--sourcedir=@0@'.format(meson.current_source_dir()), | ||
71 | '--header', | ||
72 | diff --git a/thumbnailer/meson.build b/thumbnailer/meson.build | ||
73 | index aaafec8..71bd61b 100644 | ||
74 | --- a/thumbnailer/meson.build | ||
75 | +++ b/thumbnailer/meson.build | ||
76 | @@ -18,9 +18,7 @@ custom_target('thumbnailer', | ||
77 | output: 'gdk-pixbuf-thumbnailer.thumbnailer', | ||
78 | command: [ | ||
79 | gen_thumbnailer, | ||
80 | - '--printer=@0@'.format(gdk_pixbuf_print_mime_types.full_path()), | ||
81 | - '--pixdata=@0@'.format(gdk_pixbuf_pixdata.full_path()), | ||
82 | - '--loaders=@0@'.format(loaders_cache.full_path()), | ||
83 | + '--printer=gdk-pixbuf-print-mime-types', | ||
84 | '--bindir=@0@'.format(gdk_pixbuf_bindir), | ||
85 | '@INPUT@', | ||
86 | '@OUTPUT@', | ||
87 | @@ -28,7 +26,6 @@ custom_target('thumbnailer', | ||
88 | depends: [ | ||
89 | gdk_pixbuf_print_mime_types, | ||
90 | gdk_pixbuf_pixdata, | ||
91 | - loaders_cache, | ||
92 | ], | ||
93 | install: true, | ||
94 | install_dir: join_paths(gdk_pixbuf_datadir, 'thumbnailers')) | ||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0004-Do-not-run-tests-when-building.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0004-Do-not-run-tests-when-building.patch deleted file mode 100644 index 96c546f271..0000000000 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0004-Do-not-run-tests-when-building.patch +++ /dev/null | |||
@@ -1,39 +0,0 @@ | |||
1 | From 3c4a6c147ae8a0962ba9194373d8a41d14eed44f Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 22 Feb 2019 13:23:55 +0100 | ||
4 | Subject: [PATCH] Do not run tests when building | ||
5 | |||
6 | Upstream-Status: Inappropriate [cross-compile specific] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | tests/meson.build | 17 ----------------- | ||
10 | 1 file changed, 17 deletions(-) | ||
11 | |||
12 | diff --git a/tests/meson.build b/tests/meson.build | ||
13 | index 4fa3fbc..6ef7884 100644 | ||
14 | --- a/tests/meson.build | ||
15 | +++ b/tests/meson.build | ||
16 | @@ -138,23 +138,6 @@ foreach t: installed_tests | ||
17 | install_dir: installed_test_bindir, | ||
18 | ) | ||
19 | |||
20 | - # Two particularly slow tests | ||
21 | - if test_suites.contains('slow') | ||
22 | - timeout = 300 | ||
23 | - else | ||
24 | - timeout = 30 | ||
25 | - endif | ||
26 | - | ||
27 | - test(test_name, test_bin, | ||
28 | - suite: test_suites, | ||
29 | - args: [ '-k', '--tap' ], | ||
30 | - env: [ | ||
31 | - 'G_TEST_SRCDIR=@0@'.format(meson.current_source_dir()), | ||
32 | - 'G_TEST_BUILDDIR=@0@'.format(meson.current_build_dir()), | ||
33 | - 'GDK_PIXBUF_MODULE_FILE=@0@'.format(loaders_cache.full_path()), | ||
34 | - ], | ||
35 | - timeout: timeout, | ||
36 | - ) | ||
37 | endforeach | ||
38 | |||
39 | executable('pixbuf-read', | ||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0006-Build-thumbnailer-and-tests-also-in-cross-builds.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0006-Build-thumbnailer-and-tests-also-in-cross-builds.patch deleted file mode 100644 index 0fe13a387a..0000000000 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/0006-Build-thumbnailer-and-tests-also-in-cross-builds.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From 1a532e090c558a830de9503f56e23414e880bb95 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 5 Jun 2019 14:17:55 +0200 | ||
4 | Subject: [PATCH] Build thumbnailer and tests also in cross builds. | ||
5 | |||
6 | Upstream-Status: Inappropriate [relies on oe-core specific hacks] | ||
7 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
8 | --- | ||
9 | meson.build | 6 ++---- | ||
10 | 1 file changed, 2 insertions(+), 4 deletions(-) | ||
11 | |||
12 | diff --git a/meson.build b/meson.build | ||
13 | index d104cea..7acb88a 100644 | ||
14 | --- a/meson.build | ||
15 | +++ b/meson.build | ||
16 | @@ -397,10 +397,8 @@ endif | ||
17 | # i18n | ||
18 | subdir('po') | ||
19 | |||
20 | -if not meson.is_cross_build() | ||
21 | - subdir('tests') | ||
22 | - subdir('thumbnailer') | ||
23 | -endif | ||
24 | +subdir('tests') | ||
25 | +subdir('thumbnailer') | ||
26 | |||
27 | # Documentation | ||
28 | subdir('docs') | ||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch index 25410b11ea..3b4bf62861 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/fatal-loader.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From f00603d58d844422363b896ea7d07aaf48ddaa66 Mon Sep 17 00:00:00 2001 | 1 | From f78ab4edaee5f62663a9a4bcfa56e5c524da4474 Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Tue, 1 Apr 2014 17:23:36 +0100 | 3 | Date: Tue, 1 Apr 2014 17:23:36 +0100 |
4 | Subject: [PATCH] gdk-pixbuf: add an option so that loader errors are fatal | 4 | Subject: [PATCH] gdk-pixbuf: add an option so that loader errors are fatal |
@@ -6,18 +6,17 @@ Subject: [PATCH] gdk-pixbuf: add an option so that loader errors are fatal | |||
6 | If an environment variable is specified set the return value from main() to | 6 | If an environment variable is specified set the return value from main() to |
7 | non-zero if the loader had errors (missing libraries, generally). | 7 | non-zero if the loader had errors (missing libraries, generally). |
8 | 8 | ||
9 | Upstream-Status: Pending | 9 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/144] |
10 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 10 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
11 | |||
12 | --- | 11 | --- |
13 | gdk-pixbuf/queryloaders.c | 19 +++++++++++++++---- | 12 | gdk-pixbuf/queryloaders.c | 19 +++++++++++++++---- |
14 | 1 file changed, 15 insertions(+), 4 deletions(-) | 13 | 1 file changed, 15 insertions(+), 4 deletions(-) |
15 | 14 | ||
16 | diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c | 15 | diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c |
17 | index 312aa78..b813d99 100644 | 16 | index baa9a5c..9b6fa89 100644 |
18 | --- a/gdk-pixbuf/queryloaders.c | 17 | --- a/gdk-pixbuf/queryloaders.c |
19 | +++ b/gdk-pixbuf/queryloaders.c | 18 | +++ b/gdk-pixbuf/queryloaders.c |
20 | @@ -212,7 +212,7 @@ write_loader_info (GString *contents, const char *path, GdkPixbufFormat *info) | 19 | @@ -216,7 +216,7 @@ write_loader_info (GString *contents, const char *path, GdkPixbufFormat *info) |
21 | g_string_append_c (contents, '\n'); | 20 | g_string_append_c (contents, '\n'); |
22 | } | 21 | } |
23 | 22 | ||
@@ -26,7 +25,7 @@ index 312aa78..b813d99 100644 | |||
26 | query_module (GString *contents, const char *dir, const char *file) | 25 | query_module (GString *contents, const char *dir, const char *file) |
27 | { | 26 | { |
28 | char *path; | 27 | char *path; |
29 | @@ -221,6 +221,7 @@ query_module (GString *contents, const char *dir, const char *file) | 28 | @@ -225,6 +225,7 @@ query_module (GString *contents, const char *dir, const char *file) |
30 | void (*fill_vtable) (GdkPixbufModule *module); | 29 | void (*fill_vtable) (GdkPixbufModule *module); |
31 | gpointer fill_info_ptr; | 30 | gpointer fill_info_ptr; |
32 | gpointer fill_vtable_ptr; | 31 | gpointer fill_vtable_ptr; |
@@ -34,7 +33,7 @@ index 312aa78..b813d99 100644 | |||
34 | 33 | ||
35 | if (g_path_is_absolute (file)) | 34 | if (g_path_is_absolute (file)) |
36 | path = g_strdup (file); | 35 | path = g_strdup (file); |
37 | @@ -270,10 +271,13 @@ query_module (GString *contents, const char *dir, const char *file) | 36 | @@ -274,10 +275,13 @@ query_module (GString *contents, const char *dir, const char *file) |
38 | g_module_error()); | 37 | g_module_error()); |
39 | else | 38 | else |
40 | g_fprintf (stderr, "Cannot load loader %s\n", path); | 39 | g_fprintf (stderr, "Cannot load loader %s\n", path); |
@@ -47,8 +46,8 @@ index 312aa78..b813d99 100644 | |||
47 | + return ret; | 46 | + return ret; |
48 | } | 47 | } |
49 | 48 | ||
50 | #ifdef G_OS_WIN32 | 49 | #if defined(G_OS_WIN32) && defined(GDK_PIXBUF_RELOCATABLE) |
51 | @@ -314,6 +318,7 @@ int main (int argc, char **argv) | 50 | @@ -318,6 +322,7 @@ int main (int argc, char **argv) |
52 | gint first_file = 1; | 51 | gint first_file = 1; |
53 | GFile *pixbuf_libdir_file; | 52 | GFile *pixbuf_libdir_file; |
54 | gchar *pixbuf_libdir; | 53 | gchar *pixbuf_libdir; |
@@ -56,7 +55,7 @@ index 312aa78..b813d99 100644 | |||
56 | 55 | ||
57 | #ifdef G_OS_WIN32 | 56 | #ifdef G_OS_WIN32 |
58 | gchar *libdir; | 57 | gchar *libdir; |
59 | @@ -452,7 +457,9 @@ int main (int argc, char **argv) | 58 | @@ -456,7 +461,9 @@ int main (int argc, char **argv) |
60 | } | 59 | } |
61 | modules = g_list_sort (modules, (GCompareFunc)strcmp); | 60 | modules = g_list_sort (modules, (GCompareFunc)strcmp); |
62 | for (l = modules; l != NULL; l = l->next) | 61 | for (l = modules; l != NULL; l = l->next) |
@@ -67,7 +66,7 @@ index 312aa78..b813d99 100644 | |||
67 | g_list_free_full (modules, g_free); | 66 | g_list_free_full (modules, g_free); |
68 | g_free (moduledir); | 67 | g_free (moduledir); |
69 | #else | 68 | #else |
70 | @@ -468,7 +475,8 @@ int main (int argc, char **argv) | 69 | @@ -472,7 +479,8 @@ int main (int argc, char **argv) |
71 | infilename = g_locale_to_utf8 (infilename, | 70 | infilename = g_locale_to_utf8 (infilename, |
72 | -1, NULL, NULL, NULL); | 71 | -1, NULL, NULL, NULL); |
73 | #endif | 72 | #endif |
@@ -77,7 +76,7 @@ index 312aa78..b813d99 100644 | |||
77 | } | 76 | } |
78 | g_free (cwd); | 77 | g_free (cwd); |
79 | } | 78 | } |
80 | @@ -486,5 +494,8 @@ int main (int argc, char **argv) | 79 | @@ -492,5 +500,8 @@ int main (int argc, char **argv) |
81 | 80 | ||
82 | g_free (pixbuf_libdir); | 81 | g_free (pixbuf_libdir); |
83 | 82 | ||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/missing-test-data.patch b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/missing-test-data.patch deleted file mode 100644 index 6c758fd61c..0000000000 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf/missing-test-data.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | Upstream-Status: Backport | ||
2 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
3 | |||
4 | From d8d231c01ef2e59856da8a5c26ace955e5f29370 Mon Sep 17 00:00:00 2001 | ||
5 | From: Ross Burton <ross.burton@intel.com> | ||
6 | Date: Mon, 25 Nov 2019 17:05:46 +0000 | ||
7 | Subject: [PATCH] tests: install circular-table.gif | ||
8 | |||
9 | This test data was added for the pixbuf-gif-circular-table test (added October | ||
10 | 2018 in 0b9d004) but because the file was never actually installed the installed | ||
11 | test suite never passes. | ||
12 | --- | ||
13 | tests/meson.build | 1 + | ||
14 | 1 file changed, 1 insertion(+) | ||
15 | |||
16 | diff --git a/tests/meson.build b/tests/meson.build | ||
17 | index 5116fc2b9..80ed3e8b2 100644 | ||
18 | --- a/tests/meson.build | ||
19 | +++ b/tests/meson.build | ||
20 | @@ -97,6 +97,7 @@ test_data = [ | ||
21 | 'bug775693.pixdata', | ||
22 | 'bug775229.pixdata', | ||
23 | 'aero.gif', | ||
24 | + 'circular-table.gif' | ||
25 | ] | ||
26 | |||
27 | installed_test_bindir = join_paths(gdk_pixbuf_libexecdir, 'installed-tests', meson.project_name()) | ||
28 | -- | ||
29 | 2.20.1 | ||
30 | |||
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb index 3dec5ed052..96487a284a 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.40.0.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.42.12.bb | |||
@@ -5,81 +5,71 @@ loading (ie. animated GIFs)" | |||
5 | HOMEPAGE = "https://wiki.gnome.org/Projects/GdkPixbuf" | 5 | HOMEPAGE = "https://wiki.gnome.org/Projects/GdkPixbuf" |
6 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues" | 6 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues" |
7 | 7 | ||
8 | LICENSE = "LGPLv2.1+" | 8 | LICENSE = "LGPL-2.1-or-later" |
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ |
10 | file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=72b39da7cbdde2e665329fef618e1d6b \ | 10 | file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=72b39da7cbdde2e665329fef618e1d6b \ |
11 | " | 11 | " |
12 | 12 | ||
13 | SECTION = "libs" | 13 | SECTION = "libs" |
14 | 14 | ||
15 | DEPENDS = "glib-2.0 gdk-pixbuf-native shared-mime-info" | 15 | DEPENDS = "glib-2.0 shared-mime-info" |
16 | 16 | ||
17 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | 17 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
18 | 18 | ||
19 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ | 19 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ |
20 | file://run-ptest \ | 20 | file://run-ptest \ |
21 | file://fatal-loader.patch \ | 21 | file://fatal-loader.patch \ |
22 | file://0001-Work-around-thumbnailer-cross-compile-failure.patch \ | 22 | file://0001-meson.build-allow-a-subset-of-tests-in-cross-compile.patch \ |
23 | file://0001-Fix-a-couple-of-decisions-around-cross-compilation.patch \ | ||
24 | file://0004-Do-not-run-tests-when-building.patch \ | ||
25 | file://0006-Build-thumbnailer-and-tests-also-in-cross-builds.patch \ | ||
26 | file://missing-test-data.patch \ | ||
27 | " | 23 | " |
28 | 24 | ||
29 | SRC_URI_append_class-target = " \ | 25 | SRC_URI[sha256sum] = "b9505b3445b9a7e48ced34760c3bcb73e966df3ac94c95a148cb669ab748e3c7" |
30 | file://0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch \ | ||
31 | " | ||
32 | SRC_URI_append_class-nativesdk = " \ | ||
33 | file://0003-target-only-Work-around-thumbnailer-cross-compile-fa.patch \ | ||
34 | " | ||
35 | 26 | ||
36 | SRC_URI[md5sum] = "05eb1ebc258ba905f1c8644ef49de064" | 27 | inherit meson pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gi-docgen lib_package |
37 | SRC_URI[sha256sum] = "1582595099537ca8ff3b99c6804350b4c058bb8ad67411bbaae024ee7cead4e6" | ||
38 | 28 | ||
39 | inherit meson pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gtk-doc lib_package | 29 | GIR_MESON_OPTION = 'introspection' |
40 | 30 | GIR_MESON_ENABLE_FLAG = "enabled" | |
41 | GIR_MESON_OPTION = 'gir' | 31 | GIR_MESON_DISABLE_FLAG = "disabled" |
42 | 32 | ||
43 | LIBV = "2.10.0" | 33 | LIBV = "2.10.0" |
44 | 34 | ||
45 | GDK_PIXBUF_LOADERS ?= "png jpeg" | 35 | GDK_PIXBUF_LOADERS ?= "png jpeg gif others" |
46 | 36 | ||
47 | PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \ | 37 | PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \ |
48 | ${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)} \ | ||
49 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | 38 | ${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" |
50 | PACKAGECONFIG_class-native = "${GDK_PIXBUF_LOADERS}" | 39 | PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}" |
51 | 40 | ||
52 | PACKAGECONFIG[png] = "-Dpng=true,-Dpng=false,libpng" | 41 | PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng" |
53 | PACKAGECONFIG[jpeg] = "-Djpeg=true,-Djpeg=false,jpeg" | 42 | PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg" |
54 | PACKAGECONFIG[tiff] = "-Dtiff=true,-Dtiff=false,tiff" | 43 | PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff" |
55 | PACKAGECONFIG[jpeg2000] = "-Djasper=true,-Djasper=false,jasper" | 44 | PACKAGECONFIG[gif] = "-Dgif=enabled,-Dgif=disabled" |
45 | PACKAGECONFIG[others] = "-Dothers=enabled,-Dothers=disabled" | ||
56 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" | 46 | PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false" |
57 | PACKAGECONFIG[x11] = "-Dx11=true,-Dx11=false,virtual/libx11" | 47 | |
48 | EXTRA_OEMESON = "-Dman=false" | ||
58 | 49 | ||
59 | PACKAGES =+ "${PN}-xlib" | 50 | PACKAGES =+ "${PN}-xlib" |
60 | 51 | ||
61 | # For GIO image type sniffing | 52 | # For GIO image type sniffing |
62 | RDEPENDS_${PN} = "shared-mime-info" | 53 | RDEPENDS:${PN} = "shared-mime-info" |
63 | 54 | ||
64 | FILES_${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" | 55 | FILES:${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}" |
65 | ALLOW_EMPTY_${PN}-xlib = "1" | 56 | ALLOW_EMPTY:${PN}-xlib = "1" |
66 | 57 | ||
67 | FILES_${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" | 58 | FILES:${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" |
68 | 59 | ||
69 | FILES_${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" | 60 | FILES:${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer" |
70 | 61 | ||
71 | FILES_${PN}-dev += " \ | 62 | FILES:${PN}-dev += " \ |
72 | ${bindir}/gdk-pixbuf-csource \ | 63 | ${bindir}/gdk-pixbuf-csource \ |
73 | ${bindir}/gdk-pixbuf-pixdata \ | 64 | ${bindir}/gdk-pixbuf-pixdata \ |
74 | ${bindir}/gdk-pixbuf-print-mime-types \ | 65 | ${bindir}/gdk-pixbuf-print-mime-types \ |
75 | ${includedir}/* \ | 66 | ${includedir}/* \ |
76 | ${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders/*.la \ | ||
77 | " | 67 | " |
78 | 68 | ||
79 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" | 69 | PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*" |
80 | PACKAGES_DYNAMIC_class-native = "" | 70 | PACKAGES_DYNAMIC:class-native = "" |
81 | 71 | ||
82 | python populate_packages_prepend () { | 72 | python populate_packages:prepend () { |
83 | postinst_pixbufloader = d.getVar("postinst_pixbufloader") | 73 | postinst_pixbufloader = d.getVar("postinst_pixbufloader") |
84 | 74 | ||
85 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') | 75 | loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders') |
@@ -89,24 +79,24 @@ python populate_packages_prepend () { | |||
89 | 79 | ||
90 | # The test suite exercises all the loaders, so ensure they are all | 80 | # The test suite exercises all the loaders, so ensure they are all |
91 | # dependencies of the ptest package. | 81 | # dependencies of the ptest package. |
92 | d.appendVar("RDEPENDS_%s-ptest" % d.getVar('PN'), " " + packages) | 82 | d.appendVar("RDEPENDS:%s-ptest" % d.getVar('PN'), " " + packages) |
93 | } | 83 | } |
94 | 84 | ||
95 | do_install_append() { | 85 | do_install:append() { |
96 | # Copy gdk-pixbuf-query-loaders into libdir so it is always available | 86 | # Copy gdk-pixbuf-query-loaders into libdir so it is always available |
97 | # in multilib builds. | 87 | # in multilib builds. |
98 | cp ${D}/${bindir}/gdk-pixbuf-query-loaders ${D}/${libdir}/gdk-pixbuf-2.0/ | 88 | cp ${D}/${bindir}/gdk-pixbuf-query-loaders ${D}/${libdir}/gdk-pixbuf-2.0/ |
99 | 89 | ||
100 | } | 90 | } |
101 | 91 | ||
102 | # Remove a bad fuzzing attempt that sporadically fails without a way to reproduce | ||
103 | do_install_ptest() { | 92 | do_install_ptest() { |
93 | # Remove a bad fuzzing attempt that sporadically fails without a way to reproduce | ||
104 | rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test | 94 | rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test |
95 | # https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/215 | ||
96 | rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-jpeg.test | ||
105 | } | 97 | } |
106 | 98 | ||
107 | do_install_append_class-native() { | 99 | do_install:append:class-native() { |
108 | find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \; | ||
109 | |||
110 | create_wrapper ${D}/${bindir}/gdk-pixbuf-csource \ | 100 | create_wrapper ${D}/${bindir}/gdk-pixbuf-csource \ |
111 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | 101 | XDG_DATA_DIRS=${STAGING_DATADIR} \ |
112 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | 102 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache |
@@ -115,10 +105,6 @@ do_install_append_class-native() { | |||
115 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | 105 | XDG_DATA_DIRS=${STAGING_DATADIR} \ |
116 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | 106 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache |
117 | 107 | ||
118 | create_wrapper ${D}/${bindir}/gdk-pixbuf-print-mime-types \ | ||
119 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | ||
120 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache | ||
121 | |||
122 | create_wrapper ${D}/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ | 108 | create_wrapper ${D}/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \ |
123 | XDG_DATA_DIRS=${STAGING_DATADIR} \ | 109 | XDG_DATA_DIRS=${STAGING_DATADIR} \ |
124 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache \ | 110 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache \ |
diff --git a/meta/recipes-gnome/gi-docgen/gi-docgen_2025.3.bb b/meta/recipes-gnome/gi-docgen/gi-docgen_2025.3.bb new file mode 100644 index 0000000000..8651ab8167 --- /dev/null +++ b/meta/recipes-gnome/gi-docgen/gi-docgen_2025.3.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "Documentation tool for GObject-based libraries" | ||
2 | DESCRIPTION = "GI-DocGen is a document generator for GObject-based libraries. GObject is \ | ||
3 | the base type system of the GNOME project. GI-Docgen reuses the \ | ||
4 | introspection data generated by GObject-based libraries to generate the API \ | ||
5 | reference of these libraries, as well as other ancillary documentation." | ||
6 | HOMEPAGE = "https://gnome.pages.gitlab.gnome.org/gi-docgen/" | ||
7 | |||
8 | LICENSE = "GPL-3.0-or-later & Apache-2.0" | ||
9 | LIC_FILES_CHKSUM = "file://gi-docgen.py;beginline=1;endline=5;md5=2dc0f1f01202478cfe813c0e7f80b326" | ||
10 | |||
11 | SRC_URI = "git://gitlab.gnome.org/GNOME/gi-docgen.git;protocol=https;branch=main" | ||
12 | |||
13 | SRCREV = "9ab2ab8fa3f4a04f5d2cc24b0c8e91e73bc57b51" | ||
14 | |||
15 | inherit python_setuptools_build_meta | ||
16 | |||
17 | RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json python3-markdown python3-markupsafe python3-pygments python3-typogrify python3-xml" | ||
18 | |||
19 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch b/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch deleted file mode 100644 index c8c70c4b58..0000000000 --- a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Don-t-use-AC_CANONICAL_HOST.patch +++ /dev/null | |||
@@ -1,27 +0,0 @@ | |||
1 | From 8b3b153b6b95662316528ef083365b46cf5f7841 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 30 May 2017 14:55:49 +0300 | ||
4 | Subject: [PATCH] Don't use AC_CANONICAL_HOST | ||
5 | |||
6 | This won't work when building allarch (and is only used to find out if | ||
7 | target is windows). | ||
8 | |||
9 | Upstream-Status: Inappropriate [embedded specific] | ||
10 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
11 | |||
12 | --- | ||
13 | configure.ac | 1 - | ||
14 | 1 file changed, 1 deletion(-) | ||
15 | |||
16 | diff --git a/configure.ac b/configure.ac | ||
17 | index 449865d..888649e 100644 | ||
18 | --- a/configure.ac | ||
19 | +++ b/configure.ac | ||
20 | @@ -3,7 +3,6 @@ AC_PREREQ(2.53) | ||
21 | |||
22 | AC_INIT([adwaita-icon-theme], [3.38.0], | ||
23 | [http://bugzilla.gnome.org/enter_bug.cgi?product=adwaita-icon-theme]) | ||
24 | -AC_CANONICAL_HOST | ||
25 | AC_CONFIG_MACRO_DIR([m4]) | ||
26 | AC_CONFIG_SRCDIR([index.theme.in]) | ||
27 | |||
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch b/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch deleted file mode 100644 index c4d7e2583b..0000000000 --- a/meta/recipes-gnome/gnome/adwaita-icon-theme/0001-Run-installation-commands-as-shell-jobs.patch +++ /dev/null | |||
@@ -1,86 +0,0 @@ | |||
1 | From 8dcd73b45a660dbdc560676835ba46f495334f14 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 13 Jun 2017 18:10:06 +0300 | ||
4 | Subject: [PATCH] Run installation commands as shell jobs | ||
5 | |||
6 | This greatly speeds up installation time on multi-core systems. | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
10 | --- | ||
11 | src/fullcolor/Makefile.am | 3 ++- | ||
12 | src/spinner/Makefile.am | 5 +++-- | ||
13 | src/symbolic/Makefile.am | 7 ++++--- | ||
14 | 3 files changed, 9 insertions(+), 6 deletions(-) | ||
15 | |||
16 | diff --git a/src/fullcolor/Makefile.am b/src/fullcolor/Makefile.am | ||
17 | index 1c940a5..3998ee6 100644 | ||
18 | --- a/src/fullcolor/Makefile.am | ||
19 | +++ b/src/fullcolor/Makefile.am | ||
20 | @@ -9,9 +9,10 @@ install-data-local: | ||
21 | for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size && find . -name "*.png"`; do \ | ||
22 | context="`dirname $$file`"; \ | ||
23 | $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \ | ||
24 | - $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \ | ||
25 | + $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \ | ||
26 | done; \ | ||
27 | - done; | ||
28 | + done; \ | ||
29 | + wait | ||
30 | |||
31 | ## FIXME we should add a way to remove links generated by icon mapping | ||
32 | uninstall-local: | ||
33 | diff --git a/src/spinner/Makefile.am b/src/spinner/Makefile.am | ||
34 | index 86f4d7c..3fae8c1 100644 | ||
35 | --- a/src/spinner/Makefile.am | ||
36 | +++ b/src/spinner/Makefile.am | ||
37 | @@ -24,13 +24,14 @@ install-data-local: | ||
38 | for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \ | ||
39 | context="`dirname $$file`"; \ | ||
40 | $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \ | ||
41 | - $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \ | ||
42 | + $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \ | ||
43 | done; \ | ||
44 | for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \ | ||
45 | context="`dirname $$file`"; \ | ||
46 | $(mkdir_p) $(DESTDIR)$(themedir)/scalable-up-to-32/$$context; \ | ||
47 | - $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32/$$file $(DESTDIR)$(themedir)/scalable-up-to-32/$$file; \ | ||
48 | + $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32/$$file $(DESTDIR)$(themedir)/scalable-up-to-32/$$file & \ | ||
49 | - done | ||
50 | + done; \ | ||
51 | + wait | ||
52 | |||
53 | uninstall-local: | ||
54 | for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable-up-to-32; find . -name "*.svg"`; do \ | ||
55 | diff --git a/src/symbolic/Makefile.am b/src/symbolic/Makefile.am | ||
56 | index 24aac9b..61ba071 100644 | ||
57 | --- a/src/symbolic/Makefile.am | ||
58 | +++ b/src/symbolic/Makefile.am | ||
59 | @@ -25,18 +25,19 @@ install-data-local: | ||
60 | for file in `cd $(top_srcdir)/$(SVGOUTDIR)/$$size; find . -name "*.png"`; do \ | ||
61 | context="`dirname $$file`"; \ | ||
62 | $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \ | ||
63 | - $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file; \ | ||
64 | + $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/$$size/$$file $(DESTDIR)$(themedir)/$$size/$$file & \ | ||
65 | done; \ | ||
66 | - done | ||
67 | + done; \ | ||
68 | for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable; find . -name "*.svg"`; do \ | ||
69 | context="`dirname $$file`"; \ | ||
70 | $(mkdir_p) $(DESTDIR)$(themedir)/scalable/$$context; \ | ||
71 | - $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $(DESTDIR)$(themedir)/scalable/$$file; \ | ||
72 | + $(install_sh_DATA) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $(DESTDIR)$(themedir)/scalable/$$file & \ | ||
73 | for size in $(symbolic_encode_sizes); do \ | ||
74 | $(mkdir_p) $(DESTDIR)$(themedir)/$$size/$$context; \ | ||
75 | - $(GTK_ENCODE_SYMBOLIC_SVG) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $$size -o $(DESTDIR)$(themedir)/$$size/$$context; \ | ||
76 | + $(GTK_ENCODE_SYMBOLIC_SVG) $(top_srcdir)/$(SVGOUTDIR)/scalable/$$file $$size -o $(DESTDIR)$(themedir)/$$size/$$context & \ | ||
77 | done \ | ||
78 | - done | ||
79 | + done; \ | ||
80 | + wait | ||
81 | |||
82 | uninstall-local: | ||
83 | for file in `cd $(top_srcdir)/$(SVGOUTDIR)/scalable; find . -name "*.svg"`; do \ | ||
84 | -- | ||
85 | 2.11.0 | ||
86 | |||
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme_3.38.0.bb b/meta/recipes-gnome/gnome/adwaita-icon-theme_3.38.0.bb deleted file mode 100644 index ff557978dc..0000000000 --- a/meta/recipes-gnome/gnome/adwaita-icon-theme_3.38.0.bb +++ /dev/null | |||
@@ -1,42 +0,0 @@ | |||
1 | SUMMARY = "GTK+ icon theme" | ||
2 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme" | ||
3 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme/issues" | ||
4 | SECTION = "x11/gnome" | ||
5 | |||
6 | LICENSE = "LGPL-3.0 | CC-BY-SA-3.0" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c \ | ||
8 | file://COPYING_CCBYSA3;md5=96143d33de3a79321b1006c4e8ed07e7 \ | ||
9 | file://COPYING_LGPL;md5=e6a600fd5e1d9cbde2d983680233ad02" | ||
10 | |||
11 | inherit allarch autotools pkgconfig gettext gtk-icon-cache upstream-version-is-even | ||
12 | |||
13 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
14 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \ | ||
15 | file://0001-Don-t-use-AC_CANONICAL_HOST.patch \ | ||
16 | file://0001-Run-installation-commands-as-shell-jobs.patch \ | ||
17 | " | ||
18 | |||
19 | SRC_URI[sha256sum] = "6683a1aaf2430ccd9ea638dd4bfe1002bc92b412050c3dba20e480f979faaf97" | ||
20 | |||
21 | DEPENDS += "librsvg-native" | ||
22 | |||
23 | PACKAGES = "${PN}-cursors ${PN}-symbolic-hires ${PN}-symbolic ${PN}-hires ${PN}" | ||
24 | |||
25 | RREPLACES_${PN} = "gnome-icon-theme" | ||
26 | RCONFLICTS_${PN} = "gnome-icon-theme" | ||
27 | RPROVIDES_${PN} = "gnome-icon-theme" | ||
28 | |||
29 | FILES_${PN}-cursors = "${prefix}/share/icons/Adwaita/cursors/" | ||
30 | FILES_${PN}-symbolic-hires = "${prefix}/share/icons/Adwaita/96x96/*/*.symbolic.png \ | ||
31 | ${prefix}/share/icons/Adwaita/64x64/*/*.symbolic.png \ | ||
32 | ${prefix}/share/icons/Adwaita/48x48/*/*.symbolic.png \ | ||
33 | ${prefix}/share/icons/Adwaita/32x32/*/*.symbolic.png" | ||
34 | FILES_${PN}-symbolic = "${prefix}/share/icons/Adwaita/16x16/*/*.symbolic.png \ | ||
35 | ${prefix}/share/icons/Adwaita/24x24/*/*.symbolic.png \ | ||
36 | ${prefix}/share/icons/Adwaita/scalable/*/*-symbolic*.svg" | ||
37 | FILES_${PN}-hires = "${prefix}/share/icons/Adwaita/256x256/ \ | ||
38 | ${prefix}/share/icons/Adwaita/512x512/" | ||
39 | FILES_${PN} = "${prefix}/share/icons/Adwaita/ \ | ||
40 | ${prefix}/share/pkgconfig/adwaita-icon-theme.pc" | ||
41 | |||
42 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-gnome/gnome/adwaita-icon-theme_48.0.bb b/meta/recipes-gnome/gnome/adwaita-icon-theme_48.0.bb new file mode 100644 index 0000000000..38b5410086 --- /dev/null +++ b/meta/recipes-gnome/gnome/adwaita-icon-theme_48.0.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "GTK+ icon theme" | ||
2 | DESCRIPTION = "The Adwaita icon theme is the default icon theme of the GNOME desktop \ | ||
3 | This package package contains an icon theme for Gtk+ 3 applications." | ||
4 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme" | ||
5 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme/issues" | ||
6 | SECTION = "x11/gnome" | ||
7 | |||
8 | LICENSE = "LGPL-3.0-only | CC-BY-SA-3.0" | ||
9 | LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c \ | ||
10 | file://COPYING_CCBYSA3;md5=96143d33de3a79321b1006c4e8ed07e7 \ | ||
11 | file://COPYING_LGPL;md5=e6a600fd5e1d9cbde2d983680233ad02" | ||
12 | |||
13 | inherit gnomebase allarch gtk-icon-cache | ||
14 | |||
15 | SRC_URI[archive.sha256sum] = "847068888650d9673115be6dbf2bfdc31a46aebc528a6a9db4420e60e656b8d4" | ||
16 | |||
17 | DEPENDS += "librsvg-native" | ||
18 | |||
19 | PACKAGES =+ "${PN}-cursors ${PN}-symbolic" | ||
20 | |||
21 | RREPLACES:${PN} = "gnome-icon-theme" | ||
22 | RCONFLICTS:${PN} = "gnome-icon-theme" | ||
23 | RPROVIDES:${PN} = "gnome-icon-theme" | ||
24 | |||
25 | FILES:${PN}-cursors = "${datadir}/icons/Adwaita/cursors/" | ||
26 | FILES:${PN}-symbolic = "${datadir}/icons/Adwaita/symbolic*/" | ||
27 | FILES:${PN}-doc += "${datadir}/licenses/adwaita-icon-theme" | ||
28 | |||
29 | BBCLASSEXTEND = "native nativesdk" | ||
diff --git a/meta/recipes-gnome/gnome/gconf_3.2.6.bb b/meta/recipes-gnome/gnome/gconf_3.2.6.bb index ade93644ec..54666801c5 100644 --- a/meta/recipes-gnome/gnome/gconf_3.2.6.bb +++ b/meta/recipes-gnome/gnome/gconf_3.2.6.bb | |||
@@ -4,11 +4,12 @@ It is intended for user preferences; not configuration of something like \ | |||
4 | Apache, or arbitrary data storage." | 4 | Apache, or arbitrary data storage." |
5 | SECTION = "x11/gnome" | 5 | SECTION = "x11/gnome" |
6 | HOMEPAGE = "https://gitlab.gnome.org/Archive/gconf" | 6 | HOMEPAGE = "https://gitlab.gnome.org/Archive/gconf" |
7 | LICENSE = "LGPLv2+" | 7 | LICENSE = "LGPL-2.0-or-later" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605" |
9 | 9 | ||
10 | DEPENDS = "glib-2.0 dbus dbus-glib libxml2 intltool-native" | 10 | DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib libxml2 intltool-native" |
11 | 11 | ||
12 | GNOMEBASEBUILDCLASS = "autotools" | ||
12 | inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache | 13 | inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache |
13 | 14 | ||
14 | SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \ | 15 | SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \ |
@@ -21,19 +22,19 @@ SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;na | |||
21 | SRC_URI[archive.md5sum] = "2b16996d0e4b112856ee5c59130e822c" | 22 | SRC_URI[archive.md5sum] = "2b16996d0e4b112856ee5c59130e822c" |
22 | SRC_URI[archive.sha256sum] = "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c" | 23 | SRC_URI[archive.sha256sum] = "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c" |
23 | 24 | ||
24 | S = "${WORKDIR}/GConf-${PV}" | 25 | S = "${UNPACKDIR}/GConf-${PV}" |
25 | 26 | ||
26 | EXTRA_OECONF = "--enable-shared --disable-static \ | 27 | EXTRA_OECONF = "--enable-shared --disable-static \ |
27 | --disable-orbit --with-openldap=no --disable-gtk" | 28 | --disable-orbit --with-openldap=no --disable-gtk" |
28 | 29 | ||
29 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" | 30 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}" |
30 | # We really don't want Polkit for native | 31 | # We really don't want Polkit for native |
31 | PACKAGECONFIG_class-native = "" | 32 | PACKAGECONFIG:class-native = "" |
32 | 33 | ||
33 | PACKAGECONFIG[polkit] = "--enable-defaults-service,--disable-defaults-service,polkit" | 34 | PACKAGECONFIG[polkit] = "--enable-defaults-service,--disable-defaults-service,polkit" |
34 | PACKAGECONFIG[debug] = "--enable-debug=yes, --enable-debug=minimum" | 35 | PACKAGECONFIG[debug] = "--enable-debug=yes, --enable-debug=minimum" |
35 | 36 | ||
36 | do_install_append() { | 37 | do_install:append() { |
37 | # this directory need to be created to avoid an Error 256 at gdm launch | 38 | # this directory need to be created to avoid an Error 256 at gdm launch |
38 | install -d ${D}${sysconfdir}/gconf/gconf.xml.system | 39 | install -d ${D}${sysconfdir}/gconf/gconf.xml.system |
39 | 40 | ||
@@ -42,19 +43,19 @@ do_install_append() { | |||
42 | rm -f ${D}${libdir}/gio/*/*.*a | 43 | rm -f ${D}${libdir}/gio/*/*.*a |
43 | } | 44 | } |
44 | 45 | ||
45 | do_install_append_class-native() { | 46 | do_install:append:class-native() { |
46 | create_wrapper ${D}/${bindir}/gconftool-2 \ | 47 | create_wrapper ${D}/${bindir}/gconftool-2 \ |
47 | GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2 | 48 | GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2 |
48 | } | 49 | } |
49 | 50 | ||
50 | FILES_${PN} += "${libdir}/GConf/* \ | 51 | FILES:${PN} += "${libdir}/GConf/* \ |
51 | ${libdir}/gio/*/*.so \ | 52 | ${libdir}/gio/*/*.so \ |
52 | ${datadir}/polkit* \ | 53 | ${datadir}/polkit* \ |
53 | ${datadir}/dbus-1/services/*.service \ | 54 | ${datadir}/dbus-1/services/*.service \ |
54 | ${datadir}/dbus-1/system-services/*.service \ | 55 | ${datadir}/dbus-1/system-services/*.service \ |
55 | " | 56 | " |
56 | RDEPENDS_${PN} = "python3-xml" | 57 | RDEPENDS:${PN} = "python3-xml" |
57 | 58 | ||
58 | FILES_${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd" | 59 | FILES:${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd" |
59 | 60 | ||
60 | BBCLASSEXTEND = "native" | 61 | BBCLASSEXTEND = "native" |
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-Relocate-the-repository-directory-for-native-builds.patch b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-Relocate-the-repository-directory-for-native-builds.patch index 185ebc154a..510bc426d1 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-Relocate-the-repository-directory-for-native-builds.patch +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-Relocate-the-repository-directory-for-native-builds.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 41c3ee549787333a073a3ce6303efef625c74dce Mon Sep 17 00:00:00 2001 | 1 | From 4e1aa0ddbc43403ff24f644b4c4912b737290c41 Mon Sep 17 00:00:00 2001 |
2 | From: Sascha Silbe <x-yo17@se-silbe.de> | 2 | From: Sascha Silbe <x-yo17@se-silbe.de> |
3 | Date: Fri, 8 Jun 2018 13:55:10 +0200 | 3 | Date: Fri, 8 Jun 2018 13:55:10 +0200 |
4 | Subject: [PATCH] Relocate the repository directory for native builds | 4 | Subject: [PATCH] Relocate the repository directory for native builds |
@@ -14,14 +14,13 @@ cache or sstate mirror). | |||
14 | 14 | ||
15 | Upstream-Status: Inappropriate | 15 | Upstream-Status: Inappropriate |
16 | Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de> | 16 | Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de> |
17 | |||
18 | --- | 17 | --- |
19 | girepository/girepository.c | 15 +++++++++++++-- | 18 | girepository/girepository.c | 15 +++++++++++++-- |
20 | girepository/meson.build | 2 +- | 19 | girepository/meson.build | 2 +- |
21 | 2 files changed, 14 insertions(+), 3 deletions(-) | 20 | 2 files changed, 14 insertions(+), 3 deletions(-) |
22 | 21 | ||
23 | diff --git a/girepository/girepository.c b/girepository/girepository.c | 22 | diff --git a/girepository/girepository.c b/girepository/girepository.c |
24 | index 7d03485..20f4813 100644 | 23 | index 12eaf36..876382c 100644 |
25 | --- a/girepository/girepository.c | 24 | --- a/girepository/girepository.c |
26 | +++ b/girepository/girepository.c | 25 | +++ b/girepository/girepository.c |
27 | @@ -21,6 +21,8 @@ | 26 | @@ -21,6 +21,8 @@ |
@@ -42,7 +41,7 @@ index 7d03485..20f4813 100644 | |||
42 | /** | 41 | /** |
43 | * SECTION:girepository | 42 | * SECTION:girepository |
44 | * @short_description: GObject Introspection repository manager | 43 | * @short_description: GObject Introspection repository manager |
45 | @@ -215,9 +219,16 @@ init_globals (void) | 44 | @@ -222,9 +226,16 @@ init_globals (void) |
46 | g_free (custom_dirs); | 45 | g_free (custom_dirs); |
47 | } | 46 | } |
48 | 47 | ||
@@ -62,10 +61,10 @@ index 7d03485..20f4813 100644 | |||
62 | typelib_search_path = g_slist_prepend (typelib_search_path, typelib_dir); | 61 | typelib_search_path = g_slist_prepend (typelib_search_path, typelib_dir); |
63 | 62 | ||
64 | diff --git a/girepository/meson.build b/girepository/meson.build | 63 | diff --git a/girepository/meson.build b/girepository/meson.build |
65 | index c8ef6aa..b85ff7f 100644 | 64 | index 5ced59e..a580d9b 100644 |
66 | --- a/girepository/meson.build | 65 | --- a/girepository/meson.build |
67 | +++ b/girepository/meson.build | 66 | +++ b/girepository/meson.build |
68 | @@ -45,7 +45,7 @@ girepo_internals_lib = static_library('girepository-internals', | 67 | @@ -47,7 +47,7 @@ girepo_internals_lib = static_library('girepository-internals', |
69 | ], | 68 | ], |
70 | c_args: gi_hidden_visibility_cflags + custom_c_args, | 69 | c_args: gi_hidden_visibility_cflags + custom_c_args, |
71 | include_directories : configinc, | 70 | include_directories : configinc, |
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch deleted file mode 100644 index b484b5e9e6..0000000000 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | From f742da8b3913f4818d3f419117076afe62f4dbf4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Wed, 5 Sep 2018 16:46:52 +0200 | ||
4 | Subject: [PATCH] giscanner: ignore error return codes from ldd-wrapper | ||
5 | |||
6 | prelink-rtld, which we use instead of ldd returns 127 when it can't find a library. | ||
7 | It is not an error per se, but it breaks subprocess.check_output(). | ||
8 | |||
9 | Upstream-Status: Inappropriate [oe-core specific] | ||
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
11 | |||
12 | --- | ||
13 | giscanner/shlibs.py | 2 +- | ||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
15 | |||
16 | diff --git a/giscanner/shlibs.py b/giscanner/shlibs.py | ||
17 | index d67df95..80352a6 100644 | ||
18 | --- a/giscanner/shlibs.py | ||
19 | +++ b/giscanner/shlibs.py | ||
20 | @@ -102,7 +102,7 @@ def _resolve_non_libtool(options, binary, libraries): | ||
21 | args.extend(['otool', '-L', binary.args[0]]) | ||
22 | else: | ||
23 | args.extend(['ldd', binary.args[0]]) | ||
24 | - output = subprocess.check_output(args) | ||
25 | + output = subprocess.run(args, check=False, stdout=subprocess.PIPE).stdout | ||
26 | if isinstance(output, bytes): | ||
27 | output = output.decode("utf-8", "replace") | ||
28 | |||
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-meson.build-exclude-girepo_dep-if-introspection-data.patch b/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-meson.build-exclude-girepo_dep-if-introspection-data.patch deleted file mode 100644 index 8fba0124cf..0000000000 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection/0001-meson.build-exclude-girepo_dep-if-introspection-data.patch +++ /dev/null | |||
@@ -1,25 +0,0 @@ | |||
1 | From ef5446af0ddad6a341b47957097ac40c6cb5e6d3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Tue, 20 Oct 2020 22:40:14 +0200 | ||
4 | Subject: [PATCH] meson.build: exclude girepo_dep if introspection data is | ||
5 | disabled | ||
6 | |||
7 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/248] | ||
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
9 | --- | ||
10 | meson.build | 2 +- | ||
11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
12 | |||
13 | diff --git a/meson.build b/meson.build | ||
14 | index 14af2b1..a3c27c3 100644 | ||
15 | --- a/meson.build | ||
16 | +++ b/meson.build | ||
17 | @@ -283,7 +283,7 @@ pkg.generate( | ||
18 | # FIXME: meson.override_dependency() and declare_dependency()'s variable arguments | ||
19 | # are new in Meson 0.54.0, older versions of Meson won't be able to use g-i as | ||
20 | # subproject anyway | ||
21 | -if meson.version().version_compare('>=0.54.0') | ||
22 | +if meson.version().version_compare('>=0.54.0') and get_option('build_introspection_data') == true | ||
23 | girepo_dep = declare_dependency( | ||
24 | sources: typelibs, | ||
25 | dependencies: girepo_dep, | ||
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.84.0.bb index ee0ab2866b..f6797cd2e5 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.66.1.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.84.0.bb | |||
@@ -6,7 +6,7 @@ generation for bindings, API verification and documentation generation." | |||
6 | HOMEPAGE = "https://wiki.gnome.org/action/show/Projects/GObjectIntrospection" | 6 | HOMEPAGE = "https://wiki.gnome.org/action/show/Projects/GObjectIntrospection" |
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gobject-introspection/issues" | 7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gobject-introspection/issues" |
8 | SECTION = "libs" | 8 | SECTION = "libs" |
9 | LICENSE = "LGPLv2+ & GPLv2+" | 9 | LICENSE = "LGPL-2.0-or-later & GPL-2.0-or-later & MIT" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=c434e8128a68bedd59b80b2ac1eb1c4a \ | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=c434e8128a68bedd59b80b2ac1eb1c4a \ |
11 | file://tools/compiler.c;endline=20;md5=fc5007fc20022720e6c0b0cdde41fabd \ | 11 | file://tools/compiler.c;endline=20;md5=fc5007fc20022720e6c0b0cdde41fabd \ |
12 | file://giscanner/sourcescanner.c;endline=22;md5=194d6e0c1d00662f32d030ce44de8d39 \ | 12 | file://giscanner/sourcescanner.c;endline=22;md5=194d6e0c1d00662f32d030ce44de8d39 \ |
@@ -14,28 +14,27 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c434e8128a68bedd59b80b2ac1eb1c4a \ | |||
14 | " | 14 | " |
15 | 15 | ||
16 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-${PV}.tar.xz \ | 16 | SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-${PV}.tar.xz \ |
17 | file://0001-giscanner-ignore-error-return-codes-from-ldd-wrapper.patch \ | ||
18 | file://0001-meson.build-exclude-girepo_dep-if-introspection-data.patch \ | ||
19 | " | 17 | " |
20 | 18 | ||
21 | SRC_URI[sha256sum] = "dd44a55ee5f426ea22b6b89624708f9e8d53f5cc94e5485c15c87cb30e06161d" | 19 | SRC_URI[sha256sum] = "945b57da7ec262e5c266b89e091d14be800cc424277d82a02872b7d794a84779" |
22 | 20 | ||
23 | SRC_URI_append_class-native = " file://0001-Relocate-the-repository-directory-for-native-builds.patch" | 21 | SRC_URI:append:class-native = " file://0001-Relocate-the-repository-directory-for-native-builds.patch" |
24 | 22 | ||
25 | inherit meson pkgconfig gtk-doc python3native qemu gobject-introspection-data upstream-version-is-even multilib_script | 23 | inherit meson pkgconfig gtk-doc python3targetconfig qemu gobject-introspection-data upstream-version-is-even multilib_script |
26 | 24 | ||
27 | GTKDOC_MESON_OPTION = "gtk_doc" | 25 | GTKDOC_MESON_OPTION = "gtk_doc" |
28 | 26 | ||
29 | MULTILIB_SCRIPTS = "${PN}:${bindir}/g-ir-annotation-tool ${PN}:${bindir}/g-ir-scanner" | 27 | MULTILIB_SCRIPTS = "${PN}-tools:${bindir}/g-ir-annotation-tool ${PN}-tools:${bindir}/g-ir-scanner" |
30 | 28 | ||
31 | DEPENDS_append = " libffi zlib glib-2.0 python3 flex-native bison-native autoconf-archive" | 29 | # setuptools are required to provide distutils to build the tools |
30 | DEPENDS += " libffi zlib python3 python3-setuptools flex-native bison-native" | ||
31 | DEPENDS:append:class-native = " glib-2.0" | ||
32 | DEPENDS:append:class-target = " glib-2.0-initial" | ||
32 | 33 | ||
33 | # target build needs qemu to run temporary introspection binaries created | 34 | # target build needs qemu to run temporary introspection binaries created |
34 | # on the fly by g-ir-scanner and a native version of itself to run | 35 | # on the fly by g-ir-scanner and a native version of itself to run |
35 | # native versions of its own tools during build. | 36 | # native versions of its own tools during build. |
36 | # Also prelink-rtld is used to find out library dependencies of introspection binaries | 37 | DEPENDS:append:class-target = " gobject-introspection-native qemu-native" |
37 | # (standard ldd doesn't work when cross-compiling). | ||
38 | DEPENDS_class-target_append = " gobject-introspection-native qemu-native prelink-native" | ||
39 | 38 | ||
40 | # needed for writing out the qemu wrapper script | 39 | # needed for writing out the qemu wrapper script |
41 | export STAGING_DIR_HOST | 40 | export STAGING_DIR_HOST |
@@ -46,7 +45,7 @@ PACKAGECONFIG[doctool] = "-Ddoctool=enabled,-Ddoctool=disabled,python3-mako," | |||
46 | 45 | ||
47 | # Configure target build to use native tools of itself and to use a qemu wrapper | 46 | # Configure target build to use native tools of itself and to use a qemu wrapper |
48 | # and optionally to generate introspection data | 47 | # and optionally to generate introspection data |
49 | EXTRA_OEMESON_class-target = " \ | 48 | EXTRA_OEMESON:class-target = " \ |
50 | -Dgi_cross_use_prebuilt_gi=true \ | 49 | -Dgi_cross_use_prebuilt_gi=true \ |
51 | -Dgi_cross_binary_wrapper=${B}/g-ir-scanner-qemuwrapper \ | 50 | -Dgi_cross_binary_wrapper=${B}/g-ir-scanner-qemuwrapper \ |
52 | -Dgi_cross_ldd_wrapper=${B}/g-ir-scanner-lddwrapper \ | 51 | -Dgi_cross_ldd_wrapper=${B}/g-ir-scanner-lddwrapper \ |
@@ -55,21 +54,14 @@ EXTRA_OEMESON_class-target = " \ | |||
55 | ${@'-Dgir_dir_prefix=${libdir}' if d.getVar('MULTILIBS') else ''} \ | 54 | ${@'-Dgir_dir_prefix=${libdir}' if d.getVar('MULTILIBS') else ''} \ |
56 | " | 55 | " |
57 | 56 | ||
58 | # Need to ensure ld.so.conf exists so prelink-native works | 57 | do_configure:prepend:class-native() { |
59 | # both before we build and if we install from sstate | ||
60 | do_configure[prefuncs] += "gobject_introspection_preconfigure" | ||
61 | python gobject_introspection_preconfigure () { | ||
62 | oe.utils.write_ld_so_conf(d) | ||
63 | } | ||
64 | |||
65 | do_configure_prepend_class-native() { | ||
66 | # Tweak the native python scripts so that they don't refer to the | 58 | # Tweak the native python scripts so that they don't refer to the |
67 | # full path of native python binary (the solution is taken from glib-2.0 recipe) | 59 | # full path of native python binary (the solution is taken from glib-2.0 recipe) |
68 | # This removes the risk of exceeding Linux kernel's shebang line limit (128 bytes) | 60 | # This removes the risk of exceeding Linux kernel's shebang line limit (128 bytes) |
69 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/tools/g-ir-tool-template.in | 61 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/tools/g-ir-tool-template.in |
70 | } | 62 | } |
71 | 63 | ||
72 | do_configure_prepend_class-target() { | 64 | do_configure:prepend:class-target() { |
73 | # Write out a qemu wrapper that will be given to gi-scanner so that it | 65 | # Write out a qemu wrapper that will be given to gi-scanner so that it |
74 | # can run target helper binaries through that. | 66 | # can run target helper binaries through that. |
75 | qemu_binary="${@qemu_wrapper_cmdline(d, '$STAGING_DIR_HOST', ['\\$GIR_EXTRA_LIBS_PATH','.libs','$STAGING_DIR_HOST/${libdir}','$STAGING_DIR_HOST/${base_libdir}'])}" | 67 | qemu_binary="${@qemu_wrapper_cmdline(d, '$STAGING_DIR_HOST', ['\\$GIR_EXTRA_LIBS_PATH','.libs','$STAGING_DIR_HOST/${libdir}','$STAGING_DIR_HOST/${base_libdir}'])}" |
@@ -94,7 +86,7 @@ EOF | |||
94 | # from the target sysroot. | 86 | # from the target sysroot. |
95 | cat > ${B}/g-ir-scanner-wrapper << EOF | 87 | cat > ${B}/g-ir-scanner-wrapper << EOF |
96 | #!/bin/sh | 88 | #!/bin/sh |
97 | # This prevents g-ir-scanner from writing cache data to $HOME | 89 | # This prevents g-ir-scanner from writing cache data to user's HOME dir |
98 | export GI_SCANNER_DISABLE_CACHE=1 | 90 | export GI_SCANNER_DISABLE_CACHE=1 |
99 | 91 | ||
100 | g-ir-scanner --lib-dirs-envvar=GIR_EXTRA_LIBS_PATH --use-binary-wrapper=${STAGING_BINDIR}/g-ir-scanner-qemuwrapper --use-ldd-wrapper=${STAGING_BINDIR}/g-ir-scanner-lddwrapper --add-include-path=${STAGING_DATADIR}/gir-1.0 --add-include-path=${STAGING_LIBDIR}/gir-1.0 "\$@" | 92 | g-ir-scanner --lib-dirs-envvar=GIR_EXTRA_LIBS_PATH --use-binary-wrapper=${STAGING_BINDIR}/g-ir-scanner-qemuwrapper --use-ldd-wrapper=${STAGING_BINDIR}/g-ir-scanner-lddwrapper --add-include-path=${STAGING_DATADIR}/gir-1.0 --add-include-path=${STAGING_LIBDIR}/gir-1.0 "\$@" |
@@ -113,7 +105,7 @@ EOF | |||
113 | # for a different architecture | 105 | # for a different architecture |
114 | cat > ${B}/g-ir-scanner-lddwrapper << EOF | 106 | cat > ${B}/g-ir-scanner-lddwrapper << EOF |
115 | #!/bin/sh | 107 | #!/bin/sh |
116 | prelink-rtld --root=$STAGING_DIR_HOST "\$@" | 108 | \$OBJDUMP -p "\$@" |
117 | EOF | 109 | EOF |
118 | chmod +x ${B}/g-ir-scanner-lddwrapper | 110 | chmod +x ${B}/g-ir-scanner-lddwrapper |
119 | 111 | ||
@@ -122,22 +114,19 @@ EOF | |||
122 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/tools/g-ir-tool-template.in | 114 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/tools/g-ir-tool-template.in |
123 | } | 115 | } |
124 | 116 | ||
125 | do_compile_prepend() { | 117 | do_compile:prepend() { |
126 | # This prevents g-ir-scanner from writing cache data to $HOME | ||
127 | export GI_SCANNER_DISABLE_CACHE=1 | ||
128 | |||
129 | # Needed to run g-ir unit tests, which won't be able to find the built libraries otherwise | 118 | # Needed to run g-ir unit tests, which won't be able to find the built libraries otherwise |
130 | export GIR_EXTRA_LIBS_PATH=$B/.libs | 119 | export GIR_EXTRA_LIBS_PATH=$B/.libs |
131 | } | 120 | } |
132 | 121 | ||
133 | do_install_prepend() { | 122 | do_install:prepend() { |
134 | # This prevents g-ir-scanner from writing cache data to $HOME | 123 | # This prevents g-ir-scanner from writing cache data to $HOME |
135 | export GI_SCANNER_DISABLE_CACHE=1 | 124 | export GI_SCANNER_DISABLE_CACHE=1 |
136 | } | 125 | } |
137 | 126 | ||
138 | # Our wrappers need to be available system-wide, because they will be used | 127 | # Our wrappers need to be available system-wide, because they will be used |
139 | # to build introspection files for all other gobject-based packages | 128 | # to build introspection files for all other gobject-based packages |
140 | do_install_append_class-target() { | 129 | do_install:append:class-target() { |
141 | install -d ${D}${bindir}/ | 130 | install -d ${D}${bindir}/ |
142 | install ${B}/g-ir-scanner-qemuwrapper ${D}${bindir}/ | 131 | install ${B}/g-ir-scanner-qemuwrapper ${D}${bindir}/ |
143 | install ${B}/g-ir-scanner-wrapper ${D}${bindir}/ | 132 | install ${B}/g-ir-scanner-wrapper ${D}${bindir}/ |
@@ -147,9 +136,9 @@ do_install_append_class-target() { | |||
147 | 136 | ||
148 | # we need target versions of introspection tools in sysroot so that they can be run via qemu | 137 | # we need target versions of introspection tools in sysroot so that they can be run via qemu |
149 | # when building introspection files in other packages | 138 | # when building introspection files in other packages |
150 | SYSROOT_DIRS_append_class-target = " ${bindir}" | 139 | SYSROOT_DIRS:append:class-target = " ${bindir}" |
151 | 140 | ||
152 | SYSROOT_PREPROCESS_FUNCS_append_class-target = " gi_binaries_sysroot_preprocess" | 141 | SYSROOT_PREPROCESS_FUNCS:append:class-target = " gi_binaries_sysroot_preprocess" |
153 | gi_binaries_sysroot_preprocess() { | 142 | gi_binaries_sysroot_preprocess() { |
154 | # Tweak the binary names in the introspection pkgconfig file, so that it | 143 | # Tweak the binary names in the introspection pkgconfig file, so that it |
155 | # picks up our wrappers which do the cross-compile and qemu magic. | 144 | # picks up our wrappers which do the cross-compile and qemu magic. |
@@ -159,7 +148,7 @@ gi_binaries_sysroot_preprocess() { | |||
159 | ${SYSROOT_DESTDIR}${libdir}/pkgconfig/gobject-introspection-1.0.pc | 148 | ${SYSROOT_DESTDIR}${libdir}/pkgconfig/gobject-introspection-1.0.pc |
160 | } | 149 | } |
161 | 150 | ||
162 | SYSROOT_PREPROCESS_FUNCS_append = " gi_ldsoconf_sysroot_preprocess" | 151 | SYSROOT_PREPROCESS_FUNCS:append = " gi_ldsoconf_sysroot_preprocess" |
163 | gi_ldsoconf_sysroot_preprocess () { | 152 | gi_ldsoconf_sysroot_preprocess () { |
164 | mkdir -p ${SYSROOT_DESTDIR}${bindir} | 153 | mkdir -p ${SYSROOT_DESTDIR}${bindir} |
165 | dest=${SYSROOT_DESTDIR}${bindir}/postinst-ldsoconf-${PN} | 154 | dest=${SYSROOT_DESTDIR}${bindir}/postinst-ldsoconf-${PN} |
@@ -181,27 +170,45 @@ gi_package_preprocess() { | |||
181 | 170 | ||
182 | SSTATE_SCAN_FILES += "g-ir-scanner-qemuwrapper g-ir-scanner-wrapper g-ir-compiler-wrapper g-ir-scanner-lddwrapper Gio-2.0.gir postinst-ldsoconf-${PN}" | 171 | SSTATE_SCAN_FILES += "g-ir-scanner-qemuwrapper g-ir-scanner-wrapper g-ir-compiler-wrapper g-ir-scanner-lddwrapper Gio-2.0.gir postinst-ldsoconf-${PN}" |
183 | 172 | ||
173 | PACKAGES =+ "\ | ||
174 | ${PN}-tools \ | ||
175 | " | ||
176 | |||
177 | FILES:${PN}-tools = "\ | ||
178 | ${bindir} \ | ||
179 | ${libdir}/gobject-introspection/giscanner \ | ||
180 | " | ||
181 | |||
184 | # .typelib files are needed at runtime and so they go to the main package | 182 | # .typelib files are needed at runtime and so they go to the main package |
185 | FILES_${PN}_append = " ${libdir}/girepository-*/*.typelib" | 183 | FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib" |
186 | 184 | ||
187 | # .gir files go to dev package, as they're needed for developing (but not for running) | 185 | # .gir files go to dev package, as they're needed for developing (but not for running) |
188 | # things that depends on introspection. | 186 | # things that depends on introspection. |
189 | FILES_${PN}-dev_append = " ${datadir}/gir-*/*.gir ${libdir}/gir-*/*.gir" | 187 | FILES:${PN}-dev:append = " ${datadir}/gir-*/*.gir ${libdir}/gir-*/*.gir" |
190 | FILES_${PN}-dev_append = " ${datadir}/gir-*/*.rnc" | 188 | FILES:${PN}-dev:append = " ${datadir}/gir-*/*.rnc" |
191 | 189 | ||
192 | # These are used by gobject-based packages | 190 | # These are used by gobject-based packages |
193 | # to generate transient introspection binaries | 191 | # to generate transient introspection binaries |
194 | FILES_${PN}-dev_append = " ${datadir}/gobject-introspection-1.0/gdump.c \ | 192 | FILES:${PN}-dev:append = " ${datadir}/gobject-introspection-1.0/gdump.c \ |
195 | ${datadir}/gobject-introspection-1.0/Makefile.introspection" | 193 | ${datadir}/gobject-introspection-1.0/Makefile.introspection" |
196 | 194 | ||
197 | # These are used by dependent packages (e.g. pygobject) to build their | 195 | # These are used by dependent packages (e.g. pygobject) to build their |
198 | # testsuites. | 196 | # testsuites. |
199 | FILES_${PN}-dev_append = " ${datadir}/gobject-introspection-1.0/tests/*.c \ | 197 | FILES:${PN}-dev:append = " ${datadir}/gobject-introspection-1.0/tests/*.c \ |
200 | ${datadir}/gobject-introspection-1.0/tests/*.h" | 198 | ${datadir}/gobject-introspection-1.0/tests/*.h" |
201 | 199 | ||
202 | FILES_${PN}-dbg += "${libdir}/gobject-introspection/giscanner/.debug/" | 200 | FILES:${PN}-dbg += "${libdir}/gobject-introspection/giscanner/.debug/" |
203 | FILES_${PN}-staticdev += "${libdir}/gobject-introspection/giscanner/*.a" | 201 | FILES:${PN}-staticdev += "${libdir}/gobject-introspection/giscanner/*.a" |
204 | 202 | ||
205 | RDEPENDS_${PN} = "python3-pickle python3-xml" | 203 | # glib-2.0 is required for libgirepository |
204 | RDEPENDS:${PN} = "glib-2.0" | ||
205 | |||
206 | # setuptools can be removed when upstream removes all uses of distutils | ||
207 | RDEPENDS:${PN}-tools = "\ | ||
208 | glib-2.0 \ | ||
209 | python3-pickle \ | ||
210 | python3-setuptools \ | ||
211 | python3-xml \ | ||
212 | " | ||
206 | 213 | ||
207 | BBCLASSEXTEND = "native" | 214 | BBCLASSEXTEND = "native" |
diff --git a/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.38.0.bb b/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_48.0.bb index 34681197d8..30ab992db4 100644 --- a/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_3.38.0.bb +++ b/meta/recipes-gnome/gsettings-desktop-schemas/gsettings-desktop-schemas_48.0.bb | |||
@@ -4,13 +4,11 @@ GSettings schemas for settings shared by various components of a desktop." | |||
4 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas" | 4 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas" |
5 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/issues" | 5 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/issues" |
6 | 6 | ||
7 | LICENSE = "LGPLv2.1" | 7 | LICENSE = "LGPL-2.1-only" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
9 | 9 | ||
10 | DEPENDS = "glib-2.0" | 10 | DEPENDS = "glib-2.0" |
11 | 11 | ||
12 | GNOMEBASEBUILDCLASS = "meson" | 12 | inherit gnomebase gsettings gobject-introspection gettext |
13 | 13 | ||
14 | inherit gnomebase gsettings gobject-introspection gettext upstream-version-is-even | 14 | SRC_URI[archive.sha256sum] = "e68f155813bf18f865a8b2c8e9d473588b6ccadcafbb666ab788857c6c2d1bd3" |
15 | |||
16 | SRC_URI[archive.sha256sum] = "5704c8266004b296036671f223c705dc046aa694a1b1abb87c67e7d2747a8c67" | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch b/meta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch deleted file mode 100644 index c210bbc7d5..0000000000 --- a/meta/recipes-gnome/gtk+/gtk+3/0001-Hardcoded-libtool.patch +++ /dev/null | |||
@@ -1,47 +0,0 @@ | |||
1 | From 0ecaa5bab162abf0cb2057d77beeb7b89d5873b4 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 21 Jun 2016 14:53:56 +0300 | ||
4 | Subject: [PATCH 1/4] Hardcoded libtool | ||
5 | |||
6 | Upstream-Status: Inappropriate [embedded specific] | ||
7 | |||
8 | Signed-off-by: Marko Lindqvist <cazfi74@gmail.com> | ||
9 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
10 | --- | ||
11 | configure.ac | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/configure.ac b/configure.ac | ||
15 | index 6628e21..f43ac09 100644 | ||
16 | --- a/configure.ac | ||
17 | +++ b/configure.ac | ||
18 | @@ -617,7 +617,7 @@ AC_MSG_CHECKING([whether to write dependencies into .pc files]) | ||
19 | case $enable_explicit_deps in | ||
20 | auto) | ||
21 | export SED | ||
22 | - deplibs_check_method=`(./libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh` | ||
23 | + deplibs_check_method=`(./$host_alias-libtool --config; echo 'eval echo \"$deplibs_check_method\"') | sh` | ||
24 | if test "x$deplibs_check_method" != xpass_all || test "x$enable_static" = xyes ; then | ||
25 | enable_explicit_deps=yes | ||
26 | else | ||
27 | @@ -895,7 +895,7 @@ else | ||
28 | dnl Now we check to see if our libtool supports shared lib deps | ||
29 | dnl (in a rather ugly way even) | ||
30 | if $dynworks; then | ||
31 | - module_libtool_config="${CONFIG_SHELL-/bin/sh} ./libtool --config" | ||
32 | + module_libtool_config="${CONFIG_SHELL-/bin/sh} ./$host_alias-libtool --config" | ||
33 | module_deplibs_check=`$module_libtool_config | \ | ||
34 | grep '^[[a-z_]]*check[[a-z_]]*_method=[['\''"]]' | \ | ||
35 | sed 's/.*[['\''"]]\(.*\)[['\''"]]$/\1/'` | ||
36 | @@ -1649,7 +1649,7 @@ AC_SUBST(GTK_PRINT_BACKENDS) | ||
37 | # We are using gmodule-no-export now, but I'm leaving the stripping | ||
38 | # code in place for now, since pango and atk still require gmodule. | ||
39 | export SED | ||
40 | -export_dynamic=`(./libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` | ||
41 | +export_dynamic=`(./$host_alias-libtool --config; echo eval echo \\$export_dynamic_flag_spec) | sh` | ||
42 | if test -n "$export_dynamic"; then | ||
43 | GDK_DEP_LIBS=`echo $GDK_DEP_LIBS | sed -e "s/$export_dynamic//"` | ||
44 | GTK_DEP_LIBS=`echo $GTK_DEP_LIBS | sed -e "s/$export_dynamic//"` | ||
45 | -- | ||
46 | 2.12.0 | ||
47 | |||
diff --git a/meta/recipes-gnome/gtk+/gtk+3/0002-Do-not-try-to-initialize-GL-without-libGL.patch b/meta/recipes-gnome/gtk+/gtk+3/0002-Do-not-try-to-initialize-GL-without-libGL.patch deleted file mode 100644 index 80dc2d7a05..0000000000 --- a/meta/recipes-gnome/gtk+/gtk+3/0002-Do-not-try-to-initialize-GL-without-libGL.patch +++ /dev/null | |||
@@ -1,57 +0,0 @@ | |||
1 | From 6575ab0f0e8c1bba033ad1616511e37a2ec995ff Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Fri, 16 Oct 2015 16:35:16 +0300 | ||
4 | Subject: [PATCH] Do not try to initialize GL without libGL | ||
5 | |||
6 | _gdk_x11_screen_update_visuals_for_gl() will end up calling epoxys | ||
7 | GLX api which will exit() if libGL.so.1 is not present. We do not | ||
8 | want that to happen and we don't want every app to have to set | ||
9 | "GDK_GL=disabled" environment variable: so use #ifdef set based on | ||
10 | opengl distro feature. | ||
11 | |||
12 | Upstream is not interested in the fix as it is: Either epoxy should be | ||
13 | fixed (to not exit) or GTK+ possibly could do some additional probing | ||
14 | before calling epoxy APIs. | ||
15 | |||
16 | Upstream-Status: Denied | ||
17 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
18 | |||
19 | --- | ||
20 | configure.ac | 6 ++++++ | ||
21 | gdk/x11/gdkvisual-x11.c | 5 +++++ | ||
22 | 2 files changed, 11 insertions(+) | ||
23 | |||
24 | diff --git a/configure.ac b/configure.ac | ||
25 | index e9f5583..bd651bb 100644 | ||
26 | --- a/configure.ac | ||
27 | +++ b/configure.ac | ||
28 | @@ -346,6 +346,12 @@ AC_ARG_ENABLE(cloudproviders, | ||
29 | [AS_HELP_STRING([--enable-cloudproviders], | ||
30 | [enable libcloudproviders integration])], | ||
31 | [cloudproviders_set=yes]) | ||
32 | +AC_ARG_ENABLE(glx, | ||
33 | + [AS_HELP_STRING([--enable-glx], | ||
34 | + [When enabled Gdk will try to initialize GLX])]) | ||
35 | +AS_IF([test "x$enable_glx" != "xno"], [ | ||
36 | + AC_DEFINE([HAVE_GLX], [], [GLX will be available at runtime]) | ||
37 | +]) | ||
38 | |||
39 | AC_ARG_ENABLE(profiler, | ||
40 | [AS_HELP_STRING([--enable-profiler], | ||
41 | diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c | ||
42 | index 81479d8..3c8c5c0 100644 | ||
43 | --- a/gdk/x11/gdkvisual-x11.c | ||
44 | +++ b/gdk/x11/gdkvisual-x11.c | ||
45 | @@ -306,7 +306,12 @@ _gdk_x11_screen_init_visuals (GdkScreen *screen) | ||
46 | /* If GL is available we want to pick better default/rgba visuals, | ||
47 | as we care about glx details such as alpha/depth/stencil depth, | ||
48 | stereo and double buffering */ | ||
49 | + /* update_visuals_for_gl() will end up calling epoxy GLX api which | ||
50 | + will exit if libgl is not there: so only do this if we know GL | ||
51 | + is available */ | ||
52 | +#ifdef HAVE_GLX | ||
53 | _gdk_x11_screen_update_visuals_for_gl (screen); | ||
54 | +#endif | ||
55 | } | ||
56 | |||
57 | gint | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+3/0003-Add-disable-opengl-configure-option.patch b/meta/recipes-gnome/gtk+/gtk+3/0003-Add-disable-opengl-configure-option.patch deleted file mode 100644 index 398c9bc36a..0000000000 --- a/meta/recipes-gnome/gtk+/gtk+3/0003-Add-disable-opengl-configure-option.patch +++ /dev/null | |||
@@ -1,872 +0,0 @@ | |||
1 | From f83fcf1991afad6d9c15546b2ccd775dad4e314c Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 21 Jun 2016 15:11:39 +0300 | ||
4 | Subject: [PATCH] Add --disable-opengl configure option | ||
5 | |||
6 | --disable-opengl will remove the dependency on libepoxy and on the | ||
7 | OpenGL APIs. This is useful for those who want to keep using gtk+3 | ||
8 | without the "opengl" distro feature. | ||
9 | |||
10 | GtkGLArea is still part of the API (it just doesn't work) even when | ||
11 | OpenGL is disabled. GdkX11GLContext was removed from the Gtk API | ||
12 | completely: that object exposes GL API elements so it had to be at | ||
13 | the very least modified. | ||
14 | |||
15 | The patch is _not_ great from a maintenance point of view and | ||
16 | modifying the library API is also a fairly nasty thing to do. | ||
17 | Next long term release (4.0) will require alternative solutions | ||
18 | as it actually will depend on OpenGL. | ||
19 | |||
20 | Upstream-Status: Inappropriate [Evil eye expected from upstream] | ||
21 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
22 | |||
23 | --- | ||
24 | configure.ac | 13 ++++- | ||
25 | demos/gtk-demo/glarea.c | 14 ++++++ | ||
26 | docs/tools/Makefile.am | 9 +++- | ||
27 | docs/tools/widgets.c | 4 +- | ||
28 | gdk/Makefile.am | 8 ++- | ||
29 | gdk/gdkdisplay.c | 4 +- | ||
30 | gdk/gdkgl.c | 10 ++++ | ||
31 | gdk/gdkglcontext.c | 6 +++ | ||
32 | gdk/gdkwindow.c | 13 +++++ | ||
33 | gdk/x11/Makefile.am | 30 +++++++++-- | ||
34 | gdk/x11/gdkdisplay-x11.c | 6 ++- | ||
35 | gdk/x11/gdkscreen-x11.c | 5 ++ | ||
36 | gdk/x11/gdkwindow-x11.c | 4 ++ | ||
37 | gdk/x11/gdkx-autocleanups.h | 2 + | ||
38 | gdk/x11/{gdkx.h => gdkx-with-gl-context.h} | 1 - | ||
39 | gdk/x11/gdkx-without-gl-context.h | 58 ++++++++++++++++++++++ | ||
40 | gtk/Makefile.am | 2 +- | ||
41 | gtk/gtkglarea.c | 20 +++++++- | ||
42 | gtk/inspector/general.c | 6 +++ | ||
43 | tests/Makefile.am | 10 ++-- | ||
44 | testsuite/gtk/objects-finalize.c | 2 + | ||
45 | 21 files changed, 208 insertions(+), 19 deletions(-) | ||
46 | rename gdk/x11/{gdkx.h => gdkx-with-gl-context.h} (98%) | ||
47 | create mode 100644 gdk/x11/gdkx-without-gl-context.h | ||
48 | |||
49 | diff --git a/configure.ac b/configure.ac | ||
50 | index bd651bb..b4c061f 100644 | ||
51 | --- a/configure.ac | ||
52 | +++ b/configure.ac | ||
53 | @@ -346,6 +346,15 @@ AC_ARG_ENABLE(cloudproviders, | ||
54 | [AS_HELP_STRING([--enable-cloudproviders], | ||
55 | [enable libcloudproviders integration])], | ||
56 | [cloudproviders_set=yes]) | ||
57 | +AC_ARG_ENABLE(opengl, | ||
58 | + [AS_HELP_STRING([--enable-opengl], | ||
59 | + [When enabled, Gtk+ will use libepoxy and exposes GtkGLArea widget ])]) | ||
60 | +AS_IF([test "x$enable_opengl" != "xno"], [ | ||
61 | + AC_DEFINE([HAVE_OPENGL], [1], [libepoxy and opengl APIs are available at buildtime]) | ||
62 | + EPOXY_PACKAGES="epoxy >= epoxy_required_version" | ||
63 | +]) | ||
64 | +AM_CONDITIONAL([HAVE_OPENGL],[test "x$enable_opengl" != "xno"]) | ||
65 | + | ||
66 | AC_ARG_ENABLE(glx, | ||
67 | [AS_HELP_STRING([--enable-glx], | ||
68 | [When enabled Gdk will try to initialize GLX])]) | ||
69 | @@ -1345,7 +1354,7 @@ CFLAGS="$saved_cflags" | ||
70 | LDFLAGS="$saved_ldflags" | ||
71 | |||
72 | GDK_PACKAGES="$PANGO_PACKAGES gdk-pixbuf-2.0 >= gdk_pixbuf_required_version cairo >= cairo_required_version cairo-gobject >= cairo_required_version" | ||
73 | -GDK_PRIVATE_PACKAGES="$GDK_GIO_PACKAGE $X_PACKAGES $WAYLAND_PACKAGES $cairo_backends epoxy >= epoxy_required_version $CLOUDPROVIDER_PACKAGES $PROFILER_PACKAGES fribidi >= fribidi_required_version" | ||
74 | +GDK_PRIVATE_PACKAGES="$GDK_GIO_PACKAGE $X_PACKAGES $WAYLAND_PACKAGES $cairo_backends $EPOXY_PACKAGES $CLOUDPROVIDER_PACKAGES $PROFILER_PACKAGES fribidi >= fribidi_required_version" | ||
75 | |||
76 | PKG_CHECK_MODULES(GDK_DEP, $GDK_PACKAGES $GDK_PRIVATE_PACKAGES) | ||
77 | GDK_DEP_LIBS="$GDK_EXTRA_LIBS $GDK_DEP_LIBS $MATH_LIB" | ||
78 | @@ -1379,7 +1388,7 @@ fi | ||
79 | PKG_CHECK_MODULES(ATK, $ATK_PACKAGES) | ||
80 | |||
81 | GTK_PACKAGES="atk >= atk_required_version cairo >= cairo_required_version cairo-gobject >= cairo_required_version gdk-pixbuf-2.0 >= gdk_pixbuf_required_version gio-2.0 >= glib_required_version" | ||
82 | -GTK_PRIVATE_PACKAGES="$ATK_PACKAGES $WAYLAND_PACKAGES epoxy >= epoxy_required_version fribidi >= fribidi_required_version" | ||
83 | +GTK_PRIVATE_PACKAGES="$ATK_PACKAGES $WAYLAND_PACKAGES $EPOXY_PACKAGES fribidi >= fribidi_required_version" | ||
84 | if test "x$enable_x11_backend" = xyes -o "x$enable_wayland_backend" = xyes; then | ||
85 | GTK_PRIVATE_PACKAGES="$GTK_PRIVATE_PACKAGES pangoft2" | ||
86 | fi | ||
87 | diff --git a/demos/gtk-demo/glarea.c b/demos/gtk-demo/glarea.c | ||
88 | index b51e4ae..82409c7 100644 | ||
89 | --- a/demos/gtk-demo/glarea.c | ||
90 | +++ b/demos/gtk-demo/glarea.c | ||
91 | @@ -3,9 +3,12 @@ | ||
92 | * GtkGLArea is a widget that allows custom drawing using OpenGL calls. | ||
93 | */ | ||
94 | |||
95 | +#include "config.h" | ||
96 | #include <math.h> | ||
97 | #include <gtk/gtk.h> | ||
98 | +#if HAVE_OPENGL | ||
99 | #include <epoxy/gl.h> | ||
100 | +#endif | ||
101 | |||
102 | static GtkWidget *demo_window = NULL; | ||
103 | |||
104 | @@ -23,6 +26,8 @@ enum { | ||
105 | /* Rotation angles on each axis */ | ||
106 | static float rotation_angles[N_AXIS] = { 0.0 }; | ||
107 | |||
108 | +#ifdef HAVE_OPENGL | ||
109 | + | ||
110 | /* The object we are drawing */ | ||
111 | static const GLfloat vertex_data[] = { | ||
112 | 0.f, 0.5f, 0.f, 1.f, | ||
113 | @@ -215,6 +220,7 @@ compute_mvp (float *res, | ||
114 | static GLuint position_buffer; | ||
115 | static GLuint program; | ||
116 | static GLuint mvp_location; | ||
117 | +#endif | ||
118 | |||
119 | /* We need to set up our state when we realize the GtkGLArea widget */ | ||
120 | static void | ||
121 | @@ -241,8 +247,10 @@ realize (GtkWidget *widget) | ||
122 | fragment_path = "/glarea/glarea-gl.fs.glsl"; | ||
123 | } | ||
124 | |||
125 | +#ifdef HAVE_OPENGL | ||
126 | init_buffers (&position_buffer, NULL); | ||
127 | init_shaders (vertex_path, fragment_path, &program, &mvp_location); | ||
128 | +#endif | ||
129 | } | ||
130 | |||
131 | /* We should tear down the state when unrealizing */ | ||
132 | @@ -254,10 +262,13 @@ unrealize (GtkWidget *widget) | ||
133 | if (gtk_gl_area_get_error (GTK_GL_AREA (widget)) != NULL) | ||
134 | return; | ||
135 | |||
136 | +#ifdef HAVE_OPENGL | ||
137 | glDeleteBuffers (1, &position_buffer); | ||
138 | glDeleteProgram (program); | ||
139 | +#endif | ||
140 | } | ||
141 | |||
142 | +#ifdef HAVE_OPENGL | ||
143 | static void | ||
144 | draw_triangle (void) | ||
145 | { | ||
146 | @@ -290,6 +301,7 @@ draw_triangle (void) | ||
147 | glBindBuffer (GL_ARRAY_BUFFER, 0); | ||
148 | glUseProgram (0); | ||
149 | } | ||
150 | +#endif | ||
151 | |||
152 | static gboolean | ||
153 | render (GtkGLArea *area, | ||
154 | @@ -298,6 +310,7 @@ render (GtkGLArea *area, | ||
155 | if (gtk_gl_area_get_error (area) != NULL) | ||
156 | return FALSE; | ||
157 | |||
158 | +#ifdef HAVE_OPENGL | ||
159 | /* Clear the viewport */ | ||
160 | glClearColor (0.5, 0.5, 0.5, 1.0); | ||
161 | glClear (GL_COLOR_BUFFER_BIT); | ||
162 | @@ -307,6 +320,7 @@ render (GtkGLArea *area, | ||
163 | |||
164 | /* Flush the contents of the pipeline */ | ||
165 | glFlush (); | ||
166 | +#endif | ||
167 | |||
168 | return TRUE; | ||
169 | } | ||
170 | diff --git a/docs/tools/Makefile.am b/docs/tools/Makefile.am | ||
171 | index bec43e3..189e8fc 100644 | ||
172 | --- a/docs/tools/Makefile.am | ||
173 | +++ b/docs/tools/Makefile.am | ||
174 | @@ -9,13 +9,18 @@ AM_CPPFLAGS = \ | ||
175 | $(GTK_DEBUG_FLAGS) \ | ||
176 | $(GTK_DEP_CFLAGS) | ||
177 | |||
178 | +if HAVE_OPENGL | ||
179 | +GEARS_LDADD = $(top_builddir)/tests/gtkgears.o | ||
180 | +endif | ||
181 | + | ||
182 | DEPS = \ | ||
183 | - $(top_builddir)/gtk/libgtk-3.la | ||
184 | + $(top_builddir)/gtk/libgtk-3.la \ | ||
185 | + $(GEARS_LDADD) | ||
186 | |||
187 | LDADDS = \ | ||
188 | $(top_builddir)/gtk/libgtk-3.la \ | ||
189 | $(top_builddir)/gdk/libgdk-3.la \ | ||
190 | - $(top_builddir)/tests/gtkgears.o \ | ||
191 | + $(GEARS_LDADD) \ | ||
192 | $(GTK_DEP_LIBS) \ | ||
193 | $(GDK_DEP_LIBS) \ | ||
194 | -lm | ||
195 | diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c | ||
196 | index 932daf1..54239d6 100644 | ||
197 | --- a/docs/tools/widgets.c | ||
198 | +++ b/docs/tools/widgets.c | ||
199 | @@ -1526,9 +1526,11 @@ create_gl_area (void) | ||
200 | widget = gtk_frame_new (NULL); | ||
201 | gtk_frame_set_shadow_type (GTK_FRAME (widget), GTK_SHADOW_IN); | ||
202 | |||
203 | +#ifdef HAVE_OPENGL | ||
204 | gears = gtk_gears_new (); | ||
205 | gtk_container_add (GTK_CONTAINER (widget), gears); | ||
206 | - | ||
207 | +#endif | ||
208 | + | ||
209 | info = new_widget_info ("glarea", widget, MEDIUM); | ||
210 | |||
211 | return info; | ||
212 | diff --git a/gdk/Makefile.am b/gdk/Makefile.am | ||
213 | index 479d6a1..7edbee8 100644 | ||
214 | --- a/gdk/Makefile.am | ||
215 | +++ b/gdk/Makefile.am | ||
216 | @@ -274,7 +274,6 @@ x11_introspection_files = \ | ||
217 | x11/gdkeventsource.c \ | ||
218 | x11/gdkeventtranslator.c \ | ||
219 | x11/gdkgeometry-x11.c \ | ||
220 | - x11/gdkglcontext-x11.c \ | ||
221 | x11/gdkkeys-x11.c \ | ||
222 | x11/gdkmain-x11.c \ | ||
223 | x11/gdkmonitor-x11.c \ | ||
224 | @@ -300,7 +299,6 @@ x11_introspection_files = \ | ||
225 | x11/gdkx11display.h \ | ||
226 | x11/gdkx11displaymanager.h \ | ||
227 | x11/gdkx11dnd.h \ | ||
228 | - x11/gdkx11glcontext.h \ | ||
229 | x11/gdkx11keys.h \ | ||
230 | x11/gdkx11monitor.h \ | ||
231 | x11/gdkx11property.h \ | ||
232 | @@ -310,6 +308,12 @@ x11_introspection_files = \ | ||
233 | x11/gdkx11visual.h \ | ||
234 | x11/gdkx11window.h | ||
235 | |||
236 | +if HAVE_OPENGL | ||
237 | +x11_introspection_files += \ | ||
238 | + x11/gdkglcontext-x11.c \ | ||
239 | + x11/gdkx11glcontext.h | ||
240 | +endif | ||
241 | + | ||
242 | GdkX11-3.0.gir: libgdk-3.la Gdk-3.0.gir Makefile | ||
243 | GdkX11_3_0_gir_SCANNERFLAGS = \ | ||
244 | --identifier-prefix=Gdk \ | ||
245 | diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c | ||
246 | index 240c99f..9eb49bf 100644 | ||
247 | --- a/gdk/gdkdisplay.c | ||
248 | +++ b/gdk/gdkdisplay.c | ||
249 | @@ -2419,7 +2419,9 @@ gboolean | ||
250 | gdk_display_make_gl_context_current (GdkDisplay *display, | ||
251 | GdkGLContext *context) | ||
252 | { | ||
253 | - return GDK_DISPLAY_GET_CLASS (display)->make_gl_context_current (display, context); | ||
254 | + if (GDK_DISPLAY_GET_CLASS (display)->make_gl_context_current) | ||
255 | + return GDK_DISPLAY_GET_CLASS (display)->make_gl_context_current (display, context); | ||
256 | + return FALSE; | ||
257 | } | ||
258 | |||
259 | GdkRenderingMode | ||
260 | diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c | ||
261 | index 933e204..1767508 100644 | ||
262 | --- a/gdk/gdkgl.c | ||
263 | +++ b/gdk/gdkgl.c | ||
264 | @@ -26,7 +26,9 @@ | ||
265 | # include "win32/gdkwin32.h" | ||
266 | #endif | ||
267 | |||
268 | +#ifdef HAVE_OPENGL | ||
269 | #include <epoxy/gl.h> | ||
270 | +#endif | ||
271 | #include <math.h> | ||
272 | #include <string.h> | ||
273 | |||
274 | @@ -40,6 +42,7 @@ gdk_cairo_surface_mark_as_direct (cairo_surface_t *surface, | ||
275 | g_object_ref (window), g_object_unref); | ||
276 | } | ||
277 | |||
278 | +#ifdef HAVE_OPENGL | ||
279 | static const char * | ||
280 | get_vertex_type_name (int type) | ||
281 | { | ||
282 | @@ -212,6 +215,7 @@ use_texture_rect_program (GdkGLContextPaintData *paint_data) | ||
283 | glUseProgram (paint_data->current_program->program); | ||
284 | } | ||
285 | } | ||
286 | +#endif | ||
287 | |||
288 | void | ||
289 | gdk_gl_texture_quads (GdkGLContext *paint_context, | ||
290 | @@ -220,6 +224,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context, | ||
291 | GdkTexturedQuad *quads, | ||
292 | gboolean flip_colors) | ||
293 | { | ||
294 | +#ifdef HAVE_OPENGL | ||
295 | GdkGLContextPaintData *paint_data = gdk_gl_context_get_paint_data (paint_context); | ||
296 | GdkGLContextProgram *program; | ||
297 | GdkWindow *window = gdk_gl_context_get_window (paint_context); | ||
298 | @@ -293,6 +298,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context, | ||
299 | |||
300 | glDisableVertexAttribArray (program->position_location); | ||
301 | glDisableVertexAttribArray (program->uv_location); | ||
302 | +#endif | ||
303 | } | ||
304 | |||
305 | /* x,y,width,height describes a rectangle in the gl render buffer | ||
306 | @@ -341,6 +347,7 @@ gdk_cairo_draw_from_gl (cairo_t *cr, | ||
307 | int width, | ||
308 | int height) | ||
309 | { | ||
310 | +#ifdef HAVE_OPENGL | ||
311 | GdkGLContext *paint_context; | ||
312 | cairo_surface_t *image; | ||
313 | cairo_matrix_t matrix; | ||
314 | @@ -718,6 +725,7 @@ out: | ||
315 | if (clip_region) | ||
316 | cairo_region_destroy (clip_region); | ||
317 | |||
318 | +#endif | ||
319 | } | ||
320 | |||
321 | /* This is always called with the paint context current */ | ||
322 | @@ -725,6 +733,7 @@ void | ||
323 | gdk_gl_texture_from_surface (cairo_surface_t *surface, | ||
324 | cairo_region_t *region) | ||
325 | { | ||
326 | +#ifdef HAVE_OPENGL | ||
327 | GdkGLContext *paint_context; | ||
328 | cairo_surface_t *image; | ||
329 | double device_x_offset, device_y_offset; | ||
330 | @@ -825,4 +834,5 @@ gdk_gl_texture_from_surface (cairo_surface_t *surface, | ||
331 | |||
332 | glDisable (GL_SCISSOR_TEST); | ||
333 | glDeleteTextures (1, &texture_id); | ||
334 | +#endif | ||
335 | } | ||
336 | diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c | ||
337 | index dfbed63..556f0a3 100644 | ||
338 | --- a/gdk/gdkglcontext.c | ||
339 | +++ b/gdk/gdkglcontext.c | ||
340 | @@ -85,7 +85,9 @@ | ||
341 | #include "gdkintl.h" | ||
342 | #include "gdk-private.h" | ||
343 | |||
344 | +#ifdef HAVE_OPENGL | ||
345 | #include <epoxy/gl.h> | ||
346 | +#endif | ||
347 | |||
348 | typedef struct { | ||
349 | GdkDisplay *display; | ||
350 | @@ -243,6 +245,7 @@ gdk_gl_context_upload_texture (GdkGLContext *context, | ||
351 | int height, | ||
352 | guint texture_target) | ||
353 | { | ||
354 | +#ifdef HAVE_OPENGL | ||
355 | GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context); | ||
356 | |||
357 | g_return_if_fail (GDK_IS_GL_CONTEXT (context)); | ||
358 | @@ -286,6 +289,7 @@ gdk_gl_context_upload_texture (GdkGLContext *context, | ||
359 | glTexSubImage2D (texture_target, 0, 0, i, width, 1, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, (unsigned char*) data + (i * stride)); | ||
360 | } | ||
361 | } | ||
362 | +#endif | ||
363 | } | ||
364 | |||
365 | static gboolean | ||
366 | @@ -774,6 +778,7 @@ gdk_gl_context_realize (GdkGLContext *context, | ||
367 | static void | ||
368 | gdk_gl_context_check_extensions (GdkGLContext *context) | ||
369 | { | ||
370 | +#ifdef HAVE_OPENGL | ||
371 | GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context); | ||
372 | gboolean has_npot, has_texture_rectangle; | ||
373 | |||
374 | @@ -853,6 +858,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context) | ||
375 | priv->use_texture_rectangle ? "yes" : "no")); | ||
376 | |||
377 | priv->extensions_checked = TRUE; | ||
378 | +#endif | ||
379 | } | ||
380 | |||
381 | /** | ||
382 | diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c | ||
383 | index 6ae0f86..4e48a2a 100644 | ||
384 | --- a/gdk/gdkwindow.c | ||
385 | +++ b/gdk/gdkwindow.c | ||
386 | @@ -45,7 +45,9 @@ | ||
387 | |||
388 | #include <math.h> | ||
389 | |||
390 | +#ifdef HAVE_OPENGL | ||
391 | #include <epoxy/gl.h> | ||
392 | +#endif | ||
393 | |||
394 | /* for the use of round() */ | ||
395 | #include "fallback-c89.c" | ||
396 | @@ -2844,6 +2846,13 @@ gdk_window_get_paint_gl_context (GdkWindow *window, | ||
397 | { | ||
398 | GError *internal_error = NULL; | ||
399 | |||
400 | +#ifndef HAVE_OPENGL | ||
401 | + g_set_error_literal (error, GDK_GL_ERROR, | ||
402 | + GDK_GL_ERROR_NOT_AVAILABLE, | ||
403 | + _("GL support disabled with --disable-opengl")); | ||
404 | + return NULL; | ||
405 | +#endif | ||
406 | + | ||
407 | if (_gdk_gl_flags & GDK_GL_DISABLE) | ||
408 | { | ||
409 | g_set_error_literal (error, GDK_GL_ERROR, | ||
410 | @@ -2979,6 +2988,7 @@ gdk_window_begin_paint_internal (GdkWindow *window, | ||
411 | } | ||
412 | else | ||
413 | { | ||
414 | +#ifdef HAVE_OPENGL | ||
415 | gdk_gl_context_make_current (context); | ||
416 | /* With gl we always need a surface to combine the gl | ||
417 | drawing with the native drawing. */ | ||
418 | @@ -2993,6 +3003,7 @@ gdk_window_begin_paint_internal (GdkWindow *window, | ||
419 | glBlendFunc (GL_ONE, GL_ONE_MINUS_SRC_ALPHA); | ||
420 | |||
421 | glViewport (0, 0, ww, wh); | ||
422 | +#endif | ||
423 | } | ||
424 | } | ||
425 | |||
426 | @@ -3056,6 +3067,7 @@ gdk_window_end_paint_internal (GdkWindow *window) | ||
427 | |||
428 | gdk_gl_context_make_current (window->gl_paint_context); | ||
429 | |||
430 | +#ifdef HAVE_OPENGL | ||
431 | if (!cairo_region_is_empty (opaque_region)) | ||
432 | gdk_gl_texture_from_surface (window->current_paint.surface, | ||
433 | opaque_region); | ||
434 | @@ -3066,6 +3078,7 @@ gdk_window_end_paint_internal (GdkWindow *window) | ||
435 | window->current_paint.need_blend_region); | ||
436 | glDisable(GL_BLEND); | ||
437 | } | ||
438 | +#endif | ||
439 | |||
440 | cairo_region_destroy (opaque_region); | ||
441 | |||
442 | diff --git a/gdk/x11/Makefile.am b/gdk/x11/Makefile.am | ||
443 | index 32b1f24..6352313 100644 | ||
444 | --- a/gdk/x11/Makefile.am | ||
445 | +++ b/gdk/x11/Makefile.am | ||
446 | @@ -40,8 +40,6 @@ libgdk_x11_la_SOURCES = \ | ||
447 | gdkeventtranslator.c \ | ||
448 | gdkeventtranslator.h \ | ||
449 | gdkgeometry-x11.c \ | ||
450 | - gdkglcontext-x11.c \ | ||
451 | - gdkglcontext-x11.h \ | ||
452 | gdkkeys-x11.c \ | ||
453 | gdkmain-x11.c \ | ||
454 | gdkmonitor-x11.c \ | ||
455 | @@ -56,14 +54,32 @@ libgdk_x11_la_SOURCES = \ | ||
456 | gdkwindow-x11.h \ | ||
457 | gdkxftdefaults.c \ | ||
458 | gdkxid.c \ | ||
459 | - gdkx.h \ | ||
460 | gdkprivate-x11.h \ | ||
461 | xsettings-client.h \ | ||
462 | xsettings-client.c | ||
463 | |||
464 | +if HAVE_OPENGL | ||
465 | +libgdk_x11_la_SOURCES += \ | ||
466 | + gdkglcontext-x11.c \ | ||
467 | + gdkglcontext-x11.h | ||
468 | +endif | ||
469 | + | ||
470 | libgdkinclude_HEADERS = \ | ||
471 | gdkx.h | ||
472 | |||
473 | +if HAVE_OPENGL | ||
474 | +GDKX_HEADER = gdkx-with-gl-context.h | ||
475 | +else | ||
476 | +GDKX_HEADER = gdkx-without-gl-context.h | ||
477 | +endif | ||
478 | + | ||
479 | +BUILT_SOURCES = gdkx.h | ||
480 | + | ||
481 | +.PHONY: gdkx.h | ||
482 | +gdkx.h: | ||
483 | + $(AM_V_GEN) cd $(srcdir) \ | ||
484 | + && (cmp -s $(GDKX_HEADER) gdkx.h || cp $(GDKX_HEADER) gdkx.h ) | ||
485 | + | ||
486 | libgdkx11include_HEADERS = \ | ||
487 | gdkx-autocleanups.h \ | ||
488 | gdkx11applaunchcontext.h \ | ||
489 | @@ -77,7 +93,6 @@ libgdkx11include_HEADERS = \ | ||
490 | gdkx11display.h \ | ||
491 | gdkx11displaymanager.h \ | ||
492 | gdkx11dnd.h \ | ||
493 | - gdkx11glcontext.h \ | ||
494 | gdkx11keys.h \ | ||
495 | gdkx11monitor.h \ | ||
496 | gdkx11property.h \ | ||
497 | @@ -87,10 +102,17 @@ libgdkx11include_HEADERS = \ | ||
498 | gdkx11visual.h \ | ||
499 | gdkx11window.h | ||
500 | |||
501 | +if HAVE_OPENGL | ||
502 | +libgdkx11include_HEADERS += gdkx11glcontext.h | ||
503 | +endif | ||
504 | + | ||
505 | # We need to include all these C files here since the conditionals | ||
506 | # don't seem to be correctly expanded for the dist files. | ||
507 | EXTRA_DIST += \ | ||
508 | + gdkx.h \ | ||
509 | gdksettings.c \ | ||
510 | meson.build | ||
511 | |||
512 | +MAINTAINERCLEANFILES = gdkx.h | ||
513 | + | ||
514 | -include $(top_srcdir)/git.mk | ||
515 | diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c | ||
516 | index 817944e..e7a2947 100644 | ||
517 | --- a/gdk/x11/gdkdisplay-x11.c | ||
518 | +++ b/gdk/x11/gdkdisplay-x11.c | ||
519 | @@ -37,7 +37,9 @@ | ||
520 | #include "gdkdisplay-x11.h" | ||
521 | #include "gdkprivate-x11.h" | ||
522 | #include "gdkscreen-x11.h" | ||
523 | +#ifdef HAVE_OPENGL | ||
524 | #include "gdkglcontext-x11.h" | ||
525 | +#endif | ||
526 | #include "gdk-private.h" | ||
527 | #include "gdkprofilerprivate.h" | ||
528 | |||
529 | @@ -3188,7 +3190,9 @@ gdk_x11_display_class_init (GdkX11DisplayClass * class) | ||
530 | display_class->text_property_to_utf8_list = _gdk_x11_display_text_property_to_utf8_list; | ||
531 | display_class->utf8_to_string_target = _gdk_x11_display_utf8_to_string_target; | ||
532 | |||
533 | - display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current; | ||
534 | +#ifdef HAVE_OPENGL | ||
535 | + display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current; | ||
536 | +#endif | ||
537 | |||
538 | display_class->get_default_seat = gdk_x11_display_get_default_seat; | ||
539 | |||
540 | diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c | ||
541 | index 8939ae9..931bff9 100644 | ||
542 | --- a/gdk/x11/gdkscreen-x11.c | ||
543 | +++ b/gdk/x11/gdkscreen-x11.c | ||
544 | @@ -1723,3 +1723,8 @@ gdk_x11_screen_get_current_desktop (GdkScreen *screen) | ||
545 | { | ||
546 | return get_netwm_cardinal_property (screen, "_NET_CURRENT_DESKTOP"); | ||
547 | } | ||
548 | + | ||
549 | +#ifndef HAVE_OPENGL | ||
550 | +/* Function from in gdk/x11/gdkglcontext-x11.c */ | ||
551 | +void _gdk_x11_screen_update_visuals_for_gl (GdkScreen *screen) {} | ||
552 | +#endif | ||
553 | diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c | ||
554 | index 1fe7b90..d23a347 100644 | ||
555 | --- a/gdk/x11/gdkwindow-x11.c | ||
556 | +++ b/gdk/x11/gdkwindow-x11.c | ||
557 | @@ -36,7 +36,9 @@ | ||
558 | #include "gdkasync.h" | ||
559 | #include "gdkeventsource.h" | ||
560 | #include "gdkdisplay-x11.h" | ||
561 | +#ifdef HAVE_OPENGL | ||
562 | #include "gdkglcontext-x11.h" | ||
563 | +#endif | ||
564 | #include "gdkprivate-x11.h" | ||
565 | #include "gdk-private.h" | ||
566 | |||
567 | @@ -5861,7 +5863,9 @@ gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass) | ||
568 | impl_class->set_opaque_region = gdk_x11_window_set_opaque_region; | ||
569 | impl_class->set_shadow_width = gdk_x11_window_set_shadow_width; | ||
570 | impl_class->show_window_menu = gdk_x11_window_show_window_menu; | ||
571 | +#ifdef HAVE_OPENGL | ||
572 | impl_class->create_gl_context = gdk_x11_window_create_gl_context; | ||
573 | impl_class->invalidate_for_new_frame = gdk_x11_window_invalidate_for_new_frame; | ||
574 | +#endif | ||
575 | impl_class->get_unscaled_size = gdk_x11_window_get_unscaled_size; | ||
576 | } | ||
577 | diff --git a/gdk/x11/gdkx-autocleanups.h b/gdk/x11/gdkx-autocleanups.h | ||
578 | index edb0ea7..a317d61 100644 | ||
579 | --- a/gdk/x11/gdkx-autocleanups.h | ||
580 | +++ b/gdk/x11/gdkx-autocleanups.h | ||
581 | @@ -30,7 +30,9 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DeviceXI2, g_object_unref) | ||
582 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Display, g_object_unref) | ||
583 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DisplayManager, g_object_unref) | ||
584 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DragContext, g_object_unref) | ||
585 | +#ifdef HAVE_OPENGL | ||
586 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11GLContext, g_object_unref) | ||
587 | +#endif | ||
588 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Keymap, g_object_unref) | ||
589 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Screen, g_object_unref) | ||
590 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Visual, g_object_unref) | ||
591 | diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx-with-gl-context.h | ||
592 | similarity index 98% | ||
593 | rename from gdk/x11/gdkx.h | ||
594 | rename to gdk/x11/gdkx-with-gl-context.h | ||
595 | index 1f64bcc..ae05fa6 100644 | ||
596 | --- a/gdk/x11/gdkx.h | ||
597 | +++ b/gdk/x11/gdkx-with-gl-context.h | ||
598 | @@ -45,7 +45,6 @@ | ||
599 | #include <gdk/x11/gdkx11dnd.h> | ||
600 | #include <gdk/x11/gdkx11glcontext.h> | ||
601 | #include <gdk/x11/gdkx11keys.h> | ||
602 | -#include <gdk/x11/gdkx11monitor.h> | ||
603 | #include <gdk/x11/gdkx11property.h> | ||
604 | #include <gdk/x11/gdkx11screen.h> | ||
605 | #include <gdk/x11/gdkx11selection.h> | ||
606 | diff --git a/gdk/x11/gdkx-without-gl-context.h b/gdk/x11/gdkx-without-gl-context.h | ||
607 | new file mode 100644 | ||
608 | index 0000000..c9e2617 | ||
609 | --- /dev/null | ||
610 | +++ b/gdk/x11/gdkx-without-gl-context.h | ||
611 | @@ -0,0 +1,58 @@ | ||
612 | +/* GDK - The GIMP Drawing Kit | ||
613 | + * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald | ||
614 | + * | ||
615 | + * This library is free software; you can redistribute it and/or | ||
616 | + * modify it under the terms of the GNU Lesser General Public | ||
617 | + * License as published by the Free Software Foundation; either | ||
618 | + * version 2 of the License, or (at your option) any later version. | ||
619 | + * | ||
620 | + * This library is distributed in the hope that it will be useful, | ||
621 | + * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
622 | + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | ||
623 | + * Lesser General Public License for more details. | ||
624 | + * | ||
625 | + * You should have received a copy of the GNU Lesser General Public | ||
626 | + * License along with this library. If not, see <http://www.gnu.org/licenses/>. | ||
627 | + */ | ||
628 | + | ||
629 | +/* | ||
630 | + * Modified by the GTK+ Team and others 1997-2000. See the AUTHORS | ||
631 | + * file for a list of people on the GTK+ Team. See the ChangeLog | ||
632 | + * files for a list of changes. These files are distributed with | ||
633 | + * GTK+ at ftp://ftp.gtk.org/pub/gtk/. | ||
634 | + */ | ||
635 | + | ||
636 | +#ifndef __GDK_X_H__ | ||
637 | +#define __GDK_X_H__ | ||
638 | + | ||
639 | +#include <gdk/gdk.h> | ||
640 | + | ||
641 | +#include <X11/Xlib.h> | ||
642 | +#include <X11/Xutil.h> | ||
643 | + | ||
644 | +#define __GDKX_H_INSIDE__ | ||
645 | + | ||
646 | +#include <gdk/x11/gdkx11applaunchcontext.h> | ||
647 | +#include <gdk/x11/gdkx11cursor.h> | ||
648 | +#include <gdk/x11/gdkx11device.h> | ||
649 | +#include <gdk/x11/gdkx11device-core.h> | ||
650 | +#include <gdk/x11/gdkx11device-xi2.h> | ||
651 | +#include <gdk/x11/gdkx11devicemanager.h> | ||
652 | +#include <gdk/x11/gdkx11devicemanager-core.h> | ||
653 | +#include <gdk/x11/gdkx11devicemanager-xi2.h> | ||
654 | +#include <gdk/x11/gdkx11display.h> | ||
655 | +#include <gdk/x11/gdkx11displaymanager.h> | ||
656 | +#include <gdk/x11/gdkx11dnd.h> | ||
657 | +#include <gdk/x11/gdkx11keys.h> | ||
658 | +#include <gdk/x11/gdkx11property.h> | ||
659 | +#include <gdk/x11/gdkx11screen.h> | ||
660 | +#include <gdk/x11/gdkx11selection.h> | ||
661 | +#include <gdk/x11/gdkx11utils.h> | ||
662 | +#include <gdk/x11/gdkx11visual.h> | ||
663 | +#include <gdk/x11/gdkx11window.h> | ||
664 | + | ||
665 | +#include <gdk/x11/gdkx-autocleanups.h> | ||
666 | + | ||
667 | +#undef __GDKX_H_INSIDE__ | ||
668 | + | ||
669 | +#endif /* __GDK_X_H__ */ | ||
670 | diff --git a/gtk/Makefile.am b/gtk/Makefile.am | ||
671 | index eaca473..99352d1 100644 | ||
672 | --- a/gtk/Makefile.am | ||
673 | +++ b/gtk/Makefile.am | ||
674 | @@ -1449,7 +1449,7 @@ gtktypefuncs.inc: stamp-gtktypebuiltins.h stamp-gtkprivatetypebuiltins.h $(top_s | ||
675 | ${CPP} $(DEFS) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) xgen-gtfsrc.c | \ | ||
676 | $(GREP) -o '\bg[td]k_[a-zA-Z0-9_]*_get_type\b' | \ | ||
677 | sort | uniq | \ | ||
678 | - $(SED) '{ s/^/*tp++ = /; s/$$/();/; s/^.*\(gdk_x11\|gtk_plug_\|gtk_socket_\).*$$/#ifdef GDK_WINDOWING_X11\n&\n#endif/; }' >> xgen-gtf \ | ||
679 | + $(SED) '{ s/^/*tp++ = /; s/$$/();/; s/^.*\(gdk_x11\|gtk_plug_\|gtk_socket_\).*$$/#ifdef GDK_WINDOWING_X11\n&\n#endif/; s/^.*gdk_x11_gl.*$$/#ifdef HAVE_OPENGL\n&\n#endif/; }' >> xgen-gtf \ | ||
680 | && cp xgen-gtf $@ && rm -f xgen-gtf | ||
681 | $(srcdir)/gtktestutils.c: gtktypefuncs.inc | ||
682 | |||
683 | diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c | ||
684 | index 9a56443..7de0db2 100644 | ||
685 | --- a/gtk/gtkglarea.c | ||
686 | +++ b/gtk/gtkglarea.c | ||
687 | @@ -29,7 +29,9 @@ | ||
688 | #include "gtkprivate.h" | ||
689 | #include "gtkrender.h" | ||
690 | |||
691 | +#ifdef HAVE_OPENGL | ||
692 | #include <epoxy/gl.h> | ||
693 | +#endif | ||
694 | |||
695 | /** | ||
696 | * SECTION:gtkglarea | ||
697 | @@ -369,9 +371,12 @@ gtk_gl_area_real_create_context (GtkGLArea *area) | ||
698 | static void | ||
699 | gtk_gl_area_resize (GtkGLArea *area, int width, int height) | ||
700 | { | ||
701 | +#ifdef HAVE_OPENGL | ||
702 | glViewport (0, 0, width, height); | ||
703 | +#endif | ||
704 | } | ||
705 | |||
706 | +#ifdef HAVE_OPENGL | ||
707 | /* | ||
708 | * Creates all the buffer objects needed for rendering the scene | ||
709 | */ | ||
710 | @@ -483,6 +488,7 @@ gtk_gl_area_allocate_buffers (GtkGLArea *area) | ||
711 | |||
712 | priv->needs_render = TRUE; | ||
713 | } | ||
714 | +#endif | ||
715 | |||
716 | /** | ||
717 | * gtk_gl_area_attach_buffers: | ||
718 | @@ -501,6 +507,7 @@ gtk_gl_area_allocate_buffers (GtkGLArea *area) | ||
719 | void | ||
720 | gtk_gl_area_attach_buffers (GtkGLArea *area) | ||
721 | { | ||
722 | +#ifdef HAVE_OPENGL | ||
723 | GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area); | ||
724 | |||
725 | g_return_if_fail (GTK_IS_GL_AREA (area)); | ||
726 | @@ -533,11 +540,13 @@ gtk_gl_area_attach_buffers (GtkGLArea *area) | ||
727 | glFramebufferRenderbufferEXT (GL_FRAMEBUFFER_EXT, GL_STENCIL_ATTACHMENT_EXT, | ||
728 | GL_RENDERBUFFER_EXT, priv->depth_stencil_buffer); | ||
729 | } | ||
730 | +#endif | ||
731 | } | ||
732 | |||
733 | static void | ||
734 | gtk_gl_area_delete_buffers (GtkGLArea *area) | ||
735 | { | ||
736 | +#ifdef HAVE_OPENGL | ||
737 | GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area); | ||
738 | |||
739 | if (priv->context == NULL) | ||
740 | @@ -569,6 +578,7 @@ gtk_gl_area_delete_buffers (GtkGLArea *area) | ||
741 | glDeleteFramebuffersEXT (1, &priv->frame_buffer); | ||
742 | priv->frame_buffer = 0; | ||
743 | } | ||
744 | +#endif | ||
745 | } | ||
746 | |||
747 | static void | ||
748 | @@ -679,6 +689,7 @@ gtk_gl_area_draw (GtkWidget *widget, | ||
749 | GtkGLArea *area = GTK_GL_AREA (widget); | ||
750 | GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area); | ||
751 | gboolean unused; | ||
752 | +#ifdef HAVE_OPENGL | ||
753 | int w, h, scale; | ||
754 | GLenum status; | ||
755 | |||
756 | @@ -690,7 +701,6 @@ gtk_gl_area_draw (GtkWidget *widget, | ||
757 | gtk_widget_get_allocated_height (widget)); | ||
758 | return FALSE; | ||
759 | } | ||
760 | - | ||
761 | if (priv->context == NULL) | ||
762 | return FALSE; | ||
763 | |||
764 | @@ -736,6 +746,14 @@ gtk_gl_area_draw (GtkWidget *widget, | ||
765 | } | ||
766 | |||
767 | return TRUE; | ||
768 | +#else | ||
769 | + if (priv->error != NULL) | ||
770 | + gtk_gl_area_draw_error_screen (area, | ||
771 | + cr, | ||
772 | + gtk_widget_get_allocated_width (widget), | ||
773 | + gtk_widget_get_allocated_height (widget)); | ||
774 | + return FALSE; | ||
775 | +#endif | ||
776 | } | ||
777 | |||
778 | static gboolean | ||
779 | diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c | ||
780 | index c241ec8..24576dd 100644 | ||
781 | --- a/gtk/inspector/general.c | ||
782 | +++ b/gtk/inspector/general.c | ||
783 | @@ -33,8 +33,10 @@ | ||
784 | |||
785 | #ifdef GDK_WINDOWING_X11 | ||
786 | #include "x11/gdkx.h" | ||
787 | +#ifdef HAVE_OPENGL | ||
788 | #include <epoxy/glx.h> | ||
789 | #endif | ||
790 | +#endif | ||
791 | |||
792 | #ifdef GDK_WINDOWING_WIN32 | ||
793 | #include "win32/gdkwin32.h" | ||
794 | @@ -196,6 +198,7 @@ add_label_row (GtkInspectorGeneral *gen, | ||
795 | gtk_size_group_add_widget (GTK_SIZE_GROUP (gen->priv->labels), label); | ||
796 | } | ||
797 | |||
798 | +#ifdef HAVE_OPENGL | ||
799 | #ifdef GDK_WINDOWING_X11 | ||
800 | static void | ||
801 | append_glx_extension_row (GtkInspectorGeneral *gen, | ||
802 | @@ -205,6 +208,7 @@ append_glx_extension_row (GtkInspectorGeneral *gen, | ||
803 | add_check_row (gen, GTK_LIST_BOX (gen->priv->gl_box), ext, epoxy_has_glx_extension (dpy, 0, ext), 0); | ||
804 | } | ||
805 | #endif | ||
806 | +#endif | ||
807 | |||
808 | #ifdef GDK_WINDOWING_WAYLAND | ||
809 | static void | ||
810 | @@ -254,6 +258,7 @@ wayland_get_display (struct wl_display *wl_display) | ||
811 | static void | ||
812 | init_gl (GtkInspectorGeneral *gen) | ||
813 | { | ||
814 | +#ifdef HAVE_OPENGL | ||
815 | #ifdef GDK_WINDOWING_X11 | ||
816 | if (GDK_IS_X11_DISPLAY (gdk_display_get_default ())) | ||
817 | { | ||
818 | @@ -280,6 +285,7 @@ init_gl (GtkInspectorGeneral *gen) | ||
819 | } | ||
820 | else | ||
821 | #endif | ||
822 | +#endif | ||
823 | #ifdef GDK_WINDOWING_WAYLAND | ||
824 | if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default ())) | ||
825 | { | ||
826 | diff --git a/tests/Makefile.am b/tests/Makefile.am | ||
827 | index ee1e8b5..e6c6502 100644 | ||
828 | --- a/tests/Makefile.am | ||
829 | +++ b/tests/Makefile.am | ||
830 | @@ -80,8 +80,6 @@ noinst_PROGRAMS = $(TEST_PROGS) \ | ||
831 | testfullscreen \ | ||
832 | testgeometry \ | ||
833 | testgiconpixbuf \ | ||
834 | - testglarea \ | ||
835 | - testglblending \ | ||
836 | testgrid \ | ||
837 | testgtk \ | ||
838 | testheaderbar \ | ||
839 | @@ -172,12 +170,18 @@ noinst_PROGRAMS = $(TEST_PROGS) \ | ||
840 | testactionbar \ | ||
841 | testwindowsize \ | ||
842 | testpopover \ | ||
843 | - gdkgears \ | ||
844 | listmodel \ | ||
845 | testpopup \ | ||
846 | testpopupat \ | ||
847 | $(NULL) | ||
848 | |||
849 | +if HAVE_OPENGL | ||
850 | +noinst_PROGRAMS += | ||
851 | + testglarea \ | ||
852 | + testglblending \ | ||
853 | + gdkgears | ||
854 | +endif | ||
855 | + | ||
856 | if USE_WAYLAND | ||
857 | noinst_PROGRAMS += testforeign | ||
858 | endif | ||
859 | diff --git a/testsuite/gtk/objects-finalize.c b/testsuite/gtk/objects-finalize.c | ||
860 | index 24540e3..e0f863a 100644 | ||
861 | --- a/testsuite/gtk/objects-finalize.c | ||
862 | +++ b/testsuite/gtk/objects-finalize.c | ||
863 | @@ -116,7 +116,9 @@ main (int argc, char **argv) | ||
864 | all_types[i] != GDK_TYPE_X11_DEVICE_MANAGER_CORE && | ||
865 | all_types[i] != GDK_TYPE_X11_DEVICE_MANAGER_XI2 && | ||
866 | all_types[i] != GDK_TYPE_X11_DISPLAY_MANAGER && | ||
867 | +#ifdef HAVE_OPENGL | ||
868 | all_types[i] != GDK_TYPE_X11_GL_CONTEXT && | ||
869 | +#endif | ||
870 | #endif | ||
871 | /* Not allowed to finalize a GdkPixbufLoader without calling gdk_pixbuf_loader_close() */ | ||
872 | all_types[i] != GDK_TYPE_PIXBUF_LOADER && | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch b/meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch deleted file mode 100644 index e4bbd799f1..0000000000 --- a/meta/recipes-gnome/gtk+/gtk+3/link_fribidi.patch +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | Link with libfribidi, this is to avoid under linking where these functions are | ||
2 | used but the library is not linked in, and they are marked undefined by BFD linker | ||
3 | but gold linker refuses to link | ||
4 | |||
5 | | ./.libs/libgdk-3.so: error: undefined reference to 'fribidi_get_bidi_type' | ||
6 | |||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | Upstream-Status: Pending | ||
9 | |||
10 | --- a/gdk/Makefile.am | ||
11 | +++ b/gdk/Makefile.am | ||
12 | @@ -55,6 +55,7 @@ LDADD = \ | ||
13 | -version-info $(LT_VERSION_INFO) \ | ||
14 | -export-dynamic \ | ||
15 | -rpath $(libdir) \ | ||
16 | + -lfribidi \ | ||
17 | $(no_undefined) | ||
18 | |||
19 | # | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+3/opengl.patch b/meta/recipes-gnome/gtk+/gtk+3/opengl.patch new file mode 100644 index 0000000000..d846045c24 --- /dev/null +++ b/meta/recipes-gnome/gtk+/gtk+3/opengl.patch | |||
@@ -0,0 +1,735 @@ | |||
1 | From 24a0d767251b81810767e03aa1db8cc497408db3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Fri, 16 Oct 2015 16:35:16 +0300 | ||
4 | Subject: [PATCH] Do not try to initialize GL without libGL | ||
5 | |||
6 | _gdk_x11_screen_update_visuals_for_gl() will end up calling epoxys | ||
7 | GLX api which will exit() if libGL.so.1 is not present. We do not | ||
8 | want that to happen and we don't want every app to have to set | ||
9 | "GDK_GL=disabled" environment variable: so use #ifdef set based on | ||
10 | opengl distro feature. | ||
11 | |||
12 | Upstream is not interested in the fix as it is: Either epoxy should be | ||
13 | fixed (to not exit) or GTK+ possibly could do some additional probing | ||
14 | before calling epoxy APIs. | ||
15 | |||
16 | Upstream-Status: Denied | ||
17 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
18 | --- | ||
19 | demos/gtk-demo/meson.build | 5 ++++- | ||
20 | docs/tools/meson.build | 7 +++++-- | ||
21 | docs/tools/widgets.c | 6 +++++- | ||
22 | gdk/gdkconfig.h.meson | 1 + | ||
23 | gdk/gdkdisplay.c | 4 ++++ | ||
24 | gdk/gdkgl.c | 11 ++++++++++- | ||
25 | gdk/gdkglcontext.c | 6 ++++++ | ||
26 | gdk/gdkwindow.c | 13 +++++++++++++ | ||
27 | gdk/meson.build | 8 +++++++- | ||
28 | gdk/x11/gdkdisplay-x11.c | 6 +++++- | ||
29 | gdk/x11/gdkvisual-x11.c | 5 +++++ | ||
30 | gdk/x11/gdkwindow-x11.c | 4 ++++ | ||
31 | gdk/x11/gdkx-autocleanups.h | 2 ++ | ||
32 | gdk/x11/gdkx.h | 2 ++ | ||
33 | gdk/x11/meson.build | 7 +++++-- | ||
34 | gtk/gtkglarea.c | 19 +++++++++++++++++++ | ||
35 | gtk/inspector/general.c | 6 ++++++ | ||
36 | meson.build | 17 ++++++++++++++--- | ||
37 | meson_options.txt | 2 ++ | ||
38 | tests/meson.build | 9 +++++++-- | ||
39 | testsuite/gtk/objects-finalize.c | 2 ++ | ||
40 | 21 files changed, 128 insertions(+), 14 deletions(-) | ||
41 | |||
42 | diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build | ||
43 | index 252da16..4b57cff 100644 | ||
44 | --- a/demos/gtk-demo/meson.build | ||
45 | +++ b/demos/gtk-demo/meson.build | ||
46 | @@ -28,7 +28,6 @@ demos = files([ | ||
47 | 'fishbowl.c', | ||
48 | 'foreigndrawing.c', | ||
49 | 'gestures.c', | ||
50 | - 'glarea.c', | ||
51 | 'headerbar.c', | ||
52 | 'hypertext.c', | ||
53 | 'iconview.c', | ||
54 | @@ -87,6 +86,10 @@ elif harfbuzz_dep.found() and pangoft_dep.found() | ||
55 | gtkdemo_deps += [harfbuzz_dep, pangoft_dep] | ||
56 | endif | ||
57 | |||
58 | +if opengl_enabled | ||
59 | + demos += files('glarea.c') | ||
60 | +endif | ||
61 | + | ||
62 | if os_unix | ||
63 | demos += files('pagesetup.c') | ||
64 | endif | ||
65 | diff --git a/docs/tools/meson.build b/docs/tools/meson.build | ||
66 | index 05621ee..3d0a333 100644 | ||
67 | --- a/docs/tools/meson.build | ||
68 | +++ b/docs/tools/meson.build | ||
69 | @@ -2,10 +2,13 @@ if x11_enabled | ||
70 | doc_shooter_sources = [ | ||
71 | 'shadow.c', | ||
72 | 'shooter.c', | ||
73 | - 'widgets.c', | ||
74 | - '../../tests/gtkgears.c', | ||
75 | + 'widgets.c' | ||
76 | ] | ||
77 | |||
78 | + if opengl_enabled | ||
79 | + doc_shooter_sources += ['../../tests/gtkgears.c'] | ||
80 | + endif | ||
81 | + | ||
82 | doc_shooter = executable('doc-shooter', doc_shooter_sources, | ||
83 | include_directories: [ confinc, gdkinc, gtkinc, testinc, ], | ||
84 | dependencies: libgtk_dep) | ||
85 | diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c | ||
86 | index 932daf1..348807e 100644 | ||
87 | --- a/docs/tools/widgets.c | ||
88 | +++ b/docs/tools/widgets.c | ||
89 | @@ -8,7 +8,9 @@ | ||
90 | #include <X11/Xatom.h> | ||
91 | #include <gdkx.h> | ||
92 | #include "widgets.h" | ||
93 | +#ifdef HAVE_OPENGL | ||
94 | #include "gtkgears.h" | ||
95 | +#endif | ||
96 | |||
97 | #define SMALL_WIDTH 240 | ||
98 | #define SMALL_HEIGHT 75 | ||
99 | @@ -1526,9 +1528,11 @@ create_gl_area (void) | ||
100 | widget = gtk_frame_new (NULL); | ||
101 | gtk_frame_set_shadow_type (GTK_FRAME (widget), GTK_SHADOW_IN); | ||
102 | |||
103 | +#ifdef HAVE_OPENGL | ||
104 | gears = gtk_gears_new (); | ||
105 | gtk_container_add (GTK_CONTAINER (widget), gears); | ||
106 | - | ||
107 | +#endif | ||
108 | + | ||
109 | info = new_widget_info ("glarea", widget, MEDIUM); | ||
110 | |||
111 | return info; | ||
112 | diff --git a/gdk/gdkconfig.h.meson b/gdk/gdkconfig.h.meson | ||
113 | index 7db19e0..088651b 100644 | ||
114 | --- a/gdk/gdkconfig.h.meson | ||
115 | +++ b/gdk/gdkconfig.h.meson | ||
116 | @@ -15,6 +15,7 @@ G_BEGIN_DECLS | ||
117 | #mesondefine GDK_WINDOWING_WAYLAND | ||
118 | #mesondefine GDK_WINDOWING_WIN32 | ||
119 | #mesondefine GDK_WINDOWING_QUARTZ | ||
120 | +#mesondefine GDK_WITH_OPENGL | ||
121 | |||
122 | G_END_DECLS | ||
123 | |||
124 | diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c | ||
125 | index fd5e9ea..87b45e7 100644 | ||
126 | --- a/gdk/gdkdisplay.c | ||
127 | +++ b/gdk/gdkdisplay.c | ||
128 | @@ -2420,7 +2420,11 @@ gboolean | ||
129 | gdk_display_make_gl_context_current (GdkDisplay *display, | ||
130 | GdkGLContext *context) | ||
131 | { | ||
132 | +#ifdef HAVE_OPENGL | ||
133 | return GDK_DISPLAY_GET_CLASS (display)->make_gl_context_current (display, context); | ||
134 | +#else | ||
135 | + return FALSE; | ||
136 | +#endif | ||
137 | } | ||
138 | |||
139 | GdkRenderingMode | ||
140 | diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c | ||
141 | index 0940c06..4b56614 100644 | ||
142 | --- a/gdk/gdkgl.c | ||
143 | +++ b/gdk/gdkgl.c | ||
144 | @@ -21,8 +21,9 @@ | ||
145 | #include "gdkglcontextprivate.h" | ||
146 | |||
147 | #include "gdkinternals.h" | ||
148 | - | ||
149 | +#ifdef HAVE_OPENGL | ||
150 | #include <epoxy/gl.h> | ||
151 | +#endif | ||
152 | #include <math.h> | ||
153 | #include <string.h> | ||
154 | |||
155 | @@ -36,6 +37,7 @@ gdk_cairo_surface_mark_as_direct (cairo_surface_t *surface, | ||
156 | g_object_ref (window), g_object_unref); | ||
157 | } | ||
158 | |||
159 | +#ifdef HAVE_OPENGL | ||
160 | static const char * | ||
161 | get_vertex_type_name (int type) | ||
162 | { | ||
163 | @@ -208,6 +210,7 @@ use_texture_rect_program (GdkGLContextPaintData *paint_data) | ||
164 | glUseProgram (paint_data->current_program->program); | ||
165 | } | ||
166 | } | ||
167 | +#endif | ||
168 | |||
169 | void | ||
170 | gdk_gl_texture_quads (GdkGLContext *paint_context, | ||
171 | @@ -216,6 +219,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context, | ||
172 | GdkTexturedQuad *quads, | ||
173 | gboolean flip_colors) | ||
174 | { | ||
175 | +#ifdef HAVE_OPENGL | ||
176 | GdkGLContextPaintData *paint_data = gdk_gl_context_get_paint_data (paint_context); | ||
177 | GdkGLContextProgram *program; | ||
178 | GdkWindow *window = gdk_gl_context_get_window (paint_context); | ||
179 | @@ -289,6 +293,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context, | ||
180 | |||
181 | glDisableVertexAttribArray (program->position_location); | ||
182 | glDisableVertexAttribArray (program->uv_location); | ||
183 | +#endif | ||
184 | } | ||
185 | |||
186 | /* x,y,width,height describes a rectangle in the gl render buffer | ||
187 | @@ -337,6 +342,7 @@ gdk_cairo_draw_from_gl (cairo_t *cr, | ||
188 | int width, | ||
189 | int height) | ||
190 | { | ||
191 | +#ifdef HAVE_OPENGL | ||
192 | GdkGLContext *paint_context, *current_context; | ||
193 | cairo_surface_t *image; | ||
194 | cairo_matrix_t matrix; | ||
195 | @@ -727,6 +733,7 @@ out: | ||
196 | if (clip_region) | ||
197 | cairo_region_destroy (clip_region); | ||
198 | |||
199 | +#endif | ||
200 | } | ||
201 | |||
202 | /* This is always called with the paint context current */ | ||
203 | @@ -734,6 +741,7 @@ void | ||
204 | gdk_gl_texture_from_surface (cairo_surface_t *surface, | ||
205 | cairo_region_t *region) | ||
206 | { | ||
207 | +#ifdef HAVE_OPENGL | ||
208 | GdkGLContext *paint_context; | ||
209 | cairo_surface_t *image; | ||
210 | double device_x_offset, device_y_offset; | ||
211 | @@ -834,4 +842,5 @@ gdk_gl_texture_from_surface (cairo_surface_t *surface, | ||
212 | |||
213 | glDisable (GL_SCISSOR_TEST); | ||
214 | glDeleteTextures (1, &texture_id); | ||
215 | +#endif | ||
216 | } | ||
217 | diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c | ||
218 | index cb0ed90..7ed74f3 100644 | ||
219 | --- a/gdk/gdkglcontext.c | ||
220 | +++ b/gdk/gdkglcontext.c | ||
221 | @@ -85,7 +85,9 @@ | ||
222 | #include "gdkintl.h" | ||
223 | #include "gdk-private.h" | ||
224 | |||
225 | +#ifdef HAVE_OPENGL | ||
226 | #include <epoxy/gl.h> | ||
227 | +#endif | ||
228 | |||
229 | typedef struct { | ||
230 | GdkDisplay *display; | ||
231 | @@ -246,6 +248,7 @@ gdk_gl_context_upload_texture (GdkGLContext *context, | ||
232 | int height, | ||
233 | guint texture_target) | ||
234 | { | ||
235 | +#ifdef HAVE_OPENGL | ||
236 | GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context); | ||
237 | |||
238 | g_return_if_fail (GDK_IS_GL_CONTEXT (context)); | ||
239 | @@ -289,6 +292,7 @@ gdk_gl_context_upload_texture (GdkGLContext *context, | ||
240 | glTexSubImage2D (texture_target, 0, 0, i, width, 1, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, (unsigned char*) data + (i * stride)); | ||
241 | } | ||
242 | } | ||
243 | +#endif | ||
244 | } | ||
245 | |||
246 | static gboolean | ||
247 | @@ -801,6 +805,7 @@ gdk_gl_context_realize (GdkGLContext *context, | ||
248 | static void | ||
249 | gdk_gl_context_check_extensions (GdkGLContext *context) | ||
250 | { | ||
251 | +#ifdef HAVE_OPENGL | ||
252 | GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context); | ||
253 | gboolean has_npot, has_texture_rectangle; | ||
254 | |||
255 | @@ -888,6 +893,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context) | ||
256 | priv->use_texture_rectangle ? "yes" : "no")); | ||
257 | |||
258 | priv->extensions_checked = TRUE; | ||
259 | +#endif | ||
260 | } | ||
261 | |||
262 | /** | ||
263 | diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c | ||
264 | index 62e0cf8..b8bda71 100644 | ||
265 | --- a/gdk/gdkwindow.c | ||
266 | +++ b/gdk/gdkwindow.c | ||
267 | @@ -45,7 +45,9 @@ | ||
268 | |||
269 | #include <math.h> | ||
270 | |||
271 | +#ifdef HAVE_OPENGL | ||
272 | #include <epoxy/gl.h> | ||
273 | +#endif | ||
274 | |||
275 | /* for the use of round() */ | ||
276 | #include "fallback-c89.c" | ||
277 | @@ -2844,6 +2846,13 @@ gdk_window_get_paint_gl_context (GdkWindow *window, | ||
278 | { | ||
279 | GError *internal_error = NULL; | ||
280 | |||
281 | +#ifndef HAVE_OPENGL | ||
282 | + g_set_error_literal (error, GDK_GL_ERROR, | ||
283 | + GDK_GL_ERROR_NOT_AVAILABLE, | ||
284 | + _("GL support disabled with --disable-opengl")); | ||
285 | + return NULL; | ||
286 | +#endif | ||
287 | + | ||
288 | if (_gdk_gl_flags & GDK_GL_DISABLE) | ||
289 | { | ||
290 | g_set_error_literal (error, GDK_GL_ERROR, | ||
291 | @@ -2979,6 +2988,7 @@ gdk_window_begin_paint_internal (GdkWindow *window, | ||
292 | } | ||
293 | else | ||
294 | { | ||
295 | +#ifdef HAVE_OPENGL | ||
296 | gdk_gl_context_make_current (context); | ||
297 | /* With gl we always need a surface to combine the gl | ||
298 | drawing with the native drawing. */ | ||
299 | @@ -2993,6 +3003,7 @@ gdk_window_begin_paint_internal (GdkWindow *window, | ||
300 | glBlendFunc (GL_ONE, GL_ONE_MINUS_SRC_ALPHA); | ||
301 | |||
302 | glViewport (0, 0, ww, wh); | ||
303 | +#endif | ||
304 | } | ||
305 | } | ||
306 | |||
307 | @@ -3056,6 +3067,7 @@ gdk_window_end_paint_internal (GdkWindow *window) | ||
308 | |||
309 | gdk_gl_context_make_current (window->gl_paint_context); | ||
310 | |||
311 | +#ifdef HAVE_OPENGL | ||
312 | if (!cairo_region_is_empty (opaque_region)) | ||
313 | gdk_gl_texture_from_surface (window->current_paint.surface, | ||
314 | opaque_region); | ||
315 | @@ -3066,6 +3078,7 @@ gdk_window_end_paint_internal (GdkWindow *window) | ||
316 | window->current_paint.need_blend_region); | ||
317 | glDisable(GL_BLEND); | ||
318 | } | ||
319 | +#endif | ||
320 | |||
321 | cairo_region_destroy (opaque_region); | ||
322 | |||
323 | diff --git a/gdk/meson.build b/gdk/meson.build | ||
324 | index 297c38c..fc71f8f 100644 | ||
325 | --- a/gdk/meson.build | ||
326 | +++ b/gdk/meson.build | ||
327 | @@ -56,7 +56,6 @@ gdk_gir_public_headers = files( | ||
328 | 'gdkdrawingcontext.h', | ||
329 | 'gdkevents.h', | ||
330 | 'gdkframetimings.h', | ||
331 | - 'gdkglcontext.h', | ||
332 | 'gdkkeys.h', | ||
333 | 'gdkkeysyms.h', | ||
334 | 'gdkmain.h', | ||
335 | @@ -78,6 +77,12 @@ gdk_gir_public_headers = files( | ||
336 | 'gdkwindow.h', | ||
337 | ) | ||
338 | gdk_nogir_public_headers = [files('gdkkeysyms-compat.h')] | ||
339 | +if opengl_enabled | ||
340 | +gdk_gir_public_headers += files('gdkglcontext.h') | ||
341 | +else | ||
342 | +gdk_nogir_public_headers += files('gdkglcontext.h') | ||
343 | +endif | ||
344 | + | ||
345 | gdk_public_headers = gdk_gir_public_headers + gdk_nogir_public_headers | ||
346 | install_headers(gdk_public_headers, subdir : 'gtk-3.0/gdk') | ||
347 | |||
348 | @@ -166,6 +171,7 @@ gdkconfig_cdata.set('GDK_WINDOWING_WAYLAND', wayland_enabled) | ||
349 | gdkconfig_cdata.set('GDK_WINDOWING_WIN32', win32_enabled) | ||
350 | gdkconfig_cdata.set('GDK_WINDOWING_BROADWAY', broadway_enabled) | ||
351 | gdkconfig_cdata.set('GDK_WINDOWING_QUARTZ', quartz_enabled) | ||
352 | +gdkconfig_cdata.set('GDK_WITH_OPENGL', opengl_enabled) | ||
353 | |||
354 | gdkconfig = configure_file( | ||
355 | input : 'gdkconfig.h.meson', | ||
356 | diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c | ||
357 | index 7e08f47..30fd7b6 100644 | ||
358 | --- a/gdk/x11/gdkdisplay-x11.c | ||
359 | +++ b/gdk/x11/gdkdisplay-x11.c | ||
360 | @@ -37,7 +37,9 @@ | ||
361 | #include "gdkdisplay-x11.h" | ||
362 | #include "gdkprivate-x11.h" | ||
363 | #include "gdkscreen-x11.h" | ||
364 | +#ifdef HAVE_OPENGL | ||
365 | #include "gdkglcontext-x11.h" | ||
366 | +#endif | ||
367 | #include "gdk-private.h" | ||
368 | #include "gdkprofilerprivate.h" | ||
369 | |||
370 | @@ -3191,7 +3193,9 @@ gdk_x11_display_class_init (GdkX11DisplayClass * class) | ||
371 | display_class->text_property_to_utf8_list = _gdk_x11_display_text_property_to_utf8_list; | ||
372 | display_class->utf8_to_string_target = _gdk_x11_display_utf8_to_string_target; | ||
373 | |||
374 | - display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current; | ||
375 | +#ifdef HAVE_OPENGL | ||
376 | + display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current; | ||
377 | +#endif | ||
378 | |||
379 | display_class->get_default_seat = gdk_x11_display_get_default_seat; | ||
380 | |||
381 | diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c | ||
382 | index 81479d8..3c8c5c0 100644 | ||
383 | --- a/gdk/x11/gdkvisual-x11.c | ||
384 | +++ b/gdk/x11/gdkvisual-x11.c | ||
385 | @@ -306,7 +306,12 @@ _gdk_x11_screen_init_visuals (GdkScreen *screen) | ||
386 | /* If GL is available we want to pick better default/rgba visuals, | ||
387 | as we care about glx details such as alpha/depth/stencil depth, | ||
388 | stereo and double buffering */ | ||
389 | + /* update_visuals_for_gl() will end up calling epoxy GLX api which | ||
390 | + will exit if libgl is not there: so only do this if we know GL | ||
391 | + is available */ | ||
392 | +#ifdef HAVE_GLX | ||
393 | _gdk_x11_screen_update_visuals_for_gl (screen); | ||
394 | +#endif | ||
395 | } | ||
396 | |||
397 | gint | ||
398 | diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c | ||
399 | index 89f0666..d3e1440 100644 | ||
400 | --- a/gdk/x11/gdkwindow-x11.c | ||
401 | +++ b/gdk/x11/gdkwindow-x11.c | ||
402 | @@ -36,7 +36,9 @@ | ||
403 | #include "gdkasync.h" | ||
404 | #include "gdkeventsource.h" | ||
405 | #include "gdkdisplay-x11.h" | ||
406 | +#ifdef HAVE_OPENGL | ||
407 | #include "gdkglcontext-x11.h" | ||
408 | +#endif | ||
409 | #include "gdkprivate-x11.h" | ||
410 | #include "gdk-private.h" | ||
411 | |||
412 | @@ -5906,7 +5908,9 @@ gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass) | ||
413 | impl_class->set_opaque_region = gdk_x11_window_set_opaque_region; | ||
414 | impl_class->set_shadow_width = gdk_x11_window_set_shadow_width; | ||
415 | impl_class->show_window_menu = gdk_x11_window_show_window_menu; | ||
416 | +#ifdef HAVE_OPENGL | ||
417 | impl_class->create_gl_context = gdk_x11_window_create_gl_context; | ||
418 | impl_class->invalidate_for_new_frame = gdk_x11_window_invalidate_for_new_frame; | ||
419 | +#endif | ||
420 | impl_class->get_unscaled_size = gdk_x11_window_get_unscaled_size; | ||
421 | } | ||
422 | diff --git a/gdk/x11/gdkx-autocleanups.h b/gdk/x11/gdkx-autocleanups.h | ||
423 | index edb0ea7..a317d61 100644 | ||
424 | --- a/gdk/x11/gdkx-autocleanups.h | ||
425 | +++ b/gdk/x11/gdkx-autocleanups.h | ||
426 | @@ -30,7 +30,9 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DeviceXI2, g_object_unref) | ||
427 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Display, g_object_unref) | ||
428 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DisplayManager, g_object_unref) | ||
429 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DragContext, g_object_unref) | ||
430 | +#ifdef HAVE_OPENGL | ||
431 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11GLContext, g_object_unref) | ||
432 | +#endif | ||
433 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Keymap, g_object_unref) | ||
434 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Screen, g_object_unref) | ||
435 | G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Visual, g_object_unref) | ||
436 | diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h | ||
437 | index 1f64bcc..4db6c18 100644 | ||
438 | --- a/gdk/x11/gdkx.h | ||
439 | +++ b/gdk/x11/gdkx.h | ||
440 | @@ -43,7 +43,9 @@ | ||
441 | #include <gdk/x11/gdkx11display.h> | ||
442 | #include <gdk/x11/gdkx11displaymanager.h> | ||
443 | #include <gdk/x11/gdkx11dnd.h> | ||
444 | +#ifdef GDK_WITH_OPENGL | ||
445 | #include <gdk/x11/gdkx11glcontext.h> | ||
446 | +#endif | ||
447 | #include <gdk/x11/gdkx11keys.h> | ||
448 | #include <gdk/x11/gdkx11monitor.h> | ||
449 | #include <gdk/x11/gdkx11property.h> | ||
450 | diff --git a/gdk/x11/meson.build b/gdk/x11/meson.build | ||
451 | index 754ae0a..0318c83 100644 | ||
452 | --- a/gdk/x11/meson.build | ||
453 | +++ b/gdk/x11/meson.build | ||
454 | @@ -14,7 +14,6 @@ gdk_x11_sources = files( | ||
455 | 'gdkeventsource.c', | ||
456 | 'gdkeventtranslator.c', | ||
457 | 'gdkgeometry-x11.c', | ||
458 | - 'gdkglcontext-x11.c', | ||
459 | 'gdkkeys-x11.c', | ||
460 | 'gdkmain-x11.c', | ||
461 | 'gdkproperty-x11.c', | ||
462 | @@ -42,7 +41,6 @@ gdk_x11_public_headers = files( | ||
463 | 'gdkx11display.h', | ||
464 | 'gdkx11displaymanager.h', | ||
465 | 'gdkx11dnd.h', | ||
466 | - 'gdkx11glcontext.h', | ||
467 | 'gdkx11keys.h', | ||
468 | 'gdkx11monitor.h', | ||
469 | 'gdkx11property.h', | ||
470 | @@ -53,6 +51,11 @@ gdk_x11_public_headers = files( | ||
471 | 'gdkx11window.h', | ||
472 | ) | ||
473 | |||
474 | +if opengl_enabled | ||
475 | + gdk_x11_sources += files('gdkglcontext-x11.c') | ||
476 | + gdk_x11_public_headers += files('gdkx11glcontext.h') | ||
477 | +endif | ||
478 | + | ||
479 | install_headers(gdk_x11_public_headers, subdir: 'gtk-3.0/gdk/x11/') | ||
480 | install_headers('gdkx.h', subdir: 'gtk-3.0/gdk/') | ||
481 | |||
482 | diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c | ||
483 | index 802303e..6439d77 100644 | ||
484 | --- a/gtk/gtkglarea.c | ||
485 | +++ b/gtk/gtkglarea.c | ||
486 | @@ -29,7 +29,9 @@ | ||
487 | #include "gtkprivate.h" | ||
488 | #include "gtkrender.h" | ||
489 | |||
490 | +#ifdef HAVE_OPENGL | ||
491 | #include <epoxy/gl.h> | ||
492 | +#endif | ||
493 | |||
494 | /** | ||
495 | * SECTION:gtkglarea | ||
496 | @@ -369,9 +371,12 @@ gtk_gl_area_real_create_context (GtkGLArea *area) | ||
497 | static void | ||
498 | gtk_gl_area_resize (GtkGLArea *area, int width, int height) | ||
499 | { | ||
500 | +#ifdef HAVE_OPENGL | ||
501 | glViewport (0, 0, width, height); | ||
502 | +#endif | ||
503 | } | ||
504 | |||
505 | +#ifdef HAVE_OPENGL | ||
506 | /* | ||
507 | * Creates all the buffer objects needed for rendering the scene | ||
508 | */ | ||
509 | @@ -483,6 +488,7 @@ gtk_gl_area_allocate_buffers (GtkGLArea *area) | ||
510 | |||
511 | priv->needs_render = TRUE; | ||
512 | } | ||
513 | +#endif | ||
514 | |||
515 | /** | ||
516 | * gtk_gl_area_attach_buffers: | ||
517 | @@ -501,6 +507,7 @@ gtk_gl_area_allocate_buffers (GtkGLArea *area) | ||
518 | void | ||
519 | gtk_gl_area_attach_buffers (GtkGLArea *area) | ||
520 | { | ||
521 | +#ifdef HAVE_OPENGL | ||
522 | GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area); | ||
523 | |||
524 | g_return_if_fail (GTK_IS_GL_AREA (area)); | ||
525 | @@ -533,11 +540,13 @@ gtk_gl_area_attach_buffers (GtkGLArea *area) | ||
526 | glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, | ||
527 | GL_RENDERBUFFER, priv->depth_stencil_buffer); | ||
528 | } | ||
529 | +#endif | ||
530 | } | ||
531 | |||
532 | static void | ||
533 | gtk_gl_area_delete_buffers (GtkGLArea *area) | ||
534 | { | ||
535 | +#ifdef HAVE_OPENGL | ||
536 | GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area); | ||
537 | |||
538 | if (priv->context == NULL) | ||
539 | @@ -569,6 +578,7 @@ gtk_gl_area_delete_buffers (GtkGLArea *area) | ||
540 | glDeleteFramebuffers (1, &priv->frame_buffer); | ||
541 | priv->frame_buffer = 0; | ||
542 | } | ||
543 | +#endif | ||
544 | } | ||
545 | |||
546 | static void | ||
547 | @@ -679,6 +689,7 @@ gtk_gl_area_draw (GtkWidget *widget, | ||
548 | GtkGLArea *area = GTK_GL_AREA (widget); | ||
549 | GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area); | ||
550 | gboolean unused; | ||
551 | +#ifdef HAVE_OPENGL | ||
552 | int w, h, scale; | ||
553 | GLenum status; | ||
554 | |||
555 | @@ -736,6 +747,14 @@ gtk_gl_area_draw (GtkWidget *widget, | ||
556 | } | ||
557 | |||
558 | return TRUE; | ||
559 | +#else | ||
560 | + if (priv->error != NULL) | ||
561 | + gtk_gl_area_draw_error_screen (area, | ||
562 | + cr, | ||
563 | + gtk_widget_get_allocated_width (widget), | ||
564 | + gtk_widget_get_allocated_height (widget)); | ||
565 | + return FALSE; | ||
566 | +#endif | ||
567 | } | ||
568 | |||
569 | static gboolean | ||
570 | diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c | ||
571 | index a3a3419..274600e 100644 | ||
572 | --- a/gtk/inspector/general.c | ||
573 | +++ b/gtk/inspector/general.c | ||
574 | @@ -35,8 +35,10 @@ | ||
575 | |||
576 | #ifdef GDK_WINDOWING_X11 | ||
577 | #include "x11/gdkx.h" | ||
578 | +#ifdef HAVE_OPENGL | ||
579 | #include <epoxy/glx.h> | ||
580 | #endif | ||
581 | +#endif | ||
582 | |||
583 | #ifdef GDK_WINDOWING_WIN32 | ||
584 | #include "win32/gdkwin32.h" | ||
585 | @@ -221,6 +223,7 @@ add_label_row (GtkInspectorGeneral *gen, | ||
586 | gtk_size_group_add_widget (GTK_SIZE_GROUP (gen->priv->labels), label); | ||
587 | } | ||
588 | |||
589 | +#ifdef HAVE_OPENGL | ||
590 | #ifdef GDK_WINDOWING_X11 | ||
591 | static void | ||
592 | append_glx_extension_row (GtkInspectorGeneral *gen, | ||
593 | @@ -230,6 +233,7 @@ append_glx_extension_row (GtkInspectorGeneral *gen, | ||
594 | add_check_row (gen, GTK_LIST_BOX (gen->priv->gl_box), ext, epoxy_has_glx_extension (dpy, 0, ext), 0); | ||
595 | } | ||
596 | #endif | ||
597 | +#endif | ||
598 | |||
599 | #ifdef GDK_WINDOWING_WAYLAND | ||
600 | static void | ||
601 | @@ -279,6 +283,7 @@ wayland_get_display (struct wl_display *wl_display) | ||
602 | static void | ||
603 | init_gl (GtkInspectorGeneral *gen) | ||
604 | { | ||
605 | +#ifdef HAVE_OPENGL | ||
606 | #ifdef GDK_WINDOWING_X11 | ||
607 | if (GDK_IS_X11_DISPLAY (gdk_display_get_default ())) | ||
608 | { | ||
609 | @@ -305,6 +310,7 @@ init_gl (GtkInspectorGeneral *gen) | ||
610 | } | ||
611 | else | ||
612 | #endif | ||
613 | +#endif | ||
614 | #ifdef GDK_WINDOWING_WAYLAND | ||
615 | if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default ())) | ||
616 | { | ||
617 | diff --git a/meson.build b/meson.build | ||
618 | index 67b24e5..c1cc09a 100644 | ||
619 | --- a/meson.build | ||
620 | +++ b/meson.build | ||
621 | @@ -137,6 +137,7 @@ wayland_enabled = get_option('wayland_backend') | ||
622 | broadway_enabled = get_option('broadway_backend') | ||
623 | quartz_enabled = get_option('quartz_backend') | ||
624 | win32_enabled = get_option('win32_backend') | ||
625 | +opengl_enabled = get_option('opengl') | ||
626 | |||
627 | os_unix = false | ||
628 | os_linux = false | ||
629 | @@ -430,7 +431,7 @@ pangocairo_dep = dependency('pangocairo', version: cairo_req, | ||
630 | fallback : ['pango', 'libpangocairo_dep']) | ||
631 | pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req, | ||
632 | fallback : ['gdk-pixbuf', 'gdkpixbuf_dep']) | ||
633 | -epoxy_dep = dependency('epoxy', version: epoxy_req, | ||
634 | +epoxy_dep = dependency('epoxy', version: epoxy_req, required: opengl_enabled, | ||
635 | fallback: ['libepoxy', 'libepoxy_dep']) | ||
636 | atk_dep = dependency('atk', version: atk_req, | ||
637 | fallback : ['atk', 'libatk_dep']) | ||
638 | @@ -476,6 +477,10 @@ if tracker3_enabled | ||
639 | endif | ||
640 | endif | ||
641 | |||
642 | +if opengl_enabled | ||
643 | + cdata.set('HAVE_OPENGL', 1) | ||
644 | +endif | ||
645 | + | ||
646 | if iso_codes_dep.found() | ||
647 | cdata.set_quoted('ISO_CODES_PREFIX', iso_codes_dep.get_variable(pkgconfig: 'prefix')) | ||
648 | else | ||
649 | @@ -914,9 +919,15 @@ else | ||
650 | gio_packages = ['gio-2.0', glib_req] | ||
651 | endif | ||
652 | |||
653 | +if opengl_enabled | ||
654 | + epoxy_packages = ['epoxy', epoxy_req] | ||
655 | +else | ||
656 | + epoxy_packages = [] | ||
657 | +endif | ||
658 | + | ||
659 | pkgconf.set('GDK_PRIVATE_PACKAGES', | ||
660 | ' '.join(gio_packages + x11_pkgs + wayland_pkgs + cairo_backends + | ||
661 | - ['epoxy', epoxy_req] + cloudproviders_packages + | ||
662 | + epoxy_packages + cloudproviders_packages + | ||
663 | ['fribidi', fribidi_req])) | ||
664 | |||
665 | gtk_packages = ' '.join([ | ||
666 | @@ -930,7 +941,7 @@ pkgconf.set('GTK_PACKAGES', gtk_packages) | ||
667 | # Requires.private | ||
668 | pc_gdk_extra_libs += cairo_libs | ||
669 | |||
670 | -gtk_private_packages = atk_pkgs + wayland_pkgs + ['epoxy', epoxy_req, 'fribidi', fribidi_req] | ||
671 | +gtk_private_packages = atk_pkgs + wayland_pkgs + epoxy_packages + ['fribidi', fribidi_req] | ||
672 | if wayland_enabled or x11_enabled | ||
673 | gtk_private_packages += ['pangoft2'] | ||
674 | endif | ||
675 | diff --git a/meson_options.txt b/meson_options.txt | ||
676 | index 94099aa..8bd0968 100644 | ||
677 | --- a/meson_options.txt | ||
678 | +++ b/meson_options.txt | ||
679 | @@ -19,6 +19,8 @@ option('profiler', type: 'boolean', value: false, | ||
680 | description : 'Enable profiler support') | ||
681 | option('tracker3', type: 'boolean', value: false, | ||
682 | description : 'Enable Tracker3 filechooser search') | ||
683 | +option('opengl', type: 'boolean', value: true, | ||
684 | + description : 'Enable use of GL') | ||
685 | |||
686 | # Print backends | ||
687 | option('print_backends', type : 'string', value : 'auto', | ||
688 | diff --git a/tests/meson.build b/tests/meson.build | ||
689 | index 6ff249f..f2a9fba 100644 | ||
690 | --- a/tests/meson.build | ||
691 | +++ b/tests/meson.build | ||
692 | @@ -5,7 +5,6 @@ gtk_tests = [ | ||
693 | ['scrolling-performance', ['frame-stats.c', 'variable.c']], | ||
694 | ['blur-performance', ['../gtk/gtkcairoblur.c']], | ||
695 | ['flicker'], | ||
696 | - ['gdkgears', ['gtkgears.c']], | ||
697 | ['listmodel'], | ||
698 | ['motion-compression'], | ||
699 | ['styleexamples'], | ||
700 | @@ -55,7 +54,6 @@ gtk_tests = [ | ||
701 | ['testfullscreen'], | ||
702 | ['testgeometry'], | ||
703 | ['testgiconpixbuf'], | ||
704 | - ['testglblending', ['gtkgears.c']], | ||
705 | ['testgmenu'], | ||
706 | ['testgrid'], | ||
707 | ['testgrouping'], | ||
708 | @@ -138,6 +136,13 @@ if x11_enabled | ||
709 | ] | ||
710 | endif | ||
711 | |||
712 | +if opengl_enabled | ||
713 | + gtk_tests += [ | ||
714 | + ['gdkgears', ['gtkgears.c']], | ||
715 | + ['testglblending', ['gtkgears.c']], | ||
716 | + ] | ||
717 | +endif | ||
718 | + | ||
719 | if os_linux | ||
720 | gtk_tests += [['testfontchooserdialog']] | ||
721 | endif | ||
722 | diff --git a/testsuite/gtk/objects-finalize.c b/testsuite/gtk/objects-finalize.c | ||
723 | index 95b565c..7f340c3 100644 | ||
724 | --- a/testsuite/gtk/objects-finalize.c | ||
725 | +++ b/testsuite/gtk/objects-finalize.c | ||
726 | @@ -109,7 +109,9 @@ main (int argc, char **argv) | ||
727 | all_types[i] != GDK_TYPE_X11_DEVICE_MANAGER_CORE && | ||
728 | all_types[i] != GDK_TYPE_X11_DEVICE_MANAGER_XI2 && | ||
729 | all_types[i] != GDK_TYPE_X11_DISPLAY_MANAGER && | ||
730 | +#ifdef HAVE_OPENGL | ||
731 | all_types[i] != GDK_TYPE_X11_GL_CONTEXT && | ||
732 | +#endif | ||
733 | #endif | ||
734 | /* Not allowed to finalize a GdkPixbufLoader without calling gdk_pixbuf_loader_close() */ | ||
735 | all_types[i] != GDK_TYPE_PIXBUF_LOADER && | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+3_3.24.23.bb b/meta/recipes-gnome/gtk+/gtk+3_3.24.23.bb deleted file mode 100644 index 338b7030e1..0000000000 --- a/meta/recipes-gnome/gtk+/gtk+3_3.24.23.bb +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | require gtk+3.inc | ||
2 | |||
3 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
4 | |||
5 | SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \ | ||
6 | file://0001-Hardcoded-libtool.patch \ | ||
7 | file://0002-Do-not-try-to-initialize-GL-without-libGL.patch \ | ||
8 | file://0003-Add-disable-opengl-configure-option.patch \ | ||
9 | file://link_fribidi.patch \ | ||
10 | " | ||
11 | SRC_URI[sha256sum] = "5d864d248357a2251545b3387b35942de5f66e4c66013f0962eb5cb6f8dae2b1" | ||
12 | |||
13 | S = "${WORKDIR}/gtk+-${PV}" | ||
14 | |||
15 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
16 | file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \ | ||
17 | file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \ | ||
18 | file://tests/testgtk.c;endline=25;md5=cb732daee1d82af7a2bf953cf3cf26f1" | ||
diff --git a/meta/recipes-gnome/gtk+/gtk+3.inc b/meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb index 8d5edb7ee8..5892bb3139 100644 --- a/meta/recipes-gnome/gtk+/gtk+3.inc +++ b/meta/recipes-gnome/gtk+/gtk+3_3.24.43.bb | |||
@@ -1,70 +1,66 @@ | |||
1 | |||
2 | SUMMARY = "Multi-platform toolkit for creating GUIs" | 1 | SUMMARY = "Multi-platform toolkit for creating GUIs" |
3 | DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ | 2 | DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ |
4 | set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." | 3 | set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." |
5 | HOMEPAGE = "http://www.gtk.org" | 4 | HOMEPAGE = "http://www.gtk.org" |
6 | BUGTRACKER = "https://bugzilla.gnome.org/" | 5 | BUGTRACKER = "https://bugzilla.gnome.org/" |
7 | SECTION = "libs" | 6 | SECTION = "libs" |
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
8 | file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \ | ||
9 | file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \ | ||
10 | file://tests/testgtk.c;endline=25;md5=cb732daee1d82af7a2bf953cf3cf26f1" | ||
11 | |||
12 | CVE_PRODUCT = "gnome:gtk gtk:gtk\+" | ||
13 | |||
14 | DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf gdk-pixbuf-native" | ||
15 | |||
16 | LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later" | ||
8 | 17 | ||
9 | DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf \ | 18 | inherit meson gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings features_check gobject-introspection |
10 | gdk-pixbuf-native" | ||
11 | 19 | ||
12 | LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" | 20 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" |
21 | SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \ | ||
22 | file://opengl.patch \ | ||
23 | " | ||
24 | SRC_URI[sha256sum] = "7e04f0648515034b806b74ae5d774d87cffb1a2a96c468cb5be476d51bf2f3c7" | ||
13 | 25 | ||
14 | inherit autotools gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings features_check gobject-introspection | 26 | S = "${UNPACKDIR}/gtk+-${PV}" |
15 | 27 | ||
16 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
17 | 29 | ||
18 | GSETTINGS_PACKAGE_class-native = "" | 30 | GSETTINGS_PACKAGE:class-native = "" |
19 | 31 | ||
20 | # versions >= 3.90 are development versions, otherwise like upstream-version-is-even | 32 | # versions >= 3.90 are development versions, otherwise like upstream-version-is-even |
21 | UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>3\.([1-8]?[02468])+(\.\d+)+)\.tar" | 33 | UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>3\.([1-8]?[02468])+(\.\d+)+)\.tar" |
22 | 34 | ||
23 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 35 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
24 | 36 | ||
25 | # This should be in autotools.bbclass, but until something elses uses it putting | 37 | do_configure:prepend() { |
26 | # it here avoids rebuilding everything. | ||
27 | export PKG_CONFIG_FOR_BUILD = "${STAGING_BINDIR_NATIVE}/pkg-config-native" | ||
28 | |||
29 | do_configure_prepend() { | ||
30 | # Do this because the configure script is running ./libtool directly | ||
31 | rm -f libtool | ||
32 | ln -s ${TARGET_PREFIX}libtool libtool | ||
33 | #delete a file that will get confused with generated one in ${B} | ||
34 | rm -f ${S}/gtk/gtktypefuncs.c | ||
35 | |||
36 | # These files are generated by wayland-scanner but will race over modification | 38 | # These files are generated by wayland-scanner but will race over modification |
37 | # time between the copies in the sysroot from wayland-protocols and the copy | 39 | # time between the copies in the sysroot from wayland-protocols and the copy |
38 | # in the source tree. Solve the race by deleting so they need to be regenerated. | 40 | # in the source tree. Solve the race by deleting so they need to be regenerated. |
39 | # 3.24.22 will not be shipping these files so this can be deleted then: | 41 | rm -f ${S}/modules/input/*-text-input-*.[ch] |
40 | # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2183 | ||
41 | rm -f ${S}/modules/input/text-input-unstable-v3*.[ch] | ||
42 | } | 42 | } |
43 | 43 | ||
44 | EXTRA_OECONF += " \ | 44 | GTKDOC_MESON_OPTION = 'gtk_doc' |
45 | --disable-glibtest \ | ||
46 | --disable-xinerama \ | ||
47 | --enable-modules \ | ||
48 | ${@bb.utils.contains("DISTRO_FEATURES", "x11", "", "--disable-gtk-doc", d)} \ | ||
49 | " | ||
50 | 45 | ||
51 | do_compile_prepend() { | 46 | EXTRA_OEMESON = "-Dxinerama=no -Dtests=false" |
52 | export GIR_EXTRA_LIBS_PATH="${B}/gdk/.libs" | 47 | EXTRA_OEMESON:append:class-native = " -Ddemos=false -Dexamples=false" |
53 | } | ||
54 | 48 | ||
55 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland x11', d)} \ | 49 | PACKAGECONFIG ??= " \ |
56 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'glx', '', d)}" | 50 | ${@bb.utils.filter('DISTRO_FEATURES', 'opengl x11', d)} \ |
57 | PACKAGECONFIG_class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | 51 | ${@bb.utils.contains('DISTRO_FEATURES', 'opengl wayland', 'wayland', '', d)} \ |
58 | PACKAGECONFIG_class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | 52 | " |
53 | PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | ||
54 | PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | ||
59 | 55 | ||
60 | PACKAGECONFIG[x11] = "--enable-x11-backend,--disable-x11-backend,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes" | 56 | PACKAGECONFIG[x11] = "-Dx11_backend=true,-Dx11_backend=false,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes" |
61 | # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build | 57 | # this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build |
62 | PACKAGECONFIG[opengl] = "--enable-opengl,--disable-opengl,libepoxy" | 58 | PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy" |
63 | PACKAGECONFIG[glx] = "--enable-glx,--disable-glx,,libgl" | 59 | PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native" |
64 | PACKAGECONFIG[wayland] = "--enable-wayland-backend,--disable-wayland-backend,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native" | 60 | PACKAGECONFIG[cups] = ",,cups,cups gtk3-printbackend-cups" |
65 | PACKAGECONFIG[cups] = "--enable-cups,--disable-cups,cups" | 61 | PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord" |
66 | PACKAGECONFIG[cloudprint] = "--enable-cloudprint,--disable-cloudprint,rest json-glib" | 62 | PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders" |
67 | PACKAGECONFIG[colord] = "--enable-colord,--disable-colord,colord" | 63 | PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tinysparql,localsearch" |
68 | 64 | ||
69 | prepare_gtk_scripts() { | 65 | prepare_gtk_scripts() { |
70 | mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0 | 66 | mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0 |
@@ -74,15 +70,15 @@ prepare_gtk_scripts() { | |||
74 | ln ${D}${bindir}/gtk-query-immodules-3.0 ${D}${libexecdir}/${MLPREFIX}gtk-query-immodules-3.0 | 70 | ln ${D}${bindir}/gtk-query-immodules-3.0 ${D}${libexecdir}/${MLPREFIX}gtk-query-immodules-3.0 |
75 | } | 71 | } |
76 | 72 | ||
77 | do_install_append_class-target() { | 73 | do_install:append:class-target() { |
78 | prepare_gtk_scripts | 74 | prepare_gtk_scripts |
79 | } | 75 | } |
80 | 76 | ||
81 | do_install_append_class-nativesdk() { | 77 | do_install:append:class-nativesdk() { |
82 | prepare_gtk_scripts | 78 | prepare_gtk_scripts |
83 | } | 79 | } |
84 | 80 | ||
85 | do_install_append_class-native() { | 81 | do_install:append:class-native() { |
86 | create_wrapper ${D}/${bindir}/gtk-update-icon-cache \ | 82 | create_wrapper ${D}/${bindir}/gtk-update-icon-cache \ |
87 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache | 83 | GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache |
88 | create_wrapper ${D}/${bindir}/gtk-encode-symbolic-svg \ | 84 | create_wrapper ${D}/${bindir}/gtk-encode-symbolic-svg \ |
@@ -93,7 +89,7 @@ PROVIDES += "gtk-icon-utils" | |||
93 | PACKAGES =+ "${PN}-demo" | 89 | PACKAGES =+ "${PN}-demo" |
94 | LIBV = "3.0.0" | 90 | LIBV = "3.0.0" |
95 | 91 | ||
96 | FILES_${PN}-demo = "${bindir}/gtk3-demo \ | 92 | FILES:${PN}-demo = "${bindir}/gtk3-demo \ |
97 | ${bindir}/gtk3-demo-application \ | 93 | ${bindir}/gtk3-demo-application \ |
98 | ${bindir}/gtk3-icon-browser \ | 94 | ${bindir}/gtk3-icon-browser \ |
99 | ${bindir}/gtk3-widget-factory \ | 95 | ${bindir}/gtk3-widget-factory \ |
@@ -104,14 +100,15 @@ FILES_${PN}-demo = "${bindir}/gtk3-demo \ | |||
104 | ${datadir}/icons/hicolor/*/apps/gtk3-demo*.png \ | 100 | ${datadir}/icons/hicolor/*/apps/gtk3-demo*.png \ |
105 | ${datadir}/icons/hicolor/*/apps/gtk3-widget-factory*.png" | 101 | ${datadir}/icons/hicolor/*/apps/gtk3-widget-factory*.png" |
106 | 102 | ||
107 | FILES_${PN}_append = " ${bindir}/gtk-update-icon-cache-3.0 \ | 103 | FILES:${PN}:append = " ${bindir}/gtk-update-icon-cache-3.0 \ |
108 | ${bindir}/gtk-query-immodules-3.0 \ | 104 | ${bindir}/gtk-query-immodules-3.0 \ |
109 | ${bindir}/gtk-launch \ | 105 | ${bindir}/gtk-launch \ |
110 | ${datadir}/themes ${sysconfdir} ${datadir}/glib-2.0/schemas/ \ | 106 | ${datadir}/themes ${datadir}/gtk-3.0/emoji \ |
107 | ${sysconfdir} ${datadir}/glib-2.0/schemas/ \ | ||
111 | ${libdir}/gtk-3.0/${LIBV}/engines/libpixmap.so \ | 108 | ${libdir}/gtk-3.0/${LIBV}/engines/libpixmap.so \ |
112 | ${libdir}/gtk-3.0/modules/*.so" | 109 | ${libdir}/gtk-3.0/modules/*.so" |
113 | 110 | ||
114 | FILES_${PN}-dev += " \ | 111 | FILES:${PN}-dev += " \ |
115 | ${datadir}/gtk-3.0/gtkbuilder.rng \ | 112 | ${datadir}/gtk-3.0/gtkbuilder.rng \ |
116 | ${datadir}/gtk-3.0/include \ | 113 | ${datadir}/gtk-3.0/include \ |
117 | ${datadir}/gtk-3.0/valgrind \ | 114 | ${datadir}/gtk-3.0/valgrind \ |
@@ -137,22 +134,23 @@ GTKBASE_RRECOMMENDS ?= "liberation-fonts \ | |||
137 | adwaita-icon-theme-symbolic \ | 134 | adwaita-icon-theme-symbolic \ |
138 | " | 135 | " |
139 | 136 | ||
140 | GTKBASE_RRECOMMENDS_class-native ?= "\ | 137 | GTKBASE_RRECOMMENDS:class-native ?= "\ |
141 | " | 138 | " |
142 | 139 | ||
143 | GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1" | 140 | GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1" |
144 | 141 | ||
145 | RRECOMMENDS_${PN} = "${GTKBASE_RRECOMMENDS}" | 142 | RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}" |
146 | RRECOMMENDS_${PN}_libc-glibc = "${GTKGLIBC_RRECOMMENDS}" | 143 | RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}" |
147 | RDEPENDS_${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}" | 144 | RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}" |
145 | RDEPENDS:${PN}-demo += "librsvg-gtk" | ||
148 | 146 | ||
149 | PACKAGES_DYNAMIC += "^gtk3-immodule-.* ^gtk3-printbackend-.*" | 147 | PACKAGES_DYNAMIC += "^gtk3-immodule-.* ^gtk3-printbackend-.*" |
150 | 148 | ||
151 | ALTERNATIVE_${PN} = "gtk-update-icon-cache" | 149 | ALTERNATIVE:${PN} = "gtk-update-icon-cache" |
152 | ALTERNATIVE_TARGET[gtk-update-icon-cache] = "${bindir}/gtk-update-icon-cache-3.0" | 150 | ALTERNATIVE_TARGET[gtk-update-icon-cache] = "${bindir}/gtk-update-icon-cache-3.0" |
153 | ALTERNATIVE_PRIORITY = "30" | 151 | ALTERNATIVE_PRIORITY = "30" |
154 | 152 | ||
155 | python populate_packages_prepend () { | 153 | python populate_packages:prepend () { |
156 | import os.path | 154 | import os.path |
157 | 155 | ||
158 | gtk_libdir = d.expand('${libdir}/gtk-3.0/${LIBV}') | 156 | gtk_libdir = d.expand('${libdir}/gtk-3.0/${LIBV}') |
@@ -166,5 +164,5 @@ python populate_packages_prepend () { | |||
166 | do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s') | 164 | do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s') |
167 | 165 | ||
168 | if (d.getVar('DEBIAN_NAMES')): | 166 | if (d.getVar('DEBIAN_NAMES')): |
169 | d.setVar(d.expand('PKG_${PN}'), '${MLPREFIX}libgtk-3.0') | 167 | d.setVar(d.expand('PKG:${PN}'), '${MLPREFIX}libgtk-3.0') |
170 | } | 168 | } |
diff --git a/meta/recipes-gnome/gtk+/gtk4_4.18.6.bb b/meta/recipes-gnome/gtk+/gtk4_4.18.6.bb new file mode 100644 index 0000000000..397277a815 --- /dev/null +++ b/meta/recipes-gnome/gtk+/gtk4_4.18.6.bb | |||
@@ -0,0 +1,135 @@ | |||
1 | SUMMARY = "Multi-platform toolkit for creating GUIs" | ||
2 | DESCRIPTION = "GTK is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ | ||
3 | set of widgets, GTK is suitable for projects ranging from small one-off projects to complete application suites." | ||
4 | HOMEPAGE = "http://www.gtk.org" | ||
5 | BUGTRACKER = "https://bugzilla.gnome.org/" | ||
6 | SECTION = "libs" | ||
7 | |||
8 | DEPENDS = " \ | ||
9 | atk \ | ||
10 | cairo \ | ||
11 | fribidi \ | ||
12 | gdk-pixbuf \ | ||
13 | gdk-pixbuf-native \ | ||
14 | glib-2.0 \ | ||
15 | graphene \ | ||
16 | harfbuzz \ | ||
17 | jpeg \ | ||
18 | libdrm \ | ||
19 | libepoxy \ | ||
20 | libpng \ | ||
21 | librsvg \ | ||
22 | libxkbcommon \ | ||
23 | pango \ | ||
24 | python3-docutils-native \ | ||
25 | tiff \ | ||
26 | " | ||
27 | |||
28 | LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later" | ||
29 | LIC_FILES_CHKSUM = " \ | ||
30 | file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ | ||
31 | file://gtk/gtk.h;endline=25;md5=61900d77e8d5bc67cf15ad93de9a3490 \ | ||
32 | file://gdk/gdk.h;endline=25;md5=a0fb26c1f6b94e66d148279e192c333f \ | ||
33 | file://tests/testgtk.c;endline=25;md5=49d06770681b8322466b52ed19d29fb2 \ | ||
34 | " | ||
35 | |||
36 | MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
37 | |||
38 | UPSTREAM_CHECK_REGEX = "gtk-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz" | ||
39 | |||
40 | SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz" | ||
41 | SRC_URI[sha256sum] = "e1817c650ddc3261f9a8345b3b22a26a5d80af154630dedc03cc7becefffd0fa" | ||
42 | |||
43 | S = "${UNPACKDIR}/gtk-${PV}" | ||
44 | |||
45 | CVE_PRODUCT = "gnome:gtk" | ||
46 | |||
47 | inherit meson gettext pkgconfig gi-docgen update-alternatives gsettings features_check gobject-introspection | ||
48 | |||
49 | # TBD: nativesdk | ||
50 | # gobject-introspection.bbclass pins introspection off for nativesk. As long as | ||
51 | # we do not remove this wisdom or hack gtk4, it is not possible to build | ||
52 | # nativesdk-gtk4 | ||
53 | BBCLASSEXTEND = "native" | ||
54 | |||
55 | GSETTINGS_PACKAGE:class-native = "" | ||
56 | |||
57 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
58 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
59 | GIDOCGEN_MESON_OPTION = "documentation" | ||
60 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
61 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
62 | |||
63 | EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Dbuild-demos=false" | ||
64 | |||
65 | PACKAGECONFIG ??= "gstreamer ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)}" | ||
66 | PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | ||
67 | PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}" | ||
68 | |||
69 | PACKAGECONFIG[x11] = "-Dx11-backend=true,-Dx11-backend=false,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes xinerama" | ||
70 | PACKAGECONFIG[wayland] = "-Dwayland-backend=true,-Dwayland-backend=false,wayland wayland-protocols virtual/egl virtual/libgles2 wayland-native" | ||
71 | PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=enabled,-Dcloudproviders=disabled,libcloudproviders" | ||
72 | PACKAGECONFIG[cups] = "-Dprint-cups=enabled,-Dprint-cups=disabled,cups,cups gtk4-printbackend-cups" | ||
73 | PACKAGECONFIG[colord] = "-Dcolord=enabled,-Dcolord=disabled,colord" | ||
74 | PACKAGECONFIG[iso-codes] = ",,iso-codes,iso-codes" | ||
75 | # gtk4 wants gstreamer-player-1.0 -> gstreamer1.0-plugins-bad | ||
76 | PACKAGECONFIG[gstreamer] = "-Dmedia-gstreamer=enabled,-Dmedia-gstreamer=disabled,gstreamer1.0-plugins-bad" | ||
77 | PACKAGECONFIG[tracker] = "-Dtracker=enabled,-Dtracker=disabled,tinysparql,localsearch" | ||
78 | PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled, vulkan-loader vulkan-headers shaderc-native" | ||
79 | |||
80 | # Disable int-conversion warning as error until [1] is fixed | ||
81 | # [1] https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 | ||
82 | CFLAGS += "-Wno-error=int-conversion" | ||
83 | |||
84 | LIBV = "4.0.0" | ||
85 | |||
86 | FILES:${PN}:append = " \ | ||
87 | ${datadir}/glib-2.0/schemas/ \ | ||
88 | ${datadir}/gtk-4.0/emoji/ \ | ||
89 | ${datadir}/metainfo/ \ | ||
90 | ${datadir}/icons/hicolor/*/apps/org.gtk.PrintEditor4*.* \ | ||
91 | ${libdir}/gtk-4.0/${LIBV}/media \ | ||
92 | ${bindir}/gtk4-update-icon-cache \ | ||
93 | ${bindir}/gtk4-launch \ | ||
94 | " | ||
95 | |||
96 | FILES:${PN}-dev += " \ | ||
97 | ${datadir}/gtk-4.0/gtk4builder.rng \ | ||
98 | ${datadir}/gtk-4.0/include \ | ||
99 | ${datadir}/gtk-4.0/valgrind \ | ||
100 | ${datadir}/gettext/its \ | ||
101 | ${bindir}/gtk4-builder-tool \ | ||
102 | ${bindir}/gtk4-encode-symbolic-svg \ | ||
103 | ${bindir}/gtk4-query-settings \ | ||
104 | " | ||
105 | |||
106 | GTKBASE_RRECOMMENDS ?= " \ | ||
107 | liberation-fonts \ | ||
108 | gdk-pixbuf-loader-png \ | ||
109 | gdk-pixbuf-loader-jpeg \ | ||
110 | gdk-pixbuf-loader-gif \ | ||
111 | gdk-pixbuf-loader-xpm \ | ||
112 | shared-mime-info \ | ||
113 | adwaita-icon-theme-symbolic \ | ||
114 | " | ||
115 | |||
116 | GTKBASE_RRECOMMENDS:class-native ?= "" | ||
117 | |||
118 | GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1" | ||
119 | |||
120 | RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}" | ||
121 | RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}" | ||
122 | RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}" | ||
123 | |||
124 | PACKAGES_DYNAMIC += "^gtk4-printbackend-.*" | ||
125 | python populate_packages:prepend () { | ||
126 | import os.path | ||
127 | |||
128 | gtk_libdir = d.expand('${libdir}/gtk-4.0/${LIBV}') | ||
129 | printmodules_root = os.path.join(gtk_libdir, 'printbackends'); | ||
130 | |||
131 | do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$', 'gtk4-printbackend-%s', 'GTK printbackend module for %s') | ||
132 | |||
133 | if (d.getVar('DEBIAN_NAMES')): | ||
134 | d.setVar(d.expand('PKG:${PN}'), '${MLPREFIX}libgtk-4.0') | ||
135 | } | ||
diff --git a/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch b/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch index 99ae4d4417..ee1acda401 100644 --- a/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch +++ b/meta/recipes-gnome/gtk-doc/files/0001-Do-not-error-out-if-xsltproc-is-not-found.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 8b7fbbb405959f2868ad6eadd7dd00018758a8a5 Mon Sep 17 00:00:00 2001 | 1 | From 50d3b9d3ca0e1ff47c8e7559303855530e58839a Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Wed, 7 Sep 2016 14:52:04 +0300 | 3 | Date: Wed, 7 Sep 2016 14:52:04 +0300 |
4 | Subject: [PATCH] Do not error out if xsltproc is not found. | 4 | Subject: [PATCH] Do not error out if xsltproc is not found. |
@@ -14,10 +14,10 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
14 | 1 file changed, 1 insertion(+), 1 deletion(-) | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
15 | 15 | ||
16 | diff --git a/configure.ac b/configure.ac | 16 | diff --git a/configure.ac b/configure.ac |
17 | index b0c88d7..2a61d6e 100644 | 17 | index 8725074..0491090 100644 |
18 | --- a/configure.ac | 18 | --- a/configure.ac |
19 | +++ b/configure.ac | 19 | +++ b/configure.ac |
20 | @@ -58,7 +58,7 @@ dnl Check for xsltproc | 20 | @@ -37,7 +37,7 @@ dnl Check for xsltproc |
21 | dnl | 21 | dnl |
22 | AC_PATH_PROG([XSLTPROC], [xsltproc]) | 22 | AC_PATH_PROG([XSLTPROC], [xsltproc]) |
23 | if test -z "$XSLTPROC"; then | 23 | if test -z "$XSLTPROC"; then |
@@ -26,6 +26,3 @@ index b0c88d7..2a61d6e 100644 | |||
26 | fi | 26 | fi |
27 | 27 | ||
28 | dnl | 28 | dnl |
29 | -- | ||
30 | 2.9.3 | ||
31 | |||
diff --git a/meta/recipes-gnome/gtk-doc/files/0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch b/meta/recipes-gnome/gtk-doc/files/0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch index 19e05f1b99..f329539fa8 100644 --- a/meta/recipes-gnome/gtk-doc/files/0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch +++ b/meta/recipes-gnome/gtk-doc/files/0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 80e6aff72affa6d92f5abd7ff6353dfc4a7bff38 Mon Sep 17 00:00:00 2001 | 1 | From 64163565f8d6853b02e53308a6e6ba23d9d96299 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Wed, 31 Aug 2016 16:44:46 +0300 | 3 | Date: Wed, 31 Aug 2016 16:44:46 +0300 |
4 | Subject: [PATCH] Do not hardocode paths to perl/python in scripts. | 4 | Subject: [PATCH] Do not hardocode paths to perl/python in scripts. |
@@ -9,7 +9,6 @@ on targets either. | |||
9 | 9 | ||
10 | Upstream-Status: Inappropriate [oe-core specific] | 10 | Upstream-Status: Inappropriate [oe-core specific] |
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
12 | |||
13 | --- | 12 | --- |
14 | gtkdoc-check.in | 2 +- | 13 | gtkdoc-check.in | 2 +- |
15 | gtkdoc-depscan.in | 2 +- | 14 | gtkdoc-depscan.in | 2 +- |
@@ -25,7 +24,7 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
25 | 11 files changed, 11 insertions(+), 11 deletions(-) | 24 | 11 files changed, 11 insertions(+), 11 deletions(-) |
26 | 25 | ||
27 | diff --git a/gtkdoc-check.in b/gtkdoc-check.in | 26 | diff --git a/gtkdoc-check.in b/gtkdoc-check.in |
28 | index 8c8e917..f6a25f6 100755 | 27 | index d9e2ad5..9ec526d 100755 |
29 | --- a/gtkdoc-check.in | 28 | --- a/gtkdoc-check.in |
30 | +++ b/gtkdoc-check.in | 29 | +++ b/gtkdoc-check.in |
31 | @@ -1,4 +1,4 @@ | 30 | @@ -1,4 +1,4 @@ |
@@ -35,7 +34,7 @@ index 8c8e917..f6a25f6 100755 | |||
35 | # | 34 | # |
36 | # gtk-doc - GTK DocBook documentation generator. | 35 | # gtk-doc - GTK DocBook documentation generator. |
37 | diff --git a/gtkdoc-depscan.in b/gtkdoc-depscan.in | 36 | diff --git a/gtkdoc-depscan.in b/gtkdoc-depscan.in |
38 | index 9bfaf30..aadc952 100755 | 37 | index c43317c..200837c 100755 |
39 | --- a/gtkdoc-depscan.in | 38 | --- a/gtkdoc-depscan.in |
40 | +++ b/gtkdoc-depscan.in | 39 | +++ b/gtkdoc-depscan.in |
41 | @@ -1,4 +1,4 @@ | 40 | @@ -1,4 +1,4 @@ |
@@ -45,7 +44,7 @@ index 9bfaf30..aadc952 100755 | |||
45 | from __future__ import print_function | 44 | from __future__ import print_function |
46 | 45 | ||
47 | diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in | 46 | diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in |
48 | index 44f6bd1..26fbd93 100755 | 47 | index f9c4905..ed2ead1 100755 |
49 | --- a/gtkdoc-fixxref.in | 48 | --- a/gtkdoc-fixxref.in |
50 | +++ b/gtkdoc-fixxref.in | 49 | +++ b/gtkdoc-fixxref.in |
51 | @@ -1,4 +1,4 @@ | 50 | @@ -1,4 +1,4 @@ |
@@ -55,7 +54,7 @@ index 44f6bd1..26fbd93 100755 | |||
55 | # | 54 | # |
56 | # gtk-doc - GTK DocBook documentation generator. | 55 | # gtk-doc - GTK DocBook documentation generator. |
57 | diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in | 56 | diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in |
58 | index 42d5731..3a56d56 100755 | 57 | index 641f3c4..35e95fb 100755 |
59 | --- a/gtkdoc-mkdb.in | 58 | --- a/gtkdoc-mkdb.in |
60 | +++ b/gtkdoc-mkdb.in | 59 | +++ b/gtkdoc-mkdb.in |
61 | @@ -1,4 +1,4 @@ | 60 | @@ -1,4 +1,4 @@ |
@@ -65,7 +64,7 @@ index 42d5731..3a56d56 100755 | |||
65 | # | 64 | # |
66 | # gtk-doc - GTK DocBook documentation generator. | 65 | # gtk-doc - GTK DocBook documentation generator. |
67 | diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in | 66 | diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in |
68 | index 0d0a15d..914ff55 100755 | 67 | index b09f7a9..8d45966 100755 |
69 | --- a/gtkdoc-mkhtml.in | 68 | --- a/gtkdoc-mkhtml.in |
70 | +++ b/gtkdoc-mkhtml.in | 69 | +++ b/gtkdoc-mkhtml.in |
71 | @@ -1,4 +1,4 @@ | 70 | @@ -1,4 +1,4 @@ |
@@ -75,7 +74,7 @@ index 0d0a15d..914ff55 100755 | |||
75 | # | 74 | # |
76 | # gtk-doc - GTK DocBook documentation generator. | 75 | # gtk-doc - GTK DocBook documentation generator. |
77 | diff --git a/gtkdoc-mkman.in b/gtkdoc-mkman.in | 76 | diff --git a/gtkdoc-mkman.in b/gtkdoc-mkman.in |
78 | index c5445cd..65db71a 100755 | 77 | index 8f7b018..9bac0b6 100755 |
79 | --- a/gtkdoc-mkman.in | 78 | --- a/gtkdoc-mkman.in |
80 | +++ b/gtkdoc-mkman.in | 79 | +++ b/gtkdoc-mkman.in |
81 | @@ -1,4 +1,4 @@ | 80 | @@ -1,4 +1,4 @@ |
@@ -85,7 +84,7 @@ index c5445cd..65db71a 100755 | |||
85 | # | 84 | # |
86 | # gtk-doc - GTK DocBook documentation generator. | 85 | # gtk-doc - GTK DocBook documentation generator. |
87 | diff --git a/gtkdoc-mkpdf.in b/gtkdoc-mkpdf.in | 86 | diff --git a/gtkdoc-mkpdf.in b/gtkdoc-mkpdf.in |
88 | index e8c0c03..f807236 100755 | 87 | index 7dca4b0..808f92d 100755 |
89 | --- a/gtkdoc-mkpdf.in | 88 | --- a/gtkdoc-mkpdf.in |
90 | +++ b/gtkdoc-mkpdf.in | 89 | +++ b/gtkdoc-mkpdf.in |
91 | @@ -1,4 +1,4 @@ | 90 | @@ -1,4 +1,4 @@ |
@@ -95,7 +94,7 @@ index e8c0c03..f807236 100755 | |||
95 | # | 94 | # |
96 | # gtk-doc - GTK DocBook documentation generator. | 95 | # gtk-doc - GTK DocBook documentation generator. |
97 | diff --git a/gtkdoc-rebase.in b/gtkdoc-rebase.in | 96 | diff --git a/gtkdoc-rebase.in b/gtkdoc-rebase.in |
98 | index 17a71c2..ec3fd28 100755 | 97 | index e8b0bf5..a960d8f 100755 |
99 | --- a/gtkdoc-rebase.in | 98 | --- a/gtkdoc-rebase.in |
100 | +++ b/gtkdoc-rebase.in | 99 | +++ b/gtkdoc-rebase.in |
101 | @@ -1,4 +1,4 @@ | 100 | @@ -1,4 +1,4 @@ |
@@ -105,7 +104,7 @@ index 17a71c2..ec3fd28 100755 | |||
105 | # | 104 | # |
106 | # gtk-doc - GTK DocBook documentation generator. | 105 | # gtk-doc - GTK DocBook documentation generator. |
107 | diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in | 106 | diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in |
108 | index 954c811..f461504 100755 | 107 | index 7893ebc..b7eb83d 100755 |
109 | --- a/gtkdoc-scan.in | 108 | --- a/gtkdoc-scan.in |
110 | +++ b/gtkdoc-scan.in | 109 | +++ b/gtkdoc-scan.in |
111 | @@ -1,4 +1,4 @@ | 110 | @@ -1,4 +1,4 @@ |
@@ -115,7 +114,7 @@ index 954c811..f461504 100755 | |||
115 | # | 114 | # |
116 | # gtk-doc - GTK DocBook documentation generator. | 115 | # gtk-doc - GTK DocBook documentation generator. |
117 | diff --git a/gtkdoc-scangobj.in b/gtkdoc-scangobj.in | 116 | diff --git a/gtkdoc-scangobj.in b/gtkdoc-scangobj.in |
118 | index 4cbe130..52c2c24 100755 | 117 | index 7660c70..c6ff072 100755 |
119 | --- a/gtkdoc-scangobj.in | 118 | --- a/gtkdoc-scangobj.in |
120 | +++ b/gtkdoc-scangobj.in | 119 | +++ b/gtkdoc-scangobj.in |
121 | @@ -1,4 +1,4 @@ | 120 | @@ -1,4 +1,4 @@ |
diff --git a/meta/recipes-gnome/gtk-doc/files/conditionaltests.patch b/meta/recipes-gnome/gtk-doc/files/conditionaltests.patch index 21c2db7826..55cae34b46 100644 --- a/meta/recipes-gnome/gtk-doc/files/conditionaltests.patch +++ b/meta/recipes-gnome/gtk-doc/files/conditionaltests.patch | |||
@@ -1,23 +1,22 @@ | |||
1 | From 78bbf185934147a69ceb4b617d424e12e70997bf Mon Sep 17 00:00:00 2001 | 1 | From 9aa9230a305e964b2417daea2b51e43b2dee607c Mon Sep 17 00:00:00 2001 |
2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> | 2 | From: Richard Purdie <richard.purdie@linuxfoundation.org> |
3 | Date: Tue, 27 Jun 2017 21:00:58 +0100 | 3 | Date: Tue, 27 Jun 2017 21:00:58 +0100 |
4 | Subject: [PATCH 3/3] gtk-doc: Handle floating gtk-doc dependency | 4 | Subject: [PATCH] gtk-doc: Handle floating gtk-doc dependency |
5 | 5 | ||
6 | Allow the tests to be explicitly disabled to avoid floating dependnecy | 6 | Allow the tests to be explicitly disabled to avoid floating dependnecy |
7 | issues. This is not really an issue with RSS but is on previous releases. | 7 | issues. This is not really an issue with RSS but is on previous releases. |
8 | 8 | ||
9 | RP 2017/6/27 | 9 | RP 2017/6/27 |
10 | Upstream-Status: Pending | 10 | Upstream-Status: Pending |
11 | |||
12 | --- | 11 | --- |
13 | configure.ac | 10 ++++++++++ | 12 | configure.ac | 10 ++++++++++ |
14 | 1 file changed, 10 insertions(+) | 13 | 1 file changed, 10 insertions(+) |
15 | 14 | ||
16 | diff --git a/configure.ac b/configure.ac | 15 | diff --git a/configure.ac b/configure.ac |
17 | index 684e2d1..e5e3aab 100644 | 16 | index 0491090..4270c88 100644 |
18 | --- a/configure.ac | 17 | --- a/configure.ac |
19 | +++ b/configure.ac | 18 | +++ b/configure.ac |
20 | @@ -146,6 +146,11 @@ if test "x$GCC" = "xyes"; then | 19 | @@ -82,6 +82,11 @@ if test "x$GCC" = "xyes"; then |
21 | fi | 20 | fi |
22 | fi | 21 | fi |
23 | 22 | ||
@@ -29,7 +28,7 @@ index 684e2d1..e5e3aab 100644 | |||
29 | dnl if glib is available we can enable the tests | 28 | dnl if glib is available we can enable the tests |
30 | PKG_CHECK_MODULES(TEST_DEPS, [glib-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0], | 29 | PKG_CHECK_MODULES(TEST_DEPS, [glib-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0], |
31 | [ glib_prefix="`$PKG_CONFIG --variable=prefix glib-2.0`" | 30 | [ glib_prefix="`$PKG_CONFIG --variable=prefix glib-2.0`" |
32 | @@ -156,6 +161,11 @@ PKG_CHECK_MODULES(TEST_DEPS, [glib-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0], | 31 | @@ -92,6 +97,11 @@ PKG_CHECK_MODULES(TEST_DEPS, [glib-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0], |
33 | build_tests="no" | 32 | build_tests="no" |
34 | ] | 33 | ] |
35 | ) | 34 | ) |
@@ -41,6 +40,3 @@ index 684e2d1..e5e3aab 100644 | |||
41 | AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test -n "$LIBTOOL" -a x$gtk_doc_use_libtool = xyes ) | 40 | AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test -n "$LIBTOOL" -a x$gtk_doc_use_libtool = xyes ) |
42 | dnl this enables the rule in test/Makefile.am | 41 | dnl this enables the rule in test/Makefile.am |
43 | AM_CONDITIONAL(BUILD_TESTS, test x$build_tests = xyes) | 42 | AM_CONDITIONAL(BUILD_TESTS, test x$build_tests = xyes) |
44 | -- | ||
45 | 2.14.1 | ||
46 | |||
diff --git a/meta/recipes-gnome/gtk-doc/files/no-clobber.patch b/meta/recipes-gnome/gtk-doc/files/no-clobber.patch index d1695479dc..90207d6c12 100644 --- a/meta/recipes-gnome/gtk-doc/files/no-clobber.patch +++ b/meta/recipes-gnome/gtk-doc/files/no-clobber.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 8bc4c1f169f89bc5531da5b7e892b8f20e0f9a18 Mon Sep 17 00:00:00 2001 | 1 | From fa5e31e02b9d3c6c5ec3cdc1f34dd6c179520fd0 Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Wed, 21 Mar 2018 14:47:29 +0000 | 3 | Date: Wed, 21 Mar 2018 14:47:29 +0000 |
4 | Subject: [PATCH] gtk-doc: don't regenerate gtk-doc in do_install | 4 | Subject: [PATCH] gtk-doc: don't regenerate gtk-doc in do_install |
@@ -20,16 +20,15 @@ files which don't already exist. | |||
20 | 20 | ||
21 | Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=794571] | 21 | Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=794571] |
22 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 22 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
23 | |||
24 | --- | 23 | --- |
25 | buildsystems/autotools/gtk-doc.make | 2 +- | 24 | buildsystems/autotools/gtk-doc.make | 2 +- |
26 | 1 file changed, 1 insertion(+), 1 deletion(-) | 25 | 1 file changed, 1 insertion(+), 1 deletion(-) |
27 | 26 | ||
28 | diff --git a/buildsystems/autotools/gtk-doc.make b/buildsystems/autotools/gtk-doc.make | 27 | diff --git a/buildsystems/autotools/gtk-doc.make b/buildsystems/autotools/gtk-doc.make |
29 | index 7d9a27f..8cb336d 100644 | 28 | index fb2e7e2..4f6fe2b 100644 |
30 | --- a/buildsystems/autotools/gtk-doc.make | 29 | --- a/buildsystems/autotools/gtk-doc.make |
31 | +++ b/buildsystems/autotools/gtk-doc.make | 30 | +++ b/buildsystems/autotools/gtk-doc.make |
32 | @@ -111,7 +111,7 @@ setup-build.stamp: | 31 | @@ -112,7 +112,7 @@ setup-build.stamp: |
33 | destdir=`dirname $(abs_builddir)/$$file`; \ | 32 | destdir=`dirname $(abs_builddir)/$$file`; \ |
34 | test -d "$$destdir" || mkdir -p "$$destdir"; \ | 33 | test -d "$$destdir" || mkdir -p "$$destdir"; \ |
35 | test -f $(abs_srcdir)/$$file && \ | 34 | test -f $(abs_srcdir)/$$file && \ |
diff --git a/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch b/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch index 1d260aa72b..1b5c190f56 100644 --- a/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch +++ b/meta/recipes-gnome/gtk-doc/files/pkg-config-native.patch | |||
@@ -1,11 +1,10 @@ | |||
1 | From ebb0f7313a0931f646e86badce2627eff2fa37a8 Mon Sep 17 00:00:00 2001 | 1 | From c11fba9bcb8d55568067e626bd959841c05081e5 Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Mon, 5 Sep 2016 22:25:44 +0100 | 3 | Date: Mon, 5 Sep 2016 22:25:44 +0100 |
4 | Subject: [PATCH] Use native pkg-config when looking for gtk-doc. | 4 | Subject: [PATCH] Use native pkg-config when looking for gtk-doc. |
5 | 5 | ||
6 | Upstream-Status: Inappropriate | 6 | Upstream-Status: Inappropriate |
7 | Signed-off-by: Ross Burton <ross.burton@intel.com> | 7 | Signed-off-by: Ross Burton <ross.burton@intel.com> |
8 | |||
9 | --- | 8 | --- |
10 | buildsystems/autotools/gtk-doc.m4 | 7 ++++++- | 9 | buildsystems/autotools/gtk-doc.m4 | 7 ++++++- |
11 | 1 file changed, 6 insertions(+), 1 deletion(-) | 10 | 1 file changed, 6 insertions(+), 1 deletion(-) |
diff --git a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.1.bb b/meta/recipes-gnome/gtk-doc/gtk-doc_1.34.0.bb index 5f9fe0a91d..693ae427e0 100644 --- a/meta/recipes-gnome/gtk-doc/gtk-doc_1.33.1.bb +++ b/meta/recipes-gnome/gtk-doc/gtk-doc_1.34.0.bb | |||
@@ -2,9 +2,10 @@ SUMMARY = "Documentation generator for glib-based software" | |||
2 | DESCRIPTION = "Gtk-doc is a set of scripts that extract specially formatted comments \ | 2 | DESCRIPTION = "Gtk-doc is a set of scripts that extract specially formatted comments \ |
3 | from glib-based software and produce a set of html documentation files from them" | 3 | from glib-based software and produce a set of html documentation files from them" |
4 | HOMEPAGE = "https://www.gtk.org/docs/" | 4 | HOMEPAGE = "https://www.gtk.org/docs/" |
5 | LICENSE = "GPLv2" | 5 | LICENSE = "GPL-2.0-only" |
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" |
7 | 7 | ||
8 | GNOMEBASEBUILDCLASS = "autotools" | ||
8 | inherit gnomebase | 9 | inherit gnomebase |
9 | 10 | ||
10 | # Configure the scripts correctly (and build their dependencies) only if they are actually | 11 | # Configure the scripts correctly (and build their dependencies) only if they are actually |
@@ -15,42 +16,45 @@ PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "api-documentation", | |||
15 | # into its scripts. This means that target gtk-doc package is broken; | 16 | # into its scripts. This means that target gtk-doc package is broken; |
16 | # hopefully no one minds because its scripts are not used for anything during build | 17 | # hopefully no one minds because its scripts are not used for anything during build |
17 | # and shouldn't be used on targets. | 18 | # and shouldn't be used on targets. |
18 | PACKAGECONFIG[working-scripts] = ",,libxslt-native xmlto-native python3-six python3-pygments" | 19 | PACKAGECONFIG[working-scripts] = ",,libxslt-native docbook-xml-dtd4-native docbook-xsl-stylesheets python3-pygments" |
19 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,glib-2.0" | 20 | PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,glib-2.0" |
20 | 21 | ||
21 | SRC_URI[archive.sha256sum] = "a5cfed2a0b73a09b796fff80ad6d8f040ab2b2655bdc941ac207ffe6d9c10f10" | 22 | CACHED_CONFIGUREVARS += "ac_cv_path_XSLTPROC=xsltproc" |
23 | |||
24 | SRC_URI[archive.sha256sum] = "b20b72b32a80bc18c7f975c9d4c16460c2276566a0b50f87d6852dff3aa7861c" | ||
22 | SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \ | 25 | SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \ |
23 | file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \ | 26 | file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \ |
24 | file://conditionaltests.patch \ | 27 | file://conditionaltests.patch \ |
25 | file://no-clobber.patch \ | 28 | file://no-clobber.patch \ |
26 | " | 29 | " |
27 | SRC_URI_append_class-native = " file://pkg-config-native.patch" | 30 | SRC_URI:append:class-native = " file://pkg-config-native.patch" |
28 | 31 | ||
29 | BBCLASSEXTEND = "native nativesdk" | 32 | BBCLASSEXTEND = "native nativesdk" |
30 | 33 | ||
31 | # Do not check for XML catalogs when building because that | 34 | # Do not check for XML catalogs when building because that |
32 | # information is not used for anything during build. Recipe | 35 | # information is not used for anything during build. Recipe |
33 | # dependencies make sure we have all the right bits. | 36 | # dependencies make sure we have all the right bits. |
34 | do_configure_prepend() { | 37 | do_configure:prepend() { |
35 | sed -i -e 's,^JH_CHECK_XML_CATALOG.*,,' ${S}/configure.ac | 38 | sed -i -e 's,^JH_CHECK_XML_CATALOG.*,,' ${S}/configure.ac |
36 | } | 39 | } |
37 | 40 | ||
38 | do_install_append () { | 41 | do_install:append () { |
39 | # configure values for python3 and pkg-config encoded in scripts | 42 | # configure values for python3 and pkg-config encoded in scripts |
40 | for fn in ${bindir}/gtkdoc-depscan \ | 43 | for fn in ${bindir}/gtkdoc-depscan \ |
41 | ${bindir}/gtkdoc-mkhtml2 \ | 44 | ${bindir}/gtkdoc-mkhtml2 \ |
45 | ${datadir}/gtk-doc/python/gtkdoc/config_data.py \ | ||
42 | ${datadir}/gtk-doc/python/gtkdoc/config.py; do | 46 | ${datadir}/gtk-doc/python/gtkdoc/config.py; do |
43 | sed -e 's,${RECIPE_SYSROOT_NATIVE}/usr/bin/pkg-config,${bindir}/pkg-config,' \ | 47 | sed -e 's,${RECIPE_SYSROOT_NATIVE}/usr/bin/pkg-config,${bindir}/pkg-config,' \ |
44 | -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ | 48 | -e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \ |
49 | -e '1s|^#!.*|#!/usr/bin/env python3|' \ | ||
45 | -i ${D}$fn | 50 | -i ${D}$fn |
46 | done | 51 | done |
47 | } | 52 | } |
48 | 53 | ||
49 | FILES_${PN} += "${datadir}/sgml" | 54 | FILES:${PN} += "${datadir}/sgml" |
50 | FILES_${PN}-dev += "${libdir}/cmake" | 55 | FILES:${PN}-doc = "" |
51 | FILES_${PN}-doc = "" | ||
52 | 56 | ||
53 | SYSROOT_PREPROCESS_FUNCS_append_class-native = " gtkdoc_makefiles_sysroot_preprocess" | 57 | SYSROOT_PREPROCESS_FUNCS:append:class-native = " gtkdoc_makefiles_sysroot_preprocess" |
54 | gtkdoc_makefiles_sysroot_preprocess() { | 58 | gtkdoc_makefiles_sysroot_preprocess() { |
55 | # Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient binaries | 59 | # Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient binaries |
56 | # instead of libtool wrapper or running them directly | 60 | # instead of libtool wrapper or running them directly |
diff --git a/meta/recipes-gnome/hicolor-icon-theme/hicolor-icon-theme_0.17.bb b/meta/recipes-gnome/hicolor-icon-theme/hicolor-icon-theme_0.18.bb index 74e3430528..283264675c 100644 --- a/meta/recipes-gnome/hicolor-icon-theme/hicolor-icon-theme_0.17.bb +++ b/meta/recipes-gnome/hicolor-icon-theme/hicolor-icon-theme_0.18.bb | |||
@@ -4,15 +4,14 @@ theme for implementations of the icon theme specification." | |||
4 | HOMEPAGE = "https://www.freedesktop.org/wiki/Software/icon-theme" | 4 | HOMEPAGE = "https://www.freedesktop.org/wiki/Software/icon-theme" |
5 | BUGTRACKER = "https://bugs.freedesktop.org/" | 5 | BUGTRACKER = "https://bugs.freedesktop.org/" |
6 | 6 | ||
7 | LICENSE = "GPLv2" | 7 | LICENSE = "GPL-2.0-only" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f08a446809913fc9b3c718f0eaea0426" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=f08a446809913fc9b3c718f0eaea0426" |
9 | 9 | ||
10 | SRC_URI = "https://icon-theme.freedesktop.org/releases/${BPN}-${PV}.tar.xz" | 10 | SRC_URI = "https://icon-theme.freedesktop.org/releases/${BPN}-${PV}.tar.xz" |
11 | SRC_URI[md5sum] = "84eec8d6f810240a069c731f1870b474" | 11 | SRC_URI[sha256sum] = "db0e50a80aa3bf64bb45cbca5cf9f75efd9348cf2ac690b907435238c3cf81d7" |
12 | SRC_URI[sha256sum] = "317484352271d18cbbcfac3868eab798d67fff1b8402e740baa6ff41d588a9d8" | ||
13 | 12 | ||
14 | inherit allarch autotools | 13 | inherit allarch meson |
15 | 14 | ||
16 | FILES_${PN} += "${datadir}/icons" | 15 | FILES:${PN} += "${datadir}/icons" |
17 | 16 | ||
18 | BBCLASSEXTEND = "native nativesdk" | 17 | BBCLASSEXTEND = "native nativesdk" |
diff --git a/meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch b/meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch deleted file mode 100644 index 0eb7244186..0000000000 --- a/meta/recipes-gnome/json-glib/json-glib/0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From 0f06c4cb4a57083c08312144b03c8346cf620be6 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | ||
3 | Date: Fri, 30 Oct 2020 22:15:29 +0000 | ||
4 | Subject: [PATCH] json-glib/json-enum-types.c.in: fix build reproducibility | ||
5 | |||
6 | Changes the comment and include to reference the file basename | ||
7 | instead of the full path. This ensures that the generated file is | ||
8 | reproducible when it is included in source packages meant for debugging. | ||
9 | |||
10 | Upstream-Status: Backport [6f3842abd5dff68b6ee5f2ef48a4ebf1cbebf434] | ||
11 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | ||
12 | --- | ||
13 | json-glib/json-enum-types.c.in | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/json-glib/json-enum-types.c.in b/json-glib/json-enum-types.c.in | ||
17 | index da07c46..7b39290 100644 | ||
18 | --- a/json-glib/json-enum-types.c.in | ||
19 | +++ b/json-glib/json-enum-types.c.in | ||
20 | @@ -9,8 +9,8 @@ | ||
21 | |||
22 | /*** BEGIN file-production ***/ | ||
23 | |||
24 | -/* enumerations from "@filename@" */ | ||
25 | -#include "@filename@" | ||
26 | +/* enumerations from "@basename@" */ | ||
27 | +#include "@basename@" | ||
28 | |||
29 | /*** END file-production ***/ | ||
30 | |||
diff --git a/meta/recipes-gnome/json-glib/json-glib_1.6.0.bb b/meta/recipes-gnome/json-glib/json-glib_1.10.6.bb index 59b0609900..8b009bc17b 100644 --- a/meta/recipes-gnome/json-glib/json-glib_1.6.0.bb +++ b/meta/recipes-gnome/json-glib/json-glib_1.10.6.bb | |||
@@ -6,29 +6,27 @@ instances to and from JSON data types." | |||
6 | HOMEPAGE = "https://wiki.gnome.org/Projects/JsonGlib" | 6 | HOMEPAGE = "https://wiki.gnome.org/Projects/JsonGlib" |
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/json-glib/issues" | 7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/json-glib/issues" |
8 | 8 | ||
9 | LICENSE = "LGPLv2.1" | 9 | LICENSE = "LGPL-2.1-or-later" |
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | 10 | LIC_FILES_CHKSUM = "file://COPYING;md5=41890f71f740302b785c27661123bff5" |
11 | 11 | ||
12 | DEPENDS = "glib-2.0" | 12 | DEPENDS = "glib-2.0 glib-2.0-native" |
13 | 13 | ||
14 | GNOMEBASEBUILDCLASS = "meson" | 14 | inherit gnomebase lib_package gobject-introspection gi-docgen gettext ptest-gnome manpages upstream-version-is-even |
15 | inherit gnomebase lib_package gobject-introspection gtk-doc gettext ptest-gnome manpages upstream-version-is-even | ||
16 | GIR_MESON_ENABLE_FLAG = 'enabled' | 15 | GIR_MESON_ENABLE_FLAG = 'enabled' |
17 | GIR_MESON_DISABLE_FLAG = 'disabled' | 16 | GIR_MESON_DISABLE_FLAG = 'disabled' |
18 | GTKDOC_MESON_OPTION = "gtk_doc" | 17 | GIDOCGEN_MESON_OPTION = 'documentation' |
19 | GTKDOC_MESON_ENABLE_FLAG = 'enabled' | 18 | GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' |
20 | GTKDOC_MESON_DISABLE_FLAG = 'disabled' | 19 | GIDOCGEN_MESON_DISABLE_FLAG = 'disabled' |
21 | 20 | ||
22 | SRC_URI += "file://run-ptest \ | 21 | SRC_URI += " file://run-ptest" |
23 | file://0001-json-glib-json-enum-types.c.in-fix-build-reproducibi.patch" | 22 | SRC_URI[archive.sha256sum] = "77f4bcbf9339528f166b8073458693f0a20b77b7059dbc2db61746a1928b0293" |
24 | SRC_URI[archive.sha256sum] = "0d7c67602c4161ea7070fab6c5823afd9bd7f7bc955f652a50d3753b08494e73" | ||
25 | 23 | ||
26 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | 24 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" |
27 | PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native" | 25 | PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native python3-docutils-native" |
28 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" | 26 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" |
29 | 27 | ||
30 | BBCLASSEXTEND = "native nativesdk" | 28 | BBCLASSEXTEND = "native nativesdk" |
31 | 29 | ||
32 | # Currently it's not possible to disable gettext in Meson, so we need to force | 30 | # Currently it's not possible to disable gettext in Meson, so we need to force |
33 | # this back on. | 31 | # this back on. |
34 | USE_NLS_class-native = "yes" | 32 | USE_NLS:class-native = "yes" |
diff --git a/meta/recipes-gnome/libadwaita/libadwaita_1.7.5.bb b/meta/recipes-gnome/libadwaita/libadwaita_1.7.5.bb new file mode 100644 index 0000000000..e8a8d21f02 --- /dev/null +++ b/meta/recipes-gnome/libadwaita/libadwaita_1.7.5.bb | |||
@@ -0,0 +1,27 @@ | |||
1 | SUMMARY = "Building blocks for modern GNOME applications" | ||
2 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/libadwaita" | ||
3 | LICENSE = "LGPL-2.1-or-later" | ||
4 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
5 | |||
6 | DEPENDS = " \ | ||
7 | gtk4 \ | ||
8 | appstream \ | ||
9 | sassc-native \ | ||
10 | " | ||
11 | |||
12 | inherit gnomebase gobject-introspection gi-docgen vala features_check | ||
13 | |||
14 | SRC_URI[archive.sha256sum] = "c2c1813c967d45c0f49e907f8c26e66f68fe49dec6436e2d3349350ac9efbd2e" | ||
15 | |||
16 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
17 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
18 | |||
19 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
20 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
21 | GTKDOC_MESON_OPTION = 'gtk_doc' | ||
22 | |||
23 | PACKAGECONFIG[examples] = "-Dexamples=true,-Dexamples=false" | ||
24 | |||
25 | FILES:${PN} += "${datadir}/metainfo" | ||
26 | |||
27 | EXTRA_OEMESON += "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)}" | ||
diff --git a/meta/recipes-gnome/libdazzle/libdazzle_3.38.0.bb b/meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb index a2a1aed7bc..9bca7e9dce 100644 --- a/meta/recipes-gnome/libdazzle/libdazzle_3.38.0.bb +++ b/meta/recipes-gnome/libdazzle/libdazzle_3.44.0.bb | |||
@@ -2,17 +2,16 @@ SUMMARY = "The libdazzle library is a companion library to GObject and Gtk+." | |||
2 | DESCRIPTION = "A wide range of components from utilities for GIO, widgets for \ | 2 | DESCRIPTION = "A wide range of components from utilities for GIO, widgets for \ |
3 | GTK+, an animation framework, state machines, paneling and high-performance \ | 3 | GTK+, an animation framework, state machines, paneling and high-performance \ |
4 | counters are included." | 4 | counters are included." |
5 | LICENSE = "GPLv3+" | 5 | LICENSE = "GPL-3.0-or-later" |
6 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/libdazzle" | 6 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/libdazzle" |
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libdazzle/issues" | 7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libdazzle/issues" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" | 8 | LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a" |
9 | 9 | ||
10 | GNOMEBASEBUILDCLASS = "meson" | ||
11 | inherit gnomebase upstream-version-is-even vala features_check gobject-introspection | 10 | inherit gnomebase upstream-version-is-even vala features_check gobject-introspection |
12 | 11 | ||
13 | DEPENDS = "glib-2.0-native glib-2.0 gtk+3" | 12 | DEPENDS = "glib-2.0-native glib-2.0 gtk+3" |
14 | 13 | ||
15 | SRC_URI[archive.sha256sum] = "e18af28217943bcec106585298a91ec3da48aa3ad62fd0992f23f0c70cd1678f" | 14 | SRC_URI[archive.sha256sum] = "3cd3e45eb6e2680cb05d52e1e80dd8f9d59d4765212f0e28f78e6c1783d18eae" |
16 | 15 | ||
17 | GIR_MESON_OPTION = 'with_introspection' | 16 | GIR_MESON_OPTION = 'with_introspection' |
18 | 17 | ||
diff --git a/meta/recipes-gnome/libgudev/libgudev/0001-meson-Pass-export-dynamic-option-to-linker.patch b/meta/recipes-gnome/libgudev/libgudev/0001-meson-Pass-export-dynamic-option-to-linker.patch new file mode 100644 index 0000000000..8a06d244e4 --- /dev/null +++ b/meta/recipes-gnome/libgudev/libgudev/0001-meson-Pass-export-dynamic-option-to-linker.patch | |||
@@ -0,0 +1,38 @@ | |||
1 | From dc4fcfb1e1e2326a412b252314af3e9424a31457 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Tue, 16 Jan 2024 12:02:46 -0800 | ||
4 | Subject: [PATCH] meson: Pass --export-dynamic option to linker | ||
5 | |||
6 | Bypass the compiler driver trying to comprehend and translate it for | ||
7 | linker, since its not clear what the right behavior should be, gcc seems | ||
8 | to translate it into --export-dynamic but clang 18+ rejects it | ||
9 | |||
10 | | x86_64-yoe-linux-clang: error: unknown argument: '-export-dynamic' | ||
11 | |||
12 | also see [1] | ||
13 | |||
14 | This makes it work as intended across gcc and clang | ||
15 | |||
16 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/libgudev/-/merge_requests/30] | ||
17 | [1] https://discourse.llvm.org/t/clang-option-export-dynamic-parse-to-e-xport-dynamic-error/72454 | ||
18 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
19 | --- | ||
20 | gudev/meson.build | 2 +- | ||
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
22 | |||
23 | diff --git a/gudev/meson.build b/gudev/meson.build | ||
24 | index e904203..3ed580b 100644 | ||
25 | --- a/gudev/meson.build | ||
26 | +++ b/gudev/meson.build | ||
27 | @@ -33,7 +33,7 @@ libgudev_c_args = [ | ||
28 | ] | ||
29 | |||
30 | libgudev_link_args = [ | ||
31 | - '-export-dynamic', | ||
32 | + '-Wl,--export-dynamic', | ||
33 | '-Wl,--version-script,@0@/libgudev-1.0.sym'.format(top_srcdir), | ||
34 | ] | ||
35 | |||
36 | -- | ||
37 | 2.43.0 | ||
38 | |||
diff --git a/meta/recipes-gnome/libgudev/libgudev_234.bb b/meta/recipes-gnome/libgudev/libgudev_238.bb index 9cea36df5b..f197f6421d 100644 --- a/meta/recipes-gnome/libgudev/libgudev_234.bb +++ b/meta/recipes-gnome/libgudev/libgudev_238.bb | |||
@@ -5,18 +5,30 @@ other programming languages, such as Javascript, because of GObject \ | |||
5 | introspection support." | 5 | introspection support." |
6 | HOMEPAGE = "https://wiki.gnome.org/Projects/libgudev" | 6 | HOMEPAGE = "https://wiki.gnome.org/Projects/libgudev" |
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libgudev/issues" | 7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libgudev/issues" |
8 | SRC_URI[archive.sha256sum] = "1baeacacf0db42fa073ad5183d1decce9317857416a2b0f82ce3370d711a2e37" | 8 | SRC_URI[archive.sha256sum] = "61266ab1afc9d73dbc60a8b2af73e99d2fdff47d99544d085760e4fa667b5dd1" |
9 | 9 | ||
10 | DEPENDS = "glib-2.0 udev" | 10 | DEPENDS = "glib-2.0 glib-2.0-native udev" |
11 | 11 | ||
12 | EXTRA_OECONF = "--disable-umockdev" | 12 | RCONFLICTS:${PN} = "systemd (<= 220)" |
13 | 13 | ||
14 | RCONFLICTS_${PN} = "systemd (<= 220)" | 14 | LICENSE = "LGPL-2.1-only" |
15 | |||
16 | LICENSE = "LGPLv2.1" | ||
17 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | 15 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" |
18 | 16 | ||
19 | inherit gnomebase gobject-introspection gtk-doc | 17 | inherit gnomebase gobject-introspection gtk-doc |
20 | 18 | ||
19 | SRC_URI += "file://0001-meson-Pass-export-dynamic-option-to-linker.patch" | ||
20 | |||
21 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
22 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
23 | |||
24 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
25 | |||
21 | UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/" | 26 | UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/" |
22 | UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))" | 27 | UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))" |
28 | |||
29 | EXTRA_OEMESON += "-Dtests=disabled -Dvapi=disabled" | ||
30 | |||
31 | # This isn't a GNOME-style version do gnome_verdir fails. Just return the | ||
32 | # version as that is how the directory is structured. | ||
33 | def gnome_verdir(v): | ||
34 | return v | ||
diff --git a/meta/recipes-gnome/libhandy/libhandy_1.0.1.bb b/meta/recipes-gnome/libhandy/libhandy_1.0.1.bb deleted file mode 100644 index 146ef62f41..0000000000 --- a/meta/recipes-gnome/libhandy/libhandy_1.0.1.bb +++ /dev/null | |||
@@ -1,20 +0,0 @@ | |||
1 | SUMMARY = "A library full of GTK+ widgets for mobile phones" | ||
2 | LICENSE = "LGPLv2.1" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
4 | |||
5 | SRC_URI = "git://gitlab.gnome.org/GNOME/${BPN}.git;protocol=https" | ||
6 | SRCREV = "5cee0927b8b39dea1b2a62ec6d19169f73ba06c6" | ||
7 | S = "${WORKDIR}/git" | ||
8 | |||
9 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
10 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
11 | GTKDOC_MESON_OPTION = 'gtk_doc' | ||
12 | |||
13 | inherit meson gobject-introspection vala gettext gtk-doc features_check | ||
14 | |||
15 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
16 | |||
17 | DEPENDS += "gtk+3" | ||
18 | |||
19 | PACKAGES =+ "${PN}-examples" | ||
20 | FILES_${PN}-examples = "${bindir}" | ||
diff --git a/meta/recipes-gnome/libhandy/libhandy_1.8.3.bb b/meta/recipes-gnome/libhandy/libhandy_1.8.3.bb new file mode 100644 index 0000000000..cf2c64f8d0 --- /dev/null +++ b/meta/recipes-gnome/libhandy/libhandy_1.8.3.bb | |||
@@ -0,0 +1,26 @@ | |||
1 | SUMMARY = "A library full of GTK+ widgets for mobile phones" | ||
2 | DESCRIPTION = "Library with GTK widgets for mobile phones. Libhandy provides \ | ||
3 | GTK widgets and GObjects to ease developing applications for mobile phones. \ | ||
4 | It was developed by Purism (and used by several official GNOME projects) \ | ||
5 | to extend Gtk by providing mobile-friendly widgets and make the creation of \ | ||
6 | responsive apps easier." | ||
7 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/libhandy" | ||
8 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues" | ||
9 | LICENSE = "LGPL-2.1-only" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | ||
11 | |||
12 | SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-8" | ||
13 | SRCREV = "9b0071408ce86a3ef843806fddd723a85f6f2416" | ||
14 | |||
15 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+))" | ||
16 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
17 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
18 | |||
19 | inherit meson gobject-introspection vala gettext gi-docgen features_check pkgconfig | ||
20 | |||
21 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
22 | |||
23 | DEPENDS += "gtk+3" | ||
24 | |||
25 | PACKAGES =+ "${PN}-examples" | ||
26 | FILES:${PN}-examples = "${bindir}" | ||
diff --git a/meta/recipes-gnome/libnotify/libnotify_0.7.9.bb b/meta/recipes-gnome/libnotify/libnotify_0.7.9.bb deleted file mode 100644 index 29a28272e1..0000000000 --- a/meta/recipes-gnome/libnotify/libnotify_0.7.9.bb +++ /dev/null | |||
@@ -1,28 +0,0 @@ | |||
1 | SUMMARY = "Library for sending desktop notifications to a notification daemon" | ||
2 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/libnotify" | ||
3 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libnotify/issues" | ||
4 | SECTION = "libs" | ||
5 | LICENSE = "LGPLv2.1" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
7 | |||
8 | DEPENDS = "dbus gtk+3 glib-2.0" | ||
9 | |||
10 | GNOMEBASEBUILDCLASS = "meson" | ||
11 | GTKDOC_MESON_OPTION = "gtk_doc" | ||
12 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
13 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
14 | inherit gnomebase gtk-doc features_check gobject-introspection | ||
15 | # depends on gtk+3 | ||
16 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
17 | |||
18 | SRC_URI[archive.md5sum] = "ccd9c53364174cc8d13e18a1988faa76" | ||
19 | SRC_URI[archive.sha256sum] = "66c0517ed16df7af258e83208faaf5069727dfd66995c4bbc51c16954d674761" | ||
20 | |||
21 | EXTRA_OEMESON = "-Dman=false" | ||
22 | |||
23 | # there were times, we had two versions of libnotify (oe-core libnotify:0.6.x / | ||
24 | # meta-gnome libnotify3: 0.7.x) | ||
25 | PROVIDES += "libnotify3" | ||
26 | RPROVIDES_${PN} += "libnotify3" | ||
27 | RCONFLICTS_${PN} += "libnotify3" | ||
28 | RREPLACES_${PN} += "libnotify3" | ||
diff --git a/meta/recipes-gnome/libnotify/libnotify_0.8.6.bb b/meta/recipes-gnome/libnotify/libnotify_0.8.6.bb new file mode 100644 index 0000000000..6ff7ee4be1 --- /dev/null +++ b/meta/recipes-gnome/libnotify/libnotify_0.8.6.bb | |||
@@ -0,0 +1,35 @@ | |||
1 | SUMMARY = "Library for sending desktop notifications to a notification daemon" | ||
2 | DESCRIPTION = "It sends desktop notifications to a notification daemon, as defined \ | ||
3 | in the Desktop Notifications spec. These notifications can be used to inform \ | ||
4 | the user about an event or display some form of information without getting \ | ||
5 | in the user's way." | ||
6 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/libnotify" | ||
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libnotify/issues" | ||
8 | SECTION = "libs" | ||
9 | LICENSE = "LGPL-2.1-only" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34" | ||
11 | |||
12 | DEPENDS = "glib-2.0 glib-2.0-native gdk-pixbuf" | ||
13 | |||
14 | PACKAGECONFIG ?= "" | ||
15 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gtk+3" | ||
16 | |||
17 | GIR_MESON_ENABLE_FLAG = "enabled" | ||
18 | GIR_MESON_DISABLE_FLAG = "disabled" | ||
19 | inherit gnomebase gi-docgen features_check gobject-introspection | ||
20 | # depends on gtk+3 if tests are enabled | ||
21 | ANY_OF_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'tests', '${GTK3DISTROFEATURES}', '', d)}" | ||
22 | |||
23 | SRC_URI[archive.sha256sum] = "c5540aaefb60e1d63b1c587c05f2284ebe72ece7d0c0e5e4a778cfd5844b6b58" | ||
24 | |||
25 | EXTRA_OEMESON = "-Dman=false" | ||
26 | |||
27 | # there were times, we had two versions of libnotify (oe-core libnotify:0.6.x / | ||
28 | # meta-gnome libnotify3: 0.7.x) | ||
29 | PROVIDES += "libnotify3" | ||
30 | RPROVIDES:${PN} += "libnotify3" | ||
31 | RCONFLICTS:${PN} += "libnotify3" | ||
32 | RREPLACES:${PN} += "libnotify3" | ||
33 | |||
34 | # -7381 is specific to the NodeJS bindings | ||
35 | CVE_STATUS[CVE-2013-7381] = "cpe-incorrect: The issue is specific to the NodeJS bindings" | ||
diff --git a/meta/recipes-gnome/libportal/libportal_0.3.bb b/meta/recipes-gnome/libportal/libportal_0.3.bb deleted file mode 100644 index 022628b1ac..0000000000 --- a/meta/recipes-gnome/libportal/libportal_0.3.bb +++ /dev/null | |||
@@ -1,13 +0,0 @@ | |||
1 | SUMMARY = "libportal provides GIO-style async APIs for most Flatpak portals." | ||
2 | LICENSE = "LGPLv2.1" | ||
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2" | ||
4 | |||
5 | SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https" | ||
6 | SRCREV = "a609e06d0c4adc5c510cf9ac7b060db3d368e78f" | ||
7 | S = "${WORKDIR}/git" | ||
8 | |||
9 | GTKDOC_MESON_OPTION = 'gtk_doc' | ||
10 | |||
11 | inherit meson gtk-doc | ||
12 | |||
13 | DEPENDS += "glib-2.0 glib-2.0-native" | ||
diff --git a/meta/recipes-gnome/libportal/libportal_0.9.1.bb b/meta/recipes-gnome/libportal/libportal_0.9.1.bb new file mode 100644 index 0000000000..9713f70dbb --- /dev/null +++ b/meta/recipes-gnome/libportal/libportal_0.9.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SUMMARY = "libportal provides GIO-style async APIs for most Flatpak portals." | ||
2 | DESCRIPTION = "It provides simple asynchronous wrappers for most Flatpak portals \ | ||
3 | with a familiar GObject API along side the D-Bus API" | ||
4 | HOMEPAGE = "https://github.com/flatpak/libportal" | ||
5 | BUGTRACKER = "https://github.com/flatpak/libportal/issues" | ||
6 | LICENSE = "LGPL-3.0-only" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404" | ||
8 | |||
9 | SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https;branch=main" | ||
10 | SRCREV = "8f5dc8d192f6e31dafe69e35219e3b707bde71ce" | ||
11 | |||
12 | inherit meson gi-docgen gobject-introspection vala features_check pkgconfig | ||
13 | GIDOCGEN_MESON_OPTION = 'docs' | ||
14 | |||
15 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | ||
16 | |||
17 | DEPENDS += "glib-2.0 glib-2.0-native gtk+3 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gtk4', '', d)}" | ||
18 | |||
19 | EXTRA_OEMESON = "${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dvapi=true', '-Dvapi=false', d)} -Dbackend-qt5=disabled" | ||
diff --git a/meta/recipes-gnome/librsvg/librsvg-crates.inc b/meta/recipes-gnome/librsvg/librsvg-crates.inc new file mode 100644 index 0000000000..54cd1c66c9 --- /dev/null +++ b/meta/recipes-gnome/librsvg/librsvg-crates.inc | |||
@@ -0,0 +1,590 @@ | |||
1 | # Autogenerated with 'bitbake -c update_crates librsvg' | ||
2 | |||
3 | # from Cargo.lock | ||
4 | SRC_URI += " \ | ||
5 | crate://crates.io/adler/1.0.2 \ | ||
6 | crate://crates.io/ahash/0.8.11 \ | ||
7 | crate://crates.io/aho-corasick/1.1.3 \ | ||
8 | crate://crates.io/android-tzdata/0.1.1 \ | ||
9 | crate://crates.io/android_system_properties/0.1.5 \ | ||
10 | crate://crates.io/anes/0.1.6 \ | ||
11 | crate://crates.io/anstream/0.6.15 \ | ||
12 | crate://crates.io/anstyle/1.0.8 \ | ||
13 | crate://crates.io/anstyle-parse/0.2.5 \ | ||
14 | crate://crates.io/anstyle-query/1.1.1 \ | ||
15 | crate://crates.io/anstyle-wincon/3.0.4 \ | ||
16 | crate://crates.io/anyhow/1.0.86 \ | ||
17 | crate://crates.io/approx/0.5.1 \ | ||
18 | crate://crates.io/assert_cmd/2.0.15 \ | ||
19 | crate://crates.io/autocfg/1.3.0 \ | ||
20 | crate://crates.io/av-data/0.4.2 \ | ||
21 | crate://crates.io/bit-set/0.5.3 \ | ||
22 | crate://crates.io/bit-vec/0.6.3 \ | ||
23 | crate://crates.io/bitflags/1.3.2 \ | ||
24 | crate://crates.io/bitflags/2.6.0 \ | ||
25 | crate://crates.io/bitreader/0.3.8 \ | ||
26 | crate://crates.io/block/0.1.6 \ | ||
27 | crate://crates.io/block-buffer/0.10.4 \ | ||
28 | crate://crates.io/bstr/1.10.0 \ | ||
29 | crate://crates.io/bumpalo/3.16.0 \ | ||
30 | crate://crates.io/byte-slice-cast/1.2.2 \ | ||
31 | crate://crates.io/bytemuck/1.16.3 \ | ||
32 | crate://crates.io/byteorder/1.5.0 \ | ||
33 | crate://crates.io/byteorder-lite/0.1.0 \ | ||
34 | crate://crates.io/bytes/1.7.1 \ | ||
35 | crate://crates.io/cairo-rs/0.20.0 \ | ||
36 | crate://crates.io/cairo-sys-rs/0.20.0 \ | ||
37 | crate://crates.io/cast/0.3.0 \ | ||
38 | crate://crates.io/cc/1.1.8 \ | ||
39 | crate://crates.io/cfg-expr/0.15.8 \ | ||
40 | crate://crates.io/cfg-if/1.0.0 \ | ||
41 | crate://crates.io/chrono/0.4.38 \ | ||
42 | crate://crates.io/ciborium/0.2.2 \ | ||
43 | crate://crates.io/ciborium-io/0.2.2 \ | ||
44 | crate://crates.io/ciborium-ll/0.2.2 \ | ||
45 | crate://crates.io/clap/4.5.13 \ | ||
46 | crate://crates.io/clap_builder/4.5.13 \ | ||
47 | crate://crates.io/clap_complete/4.5.12 \ | ||
48 | crate://crates.io/clap_derive/4.5.13 \ | ||
49 | crate://crates.io/clap_lex/0.7.2 \ | ||
50 | crate://crates.io/color_quant/1.1.0 \ | ||
51 | crate://crates.io/colorchoice/1.0.2 \ | ||
52 | crate://crates.io/core-foundation-sys/0.8.6 \ | ||
53 | crate://crates.io/crc32fast/1.4.2 \ | ||
54 | crate://crates.io/criterion/0.5.1 \ | ||
55 | crate://crates.io/criterion-plot/0.5.0 \ | ||
56 | crate://crates.io/crossbeam-deque/0.8.5 \ | ||
57 | crate://crates.io/crossbeam-epoch/0.9.18 \ | ||
58 | crate://crates.io/crossbeam-utils/0.8.20 \ | ||
59 | crate://crates.io/crunchy/0.2.2 \ | ||
60 | crate://crates.io/crypto-common/0.1.6 \ | ||
61 | crate://crates.io/cssparser/0.31.2 \ | ||
62 | crate://crates.io/cssparser-macros/0.6.1 \ | ||
63 | crate://crates.io/data-url/0.3.1 \ | ||
64 | crate://crates.io/dav1d/0.10.3 \ | ||
65 | crate://crates.io/dav1d-sys/0.8.2 \ | ||
66 | crate://crates.io/dcv-color-primitives/0.6.1 \ | ||
67 | crate://crates.io/deranged/0.3.11 \ | ||
68 | crate://crates.io/derive_more/0.99.18 \ | ||
69 | crate://crates.io/difflib/0.4.0 \ | ||
70 | crate://crates.io/digest/0.10.7 \ | ||
71 | crate://crates.io/dlib/0.5.2 \ | ||
72 | crate://crates.io/doc-comment/0.3.3 \ | ||
73 | crate://crates.io/dtoa/1.0.9 \ | ||
74 | crate://crates.io/dtoa-short/0.3.5 \ | ||
75 | crate://crates.io/either/1.13.0 \ | ||
76 | crate://crates.io/encoding_rs/0.8.34 \ | ||
77 | crate://crates.io/equivalent/1.0.1 \ | ||
78 | crate://crates.io/errno/0.3.9 \ | ||
79 | crate://crates.io/fallible_collections/0.4.9 \ | ||
80 | crate://crates.io/fastrand/2.1.0 \ | ||
81 | crate://crates.io/fdeflate/0.3.4 \ | ||
82 | crate://crates.io/flate2/1.0.31 \ | ||
83 | crate://crates.io/float-cmp/0.9.0 \ | ||
84 | crate://crates.io/fnv/1.0.7 \ | ||
85 | crate://crates.io/form_urlencoded/1.2.1 \ | ||
86 | crate://crates.io/futf/0.1.5 \ | ||
87 | crate://crates.io/futures-channel/0.3.30 \ | ||
88 | crate://crates.io/futures-core/0.3.30 \ | ||
89 | crate://crates.io/futures-executor/0.3.30 \ | ||
90 | crate://crates.io/futures-io/0.3.30 \ | ||
91 | crate://crates.io/futures-macro/0.3.30 \ | ||
92 | crate://crates.io/futures-task/0.3.30 \ | ||
93 | crate://crates.io/futures-util/0.3.30 \ | ||
94 | crate://crates.io/fxhash/0.2.1 \ | ||
95 | crate://crates.io/gdk-pixbuf/0.20.0 \ | ||
96 | crate://crates.io/gdk-pixbuf-sys/0.20.0 \ | ||
97 | crate://crates.io/generic-array/0.14.7 \ | ||
98 | crate://crates.io/getrandom/0.2.15 \ | ||
99 | crate://crates.io/gif/0.13.1 \ | ||
100 | crate://crates.io/gio/0.20.0 \ | ||
101 | crate://crates.io/gio-sys/0.20.0 \ | ||
102 | crate://crates.io/glib/0.20.0 \ | ||
103 | crate://crates.io/glib-macros/0.20.0 \ | ||
104 | crate://crates.io/glib-sys/0.20.0 \ | ||
105 | crate://crates.io/gobject-sys/0.20.0 \ | ||
106 | crate://crates.io/half/2.4.1 \ | ||
107 | crate://crates.io/hashbrown/0.13.2 \ | ||
108 | crate://crates.io/hashbrown/0.14.5 \ | ||
109 | crate://crates.io/heck/0.5.0 \ | ||
110 | crate://crates.io/hermit-abi/0.3.9 \ | ||
111 | crate://crates.io/iana-time-zone/0.1.60 \ | ||
112 | crate://crates.io/iana-time-zone-haiku/0.1.2 \ | ||
113 | crate://crates.io/idna/0.5.0 \ | ||
114 | crate://crates.io/image/0.25.2 \ | ||
115 | crate://crates.io/image-webp/0.1.3 \ | ||
116 | crate://crates.io/indexmap/2.3.0 \ | ||
117 | crate://crates.io/is-terminal/0.4.12 \ | ||
118 | crate://crates.io/is_terminal_polyfill/1.70.1 \ | ||
119 | crate://crates.io/itertools/0.10.5 \ | ||
120 | crate://crates.io/itertools/0.13.0 \ | ||
121 | crate://crates.io/itoa/1.0.11 \ | ||
122 | crate://crates.io/js-sys/0.3.69 \ | ||
123 | crate://crates.io/language-tags/0.3.2 \ | ||
124 | crate://crates.io/lazy_static/1.5.0 \ | ||
125 | crate://crates.io/libc/0.2.155 \ | ||
126 | crate://crates.io/libloading/0.8.5 \ | ||
127 | crate://crates.io/libm/0.2.8 \ | ||
128 | crate://crates.io/linked-hash-map/0.5.6 \ | ||
129 | crate://crates.io/linux-raw-sys/0.4.14 \ | ||
130 | crate://crates.io/locale_config/0.3.0 \ | ||
131 | crate://crates.io/lock_api/0.4.12 \ | ||
132 | crate://crates.io/log/0.4.22 \ | ||
133 | crate://crates.io/lopdf/0.33.0 \ | ||
134 | crate://crates.io/mac/0.1.1 \ | ||
135 | crate://crates.io/malloc_buf/0.0.6 \ | ||
136 | crate://crates.io/markup5ever/0.12.1 \ | ||
137 | crate://crates.io/matches/0.1.10 \ | ||
138 | crate://crates.io/matrixmultiply/0.3.9 \ | ||
139 | crate://crates.io/md-5/0.10.6 \ | ||
140 | crate://crates.io/memchr/2.7.4 \ | ||
141 | crate://crates.io/minimal-lexical/0.2.1 \ | ||
142 | crate://crates.io/miniz_oxide/0.7.4 \ | ||
143 | crate://crates.io/mp4parse/0.17.0 \ | ||
144 | crate://crates.io/nalgebra/0.33.0 \ | ||
145 | crate://crates.io/nalgebra-macros/0.2.2 \ | ||
146 | crate://crates.io/new_debug_unreachable/1.0.6 \ | ||
147 | crate://crates.io/nom/7.1.3 \ | ||
148 | crate://crates.io/normalize-line-endings/0.3.0 \ | ||
149 | crate://crates.io/num-bigint/0.4.6 \ | ||
150 | crate://crates.io/num-complex/0.4.6 \ | ||
151 | crate://crates.io/num-conv/0.1.0 \ | ||
152 | crate://crates.io/num-derive/0.4.2 \ | ||
153 | crate://crates.io/num-integer/0.1.46 \ | ||
154 | crate://crates.io/num-rational/0.4.2 \ | ||
155 | crate://crates.io/num-traits/0.2.19 \ | ||
156 | crate://crates.io/objc/0.2.7 \ | ||
157 | crate://crates.io/objc-foundation/0.1.1 \ | ||
158 | crate://crates.io/objc_id/0.1.1 \ | ||
159 | crate://crates.io/once_cell/1.19.0 \ | ||
160 | crate://crates.io/oorandom/11.1.4 \ | ||
161 | crate://crates.io/pango/0.20.0 \ | ||
162 | crate://crates.io/pango-sys/0.20.0 \ | ||
163 | crate://crates.io/pangocairo/0.20.0 \ | ||
164 | crate://crates.io/pangocairo-sys/0.20.0 \ | ||
165 | crate://crates.io/parking_lot/0.12.3 \ | ||
166 | crate://crates.io/parking_lot_core/0.9.10 \ | ||
167 | crate://crates.io/paste/1.0.15 \ | ||
168 | crate://crates.io/percent-encoding/2.3.1 \ | ||
169 | crate://crates.io/phf/0.10.1 \ | ||
170 | crate://crates.io/phf/0.11.2 \ | ||
171 | crate://crates.io/phf_codegen/0.10.0 \ | ||
172 | crate://crates.io/phf_codegen/0.11.2 \ | ||
173 | crate://crates.io/phf_generator/0.10.0 \ | ||
174 | crate://crates.io/phf_generator/0.11.2 \ | ||
175 | crate://crates.io/phf_macros/0.11.2 \ | ||
176 | crate://crates.io/phf_shared/0.10.0 \ | ||
177 | crate://crates.io/phf_shared/0.11.2 \ | ||
178 | crate://crates.io/pin-project-lite/0.2.14 \ | ||
179 | crate://crates.io/pin-utils/0.1.0 \ | ||
180 | crate://crates.io/pkg-config/0.3.30 \ | ||
181 | crate://crates.io/plotters/0.3.6 \ | ||
182 | crate://crates.io/plotters-backend/0.3.6 \ | ||
183 | crate://crates.io/plotters-svg/0.3.6 \ | ||
184 | crate://crates.io/png/0.17.13 \ | ||
185 | crate://crates.io/powerfmt/0.2.0 \ | ||
186 | crate://crates.io/ppv-lite86/0.2.20 \ | ||
187 | crate://crates.io/precomputed-hash/0.1.1 \ | ||
188 | crate://crates.io/predicates/3.1.2 \ | ||
189 | crate://crates.io/predicates-core/1.0.8 \ | ||
190 | crate://crates.io/predicates-tree/1.0.11 \ | ||
191 | crate://crates.io/proc-macro-crate/3.1.0 \ | ||
192 | crate://crates.io/proc-macro2/1.0.86 \ | ||
193 | crate://crates.io/proptest/1.5.0 \ | ||
194 | crate://crates.io/quick-error/1.2.3 \ | ||
195 | crate://crates.io/quick-error/2.0.1 \ | ||
196 | crate://crates.io/quote/1.0.36 \ | ||
197 | crate://crates.io/rand/0.8.5 \ | ||
198 | crate://crates.io/rand_chacha/0.3.1 \ | ||
199 | crate://crates.io/rand_core/0.6.4 \ | ||
200 | crate://crates.io/rand_xorshift/0.3.0 \ | ||
201 | crate://crates.io/rawpointer/0.2.1 \ | ||
202 | crate://crates.io/rayon/1.10.0 \ | ||
203 | crate://crates.io/rayon-core/1.12.1 \ | ||
204 | crate://crates.io/rctree/0.6.0 \ | ||
205 | crate://crates.io/redox_syscall/0.5.3 \ | ||
206 | crate://crates.io/regex/1.10.6 \ | ||
207 | crate://crates.io/regex-automata/0.4.7 \ | ||
208 | crate://crates.io/regex-syntax/0.8.4 \ | ||
209 | crate://crates.io/rgb/0.8.48 \ | ||
210 | crate://crates.io/rustix/0.38.34 \ | ||
211 | crate://crates.io/rusty-fork/0.3.0 \ | ||
212 | crate://crates.io/ryu/1.0.18 \ | ||
213 | crate://crates.io/safe_arch/0.7.2 \ | ||
214 | crate://crates.io/same-file/1.0.6 \ | ||
215 | crate://crates.io/scopeguard/1.2.0 \ | ||
216 | crate://crates.io/selectors/0.25.0 \ | ||
217 | crate://crates.io/serde/1.0.204 \ | ||
218 | crate://crates.io/serde_derive/1.0.204 \ | ||
219 | crate://crates.io/serde_json/1.0.122 \ | ||
220 | crate://crates.io/serde_spanned/0.6.7 \ | ||
221 | crate://crates.io/servo_arc/0.3.0 \ | ||
222 | crate://crates.io/shell-words/1.1.0 \ | ||
223 | crate://crates.io/simba/0.9.0 \ | ||
224 | crate://crates.io/simd-adler32/0.3.7 \ | ||
225 | crate://crates.io/siphasher/0.3.11 \ | ||
226 | crate://crates.io/slab/0.4.9 \ | ||
227 | crate://crates.io/smallvec/1.13.2 \ | ||
228 | crate://crates.io/stable_deref_trait/1.2.0 \ | ||
229 | crate://crates.io/static_assertions/1.1.0 \ | ||
230 | crate://crates.io/string_cache/0.8.7 \ | ||
231 | crate://crates.io/string_cache_codegen/0.5.2 \ | ||
232 | crate://crates.io/strsim/0.11.1 \ | ||
233 | crate://crates.io/syn/2.0.72 \ | ||
234 | crate://crates.io/system-deps/6.2.2 \ | ||
235 | crate://crates.io/system-deps/7.0.1 \ | ||
236 | crate://crates.io/target-lexicon/0.12.16 \ | ||
237 | crate://crates.io/tempfile/3.12.0 \ | ||
238 | crate://crates.io/tendril/0.4.3 \ | ||
239 | crate://crates.io/termtree/0.4.1 \ | ||
240 | crate://crates.io/thiserror/1.0.63 \ | ||
241 | crate://crates.io/thiserror-impl/1.0.63 \ | ||
242 | crate://crates.io/time/0.3.36 \ | ||
243 | crate://crates.io/time-core/0.1.2 \ | ||
244 | crate://crates.io/time-macros/0.2.18 \ | ||
245 | crate://crates.io/tinytemplate/1.2.1 \ | ||
246 | crate://crates.io/tinyvec/1.8.0 \ | ||
247 | crate://crates.io/tinyvec_macros/0.1.1 \ | ||
248 | crate://crates.io/toml/0.8.19 \ | ||
249 | crate://crates.io/toml_datetime/0.6.8 \ | ||
250 | crate://crates.io/toml_edit/0.21.1 \ | ||
251 | crate://crates.io/toml_edit/0.22.20 \ | ||
252 | crate://crates.io/typenum/1.17.0 \ | ||
253 | crate://crates.io/unarray/0.1.4 \ | ||
254 | crate://crates.io/unicode-bidi/0.3.15 \ | ||
255 | crate://crates.io/unicode-ident/1.0.12 \ | ||
256 | crate://crates.io/unicode-normalization/0.1.23 \ | ||
257 | crate://crates.io/url/2.5.2 \ | ||
258 | crate://crates.io/utf-8/0.7.6 \ | ||
259 | crate://crates.io/utf8parse/0.2.2 \ | ||
260 | crate://crates.io/version-compare/0.2.0 \ | ||
261 | crate://crates.io/version_check/0.9.5 \ | ||
262 | crate://crates.io/wait-timeout/0.2.0 \ | ||
263 | crate://crates.io/walkdir/2.5.0 \ | ||
264 | crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \ | ||
265 | crate://crates.io/wasm-bindgen/0.2.92 \ | ||
266 | crate://crates.io/wasm-bindgen-backend/0.2.92 \ | ||
267 | crate://crates.io/wasm-bindgen-macro/0.2.92 \ | ||
268 | crate://crates.io/wasm-bindgen-macro-support/0.2.92 \ | ||
269 | crate://crates.io/wasm-bindgen-shared/0.2.92 \ | ||
270 | crate://crates.io/web-sys/0.3.69 \ | ||
271 | crate://crates.io/weezl/0.1.8 \ | ||
272 | crate://crates.io/wide/0.7.26 \ | ||
273 | crate://crates.io/winapi/0.3.9 \ | ||
274 | crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \ | ||
275 | crate://crates.io/winapi-util/0.1.9 \ | ||
276 | crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \ | ||
277 | crate://crates.io/windows-core/0.52.0 \ | ||
278 | crate://crates.io/windows-sys/0.52.0 \ | ||
279 | crate://crates.io/windows-sys/0.59.0 \ | ||
280 | crate://crates.io/windows-targets/0.52.6 \ | ||
281 | crate://crates.io/windows_aarch64_gnullvm/0.52.6 \ | ||
282 | crate://crates.io/windows_aarch64_msvc/0.52.6 \ | ||
283 | crate://crates.io/windows_i686_gnu/0.52.6 \ | ||
284 | crate://crates.io/windows_i686_gnullvm/0.52.6 \ | ||
285 | crate://crates.io/windows_i686_msvc/0.52.6 \ | ||
286 | crate://crates.io/windows_x86_64_gnu/0.52.6 \ | ||
287 | crate://crates.io/windows_x86_64_gnullvm/0.52.6 \ | ||
288 | crate://crates.io/windows_x86_64_msvc/0.52.6 \ | ||
289 | crate://crates.io/winnow/0.5.40 \ | ||
290 | crate://crates.io/winnow/0.6.18 \ | ||
291 | crate://crates.io/xml5ever/0.18.1 \ | ||
292 | crate://crates.io/yeslogic-fontconfig-sys/6.0.0 \ | ||
293 | crate://crates.io/zerocopy/0.7.35 \ | ||
294 | crate://crates.io/zerocopy-derive/0.7.35 \ | ||
295 | crate://crates.io/zune-core/0.4.12 \ | ||
296 | crate://crates.io/zune-jpeg/0.4.13 \ | ||
297 | " | ||
298 | |||
299 | SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" | ||
300 | SRC_URI[ahash-0.8.11.sha256sum] = "e89da841a80418a9b391ebaea17f5c112ffaaa96f621d2c285b5174da76b9011" | ||
301 | SRC_URI[aho-corasick-1.1.3.sha256sum] = "8e60d3430d3a69478ad0993f19238d2df97c507009a52b3c10addcd7f6bcb916" | ||
302 | SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0" | ||
303 | SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311" | ||
304 | SRC_URI[anes-0.1.6.sha256sum] = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" | ||
305 | SRC_URI[anstream-0.6.15.sha256sum] = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" | ||
306 | SRC_URI[anstyle-1.0.8.sha256sum] = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" | ||
307 | SRC_URI[anstyle-parse-0.2.5.sha256sum] = "eb47de1e80c2b463c735db5b217a0ddc39d612e7ac9e2e96a5aed1f57616c1cb" | ||
308 | SRC_URI[anstyle-query-1.1.1.sha256sum] = "6d36fc52c7f6c869915e99412912f22093507da8d9e942ceaf66fe4b7c14422a" | ||
309 | SRC_URI[anstyle-wincon-3.0.4.sha256sum] = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" | ||
310 | SRC_URI[anyhow-1.0.86.sha256sum] = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da" | ||
311 | SRC_URI[approx-0.5.1.sha256sum] = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6" | ||
312 | SRC_URI[assert_cmd-2.0.15.sha256sum] = "bc65048dd435533bb1baf2ed9956b9a278fbfdcf90301b39ee117f06c0199d37" | ||
313 | SRC_URI[autocfg-1.3.0.sha256sum] = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" | ||
314 | SRC_URI[av-data-0.4.2.sha256sum] = "d75b98a3525d00f920df9a2d44cc99b9cc5b7dc70d7fbb612cd755270dbe6552" | ||
315 | SRC_URI[bit-set-0.5.3.sha256sum] = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1" | ||
316 | SRC_URI[bit-vec-0.6.3.sha256sum] = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb" | ||
317 | SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" | ||
318 | SRC_URI[bitflags-2.6.0.sha256sum] = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" | ||
319 | SRC_URI[bitreader-0.3.8.sha256sum] = "bdd859c9d97f7c468252795b35aeccc412bdbb1e90ee6969c4fa6328272eaeff" | ||
320 | SRC_URI[block-0.1.6.sha256sum] = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a" | ||
321 | SRC_URI[block-buffer-0.10.4.sha256sum] = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" | ||
322 | SRC_URI[bstr-1.10.0.sha256sum] = "40723b8fb387abc38f4f4a37c09073622e41dd12327033091ef8950659e6dc0c" | ||
323 | SRC_URI[bumpalo-3.16.0.sha256sum] = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" | ||
324 | SRC_URI[byte-slice-cast-1.2.2.sha256sum] = "c3ac9f8b63eca6fd385229b3675f6cc0dc5c8a5c8a54a59d4f52ffd670d87b0c" | ||
325 | SRC_URI[bytemuck-1.16.3.sha256sum] = "102087e286b4677862ea56cf8fc58bb2cdfa8725c40ffb80fe3a008eb7f2fc83" | ||
326 | SRC_URI[byteorder-1.5.0.sha256sum] = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" | ||
327 | SRC_URI[byteorder-lite-0.1.0.sha256sum] = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" | ||
328 | SRC_URI[bytes-1.7.1.sha256sum] = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" | ||
329 | SRC_URI[cairo-rs-0.20.0.sha256sum] = "797fd5a634dcb0ad0d7d583df794deb0a236d88e759cd34b7da20198c6c9d145" | ||
330 | SRC_URI[cairo-sys-rs-0.20.0.sha256sum] = "428290f914b9b86089f60f5d8a9f6e440508e1bcff23b25afd51502b0a2da88f" | ||
331 | SRC_URI[cast-0.3.0.sha256sum] = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" | ||
332 | SRC_URI[cc-1.1.8.sha256sum] = "504bdec147f2cc13c8b57ed9401fd8a147cc66b67ad5cb241394244f2c947549" | ||
333 | SRC_URI[cfg-expr-0.15.8.sha256sum] = "d067ad48b8650848b989a59a86c6c36a995d02d2bf778d45c3c5d57bc2718f02" | ||
334 | SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" | ||
335 | SRC_URI[chrono-0.4.38.sha256sum] = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401" | ||
336 | SRC_URI[ciborium-0.2.2.sha256sum] = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" | ||
337 | SRC_URI[ciborium-io-0.2.2.sha256sum] = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" | ||
338 | SRC_URI[ciborium-ll-0.2.2.sha256sum] = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" | ||
339 | SRC_URI[clap-4.5.13.sha256sum] = "0fbb260a053428790f3de475e304ff84cdbc4face759ea7a3e64c1edd938a7fc" | ||
340 | SRC_URI[clap_builder-4.5.13.sha256sum] = "64b17d7ea74e9f833c7dbf2cbe4fb12ff26783eda4782a8975b72f895c9b4d99" | ||
341 | SRC_URI[clap_complete-4.5.12.sha256sum] = "a8670053e87c316345e384ca1f3eba3006fc6355ed8b8a1140d104e109e3df34" | ||
342 | SRC_URI[clap_derive-4.5.13.sha256sum] = "501d359d5f3dcaf6ecdeee48833ae73ec6e42723a1e52419c79abf9507eec0a0" | ||
343 | SRC_URI[clap_lex-0.7.2.sha256sum] = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" | ||
344 | SRC_URI[color_quant-1.1.0.sha256sum] = "3d7b894f5411737b7867f4827955924d7c254fc9f4d91a6aad6b097804b1018b" | ||
345 | SRC_URI[colorchoice-1.0.2.sha256sum] = "d3fd119d74b830634cea2a0f58bbd0d54540518a14397557951e79340abc28c0" | ||
346 | SRC_URI[core-foundation-sys-0.8.6.sha256sum] = "06ea2b9bc92be3c2baa9334a323ebca2d6f074ff852cd1d7b11064035cd3868f" | ||
347 | SRC_URI[crc32fast-1.4.2.sha256sum] = "a97769d94ddab943e4510d138150169a2758b5ef3eb191a9ee688de3e23ef7b3" | ||
348 | SRC_URI[criterion-0.5.1.sha256sum] = "f2b12d017a929603d80db1831cd3a24082f8137ce19c69e6447f54f5fc8d692f" | ||
349 | SRC_URI[criterion-plot-0.5.0.sha256sum] = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1" | ||
350 | SRC_URI[crossbeam-deque-0.8.5.sha256sum] = "613f8cc01fe9cf1a3eb3d7f488fd2fa8388403e97039e2f73692932e291a770d" | ||
351 | SRC_URI[crossbeam-epoch-0.9.18.sha256sum] = "5b82ac4a3c2ca9c3460964f020e1402edd5753411d7737aa39c3714ad1b5420e" | ||
352 | SRC_URI[crossbeam-utils-0.8.20.sha256sum] = "22ec99545bb0ed0ea7bb9b8e1e9122ea386ff8a48c0922e43f36d45ab09e0e80" | ||
353 | SRC_URI[crunchy-0.2.2.sha256sum] = "7a81dae078cea95a014a339291cec439d2f232ebe854a9d672b796c6afafa9b7" | ||
354 | SRC_URI[crypto-common-0.1.6.sha256sum] = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" | ||
355 | SRC_URI[cssparser-0.31.2.sha256sum] = "5b3df4f93e5fbbe73ec01ec8d3f68bba73107993a5b1e7519273c32db9b0d5be" | ||
356 | SRC_URI[cssparser-macros-0.6.1.sha256sum] = "13b588ba4ac1a99f7f2964d24b3d896ddc6bf847ee3855dbd4366f058cfcd331" | ||
357 | SRC_URI[data-url-0.3.1.sha256sum] = "5c297a1c74b71ae29df00c3e22dd9534821d60eb9af5a0192823fa2acea70c2a" | ||
358 | SRC_URI[dav1d-0.10.3.sha256sum] = "0d4b54a40baf633a71c6f0fb49494a7e4ee7bc26f3e727212b6cb915aa1ea1e1" | ||
359 | SRC_URI[dav1d-sys-0.8.2.sha256sum] = "6ecb1c5e8f4dc438eedc1b534a54672fb0e0a56035dae6b50162787bd2c50e95" | ||
360 | SRC_URI[dcv-color-primitives-0.6.1.sha256sum] = "07ad62edfed069700a5b33af6babd29c498d7e33eb01d96ffa8841ee1841634c" | ||
361 | SRC_URI[deranged-0.3.11.sha256sum] = "b42b6fa04a440b495c8b04d0e71b707c585f83cb9cb28cf8cd0d976c315e31b4" | ||
362 | SRC_URI[derive_more-0.99.18.sha256sum] = "5f33878137e4dafd7fa914ad4e259e18a4e8e532b9617a2d0150262bf53abfce" | ||
363 | SRC_URI[difflib-0.4.0.sha256sum] = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8" | ||
364 | SRC_URI[digest-0.10.7.sha256sum] = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" | ||
365 | SRC_URI[dlib-0.5.2.sha256sum] = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412" | ||
366 | SRC_URI[doc-comment-0.3.3.sha256sum] = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10" | ||
367 | SRC_URI[dtoa-1.0.9.sha256sum] = "dcbb2bf8e87535c23f7a8a321e364ce21462d0ff10cb6407820e8e96dfff6653" | ||
368 | SRC_URI[dtoa-short-0.3.5.sha256sum] = "cd1511a7b6a56299bd043a9c167a6d2bfb37bf84a6dfceaba651168adfb43c87" | ||
369 | SRC_URI[either-1.13.0.sha256sum] = "60b1af1c220855b6ceac025d3f6ecdd2b7c4894bfe9cd9bda4fbb4bc7c0d4cf0" | ||
370 | SRC_URI[encoding_rs-0.8.34.sha256sum] = "b45de904aa0b010bce2ab45264d0631681847fa7b6f2eaa7dab7619943bc4f59" | ||
371 | SRC_URI[equivalent-1.0.1.sha256sum] = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" | ||
372 | SRC_URI[errno-0.3.9.sha256sum] = "534c5cf6194dfab3db3242765c03bbe257cf92f22b38f6bc0c58d59108a820ba" | ||
373 | SRC_URI[fallible_collections-0.4.9.sha256sum] = "a88c69768c0a15262df21899142bc6df9b9b823546d4b4b9a7bc2d6c448ec6fd" | ||
374 | SRC_URI[fastrand-2.1.0.sha256sum] = "9fc0510504f03c51ada170672ac806f1f105a88aa97a5281117e1ddc3368e51a" | ||
375 | SRC_URI[fdeflate-0.3.4.sha256sum] = "4f9bfee30e4dedf0ab8b422f03af778d9612b63f502710fc500a334ebe2de645" | ||
376 | SRC_URI[flate2-1.0.31.sha256sum] = "7f211bbe8e69bbd0cfdea405084f128ae8b4aaa6b0b522fc8f2b009084797920" | ||
377 | SRC_URI[float-cmp-0.9.0.sha256sum] = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4" | ||
378 | SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1" | ||
379 | SRC_URI[form_urlencoded-1.2.1.sha256sum] = "e13624c2627564efccf4934284bdd98cbaa14e79b0b5a141218e507b3a823456" | ||
380 | SRC_URI[futf-0.1.5.sha256sum] = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843" | ||
381 | SRC_URI[futures-channel-0.3.30.sha256sum] = "eac8f7d7865dcb88bd4373ab671c8cf4508703796caa2b1985a9ca867b3fcb78" | ||
382 | SRC_URI[futures-core-0.3.30.sha256sum] = "dfc6580bb841c5a68e9ef15c77ccc837b40a7504914d52e47b8b0e9bbda25a1d" | ||
383 | SRC_URI[futures-executor-0.3.30.sha256sum] = "a576fc72ae164fca6b9db127eaa9a9dda0d61316034f33a0a0d4eda41f02b01d" | ||
384 | SRC_URI[futures-io-0.3.30.sha256sum] = "a44623e20b9681a318efdd71c299b6b222ed6f231972bfe2f224ebad6311f0c1" | ||
385 | SRC_URI[futures-macro-0.3.30.sha256sum] = "87750cf4b7a4c0625b1529e4c543c2182106e4dedc60a2a6455e00d212c489ac" | ||
386 | SRC_URI[futures-task-0.3.30.sha256sum] = "38d84fa142264698cdce1a9f9172cf383a0c82de1bddcf3092901442c4097004" | ||
387 | SRC_URI[futures-util-0.3.30.sha256sum] = "3d6401deb83407ab3da39eba7e33987a73c3df0c82b4bb5813ee871c19c41d48" | ||
388 | SRC_URI[fxhash-0.2.1.sha256sum] = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c" | ||
389 | SRC_URI[gdk-pixbuf-0.20.0.sha256sum] = "28bb53ecb56857c683c9ec859908e076dd3969c7d67598bd8b1ce095d211304a" | ||
390 | SRC_URI[gdk-pixbuf-sys-0.20.0.sha256sum] = "9f6681a0c1330d1d3968bec1529f7172d62819ef0bdbb0d18022320654158b03" | ||
391 | SRC_URI[generic-array-0.14.7.sha256sum] = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" | ||
392 | SRC_URI[getrandom-0.2.15.sha256sum] = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7" | ||
393 | SRC_URI[gif-0.13.1.sha256sum] = "3fb2d69b19215e18bb912fa30f7ce15846e301408695e44e0ef719f1da9e19f2" | ||
394 | SRC_URI[gio-0.20.0.sha256sum] = "398e3da68749fdc32783cbf7521ec3f65c9cf946db8c7774f8460af49e52c6e2" | ||
395 | SRC_URI[gio-sys-0.20.0.sha256sum] = "e4feb96b31c32730ea3e1e89aecd2e4e37ecb1c473ad8f685e3430a159419f63" | ||
396 | SRC_URI[glib-0.20.0.sha256sum] = "fee90a615ce05be7a32932cfb8adf2c4bbb4700e80d37713c981fb24c0c56238" | ||
397 | SRC_URI[glib-macros-0.20.0.sha256sum] = "4da558d8177c0c8c54368818b508a4244e1286fce2858cef4e547023f0cfa5ef" | ||
398 | SRC_URI[glib-sys-0.20.0.sha256sum] = "4958c26e5a01c9af00dea669a97369eccbec29a8e6d125c24ea2d85ee7467b60" | ||
399 | SRC_URI[gobject-sys-0.20.0.sha256sum] = "c6908864f5ffff15b56df7e90346863904f49b949337ed0456b9287af61903b8" | ||
400 | SRC_URI[half-2.4.1.sha256sum] = "6dd08c532ae367adf81c312a4580bc67f1d0fe8bc9c460520283f4c0ff277888" | ||
401 | SRC_URI[hashbrown-0.13.2.sha256sum] = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" | ||
402 | SRC_URI[hashbrown-0.14.5.sha256sum] = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" | ||
403 | SRC_URI[heck-0.5.0.sha256sum] = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" | ||
404 | SRC_URI[hermit-abi-0.3.9.sha256sum] = "d231dfb89cfffdbc30e7fc41579ed6066ad03abda9e567ccafae602b97ec5024" | ||
405 | SRC_URI[iana-time-zone-0.1.60.sha256sum] = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" | ||
406 | SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f" | ||
407 | SRC_URI[idna-0.5.0.sha256sum] = "634d9b1461af396cad843f47fdba5597a4f9e6ddd4bfb6ff5d85028c25cb12f6" | ||
408 | SRC_URI[image-0.25.2.sha256sum] = "99314c8a2152b8ddb211f924cdae532d8c5e4c8bb54728e12fff1b0cd5963a10" | ||
409 | SRC_URI[image-webp-0.1.3.sha256sum] = "f79afb8cbee2ef20f59ccd477a218c12a93943d075b492015ecb1bb81f8ee904" | ||
410 | SRC_URI[indexmap-2.3.0.sha256sum] = "de3fc2e30ba82dd1b3911c8de1ffc143c74a914a14e99514d7637e3099df5ea0" | ||
411 | SRC_URI[is-terminal-0.4.12.sha256sum] = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" | ||
412 | SRC_URI[is_terminal_polyfill-1.70.1.sha256sum] = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" | ||
413 | SRC_URI[itertools-0.10.5.sha256sum] = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" | ||
414 | SRC_URI[itertools-0.13.0.sha256sum] = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" | ||
415 | SRC_URI[itoa-1.0.11.sha256sum] = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" | ||
416 | SRC_URI[js-sys-0.3.69.sha256sum] = "29c15563dc2726973df627357ce0c9ddddbea194836909d655df6a75d2cf296d" | ||
417 | SRC_URI[language-tags-0.3.2.sha256sum] = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388" | ||
418 | SRC_URI[lazy_static-1.5.0.sha256sum] = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" | ||
419 | SRC_URI[libc-0.2.155.sha256sum] = "97b3888a4aecf77e811145cadf6eef5901f4782c53886191b2f693f24761847c" | ||
420 | SRC_URI[libloading-0.8.5.sha256sum] = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4" | ||
421 | SRC_URI[libm-0.2.8.sha256sum] = "4ec2a862134d2a7d32d7983ddcdd1c4923530833c9f2ea1a44fc5fa473989058" | ||
422 | SRC_URI[linked-hash-map-0.5.6.sha256sum] = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f" | ||
423 | SRC_URI[linux-raw-sys-0.4.14.sha256sum] = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" | ||
424 | SRC_URI[locale_config-0.3.0.sha256sum] = "08d2c35b16f4483f6c26f0e4e9550717a2f6575bcd6f12a53ff0c490a94a6934" | ||
425 | SRC_URI[lock_api-0.4.12.sha256sum] = "07af8b9cdd281b7915f413fa73f29ebd5d55d0d3f0155584dade1ff18cea1b17" | ||
426 | SRC_URI[log-0.4.22.sha256sum] = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24" | ||
427 | SRC_URI[lopdf-0.33.0.sha256sum] = "b5c14afa083a906d49e1bda105ddbf8175016e2658954e6d0c3e612f886df3db" | ||
428 | SRC_URI[mac-0.1.1.sha256sum] = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4" | ||
429 | SRC_URI[malloc_buf-0.0.6.sha256sum] = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb" | ||
430 | SRC_URI[markup5ever-0.12.1.sha256sum] = "16ce3abbeba692c8b8441d036ef91aea6df8da2c6b6e21c7e14d3c18e526be45" | ||
431 | SRC_URI[matches-0.1.10.sha256sum] = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5" | ||
432 | SRC_URI[matrixmultiply-0.3.9.sha256sum] = "9380b911e3e96d10c1f415da0876389aaf1b56759054eeb0de7df940c456ba1a" | ||
433 | SRC_URI[md-5-0.10.6.sha256sum] = "d89e7ee0cfbedfc4da3340218492196241d89eefb6dab27de5df917a6d2e78cf" | ||
434 | SRC_URI[memchr-2.7.4.sha256sum] = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3" | ||
435 | SRC_URI[minimal-lexical-0.2.1.sha256sum] = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" | ||
436 | SRC_URI[miniz_oxide-0.7.4.sha256sum] = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" | ||
437 | SRC_URI[mp4parse-0.17.0.sha256sum] = "63a35203d3c6ce92d5251c77520acb2e57108c88728695aa883f70023624c570" | ||
438 | SRC_URI[nalgebra-0.33.0.sha256sum] = "3c4b5f057b303842cf3262c27e465f4c303572e7f6b0648f60e16248ac3397f4" | ||
439 | SRC_URI[nalgebra-macros-0.2.2.sha256sum] = "254a5372af8fc138e36684761d3c0cdb758a4410e938babcff1c860ce14ddbfc" | ||
440 | SRC_URI[new_debug_unreachable-1.0.6.sha256sum] = "650eef8c711430f1a879fdd01d4745a7deea475becfb90269c06775983bbf086" | ||
441 | SRC_URI[nom-7.1.3.sha256sum] = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" | ||
442 | SRC_URI[normalize-line-endings-0.3.0.sha256sum] = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be" | ||
443 | SRC_URI[num-bigint-0.4.6.sha256sum] = "a5e44f723f1133c9deac646763579fdb3ac745e418f2a7af9cd0c431da1f20b9" | ||
444 | SRC_URI[num-complex-0.4.6.sha256sum] = "73f88a1307638156682bada9d7604135552957b7818057dcef22705b4d509495" | ||
445 | SRC_URI[num-conv-0.1.0.sha256sum] = "51d515d32fb182ee37cda2ccdcb92950d6a3c2893aa280e540671c2cd0f3b1d9" | ||
446 | SRC_URI[num-derive-0.4.2.sha256sum] = "ed3955f1a9c7c0c15e092f9c887db08b1fc683305fdf6eb6684f22555355e202" | ||
447 | SRC_URI[num-integer-0.1.46.sha256sum] = "7969661fd2958a5cb096e56c8e1ad0444ac2bbcd0061bd28660485a44879858f" | ||
448 | SRC_URI[num-rational-0.4.2.sha256sum] = "f83d14da390562dca69fc84082e73e548e1ad308d24accdedd2720017cb37824" | ||
449 | SRC_URI[num-traits-0.2.19.sha256sum] = "071dfc062690e90b734c0b2273ce72ad0ffa95f0c74596bc250dcfd960262841" | ||
450 | SRC_URI[objc-0.2.7.sha256sum] = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1" | ||
451 | SRC_URI[objc-foundation-0.1.1.sha256sum] = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9" | ||
452 | SRC_URI[objc_id-0.1.1.sha256sum] = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b" | ||
453 | SRC_URI[once_cell-1.19.0.sha256sum] = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" | ||
454 | SRC_URI[oorandom-11.1.4.sha256sum] = "b410bbe7e14ab526a0e86877eb47c6996a2bd7746f027ba551028c925390e4e9" | ||
455 | SRC_URI[pango-0.20.0.sha256sum] = "54768854025df6903061d0084fd9702a253ddfd60db7d9b751d43b76689a7f0a" | ||
456 | SRC_URI[pango-sys-0.20.0.sha256sum] = "b07cc57d10cee4ec661f718a6902cee18c2f4cfae08e87e5a390525946913390" | ||
457 | SRC_URI[pangocairo-0.20.0.sha256sum] = "902cd6e53493a475f4524e7b3f4c09ef60ee87c7be16f08f1b41882fc74dac46" | ||
458 | SRC_URI[pangocairo-sys-0.20.0.sha256sum] = "bc23a5ea756e709ab1598f8446a64c799b10c99ec59aa2310965218bc1915853" | ||
459 | SRC_URI[parking_lot-0.12.3.sha256sum] = "f1bf18183cf54e8d6059647fc3063646a1801cf30896933ec2311622cc4b9a27" | ||
460 | SRC_URI[parking_lot_core-0.9.10.sha256sum] = "1e401f977ab385c9e4e3ab30627d6f26d00e2c73eef317493c4ec6d468726cf8" | ||
461 | SRC_URI[paste-1.0.15.sha256sum] = "57c0d7b74b563b49d38dae00a0c37d4d6de9b432382b2892f0574ddcae73fd0a" | ||
462 | SRC_URI[percent-encoding-2.3.1.sha256sum] = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" | ||
463 | SRC_URI[phf-0.10.1.sha256sum] = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259" | ||
464 | SRC_URI[phf-0.11.2.sha256sum] = "ade2d8b8f33c7333b51bcf0428d37e217e9f32192ae4772156f65063b8ce03dc" | ||
465 | SRC_URI[phf_codegen-0.10.0.sha256sum] = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd" | ||
466 | SRC_URI[phf_codegen-0.11.2.sha256sum] = "e8d39688d359e6b34654d328e262234662d16cc0f60ec8dcbe5e718709342a5a" | ||
467 | SRC_URI[phf_generator-0.10.0.sha256sum] = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6" | ||
468 | SRC_URI[phf_generator-0.11.2.sha256sum] = "48e4cc64c2ad9ebe670cb8fd69dd50ae301650392e81c05f9bfcb2d5bdbc24b0" | ||
469 | SRC_URI[phf_macros-0.11.2.sha256sum] = "3444646e286606587e49f3bcf1679b8cef1dc2c5ecc29ddacaffc305180d464b" | ||
470 | SRC_URI[phf_shared-0.10.0.sha256sum] = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096" | ||
471 | SRC_URI[phf_shared-0.11.2.sha256sum] = "90fcb95eef784c2ac79119d1dd819e162b5da872ce6f3c3abe1e8ca1c082f72b" | ||
472 | SRC_URI[pin-project-lite-0.2.14.sha256sum] = "bda66fc9667c18cb2758a2ac84d1167245054bcf85d5d1aaa6923f45801bdd02" | ||
473 | SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" | ||
474 | SRC_URI[pkg-config-0.3.30.sha256sum] = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" | ||
475 | SRC_URI[plotters-0.3.6.sha256sum] = "a15b6eccb8484002195a3e44fe65a4ce8e93a625797a063735536fd59cb01cf3" | ||
476 | SRC_URI[plotters-backend-0.3.6.sha256sum] = "414cec62c6634ae900ea1c56128dfe87cf63e7caece0852ec76aba307cebadb7" | ||
477 | SRC_URI[plotters-svg-0.3.6.sha256sum] = "81b30686a7d9c3e010b84284bdd26a29f2138574f52f5eb6f794fc0ad924e705" | ||
478 | SRC_URI[png-0.17.13.sha256sum] = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1" | ||
479 | SRC_URI[powerfmt-0.2.0.sha256sum] = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391" | ||
480 | SRC_URI[ppv-lite86-0.2.20.sha256sum] = "77957b295656769bb8ad2b6a6b09d897d94f05c41b069aede1fcdaa675eaea04" | ||
481 | SRC_URI[precomputed-hash-0.1.1.sha256sum] = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c" | ||
482 | SRC_URI[predicates-3.1.2.sha256sum] = "7e9086cc7640c29a356d1a29fd134380bee9d8f79a17410aa76e7ad295f42c97" | ||
483 | SRC_URI[predicates-core-1.0.8.sha256sum] = "ae8177bee8e75d6846599c6b9ff679ed51e882816914eec639944d7c9aa11931" | ||
484 | SRC_URI[predicates-tree-1.0.11.sha256sum] = "41b740d195ed3166cd147c8047ec98db0e22ec019eb8eeb76d343b795304fb13" | ||
485 | SRC_URI[proc-macro-crate-3.1.0.sha256sum] = "6d37c51ca738a55da99dc0c4a34860fd675453b8b36209178c2249bb13651284" | ||
486 | SRC_URI[proc-macro2-1.0.86.sha256sum] = "5e719e8df665df0d1c8fbfd238015744736151d4445ec0836b8e628aae103b77" | ||
487 | SRC_URI[proptest-1.5.0.sha256sum] = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d" | ||
488 | SRC_URI[quick-error-1.2.3.sha256sum] = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0" | ||
489 | SRC_URI[quick-error-2.0.1.sha256sum] = "a993555f31e5a609f617c12db6250dedcac1b0a85076912c436e6fc9b2c8e6a3" | ||
490 | SRC_URI[quote-1.0.36.sha256sum] = "0fa76aaf39101c457836aec0ce2316dbdc3ab723cdda1c6bd4e6ad4208acaca7" | ||
491 | SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" | ||
492 | SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" | ||
493 | SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" | ||
494 | SRC_URI[rand_xorshift-0.3.0.sha256sum] = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f" | ||
495 | SRC_URI[rawpointer-0.2.1.sha256sum] = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3" | ||
496 | SRC_URI[rayon-1.10.0.sha256sum] = "b418a60154510ca1a002a752ca9714984e21e4241e804d32555251faf8b78ffa" | ||
497 | SRC_URI[rayon-core-1.12.1.sha256sum] = "1465873a3dfdaa8ae7cb14b4383657caab0b3e8a0aa9ae8e04b044854c8dfce2" | ||
498 | SRC_URI[rctree-0.6.0.sha256sum] = "e03e7866abec1101869ffa8e2c8355c4c2419d0214ece0cc3e428e5b94dea6e9" | ||
499 | SRC_URI[redox_syscall-0.5.3.sha256sum] = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" | ||
500 | SRC_URI[regex-1.10.6.sha256sum] = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619" | ||
501 | SRC_URI[regex-automata-0.4.7.sha256sum] = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df" | ||
502 | SRC_URI[regex-syntax-0.8.4.sha256sum] = "7a66a03ae7c801facd77a29370b4faec201768915ac14a721ba36f20bc9c209b" | ||
503 | SRC_URI[rgb-0.8.48.sha256sum] = "0f86ae463694029097b846d8f99fd5536740602ae00022c0c50c5600720b2f71" | ||
504 | SRC_URI[rustix-0.38.34.sha256sum] = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" | ||
505 | SRC_URI[rusty-fork-0.3.0.sha256sum] = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f" | ||
506 | SRC_URI[ryu-1.0.18.sha256sum] = "f3cb5ba0dc43242ce17de99c180e96db90b235b8a9fdc9543c96d2209116bd9f" | ||
507 | SRC_URI[safe_arch-0.7.2.sha256sum] = "c3460605018fdc9612bce72735cba0d27efbcd9904780d44c7e3a9948f96148a" | ||
508 | SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" | ||
509 | SRC_URI[scopeguard-1.2.0.sha256sum] = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" | ||
510 | SRC_URI[selectors-0.25.0.sha256sum] = "4eb30575f3638fc8f6815f448d50cb1a2e255b0897985c8c59f4d37b72a07b06" | ||
511 | SRC_URI[serde-1.0.204.sha256sum] = "bc76f558e0cbb2a839d37354c575f1dc3fdc6546b5be373ba43d95f231bf7c12" | ||
512 | SRC_URI[serde_derive-1.0.204.sha256sum] = "e0cd7e117be63d3c3678776753929474f3b04a43a080c744d6b0ae2a8c28e222" | ||
513 | SRC_URI[serde_json-1.0.122.sha256sum] = "784b6203951c57ff748476b126ccb5e8e2959a5c19e5c617ab1956be3dbc68da" | ||
514 | SRC_URI[serde_spanned-0.6.7.sha256sum] = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" | ||
515 | SRC_URI[servo_arc-0.3.0.sha256sum] = "d036d71a959e00c77a63538b90a6c2390969f9772b096ea837205c6bd0491a44" | ||
516 | SRC_URI[shell-words-1.1.0.sha256sum] = "24188a676b6ae68c3b2cb3a01be17fbf7240ce009799bb56d5b1409051e78fde" | ||
517 | SRC_URI[simba-0.9.0.sha256sum] = "b3a386a501cd104797982c15ae17aafe8b9261315b5d07e3ec803f2ea26be0fa" | ||
518 | SRC_URI[simd-adler32-0.3.7.sha256sum] = "d66dc143e6b11c1eddc06d5c423cfc97062865baf299914ab64caa38182078fe" | ||
519 | SRC_URI[siphasher-0.3.11.sha256sum] = "38b58827f4464d87d377d175e90bf58eb00fd8716ff0a62f80356b5e61555d0d" | ||
520 | SRC_URI[slab-0.4.9.sha256sum] = "8f92a496fb766b417c996b9c5e57daf2f7ad3b0bebe1ccfca4856390e3d3bb67" | ||
521 | SRC_URI[smallvec-1.13.2.sha256sum] = "3c5e1a9a646d36c3599cd173a41282daf47c44583ad367b8e6837255952e5c67" | ||
522 | SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3" | ||
523 | SRC_URI[static_assertions-1.1.0.sha256sum] = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f" | ||
524 | SRC_URI[string_cache-0.8.7.sha256sum] = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b" | ||
525 | SRC_URI[string_cache_codegen-0.5.2.sha256sum] = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988" | ||
526 | SRC_URI[strsim-0.11.1.sha256sum] = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" | ||
527 | SRC_URI[syn-2.0.72.sha256sum] = "dc4b9b9bf2add8093d3f2c0204471e951b2285580335de42f9d2534f3ae7a8af" | ||
528 | SRC_URI[system-deps-6.2.2.sha256sum] = "a3e535eb8dded36d55ec13eddacd30dec501792ff23a0b1682c38601b8cf2349" | ||
529 | SRC_URI[system-deps-7.0.1.sha256sum] = "6c81f13d9a334a6c242465140bd262fae382b752ff2011c4f7419919a9c97922" | ||
530 | SRC_URI[target-lexicon-0.12.16.sha256sum] = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1" | ||
531 | SRC_URI[tempfile-3.12.0.sha256sum] = "04cbcdd0c794ebb0d4cf35e88edd2f7d2c4c3e9a5a6dab322839b321c6a87a64" | ||
532 | SRC_URI[tendril-0.4.3.sha256sum] = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0" | ||
533 | SRC_URI[termtree-0.4.1.sha256sum] = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76" | ||
534 | SRC_URI[thiserror-1.0.63.sha256sum] = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" | ||
535 | SRC_URI[thiserror-impl-1.0.63.sha256sum] = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" | ||
536 | SRC_URI[time-0.3.36.sha256sum] = "5dfd88e563464686c916c7e46e623e520ddc6d79fa6641390f2e3fa86e83e885" | ||
537 | SRC_URI[time-core-0.1.2.sha256sum] = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3" | ||
538 | SRC_URI[time-macros-0.2.18.sha256sum] = "3f252a68540fde3a3877aeea552b832b40ab9a69e318efd078774a01ddee1ccf" | ||
539 | SRC_URI[tinytemplate-1.2.1.sha256sum] = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" | ||
540 | SRC_URI[tinyvec-1.8.0.sha256sum] = "445e881f4f6d382d5f27c034e25eb92edd7c784ceab92a0937db7f2e9471b938" | ||
541 | SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" | ||
542 | SRC_URI[toml-0.8.19.sha256sum] = "a1ed1f98e3fdc28d6d910e6737ae6ab1a93bf1985935a1193e68f93eeb68d24e" | ||
543 | SRC_URI[toml_datetime-0.6.8.sha256sum] = "0dd7358ecb8fc2f8d014bf86f6f638ce72ba252a2c3a2572f2a795f1d23efb41" | ||
544 | SRC_URI[toml_edit-0.21.1.sha256sum] = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1" | ||
545 | SRC_URI[toml_edit-0.22.20.sha256sum] = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" | ||
546 | SRC_URI[typenum-1.17.0.sha256sum] = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" | ||
547 | SRC_URI[unarray-0.1.4.sha256sum] = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94" | ||
548 | SRC_URI[unicode-bidi-0.3.15.sha256sum] = "08f95100a766bf4f8f28f90d77e0a5461bbdb219042e7679bebe79004fed8d75" | ||
549 | SRC_URI[unicode-ident-1.0.12.sha256sum] = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" | ||
550 | SRC_URI[unicode-normalization-0.1.23.sha256sum] = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" | ||
551 | SRC_URI[url-2.5.2.sha256sum] = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c" | ||
552 | SRC_URI[utf-8-0.7.6.sha256sum] = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9" | ||
553 | SRC_URI[utf8parse-0.2.2.sha256sum] = "06abde3611657adf66d383f00b093d7faecc7fa57071cce2578660c9f1010821" | ||
554 | SRC_URI[version-compare-0.2.0.sha256sum] = "852e951cb7832cb45cb1169900d19760cfa39b82bc0ea9c0e5a14ae88411c98b" | ||
555 | SRC_URI[version_check-0.9.5.sha256sum] = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" | ||
556 | SRC_URI[wait-timeout-0.2.0.sha256sum] = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6" | ||
557 | SRC_URI[walkdir-2.5.0.sha256sum] = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" | ||
558 | SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" | ||
559 | SRC_URI[wasm-bindgen-0.2.92.sha256sum] = "4be2531df63900aeb2bca0daaaddec08491ee64ceecbee5076636a3b026795a8" | ||
560 | SRC_URI[wasm-bindgen-backend-0.2.92.sha256sum] = "614d787b966d3989fa7bb98a654e369c762374fd3213d212cfc0251257e747da" | ||
561 | SRC_URI[wasm-bindgen-macro-0.2.92.sha256sum] = "a1f8823de937b71b9460c0c34e25f3da88250760bec0ebac694b49997550d726" | ||
562 | SRC_URI[wasm-bindgen-macro-support-0.2.92.sha256sum] = "e94f17b526d0a461a191c78ea52bbce64071ed5c04c9ffe424dcb38f74171bb7" | ||
563 | SRC_URI[wasm-bindgen-shared-0.2.92.sha256sum] = "af190c94f2773fdb3729c55b007a722abb5384da03bc0986df4c289bf5567e96" | ||
564 | SRC_URI[web-sys-0.3.69.sha256sum] = "77afa9a11836342370f4817622a2f0f418b134426d91a82dfb48f532d2ec13ef" | ||
565 | SRC_URI[weezl-0.1.8.sha256sum] = "53a85b86a771b1c87058196170769dd264f66c0782acf1ae6cc51bfd64b39082" | ||
566 | SRC_URI[wide-0.7.26.sha256sum] = "901e8597c777fa042e9e245bd56c0dc4418c5db3f845b6ff94fbac732c6a0692" | ||
567 | SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" | ||
568 | SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" | ||
569 | SRC_URI[winapi-util-0.1.9.sha256sum] = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" | ||
570 | SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" | ||
571 | SRC_URI[windows-core-0.52.0.sha256sum] = "33ab640c8d7e35bf8ba19b884ba838ceb4fba93a4e8c65a9059d08afcfc683d9" | ||
572 | SRC_URI[windows-sys-0.52.0.sha256sum] = "282be5f36a8ce781fad8c8ae18fa3f9beff57ec1b52cb3de0789201425d9a33d" | ||
573 | SRC_URI[windows-sys-0.59.0.sha256sum] = "1e38bc4d79ed67fd075bcc251a1c39b32a1776bbe92e5bef1f0bf1f8c531853b" | ||
574 | SRC_URI[windows-targets-0.52.6.sha256sum] = "9b724f72796e036ab90c1021d4780d4d3d648aca59e491e6b98e725b84e99973" | ||
575 | SRC_URI[windows_aarch64_gnullvm-0.52.6.sha256sum] = "32a4622180e7a0ec044bb555404c800bc9fd9ec262ec147edd5989ccd0c02cd3" | ||
576 | SRC_URI[windows_aarch64_msvc-0.52.6.sha256sum] = "09ec2a7bb152e2252b53fa7803150007879548bc709c039df7627cabbd05d469" | ||
577 | SRC_URI[windows_i686_gnu-0.52.6.sha256sum] = "8e9b5ad5ab802e97eb8e295ac6720e509ee4c243f69d781394014ebfe8bbfa0b" | ||
578 | SRC_URI[windows_i686_gnullvm-0.52.6.sha256sum] = "0eee52d38c090b3caa76c563b86c3a4bd71ef1a819287c19d586d7334ae8ed66" | ||
579 | SRC_URI[windows_i686_msvc-0.52.6.sha256sum] = "240948bc05c5e7c6dabba28bf89d89ffce3e303022809e73deaefe4f6ec56c66" | ||
580 | SRC_URI[windows_x86_64_gnu-0.52.6.sha256sum] = "147a5c80aabfbf0c7d901cb5895d1de30ef2907eb21fbbab29ca94c5b08b1a78" | ||
581 | SRC_URI[windows_x86_64_gnullvm-0.52.6.sha256sum] = "24d5b23dc417412679681396f2b49f3de8c1473deb516bd34410872eff51ed0d" | ||
582 | SRC_URI[windows_x86_64_msvc-0.52.6.sha256sum] = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" | ||
583 | SRC_URI[winnow-0.5.40.sha256sum] = "f593a95398737aeed53e489c785df13f3618e41dbcd6718c6addbf1395aa6876" | ||
584 | SRC_URI[winnow-0.6.18.sha256sum] = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" | ||
585 | SRC_URI[xml5ever-0.18.1.sha256sum] = "9bbb26405d8e919bc1547a5aa9abc95cbfa438f04844f5fdd9dc7596b748bf69" | ||
586 | SRC_URI[yeslogic-fontconfig-sys-6.0.0.sha256sum] = "503a066b4c037c440169d995b869046827dbc71263f6e8f3be6d77d4f3229dbd" | ||
587 | SRC_URI[zerocopy-0.7.35.sha256sum] = "1b9b4fd18abc82b8136838da5d50bae7bdea537c574d8dc1a34ed098d6c166f0" | ||
588 | SRC_URI[zerocopy-derive-0.7.35.sha256sum] = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e" | ||
589 | SRC_URI[zune-core-0.4.12.sha256sum] = "3f423a2c17029964870cfaabb1f13dfab7d092a62a29a89264f4d36990ca414a" | ||
590 | SRC_URI[zune-jpeg-0.4.13.sha256sum] = "16099418600b4d8f028622f73ff6e3deaabdff330fb9a2a131dea781ee8b0768" | ||
diff --git a/meta/recipes-gnome/librsvg/librsvg/0001-Auto-detect-Bsymbolic-fixes-configure-on-macOS.patch b/meta/recipes-gnome/librsvg/librsvg/0001-Auto-detect-Bsymbolic-fixes-configure-on-macOS.patch deleted file mode 100644 index 954bb60880..0000000000 --- a/meta/recipes-gnome/librsvg/librsvg/0001-Auto-detect-Bsymbolic-fixes-configure-on-macOS.patch +++ /dev/null | |||
@@ -1,35 +0,0 @@ | |||
1 | From b99891e31eb6ce550e7e1cb2ca592095b3050a93 Mon Sep 17 00:00:00 2001 | ||
2 | From: Brion Vibber <brion@pobox.com> | ||
3 | Date: Sun, 25 Feb 2018 18:42:36 -0800 | ||
4 | Subject: Auto-detect -Bsymbolic, fixes configure on macOS | ||
5 | |||
6 | The -Bsymbolic linker option is ELF-specific, and was breaking | ||
7 | configure on macOS unless --disable-Bsymbolic was explicitly passed. | ||
8 | |||
9 | Switching the behavior from requiring -Bsymbolic to be available | ||
10 | by default to just warning and continuing on without. | ||
11 | |||
12 | Fixes https://gitlab.gnome.org/GNOME/librsvg/issues/211 | ||
13 | |||
14 | Upstream-Status: Backport | ||
15 | Signed-off-by: Adrian Bunk <bunk@stusta.de> | ||
16 | --- | ||
17 | configure.ac | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/configure.ac b/configure.ac | ||
21 | index 15b26b2d..9f8dce29 100644 | ||
22 | --- a/configure.ac | ||
23 | +++ b/configure.ac | ||
24 | @@ -216,7 +216,7 @@ AM_CONDITIONAL([ENABLE_PIXBUF_LOADER],[test "$enable_pixbuf_loader" = "yes"]) | ||
25 | AC_ARG_ENABLE([Bsymbolic], | ||
26 | [AS_HELP_STRING([--disable-Bsymbolic], | ||
27 | [disable linking with -Bsymbolic])], | ||
28 | - [],[enable_Bsymbolic=yes]) | ||
29 | + [enable_Bsymbolic=no],[enable_Bsymbolic=auto]) | ||
30 | |||
31 | BSYMBOLIC_LDFLAG= | ||
32 | if test "$enable_Bsymbolic" != "no"; then | ||
33 | -- | ||
34 | 2.20.1 | ||
35 | |||
diff --git a/meta/recipes-gnome/librsvg/librsvg/0001-Remove-non-reproducible-SRCDIR.patch b/meta/recipes-gnome/librsvg/librsvg/0001-Remove-non-reproducible-SRCDIR.patch deleted file mode 100644 index 75fc7f9d0b..0000000000 --- a/meta/recipes-gnome/librsvg/librsvg/0001-Remove-non-reproducible-SRCDIR.patch +++ /dev/null | |||
@@ -1,30 +0,0 @@ | |||
1 | From bea5156cd7e7122715b26c769c35928141a1da2c Mon Sep 17 00:00:00 2001 | ||
2 | From: Joshua Watt <JPEWhacker@gmail.com> | ||
3 | Date: Mon, 18 Nov 2019 14:46:34 -0600 | ||
4 | Subject: [PATCH] Remove non-reproducible SRCDIR | ||
5 | |||
6 | Removes SRCDIR as the prefix for finding the test font. This wouldn't | ||
7 | work anyway, since that path is not present on the target. | ||
8 | |||
9 | This patch is specific to OE, since it appears that this entire method | ||
10 | of testing was removed when upstream was re-written in rust | ||
11 | |||
12 | Upstream-Status: Inappropriate [OE-specific, no longer present upstream] | ||
13 | Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> | ||
14 | --- | ||
15 | rsvg-cairo-draw.c | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/rsvg-cairo-draw.c b/rsvg-cairo-draw.c | ||
19 | index caa9104..cfb7ed2 100644 | ||
20 | --- a/rsvg-cairo-draw.c | ||
21 | +++ b/rsvg-cairo-draw.c | ||
22 | @@ -398,7 +398,7 @@ set_font_options_for_testing (PangoContext *context) | ||
23 | static void | ||
24 | create_font_config_for_testing (RsvgCairoRender *render) | ||
25 | { | ||
26 | - const char *font_path = SRCDIR "/tests/resources/LiberationSans-Regular.ttf"; | ||
27 | + const char *font_path = "/tests/resources/LiberationSans-Regular.ttf"; | ||
28 | |||
29 | if (render->font_config_for_testing != NULL) | ||
30 | return; | ||
diff --git a/meta/recipes-gnome/librsvg/librsvg/0001-gdk-pixbuf-loader-meson.build-do-not-look-for-gdk-pi.patch b/meta/recipes-gnome/librsvg/librsvg/0001-gdk-pixbuf-loader-meson.build-do-not-look-for-gdk-pi.patch new file mode 100644 index 0000000000..9b8468f309 --- /dev/null +++ b/meta/recipes-gnome/librsvg/librsvg/0001-gdk-pixbuf-loader-meson.build-do-not-look-for-gdk-pi.patch | |||
@@ -0,0 +1,28 @@ | |||
1 | From 57f98688e46b128f7767479ef373e8cb5e3304b8 Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Wed, 27 Nov 2024 16:34:06 +0100 | ||
4 | Subject: [PATCH] gdk-pixbuf-loader/meson.build: do not look for | ||
5 | gdk-pixbuf-query-loaders | ||
6 | |||
7 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/1061] | ||
8 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
9 | --- | ||
10 | gdk-pixbuf-loader/meson.build | 2 -- | ||
11 | 1 file changed, 2 deletions(-) | ||
12 | |||
13 | diff --git a/gdk-pixbuf-loader/meson.build b/gdk-pixbuf-loader/meson.build | ||
14 | index 5081844..4ae58c6 100644 | ||
15 | --- a/gdk-pixbuf-loader/meson.build | ||
16 | +++ b/gdk-pixbuf-loader/meson.build | ||
17 | @@ -36,8 +36,6 @@ pixbuf_thumbnailer = configure_file( | ||
18 | install_dir: get_option('datadir') / 'thumbnailers' | ||
19 | ) | ||
20 | |||
21 | -gdk_pixbuf_query_loaders = find_program(pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_query_loaders', default_value: 'gdk-pixbuf-query-loaders')) | ||
22 | - | ||
23 | pixbufloader_svg_install_args = [ | ||
24 | '--gdk-pixbuf-moduledir', | ||
25 | pixbuf_dep.get_variable(pkgconfig: 'gdk_pixbuf_moduledir', pkgconfig_define: ['prefix', prefix]), | ||
26 | -- | ||
27 | 2.39.5 | ||
28 | |||
diff --git a/meta/recipes-gnome/librsvg/librsvg/0001-meson.build-do-not-force-disable-introspection-and-v.patch b/meta/recipes-gnome/librsvg/librsvg/0001-meson.build-do-not-force-disable-introspection-and-v.patch new file mode 100644 index 0000000000..f33e90a630 --- /dev/null +++ b/meta/recipes-gnome/librsvg/librsvg/0001-meson.build-do-not-force-disable-introspection-and-v.patch | |||
@@ -0,0 +1,34 @@ | |||
1 | From 57d02c05184ae565ef8182c7151c1faa97d45b2b Mon Sep 17 00:00:00 2001 | ||
2 | From: Alexander Kanavin <alex@linutronix.de> | ||
3 | Date: Wed, 27 Nov 2024 16:28:49 +0100 | ||
4 | Subject: [PATCH] meson.build: do not force-disable introspection and vala in | ||
5 | cross builds | ||
6 | |||
7 | It is entirely possible to make them work through qemu wrappers | ||
8 | (and g-i has upstream support for it). | ||
9 | |||
10 | Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/1062] | ||
11 | Signed-off-by: Alexander Kanavin <alex@linutronix.de> | ||
12 | --- | ||
13 | meson.build | 4 ++-- | ||
14 | 1 file changed, 2 insertions(+), 2 deletions(-) | ||
15 | |||
16 | diff --git a/meson.build b/meson.build | ||
17 | index 12cb44f..2dae10c 100644 | ||
18 | --- a/meson.build | ||
19 | +++ b/meson.build | ||
20 | @@ -160,9 +160,9 @@ endif | ||
21 | if host_system == 'windows' | ||
22 | build_gir = get_option('introspection').require(get_option('default_library') != 'static' and not meson.is_cross_build() and gi_dep.found()) | ||
23 | else | ||
24 | - build_gir = get_option('introspection').require(not meson.is_cross_build() and gi_dep.found()) | ||
25 | + build_gir = get_option('introspection').require(gi_dep.found()) | ||
26 | endif | ||
27 | -build_vala = get_option('vala').require(not meson.is_cross_build() and vapigen_dep.found()) | ||
28 | +build_vala = get_option('vala').require(vapigen_dep.found()) | ||
29 | |||
30 | build_pixbuf_loader = get_option('pixbuf-loader').require(pixbuf_dep.found()) | ||
31 | |||
32 | -- | ||
33 | 2.39.5 | ||
34 | |||
diff --git a/meta/recipes-gnome/librsvg/librsvg/gtk-option.patch b/meta/recipes-gnome/librsvg/librsvg/gtk-option.patch deleted file mode 100644 index 6c23071cd3..0000000000 --- a/meta/recipes-gnome/librsvg/librsvg/gtk-option.patch +++ /dev/null | |||
@@ -1,60 +0,0 @@ | |||
1 | From 4e0ce3f22d45033a108cbacca3e5ec6728bd44f3 Mon Sep 17 00:00:00 2001 | ||
2 | From: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
3 | Date: Tue, 11 Aug 2015 16:25:38 +0300 | ||
4 | Subject: [PATCH] configure: add option to enable/disable use of GTK+ | ||
5 | |||
6 | Distro packagers like predictability and automatically detected optional | ||
7 | dependencies are not predicable. Add a --with-gtk3 option (default to "auto") | ||
8 | for forcibly controlling whether GTK+ will be used or not. | ||
9 | |||
10 | Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=712693] | ||
11 | |||
12 | Signed-off-by: Ross Burton <ross.burton@intel.com> | ||
13 | Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> | ||
14 | --- | ||
15 | configure.ac | 17 +++++++++++------ | ||
16 | 1 file changed, 11 insertions(+), 6 deletions(-) | ||
17 | |||
18 | diff --git a/configure.ac b/configure.ac | ||
19 | index e61a952..c3aae84 100644 | ||
20 | --- a/configure.ac | ||
21 | +++ b/configure.ac | ||
22 | @@ -130,17 +130,22 @@ AC_CHECK_FUNCS(strtok_r) | ||
23 | # GTK | ||
24 | # =========================================================================== | ||
25 | |||
26 | -PKG_CHECK_MODULES([GTK3],[gtk+-3.0 >= $GTK3_REQUIRED],[have_gtk_3=yes],[have_gtk_3=no]) | ||
27 | - | ||
28 | GTK3_BINARY_VERSION= | ||
29 | |||
30 | -if test "$have_gtk_3" = "yes"; then | ||
31 | - GTK3_BINARY_VERSION="`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`" | ||
32 | +AC_MSG_CHECKING([whether to use GTK+ 3]) | ||
33 | +AC_ARG_WITH([gtk3], | ||
34 | + [AS_HELP_STRING([--without-gtk3],[Don't build GTK+3 tools (default=auto)])], | ||
35 | + [],[PKG_CHECK_EXISTS([gtk+-3.0 >= $GTK3_REQUIRED],[with_gtk3=yes],[with_gtk3=no])]) | ||
36 | +AC_MSG_RESULT([$with_gtk3]) | ||
37 | + | ||
38 | +if test "$with_gtk3" = "yes"; then | ||
39 | + PKG_CHECK_MODULES(GTK3, [gtk+-3.0 >= $GTK3_REQUIRED]) | ||
40 | + GTK3_BINARY_VERSION="`$PKG_CONFIG --variable=gtk_binary_version gtk+-3.0`" | ||
41 | fi | ||
42 | |||
43 | AC_SUBST([GTK3_BINARY_VERSION]) | ||
44 | |||
45 | -AM_CONDITIONAL([HAVE_GTK_3],[test "$have_gtk_3" = "yes"]) | ||
46 | +AM_CONDITIONAL([HAVE_GTK_3],[test "$with_gtk3" = "yes"]) | ||
47 | |||
48 | dnl =========================================================================== | ||
49 | dnl GDK-Pixbuf SVG loader | ||
50 | @@ -298,6 +303,6 @@ librsvg-$VERSION | ||
51 | Build introspectable bindings: ${found_introspection} | ||
52 | Build Vala bindings: ${enable_vala} | ||
53 | Build GdkPixbuf loader: ${enable_pixbuf_loader} | ||
54 | - GTK+ $GTK3_REQUIRED or later: ${have_gtk_3} | ||
55 | + GTK+ $GTK3_REQUIRED or later: ${with_gtk_3} | ||
56 | Build miscellaneous tools: ${build_misc_tools} | ||
57 | " | ||
58 | -- | ||
59 | 2.1.4 | ||
60 | |||
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.40.21.bb b/meta/recipes-gnome/librsvg/librsvg_2.40.21.bb deleted file mode 100644 index acdbc1f1b3..0000000000 --- a/meta/recipes-gnome/librsvg/librsvg_2.40.21.bb +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | SUMMARY = "Library for rendering SVG files" | ||
2 | DESCRIPTION = "A small library to render Scalable Vector Graphics (SVG), \ | ||
3 | associated with the GNOME Project. It renders SVG files to Cairo surfaces. \ | ||
4 | Cairo is the 2D, antialiased drawing library that GNOME uses to draw things to \ | ||
5 | the screen or to generate output for printing." | ||
6 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/librsvg" | ||
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/librsvg/issues" | ||
8 | |||
9 | RECIPE_NO_UPDATE_REASON = "Versions from 2.41.0 requires Rust compiler to build it" | ||
10 | |||
11 | LICENSE = "LGPLv2+" | ||
12 | LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \ | ||
13 | file://rsvg.h;beginline=3;endline=24;md5=20b4113c4909bbf0d67e006778302bc6" | ||
14 | |||
15 | SECTION = "x11/utils" | ||
16 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libcroco libxml2 pango" | ||
17 | BBCLASSEXTEND = "native nativesdk" | ||
18 | |||
19 | inherit gnomebase gtk-doc pixbufcache upstream-version-is-even gobject-introspection | ||
20 | |||
21 | SRC_URI += "file://gtk-option.patch \ | ||
22 | file://0001-Auto-detect-Bsymbolic-fixes-configure-on-macOS.patch \ | ||
23 | file://0001-Remove-non-reproducible-SRCDIR.patch \ | ||
24 | " | ||
25 | |||
26 | SRC_URI[archive.sha256sum] = "f7628905f1cada84e87e2b14883ed57d8094dca3281d5bcb24ece4279e9a92ba" | ||
27 | |||
28 | CACHED_CONFIGUREVARS = "ac_cv_path_GDK_PIXBUF_QUERYLOADERS=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders" | ||
29 | |||
30 | PACKAGECONFIG ??= "gdkpixbuf" | ||
31 | # The gdk-pixbuf loader | ||
32 | PACKAGECONFIG[gdkpixbuf] = "--enable-pixbuf-loader,--disable-pixbuf-loader,gdk-pixbuf-native" | ||
33 | # GTK+ test application (rsvg-view) | ||
34 | PACKAGECONFIG[gtk] = "--with-gtk3,--without-gtk3,gtk+3" | ||
35 | |||
36 | do_install_append() { | ||
37 | # Loadable modules don't need .a or .la on Linux | ||
38 | rm -f ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.a ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.la | ||
39 | } | ||
40 | |||
41 | PACKAGES =+ "librsvg-gtk rsvg" | ||
42 | FILES_rsvg = "${bindir}/rsvg* \ | ||
43 | ${datadir}/pixmaps/svg-viewer.svg \ | ||
44 | ${datadir}/themes" | ||
45 | FILES_librsvg-gtk = "${libdir}/gdk-pixbuf-2.0/*/*/*.so \ | ||
46 | ${datadir}/thumbnailers/librsvg.thumbnailer" | ||
47 | RRECOMMENDS_librsvg-gtk = "gdk-pixbuf-bin" | ||
48 | |||
49 | PIXBUF_PACKAGES = "librsvg-gtk" | ||
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.59.2.bb b/meta/recipes-gnome/librsvg/librsvg_2.59.2.bb new file mode 100644 index 0000000000..983fc75eed --- /dev/null +++ b/meta/recipes-gnome/librsvg/librsvg_2.59.2.bb | |||
@@ -0,0 +1,92 @@ | |||
1 | SUMMARY = "Library for rendering SVG files" | ||
2 | DESCRIPTION = "A small library to render Scalable Vector Graphics (SVG), \ | ||
3 | associated with the GNOME Project. It renders SVG files to Cairo surfaces. \ | ||
4 | Cairo is the 2D, antialiased drawing library that GNOME uses to draw things to \ | ||
5 | the screen or to generate output for printing." | ||
6 | HOMEPAGE = "https://gitlab.gnome.org/GNOME/librsvg" | ||
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/librsvg/issues" | ||
8 | |||
9 | LICENSE = "LGPL-2.1-or-later" | ||
10 | LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \ | ||
11 | " | ||
12 | |||
13 | SECTION = "x11/utils" | ||
14 | DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native cargo-c-native" | ||
15 | BBCLASSEXTEND = "native nativesdk" | ||
16 | |||
17 | inherit cargo_common gnomebase pixbufcache gobject-introspection rust vala gi-docgen cargo-update-recipe-crates | ||
18 | GIR_MESON_ENABLE_FLAG = 'enabled' | ||
19 | GIR_MESON_DISABLE_FLAG = 'disabled' | ||
20 | GIDOCGEN_MESON_OPTION = 'docs' | ||
21 | GIDOCGEN_MESON_ENABLE_FLAG = 'enabled' | ||
22 | GIDOCGEN_MESON_DISABLE_FLAG = 'disabled' | ||
23 | |||
24 | require ${BPN}-crates.inc | ||
25 | |||
26 | SRC_URI += "file://0001-meson.build-do-not-force-disable-introspection-and-v.patch \ | ||
27 | file://0001-gdk-pixbuf-loader-meson.build-do-not-look-for-gdk-pi.patch" | ||
28 | SRC_URI[archive.sha256sum] = "ecd293fb0cc338c170171bbc7bcfbea6725d041c95f31385dc935409933e4597" | ||
29 | |||
30 | UPSTREAM_CHECK_REGEX = "librsvg-(?P<pver>\d+\.\d+\.(?!9\d+)\d+)" | ||
31 | |||
32 | # librsvg is still autotools-based, but is calling cargo from its automake-driven makefiles | ||
33 | # so we cannot use cargo class directly, but still need bits and pieces from it | ||
34 | # for cargo to be happy | ||
35 | BASEDEPENDS:append = " cargo-native" | ||
36 | |||
37 | export EXTRA_NATIVE_PKGCONFIG_PATH = ":${B}/meson-uninstalled" | ||
38 | export RUST_BACKTRACE = "full" | ||
39 | export RUSTFLAGS | ||
40 | |||
41 | RUSTFLAGS:append:mips = " --cfg crossbeam_no_atomic_64" | ||
42 | RUSTFLAGS:append:mipsel = " --cfg crossbeam_no_atomic_64" | ||
43 | RUSTFLAGS:append:powerpc = " --cfg crossbeam_no_atomic_64" | ||
44 | |||
45 | do_configure[postfuncs] += "cargo_common_do_configure" | ||
46 | |||
47 | inherit rust-target-config | ||
48 | |||
49 | # rust-cross writes the target linker binary into target json definition without any flags. | ||
50 | # This breaks here because the linker isn't going to work without at least knowing where | ||
51 | # the sysroot is. So copy the json to workdir, and patch in the path to wrapper from rust class | ||
52 | # which supplies the needed flags. | ||
53 | do_compile:prepend() { | ||
54 | sed -ie 's,"linker": ".*","linker": "${RUST_TARGET_CC}",g' ${RUST_TARGETS_DIR}/${RUST_HOST_SYS}.json | ||
55 | } | ||
56 | |||
57 | CVE_STATUS[CVE-2018-1000041] = "not-applicable-platform: Issue only applies on Windows" | ||
58 | |||
59 | EXTRA_OEMESON = "-Dtriplet=${RUST_HOST_SYS}" | ||
60 | LDFLAGS += " -L${B}/rsvg" | ||
61 | # needed on ubuntu 20.04/debian 11 to avoid 'undefined reference to `dlsym'' errors | ||
62 | BUILD_LDFLAGS += " -ldl" | ||
63 | |||
64 | PACKAGECONFIG ??= "gdkpixbuf" | ||
65 | PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}" | ||
66 | # The gdk-pixbuf loader | ||
67 | PACKAGECONFIG[gdkpixbuf] = "-Dpixbuf-loader=enabled,-Dpixbuf-loader=disabled,gdk-pixbuf-native" | ||
68 | PACKAGECONFIG[vala] = "-Dvala=enabled,-Dvala=disabled" | ||
69 | |||
70 | do_install:append() { | ||
71 | # Loadable modules don't need .a or .la on Linux | ||
72 | rm -f ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.a ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.la | ||
73 | } | ||
74 | |||
75 | PACKAGES =+ "librsvg-gtk rsvg" | ||
76 | FILES:rsvg = "${bindir}/rsvg* \ | ||
77 | ${datadir}/pixmaps/svg-viewer.svg \ | ||
78 | ${datadir}/themes" | ||
79 | FILES:librsvg-gtk = "${libdir}/gdk-pixbuf-2.0/*/*/*.so \ | ||
80 | ${datadir}/thumbnailers/librsvg.thumbnailer" | ||
81 | RRECOMMENDS:librsvg-gtk = "gdk-pixbuf-bin" | ||
82 | |||
83 | PIXBUF_PACKAGES = "librsvg-gtk" | ||
84 | |||
85 | SYSROOT_PREPROCESS_FUNCS:append:class-target = " pkgconfig_sysroot_preprocess" | ||
86 | |||
87 | # installed .pc file contains | ||
88 | # prefix=${pcfiledir}/../.. | ||
89 | # which is expanded to an absolute path, and thus doesn't work when additionally prefixed with a sysroot directory | ||
90 | pkgconfig_sysroot_preprocess() { | ||
91 | sed -i -e "s:^prefix=.*:prefix=${prefix}:g" ${SYSROOT_DESTDIR}${libdir}/pkgconfig/librsvg-2.0.pc | ||
92 | } | ||
diff --git a/meta/recipes-gnome/libsecret/libsecret/0001-meson-add-option-to-disable-pam-tests.patch b/meta/recipes-gnome/libsecret/libsecret/0001-meson-add-option-to-disable-pam-tests.patch new file mode 100644 index 0000000000..da5ed1fd32 --- /dev/null +++ b/meta/recipes-gnome/libsecret/libsecret/0001-meson-add-option-to-disable-pam-tests.patch | |||
@@ -0,0 +1,77 @@ | |||
1 | From a9fd7dcddf8bc64646f2945ab564357c23111541 Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Tue, 3 Dec 2024 15:58:17 +0100 | ||
4 | Subject: [PATCH] meson: add option to disable pam tests | ||
5 | |||
6 | Upstream-Status: Denied [https://gitlab.gnome.org/GNOME/libsecret/-/merge_requests/151] | ||
7 | |||
8 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
9 | --- | ||
10 | meson_options.txt | 1 + | ||
11 | pam/meson.build | 44 +++++++++++++++++++++++--------------------- | ||
12 | 2 files changed, 24 insertions(+), 21 deletions(-) | ||
13 | |||
14 | diff --git a/meson_options.txt b/meson_options.txt | ||
15 | index 936eff8..2ae14f2 100644 | ||
16 | --- a/meson_options.txt | ||
17 | +++ b/meson_options.txt | ||
18 | @@ -8,3 +8,4 @@ option('bashcompdir', type: 'string', value: '', description: 'Override default | ||
19 | option('bash_completion', type: 'feature', value: 'auto', description: 'Install bash completion files') | ||
20 | option('tpm2', type: 'boolean', value: false, description: 'With TPM2 Software Stack') | ||
21 | option('pam', type: 'boolean', value: false, description: 'Build PAM module') | ||
22 | +option('pam-tests', type: 'boolean', value: true, description: 'Build PAM Tests') | ||
23 | diff --git a/pam/meson.build b/pam/meson.build | ||
24 | index 8413b58..5155329 100644 | ||
25 | --- a/pam/meson.build | ||
26 | +++ b/pam/meson.build | ||
27 | @@ -19,27 +19,29 @@ pam_gnome_keyring = shared_library('pam_gnome_keyring', | ||
28 | ) | ||
29 | |||
30 | # pam tests | ||
31 | -pam_wrapper = dependency('pam_wrapper', required: true) | ||
32 | -libpamtest = dependency('libpamtest', required: true) | ||
33 | +if get_option('pam-tests') | ||
34 | + pam_wrapper = dependency('pam_wrapper', required: true) | ||
35 | + libpamtest = dependency('libpamtest', required: true) | ||
36 | |||
37 | -subdir('servicedir') | ||
38 | + subdir('servicedir') | ||
39 | |||
40 | -test_bin = executable('pam_test', | ||
41 | - sources: [ | ||
42 | - 'test-pam.c', | ||
43 | - ], | ||
44 | - dependencies: [ | ||
45 | - libpamtest, | ||
46 | - glib_deps, | ||
47 | - ], | ||
48 | -) | ||
49 | + test_bin = executable('pam_test', | ||
50 | + sources: [ | ||
51 | + 'test-pam.c', | ||
52 | + ], | ||
53 | + dependencies: [ | ||
54 | + libpamtest, | ||
55 | + glib_deps, | ||
56 | + ], | ||
57 | + ) | ||
58 | |||
59 | -test('pam-test', | ||
60 | - test_bin, | ||
61 | - env: { | ||
62 | - 'LD_PRELOAD': 'libpam_wrapper.so', | ||
63 | - 'PAM_WRAPPER': '1', | ||
64 | - 'PAM_WRAPPER_DEBUGLEVEL': '5', | ||
65 | - 'PAM_WRAPPER_SERVICE_DIR': meson.current_build_dir() + '/servicedir', | ||
66 | - }, | ||
67 | -) | ||
68 | + test('pam-test', | ||
69 | + test_bin, | ||
70 | + env: { | ||
71 | + 'LD_PRELOAD': 'libpam_wrapper.so', | ||
72 | + 'PAM_WRAPPER': '1', | ||
73 | + 'PAM_WRAPPER_DEBUGLEVEL': '5', | ||
74 | + 'PAM_WRAPPER_SERVICE_DIR': meson.current_build_dir() + '/servicedir', | ||
75 | + }, | ||
76 | + ) | ||
77 | +endif | ||
diff --git a/meta/recipes-gnome/libsecret/libsecret_0.20.4.bb b/meta/recipes-gnome/libsecret/libsecret_0.21.6.bb index 96f6460181..f40b1159eb 100644 --- a/meta/recipes-gnome/libsecret/libsecret_0.20.4.bb +++ b/meta/recipes-gnome/libsecret/libsecret_0.21.6.bb | |||
@@ -3,23 +3,29 @@ DESCRIPTION = "A GObject-based library for accessing the Secret Service API of \ | |||
3 | the freedesktop.org project, a cross-desktop effort to access passwords, \ | 3 | the freedesktop.org project, a cross-desktop effort to access passwords, \ |
4 | tokens and other types of secrets. libsecret provides a convenient wrapper \ | 4 | tokens and other types of secrets. libsecret provides a convenient wrapper \ |
5 | for these methods so consumers do not have to call the low-level DBus methods." | 5 | for these methods so consumers do not have to call the low-level DBus methods." |
6 | LICENSE = "LGPLv2.1" | 6 | LICENSE = "LGPL-2.1-only" |
7 | HOMEPAGE = "https://github.com/GNOME/libsecret" | ||
7 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libsecret/issues" | 8 | BUGTRACKER = "https://gitlab.gnome.org/GNOME/libsecret/issues" |
8 | LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6" | 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6" |
9 | 10 | ||
10 | GNOMEBASEBUILDCLASS = "meson" | 11 | inherit gnomebase gi-docgen vala gobject-introspection manpages |
11 | |||
12 | inherit gnomebase gtk-doc vala gobject-introspection manpages | ||
13 | 12 | ||
14 | DEPENDS += "glib-2.0 libgcrypt gettext-native" | 13 | DEPENDS += "glib-2.0 libgcrypt gettext-native" |
15 | 14 | ||
16 | SRC_URI[archive.sha256sum] = "325a4c54db320c406711bf2b55e5cb5b6c29823426aa82596a907595abb39d28" | 15 | SRC_URI += "file://0001-meson-add-option-to-disable-pam-tests.patch" |
16 | SRC_URI[archive.sha256sum] = "747b8c175be108c880d3adfb9c3537ea66e520e4ad2dccf5dce58003aeeca090" | ||
17 | |||
18 | EXTRA_OEMESON += "-Dpam-tests=false" | ||
17 | 19 | ||
18 | GTKDOC_MESON_OPTION = 'gtk_doc' | 20 | GTKDOC_MESON_OPTION = 'gtk_doc' |
19 | 21 | ||
22 | PACKAGECONFIG ?= "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)}" | ||
20 | PACKAGECONFIG[manpages] = "-Dmanpage=true,-Dmanpage=false,libxslt-native xmlto-native" | 23 | PACKAGECONFIG[manpages] = "-Dmanpage=true,-Dmanpage=false,libxslt-native xmlto-native" |
24 | PACKAGECONFIG[pam] = "-Dpam=true,-Dpam=false,libpam" | ||
25 | |||
26 | inherit bash-completion | ||
21 | 27 | ||
22 | # http://errors.yoctoproject.org/Errors/Details/20228/ | 28 | # http://errors.yoctoproject.org/Errors/Details/20228/ |
23 | ARM_INSTRUCTION_SET_armv4 = "arm" | 29 | ARM_INSTRUCTION_SET:armv4 = "arm" |
24 | ARM_INSTRUCTION_SET_armv5 = "arm" | 30 | ARM_INSTRUCTION_SET:armv5 = "arm" |
25 | ARM_INSTRUCTION_SET_armv6 = "arm" | 31 | ARM_INSTRUCTION_SET:armv6 = "arm" |
diff --git a/meta/recipes-gnome/libxmlb/libxmlb/0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch b/meta/recipes-gnome/libxmlb/libxmlb/0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch new file mode 100644 index 0000000000..7f130284c4 --- /dev/null +++ b/meta/recipes-gnome/libxmlb/libxmlb/0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch | |||
@@ -0,0 +1,32 @@ | |||
1 | From ad8dcd768b637e53b80f9fea37ba945731ffd16b Mon Sep 17 00:00:00 2001 | ||
2 | From: Markus Volk <f_l_k@t-online.de> | ||
3 | Date: Sat, 16 Sep 2023 14:02:57 +0200 | ||
4 | Subject: [PATCH] xb-self-test.c: hardcode G_TEST_SRCDIR | ||
5 | |||
6 | This avoids: | ||
7 | libxmlb-0.3.14-r0 do_package_qa: QA Issue: File | ||
8 | /usr/libexec/installed-tests/libxmlb/xb-self-test in package libxmlb-ptest | ||
9 | contains reference to TMPDIR [buildpaths] | ||
10 | |||
11 | and also fixes the runtime for the ptest. | ||
12 | |||
13 | Upstream-Status: Inappropriate [oe-specific] | ||
14 | |||
15 | Signed-off-by: Markus Volk <f_l_k@t-online.de> | ||
16 | --- | ||
17 | src/xb-self-test.c | 2 +- | ||
18 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
19 | |||
20 | diff --git a/src/xb-self-test.c b/src/xb-self-test.c | ||
21 | index 76b2e12..c68c13a 100644 | ||
22 | --- a/src/xb-self-test.c | ||
23 | +++ b/src/xb-self-test.c | ||
24 | @@ -2912,7 +2912,7 @@ xb_speed_func(void) | ||
25 | int | ||
26 | main(int argc, char **argv) | ||
27 | { | ||
28 | - g_setenv("G_TEST_SRCDIR", SRCDIR, FALSE); | ||
29 | + g_setenv("G_TEST_SRCDIR", "/usr/libexec/installed-tests/libxmlb", FALSE); | ||
30 | |||
31 | g_test_init(&argc, &argv, NULL); | ||
32 | |||
diff --git a/meta/recipes-gnome/libxmlb/libxmlb/run-ptest b/meta/recipes-gnome/libxmlb/libxmlb/run-ptest new file mode 100644 index 0000000000..6d0bb95d3a --- /dev/null +++ b/meta/recipes-gnome/libxmlb/libxmlb/run-ptest | |||
@@ -0,0 +1,3 @@ | |||
1 | #! /bin/sh | ||
2 | |||
3 | gnome-desktop-testing-runner libxmlb | ||
diff --git a/meta/recipes-gnome/libxmlb/libxmlb_0.3.22.bb b/meta/recipes-gnome/libxmlb/libxmlb_0.3.22.bb new file mode 100644 index 0000000000..761426148a --- /dev/null +++ b/meta/recipes-gnome/libxmlb/libxmlb_0.3.22.bb | |||
@@ -0,0 +1,24 @@ | |||
1 | SUMMARY = "A library to help create and query binary XML blobs" | ||
2 | HOMEPAGE = "https://github.com/hughsie/libxmlb" | ||
3 | LICENSE = "LGPL-2.1-only" | ||
4 | LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742" | ||
5 | |||
6 | SRC_URI = " \ | ||
7 | git://github.com/hughsie/libxmlb.git;branch=main;protocol=https \ | ||
8 | file://0001-xb-selftest.c-hardcode-G_TEST_SRCDIR.patch \ | ||
9 | file://run-ptest \ | ||
10 | " | ||
11 | SRCREV = "addcce32a3bd6a09303f052bd59fb758621d30fb" | ||
12 | |||
13 | DEPENDS = "glib-2.0 xz zstd" | ||
14 | |||
15 | inherit gobject-introspection gtk-doc meson ptest-gnome lib_package pkgconfig | ||
16 | |||
17 | PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}" | ||
18 | PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false" | ||
19 | |||
20 | GTKDOC_MESON_OPTION = "gtkdoc" | ||
21 | |||
22 | FILES:${PN} += "${datadir}" | ||
23 | |||
24 | BBCLASSEXTEND = "native" | ||