Skip to contentSkip to conversation

recipes: Update git.gnome.org addresses after upstream changes

PATCH In review Richard Purdie 3 participants 3 messages Aug 31, 2018 – Sep 2, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 recipes: Update git.gnome.org addresses after upstream changes

---
 meta/classes/clutter.bbclass                                  | 2 +-
 meta/classes/mirrors.bbclass                                  | 2 +-
 meta/conf/bitbake.conf                                        | 2 +-
 .../mobile-broadband-provider-info_git.bb                     | 2 +-
 meta/recipes-core/glib-networking/glib-networking_2.54.1.bb   | 2 +-
 meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb  | 4 ++--
 .../gnome-desktop-testing/update-output-syntax.patch          | 2 +-
 meta/recipes-support/libxslt/libxslt/fix-rvts-handling.patch  | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)
meta/classes/clutter.bbclass +1 -1
index 167407dfdcf..f5cd04f97f7 100644
@@ -14,7 +14,7 @@ REALNAME = "${@get_real_name("${BPN}")}"
 
 CLUTTER_SRC_FTP = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive"
 
-CLUTTER_SRC_GIT = "git://git.gnome.org/${REALNAME}"
+CLUTTER_SRC_GIT = "git://gitlab.gnome.org/GNOME/${REALNAME};protocol=https"
 
 SRC_URI = "${CLUTTER_SRC_FTP}"
 S = "${WORKDIR}/${REALNAME}-${PV}"
meta/classes/mirrors.bbclass +1 -1
index ed53dfbca62..87bba41472e 100644
@@ -69,7 +69,7 @@ ${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \n \
 
 MIRRORS += "\
 git://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \n \
-git://git.gnome.org/.*        git://git.gnome.org/browse/PATH;protocol=https \n \
+git://git.gnome.org/.*        git://gitlab.gnome.org/GNOME/PATH;protocol=https \n \
 git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \
 git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \
 git://.*/.*                   git://HOST/PATH;protocol=https \n \
meta/conf/bitbake.conf +1 -1
index 1941633a54b..faef77142ab 100644
@@ -627,7 +627,7 @@ BBLAYERS_FETCH_DIR ??= "${COREBASE}"
 APACHE_MIRROR = "http://archive.apache.org/dist"
 DEBIAN_MIRROR = "http://ftp.debian.org/debian/pool"
 GENTOO_MIRROR = "http://distfiles.gentoo.org/distfiles"
-GNOME_GIT = "git://git.gnome.org"
+GNOME_GIT = "git://gitlab.gnome.org/GNOME"
 GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources"
 GNU_MIRROR = "http://ftp.gnu.org/gnu"
 GNUPG_MIRROR = "https://www.gnupg.org/ftp/gcrypt"
meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb +1 -1
index 7b64b25e89a..863b15a78da 100644
@@ -7,7 +7,7 @@ SRCREV = "befcbbc9867e742ac16415660b0b7521218a530c"
 PV = "20170310"
 PE = "1"
 
-SRC_URI = "git://git.gnome.org/mobile-broadband-provider-info \
+SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info;protocol=https \
            file://multilibfix.patch \
 "
 S = "${WORKDIR}/git"
meta/recipes-core/glib-networking/glib-networking_2.54.1.bb +1 -1
index 2a6f8af2b46..5d17a824f08 100644
@@ -1,6 +1,6 @@
 SUMMARY = "GLib networking extensions"
 DESCRIPTION = "glib-networking contains the implementations of certain GLib networking features that cannot be implemented directly in GLib itself because of their dependencies."
-HOMEPAGE = "http://git.gnome.org/browse/glib-networking/"
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/glib-networking/"
 BUGTRACKER = "http://bugzilla.gnome.org"
 
 LICENSE = "LGPLv2"
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb +2 -2
index c71ab1165d5..9d8fb28281c 100644
@@ -5,7 +5,7 @@ DESCRIPTION = "The Cantarell font typeface is designed as a \
                on-screen reading; in particular, reading web pages on an \
                HTC Dream mobile phone."
 
-HOMEPAGE = "https://git.gnome.org/browse/cantarell-fonts/"
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/cantarell-fonts/"
 SECTION = "fonts"
 LICENSE = "OFL-1.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=df91e3ffcab8cfb972a66bf11255188d"
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=df91e3ffcab8cfb972a66bf11255188d"
 PV = "0.0.24"
 
 SRCREV = "07b6ea2cbbebfc360aa4668612a376be5e214eaa"
-SRC_URI = "git://git.gnome.org/cantarell-fonts;protocol=git;branch=master"
+SRC_URI = "git://gitlab.gnome.org/GNOME/cantarell-fonts;protocol=https;branch=master"
 UPSTREAM_CHECK_GITTAGREGEX = "(?P<pver>(?!0\.13)(?!0\.10\.1)\d+\.\d+(\.\d+)+)"
 
 S = "${WORKDIR}/git"
meta/recipes-support/gnome-desktop-testing/gnome-desktop-testing/update-output-syntax.patch +1 -1
index 5a178e2ef12..19c524b0ac6 100644
@@ -3,7 +3,7 @@ The terms `FAIL` instead of `FAILED` and `SKIP` instead of `SKIPPED`
 match what Automake does
 
 Upstream-Status: Accepted
-[ https://git.gnome.org/browse/gnome-desktop-testing/commit/?id=048850731a640532ef55a61df7357fcc6d2ad501 ]
+[ https://gitlab.gnome.org/GNOME/gnome-desktop-testing/commit/048850731a640532ef55a61df7357fcc6d2ad501 ]
 
 Signed-off-by: Maxin B. John <[email protected]>
 ---
meta/recipes-support/libxslt/libxslt/fix-rvts-handling.patch +1 -1
index 424c976d9b9..ea3ae51e937 100644
@@ -5,7 +5,7 @@ libxslt-1.1.32: Fix handling of RVTs returned from nested EXSLT functions
 Set the context variable to NULL when evaluating EXSLT functions.
 Fixes potential use-after-free errors or memory leaks.
 
-Upstream-Status: Backport [https://git.gnome.org/browse/libxslt/commit/?id=8bd32f7753ac253a54279a0b6a88d15a57076bb0]
+Upstream-Status: Backport [https://gitlab.gnome.org/GNOME/libxslt/commit/8bd32f7753ac253a54279a0b6a88d15a57076bb0]
 bug: 792580
 Signed-off-by: Andrej Valek <[email protected]>
 
Signature · 1 line
2.17.1
#1 lore raw
Quoted 91 lines · Richard Purdie
---
 meta/classes/clutter.bbclass                                  | 2 +-
 meta/classes/mirrors.bbclass                                  | 2 +-
 meta/conf/bitbake.conf                                        | 2 +-
 .../mobile-broadband-provider-info_git.bb                     | 2 +-
 meta/recipes-core/glib-networking/glib-networking_2.54.1.bb   | 2 +-
 meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb  | 4 ++--
 .../gnome-desktop-testing/update-output-syntax.patch          | 2 +-
 meta/recipes-support/libxslt/libxslt/fix-rvts-handling.patch  | 2 +-
 8 files changed, 9 insertions(+), 9 deletions(-)
meta/classes/clutter.bbclass +1 -1
index 167407dfdcf..f5cd04f97f7 100644
@@ -14,7 +14,7 @@ REALNAME = "${@get_real_name("${BPN}")}"
 
 CLUTTER_SRC_FTP = "${GNOME_MIRROR}/${REALNAME}/${VERMINOR}/${REALNAME}-${PV}.tar.xz;name=archive"
 
-CLUTTER_SRC_GIT = "git://git.gnome.org/${REALNAME}"
+CLUTTER_SRC_GIT = "git://gitlab.gnome.org/GNOME/${REALNAME};protocol=https"
 
 SRC_URI = "${CLUTTER_SRC_FTP}"
 S = "${WORKDIR}/${REALNAME}-${PV}"
meta/classes/mirrors.bbclass +1 -1
index ed53dfbca62..87bba41472e 100644
@@ -69,7 +69,7 @@ ${CPAN_MIRROR}  http://search.cpan.org/CPAN/ \n \
 
 MIRRORS += "\
 git://salsa.debian.org/.*     git://salsa.debian.org/PATH;protocol=https \n \
-git://git.gnome.org/.*        git://git.gnome.org/browse/PATH;protocol=https \n \
+git://git.gnome.org/.*        git://gitlab.gnome.org/GNOME/PATH;protocol=https \n \
 git://git.savannah.gnu.org/.* git://git.savannah.gnu.org/git/PATH;protocol=https \n \
 git://git.yoctoproject.org/.* git://git.yoctoproject.org/git/PATH;protocol=https \n \
 git://.*/.*                   git://HOST/PATH;protocol=https \n \
meta/conf/bitbake.conf +1 -1
index 1941633a54b..faef77142ab 100644
@@ -627,7 +627,7 @@ BBLAYERS_FETCH_DIR ??= "${COREBASE}"
 APACHE_MIRROR = "http://archive.apache.org/dist"
 DEBIAN_MIRROR = "http://ftp.debian.org/debian/pool"
 GENTOO_MIRROR = "http://distfiles.gentoo.org/distfiles"
-GNOME_GIT = "git://git.gnome.org"
+GNOME_GIT = "git://gitlab.gnome.org/GNOME"
 GNOME_MIRROR = "http://ftp.gnome.org/pub/GNOME/sources"
 GNU_MIRROR = "http://ftp.gnu.org/gnu"
 GNUPG_MIRROR = "https://www.gnupg.org/ftp/gcrypt"
meta/recipes-connectivity/mobile-broadband-provider-info/mobile-broadband-provider-info_git.bb +1 -1
index 7b64b25e89a..863b15a78da 100644
@@ -7,7 +7,7 @@ SRCREV = "befcbbc9867e742ac16415660b0b7521218a530c"
 PV = "20170310"
 PE = "1"
 
-SRC_URI = "git://git.gnome.org/mobile-broadband-provider-info \
+SRC_URI = "git://gitlab.gnome.org/GNOME/mobile-broadband-provider-info;protocol=https \
            file://multilibfix.patch \
 "
 S = "${WORKDIR}/git"
meta/recipes-core/glib-networking/glib-networking_2.54.1.bb +1 -1
index 2a6f8af2b46..5d17a824f08 100644
@@ -1,6 +1,6 @@
 SUMMARY = "GLib networking extensions"
 DESCRIPTION = "glib-networking contains the implementations of certain GLib networking features that cannot be implemented directly in GLib itself because of their dependencies."
-HOMEPAGE = "http://git.gnome.org/browse/glib-networking/"
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/glib-networking/"
 BUGTRACKER = "http://bugzilla.gnome.org"
 
 LICENSE = "LGPLv2"
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb +1 -1
index c71ab1165d5..9d8fb28281c 100644
@@ -5,7 +5,7 @@ DESCRIPTION = "The Cantarell font typeface is designed as a \
                on-screen reading; in particular, reading web pages on an \
                HTC Dream mobile phone."
 
-HOMEPAGE = "https://git.gnome.org/browse/cantarell-fonts/"
+HOMEPAGE = "https://gitlab.gnome.org/GNOME/cantarell-fonts/"
 SECTION = "fonts"
 LICENSE = "OFL-1.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=df91e3ffcab8cfb972a66bf11255188d"

meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb LIC_FILES_CHKSUM = "file://COPYING;md5=df91e3ffcab8cfb972a66bf11255188d" · line 16

Quoted 5 lines
meta/recipes-graphics/cantarell-fonts/cantarell-fonts_git.bb +1 -1
@@ -13,7 +13,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=df91e3ffcab8cfb972a66bf11255188d"
 PV = "0.0.24"
 
 SRCREV = "07b6ea2cbbebfc360aa4668612a376be5e214eaa"
-SRC_URI = "git://git.gnome.org/cantarell-fonts;protocol=git;branch=master"
+SRC_URI = "git://gitlab.gnome.org/GNOME/cantarell-fonts;protocol=https;branch=master"

centos 7 comes with git 1.8.x and that seems to fail to fetch from gitlab/https

Cloning into bare repository 'TOPDIR/downloads/git2/gitlab.gnome.org.GNOME.cantarell-fonts'...
error: RPC failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly

using newer version of git solves this

using the wandisco repo e.g.

yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
yum update git

helps.

do we already state minimum git version somewhere ?

#2 lore raw

Hi Khem

Quoted 9 lines · NZST Khem Raj

centos 7 comes with git 1.8.x and that seems to fail to fetch from gitlab/https

Cloning into bare repository 'TOPDIR/downloads/git2/gitlab.gnome.org.GNOME.cantarell-fonts'...
error: RPC failed; result=22, HTTP code = 404
fatal: The remote end hung up unexpectedly

using newer version of git solves this

Quoted 8 lines

using the wandisco repo e.g.

yum install http://opensource.wandisco.com/centos/7/git/x86_64/wandisco-git-release-7-2.noarch.rpm
yum update git

helps.

do we already state minimum git version somewhere ?

sanity.bbclass checks for git version 1.8.3.1 or later. This check only occurs on the first run or when SANITY_VERSION or NATIVELSBSTRING change (although with the advent of uninative the latter isn't really the right thing to be looking at anymore - I've just filed https://bugzilla.yoctoproject.org/show_bug.cgi?id=12910
for that).

Additionally it's mentioned in the YP "quick build" guide:

https://www.yoctoproject.org/docs/current/brief-yoctoprojectqs/brief-yoctoprojectqs.html#brief-compatible-distro

Cheers,
Paul

Signature · 2 lines
Paul Eggleton
Intel Open Source Technology Centre