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,8 @@
|
||||
require core-image-sato.bb
|
||||
|
||||
DESCRIPTION = "Image with Sato for development work. It includes everything \
|
||||
within core-image-sato plus a native toolchain, application development and \
|
||||
testing libraries, profiling and debug symbols."
|
||||
HOMEPAGE = "https://www.yoctoproject.org/"
|
||||
|
||||
IMAGE_FEATURES += "dev-pkgs"
|
||||
15
sources/poky/meta/recipes-sato/images/core-image-sato-sdk.bb
Normal file
15
sources/poky/meta/recipes-sato/images/core-image-sato-sdk.bb
Normal file
@@ -0,0 +1,15 @@
|
||||
require core-image-sato.bb
|
||||
|
||||
DESCRIPTION = "Image with Sato support that includes everything within \
|
||||
core-image-sato plus meta-toolchain, development headers and libraries to \
|
||||
form a standalone SDK."
|
||||
HOMEPAGE = "https://www.yoctoproject.org/"
|
||||
|
||||
IMAGE_FEATURES += "dev-pkgs tools-sdk \
|
||||
tools-debug eclipse-debug tools-profile tools-testapps debug-tweaks ssh-server-openssh"
|
||||
|
||||
IMAGE_INSTALL += "kernel-devsrc"
|
||||
|
||||
# Compiling stuff, specifically SystemTap probes, can require lots of memory
|
||||
# See https://bugzilla.yoctoproject.org/show_bug.cgi?id=14673
|
||||
QB_MEM = "-m 768"
|
||||
18
sources/poky/meta/recipes-sato/images/core-image-sato.bb
Normal file
18
sources/poky/meta/recipes-sato/images/core-image-sato.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "Image with Sato, a mobile environment and visual style for mobile devices."
|
||||
DESCRIPTION = "Image with Sato, a mobile environment and visual style for \
|
||||
mobile devices. The image supports X11 with a Sato theme, Pimlico \
|
||||
applications, and contains terminal, editor, and file manager."
|
||||
HOMEPAGE = "https://www.yoctoproject.org/"
|
||||
|
||||
IMAGE_FEATURES += "splash package-management x11-base x11-sato ssh-server-dropbear hwcodecs"
|
||||
|
||||
LICENSE = "MIT"
|
||||
|
||||
inherit core-image
|
||||
|
||||
TOOLCHAIN_HOST_TASK:append = " nativesdk-intltool nativesdk-glib-2.0"
|
||||
TOOLCHAIN_HOST_TASK:remove:task-populate-sdk-ext = " nativesdk-intltool nativesdk-glib-2.0"
|
||||
|
||||
QB_MEM = '${@bb.utils.contains("DISTRO_FEATURES", "opengl", "-m 512", "-m 256", d)}'
|
||||
QB_MEM:qemuarmv5 = "-m 256"
|
||||
QB_MEM:qemumips = "-m 256"
|
||||
29
sources/poky/meta/recipes-sato/l3afpad/l3afpad_git.bb
Normal file
29
sources/poky/meta/recipes-sato/l3afpad/l3afpad_git.bb
Normal file
@@ -0,0 +1,29 @@
|
||||
SUMMARY = "Simple GTK+ Text Editor"
|
||||
DESCRIPTION = "L3afpad is a simple GTK+ text editor that emphasizes simplicity. As development \
|
||||
focuses on keeping weight down to a minimum, only the most essential features \
|
||||
are implemented in the editor. L3afpad is simple to use, is easily compiled, \
|
||||
requires few libraries, and starts up quickly."
|
||||
HOMEPAGE = "https://github.com/stevenhoneyman/l3afpad"
|
||||
|
||||
# Note that COPYING seems to mistakenly contain LGPL-2.1.
|
||||
# The source code is marked GPL-2.0-or-later and COPYING used to contain
|
||||
# that as well.
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
|
||||
file://src/l3afpad.h;endline=20;md5=8848fd645cd45115d8cb47ca5c42a50e \
|
||||
file://src/utils.c;endline=20;md5=ae4792f69d3bb7b7ba91d582ba9b1a05"
|
||||
|
||||
DEPENDS = "gtk+3 intltool-native gettext-native"
|
||||
|
||||
PV = "0.8.18.1.11+git"
|
||||
SRC_URI = "git://github.com/stevenhoneyman/l3afpad.git;branch=master;protocol=https"
|
||||
SRCREV ="3cdccdc9505643e50f8208171d9eee5de11a42ff"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig features_check mime-xdg
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
|
||||
EXTRA_OECONF = "--disable-emacs --disable-print"
|
||||
FILES:${PN} += "${datadir}/icons"
|
||||
@@ -0,0 +1,24 @@
|
||||
From 989ae1f3651686c1f1046fe1c1596d564c3f452d Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex@linutronix.de>
|
||||
Date: Mon, 13 Dec 2021 14:33:01 +0100
|
||||
Subject: [PATCH] CMakeLists.txt: do not run cross-binary
|
||||
|
||||
Upstream-Status: Inappropriate [issue reported at https://github.com/yusiwen/libptytty/issues/2]
|
||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index c1ad6c0..3bd4d97 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -271,7 +271,7 @@ if(NOT HAVE_UNIX_FDPASS)
|
||||
message(FATAL_ERROR "libptytty requires unix-compliant filehandle passing ability")
|
||||
endif()
|
||||
|
||||
-check_c_source_runs(
|
||||
+check_c_source_compiles(
|
||||
"
|
||||
#include <grp.h>
|
||||
#include <sys/stat.h>
|
||||
13
sources/poky/meta/recipes-sato/libptytty/libptytty_2.0.bb
Normal file
13
sources/poky/meta/recipes-sato/libptytty/libptytty_2.0.bb
Normal file
@@ -0,0 +1,13 @@
|
||||
SUMMARY = " OS independent and secure pty/tty and utmp/wtmp/lastlog handling"
|
||||
HOMEPAGE = "http://software.schmorp.de/pkg/libptytty.html"
|
||||
LICENSE = "GPL-2.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
|
||||
|
||||
SRC_URI = "http://dist.schmorp.de/libptytty/libptytty-${PV}.tar.gz \
|
||||
file://0001-CMakeLists.txt-do-not-run-cross-binary.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "8033ed3aadf28759660d4f11f2d7b030acf2a6890cb0f7926fb0cfa6739d31f7"
|
||||
|
||||
inherit cmake
|
||||
|
||||
EXTRA_OECMAKE:append:libc-musl = " -DWTMP_SUPPORT=OFF"
|
||||
@@ -0,0 +1,39 @@
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
---
|
||||
appearance/mb-appearance.c | 4 ++++
|
||||
1 file changed, 4 insertions(+)
|
||||
|
||||
diff --git a/appearance/mb-appearance.c b/appearance/mb-appearance.c
|
||||
index 6af8376..71fd57b 100644
|
||||
--- a/appearance/mb-appearance.c
|
||||
+++ b/appearance/mb-appearance.c
|
||||
@@ -317,11 +317,13 @@ on_gconf_value_changed (GConfClient* client, const gchar* key, GConfValue* value
|
||||
gtk_font_button_set_font_name (GTK_FONT_BUTTON (font_button),
|
||||
gconf_value_get_string (value));
|
||||
} else if (strcmp (key, HANDED_KEY) == 0) {
|
||||
+#if 0
|
||||
GEnumValue *e;
|
||||
e = g_enum_get_value_by_name (g_type_class_ref (GTK_TYPE_CORNER_TYPE),
|
||||
gconf_value_get_string (value));
|
||||
gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (handed_check),
|
||||
e->value == GTK_CORNER_TOP_RIGHT);
|
||||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
@@ -408,10 +410,12 @@ main (int argc, char **argv) {
|
||||
|
||||
/* Left/Right Handed */
|
||||
|
||||
+#if 0
|
||||
handed_check = gtk_check_button_new_with_mnemonic (_("_Left-handed"));
|
||||
frame = new_frame (_("Orientation"),handed_check);
|
||||
gtk_box_pack_start (GTK_BOX (box), frame, TRUE, TRUE, 0);
|
||||
g_signal_connect (handed_check, "toggled", G_CALLBACK (on_handed_set), NULL);
|
||||
+#endif
|
||||
|
||||
gconf_client_add_dir (gconf, INTERFACE_DIR, GCONF_CLIENT_PRELOAD_ONELEVEL, NULL);
|
||||
g_signal_connect (gconf, "value-changed", G_CALLBACK (on_gconf_value_changed), NULL);
|
||||
--
|
||||
2.8.1
|
||||
|
||||
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "Matchbox GTK+ theme configuration application"
|
||||
HOMEPAGE = "http://matchbox-project.org"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://appearance/mb-appearance.c;endline=25;md5=f49d7ae8b8634a94315410cd2e055bdf"
|
||||
|
||||
DEPENDS = "gconf gtk+3"
|
||||
RDEPENDS:${PN} = "settings-daemon"
|
||||
|
||||
SRCREV = "7182e603357250952aa24d90f6d89345f93da7ce"
|
||||
SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https \
|
||||
file://no-handed.patch"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
PV = "0.2+git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
# The settings-daemon requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
@@ -0,0 +1,5 @@
|
||||
[Desktop Entry]
|
||||
Name=All
|
||||
Icon=mbfolder.png
|
||||
Type=Directory
|
||||
Match=meta-all
|
||||
@@ -0,0 +1,6 @@
|
||||
[Desktop Entry]
|
||||
Name=Applications
|
||||
Comment=Applications
|
||||
Icon=gnome-applications.png
|
||||
Type=Directory
|
||||
Match=AudioVideo;Audio;Video;Graphics;Network;Office;Utility;System;Development;meta-fallback;
|
||||
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Games
|
||||
Name[de]=Spiele
|
||||
Comment=Games of all kind
|
||||
Comment[de]=Spiele aller Art
|
||||
Icon=mbfolder.png
|
||||
Type=Directory
|
||||
Match=Game
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
Applications
|
||||
Games
|
||||
Settings
|
||||
All
|
||||
@@ -0,0 +1,8 @@
|
||||
[Desktop Entry]
|
||||
Name=Settings
|
||||
Name[de]=Einstellungen
|
||||
Comment=Settings for your handheld computer
|
||||
Comment[de]=Einstellungen für Ihren Handheld-Computer
|
||||
Icon=mbfolder.png
|
||||
Type=Directory
|
||||
Match=Settings
|
||||
@@ -0,0 +1,33 @@
|
||||
SUMMARY = "Matchbox Window Manager Desktop"
|
||||
DESCRIPTION = "A lightweight windows manager for embedded systems. It uses the desktop background to provide an application launcher and allows modules to be loaded for additional functionality."
|
||||
HOMEPAGE = "http://matchbox-project.org/"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later & LGPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://src/desktop.c;endline=20;md5=2e488557570c7dee53bfd0567e4273a9 \
|
||||
file://src/main.c;endline=19;md5=5d2234b35efa927ab3ae36ebac52ba59"
|
||||
|
||||
DEPENDS = "gtk+3 startup-notification dbus"
|
||||
SECTION = "x11/wm"
|
||||
|
||||
SRCREV = "0fd6a0c3f3b7bbf4f4b46190d71f7aef35d6bbfd"
|
||||
SRC_URI = "git://git.yoctoproject.org/${BPN}-2;branch=master;protocol=https \
|
||||
file://vfolders/ \
|
||||
"
|
||||
|
||||
EXTRA_OECONF = "--enable-startup-notification --with-dbus"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
# The startup-notification requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
do_install:append() {
|
||||
install -d ${D}${datadir}/matchbox/vfolders/
|
||||
install -m 0644 ${WORKDIR}/vfolders/* ${D}${datadir}/matchbox/vfolders/
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/matchbox/vfolders/"
|
||||
@@ -0,0 +1,33 @@
|
||||
From 38da4cd575edb7463cfff241afff64c2f66ea09a Mon Sep 17 00:00:00 2001
|
||||
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
Date: Tue, 12 Apr 2016 09:40:37 +0300
|
||||
Subject: [PATCH] desktop file: Hide the keyboard from app list
|
||||
|
||||
matchbox-keyboard is not a normal app and there's no need to start
|
||||
it via the desktop app grid when using Sato desktop:
|
||||
* when there's no hardware keyboard, the panel applet can be used to
|
||||
show/hide the daemonized matchbox-keyboard
|
||||
* when there is a hardware keyboard, matchbox-keyboard can still be
|
||||
started for debug purposes from command line or the applet can be
|
||||
enabled by editing /etc/formfactor/machconfig
|
||||
|
||||
So hide the keyboard from the desktop app list.
|
||||
|
||||
Upstream-Status: Inappropriate [configuration]
|
||||
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
---
|
||||
matchbox-keyboard.desktop | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/matchbox-keyboard.desktop b/matchbox-keyboard.desktop
|
||||
index c092bfe..613d349 100644
|
||||
--- a/matchbox-keyboard.desktop
|
||||
+++ b/matchbox-keyboard.desktop
|
||||
@@ -6,3 +6,4 @@ Type=Application
|
||||
Icon=matchbox-keyboard.png
|
||||
Categories=Panel;Utility;MB
|
||||
X-MB-INPUT-MECHANSIM=True
|
||||
+NoDisplay=true
|
||||
--
|
||||
2.1.4
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/formfactor/config
|
||||
|
||||
CMD=""
|
||||
|
||||
if [ "$HAVE_KEYBOARD" = "0" ]; then
|
||||
CMD="matchbox-keyboard -d"
|
||||
elif [ "$DISPLAY_CAN_ROTATE" = "1" ]; then
|
||||
if [ "$HAVE_KEYBOARD_PORTRAIT" = "1" -a "$HAVE_KEYBOARD_LANDSCAPE" = "0" ]; then
|
||||
CMD="matchbox-keyboard -d -o landscape"
|
||||
elif [ "$HAVE_KEYBOARD_LANDSCAPE" = "1" -a "$HAVE_KEYBOARD_PORTRAIT" = "0" ]; then
|
||||
CMD="matchbox-keyboard -d -o portrait"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [ "$CMD" ]; then
|
||||
# Delay to make sure the window manager is active
|
||||
# by waiting for the desktop to say its finished loading
|
||||
dbus-wait org.matchbox_project.desktop Loaded && $CMD &
|
||||
fi
|
||||
@@ -0,0 +1,60 @@
|
||||
SUMMARY = "Matchbox virtual keyboard for X11"
|
||||
DESCRIPTION = "An on screen 'virtual' or 'software' keyboard."
|
||||
HOMEPAGE = "http://matchbox-project.org"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
SECTION = "x11"
|
||||
|
||||
LICENSE = "LGPL-2.1-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
|
||||
file://src/matchbox-keyboard.h;endline=17;md5=9d6586c69e4a926f3cb0b4425f24ba3c \
|
||||
file://applet/applet.c;endline=18;md5=4a0f721724746b14d95b51ddd42b95e7"
|
||||
|
||||
DEPENDS = "libfakekey expat libxft"
|
||||
|
||||
#SRCREV for 0.1.1
|
||||
SRCREV = "630d89068dc0a1e9199306d405cb32f892dfa4d3"
|
||||
SRC_URI = "git://git.yoctoproject.org/${BPN};branch=matchbox-keyboard-0-1;protocol=https \
|
||||
file://0001-desktop-file-Hide-the-keyboard-from-app-list.patch \
|
||||
file://80matchboxkeyboard.sh"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig gettext gtk-immodules-cache features_check
|
||||
|
||||
# The libxft, libfakekey and matchbox-panel-2 requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
EXTRA_OECONF = "--disable-cairo"
|
||||
|
||||
PACKAGECONFIG ??= "gtk3-im applet"
|
||||
PACKAGECONFIG[applet] = "--enable-applet,--disable-applet,matchbox-panel-2"
|
||||
PACKAGECONFIG[gtk2-im] = "--enable-gtk-im,--disable-gtk-im,gtk+"
|
||||
PACKAGECONFIG[gtk3-im] = "--enable-gtk3-im,--disable-gtk3-im,gtk+3"
|
||||
|
||||
PACKAGES += "${PN}-im ${PN}-applet"
|
||||
|
||||
FILES:${PN} = "${bindir}/ \
|
||||
${sysconfdir} \
|
||||
${datadir}/applications \
|
||||
${datadir}/pixmaps \
|
||||
${datadir}/matchbox-keyboard"
|
||||
|
||||
FILES:${PN}-im = "${libdir}/gtk-2.0/*/immodules/*.so \
|
||||
${libdir}/gtk-3.0/*/immodules/*.so"
|
||||
|
||||
FILES:${PN}-applet = "${libdir}/matchbox-panel/*.so"
|
||||
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}/${sysconfdir}/X11/Xsession.d/
|
||||
install -m 755 ${WORKDIR}/80matchboxkeyboard.sh ${D}/${sysconfdir}/X11/Xsession.d/
|
||||
|
||||
rm -f ${D}${libdir}/gtk-2.0/*/immodules/*.la
|
||||
rm -f ${D}${libdir}/gtk-3.0/*/immodules/*.la
|
||||
rm -f ${D}${libdir}/matchbox-panel/*.la
|
||||
}
|
||||
|
||||
GTKIMMODULES_PACKAGES = "${PN}-im"
|
||||
|
||||
RDEPENDS:${PN} = "formfactor dbus-wait"
|
||||
RRECOMMENDS:${PN} = "${PN}-applet"
|
||||
@@ -0,0 +1,34 @@
|
||||
From f83a9179696b2d060ee4860733dafbf38bbd4b87 Mon Sep 17 00:00:00 2001
|
||||
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
Date: Wed, 28 Sep 2016 15:05:41 +0300
|
||||
Subject: [PATCH] applets/systray: Allow icons to be smaller
|
||||
|
||||
Don't expand/fill the systray items, align them in the center of the
|
||||
systray panel. This makes sure the icons are drawn at the size they
|
||||
expect.
|
||||
|
||||
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
||||
Upstream-Status: Submitted
|
||||
---
|
||||
applets/systray/systray.c | 5 +++--
|
||||
1 file changed, 3 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/applets/systray/systray.c b/applets/systray/systray.c
|
||||
index 39698a8..94a5753 100644
|
||||
--- a/applets/systray/systray.c
|
||||
+++ b/applets/systray/systray.c
|
||||
@@ -29,8 +29,9 @@ on_realize (GtkWidget *widget, gpointer user_data)
|
||||
tray = (GtkWidget *)na_tray_new_for_screen (screen, orientation);
|
||||
|
||||
gtk_widget_show (tray);
|
||||
-
|
||||
- gtk_container_add (GTK_CONTAINER (widget), tray);
|
||||
+ gtk_widget_set_valign (tray, GTK_ALIGN_CENTER);
|
||||
+ gtk_widget_set_halign (tray, GTK_ALIGN_CENTER);
|
||||
+ gtk_box_pack_start (GTK_BOX (widget), tray, FALSE, FALSE, 0);
|
||||
}
|
||||
|
||||
G_MODULE_EXPORT GtkWidget *
|
||||
--
|
||||
2.1.4
|
||||
|
||||
@@ -0,0 +1,39 @@
|
||||
SUMMARY = "Simple GTK+ based panel for handheld devices"
|
||||
DESCRIPTION = "A flexible always present 'window bar' for holding application \
|
||||
launchers and small 'applet' style applications"
|
||||
HOMEPAGE = "http://matchbox-project.org"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://matchbox-panel/mb-panel.h;endline=10;md5=f007add2f09d6a1920ee5a28645e9ce1 \
|
||||
file://applets/startup/startup.c;endline=22;md5=9ee7a4192e53cc00041ef445d4ff6909"
|
||||
|
||||
DEPENDS = "gtk+3 startup-notification dbus dbus-glib dbus-glib-native"
|
||||
DEPENDS += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "libacpi", "",d)}"
|
||||
|
||||
# The startup-notification requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SRCREV = "39fdbc40888c1c75cd7bfd9fd341e6ad58487fce"
|
||||
|
||||
RPROVIDES:${PN} = "matchbox-panel"
|
||||
RREPLACES:${PN} = "matchbox-panel"
|
||||
RCONFLICTS:${PN} = "matchbox-panel"
|
||||
|
||||
SRC_URI = "git://git.yoctoproject.org/${BPN};protocol=https;branch=master \
|
||||
file://0001-applets-systray-Allow-icons-to-be-smaller.patch \
|
||||
"
|
||||
|
||||
EXTRA_OECONF = "--enable-startup-notification --enable-dbus"
|
||||
EXTRA_OECONF += " ${@bb.utils.contains("MACHINE_FEATURES", "acpi", "--with-battery=acpi", "",d)}"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
FILES:${PN} += "${libdir}/matchbox-panel/*.so \
|
||||
${datadir}/matchbox-panel/brightness/*.png \
|
||||
${datadir}/matchbox-panel/startup/*.png \
|
||||
${datadir}/icons/"
|
||||
FILES:${PN}-dev += "${libdir}/matchbox-panel/*.la"
|
||||
|
||||
inherit autotools pkgconfig features_check gettext
|
||||
@@ -0,0 +1,7 @@
|
||||
[X-GNOME-Metatheme]
|
||||
Encoding=UTF-8
|
||||
Type=X-GNOME-Metatheme
|
||||
Name=Sato
|
||||
GtkTheme=Adwaita
|
||||
IconTheme=Sato
|
||||
MatchboxTheme=Sato
|
||||
@@ -0,0 +1,30 @@
|
||||
#!/bin/sh
|
||||
|
||||
. /etc/formfactor/config
|
||||
|
||||
if [ "$HAVE_TOUCHSCREEN" = "1" ]; then
|
||||
SHOWCURSOR="no"
|
||||
else
|
||||
SHOWCURSOR="yes"
|
||||
fi
|
||||
|
||||
if [ "$HAVE_KEYBOARD" = "1" ]; then
|
||||
KEYBOARD_APPLET=""
|
||||
else
|
||||
KEYBOARD_APPLET="keyboard"
|
||||
fi
|
||||
|
||||
matchbox-desktop &
|
||||
|
||||
# Lines containing feature-[foo] are removed at build time if the machine
|
||||
# doesn't have the feature "foo".
|
||||
|
||||
START_APPLETS=showdesktop,windowselector
|
||||
END_APPLETS=$KEYBOARD_APPLET,systray,startup-notify,notify
|
||||
END_APPLETS=battery,$END_APPLETS # feature-acpi
|
||||
END_APPLETS=clock,$END_APPLETS
|
||||
END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone
|
||||
|
||||
matchbox-panel --start-applets $START_APPLETS --end-applets $END_APPLETS &
|
||||
|
||||
exec matchbox-window-manager -theme Sato -use_cursor $SHOWCURSOR $@
|
||||
@@ -0,0 +1,55 @@
|
||||
SUMMARY = "Custom Matchbox session files for the Sato environment"
|
||||
HOMEPAGE = "http://www.matchbox-project.org/"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be63"
|
||||
|
||||
SECTION = "x11"
|
||||
RDEPENDS:${PN} = "formfactor matchbox-theme-sato matchbox-panel-2 matchbox-desktop matchbox-session gconf"
|
||||
|
||||
# This package is architecture specific because the session script is modified
|
||||
# based on the machine architecture.
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit features_check
|
||||
|
||||
# The matchbox-theme-sato requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SRC_URI = "file://session \
|
||||
file://index.theme"
|
||||
S = "${WORKDIR}"
|
||||
|
||||
FILES:${PN} += "${datadir}/themes/Sato/index.theme"
|
||||
|
||||
do_install() {
|
||||
# This is the set of machine features that the script has markers for
|
||||
FEATURES="acpi phone"
|
||||
SCRIPT="${S}/sedder"
|
||||
rm -f $SCRIPT
|
||||
touch $SCRIPT
|
||||
for FEAT in $FEATURES; do
|
||||
if echo ${MACHINE_FEATURES} | awk "/$FEAT/ {exit 1}"; then
|
||||
echo "/feature-$FEAT/d" >> $SCRIPT
|
||||
fi
|
||||
done
|
||||
|
||||
install -D ${S}/index.theme ${D}/${datadir}/themes/Sato/index.theme
|
||||
install -d ${D}/${sysconfdir}/matchbox
|
||||
sed -f "$SCRIPT" ${S}/session > ${D}/${sysconfdir}/matchbox/session
|
||||
chmod +x ${D}/${sysconfdir}/matchbox/session
|
||||
}
|
||||
|
||||
PACKAGE_WRITE_DEPS += "gconf-native"
|
||||
pkg_postinst:${PN} () {
|
||||
set_value() {
|
||||
#type, name, value
|
||||
gconftool-2 --config-source=xml::$D${sysconfdir}/gconf/gconf.xml.defaults --direct --type $1 --set /desktop/poky/interface/$2 "$3"
|
||||
}
|
||||
set_value string theme Adwaita
|
||||
set_value string matchbox_theme Sato
|
||||
set_value string icon_theme Sato
|
||||
set_value bool touchscreen true
|
||||
set_value string font_name "Sans 9"
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
SUMMARY = "Lightweight GTK+ terminal application"
|
||||
HOMEPAGE = "http://www.matchbox-project.org/"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://main.c;endline=20;md5=7d9d802a36298b5c74440a880e2f4817"
|
||||
|
||||
DEPENDS = "gtk+3 vte"
|
||||
SECTION = "x11/utils"
|
||||
|
||||
SRCREV = "99e6eb7db1b5fef110973d96194eec992a2515a2"
|
||||
SRC_URI = "git://git.yoctoproject.org/${BPN};branch=master;protocol=https"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
PV = "0.2+git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
@@ -0,0 +1,16 @@
|
||||
SUMMARY = "Matchbox window manager Sato themes"
|
||||
HOMEPAGE = "http://www.matchbox-project.org/"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
|
||||
LICENSE = "CC-BY-SA-3.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=aae86bb34b0a83716ca09f4e783d6ba4"
|
||||
|
||||
DEPENDS = "matchbox-wm"
|
||||
SECTION = "x11/wm"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
FILES:${PN} += "${datadir}/themes"
|
||||
|
||||
# The matchbox-wm requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
@@ -0,0 +1,8 @@
|
||||
require matchbox-theme-sato.inc
|
||||
|
||||
# SRCREV tagged 0.2
|
||||
SRCREV = "df085ba9cdaeaf2956890b0e29d7ea1779bf6c78"
|
||||
SRC_URI = "git://git.yoctoproject.org/matchbox-sato;branch=master;protocol=https"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
@@ -0,0 +1,62 @@
|
||||
#
|
||||
# Copyright (C) 2007-2008 OpenedHand Ltd.
|
||||
#
|
||||
|
||||
SUMMARY = "Sato desktop"
|
||||
DESCRIPTION = "Packagegroups provide a convenient mechanism of bundling a collection of packages."
|
||||
HOMEPAGE = "https://www.yoctoproject.org/"
|
||||
|
||||
PACKAGE_ARCH = "${MACHINE_ARCH}"
|
||||
|
||||
inherit packagegroup features_check
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
PACKAGES = "${PN} ${PN}-base ${PN}-apps ${PN}-games"
|
||||
|
||||
RDEPENDS:${PN} = "\
|
||||
${PN}-base \
|
||||
${PN}-apps \
|
||||
${PN}-games \
|
||||
"
|
||||
|
||||
NETWORK_MANAGER ?= "connman-gnome"
|
||||
|
||||
SUMMARY:${PN}-base = "Sato desktop - base packages"
|
||||
RDEPENDS:${PN}-base = "\
|
||||
matchbox-desktop \
|
||||
matchbox-session-sato \
|
||||
matchbox-keyboard \
|
||||
matchbox-keyboard-applet \
|
||||
matchbox-keyboard-im \
|
||||
matchbox-config-gtk \
|
||||
xcursor-transparent-theme \
|
||||
sato-icon-theme \
|
||||
settings-daemon \
|
||||
shutdown-desktop \
|
||||
${NETWORK_MANAGER} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'udev-extraconf', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'pulseaudio', 'pulseaudio-server pulseaudio-client-conf-sato pulseaudio-misc', '', d)} \
|
||||
"
|
||||
|
||||
FILEMANAGER ?= "pcmanfm"
|
||||
|
||||
WEB ?= ""
|
||||
#WEB = "epiphany"
|
||||
|
||||
GSTEXAMPLES ?= "gst-examples"
|
||||
GSTEXAMPLES:riscv64 = ""
|
||||
|
||||
SUMMARY:${PN}-apps = "Sato desktop - applications"
|
||||
RDEPENDS:${PN}-apps = "\
|
||||
l3afpad \
|
||||
matchbox-terminal \
|
||||
sato-screenshot \
|
||||
${FILEMANAGER} \
|
||||
${GSTEXAMPLES} \
|
||||
${WEB} \
|
||||
"
|
||||
|
||||
SUMMARY:${PN}-games = "Sato desktop - games"
|
||||
RDEPENDS:${PN}-games = "\
|
||||
puzzles \
|
||||
"
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 999 B |
Binary file not shown.
|
After Width: | Height: | Size: 2.0 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 3.1 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,15 @@
|
||||
Disable the desktop preferences launcher as we don't use the pcmanfm desktop in
|
||||
Sato.
|
||||
|
||||
Upstream-Status: Inappropriate
|
||||
Signed-off-by: Ross Burton <ross.burton@intel.com>
|
||||
|
||||
diff --git a/data/pcmanfm-desktop-pref.desktop b/data/pcmanfm-desktop-pref.desktop
|
||||
index ccf8abb..3f6fc1c 100644
|
||||
--- a/data/pcmanfm-desktop-pref.desktop.in
|
||||
+++ b/data/pcmanfm-desktop-pref.desktop.in
|
||||
@@ -7,3 +7,4 @@ Exec=pcmanfm --desktop-pref
|
||||
StartupNotify=true
|
||||
Terminal=false
|
||||
NotShowIn=GNOME;XFCE;KDE;MATE;
|
||||
+NoDisplay=true
|
||||
42
sources/poky/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb
Normal file
42
sources/poky/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb
Normal file
@@ -0,0 +1,42 @@
|
||||
SUMMARY = "Fast lightweight tabbed filemanager"
|
||||
DESCRIPTION = "A free file manager application and the standard file manager of LXDE."
|
||||
HOMEPAGE = "http://pcmanfm.sourceforge.net/"
|
||||
|
||||
LICENSE = "GPL-2.0-only & GPL-2.0-or-later & LGPL-2.1-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552 \
|
||||
file://src/pcmanfm.h;endline=22;md5=417b3855771a3a87f8ad753d994491f0 \
|
||||
file://src/gseal-gtk-compat.h;endline=21;md5=46922c8691f58d124f9420fe16149ce2"
|
||||
|
||||
SECTION = "x11"
|
||||
DEPENDS = "gtk+3 startup-notification libfm intltool-native gettext-native glib-2.0-native"
|
||||
|
||||
SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/pcmanfm-${PV}.tar.xz \
|
||||
file://gnome-fs-directory.png \
|
||||
file://gnome-fs-regular.png \
|
||||
file://gnome-mime-text-plain.png \
|
||||
file://emblem-symbolic-link.png \
|
||||
file://no-desktop.patch"
|
||||
|
||||
SRC_URI[sha256sum] = "14cb7b247493c4cce65fbb5902611e3ad00a7a870fbc1e50adc50428c5140cf7"
|
||||
|
||||
UPSTREAM_CHECK_URI = "http://sourceforge.net/projects/pcmanfm/files/PCManFM%20%2B%20Libfm%20%28tarball%20release%29/PCManFM/"
|
||||
|
||||
inherit autotools pkgconfig features_check mime-xdg
|
||||
|
||||
# The startup-notification requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
EXTRA_OECONF = "--with-gtk=3"
|
||||
# GCC 14 finds extra incompatible pointer type warnings which are treated as errors
|
||||
CFLAGS += "-Wno-error=incompatible-pointer-types"
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}/${datadir}
|
||||
install -d ${D}/${datadir}/pixmaps/
|
||||
|
||||
install -m 0644 ${WORKDIR}/*.png ${D}/${datadir}/pixmaps
|
||||
}
|
||||
|
||||
FILES:${PN} += "${libdir}/pcmanfm"
|
||||
|
||||
RRECOMMENDS:${PN} += "adwaita-icon-theme"
|
||||
@@ -0,0 +1,7 @@
|
||||
# We rely on PulseAudio's autospawn feature to automatically start the daemon
|
||||
# in Sato. The graphical session in Sato runs under root, however, and
|
||||
# PulseAudio disables autospawning for root by default. In a normal setup it's
|
||||
# not desirable to autospawn for root, because it can easily interfere with
|
||||
# other users' PulseAudio instances, but in Sato there are no other users, so
|
||||
# it's OK to enable this in Sato.
|
||||
allow-autospawn-for-root = yes
|
||||
@@ -0,0 +1,17 @@
|
||||
SUMMARY = "/etc/pulse/client.conf tailored for Sato"
|
||||
SECTION = "multimedia"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
SRC_URI = "file://50-sato.conf"
|
||||
S = "${WORKDIR}"
|
||||
|
||||
inherit allarch
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/pulse/client.conf.d
|
||||
install -m 0644 ${S}/50-sato.conf ${D}${sysconfdir}/pulse/client.conf.d/50-sato.conf
|
||||
}
|
||||
|
||||
FILES:${PN} = "${sysconfdir}/pulse/client.conf.d/50-sato.conf"
|
||||
CONFFILES:${PN} = "${sysconfdir}/pulse/client.conf.d/50-sato.conf"
|
||||
52
sources/poky/meta/recipes-sato/puzzles/puzzles_git.bb
Normal file
52
sources/poky/meta/recipes-sato/puzzles/puzzles_git.bb
Normal file
@@ -0,0 +1,52 @@
|
||||
SUMMARY = "Simon Tatham's Portable Puzzle Collection"
|
||||
DESCRIPTION = "Collection of small computer programs which implement one-player puzzle games."
|
||||
HOMEPAGE = "http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://LICENCE;md5=191542b32377bde254e9799e0a46f18b"
|
||||
|
||||
# gtk support includes a bunch of x11 headers
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
SRC_URI = "git://git.tartarus.org/simon/puzzles.git;branch=main;protocol=https"
|
||||
|
||||
UPSTREAM_CHECK_COMMITS = "1"
|
||||
SRCREV = "80aac3104096aee4057b675c53ece8e60793aa90"
|
||||
PE = "2"
|
||||
PV = "0.0+git"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit cmake features_check pkgconfig
|
||||
|
||||
DEPENDS += "gtk+3"
|
||||
|
||||
do_install:append () {
|
||||
# net conflicts with Samba, so rename it
|
||||
mv ${D}${bindir}/net ${D}${bindir}/puzzles-net
|
||||
rm ${D}/${datadir}/applications/net.desktop
|
||||
|
||||
# Create desktop shortcuts
|
||||
install -d ${D}/${datadir}/applications/
|
||||
cd ${D}/${prefix}/bin
|
||||
for prog in *; do
|
||||
if [ -x $prog ]; then
|
||||
# Convert prog to Title Case
|
||||
title=$(echo $prog | sed 's/puzzles-//' | sed 's/\(^\| \)./\U&/g')
|
||||
echo "making ${D}/${datadir}/applications/$prog.desktop"
|
||||
cat <<STOP > ${D}/${datadir}/applications/$prog.desktop
|
||||
[Desktop Entry]
|
||||
Name=$title
|
||||
Exec=${bindir}/$prog
|
||||
Icon=applications-games
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Game;
|
||||
StartupNotify=true
|
||||
STOP
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
CVE_STATUS[CVE-2024-13769] = "cpe-incorrect: issue in ThemeREX's Wordpress theme Puzzles"
|
||||
CVE_STATUS[CVE-2024-13770] = "cpe-incorrect: issue in ThemeREX's Wordpress theme Puzzles"
|
||||
CVE_STATUS[CVE-2025-0837] = "cpe-incorrect: issue in ThemeREX's Wordpress theme Puzzles"
|
||||
62
sources/poky/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
Normal file
62
sources/poky/meta/recipes-sato/rxvt-unicode/rxvt-unicode.inc
Normal file
@@ -0,0 +1,62 @@
|
||||
SECTION = "x11/utils"
|
||||
SUMMARY = "rxvt terminal clone supporting unicode"
|
||||
DESCRIPTION = "rxvt-unicode is a clone of the well known \
|
||||
terminal emulator rxvt, modified to store text in Unicode \
|
||||
(either UCS-2 or UCS-4) and to use locale-correct input and \
|
||||
output. It also supports mixing multiple fonts at the \
|
||||
same time, including Xft fonts."
|
||||
HOMEPAGE = "https://rxvt.org/"
|
||||
DEPENDS = "virtual/libx11 libxt libxft gdk-pixbuf libxmu libptytty ncurses-native"
|
||||
|
||||
SRC_URI = "http://dist.schmorp.de/rxvt-unicode/Attic/rxvt-unicode-${PV}.tar.bz2 \
|
||||
file://xwc.patch \
|
||||
file://rxvt.desktop \
|
||||
file://rxvt.png"
|
||||
|
||||
inherit autotools pkgconfig update-alternatives
|
||||
|
||||
PROVIDES = "virtual/x-terminal-emulator"
|
||||
ALTERNATIVE:${PN} = "x-terminal-emulator"
|
||||
ALTERNATIVE_TARGET[x-terminal-emulator] = "${bindir}/rxvt"
|
||||
|
||||
CFLAGS:append = " -fpermissive"
|
||||
|
||||
EXTRA_OECONF = "--enable-xim \
|
||||
--with-term=rxvt --enable-keepscrolling \
|
||||
--enable-xft --with-name=rxvt --enable-frills \
|
||||
--enable-swapscreen --enable-transparency \
|
||||
--with-codesets=eu --enable-pointer-blank \
|
||||
--enable-text-blink --enable-rxvt-scroll \
|
||||
--enable-combining --disable-perl \
|
||||
--with-x=${STAGING_DIR_HOST}${prefix} \
|
||||
ac_cv_path_TIC=:"
|
||||
|
||||
PACKAGECONFIG ??= ""
|
||||
PACKAGECONFIG[startup] = "--enable-startup-notification,--disable-startup-notification,startup-notification,"
|
||||
|
||||
do_configure:prepend () {
|
||||
if [ ! -e ${S}/acinclude.m4 ]; then
|
||||
cp ${S}/aclocal.m4 ${S}/acinclude.m4
|
||||
fi
|
||||
}
|
||||
|
||||
do_compile:prepend () {
|
||||
echo '#define UTMP_FILE "${localstatedir}/run/utmp"' >> config.h
|
||||
echo '#define WTMP_FILE "${localstatedir}/log/wtmp"' >> config.h
|
||||
echo '#define LASTLOG_FILE "${localstatedir}/log/lastlog"' >> config.h
|
||||
echo '#define HAVE_XLOCALE 1' >> config.h
|
||||
}
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}/${datadir}
|
||||
install -d ${D}/${datadir}/applications
|
||||
install -d ${D}/${datadir}/pixmaps/
|
||||
|
||||
install -m 0644 ${WORKDIR}/rxvt.png ${D}/${datadir}/pixmaps
|
||||
install -m 0644 ${WORKDIR}/rxvt.desktop ${D}/${datadir}/applications
|
||||
|
||||
${STAGING_BINDIR_NATIVE}/tic -x ${S}/doc/etc/rxvt-unicode.terminfo -o ${D}${datadir}/terminfo || \
|
||||
${STAGING_BINDIR_NATIVE}/tic ${S}/doc/etc/rxvt-unicode.terminfo -o ${D}${datadir}/terminfo
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/applications/rxvt.desktop ${datadir}/pixmaps/rxvt.png ${datadir}/terminfo"
|
||||
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
Name=Rxvt Terminal
|
||||
Comment=A unicode capable rxvt clone
|
||||
Exec=rxvt
|
||||
Icon=utilities-terminal
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;TerminalEmulator;
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 2.8 KiB |
@@ -0,0 +1,26 @@
|
||||
Upstream-Status: Pending
|
||||
|
||||
diff -ruN rxvt-unicode-9.10-orig//src/screen.C rxvt-unicode-9.10/src/screen.C
|
||||
--- rxvt-unicode-9.10-orig//src/screen.C 2011-04-19 13:34:01.327664984 +0800
|
||||
+++ rxvt-unicode-9.10/src/screen.C 2011-04-19 13:34:47.037665001 +0800
|
||||
@@ -3152,7 +3152,7 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
-#if 0
|
||||
+#if HAVE_XWC
|
||||
XTextProperty ct;
|
||||
|
||||
if (XwcTextListToTextProperty (dpy, &selection.text, 1, XStringStyle, &ct) >= 0)
|
||||
@@ -3734,9 +3734,11 @@
|
||||
}
|
||||
else
|
||||
#endif
|
||||
+#ifdef HAVE_XWC
|
||||
if (XwcTextListToTextProperty (dpy, &cl, 1, (XICCEncodingStyle) style, &ct) >= 0)
|
||||
freect = 1;
|
||||
else
|
||||
+#endif
|
||||
{
|
||||
/* if we failed to convert then send it raw */
|
||||
ct.value = (unsigned char *)cl;
|
||||
@@ -0,0 +1,8 @@
|
||||
require rxvt-unicode.inc
|
||||
|
||||
LICENSE = "GPL-3.0-only"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
|
||||
file://src/main.C;beginline=1;endline=31;md5=d3600d7ee1062667fcd1193fbe6485f6"
|
||||
|
||||
SRC_URI[sha256sum] = "aaa13fcbc149fe0f3f391f933279580f74a96fd312d6ed06b8ff03c2d46672e8"
|
||||
|
||||
@@ -0,0 +1,29 @@
|
||||
HOMEPAGE = "http://tango.freedesktop.org/"
|
||||
SUMMARY = "Enables backwards compatibility with current desktop icon themes"
|
||||
DESCRIPTION = "A Perl script used for maintaining backwards \
|
||||
compatibility with current desktop icon themes, while migrating to the \
|
||||
names specified in the Icon Naming Specification. The Icon Naming \
|
||||
Utilities map the icon names used by the GNOME and KDE desktops to the \
|
||||
icon names proposed in the Icon Naming Specification, and generate the \
|
||||
icon files appropriate to the desktop environment you use. The Icon \
|
||||
Naming Specification provides a standard list of common icon contexts \
|
||||
and names that can be used to make icon themes work in a desktop \
|
||||
environment or application that implements the naming specification. "
|
||||
LICENSE = "GPL-2.0-only"
|
||||
DEPENDS = "libxml-simple-perl-native"
|
||||
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
|
||||
|
||||
SRC_URI = "${DEBIAN_MIRROR}/main/i/icon-naming-utils/icon-naming-utils_${PV}.orig.tar.gz"
|
||||
SRC_URI[sha256sum] = "044ab2199ed8c6a55ce36fd4fcd8b8021a5e21f5bab028c0a7cdcf52a5902e1c"
|
||||
|
||||
inherit autotools allarch perlnative
|
||||
|
||||
do_configure:append() {
|
||||
# Make sure we use our nativeperl wrapper.
|
||||
sed -i -e "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/icon-name-mapping.pl.in
|
||||
}
|
||||
|
||||
FILES:${PN} += "${datadir}/dtds"
|
||||
|
||||
BBCLASSEXTEND = "native"
|
||||
@@ -0,0 +1,29 @@
|
||||
SUMMARY = "Sato icon theme"
|
||||
HOMEPAGE = "https://www.yoctoproject.org/"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
|
||||
LICENSE = "CC-BY-SA-3.0"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=56a830bbe6e4697fe6cbbae01bb7c2b2"
|
||||
SECTION = "x11"
|
||||
|
||||
DEPENDS = "icon-naming-utils-native libxml-simple-perl-native"
|
||||
|
||||
SRC_URI = "git://git.yoctoproject.org/sato-icon-theme.git;protocol=https;branch=master"
|
||||
SRCREV = "d23f04ecb0328f655bf195df8eb04c1b734d53a9"
|
||||
UPSTREAM_CHECK_COMMITS = "1"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig allarch gtk-icon-cache perlnative
|
||||
|
||||
# The configure script uses pkg-config to find native binaries to execute, so
|
||||
# tell it to use our pkg-config-native wrapper.
|
||||
export PKG_CONFIG = "pkg-config-native"
|
||||
|
||||
FILES:${PN} += "${datadir}/icons/Sato"
|
||||
|
||||
do_install:append() {
|
||||
find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s preferences-system.png {}/apps/preferences-desktop.png \;
|
||||
find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s file-manager.png {}/apps/system-file-manager.png \;
|
||||
find ${D}${datadir}/icons/Sato/ -maxdepth 1 -type d -exec ln -s ../apps/terminal.png {}/places/computer.png \;
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
SUMMARY = "Ultra-simple screen capture utility, aimed at handheld devices"
|
||||
HOMEPAGE = "http://www.o-hand.com"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
|
||||
LICENSE = "GPL-2.0-only & GPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f \
|
||||
file://main.c;endline=9;md5=023e14d6404d0a961eb97cbd011fc141 \
|
||||
file://screenshot-ui.h;endline=9;md5=638d9ffa83e9325a36df224166ed6ad0"
|
||||
|
||||
DEPENDS = "matchbox-panel-2 gtk+3"
|
||||
|
||||
# SRCREV tagged 0.3
|
||||
SRCREV = "9250fa5a012d84ff45984e8c4345ee7635227756"
|
||||
SRC_URI = "git://git.yoctoproject.org/screenshot;branch=master;protocol=https"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig features_check
|
||||
|
||||
FILES:${PN} += "${libdir}/matchbox-panel/*.so"
|
||||
|
||||
do_install:append () {
|
||||
rm -f ${D}${libdir}/matchbox-panel/*.la
|
||||
}
|
||||
|
||||
# The matchbox-panel-2 requires x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
@@ -0,0 +1 @@
|
||||
/usr/bin/settings-daemon &
|
||||
@@ -0,0 +1,30 @@
|
||||
SUMMARY = "Provides a bridge between gconf and xsettings"
|
||||
HOMEPAGE = "https://git.yoctoproject.org/cgit/cgit.cgi/xsettings-daemon/"
|
||||
BUGTRACKER = "http://bugzilla.yoctoproject.org/"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://xsettings-manager.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b \
|
||||
file://xsettings-common.h;endline=22;md5=7cfac9d2d4dc3694cc7eb605cf32a69b"
|
||||
DEPENDS = "gconf glib-2.0 gtk+3"
|
||||
SECTION = "x11"
|
||||
|
||||
PV .= "+git"
|
||||
# SRCREV tagged 0.0.2 + one patch
|
||||
SRCREV = "df669c6579a6ac7e1ef56be66617f35ae7d33d68"
|
||||
SRC_URI = "git://git.yoctoproject.org/xsettings-daemon;branch=master;protocol=https \
|
||||
file://70settings-daemon.sh \
|
||||
"
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))"
|
||||
|
||||
S = "${WORKDIR}/git"
|
||||
|
||||
inherit autotools pkgconfig gconf features_check
|
||||
|
||||
FILES:${PN} = "${bindir}/* ${sysconfdir}"
|
||||
|
||||
# Requires gdk-x11-2.0 which is provided by gtk when x11 in DISTRO_FEATURES
|
||||
REQUIRED_DISTRO_FEATURES = "x11"
|
||||
|
||||
do_install:append () {
|
||||
install -d ${D}/${sysconfdir}/X11/Xsession.d
|
||||
install -m 755 ${WORKDIR}/70settings-daemon.sh ${D}/${sysconfdir}/X11/Xsession.d/
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
SUMMARY = "Provides an icon to shut down the system cleanly"
|
||||
LICENSE = "MIT"
|
||||
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
||||
|
||||
SRC_URI = "file://shutdown.desktop"
|
||||
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${datadir}/applications
|
||||
install -m 0644 shutdown.desktop ${D}${datadir}/applications/
|
||||
|
||||
sed -i ${D}${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)#Exec=${base_sbindir}/\1#'
|
||||
}
|
||||
|
||||
pkg_postinst:${PN} () {
|
||||
grep -q qemuarm $D${sysconfdir}/hostname && \
|
||||
sed -i $D${datadir}/applications/shutdown.desktop -e 's#^Exec=\(.*\)/halt#Exec=\1/reboot#' \
|
||||
|| true
|
||||
}
|
||||
|
||||
inherit allarch
|
||||
@@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Encoding=UTF-8
|
||||
Type=Application
|
||||
Name=Shutdown
|
||||
Comment=Close down the machine safely
|
||||
Exec=poweroff
|
||||
Icon=system-shutdown
|
||||
Terminal=false
|
||||
Categories=Utility;
|
||||
StartupNotify=true
|
||||
18
sources/poky/meta/recipes-sato/webkit/libwpe_1.14.2.bb
Normal file
18
sources/poky/meta/recipes-sato/webkit/libwpe_1.14.2.bb
Normal file
@@ -0,0 +1,18 @@
|
||||
SUMMARY = "General-purpose library specifically developed for the WPE-flavored port of WebKit."
|
||||
HOMEPAGE = "https://github.com/WebPlatformForEmbedded/libwpe"
|
||||
BUGTRACKER = "https://github.com/WebPlatformForEmbedded/libwpe/issues"
|
||||
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=371a616eb4903c6cb79e9893a5f615cc"
|
||||
DEPENDS = "virtual/egl libxkbcommon"
|
||||
|
||||
inherit cmake features_check pkgconfig
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
|
||||
SRC_URI[sha256sum] = "8ae38022c50cb340c96fdbee1217f1e46ab57fbc1c8ba98142565abbedbe22ef"
|
||||
|
||||
# This is a tweak of upstream-version-is-even needed because
|
||||
# ipstream directory contains tarballs for other components as well.
|
||||
UPSTREAM_CHECK_REGEX = "libwpe-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar"
|
||||
@@ -0,0 +1,73 @@
|
||||
From 99a21305ae683a216e9299e5dbdd763190a8cfe3 Mon Sep 17 00:00:00 2001
|
||||
From: Kai Kang <kai.kang@windriver.com>
|
||||
Date: Fri, 11 Aug 2023 14:20:48 +0800
|
||||
Subject: [PATCH] Add a variable to control macro
|
||||
__PAS_ALWAYS_INLINE_BUT_NOT_INLINE
|
||||
https://bugs.webkit.org/show_bug.cgi?id=260065
|
||||
|
||||
Reviewed by NOBODY (OOPS!).
|
||||
|
||||
It fails to compile webkitgtk with option `-Og` of gcc/g++:
|
||||
|
||||
| In file included from Source/bmalloc/libpas/src/libpas/pas_heap_page_provider.h:30,
|
||||
| from Source/bmalloc/libpas/src/libpas/pas_bootstrap_heap_page_provider.h:29,
|
||||
| from Source/bmalloc/libpas/src/libpas/pas_large_heap_physical_page_sharing_cache.h:29,
|
||||
| from Source/bmalloc/libpas/src/libpas/pas_basic_heap_page_caches.h:29,
|
||||
| from Source/bmalloc/libpas/src/libpas/pas_heap_config_utils.h:32,
|
||||
| from Source/bmalloc/libpas/src/libpas/bmalloc_heap_config.h:34,
|
||||
| from Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:34,
|
||||
| from Source/bmalloc/bmalloc/bmalloc.h:39,
|
||||
| from Source/bmalloc/bmalloc/bmalloc.cpp:26:
|
||||
| In function 'pas_allocation_result pas_local_allocator_try_allocate(pas_local_allocator*, size_t, size_t, pas_heap_config, pas_allocator_counts*, pas_allocation_result_filter)',
|
||||
| inlined from 'pas_allocation_result pas_try_allocate_common_impl_fast(pas_heap_config, pas_allocator_counts*, pas_allocation_result_filter, pas_local_allocator*, size_t, size_t)' at webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/pas_try_allocate_common.h:85:46,
|
||||
| inlined from 'pas_allocation_result bmalloc_try_allocate_with_alignment_impl_impl_fast(pas_local_allocator*, size_t, size_t)' at webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:59:1,
|
||||
| inlined from 'pas_allocation_result pas_try_allocate_intrinsic_impl_casual_case(__pas_heap*, size_t, size_t, pas_intrinsic_heap_support*, pas_heap_config, pas_try_allocate_common_fast, pas_try_allocate_common_slow, pas_intrinsic_heap_designation_mode)' at webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/pas_try_allocate_intrinsic.h:167:44,
|
||||
| inlined from 'pas_allocation_result bmalloc_try_allocate_with_alignment_impl_casual_case(size_t, size_t)' at webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/bmalloc_heap_inlines.h:59:1:
|
||||
| webkitgtk-2.40.2/Source/bmalloc/libpas/src/libpas/pas_allocation_result.h:76:1: error: inlining failed in call to 'always_inline' 'pas_allocation_result pas_allocation_result_identity(pas_allocation_result)': function not considered for inlining
|
||||
| 76 | pas_allocation_result_identity(pas_allocation_result result)
|
||||
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
Add an variable `WEBKIT_NO_INLINE_HINTS` to control macro
|
||||
__PAS_ALWAYS_INLINE_BUT_NOT_INLINE whether includes function attribute
|
||||
`always_inline`. It could set the variable to make compilation pass when
|
||||
gcc option `-Og` is used.
|
||||
|
||||
* Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h:
|
||||
* Source/cmake/WebKitCompilerFlags.cmake:
|
||||
|
||||
Upstream-Status: Submitted [https://github.com/WebKit/WebKit/pull/16601]
|
||||
|
||||
Signed-off-by: Kai Kang <kai.kang@windriver.com>
|
||||
---
|
||||
Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h | 2 +-
|
||||
Source/cmake/WebKitCompilerFlags.cmake | 7 +++++++
|
||||
2 files changed, 8 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
|
||||
index 5d5fb38c..a554f700 100644
|
||||
--- a/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
|
||||
+++ b/Source/bmalloc/libpas/src/libpas/pas_utils_prefix.h
|
||||
@@ -44,7 +44,7 @@ __PAS_BEGIN_EXTERN_C;
|
||||
#define __SUSPICIOUS__
|
||||
#define __BROKEN__
|
||||
|
||||
-#ifdef __OPTIMIZE__
|
||||
+#if defined(__OPTIMIZE__) && !defined(WEBKIT_NO_INLINE_HINTS)
|
||||
#define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE __attribute__((__always_inline__))
|
||||
#else
|
||||
#define __PAS_ALWAYS_INLINE_BUT_NOT_INLINE
|
||||
diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake
|
||||
index 0732785e..4879ec40 100644
|
||||
--- a/Source/cmake/WebKitCompilerFlags.cmake
|
||||
+++ b/Source/cmake/WebKitCompilerFlags.cmake
|
||||
@@ -452,3 +452,10 @@ endif ()
|
||||
|
||||
# FIXME: Enable pre-compiled headers for all ports <https://webkit.org/b/139438>
|
||||
set(CMAKE_DISABLE_PRECOMPILE_HEADERS ON)
|
||||
+
|
||||
+# It fails to compile with `gcc -Og`
|
||||
+set(WEBKIT_NO_INLINE_HINTS OFF CACHE BOOL "Disable funtion attribute always_inline for WebKit")
|
||||
+
|
||||
+if (WEBKIT_NO_INLINE_HINTS)
|
||||
+ add_definitions(-DWEBKIT_NO_INLINE_HINTS)
|
||||
+endif ()
|
||||
@@ -0,0 +1,29 @@
|
||||
From d1f6a1b6a1298f6ef2f1677e9996aa60a002134a Mon Sep 17 00:00:00 2001
|
||||
From: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
Date: Tue, 27 Oct 2015 16:02:19 +0200
|
||||
Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained
|
||||
from pkg-config with PKG_CONFIG_SYSROOT_DIR
|
||||
|
||||
See discussion at https://bugs.webkit.org/show_bug.cgi?id=232933 for
|
||||
reasons why this is not approproiate for upstream submission.
|
||||
|
||||
Upstream-Status: Inappropriate [oe-core specific]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
Source/cmake/FindGI.cmake | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
diff --git a/Source/cmake/FindGI.cmake b/Source/cmake/FindGI.cmake
|
||||
index fdc56b21..d42eca52 100644
|
||||
--- a/Source/cmake/FindGI.cmake
|
||||
+++ b/Source/cmake/FindGI.cmake
|
||||
@@ -72,6 +72,9 @@ if (PKG_CONFIG_FOUND)
|
||||
endif ()
|
||||
endif ()
|
||||
|
||||
+set(_GI_SCANNER_EXE "$ENV{PKG_CONFIG_SYSROOT_DIR}${_GI_SCANNER_EXE}")
|
||||
+set(_GI_COMPILER_EXE "$ENV{PKG_CONFIG_SYSROOT_DIR}${_GI_COMPILER_EXE}")
|
||||
+
|
||||
find_program(GI_SCANNER_EXE NAMES ${_GI_SCANNER_EXE} g-ir-scanner)
|
||||
find_program(GI_COMPILER_EXE NAMES ${_GI_COMPILER_EXE} g-ir-compiler)
|
||||
|
||||
@@ -0,0 +1,67 @@
|
||||
From 2ee948191de1c561b72ebf462605376cfb3ce7af Mon Sep 17 00:00:00 2001
|
||||
From: Thomas Devoogdt <thomas.devoogdt@barco.com>
|
||||
Date: Mon, 16 Jan 2023 17:03:30 +0100
|
||||
Subject: [PATCH] REGRESSION(257865@main): B3Validate.cpp: fix
|
||||
|
||||
!ENABLE(WEBASSEMBLY_B3JIT)
|
||||
|
||||
https://bugs.webkit.org/show_bug.cgi?id=250681
|
||||
|
||||
Reviewed by NOBODY (OOPS!).
|
||||
|
||||
WasmTypeDefinition.h isn't included if not ENABLE(WEBASSEMBLY_B3JIT).
|
||||
Also, toB3Type and simdScalarType are not defined if it is included.
|
||||
|
||||
Signed-off-by: Thomas Devoogdt <thomas.devoogdt@barco.com>
|
||||
|
||||
Upstream-Status: Inappropriate [https://bugs.launchpad.net/ubuntu/+source/webkit2gtk/+bug/2008798]
|
||||
|
||||
Signed-off-by: Markus Volk <f_l_k@t-online.de>
|
||||
---
|
||||
Source/JavaScriptCore/b3/B3Validate.cpp | 12 +++++++++---
|
||||
1 file changed, 9 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/Source/JavaScriptCore/b3/B3Validate.cpp b/Source/JavaScriptCore/b3/B3Validate.cpp
|
||||
index eaaa3749..1d089783 100644
|
||||
--- a/Source/JavaScriptCore/b3/B3Validate.cpp
|
||||
+++ b/Source/JavaScriptCore/b3/B3Validate.cpp
|
||||
@@ -47,6 +47,12 @@
|
||||
#include <wtf/StringPrintStream.h>
|
||||
#include <wtf/text/CString.h>
|
||||
|
||||
+#if ENABLE(WEBASSEMBLY) && ENABLE(WEBASSEMBLY_B3JIT)
|
||||
+#define simdScalarTypeToB3Type(type) toB3Type(Wasm::simdScalarType(type))
|
||||
+#else
|
||||
+#define simdScalarTypeToB3Type(type) B3::Type()
|
||||
+#endif
|
||||
+
|
||||
namespace JSC { namespace B3 {
|
||||
|
||||
namespace {
|
||||
@@ -454,7 +460,7 @@ public:
|
||||
case VectorExtractLane:
|
||||
VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
|
||||
VALIDATE(value->numChildren() == 1, ("At ", *value));
|
||||
- VALIDATE(value->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
|
||||
+ VALIDATE(value->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
|
||||
VALIDATE(value->child(0)->type() == V128, ("At ", *value));
|
||||
break;
|
||||
case VectorReplaceLane:
|
||||
@@ -462,7 +468,7 @@ public:
|
||||
VALIDATE(value->numChildren() == 2, ("At ", *value));
|
||||
VALIDATE(value->type() == V128, ("At ", *value));
|
||||
VALIDATE(value->child(0)->type() == V128, ("At ", *value));
|
||||
- VALIDATE(value->child(1)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
|
||||
+ VALIDATE(value->child(1)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
|
||||
break;
|
||||
case VectorDupElement:
|
||||
VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
|
||||
@@ -484,7 +490,7 @@ public:
|
||||
VALIDATE(!value->kind().hasExtraBits(), ("At ", *value));
|
||||
VALIDATE(value->numChildren() == 1, ("At ", *value));
|
||||
VALIDATE(value->type() == V128, ("At ", *value));
|
||||
- VALIDATE(value->child(0)->type() == toB3Type(Wasm::simdScalarType(value->asSIMDValue()->simdLane())), ("At ", *value));
|
||||
+ VALIDATE(value->child(0)->type() == simdScalarTypeToB3Type(value->asSIMDValue()->simdLane()), ("At ", *value));
|
||||
break;
|
||||
|
||||
case VectorPopcnt:
|
||||
@@ -0,0 +1,30 @@
|
||||
From 31dca9601888f2a539dfb22693ffd62c22ee8912 Mon Sep 17 00:00:00 2001
|
||||
From: Khem Raj <raj.khem@gmail.com>
|
||||
Date: Fri, 12 Jan 2024 09:21:39 -0800
|
||||
Subject: [PATCH] clang/arm: Do not use MUST_TAIL_CALL
|
||||
|
||||
This causes clang-17 to crash see [1]
|
||||
this code is new in webkit 2.42[2] thats why we do not see the crash in older webkit
|
||||
|
||||
[1] https://github.com/llvm/llvm-project/issues/67767
|
||||
[2] https://github.com/WebKit/WebKit/commit/4d816460b765acd8aef90ab474615850b91ecc35
|
||||
|
||||
Upstream-Status: Inappropriate [work around to avoid clang compiler crash]
|
||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||
---
|
||||
Source/WTF/wtf/Compiler.h | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Source/WTF/wtf/Compiler.h b/Source/WTF/wtf/Compiler.h
|
||||
index 449ca502..daac29d7 100644
|
||||
--- a/Source/WTF/wtf/Compiler.h
|
||||
+++ b/Source/WTF/wtf/Compiler.h
|
||||
@@ -321,7 +321,7 @@
|
||||
/* MUST_TAIL_CALL */
|
||||
|
||||
#if !defined(MUST_TAIL_CALL) && defined(__cplusplus) && defined(__has_cpp_attribute)
|
||||
-#if __has_cpp_attribute(clang::musttail)
|
||||
+#if __has_cpp_attribute(clang::musttail) && !defined(__arm__)
|
||||
#define MUST_TAIL_CALL [[clang::musttail]]
|
||||
#endif
|
||||
#endif
|
||||
@@ -0,0 +1,30 @@
|
||||
From cb5458b5d15aafa3543a47a33975609026d45d32 Mon Sep 17 00:00:00 2001
|
||||
From: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
Date: Mon, 3 Jan 2022 14:18:34 +0000
|
||||
Subject: [PATCH] webkitgtk: Add reproducibility fix
|
||||
|
||||
Injection a year based on the current date isn't reproducible. Hack this
|
||||
to a specific year for now for reproducibilty and to avoid autobuilder failures.
|
||||
|
||||
The correct fix would be to use SOURCE_DATE_EPOCH from the environment and
|
||||
then this could be submitted upstream, sadly my ruby isn't up to that.
|
||||
|
||||
Upstream-Status: Pending [could be reworked]
|
||||
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
|
||||
---
|
||||
Source/JavaScriptCore/generator/GeneratedFile.rb | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/Source/JavaScriptCore/generator/GeneratedFile.rb b/Source/JavaScriptCore/generator/GeneratedFile.rb
|
||||
index 6ed2b6e4..86a28286 100644
|
||||
--- a/Source/JavaScriptCore/generator/GeneratedFile.rb
|
||||
+++ b/Source/JavaScriptCore/generator/GeneratedFile.rb
|
||||
@@ -25,7 +25,7 @@ require 'date'
|
||||
require 'digest'
|
||||
|
||||
$LICENSE = <<-EOF
|
||||
-Copyright (C) #{Date.today.year} Apple Inc. All rights reserved.
|
||||
+Copyright (C) 2021 Apple Inc. All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions
|
||||
@@ -0,0 +1,35 @@
|
||||
From 36c092723ec6d4908039341c9d157db8ab1c0a59 Mon Sep 17 00:00:00 2001
|
||||
From: Michael Catanzaro <mcatanzaro@redhat.com>
|
||||
Date: Mon, 5 Feb 2024 11:00:49 -0600
|
||||
Subject: [PATCH] =?UTF-8?q?LowLevelInterpreter.cpp:339:21:=20error:=20?=
|
||||
=?UTF-8?q?=E2=80=98t6=E2=80=99=20was=20not=20declared=20in=20this=20scope?=
|
||||
=?UTF-8?q?=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid=3D268739?=
|
||||
MIME-Version: 1.0
|
||||
Content-Type: text/plain; charset=UTF-8
|
||||
Content-Transfer-Encoding: 8bit
|
||||
|
||||
Unreviewed build fix. Seems a backport went badly, and we didn't notice
|
||||
because the code is architecture-specific.
|
||||
|
||||
* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp:
|
||||
(JSC::CLoop::execute):
|
||||
|
||||
Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/3d5373575695b293b8559155431d0079a6153aff]
|
||||
Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
|
||||
---
|
||||
Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 2 --
|
||||
1 file changed, 2 deletions(-)
|
||||
|
||||
diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
|
||||
index 75cecbbd..b1020ea4 100644
|
||||
--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
|
||||
+++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp
|
||||
@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm,
|
||||
UNUSED_VARIABLE(t2);
|
||||
UNUSED_VARIABLE(t3);
|
||||
UNUSED_VARIABLE(t5);
|
||||
- UNUSED_VARIABLE(t6);
|
||||
- UNUSED_VARIABLE(t7);
|
||||
|
||||
struct StackPointerScope {
|
||||
StackPointerScope(CLoopStack& stack)
|
||||
174
sources/poky/meta/recipes-sato/webkit/webkitgtk_2.44.3.bb
Normal file
174
sources/poky/meta/recipes-sato/webkit/webkitgtk_2.44.3.bb
Normal file
@@ -0,0 +1,174 @@
|
||||
SUMMARY = "WebKit web rendering engine for the GTK+ platform"
|
||||
HOMEPAGE = "https://www.webkitgtk.org/"
|
||||
BUGTRACKER = "https://bugs.webkit.org/"
|
||||
|
||||
LICENSE = "BSD-2-Clause & LGPL-2.0-or-later"
|
||||
LIC_FILES_CHKSUM = "file://Source/JavaScriptCore/COPYING.LIB;md5=d0c6d6397a5d84286dda758da57bd691 \
|
||||
file://Source/WebCore/LICENSE-APPLE;md5=4646f90082c40bcf298c285f8bab0b12 \
|
||||
file://Source/WebCore/LICENSE-LGPL-2;md5=36357ffde2b64ae177b2494445b79d21 \
|
||||
file://Source/WebCore/LICENSE-LGPL-2.1;md5=a778a33ef338abbaf8b8a7c36b6eec80 \
|
||||
"
|
||||
|
||||
SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \
|
||||
file://0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch \
|
||||
file://reproducibility.patch \
|
||||
file://0001-CMake-Add-a-variable-to-control-macro-__PAS_ALWAYS_I.patch \
|
||||
file://no-musttail-arm.patch \
|
||||
file://t6-not-declared.patch \
|
||||
file://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \
|
||||
"
|
||||
SRC_URI[sha256sum] = "dc82d042ecaca981a4852357c06e5235743319cf10a94cd36ad41b97883a0b54"
|
||||
|
||||
inherit cmake pkgconfig gobject-introspection perlnative features_check upstream-version-is-even gi-docgen
|
||||
|
||||
ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
CVE_PRODUCT = "webkitgtk webkitgtk\+"
|
||||
|
||||
DEPENDS += " \
|
||||
ruby-native \
|
||||
gperf-native \
|
||||
unifdef-native \
|
||||
cairo \
|
||||
harfbuzz \
|
||||
jpeg \
|
||||
atk \
|
||||
libwebp \
|
||||
gtk4 \
|
||||
libxslt \
|
||||
libtasn1 \
|
||||
libnotify \
|
||||
gstreamer1.0 \
|
||||
gstreamer1.0-plugins-base \
|
||||
glib-2.0-native \
|
||||
gettext-native \
|
||||
"
|
||||
|
||||
PACKAGECONFIG_SOUP ?= "soup3"
|
||||
PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd wayland x11', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11 opengl', 'webgl opengl', '', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', 'webgl gles2', d)} \
|
||||
${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'opengl-or-es', '', d)} \
|
||||
enchant \
|
||||
libsecret \
|
||||
${PACKAGECONFIG_SOUP} \
|
||||
"
|
||||
|
||||
PACKAGECONFIG[wayland] = "-DENABLE_WAYLAND_TARGET=ON,-DENABLE_WAYLAND_TARGET=OFF,wayland libwpe wpebackend-fdo wayland-native"
|
||||
PACKAGECONFIG[angle] = "-DUSE_ANGLE_WEBGL=ON,-DUSE_ANGLE_WEBGL=OFF"
|
||||
PACKAGECONFIG[x11] = "-DENABLE_X11_TARGET=ON,-DENABLE_X11_TARGET=OFF,virtual/libx11 libxcomposite libxdamage libxrender libxt"
|
||||
PACKAGECONFIG[geoclue] = "-DENABLE_GEOLOCATION=ON,-DENABLE_GEOLOCATION=OFF,geoclue"
|
||||
PACKAGECONFIG[enchant] = "-DENABLE_SPELLCHECK=ON,-DENABLE_SPELLCHECK=OFF,enchant2"
|
||||
PACKAGECONFIG[gles2] = "-DENABLE_GLES2=ON,-DENABLE_GLES2=OFF,virtual/libgles2"
|
||||
PACKAGECONFIG[webgl] = "-DENABLE_WEBGL=ON,-DENABLE_WEBGL=OFF,virtual/egl"
|
||||
PACKAGECONFIG[opengl] = "-DENABLE_GRAPHICS_CONTEXT_GL=ON,-DENABLE_GRAPHICS_CONTEXT_GL=OFF,virtual/egl"
|
||||
PACKAGECONFIG[opengl-or-es] = "-DUSE_OPENGL_OR_ES=ON,-DUSE_OPENGL_OR_ES=OFF"
|
||||
PACKAGECONFIG[libsecret] = "-DUSE_LIBSECRET=ON,-DUSE_LIBSECRET=OFF,libsecret"
|
||||
PACKAGECONFIG[libhyphen] = "-DUSE_LIBHYPHEN=ON,-DUSE_LIBHYPHEN=OFF,libhyphen"
|
||||
PACKAGECONFIG[woff2] = "-DUSE_WOFF2=ON,-DUSE_WOFF2=OFF,woff2"
|
||||
PACKAGECONFIG[openjpeg] = "-DUSE_OPENJPEG=ON,-DUSE_OPENJPEG=OFF,openjpeg"
|
||||
PACKAGECONFIG[systemd] = "-DUSE_SYSTEMD=ON,-DUSE_SYSTEMD=off,systemd"
|
||||
PACKAGECONFIG[reduce-size] = "-DCMAKE_BUILD_TYPE=MinSizeRel,-DCMAKE_BUILD_TYPE=Release,,"
|
||||
PACKAGECONFIG[lcms] = "-DUSE_LCMS=ON,-DUSE_LCMS=OFF,lcms"
|
||||
PACKAGECONFIG[soup2] = "-DUSE_SOUP2=ON,-DUSE_SOUP2=OFF,libsoup-2.4,,,soup3"
|
||||
PACKAGECONFIG[soup3] = ",,libsoup,,,soup2"
|
||||
PACKAGECONFIG[journald] = "-DENABLE_JOURNALD_LOG=ON,-DENABLE_JOURNALD_LOG=OFF,systemd"
|
||||
PACKAGECONFIG[avif] = "-DUSE_AVIF_LOG=ON,-DUSE_AVIF=OFF,libavif"
|
||||
PACKAGECONFIG[media-recorder] = "-DENABLE_MEDIA_RECORDER=ON,-DENABLE_MEDIA_RECORDER=OFF,gstreamer1.0-plugins-bad"
|
||||
PACKAGECONFIG[jpegxl] = "-DUSE_JPEGXL=ON,-DUSE_JPEGXL=OFF,libjxl"
|
||||
PACKAGECONFIG[backtrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace"
|
||||
PACKAGECONFIG[gamepad] = "-DENABLE_GAMEPAD=ON,-DENABLE_GAMEPAD=OFF,libmanette"
|
||||
|
||||
EXTRA_OECMAKE = " \
|
||||
-DPORT=GTK \
|
||||
${@oe.utils.vartrue('GI_DATA_ENABLED', '-DENABLE_INTROSPECTION=ON', '-DENABLE_INTROSPECTION=OFF', d)} \
|
||||
${@oe.utils.vartrue('GIDOCGEN_ENABLED', '-DENABLE_DOCUMENTATION=ON', '-DENABLE_DOCUMENTATION=OFF', d)} \
|
||||
${@oe.utils.vartrue('DEBUG_BUILD', '-DWEBKIT_NO_INLINE_HINTS=ON', '-DWEBKIT_NO_INLINE_HINTS=OFFF', d)} \
|
||||
-DENABLE_MINIBROWSER=ON \
|
||||
-DENABLE_BUBBLEWRAP_SANDBOX=OFF \
|
||||
-DUSE_GTK4=ON \
|
||||
-DCMAKE_EXPORT_COMPILE_COMMANDS=OFF \
|
||||
"
|
||||
|
||||
# Unless DEBUG_BUILD is enabled, pass -g1 to massively reduce the size of the
|
||||
# debug symbols (4.3GB to 700M at time of writing)
|
||||
DEBUG_FLAGS:append = "${@oe.utils.vartrue('DEBUG_BUILD', '', ' -g1', d)}"
|
||||
|
||||
# Javascript JIT is not supported on ARC
|
||||
EXTRA_OECMAKE:append:arc = " -DENABLE_JIT=OFF "
|
||||
# By default 25-bit "medium" calls are used on ARC
|
||||
# which is not enough for binaries larger than 32 MiB
|
||||
CFLAGS:append:arc = " -mlong-calls"
|
||||
CXXFLAGS:append:arc = " -mlong-calls"
|
||||
|
||||
# Needed for non-mesa graphics stacks when x11 is disabled
|
||||
CXXFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'x11', '', '-DEGL_NO_X11=1', d)}"
|
||||
|
||||
# Javascript JIT is not supported on powerpc
|
||||
EXTRA_OECMAKE:append:powerpc = " -DENABLE_JIT=OFF "
|
||||
EXTRA_OECMAKE:append:powerpc64 = " -DENABLE_JIT=OFF "
|
||||
|
||||
# ARM JIT code does not build on ARMv4/5/6 anymore
|
||||
EXTRA_OECMAKE:append:armv4 = " -DENABLE_JIT=OFF "
|
||||
EXTRA_OECMAKE:append:armv5 = " -DENABLE_JIT=OFF "
|
||||
EXTRA_OECMAKE:append:armv6 = " -DENABLE_JIT=OFF "
|
||||
|
||||
EXTRA_OECMAKE:append:mipsarch = " -DUSE_LD_GOLD=OFF "
|
||||
EXTRA_OECMAKE:append:powerpc = " -DUSE_LD_GOLD=OFF "
|
||||
|
||||
# JIT and gold linker does not work on RISCV
|
||||
EXTRA_OECMAKE:append:riscv32 = " -DUSE_LD_GOLD=OFF -DENABLE_JIT=OFF"
|
||||
EXTRA_OECMAKE:append:riscv64 = " -DUSE_LD_GOLD=OFF"
|
||||
|
||||
# JIT not supported on MIPS either
|
||||
EXTRA_OECMAKE:append:mipsarch = " -DENABLE_JIT=OFF -DENABLE_C_LOOP=ON "
|
||||
|
||||
# JIT not supported on X32
|
||||
# An attempt was made to upstream JIT support for x32 in
|
||||
# https://bugs.webkit.org/show_bug.cgi?id=100450, but this was closed as
|
||||
# unresolved due to limited X32 adoption.
|
||||
EXTRA_OECMAKE:append:x86-x32 = " -DENABLE_JIT=OFF "
|
||||
|
||||
SECURITY_CFLAGS:remove:aarch64 = "-fpie"
|
||||
SECURITY_CFLAGS:append:aarch64 = " -fPIE"
|
||||
|
||||
FILES:${PN} += "${libdir}/webkitgtk-*/injected-bundle/*.so"
|
||||
|
||||
RRECOMMENDS:${PN} += "ca-certificates shared-mime-info"
|
||||
|
||||
# http://errors.yoctoproject.org/Errors/Details/20370/
|
||||
ARM_INSTRUCTION_SET:armv4 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv5 = "arm"
|
||||
ARM_INSTRUCTION_SET:armv6 = "arm"
|
||||
|
||||
# https://bugzilla.yoctoproject.org/show_bug.cgi?id=9474
|
||||
# https://bugs.webkit.org/show_bug.cgi?id=159880
|
||||
# JSC JIT can build on ARMv7 with -marm, but doesn't work on runtime.
|
||||
# Upstream only tests regularly the JSC JIT on ARMv7 with Thumb2 (-mthumb).
|
||||
ARM_INSTRUCTION_SET:armv7a = "thumb"
|
||||
ARM_INSTRUCTION_SET:armv7r = "thumb"
|
||||
ARM_INSTRUCTION_SET:armv7ve = "thumb"
|
||||
|
||||
# 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)}"
|
||||
|
||||
# introspection inside qemu-arm hangs forever on musl/arm builds
|
||||
# therefore disable GI_DATA
|
||||
GI_DATA_ENABLED:libc-musl:armv7a = "False"
|
||||
GI_DATA_ENABLED:libc-musl:armv7ve = "False"
|
||||
|
||||
# Can't be built with ccache
|
||||
CCACHE_DISABLE = "1"
|
||||
|
||||
PACKAGE_PREPROCESS_FUNCS += "src_package_preprocess"
|
||||
src_package_preprocess () {
|
||||
# Trim build paths from comments in generated sources to ensure reproducibility
|
||||
sed -i -e "s,${WORKDIR},,g" \
|
||||
${B}/JavaScriptCore/DerivedSources/*.h \
|
||||
${B}/JavaScriptCore/DerivedSources/yarr/*.h \
|
||||
${B}/JavaScriptCore/PrivateHeaders/JavaScriptCore/*.h \
|
||||
${B}/WebCore/DerivedSources/*.cpp \
|
||||
${B}/WebKitGTK/DerivedSources/webkit/*.cpp
|
||||
}
|
||||
|
||||
@@ -0,0 +1,24 @@
|
||||
SUMMARY = "WPE's backend based on a freedesktop.org stack."
|
||||
HOMEPAGE = "https://github.com/Igalia/WPEBackend-fdo"
|
||||
BUGTRACKER = "https://github.com/Igalia/WPEBackend-fdo/issues"
|
||||
|
||||
LICENSE = "BSD-2-Clause"
|
||||
LIC_FILES_CHKSUM = "file://COPYING;md5=1f62cef2e3645e3e74eb05fd389d7a66"
|
||||
DEPENDS = "glib-2.0 libxkbcommon wayland virtual/egl libwpe libepoxy"
|
||||
|
||||
DEPENDS:append:class-target = " wayland-native"
|
||||
|
||||
inherit meson features_check pkgconfig
|
||||
|
||||
REQUIRED_DISTRO_FEATURES = "opengl"
|
||||
|
||||
SRC_URI = "https://wpewebkit.org/releases/${BPN}-${PV}.tar.xz"
|
||||
SRC_URI[sha256sum] = "93c9766ae9864eeaeaee2b0a74f22cbca08df42c1a1bdb55b086f2528e380d38"
|
||||
|
||||
# Especially helps compiling with clang which enable this as error when
|
||||
# using c++11
|
||||
CXXFLAGS += "-Wno-c++11-narrowing"
|
||||
|
||||
# This is a tweak of upstream-version-is-even needed because
|
||||
# ipstream directory contains tarballs for other components as well.
|
||||
UPSTREAM_CHECK_REGEX = "wpebackend-fdo-(?P<pver>\d+\.(\d*[02468])+(\.\d+)+)\.tar"
|
||||
Reference in New Issue
Block a user