summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2024-10-14 14:27:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-10-15 11:47:24 +0100
commit9c1efb65c9b856dc96b84d880b9fddbe319031d4 (patch)
tree66fc9e435bf91a5d19a197a5a638c985e42157e1 /meta/recipes-support
parent20e4b586dfda5e663eec1a53f24b7f74fae69661 (diff)
downloadpoky-9c1efb65c9b856dc96b84d880b9fddbe319031d4.tar.gz
meta: use explicit uri for all sourceforge upstream version checks
Previously the check for some recipes relied on sourceforge redirecting from downloads.sourceforge.net (SRC_URI is set to that) into the actual project page. Sourceforge does this for interactive browsers, but not for wget. With the check no longer mimicking a browser, and being truthful about coming from wget we need to explicitly fetch the project page in all cases, which is what this commit does. (many recipes already set this explicitly and don't need to be tweaked) (From OE-Core rev: 4c21ce6e34f6ce8fbf4db7bc2fd017c8f7a811b4) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/libfm/libfm-extra_1.3.2.bb5
-rw-r--r--meta/recipes-support/libfm/libfm_1.3.2.bb5
-rw-r--r--meta/recipes-support/libpcre/libpcre_8.45.bb5
3 files changed, 9 insertions, 6 deletions
diff --git a/meta/recipes-support/libfm/libfm-extra_1.3.2.bb b/meta/recipes-support/libfm/libfm-extra_1.3.2.bb
index eff1b54f73..b7a9b25f86 100644
--- a/meta/recipes-support/libfm/libfm-extra_1.3.2.bb
+++ b/meta/recipes-support/libfm/libfm-extra_1.3.2.bb
@@ -8,7 +8,8 @@ LIC_FILES_CHKSUM = "file://src/fm-extra.h;beginline=8;endline=21;md5=ef1f84da64b
8SECTION = "x11/libs" 8SECTION = "x11/libs"
9DEPENDS = "glib-2.0-native glib-2.0 intltool-native" 9DEPENDS = "glib-2.0-native glib-2.0 intltool-native"
10 10
11SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \ 11SOURCEFORGE_PROJECT = "pcmanfm"
12SRC_URI = "${SOURCEFORGE_MIRROR}/${SOURCEFORGE_PROJECT}/libfm-${PV}.tar.xz \
12 " 13 "
13 14
14SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5" 15SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5"
@@ -17,6 +18,6 @@ S = "${WORKDIR}/libfm-${PV}"
17 18
18EXTRA_OECONF = "--with-extra-only --with-gtk=no" 19EXTRA_OECONF = "--with-extra-only --with-gtk=no"
19 20
20inherit autotools pkgconfig gtk-doc gettext 21inherit autotools pkgconfig gtk-doc gettext sourceforge-releases
21 22
22do_configure[dirs] =+ "${S}/m4" 23do_configure[dirs] =+ "${S}/m4"
diff --git a/meta/recipes-support/libfm/libfm_1.3.2.bb b/meta/recipes-support/libfm/libfm_1.3.2.bb
index 1d7609165b..e3cf751716 100644
--- a/meta/recipes-support/libfm/libfm_1.3.2.bb
+++ b/meta/recipes-support/libfm/libfm_1.3.2.bb
@@ -13,14 +13,15 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4641e94ec96f98fabc56ff9cc48be14b \
13SECTION = "x11/libs" 13SECTION = "x11/libs"
14DEPENDS = "glib-2.0 glib-2.0-native pango gtk+3 menu-cache intltool-native libexif libfm-extra" 14DEPENDS = "glib-2.0 glib-2.0-native pango gtk+3 menu-cache intltool-native libexif libfm-extra"
15 15
16SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \ 16SOURCEFORGE_PROJECT = "pcmanfm"
17SRC_URI = "${SOURCEFORGE_MIRROR}/${SOURCEFORGE_PROJECT}/libfm-${PV}.tar.xz \
17 file://0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch \ 18 file://0001-Correctly-check-the-stamp-file-that-indicates-if-we-.patch \
18 file://0001-Do-not-add-library-path-to-avoid-host-contamination.patch \ 19 file://0001-Do-not-add-library-path-to-avoid-host-contamination.patch \
19 " 20 "
20 21
21SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5" 22SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5"
22 23
23inherit autotools pkgconfig gtk-doc gettext features_check mime mime-xdg 24inherit autotools pkgconfig gtk-doc gettext features_check mime mime-xdg sourceforge-releases
24ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" 25ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}"
25 26
26EXTRA_OECONF = "--with-gtk=3" 27EXTRA_OECONF = "--with-gtk=3"
diff --git a/meta/recipes-support/libpcre/libpcre_8.45.bb b/meta/recipes-support/libpcre/libpcre_8.45.bb
index 17fb6846a5..933bb00de6 100644
--- a/meta/recipes-support/libpcre/libpcre_8.45.bb
+++ b/meta/recipes-support/libpcre/libpcre_8.45.bb
@@ -7,7 +7,8 @@ HOMEPAGE = "http://www.pcre.org"
7SECTION = "devel" 7SECTION = "devel"
8LICENSE = "BSD-3-Clause" 8LICENSE = "BSD-3-Clause"
9LIC_FILES_CHKSUM = "file://LICENCE;md5=b5d5d1a69a24ea2718263f1ff85a1c58" 9LIC_FILES_CHKSUM = "file://LICENCE;md5=b5d5d1a69a24ea2718263f1ff85a1c58"
10SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \ 10SOURCEFORGE_PROJECT = "pcre"
11SRC_URI = "${SOURCEFORGE_MIRROR}/${SOURCEFORGE_PROJECT}/pcre-${PV}.tar.bz2 \
11 file://run-ptest \ 12 file://run-ptest \
12 file://Makefile \ 13 file://Makefile \
13 " 14 "
@@ -32,7 +33,7 @@ PACKAGECONFIG[jit] = "--enable-jit=auto,--disable-jit"
32 33
33BINCONFIG = "${bindir}/pcre-config" 34BINCONFIG = "${bindir}/pcre-config"
34 35
35inherit autotools binconfig-disabled ptest 36inherit autotools binconfig-disabled ptest sourceforge-releases
36 37
37EXTRA_OECONF = "--enable-utf" 38EXTRA_OECONF = "--enable-utf"
38 39