Complete Yocto mirror with license table for TQMa6UL (2038-compliance)
- 264 license table entries with exact download URLs (224/264 resolved) - Complete sources/ directory with all BitBake recipes - Build configuration: tqma6ul-multi-mba6ulx, spaetzle (musl) - Full traceability for Softwarefreigabeantrag - GCC 13.4.0, Linux 6.6.102, U-Boot 2023.04, musl 1.2.4 - License distribution: GPL-2.0 (24), MIT (23), GPL-2.0+ (18), BSD-3 (16)
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
SUMMARY = "C++ bindings for the atk"
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
DEPENDS = "atk glibmm-2.68"
|
||||
|
||||
GNOMEBN = "atkmm"
|
||||
|
||||
inherit gnomebase features_check
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "6f62dd99f746985e573605937577ccfc944368f606a71ca46342d70e1cdae079"
|
||||
|
||||
S = "${WORKDIR}/${GNOMEBN}-${PV}"
|
||||
|
||||
EXTRA_OEMESON = "-Dbuild-documentation=false"
|
||||
|
||||
FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
|
||||
@@ -0,0 +1,19 @@
|
||||
SUMMARY = "C++ bindings for the atk"
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
||||
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
DEPENDS = "atk glibmm"
|
||||
|
||||
|
||||
inherit gnomebase features_check
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "a0bb49765ceccc293ab2c6735ba100431807d384ffa14c2ebd30e07993fd2fa4"
|
||||
|
||||
EXTRA_OEMESON = "-Dbuild-documentation=false"
|
||||
|
||||
FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
|
||||
@@ -0,0 +1,37 @@
|
||||
From 6fa1b6d3f72caf6d0cf61752b522dc19fb9933b7 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Jansa <martin.jansa@gmail.com>
|
||||
Date: Fri, 30 Aug 2024 10:44:17 +0200
|
||||
Subject: [PATCH] gcab-enums.c.etemplate: include @basename@ instead of full
|
||||
path from @filename@
|
||||
|
||||
* fixes:
|
||||
ERROR: QA Issue: File /usr/src/debug/gcab/1.6/libgcab/gcab-enums.c in package gcab-src contains reference to TMPDIR [buildpaths]
|
||||
|
||||
lib32-gcab/1.6/package $ grep -R styhead .
|
||||
./usr/src/debug/lib32-gcab/1.6/libgcab/gcab-enums.c:#include "WORKDIR/build/../gcab-1.6/libgcab/gcab-file.h"
|
||||
./usr/src/debug/lib32-gcab/1.6/libgcab/gcab-enums.c:#include "WORKDIR/build/../gcab-1.6/libgcab/gcab-folder.h"
|
||||
|
||||
glib-mkenum supports also @basename@ since 2.22 which would avoid this QA issue
|
||||
@filename@ name of current input file
|
||||
@basename@ base name of the current input file (Since: 2.22)
|
||||
|
||||
Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
|
||||
---
|
||||
Upstream-Status: Pending
|
||||
|
||||
libgcab/gcab-enums.c.etemplate | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/libgcab/gcab-enums.c.etemplate b/libgcab/gcab-enums.c.etemplate
|
||||
index 194b1e0..2e85824 100644
|
||||
--- a/libgcab/gcab-enums.c.etemplate
|
||||
+++ b/libgcab/gcab-enums.c.etemplate
|
||||
@@ -21,7 +21,7 @@
|
||||
/*** END file-header ***/
|
||||
|
||||
/*** BEGIN file-production ***/
|
||||
-#include "@filename@"
|
||||
+#include "@basename@"
|
||||
/*** END file-production ***/
|
||||
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
gnome-desktop-testing-runner libgcab
|
||||
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "A GObject library to create cabinet files"
|
||||
HOMEPAGE = "https://gitlab.gnome.org/GNOME/gcab"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
|
||||
|
||||
DEPENDS = "glib-2.0"
|
||||
|
||||
SRC_URI = "\
|
||||
${GNOME_MIRROR}/gcab/${PV}/gcab-${PV}.tar.xz \
|
||||
file://0001-gcab-enums.c.etemplate-include-basename-instead-of-f.patch \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRC_URI[sha256sum] = "2f0c9615577c4126909e251f9de0626c3ee7a152376c15b5544df10fc87e560b"
|
||||
|
||||
inherit gobject-introspection gtk-doc manpages meson ptest-gnome vala
|
||||
|
||||
PACKAGECONFIG ??= "\
|
||||
${@bb.utils.contains('USE_NLS', 'yes', 'nls', '', d)} \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[manpages] = ""
|
||||
PACKAGECONFIG[nls] = "-Dnls=true,-Dnls=false"
|
||||
PACKAGECONFIG[tests] = "-Dtests=true -Dinstalled_tests=true,-Dtests=false -Dinstalled_tests=false"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,34 @@
|
||||
From 2618ab101f5faaa887c9feeeee84a7d8bc97cbda Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Wed, 16 Nov 2022 11:27:24 +0100
|
||||
Subject: [PATCH] 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 | 6 ++++--
|
||||
1 file changed, 4 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/meson.build b/meson.build
|
||||
index dd890a9..1b17b18 100644
|
||||
--- a/meson.build
|
||||
+++ b/meson.build
|
||||
@@ -82,8 +82,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',
|
||||
@@ -0,0 +1,61 @@
|
||||
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"
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
VALA_MESON_OPTION ?= ''
|
||||
|
||||
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] = "bad10f3c553a0e1854649ab59c5b2434da22ca1a54ae6138f1f53961567e1ab7"
|
||||
|
||||
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 \
|
||||
${datadir}/vala \
|
||||
${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,6 @@
|
||||
/* This is an auto-generated header, DO NOT EDIT! */
|
||||
|
||||
#define ICONV_ISO_INT_FORMAT "iso-%u-%u"
|
||||
#define ICONV_ISO_STR_FORMAT "iso-%u-%s"
|
||||
#define ICONV_10646 "iso-10646"
|
||||
#define ICONV_SHIFT_JIS "shift-jis"
|
||||
@@ -0,0 +1,23 @@
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"
|
||||
DESCRIPTION = "Runtime libraries for parsing and creating MIME mail"
|
||||
SECTION = "libs"
|
||||
|
||||
DEPENDS = "glib-2.0 zlib"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "autotools"
|
||||
inherit gnomebase gobject-introspection vala gtk-doc
|
||||
|
||||
SRC_URI = "https://github.com/jstedfast/${BPN}/releases/download/${PV}/${BP}.tar.xz \
|
||||
file://iconv-detect.h \
|
||||
"
|
||||
SRC_URI[sha256sum] = "2e10a54d4821daf8b16c019ad5d567e0fb8e766f8ffe5fec3d4c6a37373d6406"
|
||||
|
||||
EXTRA_OECONF += "--enable-largefile"
|
||||
|
||||
export ac_cv_have_iconv_detect_h="yes"
|
||||
export ac_cv_sys_file_offset_bits="64"
|
||||
|
||||
do_configure:append () {
|
||||
cp ${WORKDIR}/iconv-detect.h ${S}
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
SUMMARY = "Common macros for building GNOME applications"
|
||||
HOMEPAGE = "http://www.gnome.org/"
|
||||
BUGTRACKER = "https://bugzilla.gnome.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
||||
|
||||
SECTION = "x11/gnome"
|
||||
GNOMEBASEBUILDCLASS = "autotools"
|
||||
inherit gnomebase allarch
|
||||
|
||||
SRC_URI[archive.md5sum] = "933258d9c23e218eb6eec9cc1951b053"
|
||||
SRC_URI[archive.sha256sum] = "22569e370ae755e04527b76328befc4c73b62bfd4a572499fde116b8318af8cf"
|
||||
|
||||
EXTRA_AUTORECONF = ""
|
||||
DEPENDS = ""
|
||||
|
||||
# Default to enable autoconf-archive to avoid conflicts
|
||||
PACKAGECONFIG ??= "autoconf-archive"
|
||||
PACKAGECONFIG[autoconf-archive] = "--with-autoconf-archive, --without-autoconf-archive, autoconf-archive,autoconf-archive"
|
||||
|
||||
FILES:${PN} += "${datadir}/aclocal"
|
||||
FILES:${PN}-dev = ""
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,61 @@
|
||||
dnl Do not call GNOME_DOC_DEFINES directly. It is split out from
|
||||
dnl GNOME_DOC_INIT to allow gnome-doc-utils to bootstrap off itself.
|
||||
AC_DEFUN([GNOME_DOC_DEFINES],
|
||||
[
|
||||
AC_ARG_WITH([help-dir],
|
||||
AC_HELP_STRING([--with-help-dir=DIR], [path to help docs]),,
|
||||
[with_help_dir='${datadir}/gnome/help'])
|
||||
HELP_DIR="$with_help_dir"
|
||||
AC_SUBST(HELP_DIR)
|
||||
|
||||
AC_ARG_WITH([omf-dir],
|
||||
AC_HELP_STRING([--with-omf-dir=DIR], [path to OMF files]),,
|
||||
[with_omf_dir='${datadir}/omf'])
|
||||
OMF_DIR="$with_omf_dir"
|
||||
AC_SUBST(OMF_DIR)
|
||||
|
||||
AC_ARG_WITH([help-formats],
|
||||
AC_HELP_STRING([--with-help-formats=FORMATS], [list of formats]),,
|
||||
[with_help_formats=''])
|
||||
DOC_USER_FORMATS="$with_help_formats"
|
||||
AC_SUBST(DOC_USER_FORMATS)
|
||||
|
||||
AC_ARG_ENABLE([scrollkeeper],
|
||||
[AC_HELP_STRING([--disable-scrollkeeper],
|
||||
[do not make updates to the scrollkeeper database])],,
|
||||
enable_scrollkeeper=yes)
|
||||
AM_CONDITIONAL([ENABLE_SK],[test "$gdu_cv_have_gdu" = "yes" -a "$enable_scrollkeeper" = "yes"])
|
||||
|
||||
dnl disable scrollkeeper automatically for distcheck
|
||||
DISTCHECK_CONFIGURE_FLAGS="--disable-scrollkeeper $DISTCHECK_CONFIGURE_FLAGS"
|
||||
AC_SUBST(DISTCHECK_CONFIGURE_FLAGS)
|
||||
|
||||
AM_CONDITIONAL([HAVE_GNOME_DOC_UTILS],[test "$gdu_cv_have_gdu" = "yes"])
|
||||
])
|
||||
|
||||
# GNOME_DOC_INIT ([MINIMUM-VERSION],[ACTION-IF-FOUND],[ACTION-IF-NOT-FOUND])
|
||||
#
|
||||
AC_DEFUN([GNOME_DOC_INIT],
|
||||
[AC_REQUIRE([AC_PROG_LN_S])dnl
|
||||
|
||||
if test -z "$AM_DEFAULT_VERBOSITY"; then
|
||||
AM_DEFAULT_VERBOSITY=1
|
||||
fi
|
||||
AC_SUBST([AM_DEFAULT_VERBOSITY])
|
||||
|
||||
ifelse([$1],,[gdu_cv_version_required=0.3.2],[gdu_cv_version_required=$1])
|
||||
|
||||
AC_MSG_CHECKING([gnome-doc-utils >= $gdu_cv_version_required])
|
||||
PKG_CHECK_EXISTS([gnome-doc-utils >= $gdu_cv_version_required],
|
||||
[gdu_cv_have_gdu=yes],[gdu_cv_have_gdu=no])
|
||||
|
||||
if test "$gdu_cv_have_gdu" = "yes"; then
|
||||
AC_MSG_RESULT([yes])
|
||||
ifelse([$2],,[:],[$2])
|
||||
else
|
||||
AC_MSG_RESULT([no])
|
||||
ifelse([$3],,[:],[$3])
|
||||
fi
|
||||
|
||||
GNOME_DOC_DEFINES
|
||||
])
|
||||
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Stub implementation of gnome-doc-utils"
|
||||
DESCRIPTION = "This recipe provides m4 macros from gnome-doc-utils project, so \
|
||||
that dependent recipes can build. Gnome-doc-utils itself is no longer packaged because \
|
||||
it requires libxml2 and python 2 at the same time, which can no longer be satisfied. "
|
||||
LICENSE = "GPL-2.0-only & LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0-only;md5=801f80980d171dd6425610833a22dbe6 \
|
||||
file://${COREBASE}/meta/files/common-licenses/LGPL-2.1-only;md5=1a6d268fd218675ffea8be556788b780"
|
||||
SRC_URI = "file://gnome-doc-utils.m4"
|
||||
|
||||
PROVIDES = "gnome-doc-utils"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/aclocal/
|
||||
install ${WORKDIR}/gnome-doc-utils.m4 ${D}${datadir}/aclocal/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}"
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "An unofficial GTK3 port of libadwaita."
|
||||
HOMEPAGE = "http://github.com/lassekongo83/adw-gtk3"
|
||||
SECTION = "graphics"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
|
||||
|
||||
DEPENDS = "sassc-native"
|
||||
|
||||
inherit meson
|
||||
|
||||
SRC_URI = "git://github.com/lassekongo83/adw-gtk3.git;protocol=https;branch=main"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
SRCREV = "22a3b9374369640993e4a7ab84f8acc72318e501"
|
||||
|
||||
FILES:${PN} = "${datadir}/themes"
|
||||
@@ -0,0 +1,46 @@
|
||||
SUMMARY = "GTK+2 standard themes"
|
||||
HOMEPAGE = "http://ftp.gnome.org/pub/GNOME/sources/gnome-themes-standard/"
|
||||
BUGTRACKER = "https://bugzilla.gnome.org/"
|
||||
SECTION = "x11/gnome"
|
||||
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=2d5025d4aa3495befef8f17206a5b0a1"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "autotools"
|
||||
GTKIC_VERSION = '3'
|
||||
inherit gnomebase gettext gtk-icon-cache upstream-version-is-even features_check
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
DEPENDS += "intltool-native gtk+3 librsvg"
|
||||
|
||||
# PV is 3.28 not 3.28.0, so the gnomebase SRC_URI isn't right.
|
||||
SRC_URI = "${GNOME_MIRROR}/${BPN}/${PV}/${BPN}-${PV}.tar.xz;name=archive"
|
||||
SRC_URI[archive.md5sum] = "f9f2c6c521948da427f702372e16f826"
|
||||
SRC_URI[archive.sha256sum] = "7c4ba0bff001f06d8983cfc105adaac42df1d1267a2591798a780bac557a5819"
|
||||
|
||||
EXTRA_OECONF = "--disable-gtk2-engine"
|
||||
|
||||
do_install:append() {
|
||||
# Only building Adwaita, remove highcontrast files
|
||||
rm -rf ${D}${datadir}/themes/HighContrast \
|
||||
${D}${datadir}/icons
|
||||
|
||||
# The libtool archive file is unneeded with shared libs on modern Linux
|
||||
rm -rf ${D}${libdir}/gtk-2.0/2.10.0/engines/libadwaita.la
|
||||
}
|
||||
|
||||
# There could be gnome-theme-highcontrast as well but that requires
|
||||
# gtk+3 and includes lots of icons (is also broken with B != S).
|
||||
PACKAGES += "gnome-theme-adwaita \
|
||||
gnome-theme-adwaita-dark \
|
||||
"
|
||||
|
||||
FILES:gnome-theme-adwaita = "${datadir}/themes/Adwaita \
|
||||
${libdir}/gtk-2.0/2.10.0/engines/libadwaita.so"
|
||||
|
||||
FILES:gnome-theme-adwaita-dark = "${datadir}/themes/Adwaita-dark"
|
||||
RDEPENDS:gnome-theme-adwaita-dark = "gnome-theme-adwaita"
|
||||
|
||||
# gnome-themes-standard is empty and doesn't exist
|
||||
RDEPENDS:${PN}-dev = ""
|
||||
107
sources/meta-openembedded/meta-oe/recipes-gnome/gtk+/gtk+.inc
Normal file
107
sources/meta-openembedded/meta-oe/recipes-gnome/gtk+/gtk+.inc
Normal file
@@ -0,0 +1,107 @@
|
||||
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/"
|
||||
|
||||
LICENSE = "LGPL-2.0-only & LGPL-2.0-or-later & LGPL-2.1-or-later"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7"
|
||||
|
||||
SECTION = "libs"
|
||||
|
||||
inherit features_check
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
|
||||
|
||||
# This picks stable releases in the 2.x series (but not 2.90 onwards,
|
||||
# which were GNOME 3 betas).
|
||||
UPSTREAM_CHECK_REGEX = "(?P<pver>2\.([0-8]*[02468])+(\.\d+)+)"
|
||||
|
||||
X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite"
|
||||
DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native \
|
||||
cairo gdk-pixbuf"
|
||||
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'directfb x11', d)}"
|
||||
|
||||
PACKAGECONFIG[x11] = "--with-x=yes --with-gdktarget=x11,--with-x=no,${X11DEPENDS}"
|
||||
# without --with-gdktarget=directfb it will check for cairo-xlib which isn't available without X11 DISTRO_FEATURE
|
||||
PACKAGECONFIG[directfb] = "--with-gdktarget=directfb,,directfb"
|
||||
PACKAGECONFIG[manpages] = "--enable-man --with-xml-catalog=${STAGING_ETCDIR_NATIVE}/xml/catalog, --disable-man, libxslt-native xmlto-native"
|
||||
|
||||
inherit autotools gtk-doc pkgconfig update-alternatives gtk-immodules-cache gobject-introspection manpages
|
||||
|
||||
PACKAGES += "libgail gtk-demo"
|
||||
|
||||
FILES:${PN} += "${bindir}/gtk-update-icon-cache-2.0 \
|
||||
${bindir}/gtk-query-immodules-2.0 \
|
||||
${datadir}/themes ${sysconfdir} \
|
||||
${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so"
|
||||
|
||||
FILES:${PN}-dev += " \
|
||||
${datadir}/gtk-2.0/include \
|
||||
${libdir}/gtk-2.0/include \
|
||||
${libdir}/gtk-2.0/modules/*.la \
|
||||
${libdir}/gtk-2.0/${LIBV}/loaders/*.la \
|
||||
${libdir}/gtk-2.0/${LIBV}/immodules/*.la \
|
||||
${libdir}/gtk-2.0/${LIBV}/printbackends/*.la \
|
||||
${libdir}/gtk-2.0/${LIBV}/engines/*.la \
|
||||
${bindir}/gtk-builder-convert"
|
||||
|
||||
FILES:gtk-demo = " \
|
||||
${datadir}/gtk-2.0/demo/* \
|
||||
${bindir}/gtk-demo \
|
||||
"
|
||||
|
||||
FILES:libgail = " \
|
||||
${libdir}/gtk-2.0/modules/libgail.so \
|
||||
${libdir}/gtk-2.0/modules/libferret.so \
|
||||
"
|
||||
|
||||
GTKBASE_RRECOMMENDS ?= "liberation-fonts \
|
||||
gdk-pixbuf-loader-png \
|
||||
gdk-pixbuf-loader-jpeg \
|
||||
gdk-pixbuf-loader-gif \
|
||||
gdk-pixbuf-loader-xpm \
|
||||
shared-mime-info \
|
||||
gnome-theme-adwaita \
|
||||
"
|
||||
GTKGLIBC_RRECOMMENDS ?= "${GTKBASE_RRECOMMENDS} glibc-gconv-iso8859-1"
|
||||
|
||||
RRECOMMENDS:${PN} = "${GTKBASE_RRECOMMENDS}"
|
||||
RRECOMMENDS:${PN}:libc-glibc = "${GTKGLIBC_RRECOMMENDS}"
|
||||
|
||||
ALTERNATIVE:${PN} = "gtk-update-icon-cache"
|
||||
ALTERNATIVE_TARGET[gtk-update-icon-cache] = "${bindir}/gtk-update-icon-cache-2.0"
|
||||
|
||||
do_compile:prepend() {
|
||||
export GIR_EXTRA_LIBS_PATH="${B}/gdk/.libs"
|
||||
}
|
||||
|
||||
do_install () {
|
||||
autotools_do_install
|
||||
|
||||
install -d ${D}${sysconfdir}/gtk-2.0
|
||||
|
||||
mkdir -p ${D}${libdir}/gtk-2.0/include
|
||||
install -m 0644 gdk/gdkconfig.h ${D}${libdir}/gtk-2.0/include/gdkconfig.h
|
||||
|
||||
install -m 0644 ${S}/gtk/gtkfilechooserprivate.h ${D}${includedir}/gtk-2.0/gtk/
|
||||
install -m 0644 ${S}/gtk/gtkfilechooserutils.h ${D}${includedir}/gtk-2.0/gtk/
|
||||
install -m 0644 ${S}/gtk/gtkfilesystemmodel.h ${D}${includedir}/gtk-2.0/gtk/
|
||||
|
||||
mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-2.0
|
||||
|
||||
# duplicate gtk-query-immodules for post install script update_gtk_immodules_cache
|
||||
mkdir -p ${D}${libexecdir}
|
||||
ln ${D}${bindir}/gtk-query-immodules-2.0 ${D}${libexecdir}/${MLPREFIX}gtk-query-immodules-2.0
|
||||
}
|
||||
|
||||
SYSROOT_PREPROCESS_FUNCS += "gtk_sysroot_preprocess"
|
||||
|
||||
gtk_sysroot_preprocess () {
|
||||
if [ -e ${D}${bindir}/gtk-builder-convert ]; then
|
||||
install -d ${SYSROOT_DESTDIR}${bindir_crossscripts}/
|
||||
install -m 755 ${D}${bindir}/gtk-builder-convert ${SYSROOT_DESTDIR}${bindir_crossscripts}/
|
||||
fi
|
||||
}
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
From 34ce93e1c50bfb88f92a687d4f82de55584f3f6a Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Wed, 11 Apr 2018 14:20:39 +0300
|
||||
Subject: [PATCH] Do not look into $HOME when looking for gtk modules
|
||||
|
||||
On the host it causes host contamination, on the target it's a
|
||||
potential security issue. Gtk+3 has already removed this.
|
||||
|
||||
Upstream-Status: Inappropriate [gtk2 is in maintenance mode]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
gtk/gtkmodules.c | 4 ----
|
||||
1 file changed, 4 deletions(-)
|
||||
|
||||
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
|
||||
index 50729b6..e09b583 100644
|
||||
--- a/gtk/gtkmodules.c
|
||||
+++ b/gtk/gtkmodules.c
|
||||
@@ -65,10 +65,6 @@ get_module_path (void)
|
||||
if (result)
|
||||
return result;
|
||||
|
||||
- home_dir = g_get_home_dir();
|
||||
- if (home_dir)
|
||||
- home_gtk_dir = g_build_filename (home_dir, ".gtk-2.0", NULL);
|
||||
-
|
||||
module_path_env = g_getenv ("GTK_PATH");
|
||||
exe_prefix = g_getenv ("GTK_EXE_PREFIX");
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
From a703e2406fda3dc150574ae2f90cb5f4810d0601 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Mon, 29 Aug 2022 00:25:19 -0700
|
||||
Subject: [PATCH] Fix signature of create_menu() function
|
||||
|
||||
Upstream-Status: Inappropriate [EOL]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
tests/testmenubars.c | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/tests/testmenubars.c b/tests/testmenubars.c
|
||||
index 416a939..7f247f8 100644
|
||||
--- a/tests/testmenubars.c
|
||||
+++ b/tests/testmenubars.c
|
||||
@@ -21,7 +21,7 @@
|
||||
#include <gtk/gtk.h>
|
||||
|
||||
static GtkWidget *
|
||||
-create_menu (depth)
|
||||
+create_menu (int depth)
|
||||
{
|
||||
GtkWidget *menu;
|
||||
GtkWidget *menuitem;
|
||||
@@ -70,19 +70,19 @@ create_menubar (GtkPackDirection pack_dir,
|
||||
menuitem = gtk_image_menu_item_new_from_stock (GTK_STOCK_HOME, NULL);
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem);
|
||||
gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle);
|
||||
- menu = create_menu (2, TRUE);
|
||||
+ menu = create_menu (2);
|
||||
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu);
|
||||
|
||||
menuitem = gtk_menu_item_new_with_label ("foo");
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem);
|
||||
gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle);
|
||||
- menu = create_menu (2, TRUE);
|
||||
+ menu = create_menu (2);
|
||||
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu);
|
||||
|
||||
menuitem = gtk_menu_item_new_with_label ("bar");
|
||||
gtk_menu_shell_append (GTK_MENU_SHELL (menubar), menuitem);
|
||||
gtk_label_set_angle (GTK_LABEL (GTK_BIN (menuitem)->child), angle);
|
||||
- menu = create_menu (2, TRUE);
|
||||
+ menu = create_menu (2);
|
||||
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menuitem), menu);
|
||||
|
||||
return menubar;
|
||||
--
|
||||
2.37.2
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
From 3bbf0b6176d42836d23c36a6ac410e807ec0a7a7 Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Clasen <mclasen@redhat.com>
|
||||
Date: Sat, 15 Jun 2024 14:18:01 -0400
|
||||
Subject: [PATCH] Stop looking for modules in cwd
|
||||
|
||||
This is just not a good idea. It is surprising, and can be misused.
|
||||
|
||||
Fixes: #6786
|
||||
|
||||
CVE: CVE-2024-6655
|
||||
|
||||
Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/gtk/-/commit/3bbf0b6176d42836d23c36a6ac410e807ec0a7a7]
|
||||
|
||||
Signed-off-by: Soumya Sambu <soumya.sambu@windriver.com>
|
||||
---
|
||||
gtk/gtkmodules.c | 9 ++-------
|
||||
1 file changed, 2 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
|
||||
index e09b583..e75810c 100644
|
||||
--- a/gtk/gtkmodules.c
|
||||
+++ b/gtk/gtkmodules.c
|
||||
@@ -225,13 +225,8 @@ find_module (const gchar *name)
|
||||
gchar *module_name;
|
||||
|
||||
module_name = _gtk_find_module (name, "modules");
|
||||
- if (!module_name)
|
||||
- {
|
||||
- /* As last resort, try loading without an absolute path (using system
|
||||
- * library path)
|
||||
- */
|
||||
- module_name = g_module_build_path (NULL, name);
|
||||
- }
|
||||
+ if (module_name == NULL)
|
||||
+ return NULL;
|
||||
|
||||
module = g_module_open (module_name, G_MODULE_BIND_LOCAL | G_MODULE_BIND_LAZY);
|
||||
|
||||
--
|
||||
2.40.0
|
||||
@@ -0,0 +1,22 @@
|
||||
There are issues building the gtk+ tutorial and faq documentation.
|
||||
Since they were removed in gtk+ upstream and are superfluous in
|
||||
embedded applications, just don't build them.
|
||||
|
||||
Thanks to Joshua Lock for suggesting this approach.
|
||||
|
||||
Signed-off-by: Scott Garman <scott.a.garman@intel.com>
|
||||
|
||||
Upstream-Status: Inappropriate [embedded specific]
|
||||
|
||||
diff -urN gtk+-2.22.1.orig/docs/Makefile.am gtk+-2.22.1/docs/Makefile.am
|
||||
--- gtk+-2.22.1.orig/docs/Makefile.am 2010-11-15 04:13:09.000000000 -0800
|
||||
+++ gtk+-2.22.1/docs/Makefile.am 2011-02-23 19:25:16.914815097 -0800
|
||||
@@ -1,7 +1,7 @@
|
||||
## Process this file with automake to produce Makefile.in
|
||||
include $(top_srcdir)/Makefile.decl
|
||||
|
||||
-SUBDIRS = tutorial faq reference tools
|
||||
+SUBDIRS = reference tools
|
||||
|
||||
EXTRA_DIST += \
|
||||
defsformat.txt \
|
||||
@@ -0,0 +1,24 @@
|
||||
Fixes
|
||||
|
||||
include/gtk-2.0/gtk/gtkitemfactory.h:47:1: warning: function declaration isn't a prototype [-Wstrict-prototypes]
|
||||
typedef void (*GtkItemFactoryCallback) ();
|
||||
|
||||
gcc5 has -Wstrict-prototypes on by default for -Werror so this becomes a build failure for consumers
|
||||
of this header e.g. matchbox-panel-2
|
||||
|
||||
Upstream-Status: Pending
|
||||
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
Index: gtk+-2.24.27/gtk/gtkitemfactory.h
|
||||
===================================================================
|
||||
--- gtk+-2.24.27.orig/gtk/gtkitemfactory.h
|
||||
+++ gtk+-2.24.27/gtk/gtkitemfactory.h
|
||||
@@ -44,7 +44,7 @@ typedef void (*GtkPrintFunc) (gpoint
|
||||
* (Note that if we are included from a C++ program () will mean
|
||||
* (void) so an explicit cast will be needed.)
|
||||
*/
|
||||
-typedef void (*GtkItemFactoryCallback) ();
|
||||
+typedef void (*GtkItemFactoryCallback) (void);
|
||||
typedef void (*GtkItemFactoryCallback1) (gpointer callback_data,
|
||||
guint callback_action,
|
||||
GtkWidget *widget);
|
||||
@@ -0,0 +1,102 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: gtk/gtkcellrenderertoggle.c
|
||||
===================================================================
|
||||
--- gtk/gtkcellrenderertoggle.c.orig 2010-06-22 18:11:33.000000000 +0800
|
||||
+++ gtk/gtkcellrenderertoggle.c 2010-06-22 18:11:43.000000000 +0800
|
||||
@@ -71,6 +71,8 @@
|
||||
PROP_INDICATOR_SIZE
|
||||
};
|
||||
|
||||
+/* This is a hard-coded default which promptly gets overridden by a size
|
||||
+ calculated from the font size. */
|
||||
#define TOGGLE_WIDTH 13
|
||||
|
||||
static guint toggle_cell_signals[LAST_SIGNAL] = { 0 };
|
||||
@@ -80,8 +82,9 @@
|
||||
typedef struct _GtkCellRendererTogglePrivate GtkCellRendererTogglePrivate;
|
||||
struct _GtkCellRendererTogglePrivate
|
||||
{
|
||||
- gint indicator_size;
|
||||
-
|
||||
+ gint indicator_size; /* This is the real size */
|
||||
+ gint override_size; /* This is the size set from the indicator-size property */
|
||||
+ GtkWidget *cached_widget;
|
||||
guint inconsistent : 1;
|
||||
};
|
||||
|
||||
@@ -104,6 +107,7 @@
|
||||
GTK_CELL_RENDERER (celltoggle)->ypad = 2;
|
||||
|
||||
priv->indicator_size = TOGGLE_WIDTH;
|
||||
+ priv->override_size = 0;
|
||||
priv->inconsistent = FALSE;
|
||||
}
|
||||
|
||||
@@ -210,7 +214,7 @@
|
||||
g_value_set_boolean (value, celltoggle->radio);
|
||||
break;
|
||||
case PROP_INDICATOR_SIZE:
|
||||
- g_value_set_int (value, priv->indicator_size);
|
||||
+ g_value_set_int (value, priv->override_size ? priv->override_size : priv->indicator_size);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
|
||||
@@ -245,7 +249,7 @@
|
||||
celltoggle->radio = g_value_get_boolean (value);
|
||||
break;
|
||||
case PROP_INDICATOR_SIZE:
|
||||
- priv->indicator_size = g_value_get_int (value);
|
||||
+ priv->override_size = g_value_get_int (value);
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec);
|
||||
@@ -273,6 +277,27 @@
|
||||
}
|
||||
|
||||
static void
|
||||
+on_widget_style_set (GtkWidget *widget, GtkStyle *previous, gpointer user_data)
|
||||
+{
|
||||
+ GtkCellRendererTogglePrivate *priv = user_data;
|
||||
+ PangoContext *context;
|
||||
+ PangoFontMetrics *metrics;
|
||||
+ int height;
|
||||
+
|
||||
+ context = gtk_widget_get_pango_context (widget);
|
||||
+ metrics = pango_context_get_metrics (context,
|
||||
+ widget->style->font_desc,
|
||||
+ pango_context_get_language (context));
|
||||
+
|
||||
+ height = pango_font_metrics_get_ascent (metrics) +
|
||||
+ pango_font_metrics_get_descent (metrics);
|
||||
+
|
||||
+ pango_font_metrics_unref (metrics);
|
||||
+
|
||||
+ priv->indicator_size = PANGO_PIXELS (height * 0.85);
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
gtk_cell_renderer_toggle_get_size (GtkCellRenderer *cell,
|
||||
GtkWidget *widget,
|
||||
GdkRectangle *cell_area,
|
||||
@@ -287,6 +312,20 @@
|
||||
|
||||
priv = GTK_CELL_RENDERER_TOGGLE_GET_PRIVATE (cell);
|
||||
|
||||
+ if (priv->override_size) {
|
||||
+ priv->indicator_size = priv->override_size;
|
||||
+ } else if (priv->cached_widget != widget) {
|
||||
+ if (priv->cached_widget) {
|
||||
+ g_object_remove_weak_pointer (widget, &priv->cached_widget);
|
||||
+ g_signal_handlers_disconnect_by_func (priv->cached_widget, on_widget_style_set, priv);
|
||||
+ }
|
||||
+ priv->cached_widget = widget;
|
||||
+ g_object_add_weak_pointer (widget, &priv->cached_widget);
|
||||
+ g_signal_connect (widget, "style-set", on_widget_style_set, priv);
|
||||
+
|
||||
+ on_widget_style_set (widget, NULL, priv);
|
||||
+ }
|
||||
+
|
||||
calc_width = (gint) cell->xpad * 2 + priv->indicator_size;
|
||||
calc_height = (gint) cell->ypad * 2 + priv->indicator_size;
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
Index: gtk+-2.21.2/gdk/x11/gdkevents-x11.c
|
||||
===================================================================
|
||||
--- gtk+-2.21.2.orig/gdk/x11/gdkevents-x11.c 2010-06-22 17:28:04.000000000 +0800
|
||||
+++ gtk+-2.21.2/gdk/x11/gdkevents-x11.c 2010-06-22 17:28:06.000000000 +0800
|
||||
@@ -3062,10 +3062,9 @@
|
||||
{
|
||||
GdkScreenX11 *screen = data;
|
||||
|
||||
- if (xsettings_client_process_event (screen->xsettings_client, (XEvent *)xevent))
|
||||
- return GDK_FILTER_REMOVE;
|
||||
- else
|
||||
- return GDK_FILTER_CONTINUE;
|
||||
+ xsettings_client_process_event (screen->xsettings_client, (XEvent *)xevent);
|
||||
+
|
||||
+ return GDK_FILTER_CONTINUE;
|
||||
}
|
||||
|
||||
static Bool
|
||||
@@ -0,0 +1,35 @@
|
||||
require gtk+.inc
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
|
||||
file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \
|
||||
file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \
|
||||
file://tests/testgtk.c;endline=27;md5=262db5db5f776f9863e56df31423e24c"
|
||||
SRC_URI = "http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${PV}.tar.xz \
|
||||
file://xsettings.patch \
|
||||
file://toggle-font.diff;striplevel=0 \
|
||||
file://doc-fixes.patch \
|
||||
file://strict-prototypes.patch \
|
||||
file://0001-Do-not-look-into-HOME-when-looking-for-gtk-modules.patch \
|
||||
file://0001-Fix-signature-of-create_menu-function.patch \
|
||||
file://CVE-2024-6655.patch \
|
||||
"
|
||||
|
||||
SRC_URI[sha256sum] = "ac2ac757f5942d318a311a54b0c80b5ef295f299c2a73c632f6bfb1ff49cc6da"
|
||||
|
||||
EXTRA_OECONF = "--enable-xkb --disable-glibtest --disable-cups --disable-xinerama"
|
||||
|
||||
LIBV = "2.10.0"
|
||||
|
||||
PACKAGES_DYNAMIC += "^gtk-immodule-.* ^gtk-printbackend-.*"
|
||||
|
||||
python populate_packages:prepend () {
|
||||
gtk_libdir = d.expand('${libdir}/gtk-2.0/${LIBV}')
|
||||
immodules_root = os.path.join(gtk_libdir, 'immodules')
|
||||
printmodules_root = os.path.join(gtk_libdir, 'printbackends');
|
||||
|
||||
d.setVar('GTKIMMODULES_PACKAGES', ' '.join(do_split_packages(d, immodules_root, r'^im-(.*)\.so$', 'gtk-immodule-%s', 'GTK input module for %s')))
|
||||
do_split_packages(d, printmodules_root, r'^libprintbackend-(.*)\.so$', 'gtk-printbackend-%s', 'GTK printbackend module for %s')
|
||||
|
||||
if (d.getVar('DEBIAN_NAMES')):
|
||||
d.setVar(d.expand('PKG:${PN}'), '${MLPREFIX}libgtk-2.0')
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
SUMMARY = "C++ bindings for the GTK+ toolkit V3"
|
||||
HOMEPAGE = "http://www.gtkmm.org/"
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
|
||||
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
DEPENDS = "glib-2.0-native atkmm pangomm glibmm gtk+3 cairomm gdk-pixbuf-native"
|
||||
|
||||
BPN = "gtkmm"
|
||||
|
||||
|
||||
inherit gnomebase features_check
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "1d7a35af9c5ceccacb244ee3c2deb9b245720d8510ac5c7e6f4b6f9947e6789c"
|
||||
|
||||
EXTRA_OEMESON = "-Dbuild-demos=false"
|
||||
|
||||
FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "C++ bindings for the GTK+ toolkit V4"
|
||||
HOMEPAGE = "http://www.gtkmm.org/"
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
|
||||
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
DEPENDS = "glib-2.0-native atkmm pangomm-2.48 glibmm gtk4 cairomm-1.16 gdk-pixbuf-native"
|
||||
|
||||
BPN = "gtkmm"
|
||||
|
||||
inherit gnomebase features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl x11"
|
||||
|
||||
SRC_URI[archive.sha256sum] = "9350a0444b744ca3dc69586ebd1b6707520922b6d9f4f232103ce603a271ecda"
|
||||
|
||||
EXTRA_OEMESON = "-Dbuild-demos=false"
|
||||
|
||||
FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "C++ bindings for the GTK+ toolkit"
|
||||
HOMEPAGE = "http://www.gtkmm.org/"
|
||||
SECTION = "libs"
|
||||
|
||||
LICENSE = "LGPL-2.1-only & GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d8045f3b8f929c1cb29a1e3fd737b499 \
|
||||
file://COPYING.tools;md5=751419260aa954499f7abaabaa882bbe"
|
||||
|
||||
DEPENDS = "atkmm pangomm glibmm gtk+ cairomm"
|
||||
|
||||
GNOMEBASEBUILDCLASS = "autotools"
|
||||
inherit gnomebase features_check
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SRC_URI[archive.md5sum] = "6c59ae8bbff48fad9132f23af347acf1"
|
||||
SRC_URI[archive.sha256sum] = "0680a53b7bf90b4e4bf444d1d89e6df41c777e0bacc96e9c09fc4dd2f5fe6b72"
|
||||
|
||||
EXTRA_OECONF = " --disable-documentation "
|
||||
|
||||
FILES:${PN}-dev += "${libdir}/*/include ${libdir}/*/proc/m4"
|
||||
@@ -0,0 +1,3 @@
|
||||
#! /bin/sh
|
||||
|
||||
gnome-desktop-testing-runner libjcat
|
||||
@@ -0,0 +1,36 @@
|
||||
SUMMARY = "Library for reading and writing Jcat files"
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://LICENSE;md5=1803fa9c2c3ce8cb06b4861d75310742"
|
||||
|
||||
DEPENDS = "\
|
||||
glib-2.0 \
|
||||
json-glib \
|
||||
"
|
||||
|
||||
SRC_URI = "\
|
||||
git://github.com/hughsie/libjcat.git;branch=main;protocol=https \
|
||||
file://run-ptest \
|
||||
"
|
||||
SRCREV = "869e7cf4511b81897512a3f0adb627218e618112"
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit gobject-introspection gtk-doc meson ptest-gnome vala lib_package
|
||||
|
||||
PACKAGECONFIG ??= "\
|
||||
gpg \
|
||||
pkcs7 \
|
||||
${@bb.utils.contains('PTEST_ENABLED', '1', 'tests', '', d)} \
|
||||
"
|
||||
PACKAGECONFIG[gpg] = "-Dgpg=true,-Dgpg=false,gpgme"
|
||||
PACKAGECONFIG[pkcs7] = "-Dpkcs7=true,-Dpkcs7=false,gnutls gnutls-native"
|
||||
PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false"
|
||||
|
||||
# manpage generation is broken because help2man needs to run the target binary on the host...
|
||||
EXTRA_OEMESON = "-Dman=false"
|
||||
GTKDOC_MESON_OPTION = "gtkdoc"
|
||||
|
||||
RDEPENDS:${PN}:class-target = "\
|
||||
${@bb.utils.contains('PACKAGECONFIG', 'gpg', 'gnupg', '', d)} \
|
||||
"
|
||||
|
||||
INSANE_SKIP:${PN}-ptest += "buildpaths"
|
||||
@@ -0,0 +1,82 @@
|
||||
From d798af685e9e1166400acbdab082c17b02dad85b Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Thu, 18 May 2023 23:28:10 -0700
|
||||
Subject: [PATCH] Remove builddir and srcdir paths from test binaries
|
||||
|
||||
Encoding buildtime paths is not needed since if these tests are to be
|
||||
run they will be run on target where builddir structure most certainly
|
||||
wont be available.
|
||||
|
||||
Fixes
|
||||
WARNING: libpeas-1.36.0-r0 do_package_qa: QA Issue: File /usr/bin/peas-demo in package libpeas-demo contains reference to TMPDIR [buildpaths]
|
||||
|
||||
Upstream-Status: Inappropriate [Cross-compile specific]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
peas-demo/meson.build | 2 +-
|
||||
tests/libpeas-gtk/testing/meson.build | 4 ++--
|
||||
tests/libpeas/testing/meson.build | 4 ++--
|
||||
tests/testing-util/meson.build | 4 ++--
|
||||
4 files changed, 7 insertions(+), 7 deletions(-)
|
||||
|
||||
diff --git a/peas-demo/meson.build b/peas-demo/meson.build
|
||||
index a3ec53b..855ebf2 100644
|
||||
--- a/peas-demo/meson.build
|
||||
+++ b/peas-demo/meson.build
|
||||
@@ -9,7 +9,7 @@ peas_demo_c = [
|
||||
|
||||
peas_demo_c_args = [
|
||||
'-DHAVE_CONFIG_H',
|
||||
- '-DPEAS_BUILDDIR="@0@"'.format(builddir),
|
||||
+ '-DPEAS_BUILDDIR="/usr/src/debug/libpeas"',
|
||||
'-DPEAS_PREFIX="@0@"'.format(prefix),
|
||||
'-DPEAS_LIBDIR="@0@"'.format(libdir),
|
||||
]
|
||||
diff --git a/tests/libpeas-gtk/testing/meson.build b/tests/libpeas-gtk/testing/meson.build
|
||||
index 646f42d..fd9a692 100644
|
||||
--- a/tests/libpeas-gtk/testing/meson.build
|
||||
+++ b/tests/libpeas-gtk/testing/meson.build
|
||||
@@ -19,8 +19,8 @@ libpeas_gtk_testing_deps = [
|
||||
|
||||
libpeas_gtk_testing_c_args = [
|
||||
'-DHAVE_CONFIG_H',
|
||||
- '-DBUILDDIR="@0@"'.format(builddir),
|
||||
- '-DSRCDIR="@0@"'.format(srcdir),
|
||||
+ '-DBUILDDIR="/usr/src/debug/libpeas"',
|
||||
+ '-DSRCDIR="/usr/src/debug/libpeas"',
|
||||
]
|
||||
|
||||
libpeas_gtk_testing_lib = library(
|
||||
diff --git a/tests/libpeas/testing/meson.build b/tests/libpeas/testing/meson.build
|
||||
index 74ba7b1..084daa9 100644
|
||||
--- a/tests/libpeas/testing/meson.build
|
||||
+++ b/tests/libpeas/testing/meson.build
|
||||
@@ -21,8 +21,8 @@ libpeas_testing_deps = [
|
||||
|
||||
libpeas_testing_c_args = [
|
||||
'-DHAVE_CONFIG_H',
|
||||
- '-DBUILDDIR="@0@"'.format(builddir),
|
||||
- '-DSRCDIR="@0@"'.format(srcdir),
|
||||
+ '-DBUILDDIR="/usr/src/debug/libpeas"',
|
||||
+ '-DSRCDIR="/usr/src/debug/libpeas"',
|
||||
]
|
||||
|
||||
libpeas_testing_lib = library(
|
||||
diff --git a/tests/testing-util/meson.build b/tests/testing-util/meson.build
|
||||
index 1c40740..83ad059 100644
|
||||
--- a/tests/testing-util/meson.build
|
||||
+++ b/tests/testing-util/meson.build
|
||||
@@ -17,8 +17,8 @@ libtesting_util_deps = [
|
||||
|
||||
libtesting_util_c_args = [
|
||||
'-DHAVE_CONFIG_H',
|
||||
- '-DBUILDDIR="@0@"'.format(builddir),
|
||||
- '-DSRCDIR="@0@"'.format(srcdir),
|
||||
+ '-DBUILDDIR="/usr/src/debug/libpeas"',
|
||||
+ '-DSRCDIR="/usr/src/debug/libpeas"',
|
||||
'-UG_DISABLE_ASSERT',
|
||||
'-UG_DISABLE_CAST_CHECKS',
|
||||
]
|
||||
--
|
||||
2.40.1
|
||||
|
||||
@@ -0,0 +1,28 @@
|
||||
SUMMARY = "libpeas is a gobject-based plugins engine"
|
||||
HOMEPAGE = "https://wiki.gnome.org/Projects/Libpeas"
|
||||
LICENSE = "LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4b54a1fd55a448865a0b32d41598759d"
|
||||
|
||||
DEPENDS = "gtk+3"
|
||||
|
||||
GTKDOC_MESON_OPTION = "gtk_doc"
|
||||
|
||||
inherit gnomebase gobject-introspection gi-docgen gtk-icon-cache features_check
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
# FIXME: When upgrading to libpeas 2, g-i is no longer needed.
|
||||
REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
|
||||
|
||||
SRC_URI += "file://0001-Remove-builddir-and-srcdir-paths-from-test-binaries.patch"
|
||||
SRC_URI[archive.sha256sum] = "297cb9c2cccd8e8617623d1a3e8415b4530b8e5a893e3527bbfd1edd13237b4c"
|
||||
|
||||
PACKAGECONFIG[python3] = "-Dpython3=true,-Dpython3=false,python3-pygobject"
|
||||
|
||||
PACKAGES =+ "${PN}-demo ${PN}-python3"
|
||||
FILES:${PN}-demo = " \
|
||||
${bindir}/peas-demo \
|
||||
${libdir}/peas-demo \
|
||||
"
|
||||
|
||||
RDEPENDS:${PN}-python3 = "python3-pygobject"
|
||||
FILES:${PN}-python3 = "${libdir}/libpeas-1.0/loaders/libpython3loader.so"
|
||||
@@ -0,0 +1,12 @@
|
||||
DESCRIPTION = "A Python module to deal with freedesktop.org specifications"
|
||||
HOMEPAGE = "http://freedesktop.org/wiki/Software/pyxdg"
|
||||
SECTION = "devel/python"
|
||||
LICENSE = "LGPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=f30a9716ef3762e3467a2f62bf790f0a"
|
||||
|
||||
SRCREV = "1d23e483ae869ee9532aca43b133cc43f63626a3"
|
||||
SRC_URI = "git://anongit.freedesktop.org/xdg/pyxdg;branch=master"
|
||||
|
||||
inherit setuptools3
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
Reference in New Issue
Block a user