diff options
author | Alexander Kanavin <alex@linutronix.de> | 2024-10-14 14:27:32 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2024-10-15 11:47:24 +0100 |
commit | 9c1efb65c9b856dc96b84d880b9fddbe319031d4 (patch) | |
tree | 66fc9e435bf91a5d19a197a5a638c985e42157e1 /meta/recipes-support | |
parent | 20e4b586dfda5e663eec1a53f24b7f74fae69661 (diff) | |
download | poky-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.bb | 5 | ||||
-rw-r--r-- | meta/recipes-support/libfm/libfm_1.3.2.bb | 5 | ||||
-rw-r--r-- | meta/recipes-support/libpcre/libpcre_8.45.bb | 5 |
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 | |||
8 | SECTION = "x11/libs" | 8 | SECTION = "x11/libs" |
9 | DEPENDS = "glib-2.0-native glib-2.0 intltool-native" | 9 | DEPENDS = "glib-2.0-native glib-2.0 intltool-native" |
10 | 10 | ||
11 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \ | 11 | SOURCEFORGE_PROJECT = "pcmanfm" |
12 | SRC_URI = "${SOURCEFORGE_MIRROR}/${SOURCEFORGE_PROJECT}/libfm-${PV}.tar.xz \ | ||
12 | " | 13 | " |
13 | 14 | ||
14 | SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5" | 15 | SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5" |
@@ -17,6 +18,6 @@ S = "${WORKDIR}/libfm-${PV}" | |||
17 | 18 | ||
18 | EXTRA_OECONF = "--with-extra-only --with-gtk=no" | 19 | EXTRA_OECONF = "--with-extra-only --with-gtk=no" |
19 | 20 | ||
20 | inherit autotools pkgconfig gtk-doc gettext | 21 | inherit autotools pkgconfig gtk-doc gettext sourceforge-releases |
21 | 22 | ||
22 | do_configure[dirs] =+ "${S}/m4" | 23 | do_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 \ | |||
13 | SECTION = "x11/libs" | 13 | SECTION = "x11/libs" |
14 | DEPENDS = "glib-2.0 glib-2.0-native pango gtk+3 menu-cache intltool-native libexif libfm-extra" | 14 | DEPENDS = "glib-2.0 glib-2.0-native pango gtk+3 menu-cache intltool-native libexif libfm-extra" |
15 | 15 | ||
16 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcmanfm/libfm-${PV}.tar.xz \ | 16 | SOURCEFORGE_PROJECT = "pcmanfm" |
17 | SRC_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 | ||
21 | SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5" | 22 | SRC_URI[sha256sum] = "a5042630304cf8e5d8cff9d565c6bd546f228b48c960153ed366a34e87cad1e5" |
22 | 23 | ||
23 | inherit autotools pkgconfig gtk-doc gettext features_check mime mime-xdg | 24 | inherit autotools pkgconfig gtk-doc gettext features_check mime mime-xdg sourceforge-releases |
24 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" | 25 | ANY_OF_DISTRO_FEATURES = "${GTK3DISTROFEATURES}" |
25 | 26 | ||
26 | EXTRA_OECONF = "--with-gtk=3" | 27 | EXTRA_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" | |||
7 | SECTION = "devel" | 7 | SECTION = "devel" |
8 | LICENSE = "BSD-3-Clause" | 8 | LICENSE = "BSD-3-Clause" |
9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=b5d5d1a69a24ea2718263f1ff85a1c58" | 9 | LIC_FILES_CHKSUM = "file://LICENCE;md5=b5d5d1a69a24ea2718263f1ff85a1c58" |
10 | SRC_URI = "${SOURCEFORGE_MIRROR}/pcre/pcre-${PV}.tar.bz2 \ | 10 | SOURCEFORGE_PROJECT = "pcre" |
11 | SRC_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 | ||
33 | BINCONFIG = "${bindir}/pcre-config" | 34 | BINCONFIG = "${bindir}/pcre-config" |
34 | 35 | ||
35 | inherit autotools binconfig-disabled ptest | 36 | inherit autotools binconfig-disabled ptest sourceforge-releases |
36 | 37 | ||
37 | EXTRA_OECONF = "--enable-utf" | 38 | EXTRA_OECONF = "--enable-utf" |
38 | 39 | ||