Initial commit
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
SUMMARY = "WebKit based web browser for GNOME"
|
||||
DESCRIPTION = "Epiphany is an open source web browser for the Linux desktop environment. \
|
||||
It provides a simple and easy-to-use internet browsing experience."
|
||||
HOMEPAGE = "https://wiki.gnome.org/Apps/Web"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/epiphany"
|
||||
LICENSE = "GPL-3.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
||||
|
||||
DEPENDS = " \
|
||||
webkitgtk \
|
||||
gcr3 \
|
||||
gsettings-desktop-schemas \
|
||||
nettle \
|
||||
json-glib \
|
||||
libarchive \
|
||||
libdazzle \
|
||||
libhandy \
|
||||
libportal \
|
||||
libsoup \
|
||||
glib-2.0-native \
|
||||
coreutils-native \
|
||||
desktop-file-utils-native \
|
||||
"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
inherit gnomebase gsettings features_check gettext mime-xdg gtk-icon-cache
|
||||
REQUIRED_DISTRO_FEATURES = "x11 opengl"
|
||||
|
||||
SRC_URI = "${GNOME_MIRROR}/${GNOMEBN}/${@oe.utils.trim_version("${PV}", 1)}/${GNOMEBN}-${PV}.tar.${GNOME_COMPRESS_TYPE};name=archive \
|
||||
file://0002-help-meson.build-disable-the-use-of-yelp.patch \
|
||||
file://migrator.patch \
|
||||
file://distributor.patch \
|
||||
"
|
||||
SRC_URI[archive.sha256sum] = "e86ead27cb9982815150664de3bf20faf375f77b8065b02b31180c65b6bbebb4"
|
||||
|
||||
# Developer mode enables debugging
|
||||
PACKAGECONFIG[developer-mode] = "-Ddeveloper_mode=true,-Ddeveloper_mode=false"
|
||||
|
||||
FILES:${PN} += "${datadir}/dbus-1 ${datadir}/gnome-shell/search-providers ${datadir}/metainfo"
|
||||
RDEPENDS:${PN} = "iso-codes adwaita-icon-theme gsettings-desktop-schemas"
|
||||
|
||||
# ANGLE requires SSE support as of webkit 2.40.x on 32 bit x86
|
||||
COMPATIBLE_HOST:x86 = "${@bb.utils.contains_any('TUNE_FEATURES', 'core2 corei7', '.*', 'null', d)}"
|
||||
+30
@@ -0,0 +1,30 @@
|
||||
From 77c9f87dc2b3ad0854a678e234e22dfb31902b82 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Wed, 31 Jan 2018 15:50:38 +0200
|
||||
Subject: [PATCH] help/meson.build: disable the use of yelp
|
||||
|
||||
In particular this avoids calling itstool which oe-core doesn't provide.
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
|
||||
---
|
||||
help/meson.build | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/help/meson.build b/help/meson.build
|
||||
index ff324dd..f5e421d 100644
|
||||
--- a/help/meson.build
|
||||
+++ b/help/meson.build
|
||||
@@ -31,7 +31,7 @@ help_media = [
|
||||
'media/org.gnome.Epiphany.svg'
|
||||
]
|
||||
|
||||
-gnome.yelp(meson.project_name(),
|
||||
- sources: help_files,
|
||||
- media: help_media,
|
||||
-)
|
||||
+#gnome.yelp(meson.project_name(),
|
||||
+# sources: help_files,
|
||||
+# media: help_media,
|
||||
+#)
|
||||
@@ -0,0 +1,17 @@
|
||||
Don't encode the distro from /etc/os-release into the binaries.
|
||||
|
||||
Upstream-Status: Pending
|
||||
RP 2021/2/26
|
||||
|
||||
Index: epiphany-3.38.2/meson.build
|
||||
===================================================================
|
||||
--- epiphany-3.38.2.orig/meson.build
|
||||
+++ epiphany-3.38.2/meson.build
|
||||
@@ -15,6 +15,7 @@ if r.returncode() == 0
|
||||
else
|
||||
distributor_name = 'GNOME Web'
|
||||
endif
|
||||
+distributor_name = 'OpenEmbedded'
|
||||
|
||||
prefix = get_option('prefix')
|
||||
datadir = join_paths(prefix, get_option('datadir'))
|
||||
@@ -0,0 +1,24 @@
|
||||
We don't want to encide BUILD_ROOT into target packages. This is used
|
||||
for build time tests but in our case those would be on target anyway
|
||||
do use the target paths.
|
||||
|
||||
Upstream-Status: Pending
|
||||
RP 2021/2/25
|
||||
|
||||
Index: epiphany-3.38.2/lib/ephy-profile-utils.c
|
||||
===================================================================
|
||||
--- epiphany-3.38.2.orig/lib/ephy-profile-utils.c
|
||||
+++ epiphany-3.38.2/lib/ephy-profile-utils.c
|
||||
@@ -130,10 +130,10 @@ ephy_profile_utils_do_migration (const c
|
||||
argv[i++] = NULL;
|
||||
|
||||
#if DEVELOPER_MODE
|
||||
- argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR;
|
||||
+ argv[0] = PKGLIBEXECDIR "/" EPHY_PROFILE_MIGRATOR;
|
||||
#else
|
||||
if (debug)
|
||||
- argv[0] = BUILD_ROOT "/src/" EPHY_PROFILE_MIGRATOR;
|
||||
+ argv[0] = PKGLIBEXECDIR "/" EPHY_PROFILE_MIGRATOR;
|
||||
#endif
|
||||
|
||||
g_spawn_sync (NULL, (char **)argv, envp, G_SPAWN_SEARCH_PATH,
|
||||
+36
@@ -0,0 +1,36 @@
|
||||
From 9b67bb18d8409e0e693cc6000507acbd73a30eab Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Wed, 16 Nov 2022 11:27:24 +0100
|
||||
Subject: [PATCH 1/2] meson.build: correctly handle disabled ssh_agent option
|
||||
|
||||
Existing code produces these errors:
|
||||
| gcr/meson.build:61:0: ERROR: Unable to get the path of a not-found external program
|
||||
| gcr/meson.build:101:5: ERROR: Unknown variable "ssh_add_path".
|
||||
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
|
||||
Upstream-Status: Backport [ https://gitlab.gnome.org/GNOME/gcr/-/commit/9b67bb18d8409e0e693cc6000507acbd73a30eab ]
|
||||
---
|
||||
meson.build | 12 ++++++++----
|
||||
1 file changed, 8 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 3f35173..11d7fa7 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -96,8 +98,10 @@ conf.set('HAVE_TIMEGM', cc.has_function('timegm'))
|
||||
conf.set('HAVE_MLOCK', cc.has_function('mlock'))
|
||||
conf.set_quoted('GPG_EXECUTABLE', gpg_path)
|
||||
conf.set_quoted('LIBGCRYPT_VERSION', libgcrypt_dep.version())
|
||||
-conf.set_quoted('SSH_ADD_EXECUTABLE', ssh_add_path)
|
||||
-conf.set_quoted('SSH_AGENT_EXECUTABLE', ssh_agent_path)
|
||||
+if get_option('ssh_agent')
|
||||
+ conf.set_quoted('SSH_ADD_EXECUTABLE', ssh_add_path)
|
||||
+ conf.set_quoted('SSH_AGENT_EXECUTABLE', ssh_agent_path)
|
||||
+endif
|
||||
conf.set10('WITH_SYSTEMD', with_systemd)
|
||||
config_file = configure_file(
|
||||
output: 'config.h',
|
||||
--
|
||||
2.34.1
|
||||
|
||||
@@ -0,0 +1,59 @@
|
||||
SUMMARY = "A library for bits of crypto UI and parsing etc"
|
||||
DESCRIPTION = "GCR is a library for displaying certificates, and crypto UI, \
|
||||
accessing key stores. It also provides the viewer for crypto files on the \
|
||||
GNOME desktop."
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcr"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
|
||||
|
||||
DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \
|
||||
${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}"
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'"
|
||||
|
||||
CFLAGS += "-D_GNU_SOURCE"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
inherit gnomebase gtk-icon-cache gi-docgen features_check upstream-version-is-even vala gobject-introspection gettext mime mime-xdg
|
||||
UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>3.(?!9\d+)\d+(\.\d+)+)\.tar"
|
||||
|
||||
SRC_URI = "https://download.gnome.org/sources/gcr/3.41/gcr-${PV}.tar.xz;name=archive"
|
||||
SRC_URI += "file://0001-meson.build-correctly-handle-disabled-ssh_agent-opti.patch"
|
||||
SRC_URI[archive.sha256sum] = "bb7128a3c2febbfee9c03b90d77d498d0ceb237b0789802d60185c71c4bea24f"
|
||||
|
||||
S = "${WORKDIR}/gcr-${PV}"
|
||||
|
||||
PACKAGECONFIG ??= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[gtk] = "-Dgtk=true,-Dgtk=false,gtk+3"
|
||||
PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh"
|
||||
#'Use systemd socket activation for server programs'
|
||||
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/dbus-1 \
|
||||
${datadir}/gcr-3 \
|
||||
${systemd_user_unitdir}/gcr-ssh-agent.socket \
|
||||
${systemd_user_unitdir}/gcr-ssh-agent.service \
|
||||
"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/20229/
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv6 = "arm"
|
||||
|
||||
EXTRA_OEMESON += "--cross-file ${WORKDIR}/meson-${PN}.cross"
|
||||
do_write_config:append() {
|
||||
cat >${WORKDIR}/meson-${PN}.cross <<EOF
|
||||
[binaries]
|
||||
gpg2 = '${bindir}/gpg2'
|
||||
ssh-add = '${bindir}/ssh-add'
|
||||
ssh-agent = '${bindir}/ssh-agent'
|
||||
EOF
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
SUMMARY = "A library for bits of crypto UI and parsing etc"
|
||||
DESCRIPTION = "GCR is a library for displaying certificates, and crypto UI, \
|
||||
accessing key stores. It also provides the viewer for crypto files on the \
|
||||
GNOME desktop."
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcr"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/gcr/issues"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
|
||||
|
||||
DEPENDS = "p11-kit glib-2.0 libgcrypt gnupg-native \
|
||||
${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'libxslt-native', '', d)}"
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_path_GPG='gpg2'"
|
||||
|
||||
CFLAGS += "-D_GNU_SOURCE"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
inherit gnomebase gtk-icon-cache gi-docgen features_check vala gobject-introspection gettext mime mime-xdg
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'opengl', '', d)}"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "9ceaad29284ba919b9216e2888c18ec67240c2c93b3a4856bc5488bbc1f3a383"
|
||||
|
||||
PACKAGECONFIG ??= " \
|
||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'gtk', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'gtk', '', d)} \
|
||||
${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[gtk] = "-Dgtk4=true,-Dgtk4=false,gtk4"
|
||||
PACKAGECONFIG[ssh_agent] = "-Dssh_agent=true,-Dssh_agent=false,libsecret,openssh"
|
||||
#'Use systemd socket activation for server programs'
|
||||
PACKAGECONFIG[systemd] = "-Dsystemd=enabled,-Dsystemd=disabled,systemd"
|
||||
PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false,"
|
||||
|
||||
FILES:${PN} += " \
|
||||
${datadir}/dbus-1 \
|
||||
${datadir}/gcr-4 \
|
||||
${systemd_user_unitdir}/gcr-ssh-agent.socket \
|
||||
${systemd_user_unitdir}/gcr-ssh-agent.service \
|
||||
"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/20229/
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv6 = "arm"
|
||||
|
||||
EXTRA_OEMESON += "--cross-file=${WORKDIR}/meson-${PN}.cross"
|
||||
|
||||
do_write_config:append() {
|
||||
cat >${WORKDIR}/meson-${PN}.cross <<EOF
|
||||
[binaries]
|
||||
gpg2 = '${bindir}/gpg2'
|
||||
ssh-add = '${bindir}/ssh-add'
|
||||
ssh-agent = '${bindir}/ssh-agent'
|
||||
EOF
|
||||
}
|
||||
+66
@@ -0,0 +1,66 @@
|
||||
From 9d3b374e75692da3d1d05344a1693c85a3098f47 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Thu, 26 Jan 2023 20:29:46 +0100
|
||||
Subject: [PATCH] meson.build: allow (a subset of) tests in cross compile
|
||||
settings
|
||||
|
||||
There is no need to completely disable tests: most of them
|
||||
do not require running target executables at build time,
|
||||
and so can be built and installed.
|
||||
|
||||
This requires inserting a couple of specific guards around
|
||||
items that do require running target executables.
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/150]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
meson.build | 6 +++---
|
||||
tests/meson.build | 10 ++++++----
|
||||
2 files changed, 9 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index 8a16c8f..7c8b20f 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -369,10 +369,10 @@ subdir('gdk-pixbuf')
|
||||
# i18n
|
||||
subdir('po')
|
||||
|
||||
+if get_option('tests')
|
||||
+ subdir('tests')
|
||||
+endif
|
||||
if not meson.is_cross_build()
|
||||
- if get_option('tests')
|
||||
- subdir('tests')
|
||||
- endif
|
||||
subdir('thumbnailer')
|
||||
endif
|
||||
|
||||
diff --git a/tests/meson.build b/tests/meson.build
|
||||
index 28c2525..c45e765 100644
|
||||
--- a/tests/meson.build
|
||||
+++ b/tests/meson.build
|
||||
@@ -4,7 +4,7 @@
|
||||
# gdk-pixbuf-pixdata from build directory because it needs all DLL locations in
|
||||
# $PATH. Ideally we should use gnome.compile_resources() and let Meson deal with
|
||||
# this problem: See https://github.com/mesonbuild/meson/issues/8266.
|
||||
-if enabled_loaders.contains('png') and host_system != 'windows'
|
||||
+if enabled_loaders.contains('png') and host_system != 'windows' and not meson.is_cross_build()
|
||||
# Resources; we cannot use gnome.compile_resources() here, because we need to
|
||||
# override the environment in order to use the utilities we just built instead
|
||||
# of the system ones
|
||||
@@ -166,9 +166,11 @@ endif
|
||||
test_deps = gdk_pixbuf_deps + [ gdkpixbuf_dep, ]
|
||||
test_args = [ '-k' ]
|
||||
test_env = environment()
|
||||
-test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
|
||||
-test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
|
||||
-test_env.set('GDK_PIXBUF_MODULE_FILE', loaders_cache.full_path())
|
||||
+if not meson.is_cross_build()
|
||||
+ test_env.set('G_TEST_SRCDIR', meson.current_source_dir())
|
||||
+ test_env.set('G_TEST_BUILDDIR', meson.current_build_dir())
|
||||
+ test_env.set('GDK_PIXBUF_MODULE_FILE', loaders_cache.full_path())
|
||||
+endif
|
||||
|
||||
foreach test_name, test_data: installed_tests
|
||||
test_sources = [ test_name + '.c', 'test-common.c' ]
|
||||
@@ -0,0 +1,89 @@
|
||||
From b511bd1efb43ffc49c753e309717a242ec686ef1 Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@intel.com>
|
||||
Date: Tue, 1 Apr 2014 17:23:36 +0100
|
||||
Subject: [PATCH] gdk-pixbuf: add an option so that loader errors are fatal
|
||||
|
||||
If an environment variable is specified set the return value from main() to
|
||||
non-zero if the loader had errors (missing libraries, generally).
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/merge_requests/144]
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
---
|
||||
gdk-pixbuf/queryloaders.c | 19 +++++++++++++++----
|
||||
1 file changed, 15 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/gdk-pixbuf/queryloaders.c b/gdk-pixbuf/queryloaders.c
|
||||
index 1d39b44..2b00815 100644
|
||||
--- a/gdk-pixbuf/queryloaders.c
|
||||
+++ b/gdk-pixbuf/queryloaders.c
|
||||
@@ -216,7 +216,7 @@ write_loader_info (GString *contents, const char *path, GdkPixbufFormat *info)
|
||||
g_string_append_c (contents, '\n');
|
||||
}
|
||||
|
||||
-static void
|
||||
+static gboolean
|
||||
query_module (GString *contents, const char *dir, const char *file)
|
||||
{
|
||||
char *path;
|
||||
@@ -225,6 +225,7 @@ query_module (GString *contents, const char *dir, const char *file)
|
||||
void (*fill_vtable) (GdkPixbufModule *module);
|
||||
gpointer fill_info_ptr;
|
||||
gpointer fill_vtable_ptr;
|
||||
+ gboolean ret = TRUE;
|
||||
|
||||
if (g_path_is_absolute (file))
|
||||
path = g_strdup (file);
|
||||
@@ -274,10 +275,13 @@ query_module (GString *contents, const char *dir, const char *file)
|
||||
g_module_error());
|
||||
else
|
||||
g_fprintf (stderr, "Cannot load loader %s\n", path);
|
||||
+ ret = FALSE;
|
||||
}
|
||||
if (module)
|
||||
g_module_close (module);
|
||||
g_free (path);
|
||||
+
|
||||
+ return ret;
|
||||
}
|
||||
|
||||
#if defined(G_OS_WIN32) && defined(GDK_PIXBUF_RELOCATABLE)
|
||||
@@ -318,6 +322,7 @@ int main (int argc, char **argv)
|
||||
gint first_file = 1;
|
||||
GFile *pixbuf_libdir_file;
|
||||
gchar *pixbuf_libdir;
|
||||
+ gboolean success = TRUE;
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
gchar *libdir;
|
||||
@@ -456,7 +461,9 @@ int main (int argc, char **argv)
|
||||
}
|
||||
modules = g_list_sort (modules, (GCompareFunc)strcmp);
|
||||
for (l = modules; l != NULL; l = l->next)
|
||||
- query_module (contents, moduledir, l->data);
|
||||
+ if (!query_module (contents, moduledir, l->data))
|
||||
+ success = FALSE;
|
||||
+
|
||||
g_list_free_full (modules, g_free);
|
||||
g_free (moduledir);
|
||||
#else
|
||||
@@ -472,7 +479,8 @@ int main (int argc, char **argv)
|
||||
infilename = g_locale_to_utf8 (infilename,
|
||||
-1, NULL, NULL, NULL);
|
||||
#endif
|
||||
- query_module (contents, cwd, infilename);
|
||||
+ if (!query_module (contents, cwd, infilename))
|
||||
+ success = FALSE;
|
||||
}
|
||||
g_free (cwd);
|
||||
}
|
||||
@@ -490,5 +498,8 @@ int main (int argc, char **argv)
|
||||
|
||||
g_free (pixbuf_libdir);
|
||||
|
||||
- return 0;
|
||||
+ if (g_getenv ("GDK_PIXBUF_FATAL_LOADER"))
|
||||
+ return success ? 0 : 1;
|
||||
+ else
|
||||
+ return 0;
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
gnome-desktop-testing-runner gdk-pixbuf
|
||||
@@ -0,0 +1,119 @@
|
||||
SUMMARY = "Image loading library for GTK+"
|
||||
DESCRIPTION = "The GDK Pixbuf library provides: Image loading and saving \
|
||||
facilities, fast scaling and compositing of pixbufs and Simple animation \
|
||||
loading (ie. animated GIFs)"
|
||||
HOMEPAGE = "https://wiki.gnome.org/Projects/GdkPixbuf"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/gdk-pixbuf/issues"
|
||||
|
||||
LICENSE = "LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
|
||||
file://gdk-pixbuf/gdk-pixbuf.h;endline=26;md5=72b39da7cbdde2e665329fef618e1d6b \
|
||||
"
|
||||
|
||||
SECTION = "libs"
|
||||
|
||||
DEPENDS = "glib-2.0 shared-mime-info"
|
||||
|
||||
MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
|
||||
|
||||
SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
|
||||
file://run-ptest \
|
||||
file://fatal-loader.patch \
|
||||
file://0001-meson.build-allow-a-subset-of-tests-in-cross-compile.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "ee9b6c75d13ba096907a2e3c6b27b61bcd17f5c7ebeab5a5b439d2f2e39fe44b"
|
||||
|
||||
inherit meson pkgconfig gettext pixbufcache ptest-gnome upstream-version-is-even gobject-introspection gi-docgen lib_package
|
||||
|
||||
GIR_MESON_OPTION = 'introspection'
|
||||
GIR_MESON_ENABLE_FLAG = "enabled"
|
||||
GIR_MESON_DISABLE_FLAG = "disabled"
|
||||
|
||||
LIBV = "2.10.0"
|
||||
|
||||
GDK_PIXBUF_LOADERS ?= "png jpeg"
|
||||
|
||||
PACKAGECONFIG = "${GDK_PIXBUF_LOADERS} \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
|
||||
PACKAGECONFIG:class-native = "${GDK_PIXBUF_LOADERS}"
|
||||
|
||||
PACKAGECONFIG[png] = "-Dpng=enabled,-Dpng=disabled,libpng"
|
||||
PACKAGECONFIG[jpeg] = "-Djpeg=enabled,-Djpeg=disabled,jpeg"
|
||||
PACKAGECONFIG[tiff] = "-Dtiff=enabled,-Dtiff=disabled,tiff"
|
||||
PACKAGECONFIG[tests] = "-Dinstalled_tests=true,-Dinstalled_tests=false"
|
||||
|
||||
EXTRA_OEMESON = "-Dman=false"
|
||||
|
||||
PACKAGES =+ "${PN}-xlib"
|
||||
|
||||
# For GIO image type sniffing
|
||||
RDEPENDS:${PN} = "shared-mime-info"
|
||||
|
||||
FILES:${PN}-xlib = "${libdir}/*pixbuf_xlib*${SOLIBS}"
|
||||
ALLOW_EMPTY:${PN}-xlib = "1"
|
||||
|
||||
FILES:${PN} += "${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders"
|
||||
|
||||
FILES:${PN}-bin += "${datadir}/thumbnailers/gdk-pixbuf-thumbnailer.thumbnailer"
|
||||
|
||||
FILES:${PN}-dev += " \
|
||||
${bindir}/gdk-pixbuf-csource \
|
||||
${bindir}/gdk-pixbuf-pixdata \
|
||||
${bindir}/gdk-pixbuf-print-mime-types \
|
||||
${includedir}/* \
|
||||
${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders/*.la \
|
||||
"
|
||||
|
||||
PACKAGES_DYNAMIC += "^gdk-pixbuf-loader-.*"
|
||||
PACKAGES_DYNAMIC:class-native = ""
|
||||
|
||||
python populate_packages:prepend () {
|
||||
postinst_pixbufloader = d.getVar("postinst_pixbufloader")
|
||||
|
||||
loaders_root = d.expand('${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders')
|
||||
|
||||
packages = ' '.join(do_split_packages(d, loaders_root, r'^libpixbufloader-(.*)\.so$', 'gdk-pixbuf-loader-%s', 'GDK pixbuf loader for %s'))
|
||||
d.setVar('PIXBUF_PACKAGES', packages)
|
||||
|
||||
# The test suite exercises all the loaders, so ensure they are all
|
||||
# dependencies of the ptest package.
|
||||
d.appendVar("RDEPENDS:%s-ptest" % d.getVar('PN'), " " + packages)
|
||||
}
|
||||
|
||||
do_install:append() {
|
||||
# Copy gdk-pixbuf-query-loaders into libdir so it is always available
|
||||
# in multilib builds.
|
||||
cp ${D}/${bindir}/gdk-pixbuf-query-loaders ${D}/${libdir}/gdk-pixbuf-2.0/
|
||||
|
||||
}
|
||||
|
||||
do_install_ptest() {
|
||||
# Remove a bad fuzzing attempt that sporadically fails without a way to reproduce
|
||||
rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-randomly-modified.test
|
||||
# https://gitlab.gnome.org/GNOME/gdk-pixbuf/-/issues/215
|
||||
rm ${D}/${datadir}/installed-tests/gdk-pixbuf/pixbuf-jpeg.test
|
||||
}
|
||||
|
||||
do_install:append:class-native() {
|
||||
find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
|
||||
|
||||
create_wrapper ${D}/${bindir}/gdk-pixbuf-csource \
|
||||
XDG_DATA_DIRS=${STAGING_DATADIR} \
|
||||
GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache
|
||||
|
||||
create_wrapper ${D}/${bindir}/gdk-pixbuf-pixdata \
|
||||
XDG_DATA_DIRS=${STAGING_DATADIR} \
|
||||
GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache
|
||||
|
||||
create_wrapper ${D}/${libdir}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders \
|
||||
XDG_DATA_DIRS=${STAGING_DATADIR} \
|
||||
GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache \
|
||||
GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders
|
||||
|
||||
create_wrapper ${D}/${bindir}/gdk-pixbuf-query-loaders \
|
||||
XDG_DATA_DIRS=${STAGING_DATADIR} \
|
||||
GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache \
|
||||
GDK_PIXBUF_MODULEDIR=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders
|
||||
}
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "Documentation tool for GObject-based libraries"
|
||||
DESCRIPTION = "GI-DocGen is a document generator for GObject-based libraries. GObject is \
|
||||
the base type system of the GNOME project. GI-Docgen reuses the \
|
||||
introspection data generated by GObject-based libraries to generate the API \
|
||||
reference of these libraries, as well as other ancillary documentation."
|
||||
HOMEPAGE = "https://gnome.pages.gitlab.gnome.org/gi-docgen/"
|
||||
|
||||
LICENSE = "GPL-3.0-or-later & Apache-2.0"
|
||||
LIC_FILES_CHKSUM = "file://gi-docgen.py;beginline=1;endline=5;md5=2dc0f1f01202478cfe813c0e7f80b326"
|
||||
|
||||
SRC_URI = "git://gitlab.gnome.org/GNOME/gi-docgen.git;protocol=https;branch=main"
|
||||
|
||||
SRCREV = "63b4fad4181e793f34b7777a89e5cb58fe8ac7e6"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
RDEPENDS:${PN} += "python3-asyncio python3-core python3-jinja2 python3-json python3-markdown python3-markupsafe python3-pygments python3-toml python3-typogrify python3-xml"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
+27
@@ -0,0 +1,27 @@
|
||||
From e1a12b73c25d1ad0f267b22ac5d799bc1fbd0fa4 Mon Sep 17 00:00:00 2001
|
||||
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
Date: Tue, 30 May 2017 14:55:49 +0300
|
||||
Subject: [PATCH] Don't use AC_CANONICAL_HOST
|
||||
|
||||
This won't work when building allarch (and is only used to find out if
|
||||
target is windows).
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
|
||||
---
|
||||
configure.ac | 1 -
|
||||
1 file changed, 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 6ddc49b..39752bb 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -3,7 +3,6 @@ AC_PREREQ(2.53)
|
||||
|
||||
AC_INIT([adwaita-icon-theme], [43],
|
||||
[http://bugzilla.gnome.org/enter_bug.cgi?product=adwaita-icon-theme])
|
||||
-AC_CANONICAL_HOST
|
||||
AC_CONFIG_MACRO_DIR([m4])
|
||||
AC_CONFIG_SRCDIR([index.theme.in])
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
SUMMARY = "GTK+ icon theme"
|
||||
DESCRIPTION = "The Adwaita icon theme is the default icon theme of the GNOME desktop \
|
||||
This package package contains an icon theme for Gtk+ 3 applications."
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/adwaita-icon-theme/issues"
|
||||
SECTION = "x11/gnome"
|
||||
|
||||
LICENSE = "LGPL-3.0-only | CC-BY-SA-3.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c84cac88e46fc07647ea07e6c24eeb7c \
|
||||
file://COPYING_CCBYSA3;md5=96143d33de3a79321b1006c4e8ed07e7 \
|
||||
file://COPYING_LGPL;md5=e6a600fd5e1d9cbde2d983680233ad02"
|
||||
|
||||
inherit allarch autotools pkgconfig gettext gtk-icon-cache gnomebase
|
||||
|
||||
SRC_URI += " file://0001-Don-t-use-AC_CANONICAL_HOST.patch"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "2e3ac77d32a6aa5554155df37e8f0a0dd54fc5a65fd721e88d505f970da32ec6"
|
||||
|
||||
DEPENDS += "librsvg-native"
|
||||
|
||||
PACKAGES = "${PN}-cursors ${PN}-symbolic-hires ${PN}-symbolic ${PN}-hires ${PN}"
|
||||
|
||||
RREPLACES:${PN} = "gnome-icon-theme"
|
||||
RCONFLICTS:${PN} = "gnome-icon-theme"
|
||||
RPROVIDES:${PN} = "gnome-icon-theme"
|
||||
|
||||
FILES:${PN}-cursors = "${prefix}/share/icons/Adwaita/cursors/"
|
||||
FILES:${PN}-symbolic-hires = "${prefix}/share/icons/Adwaita/96x96/*/*.symbolic.png \
|
||||
${prefix}/share/icons/Adwaita/64x64/*/*.symbolic.png \
|
||||
${prefix}/share/icons/Adwaita/48x48/*/*.symbolic.png \
|
||||
${prefix}/share/icons/Adwaita/32x32/*/*.symbolic.png"
|
||||
FILES:${PN}-symbolic = "${prefix}/share/icons/Adwaita/16x16/*/*.symbolic.png \
|
||||
${prefix}/share/icons/Adwaita/24x24/*/*.symbolic.png \
|
||||
${prefix}/share/icons/Adwaita/scalable/*/*-symbolic*.svg"
|
||||
FILES:${PN}-hires = "${prefix}/share/icons/Adwaita/256x256/ \
|
||||
${prefix}/share/icons/Adwaita/512x512/"
|
||||
FILES:${PN} = "${prefix}/share/icons/Adwaita/ \
|
||||
${prefix}/share/pkgconfig/adwaita-icon-theme.pc"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,28 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
In some circumstances, gconf isn't able to save configurations
|
||||
because ~/.config folder aka root_dir doesn't exist.
|
||||
This issue was not seen before because ~/.config directory is shared
|
||||
between several packages and one of those packages usually creates it
|
||||
by the time gconf wants to use it.
|
||||
|
||||
This patch makes sure that gconf creates the .config directory if it
|
||||
doesn't exist, along with the gconf directory inside it.
|
||||
|
||||
Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com>
|
||||
Signed-off-by: Alejandro Hernandez <alejandr@xilinx.com>
|
||||
|
||||
|
||||
Index: GConf-3.2.6/backends/markup-backend.c
|
||||
===================================================================
|
||||
--- GConf-3.2.6.orig/backends/markup-backend.c
|
||||
+++ GConf-3.2.6/backends/markup-backend.c
|
||||
@@ -276,7 +276,7 @@ resolve_address (const char *address,
|
||||
/* dir_mode without search bits */
|
||||
file_mode = dir_mode & (~0111);
|
||||
}
|
||||
- else if (g_mkdir (root_dir, dir_mode) < 0)
|
||||
+ else if (g_mkdir_with_parents (root_dir, dir_mode) < 0)
|
||||
{
|
||||
/* Error out even on EEXIST - shouldn't happen anyway */
|
||||
gconf_set_error (err, GCONF_ERROR_FAILED,
|
||||
@@ -0,0 +1,60 @@
|
||||
gconf: use python3
|
||||
|
||||
Convert gsettings-schema-convert to use python3.
|
||||
|
||||
Upstream-Status: Inappropriate [gconf is deprecated]
|
||||
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
|
||||
|
||||
--- a/gsettings/gsettings-schema-convert
|
||||
+++ b/gsettings/gsettings-schema-convert
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!/usr/bin/env python
|
||||
+#!/usr/bin/env python3
|
||||
# vim: set ts=4 sw=4 et: coding=UTF-8
|
||||
#
|
||||
# Copyright (c) 2010, Novell, Inc.
|
||||
@@ -603,7 +603,7 @@ class SimpleSchemaParser:
|
||||
for line in lines:
|
||||
current_line_nb += 1
|
||||
self.parse_line(line)
|
||||
- except GSettingsSchemaConvertException, e:
|
||||
+ except GSettingsSchemaConvertException as e:
|
||||
raise GSettingsSchemaConvertException('%s:%s: %s' % (os.path.basename(self.file), current_line_nb, e))
|
||||
|
||||
return self.root
|
||||
@@ -1095,7 +1095,7 @@ def main(args):
|
||||
try:
|
||||
parser = GConfSchemaParser(argfile, options.gettext_domain, options.schema_id, options.keep_underscores)
|
||||
schema_root = parser.parse()
|
||||
- except SyntaxError, e:
|
||||
+ except SyntaxError as e:
|
||||
raise GSettingsSchemaConvertException('\'%s\' does not look like a valid gconf schema file: %s' % (argfile, e))
|
||||
else:
|
||||
# autodetect if file is XML or not
|
||||
@@ -1104,7 +1104,7 @@ def main(args):
|
||||
schema_root = parser.parse()
|
||||
if not options.simple and not options.xml:
|
||||
options.simple = True
|
||||
- except SyntaxError, e:
|
||||
+ except SyntaxError as e:
|
||||
parser = SimpleSchemaParser(argfile)
|
||||
schema_root = parser.parse()
|
||||
if not options.simple and not options.xml:
|
||||
@@ -1127,13 +1127,13 @@ def main(args):
|
||||
fout = open(options.output, 'w')
|
||||
fout.write(output)
|
||||
fout.close()
|
||||
- except GSettingsSchemaConvertException, e:
|
||||
+ except GSettingsSchemaConvertException as e:
|
||||
fout.close()
|
||||
if os.path.exists(options.output):
|
||||
os.unlink(options.output)
|
||||
raise e
|
||||
|
||||
- except GSettingsSchemaConvertException, e:
|
||||
+ except GSettingsSchemaConvertException as e:
|
||||
print >> sys.stderr, '%s' % e
|
||||
return 1
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Remove '+' from invalid characters list
|
||||
|
||||
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
|
||||
|
||||
Index: GConf-3.2.5/gconf/gconf-backend.c
|
||||
===================================================================
|
||||
--- GConf-3.2.5.orig/gconf/gconf-backend.c
|
||||
+++ GConf-3.2.5/gconf/gconf-backend.c
|
||||
@@ -37,7 +37,7 @@ static const char invalid_chars[] =
|
||||
/* Space is common in user names (and thus home directories) on Windows */
|
||||
" "
|
||||
#endif
|
||||
- "\t\r\n\"$&<>,+=#!()'|{}[]?~`;%\\";
|
||||
+ "\t\r\n\"$&<>,=#!()'|{}[]?~`;%\\";
|
||||
|
||||
static gboolean
|
||||
gconf_address_valid (const char *address,
|
||||
@@ -0,0 +1,95 @@
|
||||
Fixes errors such as this in the rootfs generation:
|
||||
|
||||
(gconftool-2.real:10095): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
|
||||
Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
|
||||
|
||||
Upstream-Status: Backport
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
From b0895e1998ebc83ab030ec0f17c0685439f5b404 Mon Sep 17 00:00:00 2001
|
||||
From: Ray Strode <rstrode@redhat.com>
|
||||
Date: Mon, 15 Apr 2013 09:57:34 -0400
|
||||
Subject: [PATCH] dbus: Don't spew to console when unable to connect to dbus
|
||||
daemon
|
||||
|
||||
Instead pass the error up for the caller to decide what to do.
|
||||
|
||||
This prevent untrappable warning messages from showing up at the
|
||||
console if gconftool --makefile-install-rule is called.
|
||||
---
|
||||
gconf/gconf-dbus.c | 24 ++++++++++++------------
|
||||
1 file changed, 12 insertions(+), 12 deletions(-)
|
||||
|
||||
diff --git a/gconf/gconf-dbus.c b/gconf/gconf-dbus.c
|
||||
index 5610fcf..048e3ea 100644
|
||||
--- a/gconf/gconf-dbus.c
|
||||
+++ b/gconf/gconf-dbus.c
|
||||
@@ -105,7 +105,7 @@ static GHashTable *engines_by_db = NULL;
|
||||
static GHashTable *engines_by_address = NULL;
|
||||
static gboolean dbus_disconnected = FALSE;
|
||||
|
||||
-static gboolean ensure_dbus_connection (void);
|
||||
+static gboolean ensure_dbus_connection (GError **error);
|
||||
static gboolean ensure_service (gboolean start_if_not_found,
|
||||
GError **err);
|
||||
static gboolean ensure_database (GConfEngine *conf,
|
||||
@@ -383,7 +383,7 @@ gconf_engine_detach (GConfEngine *conf)
|
||||
}
|
||||
|
||||
static gboolean
|
||||
-ensure_dbus_connection (void)
|
||||
+ensure_dbus_connection (GError **err)
|
||||
{
|
||||
DBusError error;
|
||||
|
||||
@@ -392,7 +392,9 @@ ensure_dbus_connection (void)
|
||||
|
||||
if (dbus_disconnected)
|
||||
{
|
||||
- g_warning ("The connection to DBus was broken. Can't reinitialize it.");
|
||||
+ g_set_error (err, GCONF_ERROR,
|
||||
+ GCONF_ERROR_NO_SERVER,
|
||||
+ "The connection to DBus was broken. Can't reinitialize it.");
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
@@ -402,7 +404,10 @@ ensure_dbus_connection (void)
|
||||
|
||||
if (!global_conn)
|
||||
{
|
||||
- g_warning ("Client failed to connect to the D-BUS daemon:\n%s", error.message);
|
||||
+ g_set_error (err, GCONF_ERROR,
|
||||
+ GCONF_ERROR_NO_SERVER,
|
||||
+ "Client failed to connect to the D-BUS daemon:\n%s",
|
||||
+ error.message);
|
||||
|
||||
dbus_error_free (&error);
|
||||
return FALSE;
|
||||
@@ -431,13 +436,8 @@ ensure_service (gboolean start_if_not_found,
|
||||
|
||||
if (global_conn == NULL)
|
||||
{
|
||||
- if (!ensure_dbus_connection ())
|
||||
- {
|
||||
- g_set_error (err, GCONF_ERROR,
|
||||
- GCONF_ERROR_NO_SERVER,
|
||||
- _("No D-BUS daemon running\n"));
|
||||
- return FALSE;
|
||||
- }
|
||||
+ if (!ensure_dbus_connection (err))
|
||||
+ return FALSE;
|
||||
|
||||
g_assert (global_conn != NULL);
|
||||
}
|
||||
@@ -2512,7 +2512,7 @@ gconf_ping_daemon (void)
|
||||
{
|
||||
if (global_conn == NULL)
|
||||
{
|
||||
- if (!ensure_dbus_connection ())
|
||||
+ if (!ensure_dbus_connection (NULL))
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
--
|
||||
1.7.10.4
|
||||
|
||||
@@ -0,0 +1,60 @@
|
||||
SUMMARY = "GNOME configuration system"
|
||||
DESCRIPTION = "GConf is a system for storing application preferences. \
|
||||
It is intended for user preferences; not configuration of something like \
|
||||
Apache, or arbitrary data storage."
|
||||
SECTION = "x11/gnome"
|
||||
HOMEPAGE = "https://gitlab.gnome.org/Archive/gconf"
|
||||
LICENSE = "LGPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=55ca817ccb7d5b5b66355690e9abc605"
|
||||
|
||||
DEPENDS = "glib-2.0 glib-2.0-native dbus dbus-glib libxml2 intltool-native"
|
||||
|
||||
inherit gnomebase gtk-doc gettext gobject-introspection gio-module-cache
|
||||
|
||||
SRC_URI = "${GNOME_MIRROR}/GConf/${@gnome_verdir("${PV}")}/GConf-${PV}.tar.xz;name=archive \
|
||||
file://remove_plus_from_invalid_characters_list.patch \
|
||||
file://unable-connect-dbus.patch \
|
||||
file://create_config_directory.patch \
|
||||
file://python3.patch \
|
||||
"
|
||||
|
||||
SRC_URI[archive.md5sum] = "2b16996d0e4b112856ee5c59130e822c"
|
||||
SRC_URI[archive.sha256sum] = "1912b91803ab09a5eed34d364bf09fe3a2a9c96751fde03a4e0cfa51a04d784c"
|
||||
|
||||
S = "${WORKDIR}/GConf-${PV}"
|
||||
|
||||
EXTRA_OECONF = "--enable-shared --disable-static \
|
||||
--disable-orbit --with-openldap=no --disable-gtk"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'polkit', d)}"
|
||||
# We really don't want Polkit for native
|
||||
PACKAGECONFIG:class-native = ""
|
||||
|
||||
PACKAGECONFIG[polkit] = "--enable-defaults-service,--disable-defaults-service,polkit"
|
||||
PACKAGECONFIG[debug] = "--enable-debug=yes, --enable-debug=minimum"
|
||||
|
||||
do_install:append() {
|
||||
# this directory need to be created to avoid an Error 256 at gdm launch
|
||||
install -d ${D}${sysconfdir}/gconf/gconf.xml.system
|
||||
|
||||
# this stuff is unusable
|
||||
rm -f ${D}${libdir}/GConf/*/*.*a
|
||||
rm -f ${D}${libdir}/gio/*/*.*a
|
||||
}
|
||||
|
||||
do_install:append:class-native() {
|
||||
create_wrapper ${D}/${bindir}/gconftool-2 \
|
||||
GCONF_BACKEND_DIR=${STAGING_LIBDIR_NATIVE}/GConf/2
|
||||
}
|
||||
|
||||
FILES:${PN} += "${libdir}/GConf/* \
|
||||
${libdir}/gio/*/*.so \
|
||||
${datadir}/polkit* \
|
||||
${datadir}/dbus-1/services/*.service \
|
||||
${datadir}/dbus-1/system-services/*.service \
|
||||
"
|
||||
RDEPENDS:${PN} = "python3-xml"
|
||||
|
||||
FILES:${PN}-dev += "${datadir}/sgml/gconf/gconf-1.0.dtd"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
+76
@@ -0,0 +1,76 @@
|
||||
From 2c31944eabbb42a86a4ddaa2998a3b100a13138d Mon Sep 17 00:00:00 2001
|
||||
From: Sascha Silbe <x-yo17@se-silbe.de>
|
||||
Date: Fri, 8 Jun 2018 13:55:10 +0200
|
||||
Subject: [PATCH] Relocate the repository directory for native builds
|
||||
|
||||
Instead of hard-coding GOBJECT_INTROSPECTION_LIBDIR when
|
||||
gobject-introspection is built, use dladdr() to determine where
|
||||
GOBJECT_INTROSPECTION_LIBDIR is and use that path to calculate the
|
||||
repository directory.
|
||||
|
||||
This fixes gobject-introspection-native accessing paths across build
|
||||
directories (e.g. if the build directories use the same shared state
|
||||
cache or sstate mirror).
|
||||
|
||||
Upstream-Status: Inappropriate
|
||||
Signed-off-by: Sascha Silbe <x-yo17@se-silbe.de>
|
||||
|
||||
---
|
||||
girepository/girepository.c | 15 +++++++++++++--
|
||||
girepository/meson.build | 2 +-
|
||||
2 files changed, 14 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/girepository/girepository.c b/girepository/girepository.c
|
||||
index a0754f4..2d456f9 100644
|
||||
--- a/girepository/girepository.c
|
||||
+++ b/girepository/girepository.c
|
||||
@@ -21,6 +21,8 @@
|
||||
* Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
+#define _GNU_SOURCE
|
||||
+
|
||||
#include "config.h"
|
||||
|
||||
#include <stdio.h>
|
||||
@@ -34,6 +36,8 @@
|
||||
#include "gitypelib-internal.h"
|
||||
#include "girepository-private.h"
|
||||
|
||||
+#include <dlfcn.h>
|
||||
+
|
||||
/**
|
||||
* SECTION:girepository
|
||||
* @short_description: GObject Introspection repository manager
|
||||
@@ -215,9 +219,16 @@ init_globals (void)
|
||||
g_free (custom_dirs);
|
||||
}
|
||||
|
||||
- libdir = GOBJECT_INTROSPECTION_LIBDIR;
|
||||
+ Dl_info gi_lib_info;
|
||||
|
||||
- typelib_dir = g_build_filename (libdir, "girepository-1.0", NULL);
|
||||
+ if (dladdr (g_irepository_get_default, &gi_lib_info)) {
|
||||
+ char *libdir = g_path_get_dirname (gi_lib_info.dli_fname);
|
||||
+ typelib_dir = g_build_filename (libdir, "girepository-1.0", NULL);
|
||||
+ g_free (libdir);
|
||||
+ } else {
|
||||
+ libdir = GOBJECT_INTROSPECTION_LIBDIR;
|
||||
+ typelib_dir = g_build_filename (libdir, "girepository-1.0", NULL);
|
||||
+ }
|
||||
|
||||
typelib_search_path = g_slist_prepend (typelib_search_path, typelib_dir);
|
||||
|
||||
diff --git a/girepository/meson.build b/girepository/meson.build
|
||||
index 786749a..15cf2a9 100644
|
||||
--- a/girepository/meson.build
|
||||
+++ b/girepository/meson.build
|
||||
@@ -45,7 +45,7 @@ girepo_internals_lib = static_library('girepository-internals',
|
||||
],
|
||||
c_args: gi_hidden_visibility_cflags + custom_c_args,
|
||||
include_directories : configinc,
|
||||
- dependencies: [girepo_gthash_dep, libffi_dep],
|
||||
+ dependencies: [girepo_gthash_dep, libffi_dep, cc.find_library('dl')],
|
||||
)
|
||||
|
||||
girepo_internals_dep = declare_dependency(
|
||||
+33
@@ -0,0 +1,33 @@
|
||||
From b01b448613b76f9acefdfd89ee01686dc7a67df4 Mon Sep 17 00:00:00 2001
|
||||
From: Chen Qi <Qi.Chen@windriver.com>
|
||||
Date: Tue, 13 Jul 2021 02:05:11 -0700
|
||||
Subject: [PATCH] g-ir-tool-template.in: fix girdir path
|
||||
|
||||
In case gir_dir_prefix is set, it's possible that g-ir-scanner
|
||||
cannot find the .gir files. This is because that the girdir
|
||||
is set to gir_dir_prefix, which is wrong. It's not a prefix,
|
||||
it the actual gir dir.
|
||||
|
||||
Upstream-Status: Submitted [https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/329]
|
||||
|
||||
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
|
||||
---
|
||||
tools/g-ir-tool-template.in | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tools/g-ir-tool-template.in b/tools/g-ir-tool-template.in
|
||||
index 6e98f52e..62c07c31 100755
|
||||
--- a/tools/g-ir-tool-template.in
|
||||
+++ b/tools/g-ir-tool-template.in
|
||||
@@ -55,7 +55,7 @@ builtins.__dict__['DATADIR'] = datadir
|
||||
|
||||
# Respect gir_dir_prefix
|
||||
girdir = ''
|
||||
-girdir = os.path.abspath(os.path.join(filedir, '..', '@gir_dir_prefix@'))
|
||||
+girdir = os.path.abspath(os.path.join(filedir, '..', '@gir_dir_prefix@', 'gir-1.0'))
|
||||
builtins.__dict__['GIRDIR'] = [girdir]
|
||||
|
||||
# Again, relative paths first so that the installation prefix is relocatable
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -0,0 +1,194 @@
|
||||
SUMMARY = "Middleware layer between GObject-using C libraries and language bindings"
|
||||
DESCRIPTION = "GObject Introspection is a project for providing machine \
|
||||
readable introspection data of the API of C libraries. This introspection \
|
||||
data can be used in several different use cases, for example automatic code \
|
||||
generation for bindings, API verification and documentation generation."
|
||||
HOMEPAGE = "https://wiki.gnome.org/action/show/Projects/GObjectIntrospection"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/gobject-introspection/issues"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPL-2.0-or-later & GPL-2.0-or-later & MIT"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=c434e8128a68bedd59b80b2ac1eb1c4a \
|
||||
file://tools/compiler.c;endline=20;md5=fc5007fc20022720e6c0b0cdde41fabd \
|
||||
file://giscanner/sourcescanner.c;endline=22;md5=194d6e0c1d00662f32d030ce44de8d39 \
|
||||
file://girepository/giregisteredtypeinfo.c;endline=21;md5=661847611ae6979465415f31a759ba27 \
|
||||
"
|
||||
|
||||
SRC_URI = "${GNOME_MIRROR}/${BPN}/${@oe.utils.trim_version("${PV}", 2)}/${BPN}-${PV}.tar.xz \
|
||||
file://0001-g-ir-tool-template.in-fix-girdir-path.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "196178bf64345501dcdc4d8469b36aa6fe80489354efe71cb7cb8ab82a3738bf"
|
||||
|
||||
SRC_URI:append:class-native = " file://0001-Relocate-the-repository-directory-for-native-builds.patch"
|
||||
|
||||
inherit meson pkgconfig gtk-doc python3targetconfig qemu gobject-introspection-data upstream-version-is-even multilib_script
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
|
||||
MULTILIB_SCRIPTS = "${PN}:${bindir}/g-ir-annotation-tool ${PN}:${bindir}/g-ir-scanner"
|
||||
|
||||
DEPENDS += " libffi zlib glib-2.0 python3 flex-native bison-native"
|
||||
|
||||
# target build needs qemu to run temporary introspection binaries created
|
||||
# on the fly by g-ir-scanner and a native version of itself to run
|
||||
# native versions of its own tools during build.
|
||||
DEPENDS:append:class-target = " gobject-introspection-native qemu-native"
|
||||
|
||||
# needed for writing out the qemu wrapper script
|
||||
export STAGING_DIR_HOST
|
||||
export B
|
||||
|
||||
PACKAGECONFIG ?= ""
|
||||
PACKAGECONFIG[doctool] = "-Ddoctool=enabled,-Ddoctool=disabled,python3-mako,"
|
||||
|
||||
# Configure target build to use native tools of itself and to use a qemu wrapper
|
||||
# and optionally to generate introspection data
|
||||
EXTRA_OEMESON:class-target = " \
|
||||
-Dgi_cross_use_prebuilt_gi=true \
|
||||
-Dgi_cross_binary_wrapper=${B}/g-ir-scanner-qemuwrapper \
|
||||
-Dgi_cross_ldd_wrapper=${B}/g-ir-scanner-lddwrapper \
|
||||
-Dgi_cross_pkgconfig_sysroot_path=${PKG_CONFIG_SYSROOT_DIR} \
|
||||
${@bb.utils.contains('GI_DATA_ENABLED', 'True', '-Dbuild_introspection_data=true', '-Dbuild_introspection_data=false', d)} \
|
||||
${@'-Dgir_dir_prefix=${libdir}' if d.getVar('MULTILIBS') else ''} \
|
||||
"
|
||||
|
||||
do_configure:prepend:class-native() {
|
||||
# Tweak the native python scripts so that they don't refer to the
|
||||
# full path of native python binary (the solution is taken from glib-2.0 recipe)
|
||||
# This removes the risk of exceeding Linux kernel's shebang line limit (128 bytes)
|
||||
sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/tools/g-ir-tool-template.in
|
||||
}
|
||||
|
||||
do_configure:prepend:class-target() {
|
||||
# Write out a qemu wrapper that will be given to gi-scanner so that it
|
||||
# can run target helper binaries through that.
|
||||
qemu_binary="${@qemu_wrapper_cmdline(d, '$STAGING_DIR_HOST', ['\\$GIR_EXTRA_LIBS_PATH','.libs','$STAGING_DIR_HOST/${libdir}','$STAGING_DIR_HOST/${base_libdir}'])}"
|
||||
cat > ${B}/g-ir-scanner-qemuwrapper << EOF
|
||||
#!/bin/sh
|
||||
# Use a modules directory which doesn't exist so we don't load random things
|
||||
# which may then get deleted (or their dependencies) and potentially segfault
|
||||
export GIO_MODULE_DIR=${STAGING_LIBDIR}/gio/modules-dummy
|
||||
|
||||
$qemu_binary "\$@"
|
||||
if [ \$? -ne 0 ]; then
|
||||
echo "If the above error message is about missing .so libraries, then setting up GIR_EXTRA_LIBS_PATH in the recipe should help."
|
||||
echo "(typically like this: GIR_EXTRA_LIBS_PATH=\"$""{B}/something/.libs\" )"
|
||||
exit 1
|
||||
fi
|
||||
EOF
|
||||
chmod +x ${B}/g-ir-scanner-qemuwrapper
|
||||
|
||||
# Write out a wrapper for g-ir-scanner itself, which will be used when building introspection files
|
||||
# for glib-based packages. This wrapper calls the native version of the scanner, and tells it to use
|
||||
# a qemu wrapper for running transient target binaries produced by the scanner, and an include directory
|
||||
# from the target sysroot.
|
||||
cat > ${B}/g-ir-scanner-wrapper << EOF
|
||||
#!/bin/sh
|
||||
# This prevents g-ir-scanner from writing cache data to user's HOME dir
|
||||
export GI_SCANNER_DISABLE_CACHE=1
|
||||
|
||||
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 "\$@"
|
||||
EOF
|
||||
chmod +x ${B}/g-ir-scanner-wrapper
|
||||
|
||||
# Write out a wrapper for g-ir-compiler, which runs the target version of it through qemu.
|
||||
# g-ir-compiler writes out the raw content of a C struct to disk, and therefore is architecture dependent.
|
||||
cat > ${B}/g-ir-compiler-wrapper << EOF
|
||||
#!/bin/sh
|
||||
${STAGING_BINDIR}/g-ir-scanner-qemuwrapper ${STAGING_BINDIR}/g-ir-compiler "\$@"
|
||||
EOF
|
||||
chmod +x ${B}/g-ir-compiler-wrapper
|
||||
|
||||
# Write out a wrapper to use instead of ldd, which does not work when a binary is built
|
||||
# for a different architecture
|
||||
cat > ${B}/g-ir-scanner-lddwrapper << EOF
|
||||
#!/bin/sh
|
||||
\$OBJDUMP -p "\$@"
|
||||
EOF
|
||||
chmod +x ${B}/g-ir-scanner-lddwrapper
|
||||
|
||||
# Also tweak the target python scripts so that they don't refer to the
|
||||
# native version of python binary (the solution is taken from glib-2.0 recipe)
|
||||
sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/tools/g-ir-tool-template.in
|
||||
}
|
||||
|
||||
do_compile:prepend() {
|
||||
# Needed to run g-ir unit tests, which won't be able to find the built libraries otherwise
|
||||
export GIR_EXTRA_LIBS_PATH=$B/.libs
|
||||
}
|
||||
|
||||
do_install:prepend() {
|
||||
# This prevents g-ir-scanner from writing cache data to $HOME
|
||||
export GI_SCANNER_DISABLE_CACHE=1
|
||||
}
|
||||
|
||||
# Our wrappers need to be available system-wide, because they will be used
|
||||
# to build introspection files for all other gobject-based packages
|
||||
do_install:append:class-target() {
|
||||
install -d ${D}${bindir}/
|
||||
install ${B}/g-ir-scanner-qemuwrapper ${D}${bindir}/
|
||||
install ${B}/g-ir-scanner-wrapper ${D}${bindir}/
|
||||
install ${B}/g-ir-compiler-wrapper ${D}${bindir}/
|
||||
install ${B}/g-ir-scanner-lddwrapper ${D}${bindir}/
|
||||
}
|
||||
|
||||
# we need target versions of introspection tools in sysroot so that they can be run via qemu
|
||||
# when building introspection files in other packages
|
||||
SYSROOT_DIRS:append:class-target = " ${bindir}"
|
||||
|
||||
SYSROOT_PREPROCESS_FUNCS:append:class-target = " gi_binaries_sysroot_preprocess"
|
||||
gi_binaries_sysroot_preprocess() {
|
||||
# Tweak the binary names in the introspection pkgconfig file, so that it
|
||||
# picks up our wrappers which do the cross-compile and qemu magic.
|
||||
sed -i \
|
||||
-e "s|g_ir_scanner=.*|g_ir_scanner=${bindir}/g-ir-scanner-wrapper|" \
|
||||
-e "s|g_ir_compiler=.*|g_ir_compiler=${bindir}/g-ir-compiler-wrapper|" \
|
||||
${SYSROOT_DESTDIR}${libdir}/pkgconfig/gobject-introspection-1.0.pc
|
||||
}
|
||||
|
||||
SYSROOT_PREPROCESS_FUNCS:append = " gi_ldsoconf_sysroot_preprocess"
|
||||
gi_ldsoconf_sysroot_preprocess () {
|
||||
mkdir -p ${SYSROOT_DESTDIR}${bindir}
|
||||
dest=${SYSROOT_DESTDIR}${bindir}/postinst-ldsoconf-${PN}
|
||||
echo "#!/bin/sh" > $dest
|
||||
echo "mkdir -p ${STAGING_DIR_TARGET}${sysconfdir}" >> $dest
|
||||
echo "echo ${base_libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
|
||||
echo "echo ${libdir} >> ${STAGING_DIR_TARGET}${sysconfdir}/ld.so.conf" >> $dest
|
||||
chmod 755 $dest
|
||||
}
|
||||
|
||||
# Remove wrapper files from the package, only used for cross-compiling
|
||||
PACKAGE_PREPROCESS_FUNCS += "gi_package_preprocess"
|
||||
gi_package_preprocess() {
|
||||
rm -f ${PKGD}${bindir}/g-ir-scanner-qemuwrapper
|
||||
rm -f ${PKGD}${bindir}/g-ir-scanner-wrapper
|
||||
rm -f ${PKGD}${bindir}/g-ir-compiler-wrapper
|
||||
rm -f ${PKGD}${bindir}/g-ir-scanner-lddwrapper
|
||||
}
|
||||
|
||||
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}"
|
||||
|
||||
# .typelib files are needed at runtime and so they go to the main package
|
||||
FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib"
|
||||
|
||||
# .gir files go to dev package, as they're needed for developing (but not for running)
|
||||
# things that depends on introspection.
|
||||
FILES:${PN}-dev:append = " ${datadir}/gir-*/*.gir ${libdir}/gir-*/*.gir"
|
||||
FILES:${PN}-dev:append = " ${datadir}/gir-*/*.rnc"
|
||||
|
||||
# These are used by gobject-based packages
|
||||
# to generate transient introspection binaries
|
||||
FILES:${PN}-dev:append = " ${datadir}/gobject-introspection-1.0/gdump.c \
|
||||
${datadir}/gobject-introspection-1.0/Makefile.introspection"
|
||||
|
||||
# These are used by dependent packages (e.g. pygobject) to build their
|
||||
# testsuites.
|
||||
FILES:${PN}-dev:append = " ${datadir}/gobject-introspection-1.0/tests/*.c \
|
||||
${datadir}/gobject-introspection-1.0/tests/*.h"
|
||||
|
||||
FILES:${PN}-dbg += "${libdir}/gobject-introspection/giscanner/.debug/"
|
||||
FILES:${PN}-staticdev += "${libdir}/gobject-introspection/giscanner/*.a"
|
||||
|
||||
RDEPENDS:${PN} = "python3-pickle python3-xml"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "GNOME desktop-wide GSettings schemas"
|
||||
DESCRIPTION = "GSettings desktop-wide schemas contains a collection of \
|
||||
GSettings schemas for settings shared by various components of a desktop."
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/gsettings-desktop-schemas/issues"
|
||||
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
DEPENDS = "glib-2.0"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
inherit gnomebase gsettings gobject-introspection gettext
|
||||
|
||||
SRC_URI[archive.sha256sum] = "eb2de45cad905994849e642a623adeb75d41b21b0626d40d2a07b8ea281fec0e"
|
||||
@@ -0,0 +1,151 @@
|
||||
|
||||
SUMMARY = "Multi-platform toolkit for creating GUIs"
|
||||
DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \
|
||||
set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites."
|
||||
HOMEPAGE = "http://www.gtk.org"
|
||||
BUGTRACKER = "https://bugzilla.gnome.org/"
|
||||
SECTION = "libs"
|
||||
|
||||
DEPENDS = "glib-2.0 cairo pango atk jpeg libpng gdk-pixbuf gdk-pixbuf-native"
|
||||
|
||||
LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
|
||||
|
||||
inherit meson gettext pkgconfig gtk-doc update-alternatives gtk-immodules-cache gsettings features_check gobject-introspection
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
GSETTINGS_PACKAGE:class-native = ""
|
||||
|
||||
# versions >= 3.90 are development versions, otherwise like upstream-version-is-even
|
||||
UPSTREAM_CHECK_REGEX = "[^\d\.](?P<pver>3\.([1-8]?[02468])+(\.\d+)+)\.tar"
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
do_configure:prepend() {
|
||||
# These files are generated by wayland-scanner but will race over modification
|
||||
# time between the copies in the sysroot from wayland-protocols and the copy
|
||||
# in the source tree. Solve the race by deleting so they need to be regenerated.
|
||||
rm -f ${S}/modules/input/*-text-input-*.[ch]
|
||||
}
|
||||
|
||||
GTKDOC_MESON_OPTION = 'gtk_doc'
|
||||
|
||||
EXTRA_OEMESON = "-Dxinerama=no -Dtests=false"
|
||||
EXTRA_OEMESON:append:class-native = " -Ddemos=false -Dexamples=false"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'opengl wayland x11', d)}"
|
||||
PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
|
||||
PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
|
||||
|
||||
PACKAGECONFIG[x11] = "-Dx11_backend=true,-Dx11_backend=false,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes"
|
||||
# this is provided by oe-core patch that removes epoxy/gl dependency from a X11 build
|
||||
PACKAGECONFIG[opengl] = "-Dopengl=true,-Dopengl=false,libepoxy"
|
||||
PACKAGECONFIG[wayland] = "-Dwayland_backend=true,-Dwayland_backend=false,wayland wayland-protocols libxkbcommon virtual/egl virtual/libgles2 wayland-native"
|
||||
PACKAGECONFIG[cups] = ",,cups,cups"
|
||||
PACKAGECONFIG[colord] = "-Dcolord=yes,-Dcolord=no,colord"
|
||||
PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=true,-Dcloudproviders=false,libcloudproviders"
|
||||
PACKAGECONFIG[tracker3] = "-Dtracker3=true,-Dtracker3=false,tracker,tracker-miners"
|
||||
|
||||
prepare_gtk_scripts() {
|
||||
mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-3.0
|
||||
|
||||
# duplicate gtk-query-immodules for post install script update_gtk_immodules_cache
|
||||
mkdir -p ${D}${libexecdir}
|
||||
ln ${D}${bindir}/gtk-query-immodules-3.0 ${D}${libexecdir}/${MLPREFIX}gtk-query-immodules-3.0
|
||||
}
|
||||
|
||||
do_install:append:class-target() {
|
||||
prepare_gtk_scripts
|
||||
}
|
||||
|
||||
do_install:append:class-nativesdk() {
|
||||
prepare_gtk_scripts
|
||||
}
|
||||
|
||||
do_install:append:class-native() {
|
||||
create_wrapper ${D}/${bindir}/gtk-update-icon-cache \
|
||||
GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
create_wrapper ${D}/${bindir}/gtk-encode-symbolic-svg \
|
||||
GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
||||
}
|
||||
|
||||
PROVIDES += "gtk-icon-utils"
|
||||
PACKAGES =+ "${PN}-demo"
|
||||
LIBV = "3.0.0"
|
||||
|
||||
FILES:${PN}-demo = "${bindir}/gtk3-demo \
|
||||
${bindir}/gtk3-demo-application \
|
||||
${bindir}/gtk3-icon-browser \
|
||||
${bindir}/gtk3-widget-factory \
|
||||
${datadir}/gtk-3.0/demo \
|
||||
${datadir}/applications/gtk3-demo.desktop \
|
||||
${datadir}/applications/gtk3-icon-browser.desktop \
|
||||
${datadir}/applications/gtk3-widget-factory.desktop \
|
||||
${datadir}/icons/hicolor/*/apps/gtk3-demo*.png \
|
||||
${datadir}/icons/hicolor/*/apps/gtk3-widget-factory*.png"
|
||||
|
||||
FILES:${PN}:append = " ${bindir}/gtk-update-icon-cache-3.0 \
|
||||
${bindir}/gtk-query-immodules-3.0 \
|
||||
${bindir}/gtk-launch \
|
||||
${datadir}/themes ${datadir}/gtk-3.0/emoji \
|
||||
${sysconfdir} ${datadir}/glib-2.0/schemas/ \
|
||||
${libdir}/gtk-3.0/${LIBV}/engines/libpixmap.so \
|
||||
${libdir}/gtk-3.0/modules/*.so"
|
||||
|
||||
FILES:${PN}-dev += " \
|
||||
${datadir}/gtk-3.0/gtkbuilder.rng \
|
||||
${datadir}/gtk-3.0/include \
|
||||
${datadir}/gtk-3.0/valgrind \
|
||||
${datadir}/gettext/its \
|
||||
${libdir}/gtk-3.0/include \
|
||||
${libdir}/gtk-3.0/${LIBV}/loaders/*.la \
|
||||
${libdir}/gtk-3.0/${LIBV}/immodules/*.la \
|
||||
${libdir}/gtk-3.0/3.0.0/printbackends/*.la \
|
||||
${libdir}/gtk-3.0/${LIBV}/engines/*.la \
|
||||
${libdir}/gtk-3.0/modules/*.la \
|
||||
${bindir}/gtk-builder-convert \
|
||||
${bindir}/gtk-encode-symbolic-svg \
|
||||
${bindir}/gtk-builder-tool \
|
||||
${bindir}/gtk-query-settings \
|
||||
"
|
||||
|
||||
GTKBASE_RRECOMMENDS ?= "liberation-fonts \
|
||||
gdk-pixbuf-loader-png \
|
||||
gdk-pixbuf-loader-jpeg \
|
||||
gdk-pixbuf-loader-gif \
|
||||
gdk-pixbuf-loader-xpm \
|
||||
shared-mime-info \
|
||||
adwaita-icon-theme-symbolic \
|
||||
"
|
||||
|
||||
GTKBASE_RRECOMMENDS:class-native ?= "\
|
||||
"
|
||||
|
||||
GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1"
|
||||
|
||||
RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}"
|
||||
RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}"
|
||||
RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}"
|
||||
|
||||
PACKAGES_DYNAMIC += "^gtk3-immodule-.* ^gtk3-printbackend-.*"
|
||||
|
||||
ALTERNATIVE:${PN} = "gtk-update-icon-cache"
|
||||
ALTERNATIVE_TARGET[gtk-update-icon-cache] = "${bindir}/gtk-update-icon-cache-3.0"
|
||||
ALTERNATIVE_PRIORITY = "30"
|
||||
|
||||
python populate_packages:prepend () {
|
||||
import os.path
|
||||
|
||||
gtk_libdir = d.expand('${libdir}/gtk-3.0/${LIBV}')
|
||||
immodules_root = os.path.join(gtk_libdir, 'immodules')
|
||||
printmodules_root = os.path.join(gtk_libdir, 'printbackends');
|
||||
|
||||
immodules = do_split_packages(d, immodules_root, r'^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s')
|
||||
if immodules:
|
||||
d.setVar("GTKIMMODULES_PACKAGES", " ".join(immodules))
|
||||
|
||||
do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s')
|
||||
|
||||
if (d.getVar('DEBIAN_NAMES')):
|
||||
d.setVar(d.expand('PKG:${PN}'), '${MLPREFIX}libgtk-3.0')
|
||||
}
|
||||
@@ -0,0 +1,737 @@
|
||||
From 4a0716f04fb25b51b08e994bd5a900b2e7f7fed5 Mon Sep 17 00:00:00 2001
|
||||
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
Date: Fri, 16 Oct 2015 16:35:16 +0300
|
||||
Subject: [PATCH] Do not try to initialize GL without libGL
|
||||
|
||||
_gdk_x11_screen_update_visuals_for_gl() will end up calling epoxys
|
||||
GLX api which will exit() if libGL.so.1 is not present. We do not
|
||||
want that to happen and we don't want every app to have to set
|
||||
"GDK_GL=disabled" environment variable: so use #ifdef set based on
|
||||
opengl distro feature.
|
||||
|
||||
Upstream is not interested in the fix as it is: Either epoxy should be
|
||||
fixed (to not exit) or GTK+ possibly could do some additional probing
|
||||
before calling epoxy APIs.
|
||||
|
||||
Upstream-Status: Denied
|
||||
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
---
|
||||
demos/gtk-demo/meson.build | 5 ++++-
|
||||
docs/tools/meson.build | 7 +++++--
|
||||
docs/tools/widgets.c | 6 +++++-
|
||||
gdk/gdkconfig.h.meson | 1 +
|
||||
gdk/gdkdisplay.c | 4 ++++
|
||||
gdk/gdkgl.c | 10 ++++++++++
|
||||
gdk/gdkglcontext.c | 6 ++++++
|
||||
gdk/gdkwindow.c | 13 +++++++++++++
|
||||
gdk/meson.build | 8 +++++++-
|
||||
gdk/x11/gdkdisplay-x11.c | 6 +++++-
|
||||
gdk/x11/gdkvisual-x11.c | 5 +++++
|
||||
gdk/x11/gdkwindow-x11.c | 4 ++++
|
||||
gdk/x11/gdkx-autocleanups.h | 2 ++
|
||||
gdk/x11/gdkx.h | 2 ++
|
||||
gdk/x11/meson.build | 7 +++++--
|
||||
gtk/gtkglarea.c | 19 +++++++++++++++++++
|
||||
gtk/inspector/general.c | 6 ++++++
|
||||
meson.build | 17 ++++++++++++++---
|
||||
meson_options.txt | 2 ++
|
||||
tests/meson.build | 9 +++++++--
|
||||
testsuite/gtk/objects-finalize.c | 2 ++
|
||||
21 files changed, 128 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/demos/gtk-demo/meson.build b/demos/gtk-demo/meson.build
|
||||
index 252da16d05..4b57cff6ac 100644
|
||||
--- a/demos/gtk-demo/meson.build
|
||||
+++ b/demos/gtk-demo/meson.build
|
||||
@@ -28,7 +28,6 @@ demos = files([
|
||||
'fishbowl.c',
|
||||
'foreigndrawing.c',
|
||||
'gestures.c',
|
||||
- 'glarea.c',
|
||||
'headerbar.c',
|
||||
'hypertext.c',
|
||||
'iconview.c',
|
||||
@@ -87,6 +86,10 @@ elif harfbuzz_dep.found() and pangoft_dep.found()
|
||||
gtkdemo_deps += [harfbuzz_dep, pangoft_dep]
|
||||
endif
|
||||
|
||||
+if opengl_enabled
|
||||
+ demos += files('glarea.c')
|
||||
+endif
|
||||
+
|
||||
if os_unix
|
||||
demos += files('pagesetup.c')
|
||||
endif
|
||||
diff --git a/docs/tools/meson.build b/docs/tools/meson.build
|
||||
index 05621ee7ed..3d0a333b32 100644
|
||||
--- a/docs/tools/meson.build
|
||||
+++ b/docs/tools/meson.build
|
||||
@@ -2,10 +2,13 @@ if x11_enabled
|
||||
doc_shooter_sources = [
|
||||
'shadow.c',
|
||||
'shooter.c',
|
||||
- 'widgets.c',
|
||||
- '../../tests/gtkgears.c',
|
||||
+ 'widgets.c'
|
||||
]
|
||||
|
||||
+ if opengl_enabled
|
||||
+ doc_shooter_sources += ['../../tests/gtkgears.c']
|
||||
+ endif
|
||||
+
|
||||
doc_shooter = executable('doc-shooter', doc_shooter_sources,
|
||||
include_directories: [ confinc, gdkinc, gtkinc, testinc, ],
|
||||
dependencies: libgtk_dep)
|
||||
diff --git a/docs/tools/widgets.c b/docs/tools/widgets.c
|
||||
index 932daf1746..348807e133 100644
|
||||
--- a/docs/tools/widgets.c
|
||||
+++ b/docs/tools/widgets.c
|
||||
@@ -8,7 +8,9 @@
|
||||
#include <X11/Xatom.h>
|
||||
#include <gdkx.h>
|
||||
#include "widgets.h"
|
||||
+#ifdef HAVE_OPENGL
|
||||
#include "gtkgears.h"
|
||||
+#endif
|
||||
|
||||
#define SMALL_WIDTH 240
|
||||
#define SMALL_HEIGHT 75
|
||||
@@ -1526,9 +1528,11 @@ create_gl_area (void)
|
||||
widget = gtk_frame_new (NULL);
|
||||
gtk_frame_set_shadow_type (GTK_FRAME (widget), GTK_SHADOW_IN);
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
gears = gtk_gears_new ();
|
||||
gtk_container_add (GTK_CONTAINER (widget), gears);
|
||||
-
|
||||
+#endif
|
||||
+
|
||||
info = new_widget_info ("glarea", widget, MEDIUM);
|
||||
|
||||
return info;
|
||||
diff --git a/gdk/gdkconfig.h.meson b/gdk/gdkconfig.h.meson
|
||||
index 7db19e0470..088651bafa 100644
|
||||
--- a/gdk/gdkconfig.h.meson
|
||||
+++ b/gdk/gdkconfig.h.meson
|
||||
@@ -15,6 +15,7 @@ G_BEGIN_DECLS
|
||||
#mesondefine GDK_WINDOWING_WAYLAND
|
||||
#mesondefine GDK_WINDOWING_WIN32
|
||||
#mesondefine GDK_WINDOWING_QUARTZ
|
||||
+#mesondefine GDK_WITH_OPENGL
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
diff --git a/gdk/gdkdisplay.c b/gdk/gdkdisplay.c
|
||||
index 748f54860c..04ef2c09d4 100644
|
||||
--- a/gdk/gdkdisplay.c
|
||||
+++ b/gdk/gdkdisplay.c
|
||||
@@ -2420,7 +2420,11 @@ gboolean
|
||||
gdk_display_make_gl_context_current (GdkDisplay *display,
|
||||
GdkGLContext *context)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
return GDK_DISPLAY_GET_CLASS (display)->make_gl_context_current (display, context);
|
||||
+#else
|
||||
+ return FALSE;
|
||||
+#endif
|
||||
}
|
||||
|
||||
GdkRenderingMode
|
||||
diff --git a/gdk/gdkgl.c b/gdk/gdkgl.c
|
||||
index 9690077cc2..55f85ef605 100644
|
||||
--- a/gdk/gdkgl.c
|
||||
+++ b/gdk/gdkgl.c
|
||||
@@ -26,7 +26,9 @@
|
||||
# include "win32/gdkwin32.h"
|
||||
#endif
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
#include <epoxy/gl.h>
|
||||
+#endif
|
||||
#include <math.h>
|
||||
#include <string.h>
|
||||
|
||||
@@ -40,6 +42,7 @@ gdk_cairo_surface_mark_as_direct (cairo_surface_t *surface,
|
||||
g_object_ref (window), g_object_unref);
|
||||
}
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
static const char *
|
||||
get_vertex_type_name (int type)
|
||||
{
|
||||
@@ -212,6 +215,7 @@ use_texture_rect_program (GdkGLContextPaintData *paint_data)
|
||||
glUseProgram (paint_data->current_program->program);
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
|
||||
void
|
||||
gdk_gl_texture_quads (GdkGLContext *paint_context,
|
||||
@@ -220,6 +224,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context,
|
||||
GdkTexturedQuad *quads,
|
||||
gboolean flip_colors)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
GdkGLContextPaintData *paint_data = gdk_gl_context_get_paint_data (paint_context);
|
||||
GdkGLContextProgram *program;
|
||||
GdkWindow *window = gdk_gl_context_get_window (paint_context);
|
||||
@@ -293,6 +298,7 @@ gdk_gl_texture_quads (GdkGLContext *paint_context,
|
||||
|
||||
glDisableVertexAttribArray (program->position_location);
|
||||
glDisableVertexAttribArray (program->uv_location);
|
||||
+#endif
|
||||
}
|
||||
|
||||
/* x,y,width,height describes a rectangle in the gl render buffer
|
||||
@@ -341,6 +347,7 @@ gdk_cairo_draw_from_gl (cairo_t *cr,
|
||||
int width,
|
||||
int height)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
GdkGLContext *paint_context;
|
||||
cairo_surface_t *image;
|
||||
cairo_matrix_t matrix;
|
||||
@@ -718,6 +725,7 @@ out:
|
||||
if (clip_region)
|
||||
cairo_region_destroy (clip_region);
|
||||
|
||||
+#endif
|
||||
}
|
||||
|
||||
/* This is always called with the paint context current */
|
||||
@@ -725,6 +733,7 @@ void
|
||||
gdk_gl_texture_from_surface (cairo_surface_t *surface,
|
||||
cairo_region_t *region)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
GdkGLContext *paint_context;
|
||||
cairo_surface_t *image;
|
||||
double device_x_offset, device_y_offset;
|
||||
@@ -825,4 +834,5 @@ gdk_gl_texture_from_surface (cairo_surface_t *surface,
|
||||
|
||||
glDisable (GL_SCISSOR_TEST);
|
||||
glDeleteTextures (1, &texture_id);
|
||||
+#endif
|
||||
}
|
||||
diff --git a/gdk/gdkglcontext.c b/gdk/gdkglcontext.c
|
||||
index 3b23639e1c..1f04f8e0b2 100644
|
||||
--- a/gdk/gdkglcontext.c
|
||||
+++ b/gdk/gdkglcontext.c
|
||||
@@ -85,7 +85,9 @@
|
||||
#include "gdkintl.h"
|
||||
#include "gdk-private.h"
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
#include <epoxy/gl.h>
|
||||
+#endif
|
||||
|
||||
typedef struct {
|
||||
GdkDisplay *display;
|
||||
@@ -243,6 +245,7 @@ gdk_gl_context_upload_texture (GdkGLContext *context,
|
||||
int height,
|
||||
guint texture_target)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context);
|
||||
|
||||
g_return_if_fail (GDK_IS_GL_CONTEXT (context));
|
||||
@@ -286,6 +289,7 @@ gdk_gl_context_upload_texture (GdkGLContext *context,
|
||||
glTexSubImage2D (texture_target, 0, 0, i, width, 1, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV, (unsigned char*) data + (i * stride));
|
||||
}
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
static gboolean
|
||||
@@ -774,6 +778,7 @@ gdk_gl_context_realize (GdkGLContext *context,
|
||||
static void
|
||||
gdk_gl_context_check_extensions (GdkGLContext *context)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
GdkGLContextPrivate *priv = gdk_gl_context_get_instance_private (context);
|
||||
gboolean has_npot, has_texture_rectangle;
|
||||
|
||||
@@ -853,6 +858,7 @@ gdk_gl_context_check_extensions (GdkGLContext *context)
|
||||
priv->use_texture_rectangle ? "yes" : "no"));
|
||||
|
||||
priv->extensions_checked = TRUE;
|
||||
+#endif
|
||||
}
|
||||
|
||||
/**
|
||||
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
|
||||
index 727b0cf1f4..d4d91b0d16 100644
|
||||
--- a/gdk/gdkwindow.c
|
||||
+++ b/gdk/gdkwindow.c
|
||||
@@ -45,7 +45,9 @@
|
||||
|
||||
#include <math.h>
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
#include <epoxy/gl.h>
|
||||
+#endif
|
||||
|
||||
/* for the use of round() */
|
||||
#include "fallback-c89.c"
|
||||
@@ -2844,6 +2846,13 @@ gdk_window_get_paint_gl_context (GdkWindow *window,
|
||||
{
|
||||
GError *internal_error = NULL;
|
||||
|
||||
+#ifndef HAVE_OPENGL
|
||||
+ g_set_error_literal (error, GDK_GL_ERROR,
|
||||
+ GDK_GL_ERROR_NOT_AVAILABLE,
|
||||
+ _("GL support disabled with --disable-opengl"));
|
||||
+ return NULL;
|
||||
+#endif
|
||||
+
|
||||
if (_gdk_gl_flags & GDK_GL_DISABLE)
|
||||
{
|
||||
g_set_error_literal (error, GDK_GL_ERROR,
|
||||
@@ -2979,6 +2988,7 @@ gdk_window_begin_paint_internal (GdkWindow *window,
|
||||
}
|
||||
else
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
gdk_gl_context_make_current (context);
|
||||
/* With gl we always need a surface to combine the gl
|
||||
drawing with the native drawing. */
|
||||
@@ -2993,6 +3003,7 @@ gdk_window_begin_paint_internal (GdkWindow *window,
|
||||
glBlendFunc (GL_ONE, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
glViewport (0, 0, ww, wh);
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -3056,6 +3067,7 @@ gdk_window_end_paint_internal (GdkWindow *window)
|
||||
|
||||
gdk_gl_context_make_current (window->gl_paint_context);
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
if (!cairo_region_is_empty (opaque_region))
|
||||
gdk_gl_texture_from_surface (window->current_paint.surface,
|
||||
opaque_region);
|
||||
@@ -3066,6 +3078,7 @@ gdk_window_end_paint_internal (GdkWindow *window)
|
||||
window->current_paint.need_blend_region);
|
||||
glDisable(GL_BLEND);
|
||||
}
|
||||
+#endif
|
||||
|
||||
cairo_region_destroy (opaque_region);
|
||||
|
||||
diff --git a/gdk/meson.build b/gdk/meson.build
|
||||
index 4bb1bf2b6c..64172b8d3e 100644
|
||||
--- a/gdk/meson.build
|
||||
+++ b/gdk/meson.build
|
||||
@@ -56,7 +56,6 @@ gdk_gir_public_headers = files(
|
||||
'gdkdrawingcontext.h',
|
||||
'gdkevents.h',
|
||||
'gdkframetimings.h',
|
||||
- 'gdkglcontext.h',
|
||||
'gdkkeys.h',
|
||||
'gdkkeysyms.h',
|
||||
'gdkmain.h',
|
||||
@@ -78,6 +77,12 @@ gdk_gir_public_headers = files(
|
||||
'gdkwindow.h',
|
||||
)
|
||||
gdk_nogir_public_headers = [files('gdkkeysyms-compat.h')]
|
||||
+if opengl_enabled
|
||||
+gdk_gir_public_headers += files('gdkglcontext.h')
|
||||
+else
|
||||
+gdk_nogir_public_headers += files('gdkglcontext.h')
|
||||
+endif
|
||||
+
|
||||
gdk_public_headers = gdk_gir_public_headers + gdk_nogir_public_headers
|
||||
install_headers(gdk_public_headers, subdir : 'gtk-3.0/gdk')
|
||||
|
||||
@@ -166,6 +171,7 @@ gdkconfig_cdata.set('GDK_WINDOWING_WAYLAND', wayland_enabled)
|
||||
gdkconfig_cdata.set('GDK_WINDOWING_WIN32', win32_enabled)
|
||||
gdkconfig_cdata.set('GDK_WINDOWING_BROADWAY', broadway_enabled)
|
||||
gdkconfig_cdata.set('GDK_WINDOWING_QUARTZ', quartz_enabled)
|
||||
+gdkconfig_cdata.set('GDK_WITH_OPENGL', opengl_enabled)
|
||||
|
||||
gdkconfig = configure_file(
|
||||
input : 'gdkconfig.h.meson',
|
||||
diff --git a/gdk/x11/gdkdisplay-x11.c b/gdk/x11/gdkdisplay-x11.c
|
||||
index 7e08f472cc..30fd7b6089 100644
|
||||
--- a/gdk/x11/gdkdisplay-x11.c
|
||||
+++ b/gdk/x11/gdkdisplay-x11.c
|
||||
@@ -37,7 +37,9 @@
|
||||
#include "gdkdisplay-x11.h"
|
||||
#include "gdkprivate-x11.h"
|
||||
#include "gdkscreen-x11.h"
|
||||
+#ifdef HAVE_OPENGL
|
||||
#include "gdkglcontext-x11.h"
|
||||
+#endif
|
||||
#include "gdk-private.h"
|
||||
#include "gdkprofilerprivate.h"
|
||||
|
||||
@@ -3191,7 +3193,9 @@ gdk_x11_display_class_init (GdkX11DisplayClass * class)
|
||||
display_class->text_property_to_utf8_list = _gdk_x11_display_text_property_to_utf8_list;
|
||||
display_class->utf8_to_string_target = _gdk_x11_display_utf8_to_string_target;
|
||||
|
||||
- display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current;
|
||||
+#ifdef HAVE_OPENGL
|
||||
+ display_class->make_gl_context_current = gdk_x11_display_make_gl_context_current;
|
||||
+#endif
|
||||
|
||||
display_class->get_default_seat = gdk_x11_display_get_default_seat;
|
||||
|
||||
diff --git a/gdk/x11/gdkvisual-x11.c b/gdk/x11/gdkvisual-x11.c
|
||||
index 81479d81f4..3c8c5c02ff 100644
|
||||
--- a/gdk/x11/gdkvisual-x11.c
|
||||
+++ b/gdk/x11/gdkvisual-x11.c
|
||||
@@ -306,7 +306,12 @@ _gdk_x11_screen_init_visuals (GdkScreen *screen)
|
||||
/* If GL is available we want to pick better default/rgba visuals,
|
||||
as we care about glx details such as alpha/depth/stencil depth,
|
||||
stereo and double buffering */
|
||||
+ /* update_visuals_for_gl() will end up calling epoxy GLX api which
|
||||
+ will exit if libgl is not there: so only do this if we know GL
|
||||
+ is available */
|
||||
+#ifdef HAVE_GLX
|
||||
_gdk_x11_screen_update_visuals_for_gl (screen);
|
||||
+#endif
|
||||
}
|
||||
|
||||
gint
|
||||
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
|
||||
index 194bc82e29..0302bb68d4 100644
|
||||
--- a/gdk/x11/gdkwindow-x11.c
|
||||
+++ b/gdk/x11/gdkwindow-x11.c
|
||||
@@ -36,7 +36,9 @@
|
||||
#include "gdkasync.h"
|
||||
#include "gdkeventsource.h"
|
||||
#include "gdkdisplay-x11.h"
|
||||
+#ifdef HAVE_OPENGL
|
||||
#include "gdkglcontext-x11.h"
|
||||
+#endif
|
||||
#include "gdkprivate-x11.h"
|
||||
#include "gdk-private.h"
|
||||
|
||||
@@ -5888,7 +5890,9 @@ gdk_window_impl_x11_class_init (GdkWindowImplX11Class *klass)
|
||||
impl_class->set_opaque_region = gdk_x11_window_set_opaque_region;
|
||||
impl_class->set_shadow_width = gdk_x11_window_set_shadow_width;
|
||||
impl_class->show_window_menu = gdk_x11_window_show_window_menu;
|
||||
+#ifdef HAVE_OPENGL
|
||||
impl_class->create_gl_context = gdk_x11_window_create_gl_context;
|
||||
impl_class->invalidate_for_new_frame = gdk_x11_window_invalidate_for_new_frame;
|
||||
+#endif
|
||||
impl_class->get_unscaled_size = gdk_x11_window_get_unscaled_size;
|
||||
}
|
||||
diff --git a/gdk/x11/gdkx-autocleanups.h b/gdk/x11/gdkx-autocleanups.h
|
||||
index edb0ea7dbf..a317d61cca 100644
|
||||
--- a/gdk/x11/gdkx-autocleanups.h
|
||||
+++ b/gdk/x11/gdkx-autocleanups.h
|
||||
@@ -30,7 +30,9 @@ G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DeviceXI2, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Display, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DisplayManager, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11DragContext, g_object_unref)
|
||||
+#ifdef HAVE_OPENGL
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11GLContext, g_object_unref)
|
||||
+#endif
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Keymap, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Screen, g_object_unref)
|
||||
G_DEFINE_AUTOPTR_CLEANUP_FUNC(GdkX11Visual, g_object_unref)
|
||||
diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h
|
||||
index 1f64bccb6d..4db6c18351 100644
|
||||
--- a/gdk/x11/gdkx.h
|
||||
+++ b/gdk/x11/gdkx.h
|
||||
@@ -43,7 +43,9 @@
|
||||
#include <gdk/x11/gdkx11display.h>
|
||||
#include <gdk/x11/gdkx11displaymanager.h>
|
||||
#include <gdk/x11/gdkx11dnd.h>
|
||||
+#ifdef GDK_WITH_OPENGL
|
||||
#include <gdk/x11/gdkx11glcontext.h>
|
||||
+#endif
|
||||
#include <gdk/x11/gdkx11keys.h>
|
||||
#include <gdk/x11/gdkx11monitor.h>
|
||||
#include <gdk/x11/gdkx11property.h>
|
||||
diff --git a/gdk/x11/meson.build b/gdk/x11/meson.build
|
||||
index 754ae0a615..0318c83877 100644
|
||||
--- a/gdk/x11/meson.build
|
||||
+++ b/gdk/x11/meson.build
|
||||
@@ -14,7 +14,6 @@ gdk_x11_sources = files(
|
||||
'gdkeventsource.c',
|
||||
'gdkeventtranslator.c',
|
||||
'gdkgeometry-x11.c',
|
||||
- 'gdkglcontext-x11.c',
|
||||
'gdkkeys-x11.c',
|
||||
'gdkmain-x11.c',
|
||||
'gdkproperty-x11.c',
|
||||
@@ -42,7 +41,6 @@ gdk_x11_public_headers = files(
|
||||
'gdkx11display.h',
|
||||
'gdkx11displaymanager.h',
|
||||
'gdkx11dnd.h',
|
||||
- 'gdkx11glcontext.h',
|
||||
'gdkx11keys.h',
|
||||
'gdkx11monitor.h',
|
||||
'gdkx11property.h',
|
||||
@@ -53,6 +51,11 @@ gdk_x11_public_headers = files(
|
||||
'gdkx11window.h',
|
||||
)
|
||||
|
||||
+if opengl_enabled
|
||||
+ gdk_x11_sources += files('gdkglcontext-x11.c')
|
||||
+ gdk_x11_public_headers += files('gdkx11glcontext.h')
|
||||
+endif
|
||||
+
|
||||
install_headers(gdk_x11_public_headers, subdir: 'gtk-3.0/gdk/x11/')
|
||||
install_headers('gdkx.h', subdir: 'gtk-3.0/gdk/')
|
||||
|
||||
diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c
|
||||
index 802303ea9f..6439d7745d 100644
|
||||
--- a/gtk/gtkglarea.c
|
||||
+++ b/gtk/gtkglarea.c
|
||||
@@ -29,7 +29,9 @@
|
||||
#include "gtkprivate.h"
|
||||
#include "gtkrender.h"
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
#include <epoxy/gl.h>
|
||||
+#endif
|
||||
|
||||
/**
|
||||
* SECTION:gtkglarea
|
||||
@@ -369,9 +371,12 @@ gtk_gl_area_real_create_context (GtkGLArea *area)
|
||||
static void
|
||||
gtk_gl_area_resize (GtkGLArea *area, int width, int height)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
glViewport (0, 0, width, height);
|
||||
+#endif
|
||||
}
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
/*
|
||||
* Creates all the buffer objects needed for rendering the scene
|
||||
*/
|
||||
@@ -483,6 +488,7 @@ gtk_gl_area_allocate_buffers (GtkGLArea *area)
|
||||
|
||||
priv->needs_render = TRUE;
|
||||
}
|
||||
+#endif
|
||||
|
||||
/**
|
||||
* gtk_gl_area_attach_buffers:
|
||||
@@ -501,6 +507,7 @@ gtk_gl_area_allocate_buffers (GtkGLArea *area)
|
||||
void
|
||||
gtk_gl_area_attach_buffers (GtkGLArea *area)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area);
|
||||
|
||||
g_return_if_fail (GTK_IS_GL_AREA (area));
|
||||
@@ -533,11 +540,13 @@ gtk_gl_area_attach_buffers (GtkGLArea *area)
|
||||
glFramebufferRenderbuffer (GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT,
|
||||
GL_RENDERBUFFER, priv->depth_stencil_buffer);
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void
|
||||
gtk_gl_area_delete_buffers (GtkGLArea *area)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area);
|
||||
|
||||
if (priv->context == NULL)
|
||||
@@ -569,6 +578,7 @@ gtk_gl_area_delete_buffers (GtkGLArea *area)
|
||||
glDeleteFramebuffers (1, &priv->frame_buffer);
|
||||
priv->frame_buffer = 0;
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -679,6 +689,7 @@ gtk_gl_area_draw (GtkWidget *widget,
|
||||
GtkGLArea *area = GTK_GL_AREA (widget);
|
||||
GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area);
|
||||
gboolean unused;
|
||||
+#ifdef HAVE_OPENGL
|
||||
int w, h, scale;
|
||||
GLenum status;
|
||||
|
||||
@@ -736,6 +747,14 @@ gtk_gl_area_draw (GtkWidget *widget,
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
+#else
|
||||
+ if (priv->error != NULL)
|
||||
+ gtk_gl_area_draw_error_screen (area,
|
||||
+ cr,
|
||||
+ gtk_widget_get_allocated_width (widget),
|
||||
+ gtk_widget_get_allocated_height (widget));
|
||||
+ return FALSE;
|
||||
+#endif
|
||||
}
|
||||
|
||||
static gboolean
|
||||
diff --git a/gtk/inspector/general.c b/gtk/inspector/general.c
|
||||
index 4fd0c3039c..a8e59ed077 100644
|
||||
--- a/gtk/inspector/general.c
|
||||
+++ b/gtk/inspector/general.c
|
||||
@@ -33,8 +33,10 @@
|
||||
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
#include "x11/gdkx.h"
|
||||
+#ifdef HAVE_OPENGL
|
||||
#include <epoxy/glx.h>
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#ifdef GDK_WINDOWING_WIN32
|
||||
#include "win32/gdkwin32.h"
|
||||
@@ -217,6 +219,7 @@ add_label_row (GtkInspectorGeneral *gen,
|
||||
gtk_size_group_add_widget (GTK_SIZE_GROUP (gen->priv->labels), label);
|
||||
}
|
||||
|
||||
+#ifdef HAVE_OPENGL
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
static void
|
||||
append_glx_extension_row (GtkInspectorGeneral *gen,
|
||||
@@ -226,6 +229,7 @@ append_glx_extension_row (GtkInspectorGeneral *gen,
|
||||
add_check_row (gen, GTK_LIST_BOX (gen->priv->gl_box), ext, epoxy_has_glx_extension (dpy, 0, ext), 0);
|
||||
}
|
||||
#endif
|
||||
+#endif
|
||||
|
||||
#ifdef GDK_WINDOWING_WAYLAND
|
||||
static void
|
||||
@@ -275,6 +279,7 @@ wayland_get_display (struct wl_display *wl_display)
|
||||
static void
|
||||
init_gl (GtkInspectorGeneral *gen)
|
||||
{
|
||||
+#ifdef HAVE_OPENGL
|
||||
#ifdef GDK_WINDOWING_X11
|
||||
if (GDK_IS_X11_DISPLAY (gdk_display_get_default ()))
|
||||
{
|
||||
@@ -301,6 +306,7 @@ init_gl (GtkInspectorGeneral *gen)
|
||||
}
|
||||
else
|
||||
#endif
|
||||
+#endif
|
||||
#ifdef GDK_WINDOWING_WAYLAND
|
||||
if (GDK_IS_WAYLAND_DISPLAY (gdk_display_get_default ()))
|
||||
{
|
||||
diff --git a/meson.build b/meson.build
|
||||
index aed48fc3f6..bfc33af0f6 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -137,6 +137,7 @@ wayland_enabled = get_option('wayland_backend')
|
||||
broadway_enabled = get_option('broadway_backend')
|
||||
quartz_enabled = get_option('quartz_backend')
|
||||
win32_enabled = get_option('win32_backend')
|
||||
+opengl_enabled = get_option('opengl')
|
||||
|
||||
os_unix = false
|
||||
os_linux = false
|
||||
@@ -430,7 +431,7 @@ pangocairo_dep = dependency('pangocairo', version: cairo_req,
|
||||
fallback : ['pango', 'libpangocairo_dep'])
|
||||
pixbuf_dep = dependency('gdk-pixbuf-2.0', version: gdk_pixbuf_req,
|
||||
fallback : ['gdk-pixbuf', 'gdkpixbuf_dep'])
|
||||
-epoxy_dep = dependency('epoxy', version: epoxy_req,
|
||||
+epoxy_dep = dependency('epoxy', version: epoxy_req, required: opengl_enabled,
|
||||
fallback: ['libepoxy', 'libepoxy_dep'])
|
||||
atk_dep = dependency('atk', version: atk_req,
|
||||
fallback : ['atk', 'libatk_dep'])
|
||||
@@ -476,6 +477,10 @@ if tracker3_enabled
|
||||
endif
|
||||
endif
|
||||
|
||||
+if opengl_enabled
|
||||
+ cdata.set('HAVE_OPENGL', 1)
|
||||
+endif
|
||||
+
|
||||
if iso_codes_dep.found()
|
||||
cdata.set_quoted('ISO_CODES_PREFIX', iso_codes_dep.get_variable(pkgconfig: 'prefix'))
|
||||
else
|
||||
@@ -912,9 +917,15 @@ else
|
||||
gio_packages = ['gio-2.0', glib_req]
|
||||
endif
|
||||
|
||||
+if opengl_enabled
|
||||
+ epoxy_packages = ['epoxy', epoxy_req]
|
||||
+else
|
||||
+ epoxy_packages = []
|
||||
+endif
|
||||
+
|
||||
pkgconf.set('GDK_PRIVATE_PACKAGES',
|
||||
' '.join(gio_packages + x11_pkgs + wayland_pkgs + cairo_backends +
|
||||
- ['epoxy', epoxy_req] + cloudproviders_packages +
|
||||
+ epoxy_packages + cloudproviders_packages +
|
||||
['fribidi', fribidi_req]))
|
||||
|
||||
gtk_packages = ' '.join([
|
||||
@@ -928,7 +939,7 @@ pkgconf.set('GTK_PACKAGES', gtk_packages)
|
||||
# Requires.private
|
||||
pc_gdk_extra_libs += cairo_libs
|
||||
|
||||
-gtk_private_packages = atk_pkgs + wayland_pkgs + ['epoxy', epoxy_req, 'fribidi', fribidi_req]
|
||||
+gtk_private_packages = atk_pkgs + wayland_pkgs + epoxy_packages + ['fribidi', fribidi_req]
|
||||
if wayland_enabled or x11_enabled
|
||||
gtk_private_packages += ['pangoft2']
|
||||
endif
|
||||
diff --git a/meson_options.txt b/meson_options.txt
|
||||
index 94099aa01e..8bd096896d 100644
|
||||
--- a/meson_options.txt
|
||||
+++ b/meson_options.txt
|
||||
@@ -19,6 +19,8 @@ option('profiler', type: 'boolean', value: false,
|
||||
description : 'Enable profiler support')
|
||||
option('tracker3', type: 'boolean', value: false,
|
||||
description : 'Enable Tracker3 filechooser search')
|
||||
+option('opengl', type: 'boolean', value: true,
|
||||
+ description : 'Enable use of GL')
|
||||
|
||||
# Print backends
|
||||
option('print_backends', type : 'string', value : 'auto',
|
||||
diff --git a/tests/meson.build b/tests/meson.build
|
||||
index 586fe2f45e..6ecf317dde 100644
|
||||
--- a/tests/meson.build
|
||||
+++ b/tests/meson.build
|
||||
@@ -5,7 +5,6 @@ gtk_tests = [
|
||||
['scrolling-performance', ['frame-stats.c', 'variable.c']],
|
||||
['blur-performance', ['../gtk/gtkcairoblur.c']],
|
||||
['flicker'],
|
||||
- ['gdkgears', ['gtkgears.c']],
|
||||
['listmodel'],
|
||||
['motion-compression'],
|
||||
['styleexamples'],
|
||||
@@ -54,7 +53,6 @@ gtk_tests = [
|
||||
['testfullscreen'],
|
||||
['testgeometry'],
|
||||
['testgiconpixbuf'],
|
||||
- ['testglblending', ['gtkgears.c']],
|
||||
['testgmenu'],
|
||||
['testgrid'],
|
||||
['testgrouping'],
|
||||
@@ -137,6 +135,13 @@ if x11_enabled
|
||||
]
|
||||
endif
|
||||
|
||||
+if opengl_enabled
|
||||
+ gtk_tests += [
|
||||
+ ['gdkgears', ['gtkgears.c']],
|
||||
+ ['testglblending', ['gtkgears.c']],
|
||||
+ ]
|
||||
+endif
|
||||
+
|
||||
if os_linux
|
||||
gtk_tests += [['testfontchooserdialog']]
|
||||
endif
|
||||
diff --git a/testsuite/gtk/objects-finalize.c b/testsuite/gtk/objects-finalize.c
|
||||
index 24540e313f..e0f863ab6a 100644
|
||||
--- a/testsuite/gtk/objects-finalize.c
|
||||
+++ b/testsuite/gtk/objects-finalize.c
|
||||
@@ -116,7 +116,9 @@ main (int argc, char **argv)
|
||||
all_types[i] != GDK_TYPE_X11_DEVICE_MANAGER_CORE &&
|
||||
all_types[i] != GDK_TYPE_X11_DEVICE_MANAGER_XI2 &&
|
||||
all_types[i] != GDK_TYPE_X11_DISPLAY_MANAGER &&
|
||||
+#ifdef HAVE_OPENGL
|
||||
all_types[i] != GDK_TYPE_X11_GL_CONTEXT &&
|
||||
+#endif
|
||||
#endif
|
||||
/* Not allowed to finalize a GdkPixbufLoader without calling gdk_pixbuf_loader_close() */
|
||||
all_types[i] != GDK_TYPE_PIXBUF_LOADER &&
|
||||
--
|
||||
2.30.2
|
||||
|
||||
@@ -0,0 +1,15 @@
|
||||
require gtk+3.inc
|
||||
|
||||
MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
|
||||
|
||||
SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/${MAJ_VER}/gtk+-${PV}.tar.xz \
|
||||
file://opengl.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "ce11decf018b25bdd8505544a4f87242854ec88be054d9ade5f3a20444dd8ee7"
|
||||
|
||||
S = "${WORKDIR}/gtk+-${PV}"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
|
||||
file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \
|
||||
file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \
|
||||
file://tests/testgtk.c;endline=25;md5=cb732daee1d82af7a2bf953cf3cf26f1"
|
||||
@@ -0,0 +1,129 @@
|
||||
SUMMARY = "Multi-platform toolkit for creating GUIs"
|
||||
DESCRIPTION = "GTK is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \
|
||||
set of widgets, GTK is suitable for projects ranging from small one-off projects to complete application suites."
|
||||
HOMEPAGE = "http://www.gtk.org"
|
||||
BUGTRACKER = "https://bugzilla.gnome.org/"
|
||||
SECTION = "libs"
|
||||
|
||||
DEPENDS = " \
|
||||
atk \
|
||||
cairo \
|
||||
fribidi \
|
||||
gdk-pixbuf \
|
||||
gdk-pixbuf-native \
|
||||
gi-docgen \
|
||||
glib-2.0 \
|
||||
graphene \
|
||||
harfbuzz \
|
||||
jpeg \
|
||||
libepoxy \
|
||||
libpng \
|
||||
librsvg \
|
||||
libxkbcommon \
|
||||
pango \
|
||||
tiff \
|
||||
"
|
||||
|
||||
LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = " \
|
||||
file://COPYING;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
|
||||
file://gtk/gtk.h;endline=25;md5=1d8dc0fccdbfa26287a271dce88af737 \
|
||||
file://gdk/gdk.h;endline=25;md5=c920ce39dc88c6f06d3e7c50e08086f2 \
|
||||
file://tests/testgtk.c;endline=25;md5=49d06770681b8322466b52ed19d29fb2 \
|
||||
"
|
||||
|
||||
MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"
|
||||
|
||||
UPSTREAM_CHECK_REGEX = "gtk-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar.xz"
|
||||
|
||||
SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk/${MAJ_VER}/gtk-${PV}.tar.xz"
|
||||
SRC_URI[sha256sum] = "7725400482e0685e28265e226c62847f4e73cfca9e9b416ac5838207f5377a24"
|
||||
|
||||
S = "${WORKDIR}/gtk-${PV}"
|
||||
|
||||
inherit meson gettext pkgconfig gi-docgen update-alternatives gsettings features_check gobject-introspection
|
||||
|
||||
# TBD: nativesdk
|
||||
# gobject-introspection.bbclass pins introspection off for nativesk. As long as
|
||||
# we do not remove this wisdom or hack gtk4, it is not possible to build
|
||||
# nativesdk-gtk4
|
||||
BBCLASSEXTEND = "native"
|
||||
|
||||
GSETTINGS_PACKAGE:class-native = ""
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||
|
||||
EXTRA_OEMESON = " -Dbuild-tests=false -Dbuild-testsuite=false -Ddemos=false"
|
||||
|
||||
PACKAGECONFIG ??= "gstreamer ${@bb.utils.filter('DISTRO_FEATURES', 'wayland x11 vulkan', d)}"
|
||||
PACKAGECONFIG:class-native = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
|
||||
PACKAGECONFIG:class-nativesdk = "${@bb.utils.filter('DISTRO_FEATURES', 'x11', d)}"
|
||||
|
||||
PACKAGECONFIG[x11] = "-Dx11-backend=true,-Dx11-backend=false,at-spi2-atk fontconfig libx11 libxext libxcursor libxi libxdamage libxrandr libxrender libxcomposite libxfixes xinerama"
|
||||
PACKAGECONFIG[wayland] = "-Dwayland-backend=true,-Dwayland-backend=false,wayland wayland-protocols virtual/egl virtual/libgles2 wayland-native"
|
||||
PACKAGECONFIG[cloudproviders] = "-Dcloudproviders=enabled,-Dcloudproviders=disabled,libcloudproviders"
|
||||
PACKAGECONFIG[cups] = "-Dprint-cups=enabled,-Dprint-cups=disabled,cups,cups"
|
||||
PACKAGECONFIG[colord] = "-Dcolord=enabled,-Dcolord=disabled,colord"
|
||||
PACKAGECONFIG[iso-codes] = ",,iso-codes,iso-codes"
|
||||
PACKAGECONFIG[ffmpeg] = "-Dmedia-ffmpeg=enabled,-Dmedia-ffmpeg=disabled,ffmpeg"
|
||||
# gtk4 wants gstreamer-player-1.0 -> gstreamer1.0-plugins-bad
|
||||
PACKAGECONFIG[gstreamer] = "-Dmedia-gstreamer=enabled,-Dmedia-gstreamer=disabled,gstreamer1.0-plugins-bad"
|
||||
PACKAGECONFIG[tracker] = "-Dtracker=enabled,-Dtracker=disabled,tracker,tracker-miners"
|
||||
PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled, vulkan-loader vulkan-headers shaderc-native"
|
||||
|
||||
LIBV = "4.0.0"
|
||||
|
||||
FILES:${PN}:append = " \
|
||||
${datadir}/glib-2.0/schemas/ \
|
||||
${datadir}/gtk-4.0/emoji/ \
|
||||
${datadir}/metainfo/ \
|
||||
${datadir}/icons/hicolor/*/apps/org.gtk.PrintEditor4*.* \
|
||||
${libdir}/gtk-4.0/${LIBV}/media \
|
||||
${bindir}/gtk4-update-icon-cache \
|
||||
${bindir}/gtk4-launch \
|
||||
"
|
||||
|
||||
FILES:${PN}-dev += " \
|
||||
${datadir}/gtk-4.0/gtk4builder.rng \
|
||||
${datadir}/gtk-4.0/include \
|
||||
${datadir}/gtk-4.0/valgrind \
|
||||
${datadir}/gettext/its \
|
||||
${bindir}/gtk4-builder-tool \
|
||||
${bindir}/gtk4-encode-symbolic-svg \
|
||||
${bindir}/gtk4-query-settings \
|
||||
"
|
||||
|
||||
GTKBASE_RRECOMMENDS ?= " \
|
||||
liberation-fonts \
|
||||
gdk-pixbuf-loader-png \
|
||||
gdk-pixbuf-loader-jpeg \
|
||||
gdk-pixbuf-loader-gif \
|
||||
gdk-pixbuf-loader-xpm \
|
||||
shared-mime-info \
|
||||
adwaita-icon-theme-symbolic \
|
||||
"
|
||||
|
||||
GTKBASE_RRECOMMENDS:class-native ?= ""
|
||||
|
||||
GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1"
|
||||
|
||||
RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}"
|
||||
RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}"
|
||||
RDEPENDS:${PN}-dev += "${@bb.utils.contains("PACKAGECONFIG", "wayland", "wayland-protocols", "", d)}"
|
||||
|
||||
PACKAGES_DYNAMIC += "^gtk4-printbackend-.*"
|
||||
python populate_packages:prepend () {
|
||||
import os.path
|
||||
|
||||
gtk_libdir = d.expand('${libdir}/gtk-4.0/${LIBV}')
|
||||
printmodules_root = os.path.join(gtk_libdir, 'printbackends');
|
||||
|
||||
do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$', 'gtk4-printbackend-%s', 'GTK printbackend module for %s')
|
||||
|
||||
if (d.getVar('DEBIAN_NAMES')):
|
||||
d.setVar(d.expand('PKG:${PN}'), '${MLPREFIX}libgtk-4.0')
|
||||
}
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
From 8b7fbbb405959f2868ad6eadd7dd00018758a8a5 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Wed, 7 Sep 2016 14:52:04 +0300
|
||||
Subject: [PATCH] Do not error out if xsltproc is not found.
|
||||
|
||||
This allows us to drop the hard xsltproc dependency, if we're not
|
||||
going to actually run the gtkdoc scripts (when api documentation is
|
||||
disabled).
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index b0c88d7..2a61d6e 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -58,7 +58,7 @@ dnl Check for xsltproc
|
||||
dnl
|
||||
AC_PATH_PROG([XSLTPROC], [xsltproc])
|
||||
if test -z "$XSLTPROC"; then
|
||||
- AC_MSG_ERROR([xsltproc not found])
|
||||
+ AC_MSG_WARN([xsltproc not found])
|
||||
fi
|
||||
|
||||
dnl
|
||||
--
|
||||
2.9.3
|
||||
|
||||
+139
@@ -0,0 +1,139 @@
|
||||
From 80e6aff72affa6d92f5abd7ff6353dfc4a7bff38 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Wed, 31 Aug 2016 16:44:46 +0300
|
||||
Subject: [PATCH] Do not hardocode paths to perl/python in scripts.
|
||||
|
||||
Doing so when the interpreters are somewhere deep in a sysroot directory
|
||||
can reach the shebang line limit, and resulting scripts wouldn't work
|
||||
on targets either.
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
|
||||
---
|
||||
gtkdoc-check.in | 2 +-
|
||||
gtkdoc-depscan.in | 2 +-
|
||||
gtkdoc-fixxref.in | 2 +-
|
||||
gtkdoc-mkdb.in | 2 +-
|
||||
gtkdoc-mkhtml.in | 2 +-
|
||||
gtkdoc-mkman.in | 2 +-
|
||||
gtkdoc-mkpdf.in | 2 +-
|
||||
gtkdoc-rebase.in | 2 +-
|
||||
gtkdoc-scan.in | 2 +-
|
||||
gtkdoc-scangobj.in | 2 +-
|
||||
tests/tools.sh.in | 2 +-
|
||||
11 files changed, 11 insertions(+), 11 deletions(-)
|
||||
|
||||
diff --git a/gtkdoc-check.in b/gtkdoc-check.in
|
||||
index 8c8e917..f6a25f6 100755
|
||||
--- a/gtkdoc-check.in
|
||||
+++ b/gtkdoc-check.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python; coding: utf-8 -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/gtkdoc-depscan.in b/gtkdoc-depscan.in
|
||||
index 9bfaf30..aadc952 100755
|
||||
--- a/gtkdoc-depscan.in
|
||||
+++ b/gtkdoc-depscan.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
|
||||
from __future__ import print_function
|
||||
|
||||
diff --git a/gtkdoc-fixxref.in b/gtkdoc-fixxref.in
|
||||
index 44f6bd1..26fbd93 100755
|
||||
--- a/gtkdoc-fixxref.in
|
||||
+++ b/gtkdoc-fixxref.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/gtkdoc-mkdb.in b/gtkdoc-mkdb.in
|
||||
index 42d5731..3a56d56 100755
|
||||
--- a/gtkdoc-mkdb.in
|
||||
+++ b/gtkdoc-mkdb.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python; coding: utf-8 -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/gtkdoc-mkhtml.in b/gtkdoc-mkhtml.in
|
||||
index 0d0a15d..914ff55 100755
|
||||
--- a/gtkdoc-mkhtml.in
|
||||
+++ b/gtkdoc-mkhtml.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python; coding: utf-8 -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/gtkdoc-mkman.in b/gtkdoc-mkman.in
|
||||
index c5445cd..65db71a 100755
|
||||
--- a/gtkdoc-mkman.in
|
||||
+++ b/gtkdoc-mkman.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python; coding: utf-8 -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/gtkdoc-mkpdf.in b/gtkdoc-mkpdf.in
|
||||
index e8c0c03..f807236 100755
|
||||
--- a/gtkdoc-mkpdf.in
|
||||
+++ b/gtkdoc-mkpdf.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python; coding: utf-8 -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/gtkdoc-rebase.in b/gtkdoc-rebase.in
|
||||
index 17a71c2..ec3fd28 100755
|
||||
--- a/gtkdoc-rebase.in
|
||||
+++ b/gtkdoc-rebase.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/gtkdoc-scan.in b/gtkdoc-scan.in
|
||||
index 954c811..f461504 100755
|
||||
--- a/gtkdoc-scan.in
|
||||
+++ b/gtkdoc-scan.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/gtkdoc-scangobj.in b/gtkdoc-scangobj.in
|
||||
index 4cbe130..52c2c24 100755
|
||||
--- a/gtkdoc-scangobj.in
|
||||
+++ b/gtkdoc-scangobj.in
|
||||
@@ -1,4 +1,4 @@
|
||||
-#!@PYTHON@
|
||||
+#!/usr/bin/env python3
|
||||
# -*- python -*-
|
||||
#
|
||||
# gtk-doc - GTK DocBook documentation generator.
|
||||
diff --git a/tests/tools.sh.in b/tests/tools.sh.in
|
||||
index 343844a..9dc6692 100644
|
||||
--- a/tests/tools.sh.in
|
||||
+++ b/tests/tools.sh.in
|
||||
@@ -30,7 +30,7 @@ done
|
||||
# TODO: also test the module files
|
||||
for file in gtkdoc-check gtkdoc-depscan gtkdoc-fixxref gtkdoc-mkdb gtkdoc-mkhtml gtkdoc-mkhtml2 gtkdoc-mkman gtkdoc-mkpdf gtkdoc-rebase gtkdoc-scangobj; do
|
||||
fullfile=`which $file`
|
||||
- @PYTHON@ -m py_compile $fullfile
|
||||
+ python3 -m py_compile $fullfile
|
||||
if test $? != 0 ; then failed=`expr $failed + 1`; fi
|
||||
tested=`expr $tested + 1`
|
||||
done
|
||||
@@ -0,0 +1,46 @@
|
||||
From 78bbf185934147a69ceb4b617d424e12e70997bf Mon Sep 17 00:00:00 2001
|
||||
From: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
Date: Tue, 27 Jun 2017 21:00:58 +0100
|
||||
Subject: [PATCH 3/3] gtk-doc: Handle floating gtk-doc dependency
|
||||
|
||||
Allow the tests to be explicitly disabled to avoid floating dependnecy
|
||||
issues. This is not really an issue with RSS but is on previous releases.
|
||||
|
||||
RP 2017/6/27
|
||||
Upstream-Status: Pending
|
||||
|
||||
---
|
||||
configure.ac | 10 ++++++++++
|
||||
1 file changed, 10 insertions(+)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 684e2d1..e5e3aab 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -146,6 +146,11 @@ if test "x$GCC" = "xyes"; then
|
||||
fi
|
||||
fi
|
||||
|
||||
+AC_ARG_ENABLE([tests],
|
||||
+ AS_HELP_STRING([--enable-tests],
|
||||
+ [enable tests (default=yes)]),,
|
||||
+ [enable_tests="yes"])
|
||||
+
|
||||
dnl if glib is available we can enable the tests
|
||||
PKG_CHECK_MODULES(TEST_DEPS, [glib-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0],
|
||||
[ glib_prefix="`$PKG_CONFIG --variable=prefix glib-2.0`"
|
||||
@@ -156,6 +161,11 @@ PKG_CHECK_MODULES(TEST_DEPS, [glib-2.0 >= 2.6.0 gobject-2.0 >= 2.6.0],
|
||||
build_tests="no"
|
||||
]
|
||||
)
|
||||
+if test "x$enable_tests" != "xyes"; then
|
||||
+ gtk_doc_use_libtool="no"
|
||||
+ build_tests="no"
|
||||
+fi
|
||||
+
|
||||
AM_CONDITIONAL(GTK_DOC_USE_LIBTOOL, test -n "$LIBTOOL" -a x$gtk_doc_use_libtool = xyes )
|
||||
dnl this enables the rule in test/Makefile.am
|
||||
AM_CONDITIONAL(BUILD_TESTS, test x$build_tests = xyes)
|
||||
--
|
||||
2.14.1
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From 8bc4c1f169f89bc5531da5b7e892b8f20e0f9a18 Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@intel.com>
|
||||
Date: Wed, 21 Mar 2018 14:47:29 +0000
|
||||
Subject: [PATCH] gtk-doc: don't regenerate gtk-doc in do_install
|
||||
|
||||
In out-of-tree builds gtk-doc's setup-build target copies all the content from $srcdir to $builddir.
|
||||
|
||||
However, if some of this content is regenerated at configure time this can happen:
|
||||
|
||||
1) configure writes new build/version.xml
|
||||
2) make compile copies content, including the tarball's src/version.xml
|
||||
to build/version.xml, and generates gtk-doc.
|
||||
3) make install notices build/version.xml is older than configure.status,
|
||||
so regenerates gtk-doc.
|
||||
|
||||
gtk-doc generation is a slow process at the best of times, so doing it twice isn't good.
|
||||
|
||||
Solve this by changing cp --force to cp --no-clobber, so setup-build only copies
|
||||
files which don't already exist.
|
||||
|
||||
Upstream-Status: Submitted [https://bugzilla.gnome.org/show_bug.cgi?id=794571]
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
---
|
||||
buildsystems/autotools/gtk-doc.make | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/buildsystems/autotools/gtk-doc.make b/buildsystems/autotools/gtk-doc.make
|
||||
index 7d9a27f..8cb336d 100644
|
||||
--- a/buildsystems/autotools/gtk-doc.make
|
||||
+++ b/buildsystems/autotools/gtk-doc.make
|
||||
@@ -111,7 +111,7 @@ setup-build.stamp:
|
||||
destdir=`dirname $(abs_builddir)/$$file`; \
|
||||
test -d "$$destdir" || mkdir -p "$$destdir"; \
|
||||
test -f $(abs_srcdir)/$$file && \
|
||||
- cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
|
||||
+ cp -pn $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \
|
||||
done; \
|
||||
fi; \
|
||||
fi
|
||||
@@ -0,0 +1,42 @@
|
||||
From ebb0f7313a0931f646e86badce2627eff2fa37a8 Mon Sep 17 00:00:00 2001
|
||||
From: Ross Burton <ross.burton@intel.com>
|
||||
Date: Mon, 5 Sep 2016 22:25:44 +0100
|
||||
Subject: [PATCH] Use native pkg-config when looking for gtk-doc.
|
||||
|
||||
Upstream-Status: Inappropriate
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
---
|
||||
buildsystems/autotools/gtk-doc.m4 | 7 ++++++-
|
||||
1 file changed, 6 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/buildsystems/autotools/gtk-doc.m4 b/buildsystems/autotools/gtk-doc.m4
|
||||
index 2d12f01..e5afc3f 100644
|
||||
--- a/buildsystems/autotools/gtk-doc.m4
|
||||
+++ b/buildsystems/autotools/gtk-doc.m4
|
||||
@@ -25,7 +25,7 @@
|
||||
# Macro appear in them. The GNU General Public License (GPL) does govern
|
||||
# all other use of the material that constitutes the Autoconf Macro.
|
||||
|
||||
-# serial 2
|
||||
+# serial 2.1
|
||||
|
||||
dnl Usage:
|
||||
dnl GTK_DOC_CHECK([minimum-gtk-doc-version])
|
||||
@@ -35,11 +35,16 @@ AC_DEFUN([GTK_DOC_CHECK],
|
||||
AC_BEFORE([AC_PROG_LIBTOOL],[$0])dnl setup libtool first
|
||||
AC_BEFORE([AM_PROG_LIBTOOL],[$0])dnl setup libtool first
|
||||
|
||||
+ gtkdoc_pkgconfig_save=$PKG_CONFIG
|
||||
+ PKG_CONFIG=pkg-config-native
|
||||
+
|
||||
ifelse([$1],[],[gtk_doc_requires="gtk-doc"],[gtk_doc_requires="gtk-doc >= $1"])
|
||||
AC_MSG_CHECKING([for gtk-doc])
|
||||
PKG_CHECK_EXISTS([$gtk_doc_requires],[have_gtk_doc=yes],[have_gtk_doc=no])
|
||||
AC_MSG_RESULT($have_gtk_doc)
|
||||
|
||||
+ PKG_CONFIG=$gtkdoc_pkgconfig_save
|
||||
+
|
||||
if test "$have_gtk_doc" = "no"; then
|
||||
AC_MSG_WARN([
|
||||
You will not be able to create source packages with 'make dist'
|
||||
@@ -0,0 +1,63 @@
|
||||
SUMMARY = "Documentation generator for glib-based software"
|
||||
DESCRIPTION = "Gtk-doc is a set of scripts that extract specially formatted comments \
|
||||
from glib-based software and produce a set of html documentation files from them"
|
||||
HOMEPAGE = "https://www.gtk.org/docs/"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
inherit gnomebase
|
||||
|
||||
# Configure the scripts correctly (and build their dependencies) only if they are actually
|
||||
# going to be used; otheriwse we need only the m4/makefile includes from the gtk-doc tarball.
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains("DISTRO_FEATURES", "api-documentation", "working-scripts", "", d)}"
|
||||
|
||||
# This will cause target gtk-doc to hardcode paths of native dependencies
|
||||
# into its scripts. This means that target gtk-doc package is broken;
|
||||
# hopefully no one minds because its scripts are not used for anything during build
|
||||
# and shouldn't be used on targets.
|
||||
PACKAGECONFIG[working-scripts] = ",,libxslt-native xmlto-native python3-six python3-pygments"
|
||||
PACKAGECONFIG[tests] = "--enable-tests,--disable-tests,glib-2.0"
|
||||
|
||||
CACHED_CONFIGUREVARS += "ac_cv_path_XSLTPROC=xsltproc"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "cc1b709a20eb030a278a1f9842a362e00402b7f834ae1df4c1998a723152bf43"
|
||||
SRC_URI += "file://0001-Do-not-hardocode-paths-to-perl-python-in-scripts.patch \
|
||||
file://0001-Do-not-error-out-if-xsltproc-is-not-found.patch \
|
||||
file://conditionaltests.patch \
|
||||
file://no-clobber.patch \
|
||||
"
|
||||
SRC_URI:append:class-native = " file://pkg-config-native.patch"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
# Do not check for XML catalogs when building because that
|
||||
# information is not used for anything during build. Recipe
|
||||
# dependencies make sure we have all the right bits.
|
||||
do_configure:prepend() {
|
||||
sed -i -e 's,^JH_CHECK_XML_CATALOG.*,,' ${S}/configure.ac
|
||||
}
|
||||
|
||||
do_install:append () {
|
||||
# configure values for python3 and pkg-config encoded in scripts
|
||||
for fn in ${bindir}/gtkdoc-depscan \
|
||||
${bindir}/gtkdoc-mkhtml2 \
|
||||
${datadir}/gtk-doc/python/gtkdoc/config_data.py \
|
||||
${datadir}/gtk-doc/python/gtkdoc/config.py; do
|
||||
sed -e 's,${RECIPE_SYSROOT_NATIVE}/usr/bin/pkg-config,${bindir}/pkg-config,' \
|
||||
-e 's,${HOSTTOOLS_DIR}/python3,${bindir}/python3,' \
|
||||
-e '1s|^#!.*|#!/usr/bin/env python3|' \
|
||||
-i ${D}$fn
|
||||
done
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/sgml"
|
||||
FILES:${PN}-doc = ""
|
||||
|
||||
SYSROOT_PREPROCESS_FUNCS:append:class-native = " gtkdoc_makefiles_sysroot_preprocess"
|
||||
gtkdoc_makefiles_sysroot_preprocess() {
|
||||
# Patch the gtk-doc makefiles so that the qemu wrapper is used to run transient binaries
|
||||
# instead of libtool wrapper or running them directly
|
||||
sed -i \
|
||||
-e "s|GTKDOC_RUN =.*|GTKDOC_RUN = \$(top_builddir)/gtkdoc-qemuwrapper|" \
|
||||
${SYSROOT_DESTDIR}${datadir}/gtk-doc/data/gtk-doc*make
|
||||
}
|
||||
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Default icon theme that all icon themes automatically inherit from"
|
||||
DESCRIPTION = "The hicolor-icon-theme package contains a default fallback \
|
||||
theme for implementations of the icon theme specification."
|
||||
HOMEPAGE = "https://www.freedesktop.org/wiki/Software/icon-theme"
|
||||
BUGTRACKER = "https://bugs.freedesktop.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f08a446809913fc9b3c718f0eaea0426"
|
||||
|
||||
SRC_URI = "https://icon-theme.freedesktop.org/releases/${BPN}-${PV}.tar.xz"
|
||||
SRC_URI[md5sum] = "84eec8d6f810240a069c731f1870b474"
|
||||
SRC_URI[sha256sum] = "317484352271d18cbbcfac3868eab798d67fff1b8402e740baa6ff41d588a9d8"
|
||||
|
||||
inherit allarch autotools
|
||||
|
||||
FILES:${PN} += "${datadir}/icons"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
@@ -0,0 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
gnome-desktop-testing-runner json-glib
|
||||
@@ -0,0 +1,32 @@
|
||||
SUMMARY = "JSON-GLib implements a full JSON parser using GLib and GObject"
|
||||
DESCRIPTION = "Use JSON-GLib it is possible to parse and generate valid JSON\
|
||||
data structures, using a DOM-like API. JSON-GLib also offers GObject \
|
||||
integration, providing the ability to serialize and deserialize GObject \
|
||||
instances to and from JSON data types."
|
||||
HOMEPAGE = "https://wiki.gnome.org/Projects/JsonGlib"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/json-glib/issues"
|
||||
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
|
||||
|
||||
DEPENDS = "glib-2.0 glib-2.0-native"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
inherit gnomebase lib_package gobject-introspection gi-docgen gettext ptest-gnome manpages upstream-version-is-even
|
||||
GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||
GIDOCGEN_MESON_ENABLE_FLAG = 'enabled'
|
||||
GIDOCGEN_MESON_DISABLE_FLAG = 'disabled'
|
||||
|
||||
SRC_URI += " file://run-ptest"
|
||||
SRC_URI[archive.sha256sum] = "96ec98be7a91f6dde33636720e3da2ff6ecbb90e76ccaa49497f31a6855a490e"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)}"
|
||||
PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxslt-native xmlto-native"
|
||||
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
|
||||
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
# Currently it's not possible to disable gettext in Meson, so we need to force
|
||||
# this back on.
|
||||
USE_NLS:class-native = "yes"
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "The libdazzle library is a companion library to GObject and Gtk+."
|
||||
DESCRIPTION = "A wide range of components from utilities for GIO, widgets for \
|
||||
GTK+, an animation framework, state machines, paneling and high-performance \
|
||||
counters are included."
|
||||
LICENSE = "GPL-3.0-or-later"
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/libdazzle"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/libdazzle/issues"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=8f0e2cd40e05189ec81232da84bd6e1a"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
inherit gnomebase upstream-version-is-even vala features_check gobject-introspection
|
||||
|
||||
DEPENDS = "glib-2.0-native glib-2.0 gtk+3"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "3cd3e45eb6e2680cb05d52e1e80dd8f9d59d4765212f0e28f78e6c1783d18eae"
|
||||
|
||||
GIR_MESON_OPTION = 'with_introspection'
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
@@ -0,0 +1,31 @@
|
||||
SUMMARY = "GObject wrapper for libudev"
|
||||
DESCRIPTION = "This library makes it much simpler to use libudev from programs \
|
||||
already using GObject. It also makes it possible to easily use libudev from \
|
||||
other programming languages, such as Javascript, because of GObject \
|
||||
introspection support."
|
||||
HOMEPAGE = "https://wiki.gnome.org/Projects/libgudev"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/libgudev/issues"
|
||||
SRC_URI[archive.sha256sum] = "0d06b21170d20c93e4f0534dbb9b0a8b4f1119ffb00b4031aaeb5b9148b686aa"
|
||||
|
||||
DEPENDS = "glib-2.0 glib-2.0-native udev"
|
||||
|
||||
RCONFLICTS:${PN} = "systemd (<= 220)"
|
||||
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
inherit gnomebase gobject-introspection gtk-doc
|
||||
|
||||
GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
|
||||
UPSTREAM_CHECK_URI = "http://ftp.gnome.org/pub/GNOME/sources/libgudev/"
|
||||
UPSTREAM_CHECK_REGEX = "(?P<pver>(\d+))"
|
||||
|
||||
# This isn't a GNOME-style version do gnome_verdir fails. Just return the
|
||||
# version as that is how the directory is structured.
|
||||
def gnome_verdir(v):
|
||||
return v
|
||||
@@ -0,0 +1,27 @@
|
||||
SUMMARY = "A library full of GTK+ widgets for mobile phones"
|
||||
DESCRIPTION = "Library with GTK widgets for mobile phones. Libhandy provides \
|
||||
GTK widgets and GObjects to ease developing applications for mobile phones. \
|
||||
It was developed by Purism (and used by several official GNOME projects) \
|
||||
to extend Gtk by providing mobile-friendly widgets and make the creation of \
|
||||
responsive apps easier."
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/libhandy"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/libhandy/-/issues"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
SRC_URI = "git://gitlab.gnome.org/GNOME/libhandy.git;protocol=https;branch=libhandy-1-8"
|
||||
SRCREV = "48ae7ec0f7f9ee5f666da38b0e39e66874957166"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>\d+\.(\d*[02468])+(\.\d+))"
|
||||
GIR_MESON_ENABLE_FLAG = 'enabled'
|
||||
GIR_MESON_DISABLE_FLAG = 'disabled'
|
||||
|
||||
inherit meson gobject-introspection vala gettext gi-docgen features_check pkgconfig
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
DEPENDS += "gtk+3"
|
||||
|
||||
PACKAGES =+ "${PN}-examples"
|
||||
FILES:${PN}-examples = "${bindir}"
|
||||
@@ -0,0 +1,36 @@
|
||||
SUMMARY = "Library for sending desktop notifications to a notification daemon"
|
||||
DESCRIPTION = "It sends desktop notifications to a notification daemon, as defined \
|
||||
in the Desktop Notifications spec. These notifications can be used to inform \
|
||||
the user about an event or display some form of information without getting \
|
||||
in the user's way."
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/libnotify"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/libnotify/issues"
|
||||
SECTION = "libs"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
|
||||
|
||||
DEPENDS = "glib-2.0 glib-2.0-native gdk-pixbuf"
|
||||
|
||||
PACKAGECONFIG ?= ""
|
||||
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,gtk+3"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
GIR_MESON_ENABLE_FLAG = "enabled"
|
||||
GIR_MESON_DISABLE_FLAG = "disabled"
|
||||
inherit gnomebase gi-docgen features_check gobject-introspection
|
||||
# depends on gtk+3 if tests are enabled
|
||||
ANY_OF_DISTRO_FEATURES = "${@bb.utils.contains('PACKAGECONFIG', 'tests', '${GTK3DISTROFEATURES}', '', d)}"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "c5f4ed3d1f86e5b118c76415aacb861873ed3e6f0c6b3181b828cf584fc5c616"
|
||||
|
||||
EXTRA_OEMESON = "-Dman=false"
|
||||
|
||||
# there were times, we had two versions of libnotify (oe-core libnotify:0.6.x /
|
||||
# meta-gnome libnotify3: 0.7.x)
|
||||
PROVIDES += "libnotify3"
|
||||
RPROVIDES:${PN} += "libnotify3"
|
||||
RCONFLICTS:${PN} += "libnotify3"
|
||||
RREPLACES:${PN} += "libnotify3"
|
||||
|
||||
# -7381 is specific to the NodeJS bindings
|
||||
CVE_STATUS[CVE-2013-7381] = "cpe-incorrect: The issue is specific to the NodeJS bindings"
|
||||
@@ -0,0 +1,20 @@
|
||||
SUMMARY = "libportal provides GIO-style async APIs for most Flatpak portals."
|
||||
DESCRIPTION = "It provides simple asynchronous wrappers for most Flatpak portals \
|
||||
with a familiar GObject API along side the D-Bus API"
|
||||
HOMEPAGE = "https://github.com/flatpak/libportal"
|
||||
BUGTRACKER = "https://github.com/flatpak/libportal/issues"
|
||||
LICENSE = "LGPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=3000208d539ec061b899bce1d9ce9404"
|
||||
|
||||
SRC_URI = "git://github.com/flatpak/${BPN}.git;protocol=https;branch=main"
|
||||
SRCREV = "13df0b887a7eb7b0f9b14069561a41f62e813155"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit meson gi-docgen gobject-introspection vala features_check pkgconfig
|
||||
GIDOCGEN_MESON_OPTION = 'docs'
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
DEPENDS += "glib-2.0 glib-2.0-native gtk+3 ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gtk4', '', d)}"
|
||||
|
||||
EXTRA_OEMESON = "-Dbackends=gtk3${@bb.utils.contains('DISTRO_FEATURES', 'opengl', ',gtk4', '', d)}"
|
||||
@@ -0,0 +1,624 @@
|
||||
# Autogenerated with 'bitbake -c update_crates librsvg'
|
||||
|
||||
# from Cargo.lock
|
||||
SRC_URI += " \
|
||||
crate://crates.io/adler/1.0.2 \
|
||||
crate://crates.io/aho-corasick/1.0.1 \
|
||||
crate://crates.io/android-tzdata/0.1.1 \
|
||||
crate://crates.io/android_system_properties/0.1.5 \
|
||||
crate://crates.io/anes/0.1.6 \
|
||||
crate://crates.io/anstream/0.3.2 \
|
||||
crate://crates.io/anstyle/1.0.0 \
|
||||
crate://crates.io/anstyle-parse/0.2.0 \
|
||||
crate://crates.io/anstyle-query/1.0.0 \
|
||||
crate://crates.io/anstyle-wincon/1.0.1 \
|
||||
crate://crates.io/anyhow/1.0.71 \
|
||||
crate://crates.io/approx/0.5.1 \
|
||||
crate://crates.io/assert_cmd/2.0.11 \
|
||||
crate://crates.io/atty/0.2.14 \
|
||||
crate://crates.io/autocfg/1.1.0 \
|
||||
crate://crates.io/base-x/0.2.11 \
|
||||
crate://crates.io/bit-set/0.5.3 \
|
||||
crate://crates.io/bit-vec/0.6.3 \
|
||||
crate://crates.io/bitflags/1.3.2 \
|
||||
crate://crates.io/block/0.1.6 \
|
||||
crate://crates.io/bstr/1.5.0 \
|
||||
crate://crates.io/bumpalo/3.13.0 \
|
||||
crate://crates.io/bytemuck/1.13.1 \
|
||||
crate://crates.io/byteorder/1.4.3 \
|
||||
crate://crates.io/cairo-rs/0.17.0 \
|
||||
crate://crates.io/cairo-sys-rs/0.17.0 \
|
||||
crate://crates.io/cast/0.3.0 \
|
||||
crate://crates.io/cc/1.0.79 \
|
||||
crate://crates.io/cfg-expr/0.15.1 \
|
||||
crate://crates.io/cfg-if/1.0.0 \
|
||||
crate://crates.io/chrono/0.4.25 \
|
||||
crate://crates.io/ciborium/0.2.1 \
|
||||
crate://crates.io/ciborium-io/0.2.1 \
|
||||
crate://crates.io/ciborium-ll/0.2.1 \
|
||||
crate://crates.io/clap/3.2.25 \
|
||||
crate://crates.io/clap/4.3.0 \
|
||||
crate://crates.io/clap_builder/4.3.0 \
|
||||
crate://crates.io/clap_complete/4.3.0 \
|
||||
crate://crates.io/clap_derive/4.3.0 \
|
||||
crate://crates.io/clap_lex/0.2.4 \
|
||||
crate://crates.io/clap_lex/0.5.0 \
|
||||
crate://crates.io/colorchoice/1.0.0 \
|
||||
crate://crates.io/const-cstr/0.3.0 \
|
||||
crate://crates.io/const_fn/0.4.9 \
|
||||
crate://crates.io/convert_case/0.4.0 \
|
||||
crate://crates.io/core-foundation-sys/0.8.4 \
|
||||
crate://crates.io/crc32fast/1.3.2 \
|
||||
crate://crates.io/criterion/0.4.0 \
|
||||
crate://crates.io/criterion-plot/0.5.0 \
|
||||
crate://crates.io/crossbeam-channel/0.5.8 \
|
||||
crate://crates.io/crossbeam-deque/0.8.3 \
|
||||
crate://crates.io/crossbeam-epoch/0.9.14 \
|
||||
crate://crates.io/crossbeam-utils/0.8.15 \
|
||||
crate://crates.io/cssparser/0.29.6 \
|
||||
crate://crates.io/cssparser-macros/0.6.0 \
|
||||
crate://crates.io/data-url/0.2.0 \
|
||||
crate://crates.io/derive_more/0.99.17 \
|
||||
crate://crates.io/difflib/0.4.0 \
|
||||
crate://crates.io/discard/1.0.4 \
|
||||
crate://crates.io/dlib/0.5.0 \
|
||||
crate://crates.io/doc-comment/0.3.3 \
|
||||
crate://crates.io/dtoa/0.4.8 \
|
||||
crate://crates.io/dtoa-short/0.3.3 \
|
||||
crate://crates.io/either/1.8.1 \
|
||||
crate://crates.io/encoding/0.2.33 \
|
||||
crate://crates.io/encoding-index-japanese/1.20141219.5 \
|
||||
crate://crates.io/encoding-index-korean/1.20141219.5 \
|
||||
crate://crates.io/encoding-index-simpchinese/1.20141219.5 \
|
||||
crate://crates.io/encoding-index-singlebyte/1.20141219.5 \
|
||||
crate://crates.io/encoding-index-tradchinese/1.20141219.5 \
|
||||
crate://crates.io/encoding_index_tests/0.1.4 \
|
||||
crate://crates.io/encoding_rs/0.8.32 \
|
||||
crate://crates.io/errno/0.3.1 \
|
||||
crate://crates.io/errno-dragonfly/0.1.2 \
|
||||
crate://crates.io/fastrand/1.9.0 \
|
||||
crate://crates.io/fdeflate/0.3.0 \
|
||||
crate://crates.io/flate2/1.0.26 \
|
||||
crate://crates.io/float-cmp/0.9.0 \
|
||||
crate://crates.io/fnv/1.0.7 \
|
||||
crate://crates.io/form_urlencoded/1.1.0 \
|
||||
crate://crates.io/futf/0.1.5 \
|
||||
crate://crates.io/futures-channel/0.3.28 \
|
||||
crate://crates.io/futures-core/0.3.28 \
|
||||
crate://crates.io/futures-executor/0.3.28 \
|
||||
crate://crates.io/futures-io/0.3.28 \
|
||||
crate://crates.io/futures-macro/0.3.28 \
|
||||
crate://crates.io/futures-task/0.3.28 \
|
||||
crate://crates.io/futures-util/0.3.28 \
|
||||
crate://crates.io/fxhash/0.2.1 \
|
||||
crate://crates.io/gdk-pixbuf/0.17.0 \
|
||||
crate://crates.io/gdk-pixbuf-sys/0.17.0 \
|
||||
crate://crates.io/getrandom/0.1.16 \
|
||||
crate://crates.io/getrandom/0.2.9 \
|
||||
crate://crates.io/gio/0.17.9 \
|
||||
crate://crates.io/gio-sys/0.17.4 \
|
||||
crate://crates.io/glib/0.17.9 \
|
||||
crate://crates.io/glib-macros/0.17.9 \
|
||||
crate://crates.io/glib-sys/0.17.4 \
|
||||
crate://crates.io/gobject-sys/0.17.4 \
|
||||
crate://crates.io/half/1.8.2 \
|
||||
crate://crates.io/hashbrown/0.12.3 \
|
||||
crate://crates.io/heck/0.4.1 \
|
||||
crate://crates.io/hermit-abi/0.1.19 \
|
||||
crate://crates.io/hermit-abi/0.2.6 \
|
||||
crate://crates.io/hermit-abi/0.3.1 \
|
||||
crate://crates.io/iana-time-zone/0.1.56 \
|
||||
crate://crates.io/iana-time-zone-haiku/0.1.2 \
|
||||
crate://crates.io/idna/0.3.0 \
|
||||
crate://crates.io/indexmap/1.9.3 \
|
||||
crate://crates.io/instant/0.1.12 \
|
||||
crate://crates.io/io-lifetimes/1.0.11 \
|
||||
crate://crates.io/is-terminal/0.4.7 \
|
||||
crate://crates.io/itertools/0.10.5 \
|
||||
crate://crates.io/itoa/1.0.6 \
|
||||
crate://crates.io/js-sys/0.3.63 \
|
||||
crate://crates.io/language-tags/0.3.2 \
|
||||
crate://crates.io/lazy_static/1.4.0 \
|
||||
crate://crates.io/libc/0.2.144 \
|
||||
crate://crates.io/libloading/0.7.4 \
|
||||
crate://crates.io/libm/0.2.7 \
|
||||
crate://crates.io/linked-hash-map/0.5.6 \
|
||||
crate://crates.io/linux-raw-sys/0.3.8 \
|
||||
crate://crates.io/locale_config/0.3.0 \
|
||||
crate://crates.io/lock_api/0.4.9 \
|
||||
crate://crates.io/log/0.4.18 \
|
||||
crate://crates.io/lopdf/0.29.0 \
|
||||
crate://crates.io/mac/0.1.1 \
|
||||
crate://crates.io/malloc_buf/0.0.6 \
|
||||
crate://crates.io/markup5ever/0.11.0 \
|
||||
crate://crates.io/matches/0.1.10 \
|
||||
crate://crates.io/matrixmultiply/0.3.7 \
|
||||
crate://crates.io/memchr/2.5.0 \
|
||||
crate://crates.io/memoffset/0.8.0 \
|
||||
crate://crates.io/miniz_oxide/0.7.1 \
|
||||
crate://crates.io/nalgebra/0.32.2 \
|
||||
crate://crates.io/nalgebra-macros/0.2.0 \
|
||||
crate://crates.io/new_debug_unreachable/1.0.4 \
|
||||
crate://crates.io/nodrop/0.1.14 \
|
||||
crate://crates.io/normalize-line-endings/0.3.0 \
|
||||
crate://crates.io/num-complex/0.4.3 \
|
||||
crate://crates.io/num-integer/0.1.45 \
|
||||
crate://crates.io/num-rational/0.4.1 \
|
||||
crate://crates.io/num-traits/0.2.15 \
|
||||
crate://crates.io/num_cpus/1.15.0 \
|
||||
crate://crates.io/objc/0.2.7 \
|
||||
crate://crates.io/objc-foundation/0.1.1 \
|
||||
crate://crates.io/objc_id/0.1.1 \
|
||||
crate://crates.io/once_cell/1.17.2 \
|
||||
crate://crates.io/oorandom/11.1.3 \
|
||||
crate://crates.io/os_str_bytes/6.5.0 \
|
||||
crate://crates.io/pango/0.17.4 \
|
||||
crate://crates.io/pango-sys/0.17.0 \
|
||||
crate://crates.io/pangocairo/0.17.0 \
|
||||
crate://crates.io/pangocairo-sys/0.17.3 \
|
||||
crate://crates.io/parking_lot/0.12.1 \
|
||||
crate://crates.io/parking_lot_core/0.9.7 \
|
||||
crate://crates.io/paste/1.0.12 \
|
||||
crate://crates.io/percent-encoding/2.2.0 \
|
||||
crate://crates.io/phf/0.8.0 \
|
||||
crate://crates.io/phf/0.10.1 \
|
||||
crate://crates.io/phf_codegen/0.8.0 \
|
||||
crate://crates.io/phf_codegen/0.10.0 \
|
||||
crate://crates.io/phf_generator/0.8.0 \
|
||||
crate://crates.io/phf_generator/0.10.0 \
|
||||
crate://crates.io/phf_macros/0.10.0 \
|
||||
crate://crates.io/phf_shared/0.8.0 \
|
||||
crate://crates.io/phf_shared/0.10.0 \
|
||||
crate://crates.io/pin-project-lite/0.2.9 \
|
||||
crate://crates.io/pin-utils/0.1.0 \
|
||||
crate://crates.io/pkg-config/0.3.27 \
|
||||
crate://crates.io/plotters/0.3.4 \
|
||||
crate://crates.io/plotters-backend/0.3.4 \
|
||||
crate://crates.io/plotters-svg/0.3.3 \
|
||||
crate://crates.io/png/0.17.8 \
|
||||
crate://crates.io/pom/3.2.0 \
|
||||
crate://crates.io/ppv-lite86/0.2.17 \
|
||||
crate://crates.io/precomputed-hash/0.1.1 \
|
||||
crate://crates.io/predicates/2.1.5 \
|
||||
crate://crates.io/predicates/3.0.3 \
|
||||
crate://crates.io/predicates-core/1.0.6 \
|
||||
crate://crates.io/predicates-tree/1.0.9 \
|
||||
crate://crates.io/proc-macro-crate/1.3.1 \
|
||||
crate://crates.io/proc-macro-error/1.0.4 \
|
||||
crate://crates.io/proc-macro-error-attr/1.0.4 \
|
||||
crate://crates.io/proc-macro-hack/0.5.20+deprecated \
|
||||
crate://crates.io/proc-macro2/1.0.59 \
|
||||
crate://crates.io/proptest/1.2.0 \
|
||||
crate://crates.io/quick-error/1.2.3 \
|
||||
crate://crates.io/quote/1.0.28 \
|
||||
crate://crates.io/rand/0.7.3 \
|
||||
crate://crates.io/rand/0.8.5 \
|
||||
crate://crates.io/rand_chacha/0.2.2 \
|
||||
crate://crates.io/rand_chacha/0.3.1 \
|
||||
crate://crates.io/rand_core/0.5.1 \
|
||||
crate://crates.io/rand_core/0.6.4 \
|
||||
crate://crates.io/rand_hc/0.2.0 \
|
||||
crate://crates.io/rand_pcg/0.2.1 \
|
||||
crate://crates.io/rand_xorshift/0.3.0 \
|
||||
crate://crates.io/rawpointer/0.2.1 \
|
||||
crate://crates.io/rayon/1.7.0 \
|
||||
crate://crates.io/rayon-core/1.11.0 \
|
||||
crate://crates.io/rctree/0.5.0 \
|
||||
crate://crates.io/redox_syscall/0.2.16 \
|
||||
crate://crates.io/redox_syscall/0.3.5 \
|
||||
crate://crates.io/regex/1.8.3 \
|
||||
crate://crates.io/regex-automata/0.1.10 \
|
||||
crate://crates.io/regex-syntax/0.6.29 \
|
||||
crate://crates.io/regex-syntax/0.7.2 \
|
||||
crate://crates.io/rgb/0.8.36 \
|
||||
crate://crates.io/rustc_version/0.2.3 \
|
||||
crate://crates.io/rustc_version/0.4.0 \
|
||||
crate://crates.io/rustix/0.37.19 \
|
||||
crate://crates.io/rusty-fork/0.3.0 \
|
||||
crate://crates.io/ryu/1.0.13 \
|
||||
crate://crates.io/safe_arch/0.6.0 \
|
||||
crate://crates.io/same-file/1.0.6 \
|
||||
crate://crates.io/scopeguard/1.1.0 \
|
||||
crate://crates.io/selectors/0.24.0 \
|
||||
crate://crates.io/semver/0.9.0 \
|
||||
crate://crates.io/semver/1.0.17 \
|
||||
crate://crates.io/semver-parser/0.7.0 \
|
||||
crate://crates.io/serde/1.0.163 \
|
||||
crate://crates.io/serde_derive/1.0.163 \
|
||||
crate://crates.io/serde_json/1.0.96 \
|
||||
crate://crates.io/serde_spanned/0.6.2 \
|
||||
crate://crates.io/servo_arc/0.2.0 \
|
||||
crate://crates.io/sha1/0.6.1 \
|
||||
crate://crates.io/sha1_smol/1.0.0 \
|
||||
crate://crates.io/simba/0.8.1 \
|
||||
crate://crates.io/simd-adler32/0.3.5 \
|
||||
crate://crates.io/siphasher/0.3.10 \
|
||||
crate://crates.io/slab/0.4.8 \
|
||||
crate://crates.io/smallvec/1.10.0 \
|
||||
crate://crates.io/stable_deref_trait/1.2.0 \
|
||||
crate://crates.io/standback/0.2.17 \
|
||||
crate://crates.io/stdweb/0.4.20 \
|
||||
crate://crates.io/stdweb-derive/0.5.3 \
|
||||
crate://crates.io/stdweb-internal-macros/0.2.9 \
|
||||
crate://crates.io/stdweb-internal-runtime/0.1.5 \
|
||||
crate://crates.io/string_cache/0.8.7 \
|
||||
crate://crates.io/string_cache_codegen/0.5.2 \
|
||||
crate://crates.io/strsim/0.10.0 \
|
||||
crate://crates.io/syn/1.0.109 \
|
||||
crate://crates.io/syn/2.0.18 \
|
||||
crate://crates.io/system-deps/6.1.0 \
|
||||
crate://crates.io/target-lexicon/0.12.7 \
|
||||
crate://crates.io/tempfile/3.5.0 \
|
||||
crate://crates.io/tendril/0.4.3 \
|
||||
crate://crates.io/termtree/0.4.1 \
|
||||
crate://crates.io/textwrap/0.16.0 \
|
||||
crate://crates.io/thiserror/1.0.40 \
|
||||
crate://crates.io/thiserror-impl/1.0.40 \
|
||||
crate://crates.io/time/0.2.27 \
|
||||
crate://crates.io/time-macros/0.1.1 \
|
||||
crate://crates.io/time-macros-impl/0.1.2 \
|
||||
crate://crates.io/tinytemplate/1.2.1 \
|
||||
crate://crates.io/tinyvec/1.6.0 \
|
||||
crate://crates.io/tinyvec_macros/0.1.1 \
|
||||
crate://crates.io/toml/0.7.4 \
|
||||
crate://crates.io/toml_datetime/0.6.2 \
|
||||
crate://crates.io/toml_edit/0.19.10 \
|
||||
crate://crates.io/typenum/1.16.0 \
|
||||
crate://crates.io/unarray/0.1.4 \
|
||||
crate://crates.io/unicode-bidi/0.3.13 \
|
||||
crate://crates.io/unicode-ident/1.0.9 \
|
||||
crate://crates.io/unicode-normalization/0.1.22 \
|
||||
crate://crates.io/url/2.3.1 \
|
||||
crate://crates.io/utf-8/0.7.6 \
|
||||
crate://crates.io/utf8parse/0.2.1 \
|
||||
crate://crates.io/version-compare/0.1.1 \
|
||||
crate://crates.io/version_check/0.9.4 \
|
||||
crate://crates.io/wait-timeout/0.2.0 \
|
||||
crate://crates.io/walkdir/2.3.3 \
|
||||
crate://crates.io/wasi/0.9.0+wasi-snapshot-preview1 \
|
||||
crate://crates.io/wasi/0.11.0+wasi-snapshot-preview1 \
|
||||
crate://crates.io/wasm-bindgen/0.2.86 \
|
||||
crate://crates.io/wasm-bindgen-backend/0.2.86 \
|
||||
crate://crates.io/wasm-bindgen-macro/0.2.86 \
|
||||
crate://crates.io/wasm-bindgen-macro-support/0.2.86 \
|
||||
crate://crates.io/wasm-bindgen-shared/0.2.86 \
|
||||
crate://crates.io/web-sys/0.3.63 \
|
||||
crate://crates.io/weezl/0.1.7 \
|
||||
crate://crates.io/wide/0.7.9 \
|
||||
crate://crates.io/winapi/0.3.9 \
|
||||
crate://crates.io/winapi-i686-pc-windows-gnu/0.4.0 \
|
||||
crate://crates.io/winapi-util/0.1.5 \
|
||||
crate://crates.io/winapi-x86_64-pc-windows-gnu/0.4.0 \
|
||||
crate://crates.io/windows/0.48.0 \
|
||||
crate://crates.io/windows-sys/0.45.0 \
|
||||
crate://crates.io/windows-sys/0.48.0 \
|
||||
crate://crates.io/windows-targets/0.42.2 \
|
||||
crate://crates.io/windows-targets/0.48.0 \
|
||||
crate://crates.io/windows_aarch64_gnullvm/0.42.2 \
|
||||
crate://crates.io/windows_aarch64_gnullvm/0.48.0 \
|
||||
crate://crates.io/windows_aarch64_msvc/0.42.2 \
|
||||
crate://crates.io/windows_aarch64_msvc/0.48.0 \
|
||||
crate://crates.io/windows_i686_gnu/0.42.2 \
|
||||
crate://crates.io/windows_i686_gnu/0.48.0 \
|
||||
crate://crates.io/windows_i686_msvc/0.42.2 \
|
||||
crate://crates.io/windows_i686_msvc/0.48.0 \
|
||||
crate://crates.io/windows_x86_64_gnu/0.42.2 \
|
||||
crate://crates.io/windows_x86_64_gnu/0.48.0 \
|
||||
crate://crates.io/windows_x86_64_gnullvm/0.42.2 \
|
||||
crate://crates.io/windows_x86_64_gnullvm/0.48.0 \
|
||||
crate://crates.io/windows_x86_64_msvc/0.42.2 \
|
||||
crate://crates.io/windows_x86_64_msvc/0.48.0 \
|
||||
crate://crates.io/winnow/0.4.6 \
|
||||
crate://crates.io/xml5ever/0.17.0 \
|
||||
crate://crates.io/yeslogic-fontconfig-sys/4.0.1 \
|
||||
"
|
||||
|
||||
SRC_URI[adler-1.0.2.sha256sum] = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
||||
SRC_URI[aho-corasick-1.0.1.sha256sum] = "67fc08ce920c31afb70f013dcce1bfc3a3195de6a228474e45e1f145b36f8d04"
|
||||
SRC_URI[android-tzdata-0.1.1.sha256sum] = "e999941b234f3131b00bc13c22d06e8c5ff726d1b6318ac7eb276997bbb4fef0"
|
||||
SRC_URI[android_system_properties-0.1.5.sha256sum] = "819e7219dbd41043ac279b19830f2efc897156490d7fd6ea916720117ee66311"
|
||||
SRC_URI[anes-0.1.6.sha256sum] = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
||||
SRC_URI[anstream-0.3.2.sha256sum] = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163"
|
||||
SRC_URI[anstyle-1.0.0.sha256sum] = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d"
|
||||
SRC_URI[anstyle-parse-0.2.0.sha256sum] = "e765fd216e48e067936442276d1d57399e37bce53c264d6fefbe298080cb57ee"
|
||||
SRC_URI[anstyle-query-1.0.0.sha256sum] = "5ca11d4be1bab0c8bc8734a9aa7bf4ee8316d462a08c6ac5052f888fef5b494b"
|
||||
SRC_URI[anstyle-wincon-1.0.1.sha256sum] = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188"
|
||||
SRC_URI[anyhow-1.0.71.sha256sum] = "9c7d0618f0e0b7e8ff11427422b64564d5fb0be1940354bfe2e0529b18a9d9b8"
|
||||
SRC_URI[approx-0.5.1.sha256sum] = "cab112f0a86d568ea0e627cc1d6be74a1e9cd55214684db5561995f6dad897c6"
|
||||
SRC_URI[assert_cmd-2.0.11.sha256sum] = "86d6b683edf8d1119fe420a94f8a7e389239666aa72e65495d91c00462510151"
|
||||
SRC_URI[atty-0.2.14.sha256sum] = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
|
||||
SRC_URI[autocfg-1.1.0.sha256sum] = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa"
|
||||
SRC_URI[base-x-0.2.11.sha256sum] = "4cbbc9d0964165b47557570cce6c952866c2678457aca742aafc9fb771d30270"
|
||||
SRC_URI[bit-set-0.5.3.sha256sum] = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
|
||||
SRC_URI[bit-vec-0.6.3.sha256sum] = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
|
||||
SRC_URI[bitflags-1.3.2.sha256sum] = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"
|
||||
SRC_URI[block-0.1.6.sha256sum] = "0d8c1fef690941d3e7788d328517591fecc684c084084702d6ff1641e993699a"
|
||||
SRC_URI[bstr-1.5.0.sha256sum] = "a246e68bb43f6cd9db24bea052a53e40405417c5fb372e3d1a8a7f770a564ef5"
|
||||
SRC_URI[bumpalo-3.13.0.sha256sum] = "a3e2c3daef883ecc1b5d58c15adae93470a91d425f3532ba1695849656af3fc1"
|
||||
SRC_URI[bytemuck-1.13.1.sha256sum] = "17febce684fd15d89027105661fec94afb475cb995fbc59d2865198446ba2eea"
|
||||
SRC_URI[byteorder-1.4.3.sha256sum] = "14c189c53d098945499cdfa7ecc63567cf3886b3332b312a5b4585d8d3a6a610"
|
||||
SRC_URI[cairo-rs-0.17.0.sha256sum] = "a8af54f5d48af1226928adc1f57edd22f5df1349e7da1fc96ae15cf43db0e871"
|
||||
SRC_URI[cairo-sys-rs-0.17.0.sha256sum] = "f55382a01d30e5e53f185eee269124f5e21ab526595b872751278dfbb463594e"
|
||||
SRC_URI[cast-0.3.0.sha256sum] = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5"
|
||||
SRC_URI[cc-1.0.79.sha256sum] = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f"
|
||||
SRC_URI[cfg-expr-0.15.1.sha256sum] = "c8790cf1286da485c72cf5fc7aeba308438800036ec67d89425924c4807268c9"
|
||||
SRC_URI[cfg-if-1.0.0.sha256sum] = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
|
||||
SRC_URI[chrono-0.4.25.sha256sum] = "fdbc37d37da9e5bce8173f3a41b71d9bf3c674deebbaceacd0ebdabde76efb03"
|
||||
SRC_URI[ciborium-0.2.1.sha256sum] = "effd91f6c78e5a4ace8a5d3c0b6bfaec9e2baaef55f3efc00e45fb2e477ee926"
|
||||
SRC_URI[ciborium-io-0.2.1.sha256sum] = "cdf919175532b369853f5d5e20b26b43112613fd6fe7aee757e35f7a44642656"
|
||||
SRC_URI[ciborium-ll-0.2.1.sha256sum] = "defaa24ecc093c77630e6c15e17c51f5e187bf35ee514f4e2d67baaa96dae22b"
|
||||
SRC_URI[clap-3.2.25.sha256sum] = "4ea181bf566f71cb9a5d17a59e1871af638180a18fb0035c92ae62b705207123"
|
||||
SRC_URI[clap-4.3.0.sha256sum] = "93aae7a4192245f70fe75dd9157fc7b4a5bf53e88d30bd4396f7d8f9284d5acc"
|
||||
SRC_URI[clap_builder-4.3.0.sha256sum] = "4f423e341edefb78c9caba2d9c7f7687d0e72e89df3ce3394554754393ac3990"
|
||||
SRC_URI[clap_complete-4.3.0.sha256sum] = "a04ddfaacc3bc9e6ea67d024575fafc2a813027cf374b8f24f7bc233c6b6be12"
|
||||
SRC_URI[clap_derive-4.3.0.sha256sum] = "191d9573962933b4027f932c600cd252ce27a8ad5979418fe78e43c07996f27b"
|
||||
SRC_URI[clap_lex-0.2.4.sha256sum] = "2850f2f5a82cbf437dd5af4d49848fbdfc27c157c3d010345776f952765261c5"
|
||||
SRC_URI[clap_lex-0.5.0.sha256sum] = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b"
|
||||
SRC_URI[colorchoice-1.0.0.sha256sum] = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7"
|
||||
SRC_URI[const-cstr-0.3.0.sha256sum] = "ed3d0b5ff30645a68f35ece8cea4556ca14ef8a1651455f789a099a0513532a6"
|
||||
SRC_URI[const_fn-0.4.9.sha256sum] = "fbdcdcb6d86f71c5e97409ad45898af11cbc995b4ee8112d59095a28d376c935"
|
||||
SRC_URI[convert_case-0.4.0.sha256sum] = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
|
||||
SRC_URI[core-foundation-sys-0.8.4.sha256sum] = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa"
|
||||
SRC_URI[crc32fast-1.3.2.sha256sum] = "b540bd8bc810d3885c6ea91e2018302f68baba2129ab3e88f32389ee9370880d"
|
||||
SRC_URI[criterion-0.4.0.sha256sum] = "e7c76e09c1aae2bc52b3d2f29e13c6572553b30c4aa1b8a49fd70de6412654cb"
|
||||
SRC_URI[criterion-plot-0.5.0.sha256sum] = "6b50826342786a51a89e2da3a28f1c32b06e387201bc2d19791f622c673706b1"
|
||||
SRC_URI[crossbeam-channel-0.5.8.sha256sum] = "a33c2bf77f2df06183c3aa30d1e96c0695a313d4f9c453cc3762a6db39f99200"
|
||||
SRC_URI[crossbeam-deque-0.8.3.sha256sum] = "ce6fd6f855243022dcecf8702fef0c297d4338e226845fe067f6341ad9fa0cef"
|
||||
SRC_URI[crossbeam-epoch-0.9.14.sha256sum] = "46bd5f3f85273295a9d14aedfb86f6aadbff6d8f5295c4a9edb08e819dcf5695"
|
||||
SRC_URI[crossbeam-utils-0.8.15.sha256sum] = "3c063cd8cc95f5c377ed0d4b49a4b21f632396ff690e8470c29b3359b346984b"
|
||||
SRC_URI[cssparser-0.29.6.sha256sum] = "f93d03419cb5950ccfd3daf3ff1c7a36ace64609a1a8746d493df1ca0afde0fa"
|
||||
SRC_URI[cssparser-macros-0.6.0.sha256sum] = "dfae75de57f2b2e85e8768c3ea840fd159c8f33e2b6522c7835b7abac81be16e"
|
||||
SRC_URI[data-url-0.2.0.sha256sum] = "8d7439c3735f405729d52c3fbbe4de140eaf938a1fe47d227c27f8254d4302a5"
|
||||
SRC_URI[derive_more-0.99.17.sha256sum] = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
|
||||
SRC_URI[difflib-0.4.0.sha256sum] = "6184e33543162437515c2e2b48714794e37845ec9851711914eec9d308f6ebe8"
|
||||
SRC_URI[discard-1.0.4.sha256sum] = "212d0f5754cb6769937f4501cc0e67f4f4483c8d2c3e1e922ee9edbe4ab4c7c0"
|
||||
SRC_URI[dlib-0.5.0.sha256sum] = "ac1b7517328c04c2aa68422fc60a41b92208182142ed04a25879c26c8f878794"
|
||||
SRC_URI[doc-comment-0.3.3.sha256sum] = "fea41bba32d969b513997752735605054bc0dfa92b4c56bf1189f2e174be7a10"
|
||||
SRC_URI[dtoa-0.4.8.sha256sum] = "56899898ce76aaf4a0f24d914c97ea6ed976d42fec6ad33fcbb0a1103e07b2b0"
|
||||
SRC_URI[dtoa-short-0.3.3.sha256sum] = "bde03329ae10e79ede66c9ce4dc930aa8599043b0743008548680f25b91502d6"
|
||||
SRC_URI[either-1.8.1.sha256sum] = "7fcaabb2fef8c910e7f4c7ce9f67a1283a1715879a7c230ca9d6d1ae31f16d91"
|
||||
SRC_URI[encoding-0.2.33.sha256sum] = "6b0d943856b990d12d3b55b359144ff341533e516d94098b1d3fc1ac666d36ec"
|
||||
SRC_URI[encoding-index-japanese-1.20141219.5.sha256sum] = "04e8b2ff42e9a05335dbf8b5c6f7567e5591d0d916ccef4e0b1710d32a0d0c91"
|
||||
SRC_URI[encoding-index-korean-1.20141219.5.sha256sum] = "4dc33fb8e6bcba213fe2f14275f0963fd16f0a02c878e3095ecfdf5bee529d81"
|
||||
SRC_URI[encoding-index-simpchinese-1.20141219.5.sha256sum] = "d87a7194909b9118fc707194baa434a4e3b0fb6a5a757c73c3adb07aa25031f7"
|
||||
SRC_URI[encoding-index-singlebyte-1.20141219.5.sha256sum] = "3351d5acffb224af9ca265f435b859c7c01537c0849754d3db3fdf2bfe2ae84a"
|
||||
SRC_URI[encoding-index-tradchinese-1.20141219.5.sha256sum] = "fd0e20d5688ce3cab59eb3ef3a2083a5c77bf496cb798dc6fcdb75f323890c18"
|
||||
SRC_URI[encoding_index_tests-0.1.4.sha256sum] = "a246d82be1c9d791c5dfde9a2bd045fc3cbba3fa2b11ad558f27d01712f00569"
|
||||
SRC_URI[encoding_rs-0.8.32.sha256sum] = "071a31f4ee85403370b58aca746f01041ede6f0da2730960ad001edc2b71b394"
|
||||
SRC_URI[errno-0.3.1.sha256sum] = "4bcfec3a70f97c962c307b2d2c56e358cf1d00b558d74262b5f929ee8cc7e73a"
|
||||
SRC_URI[errno-dragonfly-0.1.2.sha256sum] = "aa68f1b12764fab894d2755d2518754e71b4fd80ecfb822714a1206c2aab39bf"
|
||||
SRC_URI[fastrand-1.9.0.sha256sum] = "e51093e27b0797c359783294ca4f0a911c270184cb10f85783b118614a1501be"
|
||||
SRC_URI[fdeflate-0.3.0.sha256sum] = "d329bdeac514ee06249dabc27877490f17f5d371ec693360768b838e19f3ae10"
|
||||
SRC_URI[flate2-1.0.26.sha256sum] = "3b9429470923de8e8cbd4d2dc513535400b4b3fef0319fb5c4e1f520a7bef743"
|
||||
SRC_URI[float-cmp-0.9.0.sha256sum] = "98de4bbd547a563b716d8dfa9aad1cb19bfab00f4fa09a6a4ed21dbcf44ce9c4"
|
||||
SRC_URI[fnv-1.0.7.sha256sum] = "3f9eec918d3f24069decb9af1554cad7c880e2da24a9afd88aca000531ab82c1"
|
||||
SRC_URI[form_urlencoded-1.1.0.sha256sum] = "a9c384f161156f5260c24a097c56119f9be8c798586aecc13afbcbe7b7e26bf8"
|
||||
SRC_URI[futf-0.1.5.sha256sum] = "df420e2e84819663797d1ec6544b13c5be84629e7bb00dc960d6917db2987843"
|
||||
SRC_URI[futures-channel-0.3.28.sha256sum] = "955518d47e09b25bbebc7a18df10b81f0c766eaf4c4f1cccef2fca5f2a4fb5f2"
|
||||
SRC_URI[futures-core-0.3.28.sha256sum] = "4bca583b7e26f571124fe5b7561d49cb2868d79116cfa0eefce955557c6fee8c"
|
||||
SRC_URI[futures-executor-0.3.28.sha256sum] = "ccecee823288125bd88b4d7f565c9e58e41858e47ab72e8ea2d64e93624386e0"
|
||||
SRC_URI[futures-io-0.3.28.sha256sum] = "4fff74096e71ed47f8e023204cfd0aa1289cd54ae5430a9523be060cdb849964"
|
||||
SRC_URI[futures-macro-0.3.28.sha256sum] = "89ca545a94061b6365f2c7355b4b32bd20df3ff95f02da9329b34ccc3bd6ee72"
|
||||
SRC_URI[futures-task-0.3.28.sha256sum] = "76d3d132be6c0e6aa1534069c705a74a5997a356c0dc2f86a47765e5617c5b65"
|
||||
SRC_URI[futures-util-0.3.28.sha256sum] = "26b01e40b772d54cf6c6d721c1d1abd0647a0106a12ecaa1c186273392a69533"
|
||||
SRC_URI[fxhash-0.2.1.sha256sum] = "c31b6d751ae2c7f11320402d34e41349dd1016f8d5d45e48c4312bc8625af50c"
|
||||
SRC_URI[gdk-pixbuf-0.17.0.sha256sum] = "b023fbe0c6b407bd3d9805d107d9800da3829dc5a676653210f1d5f16d7f59bf"
|
||||
SRC_URI[gdk-pixbuf-sys-0.17.0.sha256sum] = "7b41bd2b44ed49d99277d3925652a163038bd5ed943ec9809338ffb2f4391e3b"
|
||||
SRC_URI[getrandom-0.1.16.sha256sum] = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce"
|
||||
SRC_URI[getrandom-0.2.9.sha256sum] = "c85e1d9ab2eadba7e5040d4e09cbd6d072b76a557ad64e797c2cb9d4da21d7e4"
|
||||
SRC_URI[gio-0.17.9.sha256sum] = "d14522e56c6bcb6f7a3aebc25cbcfb06776af4c0c25232b601b4383252d7cb92"
|
||||
SRC_URI[gio-sys-0.17.4.sha256sum] = "6b1d43b0d7968b48455244ecafe41192871257f5740aa6b095eb19db78e362a5"
|
||||
SRC_URI[glib-0.17.9.sha256sum] = "a7f1de7cbde31ea4f0a919453a2dcece5d54d5b70e08f8ad254dc4840f5f09b6"
|
||||
SRC_URI[glib-macros-0.17.9.sha256sum] = "0a7206c5c03851ef126ea1444990e81fdd6765fb799d5bc694e4897ca01bb97f"
|
||||
SRC_URI[glib-sys-0.17.4.sha256sum] = "49f00ad0a1bf548e61adfff15d83430941d9e1bb620e334f779edd1c745680a5"
|
||||
SRC_URI[gobject-sys-0.17.4.sha256sum] = "15e75b0000a64632b2d8ca3cf856af9308e3a970844f6e9659bd197f026793d0"
|
||||
SRC_URI[half-1.8.2.sha256sum] = "eabb4a44450da02c90444cf74558da904edde8fb4e9035a9a6a4e15445af0bd7"
|
||||
SRC_URI[hashbrown-0.12.3.sha256sum] = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888"
|
||||
SRC_URI[heck-0.4.1.sha256sum] = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
||||
SRC_URI[hermit-abi-0.1.19.sha256sum] = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
|
||||
SRC_URI[hermit-abi-0.2.6.sha256sum] = "ee512640fe35acbfb4bb779db6f0d80704c2cacfa2e39b601ef3e3f47d1ae4c7"
|
||||
SRC_URI[hermit-abi-0.3.1.sha256sum] = "fed44880c466736ef9a5c5b5facefb5ed0785676d0c02d612db14e54f0d84286"
|
||||
SRC_URI[iana-time-zone-0.1.56.sha256sum] = "0722cd7114b7de04316e7ea5456a0bbb20e4adb46fd27a3697adb812cff0f37c"
|
||||
SRC_URI[iana-time-zone-haiku-0.1.2.sha256sum] = "f31827a206f56af32e590ba56d5d2d085f558508192593743f16b2306495269f"
|
||||
SRC_URI[idna-0.3.0.sha256sum] = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6"
|
||||
SRC_URI[indexmap-1.9.3.sha256sum] = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99"
|
||||
SRC_URI[instant-0.1.12.sha256sum] = "7a5bbe824c507c5da5956355e86a746d82e0e1464f65d862cc5e71da70e94b2c"
|
||||
SRC_URI[io-lifetimes-1.0.11.sha256sum] = "eae7b9aee968036d54dce06cebaefd919e4472e753296daccd6d344e3e2df0c2"
|
||||
SRC_URI[is-terminal-0.4.7.sha256sum] = "adcf93614601c8129ddf72e2d5633df827ba6551541c6d8c59520a371475be1f"
|
||||
SRC_URI[itertools-0.10.5.sha256sum] = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473"
|
||||
SRC_URI[itoa-1.0.6.sha256sum] = "453ad9f582a441959e5f0d088b02ce04cfe8d51a8eaf077f12ac6d3e94164ca6"
|
||||
SRC_URI[js-sys-0.3.63.sha256sum] = "2f37a4a5928311ac501dee68b3c7613a1037d0edb30c8e5427bd832d55d1b790"
|
||||
SRC_URI[language-tags-0.3.2.sha256sum] = "d4345964bb142484797b161f473a503a434de77149dd8c7427788c6e13379388"
|
||||
SRC_URI[lazy_static-1.4.0.sha256sum] = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646"
|
||||
SRC_URI[libc-0.2.144.sha256sum] = "2b00cc1c228a6782d0f076e7b232802e0c5689d41bb5df366f2a6b6621cfdfe1"
|
||||
SRC_URI[libloading-0.7.4.sha256sum] = "b67380fd3b2fbe7527a606e18729d21c6f3951633d0500574c4dc22d2d638b9f"
|
||||
SRC_URI[libm-0.2.7.sha256sum] = "f7012b1bbb0719e1097c47611d3898568c546d597c2e74d66f6087edd5233ff4"
|
||||
SRC_URI[linked-hash-map-0.5.6.sha256sum] = "0717cef1bc8b636c6e1c1bbdefc09e6322da8a9321966e8928ef80d20f7f770f"
|
||||
SRC_URI[linux-raw-sys-0.3.8.sha256sum] = "ef53942eb7bf7ff43a617b3e2c1c4a5ecf5944a7c1bc12d7ee39bbb15e5c1519"
|
||||
SRC_URI[locale_config-0.3.0.sha256sum] = "08d2c35b16f4483f6c26f0e4e9550717a2f6575bcd6f12a53ff0c490a94a6934"
|
||||
SRC_URI[lock_api-0.4.9.sha256sum] = "435011366fe56583b16cf956f9df0095b405b82d76425bc8981c0e22e60ec4df"
|
||||
SRC_URI[log-0.4.18.sha256sum] = "518ef76f2f87365916b142844c16d8fefd85039bc5699050210a7778ee1cd1de"
|
||||
SRC_URI[lopdf-0.29.0.sha256sum] = "de0f69c40d6dbc68ebac4bf5aec3d9978e094e22e29fcabd045acd9cec74a9dc"
|
||||
SRC_URI[mac-0.1.1.sha256sum] = "c41e0c4fef86961ac6d6f8a82609f55f31b05e4fce149ac5710e439df7619ba4"
|
||||
SRC_URI[malloc_buf-0.0.6.sha256sum] = "62bb907fe88d54d8d9ce32a3cceab4218ed2f6b7d35617cafe9adf84e43919cb"
|
||||
SRC_URI[markup5ever-0.11.0.sha256sum] = "7a2629bb1404f3d34c2e921f21fd34ba00b206124c81f65c50b43b6aaefeb016"
|
||||
SRC_URI[matches-0.1.10.sha256sum] = "2532096657941c2fea9c289d370a250971c689d4f143798ff67113ec042024a5"
|
||||
SRC_URI[matrixmultiply-0.3.7.sha256sum] = "090126dc04f95dc0d1c1c91f61bdd474b3930ca064c1edc8a849da2c6cbe1e77"
|
||||
SRC_URI[memchr-2.5.0.sha256sum] = "2dffe52ecf27772e601905b7522cb4ef790d2cc203488bbd0e2fe85fcb74566d"
|
||||
SRC_URI[memoffset-0.8.0.sha256sum] = "d61c719bcfbcf5d62b3a09efa6088de8c54bc0bfcd3ea7ae39fcc186108b8de1"
|
||||
SRC_URI[miniz_oxide-0.7.1.sha256sum] = "e7810e0be55b428ada41041c41f32c9f1a42817901b4ccf45fa3d4b6561e74c7"
|
||||
SRC_URI[nalgebra-0.32.2.sha256sum] = "d68d47bba83f9e2006d117a9a33af1524e655516b8919caac694427a6fb1e511"
|
||||
SRC_URI[nalgebra-macros-0.2.0.sha256sum] = "d232c68884c0c99810a5a4d333ef7e47689cfd0edc85efc9e54e1e6bf5212766"
|
||||
SRC_URI[new_debug_unreachable-1.0.4.sha256sum] = "e4a24736216ec316047a1fc4252e27dabb04218aa4a3f37c6e7ddbf1f9782b54"
|
||||
SRC_URI[nodrop-0.1.14.sha256sum] = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
|
||||
SRC_URI[normalize-line-endings-0.3.0.sha256sum] = "61807f77802ff30975e01f4f071c8ba10c022052f98b3294119f3e615d13e5be"
|
||||
SRC_URI[num-complex-0.4.3.sha256sum] = "02e0d21255c828d6f128a1e41534206671e8c3ea0c62f32291e808dc82cff17d"
|
||||
SRC_URI[num-integer-0.1.45.sha256sum] = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9"
|
||||
SRC_URI[num-rational-0.4.1.sha256sum] = "0638a1c9d0a3c0914158145bc76cff373a75a627e6ecbfb71cbe6f453a5a19b0"
|
||||
SRC_URI[num-traits-0.2.15.sha256sum] = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd"
|
||||
SRC_URI[num_cpus-1.15.0.sha256sum] = "0fac9e2da13b5eb447a6ce3d392f23a29d8694bff781bf03a16cd9ac8697593b"
|
||||
SRC_URI[objc-0.2.7.sha256sum] = "915b1b472bc21c53464d6c8461c9d3af805ba1ef837e1cac254428f4a77177b1"
|
||||
SRC_URI[objc-foundation-0.1.1.sha256sum] = "1add1b659e36c9607c7aab864a76c7a4c2760cd0cd2e120f3fb8b952c7e22bf9"
|
||||
SRC_URI[objc_id-0.1.1.sha256sum] = "c92d4ddb4bd7b50d730c215ff871754d0da6b2178849f8a2a2ab69712d0c073b"
|
||||
SRC_URI[once_cell-1.17.2.sha256sum] = "9670a07f94779e00908f3e686eab508878ebb390ba6e604d3a284c00e8d0487b"
|
||||
SRC_URI[oorandom-11.1.3.sha256sum] = "0ab1bc2a289d34bd04a330323ac98a1b4bc82c9d9fcb1e66b63caa84da26b575"
|
||||
SRC_URI[os_str_bytes-6.5.0.sha256sum] = "ceedf44fb00f2d1984b0bc98102627ce622e083e49a5bacdb3e514fa4238e267"
|
||||
SRC_URI[pango-0.17.4.sha256sum] = "52c280b82a881e4208afb3359a8e7fde27a1b272280981f1f34610bed5770d37"
|
||||
SRC_URI[pango-sys-0.17.0.sha256sum] = "4293d0f0b5525eb5c24734d30b0ed02cd02aa734f216883f376b54de49625de8"
|
||||
SRC_URI[pangocairo-0.17.0.sha256sum] = "2feeb7ea7874507f83f5e7ba869c54e321959431c8fbd70d4b735c8b15d90506"
|
||||
SRC_URI[pangocairo-sys-0.17.3.sha256sum] = "f60f1be8ef08087ddcbdcc1350e06073bff11113d425d12b622b716d96b9611c"
|
||||
SRC_URI[parking_lot-0.12.1.sha256sum] = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f"
|
||||
SRC_URI[parking_lot_core-0.9.7.sha256sum] = "9069cbb9f99e3a5083476ccb29ceb1de18b9118cafa53e90c9551235de2b9521"
|
||||
SRC_URI[paste-1.0.12.sha256sum] = "9f746c4065a8fa3fe23974dd82f15431cc8d40779821001404d10d2e79ca7d79"
|
||||
SRC_URI[percent-encoding-2.2.0.sha256sum] = "478c572c3d73181ff3c2539045f6eb99e5491218eae919370993b890cdbdd98e"
|
||||
SRC_URI[phf-0.8.0.sha256sum] = "3dfb61232e34fcb633f43d12c58f83c1df82962dcdfa565a4e866ffc17dafe12"
|
||||
SRC_URI[phf-0.10.1.sha256sum] = "fabbf1ead8a5bcbc20f5f8b939ee3f5b0f6f281b6ad3468b84656b658b455259"
|
||||
SRC_URI[phf_codegen-0.8.0.sha256sum] = "cbffee61585b0411840d3ece935cce9cb6321f01c45477d30066498cd5e1a815"
|
||||
SRC_URI[phf_codegen-0.10.0.sha256sum] = "4fb1c3a8bc4dd4e5cfce29b44ffc14bedd2ee294559a294e2a4d4c9e9a6a13cd"
|
||||
SRC_URI[phf_generator-0.8.0.sha256sum] = "17367f0cc86f2d25802b2c26ee58a7b23faeccf78a396094c13dced0d0182526"
|
||||
SRC_URI[phf_generator-0.10.0.sha256sum] = "5d5285893bb5eb82e6aaf5d59ee909a06a16737a8970984dd7746ba9283498d6"
|
||||
SRC_URI[phf_macros-0.10.0.sha256sum] = "58fdf3184dd560f160dd73922bea2d5cd6e8f064bf4b13110abd81b03697b4e0"
|
||||
SRC_URI[phf_shared-0.8.0.sha256sum] = "c00cf8b9eafe68dde5e9eaa2cef8ee84a9336a47d566ec55ca16589633b65af7"
|
||||
SRC_URI[phf_shared-0.10.0.sha256sum] = "b6796ad771acdc0123d2a88dc428b5e38ef24456743ddb1744ed628f9815c096"
|
||||
SRC_URI[pin-project-lite-0.2.9.sha256sum] = "e0a7ae3ac2f1173085d398531c705756c94a4c56843785df85a60c1a0afac116"
|
||||
SRC_URI[pin-utils-0.1.0.sha256sum] = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184"
|
||||
SRC_URI[pkg-config-0.3.27.sha256sum] = "26072860ba924cbfa98ea39c8c19b4dd6a4a25423dbdf219c1eca91aa0cf6964"
|
||||
SRC_URI[plotters-0.3.4.sha256sum] = "2538b639e642295546c50fcd545198c9d64ee2a38620a628724a3b266d5fbf97"
|
||||
SRC_URI[plotters-backend-0.3.4.sha256sum] = "193228616381fecdc1224c62e96946dfbc73ff4384fba576e052ff8c1bea8142"
|
||||
SRC_URI[plotters-svg-0.3.3.sha256sum] = "f9a81d2759aae1dae668f783c308bc5c8ebd191ff4184aaa1b37f65a6ae5a56f"
|
||||
SRC_URI[png-0.17.8.sha256sum] = "aaeebc51f9e7d2c150d3f3bfeb667f2aa985db5ef1e3d212847bdedb488beeaa"
|
||||
SRC_URI[pom-3.2.0.sha256sum] = "07e2192780e9f8e282049ff9bffcaa28171e1cb0844f49ed5374e518ae6024ec"
|
||||
SRC_URI[ppv-lite86-0.2.17.sha256sum] = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
|
||||
SRC_URI[precomputed-hash-0.1.1.sha256sum] = "925383efa346730478fb4838dbe9137d2a47675ad789c546d150a6e1dd4ab31c"
|
||||
SRC_URI[predicates-2.1.5.sha256sum] = "59230a63c37f3e18569bdb90e4a89cbf5bf8b06fea0b84e65ea10cc4df47addd"
|
||||
SRC_URI[predicates-3.0.3.sha256sum] = "09963355b9f467184c04017ced4a2ba2d75cbcb4e7462690d388233253d4b1a9"
|
||||
SRC_URI[predicates-core-1.0.6.sha256sum] = "b794032607612e7abeb4db69adb4e33590fa6cf1149e95fd7cb00e634b92f174"
|
||||
SRC_URI[predicates-tree-1.0.9.sha256sum] = "368ba315fb8c5052ab692e68a0eefec6ec57b23a36959c14496f0b0df2c0cecf"
|
||||
SRC_URI[proc-macro-crate-1.3.1.sha256sum] = "7f4c021e1093a56626774e81216a4ce732a735e5bad4868a03f3ed65ca0c3919"
|
||||
SRC_URI[proc-macro-error-1.0.4.sha256sum] = "da25490ff9892aab3fcf7c36f08cfb902dd3e71ca0f9f9517bea02a73a5ce38c"
|
||||
SRC_URI[proc-macro-error-attr-1.0.4.sha256sum] = "a1be40180e52ecc98ad80b184934baf3d0d29f979574e439af5a55274b35f869"
|
||||
SRC_URI[proc-macro-hack-0.5.20+deprecated.sha256sum] = "dc375e1527247fe1a97d8b7156678dfe7c1af2fc075c9a4db3690ecd2a148068"
|
||||
SRC_URI[proc-macro2-1.0.59.sha256sum] = "6aeca18b86b413c660b781aa319e4e2648a3e6f9eadc9b47e9038e6fe9f3451b"
|
||||
SRC_URI[proptest-1.2.0.sha256sum] = "4e35c06b98bf36aba164cc17cb25f7e232f5c4aeea73baa14b8a9f0d92dbfa65"
|
||||
SRC_URI[quick-error-1.2.3.sha256sum] = "a1d01941d82fa2ab50be1e79e6714289dd7cde78eba4c074bc5a4374f650dfe0"
|
||||
SRC_URI[quote-1.0.28.sha256sum] = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488"
|
||||
SRC_URI[rand-0.7.3.sha256sum] = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03"
|
||||
SRC_URI[rand-0.8.5.sha256sum] = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404"
|
||||
SRC_URI[rand_chacha-0.2.2.sha256sum] = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402"
|
||||
SRC_URI[rand_chacha-0.3.1.sha256sum] = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88"
|
||||
SRC_URI[rand_core-0.5.1.sha256sum] = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19"
|
||||
SRC_URI[rand_core-0.6.4.sha256sum] = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
||||
SRC_URI[rand_hc-0.2.0.sha256sum] = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c"
|
||||
SRC_URI[rand_pcg-0.2.1.sha256sum] = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429"
|
||||
SRC_URI[rand_xorshift-0.3.0.sha256sum] = "d25bf25ec5ae4a3f1b92f929810509a2f53d7dca2f50b794ff57e3face536c8f"
|
||||
SRC_URI[rawpointer-0.2.1.sha256sum] = "60a357793950651c4ed0f3f52338f53b2f809f32d83a07f72909fa13e4c6c1e3"
|
||||
SRC_URI[rayon-1.7.0.sha256sum] = "1d2df5196e37bcc87abebc0053e20787d73847bb33134a69841207dd0a47f03b"
|
||||
SRC_URI[rayon-core-1.11.0.sha256sum] = "4b8f95bd6966f5c87776639160a66bd8ab9895d9d4ab01ddba9fc60661aebe8d"
|
||||
SRC_URI[rctree-0.5.0.sha256sum] = "3b42e27ef78c35d3998403c1d26f3efd9e135d3e5121b0a4845cc5cc27547f4f"
|
||||
SRC_URI[redox_syscall-0.2.16.sha256sum] = "fb5a58c1855b4b6819d59012155603f0b22ad30cad752600aadfcb695265519a"
|
||||
SRC_URI[redox_syscall-0.3.5.sha256sum] = "567664f262709473930a4bf9e51bf2ebf3348f2e748ccc50dea20646858f8f29"
|
||||
SRC_URI[regex-1.8.3.sha256sum] = "81ca098a9821bd52d6b24fd8b10bd081f47d39c22778cafaa75a2857a62c6390"
|
||||
SRC_URI[regex-automata-0.1.10.sha256sum] = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"
|
||||
SRC_URI[regex-syntax-0.6.29.sha256sum] = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"
|
||||
SRC_URI[regex-syntax-0.7.2.sha256sum] = "436b050e76ed2903236f032a59761c1eb99e1b0aead2c257922771dab1fc8c78"
|
||||
SRC_URI[rgb-0.8.36.sha256sum] = "20ec2d3e3fc7a92ced357df9cebd5a10b6fb2aa1ee797bf7e9ce2f17dffc8f59"
|
||||
SRC_URI[rustc_version-0.2.3.sha256sum] = "138e3e0acb6c9fb258b19b67cb8abd63c00679d2851805ea151465464fe9030a"
|
||||
SRC_URI[rustc_version-0.4.0.sha256sum] = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
|
||||
SRC_URI[rustix-0.37.19.sha256sum] = "acf8729d8542766f1b2cf77eb034d52f40d375bb8b615d0b147089946e16613d"
|
||||
SRC_URI[rusty-fork-0.3.0.sha256sum] = "cb3dcc6e454c328bb824492db107ab7c0ae8fcffe4ad210136ef014458c1bc4f"
|
||||
SRC_URI[ryu-1.0.13.sha256sum] = "f91339c0467de62360649f8d3e185ca8de4224ff281f66000de5eb2a77a79041"
|
||||
SRC_URI[safe_arch-0.6.0.sha256sum] = "794821e4ccb0d9f979512f9c1973480123f9bd62a90d74ab0f9426fcf8f4a529"
|
||||
SRC_URI[same-file-1.0.6.sha256sum] = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502"
|
||||
SRC_URI[scopeguard-1.1.0.sha256sum] = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
||||
SRC_URI[selectors-0.24.0.sha256sum] = "0c37578180969d00692904465fb7f6b3d50b9a2b952b87c23d0e2e5cb5013416"
|
||||
SRC_URI[semver-0.9.0.sha256sum] = "1d7eb9ef2c18661902cc47e535f9bc51b78acd254da71d375c2f6720d9a40403"
|
||||
SRC_URI[semver-1.0.17.sha256sum] = "bebd363326d05ec3e2f532ab7660680f3b02130d780c299bca73469d521bc0ed"
|
||||
SRC_URI[semver-parser-0.7.0.sha256sum] = "388a1df253eca08550bef6c72392cfe7c30914bf41df5269b68cbd6ff8f570a3"
|
||||
SRC_URI[serde-1.0.163.sha256sum] = "2113ab51b87a539ae008b5c6c02dc020ffa39afd2d83cffcb3f4eb2722cebec2"
|
||||
SRC_URI[serde_derive-1.0.163.sha256sum] = "8c805777e3930c8883389c602315a24224bcc738b63905ef87cd1420353ea93e"
|
||||
SRC_URI[serde_json-1.0.96.sha256sum] = "057d394a50403bcac12672b2b18fb387ab6d289d957dab67dd201875391e52f1"
|
||||
SRC_URI[serde_spanned-0.6.2.sha256sum] = "93107647184f6027e3b7dcb2e11034cf95ffa1e3a682c67951963ac69c1c007d"
|
||||
SRC_URI[servo_arc-0.2.0.sha256sum] = "d52aa42f8fdf0fed91e5ce7f23d8138441002fa31dca008acf47e6fd4721f741"
|
||||
SRC_URI[sha1-0.6.1.sha256sum] = "c1da05c97445caa12d05e848c4a4fcbbea29e748ac28f7e80e9b010392063770"
|
||||
SRC_URI[sha1_smol-1.0.0.sha256sum] = "ae1a47186c03a32177042e55dbc5fd5aee900b8e0069a8d70fba96a9375cd012"
|
||||
SRC_URI[simba-0.8.1.sha256sum] = "061507c94fc6ab4ba1c9a0305018408e312e17c041eb63bef8aa726fa33aceae"
|
||||
SRC_URI[simd-adler32-0.3.5.sha256sum] = "238abfbb77c1915110ad968465608b68e869e0772622c9656714e73e5a1a522f"
|
||||
SRC_URI[siphasher-0.3.10.sha256sum] = "7bd3e3206899af3f8b12af284fafc038cc1dc2b41d1b89dd17297221c5d225de"
|
||||
SRC_URI[slab-0.4.8.sha256sum] = "6528351c9bc8ab22353f9d776db39a20288e8d6c37ef8cfe3317cf875eecfc2d"
|
||||
SRC_URI[smallvec-1.10.0.sha256sum] = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0"
|
||||
SRC_URI[stable_deref_trait-1.2.0.sha256sum] = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"
|
||||
SRC_URI[standback-0.2.17.sha256sum] = "e113fb6f3de07a243d434a56ec6f186dfd51cb08448239fe7bcae73f87ff28ff"
|
||||
SRC_URI[stdweb-0.4.20.sha256sum] = "d022496b16281348b52d0e30ae99e01a73d737b2f45d38fed4edf79f9325a1d5"
|
||||
SRC_URI[stdweb-derive-0.5.3.sha256sum] = "c87a60a40fccc84bef0652345bbbbbe20a605bf5d0ce81719fc476f5c03b50ef"
|
||||
SRC_URI[stdweb-internal-macros-0.2.9.sha256sum] = "58fa5ff6ad0d98d1ffa8cb115892b6e69d67799f6763e162a1c9db421dc22e11"
|
||||
SRC_URI[stdweb-internal-runtime-0.1.5.sha256sum] = "213701ba3370744dcd1a12960caa4843b3d68b4d1c0a5d575e0d65b2ee9d16c0"
|
||||
SRC_URI[string_cache-0.8.7.sha256sum] = "f91138e76242f575eb1d3b38b4f1362f10d3a43f47d182a5b359af488a02293b"
|
||||
SRC_URI[string_cache_codegen-0.5.2.sha256sum] = "6bb30289b722be4ff74a408c3cc27edeaad656e06cb1fe8fa9231fa59c728988"
|
||||
SRC_URI[strsim-0.10.0.sha256sum] = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623"
|
||||
SRC_URI[syn-1.0.109.sha256sum] = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237"
|
||||
SRC_URI[syn-2.0.18.sha256sum] = "32d41677bcbe24c20c52e7c70b0d8db04134c5d1066bf98662e2871ad200ea3e"
|
||||
SRC_URI[system-deps-6.1.0.sha256sum] = "e5fa6fb9ee296c0dc2df41a656ca7948546d061958115ddb0bcaae43ad0d17d2"
|
||||
SRC_URI[target-lexicon-0.12.7.sha256sum] = "fd1ba337640d60c3e96bc6f0638a939b9c9a7f2c316a1598c279828b3d1dc8c5"
|
||||
SRC_URI[tempfile-3.5.0.sha256sum] = "b9fbec84f381d5795b08656e4912bec604d162bff9291d6189a78f4c8ab87998"
|
||||
SRC_URI[tendril-0.4.3.sha256sum] = "d24a120c5fc464a3458240ee02c299ebcb9d67b5249c8848b09d639dca8d7bb0"
|
||||
SRC_URI[termtree-0.4.1.sha256sum] = "3369f5ac52d5eb6ab48c6b4ffdc8efbcad6b89c765749064ba298f2c68a16a76"
|
||||
SRC_URI[textwrap-0.16.0.sha256sum] = "222a222a5bfe1bba4a77b45ec488a741b3cb8872e5e499451fd7d0129c9c7c3d"
|
||||
SRC_URI[thiserror-1.0.40.sha256sum] = "978c9a314bd8dc99be594bc3c175faaa9794be04a5a5e153caba6915336cebac"
|
||||
SRC_URI[thiserror-impl-1.0.40.sha256sum] = "f9456a42c5b0d803c8cd86e73dd7cc9edd429499f37a3550d286d5e86720569f"
|
||||
SRC_URI[time-0.2.27.sha256sum] = "4752a97f8eebd6854ff91f1c1824cd6160626ac4bd44287f7f4ea2035a02a242"
|
||||
SRC_URI[time-macros-0.1.1.sha256sum] = "957e9c6e26f12cb6d0dd7fc776bb67a706312e7299aed74c8dd5b17ebb27e2f1"
|
||||
SRC_URI[time-macros-impl-0.1.2.sha256sum] = "fd3c141a1b43194f3f56a1411225df8646c55781d5f26db825b3d98507eb482f"
|
||||
SRC_URI[tinytemplate-1.2.1.sha256sum] = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc"
|
||||
SRC_URI[tinyvec-1.6.0.sha256sum] = "87cc5ceb3875bb20c2890005a4e226a4651264a5c75edb2421b52861a0a0cb50"
|
||||
SRC_URI[tinyvec_macros-0.1.1.sha256sum] = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20"
|
||||
SRC_URI[toml-0.7.4.sha256sum] = "d6135d499e69981f9ff0ef2167955a5333c35e36f6937d382974566b3d5b94ec"
|
||||
SRC_URI[toml_datetime-0.6.2.sha256sum] = "5a76a9312f5ba4c2dec6b9161fdf25d87ad8a09256ccea5a556fef03c706a10f"
|
||||
SRC_URI[toml_edit-0.19.10.sha256sum] = "2380d56e8670370eee6566b0bfd4265f65b3f432e8c6d85623f728d4fa31f739"
|
||||
SRC_URI[typenum-1.16.0.sha256sum] = "497961ef93d974e23eb6f433eb5fe1b7930b659f06d12dec6fc44a8f554c0bba"
|
||||
SRC_URI[unarray-0.1.4.sha256sum] = "eaea85b334db583fe3274d12b4cd1880032beab409c0d774be044d4480ab9a94"
|
||||
SRC_URI[unicode-bidi-0.3.13.sha256sum] = "92888ba5573ff080736b3648696b70cafad7d250551175acbaa4e0385b3e1460"
|
||||
SRC_URI[unicode-ident-1.0.9.sha256sum] = "b15811caf2415fb889178633e7724bad2509101cde276048e013b9def5e51fa0"
|
||||
SRC_URI[unicode-normalization-0.1.22.sha256sum] = "5c5713f0fc4b5db668a2ac63cdb7bb4469d8c9fed047b1d0292cc7b0ce2ba921"
|
||||
SRC_URI[url-2.3.1.sha256sum] = "0d68c799ae75762b8c3fe375feb6600ef5602c883c5d21eb51c09f22b83c4643"
|
||||
SRC_URI[utf-8-0.7.6.sha256sum] = "09cc8ee72d2a9becf2f2febe0205bbed8fc6615b7cb429ad062dc7b7ddd036a9"
|
||||
SRC_URI[utf8parse-0.2.1.sha256sum] = "711b9620af191e0cdc7468a8d14e709c3dcdb115b36f838e601583af800a370a"
|
||||
SRC_URI[version-compare-0.1.1.sha256sum] = "579a42fc0b8e0c63b76519a339be31bed574929511fa53c1a3acae26eb258f29"
|
||||
SRC_URI[version_check-0.9.4.sha256sum] = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f"
|
||||
SRC_URI[wait-timeout-0.2.0.sha256sum] = "9f200f5b12eb75f8c1ed65abd4b2db8a6e1b138a20de009dacee265a2498f3f6"
|
||||
SRC_URI[walkdir-2.3.3.sha256sum] = "36df944cda56c7d8d8b7496af378e6b16de9284591917d307c9b4d313c44e698"
|
||||
SRC_URI[wasi-0.9.0+wasi-snapshot-preview1.sha256sum] = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519"
|
||||
SRC_URI[wasi-0.11.0+wasi-snapshot-preview1.sha256sum] = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
||||
SRC_URI[wasm-bindgen-0.2.86.sha256sum] = "5bba0e8cb82ba49ff4e229459ff22a191bbe9a1cb3a341610c9c33efc27ddf73"
|
||||
SRC_URI[wasm-bindgen-backend-0.2.86.sha256sum] = "19b04bc93f9d6bdee709f6bd2118f57dd6679cf1176a1af464fca3ab0d66d8fb"
|
||||
SRC_URI[wasm-bindgen-macro-0.2.86.sha256sum] = "14d6b024f1a526bb0234f52840389927257beb670610081360e5a03c5df9c258"
|
||||
SRC_URI[wasm-bindgen-macro-support-0.2.86.sha256sum] = "e128beba882dd1eb6200e1dc92ae6c5dbaa4311aa7bb211ca035779e5efc39f8"
|
||||
SRC_URI[wasm-bindgen-shared-0.2.86.sha256sum] = "ed9d5b4305409d1fc9482fee2d7f9bcbf24b3972bf59817ef757e23982242a93"
|
||||
SRC_URI[web-sys-0.3.63.sha256sum] = "3bdd9ef4e984da1187bf8110c5cf5b845fbc87a23602cdf912386a76fcd3a7c2"
|
||||
SRC_URI[weezl-0.1.7.sha256sum] = "9193164d4de03a926d909d3bc7c30543cecb35400c02114792c2cae20d5e2dbb"
|
||||
SRC_URI[wide-0.7.9.sha256sum] = "5cd0496a71f3cc6bc4bf0ed91346426a5099e93d89807e663162dc5a1069ff65"
|
||||
SRC_URI[winapi-0.3.9.sha256sum] = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419"
|
||||
SRC_URI[winapi-i686-pc-windows-gnu-0.4.0.sha256sum] = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6"
|
||||
SRC_URI[winapi-util-0.1.5.sha256sum] = "70ec6ce85bb158151cae5e5c87f95a8e97d2c0c4b001223f33a334e3ce5de178"
|
||||
SRC_URI[winapi-x86_64-pc-windows-gnu-0.4.0.sha256sum] = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f"
|
||||
SRC_URI[windows-0.48.0.sha256sum] = "e686886bc078bc1b0b600cac0147aadb815089b6e4da64016cbd754b6342700f"
|
||||
SRC_URI[windows-sys-0.45.0.sha256sum] = "75283be5efb2831d37ea142365f009c02ec203cd29a3ebecbc093d52315b66d0"
|
||||
SRC_URI[windows-sys-0.48.0.sha256sum] = "677d2418bec65e3338edb076e806bc1ec15693c5d0104683f2efe857f61056a9"
|
||||
SRC_URI[windows-targets-0.42.2.sha256sum] = "8e5180c00cd44c9b1c88adb3693291f1cd93605ded80c250a75d472756b4d071"
|
||||
SRC_URI[windows-targets-0.48.0.sha256sum] = "7b1eb6f0cd7c80c79759c929114ef071b87354ce476d9d94271031c0497adfd5"
|
||||
SRC_URI[windows_aarch64_gnullvm-0.42.2.sha256sum] = "597a5118570b68bc08d8d59125332c54f1ba9d9adeedeef5b99b02ba2b0698f8"
|
||||
SRC_URI[windows_aarch64_gnullvm-0.48.0.sha256sum] = "91ae572e1b79dba883e0d315474df7305d12f569b400fcf90581b06062f7e1bc"
|
||||
SRC_URI[windows_aarch64_msvc-0.42.2.sha256sum] = "e08e8864a60f06ef0d0ff4ba04124db8b0fb3be5776a5cd47641e942e58c4d43"
|
||||
SRC_URI[windows_aarch64_msvc-0.48.0.sha256sum] = "b2ef27e0d7bdfcfc7b868b317c1d32c641a6fe4629c171b8928c7b08d98d7cf3"
|
||||
SRC_URI[windows_i686_gnu-0.42.2.sha256sum] = "c61d927d8da41da96a81f029489353e68739737d3beca43145c8afec9a31a84f"
|
||||
SRC_URI[windows_i686_gnu-0.48.0.sha256sum] = "622a1962a7db830d6fd0a69683c80a18fda201879f0f447f065a3b7467daa241"
|
||||
SRC_URI[windows_i686_msvc-0.42.2.sha256sum] = "44d840b6ec649f480a41c8d80f9c65108b92d89345dd94027bfe06ac444d1060"
|
||||
SRC_URI[windows_i686_msvc-0.48.0.sha256sum] = "4542c6e364ce21bf45d69fdd2a8e455fa38d316158cfd43b3ac1c5b1b19f8e00"
|
||||
SRC_URI[windows_x86_64_gnu-0.42.2.sha256sum] = "8de912b8b8feb55c064867cf047dda097f92d51efad5b491dfb98f6bbb70cb36"
|
||||
SRC_URI[windows_x86_64_gnu-0.48.0.sha256sum] = "ca2b8a661f7628cbd23440e50b05d705db3686f894fc9580820623656af974b1"
|
||||
SRC_URI[windows_x86_64_gnullvm-0.42.2.sha256sum] = "26d41b46a36d453748aedef1486d5c7a85db22e56aff34643984ea85514e94a3"
|
||||
SRC_URI[windows_x86_64_gnullvm-0.48.0.sha256sum] = "7896dbc1f41e08872e9d5e8f8baa8fdd2677f29468c4e156210174edc7f7b953"
|
||||
SRC_URI[windows_x86_64_msvc-0.42.2.sha256sum] = "9aec5da331524158c6d1a4ac0ab1541149c0b9505fde06423b02f5ef0106b9f0"
|
||||
SRC_URI[windows_x86_64_msvc-0.48.0.sha256sum] = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a"
|
||||
SRC_URI[winnow-0.4.6.sha256sum] = "61de7bac303dc551fe038e2b3cef0f571087a47571ea6e79a87692ac99b99699"
|
||||
SRC_URI[xml5ever-0.17.0.sha256sum] = "4034e1d05af98b51ad7214527730626f019682d797ba38b51689212118d8e650"
|
||||
SRC_URI[yeslogic-fontconfig-sys-4.0.1.sha256sum] = "ec657fd32bbcbeaef5c7bc8e10b3db95b143fab8db0a50079773dbf936fd4f73"
|
||||
+47
@@ -0,0 +1,47 @@
|
||||
From 95b2cd0169cb1b4694c2bce67169b1aa1d5e2be0 Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Tue, 21 Sep 2021 16:27:14 +0200
|
||||
Subject: [PATCH] Makefile.am: pass rust target to cargo also when not cross
|
||||
compiling
|
||||
|
||||
Otherwise oe-core's native build doesn't work either.
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
Makefile.am | 2 --
|
||||
configure.ac | 4 +---
|
||||
2 files changed, 1 insertion(+), 5 deletions(-)
|
||||
|
||||
diff --git a/Makefile.am b/Makefile.am
|
||||
index e93714e..effe5d3 100644
|
||||
--- a/Makefile.am
|
||||
+++ b/Makefile.am
|
||||
@@ -137,9 +137,7 @@ else
|
||||
CARGO_RELEASE_ARGS=--release
|
||||
endif
|
||||
|
||||
-if CROSS_COMPILING
|
||||
CARGO_TARGET_ARGS=--target=$(RUST_TARGET)
|
||||
-endif
|
||||
|
||||
CARGO_VERBOSE = $(cargo_verbose_$(V))
|
||||
cargo_verbose_ = $(cargo_verbose_$(AM_DEFAULT_VERBOSITY))
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 41590ca..84cd56b 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -255,9 +255,7 @@ AC_ARG_VAR(RUST_TARGET, [Set rust target (default=$host)])
|
||||
: ${RUST_TARGET:=$host}
|
||||
|
||||
AM_CONDITIONAL([CROSS_COMPILING], [test "x$cross_compiling" = xyes])
|
||||
-AS_IF([test "x$cross_compiling" = "xyes"], [
|
||||
- RUST_TARGET_SUBDIR="$RUST_TARGET/$RUST_TARGET_SUBDIR"
|
||||
-])
|
||||
+RUST_TARGET_SUBDIR="$RUST_TARGET/$RUST_TARGET_SUBDIR"
|
||||
AC_SUBST([RUST_TARGET_SUBDIR])
|
||||
|
||||
dnl ===========================================================================
|
||||
--
|
||||
2.20.1
|
||||
|
||||
@@ -0,0 +1,76 @@
|
||||
SUMMARY = "Library for rendering SVG files"
|
||||
DESCRIPTION = "A small library to render Scalable Vector Graphics (SVG), \
|
||||
associated with the GNOME Project. It renders SVG files to Cairo surfaces. \
|
||||
Cairo is the 2D, antialiased drawing library that GNOME uses to draw things to \
|
||||
the screen or to generate output for printing."
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/librsvg"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/librsvg/issues"
|
||||
|
||||
LICENSE = "LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
|
||||
"
|
||||
|
||||
SECTION = "x11/utils"
|
||||
DEPENDS = "cairo gdk-pixbuf glib-2.0 libxml2 pango python3-docutils-native"
|
||||
BBCLASSEXTEND = "native nativesdk"
|
||||
|
||||
inherit cargo_common gnomebase pixbufcache upstream-version-is-even gobject-introspection rust vala gi-docgen cargo-update-recipe-crates
|
||||
|
||||
require ${BPN}-crates.inc
|
||||
|
||||
SRC_URI += "file://0001-Makefile.am-pass-rust-target-to-cargo-also-when-not-.patch \
|
||||
"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "1685aeacae9a441dcb12c0c3ec63706172a2f52705dafbefb8e7311d4d5e430b"
|
||||
|
||||
# librsvg is still autotools-based, but is calling cargo from its automake-driven makefiles
|
||||
# so we cannot use cargo class directly, but still need bits and pieces from it
|
||||
# for cargo to be happy
|
||||
BASEDEPENDS:append = " cargo-native"
|
||||
|
||||
export RUST_BACKTRACE = "full"
|
||||
export RUSTFLAGS
|
||||
|
||||
export RUST_TARGET = "${RUST_HOST_SYS}"
|
||||
|
||||
RUSTFLAGS:append:mips = " --cfg crossbeam_no_atomic_64"
|
||||
RUSTFLAGS:append:mipsel = " --cfg crossbeam_no_atomic_64"
|
||||
RUSTFLAGS:append:powerpc = " --cfg crossbeam_no_atomic_64"
|
||||
RUSTFLAGS:append:riscv32 = " --cfg crossbeam_no_atomic_64"
|
||||
|
||||
do_configure[postfuncs] += "cargo_common_do_configure"
|
||||
|
||||
inherit rust-target-config
|
||||
|
||||
# rust-cross writes the target linker binary into target json definition without any flags.
|
||||
# This breaks here because the linker isn't going to work without at least knowing where
|
||||
# the sysroot is. So copy the json to workdir, and patch in the path to wrapper from rust class
|
||||
# which supplies the needed flags.
|
||||
do_compile:prepend() {
|
||||
sed -ie 's,"linker": ".*","linker": "${RUST_TARGET_CC}",g' ${RUST_TARGETS_DIR}/${RUST_HOST_SYS}.json
|
||||
}
|
||||
|
||||
CVE_STATUS[CVE-2018-1000041] = "not-applicable-platform: Issue only applies on Windows"
|
||||
|
||||
CACHED_CONFIGUREVARS = "ac_cv_path_GDK_PIXBUF_QUERYLOADERS=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/gdk-pixbuf-query-loaders"
|
||||
|
||||
PACKAGECONFIG ??= "gdkpixbuf"
|
||||
PACKAGECONFIG:append:class-target = " ${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vala', '', d)}"
|
||||
# The gdk-pixbuf loader
|
||||
PACKAGECONFIG[gdkpixbuf] = "--enable-pixbuf-loader,--disable-pixbuf-loader,gdk-pixbuf-native"
|
||||
PACKAGECONFIG[vala] = "--enable-vala,--disable-vala"
|
||||
|
||||
do_install:append() {
|
||||
# Loadable modules don't need .a or .la on Linux
|
||||
rm -f ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.a ${D}${libdir}/gdk-pixbuf-2.0/*/loaders/*.la
|
||||
}
|
||||
|
||||
PACKAGES =+ "librsvg-gtk rsvg"
|
||||
FILES:rsvg = "${bindir}/rsvg* \
|
||||
${datadir}/pixmaps/svg-viewer.svg \
|
||||
${datadir}/themes"
|
||||
FILES:librsvg-gtk = "${libdir}/gdk-pixbuf-2.0/*/*/*.so \
|
||||
${datadir}/thumbnailers/librsvg.thumbnailer"
|
||||
RRECOMMENDS:librsvg-gtk = "gdk-pixbuf-bin"
|
||||
|
||||
PIXBUF_PACKAGES = "librsvg-gtk"
|
||||
@@ -0,0 +1,26 @@
|
||||
SUMMARY = "libsecret is a library for storing and retrieving passwords and other secrets"
|
||||
DESCRIPTION = "A GObject-based library for accessing the Secret Service API of \
|
||||
the freedesktop.org project, a cross-desktop effort to access passwords, \
|
||||
tokens and other types of secrets. libsecret provides a convenient wrapper \
|
||||
for these methods so consumers do not have to call the low-level DBus methods."
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
HOMEPAGE = "https://github.com/GNOME/libsecret"
|
||||
BUGTRACKER = "https://gitlab.gnome.org/GNOME/libsecret/issues"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=23c2a5e0106b99d75238986559bb5fc6"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "meson"
|
||||
|
||||
inherit gnomebase gi-docgen vala gobject-introspection manpages
|
||||
|
||||
DEPENDS += "glib-2.0 libgcrypt gettext-native"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "3fb3ce340fcd7db54d87c893e69bfc2b1f6e4d4b279065ffe66dac9f0fd12b4d"
|
||||
|
||||
GTKDOC_MESON_OPTION = 'gtk_doc'
|
||||
|
||||
PACKAGECONFIG[manpages] = "-Dmanpage=true,-Dmanpage=false,libxslt-native xmlto-native"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/20228/
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv6 = "arm"
|
||||
Reference in New Issue
Block a user