diff options
Diffstat (limited to 'meta/recipes-sato')
6 files changed, 117 insertions, 65 deletions
diff --git a/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb b/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb index 0c5ed5e55e..fc913c86b3 100644 --- a/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb +++ b/meta/recipes-sato/pcmanfm/pcmanfm_1.3.2.bb | |||
@@ -27,6 +27,8 @@ inherit autotools pkgconfig features_check mime-xdg | |||
27 | REQUIRED_DISTRO_FEATURES = "x11" | 27 | REQUIRED_DISTRO_FEATURES = "x11" |
28 | 28 | ||
29 | EXTRA_OECONF = "--with-gtk=3" | 29 | EXTRA_OECONF = "--with-gtk=3" |
30 | # GCC 14 finds extra incompatible pointer type warnings which are treated as errors | ||
31 | CFLAGS += "-Wno-error=incompatible-pointer-types" | ||
30 | 32 | ||
31 | do_install:append () { | 33 | do_install:append () { |
32 | install -d ${D}/${datadir} | 34 | install -d ${D}/${datadir} |
diff --git a/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch b/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch deleted file mode 100644 index baf06d6b84..0000000000 --- a/meta/recipes-sato/settings-daemon/files/addsoundkeys.patch +++ /dev/null | |||
@@ -1,49 +0,0 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: settings-daemon/settings-daemon.c | ||
4 | =================================================================== | ||
5 | --- settings-daemon.orig/settings-daemon.c 2009-05-22 14:57:05.000000000 +0100 | ||
6 | +++ settings-daemon/settings-daemon.c 2009-05-22 14:58:22.000000000 +0100 | ||
7 | @@ -187,6 +187,10 @@ | ||
8 | GCONF_VALUE_STRING, translate_string_string }, | ||
9 | { "/desktop/poky/interface/gtk_color_scheme", "Gtk/ColorScheme", | ||
10 | GCONF_VALUE_STRING, translate_string_string }, | ||
11 | + { "/desktop/gnome/sound/theme_name", "Net/SoundThemeName", | ||
12 | + GCONF_VALUE_STRING, translate_string_string }, | ||
13 | + { "/desktop/gnome/sound/event_sounds", "Net/EnableEventSounds" , | ||
14 | + GCONF_VALUE_BOOL, translate_bool_int }, | ||
15 | }; | ||
16 | |||
17 | static const TranslationEntry* | ||
18 | Index: settings-daemon/settings-daemon.schemas | ||
19 | =================================================================== | ||
20 | --- settings-daemon.orig/settings-daemon.schemas 2009-05-22 15:49:17.000000000 +0100 | ||
21 | +++ settings-daemon/settings-daemon.schemas 2009-05-22 15:51:31.000000000 +0100 | ||
22 | @@ -196,6 +196,27 @@ | ||
23 | </locale> | ||
24 | </schema> | ||
25 | |||
26 | + <schema> | ||
27 | + <key>/schemas/desktop/gnome/sound/theme_name</key> | ||
28 | + <applyto>/desktop/gnome/sound/theme_name</applyto> | ||
29 | + <owner>gnome</owner> | ||
30 | + <type>string</type> | ||
31 | + <default>freedesktop</default> | ||
32 | + <locale name="C"> | ||
33 | + <short>Sound Theme Name</short> | ||
34 | + </locale> | ||
35 | + </schema> | ||
36 | + | ||
37 | + <schema> | ||
38 | + <key>/schemas/desktop/gnome/sound/event_sounds</key> | ||
39 | + <applyto>/desktop/gnome/sound/event_sounds</applyto> | ||
40 | + <owner>gnome</owner> | ||
41 | + <type>bool</type> | ||
42 | + <default>true</default> | ||
43 | + <locale name="C"> | ||
44 | + <short>Enable Sound Events</short> | ||
45 | + </locale> | ||
46 | + </schema> | ||
47 | |||
48 | </schemalist> | ||
49 | </gconfschemafile> | ||
diff --git a/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb b/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb index 4bdbefcb75..d38cd4e2dd 100644 --- a/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb +++ b/meta/recipes-sato/settings-daemon/settings-daemon_0.0.2.bb | |||
@@ -7,10 +7,10 @@ LIC_FILES_CHKSUM = "file://xsettings-manager.h;endline=22;md5=7cfac9d2d4dc3694cc | |||
7 | DEPENDS = "gconf glib-2.0 gtk+3" | 7 | DEPENDS = "gconf glib-2.0 gtk+3" |
8 | SECTION = "x11" | 8 | SECTION = "x11" |
9 | 9 | ||
10 | # SRCREV tagged 0.0.2 | 10 | PV .= "+git" |
11 | SRCREV = "b2e5da502f8c5ff75e9e6da771372ef8e40fd9a2" | 11 | # SRCREV tagged 0.0.2 + one patch |
12 | SRCREV = "df669c6579a6ac7e1ef56be66617f35ae7d33d68" | ||
12 | SRC_URI = "git://git.yoctoproject.org/xsettings-daemon;branch=master;protocol=https \ | 13 | SRC_URI = "git://git.yoctoproject.org/xsettings-daemon;branch=master;protocol=https \ |
13 | file://addsoundkeys.patch \ | ||
14 | file://70settings-daemon.sh \ | 14 | file://70settings-daemon.sh \ |
15 | " | 15 | " |
16 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" | 16 | UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(\d+(\.\d+)+))" |
@@ -19,7 +19,7 @@ S = "${WORKDIR}/git" | |||
19 | 19 | ||
20 | inherit autotools pkgconfig gconf features_check | 20 | inherit autotools pkgconfig gconf features_check |
21 | 21 | ||
22 | FILES:${PN} = "${bindir}/* ${sysconfdir}" | 22 | FILES:${PN} = "${bindir}/* ${sysconfdir}" |
23 | 23 | ||
24 | # Requires gdk-x11-2.0 which is provided by gtk when x11 in DISTRO_FEATURES | 24 | # Requires gdk-x11-2.0 which is provided by gtk when x11 in DISTRO_FEATURES |
25 | REQUIRED_DISTRO_FEATURES = "x11" | 25 | REQUIRED_DISTRO_FEATURES = "x11" |
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch b/meta/recipes-sato/webkit/webkitgtk/0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch new file mode 100644 index 0000000000..6ffe0a9454 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch | |||
@@ -0,0 +1,44 @@ | |||
1 | From dbd1a59b239b3902e717fdeb063883dbb0b06ee9 Mon Sep 17 00:00:00 2001 | ||
2 | From: Adrian Perez de Castro <aperez@igalia.com> | ||
3 | Date: Sun, 26 May 2024 14:24:35 -0700 | ||
4 | Subject: [PATCH 1/2] Remove ARM-specific declarations in FELighting.h unneeded | ||
5 | after 272873@main | ||
6 | |||
7 | Unreviewed build fix. | ||
8 | |||
9 | * Source/WebCore/platform/graphics/filters/FELighting.h: Remove unneeded | ||
10 | declarations for the getPowerCoefficients() and platformApplyNeon() | ||
11 | functions, which are now defined elsewhere; and were causing a build | ||
12 | failure due to usage of the protected LightingData type. | ||
13 | |||
14 | Canonical link: https://commits.webkit.org/279334@main | ||
15 | |||
16 | Backport this patch for fixing following compile error: | ||
17 | webkitgtk-2.44.1/Source/WebCore/platform/graphics/filters/FELighting.h:73:41: error: 'LightingData' does not name a type | ||
18 | 73 | inline void platformApplyNeon(const LightingData&, const LightSource::PaintingData&); | ||
19 | |||
20 | Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/36d1b5d7c0ef9a733ee8055b1f35b1d24435d538] | ||
21 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
22 | --- | ||
23 | Source/WebCore/platform/graphics/filters/FELighting.h | 5 ----- | ||
24 | 1 file changed, 5 deletions(-) | ||
25 | |||
26 | diff --git a/Source/WebCore/platform/graphics/filters/FELighting.h b/Source/WebCore/platform/graphics/filters/FELighting.h | ||
27 | index 4efab920..dcd80b6f 100644 | ||
28 | --- a/Source/WebCore/platform/graphics/filters/FELighting.h | ||
29 | +++ b/Source/WebCore/platform/graphics/filters/FELighting.h | ||
30 | @@ -68,11 +68,6 @@ protected: | ||
31 | |||
32 | std::unique_ptr<FilterEffectApplier> createSoftwareApplier() const override; | ||
33 | |||
34 | -#if CPU(ARM_NEON) && CPU(ARM_TRADITIONAL) && COMPILER(GCC_COMPATIBLE) | ||
35 | - static int getPowerCoefficients(float exponent); | ||
36 | - inline void platformApplyNeon(const LightingData&, const LightSource::PaintingData&); | ||
37 | -#endif | ||
38 | - | ||
39 | Color m_lightingColor; | ||
40 | float m_surfaceScale; | ||
41 | float m_diffuseConstant; | ||
42 | -- | ||
43 | 2.25.1 | ||
44 | |||
diff --git a/meta/recipes-sato/webkit/webkitgtk/0002-More-dynamicDowncast-adoption-in-platform-code.patch b/meta/recipes-sato/webkit/webkitgtk/0002-More-dynamicDowncast-adoption-in-platform-code.patch new file mode 100644 index 0000000000..a0c7b6bd57 --- /dev/null +++ b/meta/recipes-sato/webkit/webkitgtk/0002-More-dynamicDowncast-adoption-in-platform-code.patch | |||
@@ -0,0 +1,65 @@ | |||
1 | From 88fa4b49a10ecfb74c36c678c1e2b76136357153 Mon Sep 17 00:00:00 2001 | ||
2 | From: Changqing Li <changqing.li@windriver.com> | ||
3 | Date: Fri, 12 Jul 2024 10:16:05 +0800 | ||
4 | Subject: [PATCH 2/2] More dynamicDowncast<> adoption in platform code | ||
5 | |||
6 | Backport part of commit [90d13e7 More dynamicDowncast<> adoption in | ||
7 | platform code] to fix following compile error for ARM_NEON: | ||
8 | webkitgtk-2.44.1/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp:545:37: error: 'LS_POINT' was not declared in this scope; did you mean 'WebCore::LightType::LS_POINT'? | ||
9 | 545 | if (data.lightSource->type() == LS_POINT) { | ||
10 | | ^~~~~~~~ | ||
11 | | WebCore::LightType::LS_POINT | ||
12 | |||
13 | Upstream-Status: Backport [https://github.com/WebKit/WebKit/commit/90d13e77ab2192b7efa8e763eeb8b08dbbb6d5c3] | ||
14 | |||
15 | Signed-off-by: Changqing Li <changqing.li@windriver.com> | ||
16 | --- | ||
17 | .../filters/FELightingNeonParallelApplier.cpp | 22 +++++++++---------- | ||
18 | 1 file changed, 10 insertions(+), 12 deletions(-) | ||
19 | |||
20 | diff --git a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp | ||
21 | index 04d855fa..dccc003d 100644 | ||
22 | --- a/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp | ||
23 | +++ b/Source/WebCore/platform/graphics/cpu/arm/filters/FELightingNeonParallelApplier.cpp | ||
24 | @@ -542,19 +542,17 @@ void FELightingNeonParallelApplier::applyPlatformParallel(const LightingData& da | ||
25 | floatArguments.colorBlue = color.blue; | ||
26 | floatArguments.padding4 = 0; | ||
27 | |||
28 | - if (data.lightSource->type() == LS_POINT) { | ||
29 | + if (auto* pointLightSource = dynamicDowncast<PointLightSource>(*data.lightSource)) { | ||
30 | neonData.flags |= FLAG_POINT_LIGHT; | ||
31 | - auto& pointLightSource = downcast<PointLightSource>(*data.lightSource); | ||
32 | - floatArguments.lightX = pointLightSource.position().x(); | ||
33 | - floatArguments.lightY = pointLightSource.position().y(); | ||
34 | - floatArguments.lightZ = pointLightSource.position().z(); | ||
35 | + floatArguments.lightX = pointLightSource->position().x(); | ||
36 | + floatArguments.lightY = pointLightSource->position().y(); | ||
37 | + floatArguments.lightZ = pointLightSource->position().z(); | ||
38 | floatArguments.padding2 = 0; | ||
39 | - } else if (data.lightSource->type() == LS_SPOT) { | ||
40 | + } else if (auto* spotLightSource = dynamicDowncast<SpotLightSource>(*data.lightSource)) { | ||
41 | neonData.flags |= FLAG_SPOT_LIGHT; | ||
42 | - auto& spotLightSource = downcast<SpotLightSource>(*data.lightSource); | ||
43 | - floatArguments.lightX = spotLightSource.position().x(); | ||
44 | - floatArguments.lightY = spotLightSource.position().y(); | ||
45 | - floatArguments.lightZ = spotLightSource.position().z(); | ||
46 | + floatArguments.lightX = spotLightSource->position().x(); | ||
47 | + floatArguments.lightY = spotLightSource->position().y(); | ||
48 | + floatArguments.lightZ = spotLightSource->position().z(); | ||
49 | floatArguments.padding2 = 0; | ||
50 | |||
51 | floatArguments.directionX = paintingData.directionVector.x(); | ||
52 | @@ -565,8 +563,8 @@ void FELightingNeonParallelApplier::applyPlatformParallel(const LightingData& da | ||
53 | floatArguments.coneCutOffLimit = paintingData.coneCutOffLimit; | ||
54 | floatArguments.coneFullLight = paintingData.coneFullLight; | ||
55 | floatArguments.coneCutOffRange = paintingData.coneCutOffLimit - paintingData.coneFullLight; | ||
56 | - neonData.coneExponent = getPowerCoefficients(spotLightSource.specularExponent()); | ||
57 | - if (spotLightSource.specularExponent() == 1) | ||
58 | + neonData.coneExponent = getPowerCoefficients(spotLightSource->specularExponent()); | ||
59 | + if (spotLightSource->specularExponent() == 1) | ||
60 | neonData.flags |= FLAG_CONE_EXPONENT_IS_1; | ||
61 | } else { | ||
62 | ASSERT(data.lightSource->type() == LS_DISTANT); | ||
63 | -- | ||
64 | 2.25.1 | ||
65 | |||
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.44.1.bb b/meta/recipes-sato/webkit/webkitgtk_2.44.1.bb index 29e12bb8c5..c4a3c464c1 100644 --- a/meta/recipes-sato/webkit/webkitgtk_2.44.1.bb +++ b/meta/recipes-sato/webkit/webkitgtk_2.44.1.bb | |||
@@ -16,6 +16,8 @@ SRC_URI = "https://www.webkitgtk.org/releases/${BPN}-${PV}.tar.xz \ | |||
16 | file://no-musttail-arm.patch \ | 16 | file://no-musttail-arm.patch \ |
17 | file://t6-not-declared.patch \ | 17 | file://t6-not-declared.patch \ |
18 | file://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \ | 18 | file://30e1d5e22213fdaca2a29ec3400c927d710a37a8.patch \ |
19 | file://0001-Remove-ARM-specific-declarations-in-FELighting.h-unn.patch \ | ||
20 | file://0002-More-dynamicDowncast-adoption-in-platform-code.patch \ | ||
19 | " | 21 | " |
20 | SRC_URI[sha256sum] = "425b1459b0f04d0600c78d1abb5e7edfa3c060a420f8b231e9a6a2d5d29c5561" | 22 | SRC_URI[sha256sum] = "425b1459b0f04d0600c78d1abb5e7edfa3c060a420f8b231e9a6a2d5d29c5561" |
21 | 23 | ||
@@ -114,18 +116,6 @@ EXTRA_OECMAKE:append:armv4 = " -DENABLE_JIT=OFF " | |||
114 | EXTRA_OECMAKE:append:armv5 = " -DENABLE_JIT=OFF " | 116 | EXTRA_OECMAKE:append:armv5 = " -DENABLE_JIT=OFF " |
115 | EXTRA_OECMAKE:append:armv6 = " -DENABLE_JIT=OFF " | 117 | EXTRA_OECMAKE:append:armv6 = " -DENABLE_JIT=OFF " |
116 | 118 | ||
117 | # And for armv7* don't enable it for softfp, because after: | ||
118 | # https://github.com/WebKit/WebKit/commit/a2ec4ef1997d6fafa6ffc607bffb54e76168a918 | ||
119 | # https://bugs.webkit.org/show_bug.cgi?id=242172 | ||
120 | # softfp armv7* fails because WEBASSEMBLY is left enabled by default and JIT gets | ||
121 | # explicitly disabled causing: | ||
122 | # http://errors.yoctoproject.org/Errors/Details/734587/ | ||
123 | # PR was sent upstream, but the end result is the same both JIT and WEBASSEMBLY disabled | ||
124 | # https://github.com/WebKit/WebKit/pull/17447 | ||
125 | EXTRA_OECMAKE:append:armv7a = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}" | ||
126 | EXTRA_OECMAKE:append:armv7r = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}" | ||
127 | EXTRA_OECMAKE:append:armv7ve = " -DENABLE_JIT=${@bb.utils.contains('TUNE_FEATURES', 'callconvention-hard', 'ON', 'OFF', d)}" | ||
128 | |||
129 | EXTRA_OECMAKE:append:mipsarch = " -DUSE_LD_GOLD=OFF " | 119 | EXTRA_OECMAKE:append:mipsarch = " -DUSE_LD_GOLD=OFF " |
130 | EXTRA_OECMAKE:append:powerpc = " -DUSE_LD_GOLD=OFF " | 120 | EXTRA_OECMAKE:append:powerpc = " -DUSE_LD_GOLD=OFF " |
131 | 121 | ||