[oe] [meta-networking][PATCH] squid: workaround a build failure with native gcc10

2024-05-17 Thread Yoann Congal
When build on Debian 11 (gcc10), squid fails to build[0] because of a
bug[1] in the configure step (it mixes options between old native compiler
and recent target compiler: the former needs the std=c++17 option, the latter
doesn't).

The workaround is to force the "-std=c++17" option for the native build.

NB: Our Buildroot friends have the same workaround[2].

[0]: 
https://autobuilder.yoctoproject.org/typhoon/#/builders/155/builds/23/steps/28/logs/stdio
[1]: https://bugs.squid-cache.org/show_bug.cgi?id=5376
 Bug closed as invalid by upstream
[2]: 
https://github.com/buildroot/buildroot/blob/932b52fad87d79d9f26a343edafe2981079de16e/package/squid/squid.mk#L24

Signed-off-by: Yoann Congal 
Reviewed-by: Alexandre Truong 
---
I'm not 100% sure that all the host compiler of all the supported
distributions take the "-std=c++17" option. I've tested it only on
Debian11&12.
---
 meta-networking/recipes-daemons/squid/squid_6.9.bb | 5 +
 1 file changed, 5 insertions(+)

diff --git a/meta-networking/recipes-daemons/squid/squid_6.9.bb 
b/meta-networking/recipes-daemons/squid/squid_6.9.bb
index f0663a5e04..33d286e122 100644
--- a/meta-networking/recipes-daemons/squid/squid_6.9.bb
+++ b/meta-networking/recipes-daemons/squid/squid_6.9.bb
@@ -68,6 +68,11 @@ EXTRA_OECONF += "--with-default-user=squid \
  --with-logdir=${localstatedir}/log/${BPN} \
  'PERL=${USRBINPATH}/env perl'"
 
+# Workaround a build failure when using a native compiler that need -std=c++17
+# with a cross-compiler that doesn't.
+# Upstream issue closed as invalid : 
https://bugs.squid-cache.org/show_bug.cgi?id=5376
+BUILD_CXXFLAGS += "-std=c++17"
+
 export BUILDCXXFLAGS="${BUILD_CXXFLAGS}"
 
 TESTDIR = "test-suite"
-- 
2.39.2


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110431): 
https://lists.openembedded.org/g/openembedded-devel/message/110431
Mute This Topic: https://lists.openembedded.org/mt/106155607/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe][meta-oe][PATCH] ostree: Upgrade 2024.5 -> 2024.6

2024-05-17 Thread Jose Quaresma
- Add composefs packageconfig knob

$ git --no-pager log --oneline v2024.5...v2024.6
d4a7a8d9 (tag: v2024.6) Release 2024.6
4ed4d618 Merge pull request #3245 from cgwalters/doc-offline-deltas
37b3c767 docs: Describe offline updates with static deltas
664116f0 Merge pull request #3244 from alexlarsson/fix-fsverity-supported
92f2abcb Merge pull request #3243 from cgwalters/loaded_ts_fix
083eacd6 Fix _ostree_ensure_fsverity reporting of supports in early exit
ee066d79 sysroot: Handle `/ostree/deploy` having epoch 0
f911d40b Merge pull request #3234 from jmarrero/state-root
cb70e406 ostree-sysroot-deploy: check if deployments are in the same stateroot.
a00062bf Merge pull request #3238 from cgwalters/force-container-env
3d3f0b8d ci: Also skip if we detect /run/.containerenv
64ab0982 Merge pull request #3236 from cgwalters/clang-format
a33c7d23 ci: Only run clang-format on ubuntu-stable GH runner
cb13977a Merge pull request #3232 from ericcurtin/aboot-bootloader
fa720d15 Merge pull request #3233 from dbnicholson/sync-summary-times
60f4592b repo: Make summary and signature mtime match
ffbeff6c tests: Correctly skip single fsverity test
9e51fb16 docs: Fix spelling and grammer
998a0ab5 docs: More accurate diagram in bootloaders documentation for aboot
c8c436e5 Merge pull request #3231 from alexlarsson/fix-aboot-non-ab
6ac8c49a prepare-root: Handle non-AB aboot properly
99ef9806 Merge pull request #3230 from cgwalters/initfs-epoch-2
818af91d Merge pull request #3108 from cgwalters/use-external-composefs
eb54a441 Switch to external composefs
8a9f067d ci: Drop `SKIP_INSTALLDEPS=1`
3647395f tests: Skip composefs tests without the feature
74a3d2da init-fs: Add --epoch=2
0c0b6cee Merge pull request #3229 from cgwalters/init-deploy-0700
38f6b9b3 init-fs: Add --epoch
3c2e9d09 Merge pull request #3227 from alexlarsson/fix-fsverity-error-check
374fb05d _ostree_ensure_fsverity: Properly check for errors
d05c48b7 Merge pull request #3226 from ericcurtin/rm-rhivos
24c0c1c4 README & docs: Remove "RHIVOS" acronym
3c25a93b Merge pull request #3220 from jlebon/pr/on-failure-isolate
05b3b662 ostree-prepare-root.service: add OnFailureJobMode=isolate
dc4d4b55 Merge pull request #3218 from cgwalters/policy-allow-none
b96b4ff4 Merge pull request #3216 from cgwalters/mirrorlist-retries
45453b73 sepolicy: Add missing `(nullable)`
76ab8621 curl: Also map HTTP errors for retries
7fdc792f Merge pull request #3215 from cgwalters/release
1bc7d207 configure: post-release version bump

Signed-off-by: Jose Quaresma 
---
 .../ostree/{ostree_2024.5.bb => ostree_2024.6.bb}  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
 rename meta-oe/recipes-extended/ostree/{ostree_2024.5.bb => ostree_2024.6.bb} 
(97%)

diff --git a/meta-oe/recipes-extended/ostree/ostree_2024.5.bb 
b/meta-oe/recipes-extended/ostree/ostree_2024.6.bb
similarity index 97%
rename from meta-oe/recipes-extended/ostree/ostree_2024.5.bb
rename to meta-oe/recipes-extended/ostree/ostree_2024.6.bb
index 2ea92f190..fcfc5401e 100644
--- a/meta-oe/recipes-extended/ostree/ostree_2024.5.bb
+++ b/meta-oe/recipes-extended/ostree/ostree_2024.6.bb
@@ -22,7 +22,7 @@ GITHUB_BASE_URI = 
"https://github.com/ostreedev/ostree/releases";
 SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/libostree-${PV}.tar.xz \
file://run-ptest \
"
-SRC_URI[sha256sum] = 
"bc12d8493db64152093ee5be77cf62a29cc67a4a9e430dc987103e78aada4a6f"
+SRC_URI[sha256sum] = 
"8b61c856697aa412f2f1724322ada40bdd7b1bf9e7783e2c594faa7a594f868f"
 
 S = "${WORKDIR}/libostree-${PV}"
 
@@ -69,6 +69,7 @@ PACKAGECONFIG:class-nativesdk ??= " \
 
 PACKAGECONFIG[avahi] = "--with-avahi, --without-avahi, avahi"
 PACKAGECONFIG[builtin-grub2-mkconfig] = "--with-builtin-grub2-mkconfig, 
--without-builtin-grub2-mkconfig"
+PACKAGECONFIG[composefs] = "--with-composefs, --without-composefs, composefs"
 PACKAGECONFIG[curl] = "--with-curl, --without-curl, curl"
 PACKAGECONFIG[dracut] = "--with-dracut, --without-dracut"
 PACKAGECONFIG[ed25519-libsodium] = "--with-ed25519-libsodium, 
--without-ed25519-libsodium, libsodium"
-- 
2.45.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110430): 
https://lists.openembedded.org/g/openembedded-devel/message/110430
Mute This Topic: https://lists.openembedded.org/mt/106154600/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH v2] source-han-sans-*-fonts: fix SRC_URI

2024-05-17 Thread Alexandre Truong
We get fetch errors from the SRC_URI provided. See errors at [0].
svn protocol was used but it's deprecated.
So, a http url will be passed instead.

The sha256sum has also been changed since the previous one was
for the 1.004 release's archive, while we are on 2.004.

[0]: 
https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/353/steps/16/logs/errors

Signed-off-by: Alexandre Truong 
Reviewed-by: Yoann Congal 
---
 .../ttf-fonts/source-han-sans-cn-fonts_2.004.bb| 7 ++-
 .../ttf-fonts/source-han-sans-jp-fonts_2.004.bb| 7 ++-
 .../ttf-fonts/source-han-sans-kr-fonts_2.004.bb| 7 ++-
 .../ttf-fonts/source-han-sans-tw-fonts_2.004.bb| 7 ++-
 4 files changed, 8 insertions(+), 20 deletions(-)

diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
index b4a598527..391d46557 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
@@ -11,13 +11,10 @@ inherit allarch fontcache
 #EXCLUDE_FROM_WORLD = "1"
 
 SRC_URI = " \
-
svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/CN;protocol=http;rev=82
 \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansCN.zip;subdir=${BP}
 \
 file://44-source-han-sans-cn.conf \
 "
-SRC_URI[md5sum] = "d16abc21f6575bb08894efedbed484a2"
-SRC_URI[sha256sum] = 
"0a0e1d8e52833bc352d454d8242da03b82c0efc41323fb66f7435e5b39734a4f"
-
-S = "${WORKDIR}/SourceHanSansCN"
+SRC_URI[sha256sum] = 
"6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6"
 
 do_install() {
 install -d ${D}${sysconfdir}/fonts/conf.d/
diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
index 6a4509048..f940478a8 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
@@ -11,13 +11,10 @@ inherit allarch fontcache
 #EXCLUDE_FROM_WORLD = "1"
 
 SRC_URI = " \
-
svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/JP;protocol=http;rev=82
 \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansJP.zip;subdir=${BP}
 \
 file://44-source-han-sans-jp.conf \
 "
-SRC_URI[md5sum] = "908fbf97f3df04a6838708c093f1e900"
-SRC_URI[sha256sum] = 
"dc6dbae3fba35f220bac88ba7130b826c7efe1282f472788fae3628b79be3f54"
-
-S = "${WORKDIR}/SourceHanSansJP"
+SRC_URI[sha256sum] = 
"1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf9802750c17e"
 
 do_install() {
 install -d ${D}${sysconfdir}/fonts/conf.d/
diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
index 5ab5057d8..f536d1b61 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
@@ -11,13 +11,10 @@ inherit allarch fontcache
 #EXCLUDE_FROM_WORLD = "1"
 
 SRC_URI = " \
-
svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82
 \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansKR.zip;subdir=${BP}
 \
 file://44-source-han-sans-kr.conf \
 "
-SRC_URI[md5sum] = "f8d1bd6c87d8575afdb25e2f46bd81d4"
-SRC_URI[sha256sum] = 
"38fd15c80f9980492faaa1af39ff873d8a38e45027023fb17d5b10d4b4b0e6af"
-
-S = "${WORKDIR}/SourceHanSansKR"
+SRC_URI[sha256sum] = 
"02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe"
 
 do_install() {
 install -d ${D}${sysconfdir}/fonts/conf.d/
diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
index a2b3fff07..0a4aff5e3 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
@@ -11,13 +11,10 @@ inherit allarch fontcache
 #EXCLUDE_FROM_WORLD = "1"
 
 SRC_URI = " \
-
svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82
 \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansTW.zip;subdir=${BP}
 \
 file://44-source-han-sans-tw.conf \
 "
-SRC_URI[md5sum] = "6533b71b31c19e548768f0fc963202f3"
-SRC_URI[sha256sum] = 
"92ba161921c5cdec5a8f8d5711676f0865b50cee071c25eb4bd4125b5af59fd0"
-
-S = "${WORKDIR}/SourceHanSansTW"
+SRC_URI[sha256sum] = 
"11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806"
 
 do_install() {
 install -d ${D}${sysconfdir}/fonts/conf.d/
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group

Re: [oe] [meta-oe][PATCH 1/4] source-han-sans-tw-fonts: fix url

2024-05-17 Thread Martin Jansa
S = "${WORKDIR}/${BP}"

This is the default, so you can just drop this and I would squash all
4 as it's almost the same change across 4 almost identical recipes.


On Fri, May 17, 2024 at 11:48 AM Alexandre Truong via
lists.openembedded.org
 wrote:
>
> We get fetch errors from the SRC_URI provided. svn protocol was used
> but it's deprecated. So, a http url will be passed instead.
>
> The sha256sum has also been changed since the previous one was
> for the 1.004 release's archive, while we are on 2.004.
>
> Signed-off-by: Alexandre Truong 
> Reviewed-by: Yoann Congal 
> ---
>  .../ttf-fonts/source-han-sans-tw-fonts_2.004.bb| 7 +++
>  1 file changed, 3 insertions(+), 4 deletions(-)
>
> diff --git 
> a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb 
> b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> index a2b3fff07..563bd6a47 100644
> --- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> +++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
> @@ -11,13 +11,12 @@ inherit allarch fontcache
>  #EXCLUDE_FROM_WORLD = "1"
>
>  SRC_URI = " \
> -
> svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82
>  \
> +
> https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansTW.zip;subdir=${BP}
>  \
>  file://44-source-han-sans-tw.conf \
>  "
> -SRC_URI[md5sum] = "6533b71b31c19e548768f0fc963202f3"
> -SRC_URI[sha256sum] = 
> "92ba161921c5cdec5a8f8d5711676f0865b50cee071c25eb4bd4125b5af59fd0"
> +SRC_URI[sha256sum] = 
> "11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806"
>
> -S = "${WORKDIR}/SourceHanSansTW"
> +S = "${WORKDIR}/${BP}"
>
>  do_install() {
>  install -d ${D}${sysconfdir}/fonts/conf.d/
> --
> 2.34.1
>
>
> 
>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110428): 
https://lists.openembedded.org/g/openembedded-devel/message/110428
Mute This Topic: https://lists.openembedded.org/mt/106150787/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 2/4] source-han-sans-jp-fonts: fix url

2024-05-17 Thread Alexandre Truong
We get fetch errors from the SRC_URI provided. svn protocol was used
but it's deprecated. So, a http url will be passed instead.

The sha256sum has also been changed since the previous one was
for the 1.004 release's archive, while we are on 2.004.

Signed-off-by: Alexandre Truong 
Reviewed-by: Yoann Congal 
---
 .../ttf-fonts/source-han-sans-jp-fonts_2.004.bb| 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
index 6a4509048..8a2caa44b 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-jp-fonts_2.004.bb
@@ -11,13 +11,12 @@ inherit allarch fontcache
 #EXCLUDE_FROM_WORLD = "1"
 
 SRC_URI = " \
-
svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/JP;protocol=http;rev=82
 \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansJP.zip;subdir=${BP}
 \
 file://44-source-han-sans-jp.conf \
 "
-SRC_URI[md5sum] = "908fbf97f3df04a6838708c093f1e900"
-SRC_URI[sha256sum] = 
"dc6dbae3fba35f220bac88ba7130b826c7efe1282f472788fae3628b79be3f54"
+SRC_URI[sha256sum] = 
"1ae9f62ad620d686c4a049ce25cf54e3afd8fefc954a678c644cf9802750c17e"
 
-S = "${WORKDIR}/SourceHanSansJP"
+S = "${WORKDIR}/${BP}"
 
 do_install() {
 install -d ${D}${sysconfdir}/fonts/conf.d/
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110425): 
https://lists.openembedded.org/g/openembedded-devel/message/110425
Mute This Topic: https://lists.openembedded.org/mt/106150789/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 1/4] source-han-sans-tw-fonts: fix url

2024-05-17 Thread Alexandre Truong
We get fetch errors from the SRC_URI provided. svn protocol was used
but it's deprecated. So, a http url will be passed instead.

The sha256sum has also been changed since the previous one was
for the 1.004 release's archive, while we are on 2.004.

Signed-off-by: Alexandre Truong 
Reviewed-by: Yoann Congal 
---
 .../ttf-fonts/source-han-sans-tw-fonts_2.004.bb| 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
index a2b3fff07..563bd6a47 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-tw-fonts_2.004.bb
@@ -11,13 +11,12 @@ inherit allarch fontcache
 #EXCLUDE_FROM_WORLD = "1"
 
 SRC_URI = " \
-
svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82
 \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansTW.zip;subdir=${BP}
 \
 file://44-source-han-sans-tw.conf \
 "
-SRC_URI[md5sum] = "6533b71b31c19e548768f0fc963202f3"
-SRC_URI[sha256sum] = 
"92ba161921c5cdec5a8f8d5711676f0865b50cee071c25eb4bd4125b5af59fd0"
+SRC_URI[sha256sum] = 
"11d78c8fbc1a4bb04a453cdd65c99db8d41ec5cd6ba6d68c8638e6ba170de806"
 
-S = "${WORKDIR}/SourceHanSansTW"
+S = "${WORKDIR}/${BP}"
 
 do_install() {
 install -d ${D}${sysconfdir}/fonts/conf.d/
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110423): 
https://lists.openembedded.org/g/openembedded-devel/message/110423
Mute This Topic: https://lists.openembedded.org/mt/106150787/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 3/4] source-han-sans-cn-fonts: fix url

2024-05-17 Thread Alexandre Truong
We get fetch errors from the SRC_URI provided. svn protocol was used
but it's deprecated. So, a http url will be passed instead.

The sha256sum has also been changed since the previous one was
for the 1.004 release's archive, while we are on 2.004.

Signed-off-by: Alexandre Truong 
Reviewed-by: Yoann Congal 
---
 .../ttf-fonts/source-han-sans-cn-fonts_2.004.bb| 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
index b4a598527..981d0d3c0 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-cn-fonts_2.004.bb
@@ -11,13 +11,12 @@ inherit allarch fontcache
 #EXCLUDE_FROM_WORLD = "1"
 
 SRC_URI = " \
-
svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/CN;protocol=http;rev=82
 \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansCN.zip;subdir=${BP}
 \
 file://44-source-han-sans-cn.conf \
 "
-SRC_URI[md5sum] = "d16abc21f6575bb08894efedbed484a2"
-SRC_URI[sha256sum] = 
"0a0e1d8e52833bc352d454d8242da03b82c0efc41323fb66f7435e5b39734a4f"
+SRC_URI[sha256sum] = 
"6841fc13f1c0d255cfeb33d2a2c68d24bbebd94ae2c070347a2b2b200a1db4d6"
 
-S = "${WORKDIR}/SourceHanSansCN"
+S = "${WORKDIR}/${BP}"
 
 do_install() {
 install -d ${D}${sysconfdir}/fonts/conf.d/
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110426): 
https://lists.openembedded.org/g/openembedded-devel/message/110426
Mute This Topic: https://lists.openembedded.org/mt/106150790/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 4/4] source-han-sans-kr-fonts: fix url

2024-05-17 Thread Alexandre Truong
We get fetch errors from the SRC_URI provided. svn protocol was used
but it's deprecated. So, a http url will be passed instead.

The sha256sum has also been changed since the previous one was
for the 1.004 release's archive, while we are on 2.004.

Signed-off-by: Alexandre Truong 
Reviewed-by: Yoann Congal 
---
 .../ttf-fonts/source-han-sans-kr-fonts_2.004.bb| 7 +++
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git 
a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb 
b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
index 5ab5057d8..9d8460664 100644
--- a/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
+++ b/meta-oe/recipes-graphics/ttf-fonts/source-han-sans-kr-fonts_2.004.bb
@@ -11,13 +11,12 @@ inherit allarch fontcache
 #EXCLUDE_FROM_WORLD = "1"
 
 SRC_URI = " \
-
svn://github.com/adobe-fonts/source-han-sans;module=branches/release/SubsetOTF/TW;protocol=http;rev=82
 \
+
https://github.com/adobe-fonts/source-han-sans/releases/download/2.004R/SourceHanSansKR.zip;subdir=${BP}
 \
 file://44-source-han-sans-kr.conf \
 "
-SRC_URI[md5sum] = "f8d1bd6c87d8575afdb25e2f46bd81d4"
-SRC_URI[sha256sum] = 
"38fd15c80f9980492faaa1af39ff873d8a38e45027023fb17d5b10d4b4b0e6af"
+SRC_URI[sha256sum] = 
"02fe28a48c6381c49d61c27a1b173c77f0e6f2b9f2b68e79f076f10a6a8f4bfe"
 
-S = "${WORKDIR}/SourceHanSansKR"
+S = "${WORKDIR}/${BP}"
 
 do_install() {
 install -d ${D}${sysconfdir}/fonts/conf.d/
-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110427): 
https://lists.openembedded.org/g/openembedded-devel/message/110427
Mute This Topic: https://lists.openembedded.org/mt/106150791/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-



[oe] [meta-oe][PATCH 0/4] source-han-sans fonts: fix SRC_URIS

2024-05-17 Thread Alexandre Truong
The followings patches target source-han-sans-*-fonts’ SRC_URI as we get
fetch errors using them. See errors at [0]

Moreover, the sha256sum is the one from the 1.004 release
while we are on 2.004. So, hash have also been changed in the patches.

[0]: 
https://autobuilder.yoctoproject.org/typhoon/#/builders/156/builds/353/steps/16/logs/errors

Alexandre Truong (4):
  source-han-sans-tw-fonts: fix url
  source-han-sans-jp-fonts: fix url
  source-han-sans-cn-fonts: fix url
  source-han-sans-kr-fonts: fix url

 .../ttf-fonts/source-han-sans-cn-fonts_2.004.bb| 7 +++
 .../ttf-fonts/source-han-sans-jp-fonts_2.004.bb| 7 +++
 .../ttf-fonts/source-han-sans-kr-fonts_2.004.bb| 7 +++
 .../ttf-fonts/source-han-sans-tw-fonts_2.004.bb| 7 +++
 4 files changed, 12 insertions(+), 16 deletions(-)

-- 
2.34.1


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#110424): 
https://lists.openembedded.org/g/openembedded-devel/message/110424
Mute This Topic: https://lists.openembedded.org/mt/106150788/21656
Group Owner: openembedded-devel+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-