Skip to contentSkip to conversation

iso-codes: update to 3.79 and fix SRC_URI

PATCH In review Oleksandr Kravchuk 3 participants 6 messages Jun 5, 2018

lore
Share & tools
lore
#0 lore raw

PATCH v3 1/1 iso-codes: update to 3.79 and fix SRC_URI

Updated package to version 3.79.

The original FTP server, alioth.debian.org has been permanently taken down by the Debian Project and replaced with salsa.debian.org.

Source: https://wiki.debian.org/Alioth

Also added HOMEPAGE, and BUGTRACKER.

---
 .../iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
 rename meta/recipes-support/iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} (56%)
meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +7 -3
similarity index 56%
rename from meta/recipes-support/iso-codes/iso-codes_3.77.bb
rename to meta/recipes-support/iso-codes/iso-codes_3.79.bb
index bd613ac573..72cb542f18 100644
@@ -1,15 +1,19 @@
 SUMMARY = "ISO language, territory, currency, script codes and their translations"
+HOMEPAGE = "https://salsa.debian.org/iso-codes-team/iso-codes"
+BUGTRACKER = "https://salsa.debian.org/iso-codes-team/iso-codes/issues"
+
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"
-SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
-SRC_URI[sha256sum] = "21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90"
+SRC_URI = "git://[email protected]/iso-codes-team/iso-codes.git;protocol=git"
+SRCREV = "c1d5dd96b33cb815ebc21d2708bc045b1545249d"
 
 # inherit gettext cannot be used, because it adds gettext-native to BASEDEPENDS which
 # are inhibited by allarch
 DEPENDS = "gettext-native"
 
+S = "${WORKDIR}/git"
+
 inherit allarch autotools
 
 FILES_${PN} += "${datadir}/xml/"
Signature · 1 line
2.17.0
#1 lore raw

No need to change to git, salsa has a tarball at
https://salsa.debian.org/iso-codes-team/iso-codes/tags.

Ross

Quoted 53 lines · Oleksandr Kravchuk

Updated package to version 3.79.

The original FTP server, alioth.debian.org has been permanently taken down by the Debian Project and replaced with salsa.debian.org.

Source: https://wiki.debian.org/Alioth

Also added HOMEPAGE, and BUGTRACKER.

---
 .../iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)
 rename meta/recipes-support/iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} (56%)
meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +7 -4
similarity index 56%
rename from meta/recipes-support/iso-codes/iso-codes_3.77.bb
rename to meta/recipes-support/iso-codes/iso-codes_3.79.bb
index bd613ac573..72cb542f18 100644
@@ -1,15 +1,19 @@
 SUMMARY = "ISO language, territory, currency, script codes and their translations"
+HOMEPAGE = "https://salsa.debian.org/iso-codes-team/iso-codes"
+BUGTRACKER = "https://salsa.debian.org/iso-codes-team/iso-codes/issues"
+
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"
-SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
-SRC_URI[sha256sum] = "21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90"
+SRC_URI = "git://[email protected]/iso-codes-team/iso-codes.git;protocol=git"
+SRCREV = "c1d5dd96b33cb815ebc21d2708bc045b1545249d"
 
 # inherit gettext cannot be used, because it adds gettext-native to BASEDEPENDS which
 # are inhibited by allarch
 DEPENDS = "gettext-native"
 
+S = "${WORKDIR}/git"
+
 inherit allarch autotools
 
 FILES_${PN} += "${datadir}/xml/"
--

2.17.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#2 lore raw

Ross -

We've discussed this. Check out discussion of v2 of the patch, please.

Quoted 60 lines · Ross

No need to change to git, salsa has a tarball at
https://salsa.debian.org/iso-codes-team/iso-codes/tags.

Ross

Quoted 53 lines · Oleksandr Kravchuk

Updated package to version 3.79.

The original FTP server, alioth.debian.org has been permanently taken down by the Debian Project and replaced with salsa.debian.org.

Source: https://wiki.debian.org/Alioth

Also added HOMEPAGE, and BUGTRACKER.

---
  .../iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} | 10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)

rename meta/recipes-support/iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} (56%)

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +7 -4
similarity index 56%
rename from meta/recipes-support/iso-codes/iso-codes_3.77.bb
rename to meta/recipes-support/iso-codes/iso-codes_3.79.bb
index bd613ac573..72cb542f18 100644
@@ -1,15 +1,19 @@
  SUMMARY = "ISO language, territory, currency, script codes and their translations"
+HOMEPAGE = "https://salsa.debian.org/iso-codes-team/iso-codes"
+BUGTRACKER = "https://salsa.debian.org/iso-codes-team/iso-codes/issues"
+
  LICENSE = "LGPLv2.1"
  LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
 
-SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"
-SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
-SRC_URI[sha256sum] = "21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90"
+SRC_URI = "git://[email protected]/iso-codes-team/iso-codes.git;protocol=git"
+SRCREV = "c1d5dd96b33cb815ebc21d2708bc045b1545249d"
 
  # inherit gettext cannot be used, because it adds gettext-native to BASEDEPENDS which
  # are inhibited by allarch
  DEPENDS = "gettext-native"
 
+S = "${WORKDIR}/git"
+
  inherit allarch autotools
 
  FILES_${PN} += "${datadir}/xml/"
--

2.17.0

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#3 lore raw

This was discussed in private. The maintainer uploaded tarballs have a random hash in the URI, which will break 'devtool upgrade' and make manual updates inconvenient. And autogenerated tarballs are likely to suffer from same issue as githb ones.

Alex

2018-06-05 20:04 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 84 lines

Ross -

We've discussed this. Check out discussion of v2 of the patch, please.

Quoted 65 lines · Ross

No need to change to git, salsa has a tarball at
https://salsa.debian.org/iso-codes-team/iso-codes/tags.

Ross

Quoted 57 lines · Oleksandr Kravchuk

Updated package to version 3.79.

The original FTP server, alioth.debian.org has been permanently taken down by the Debian Project and replaced with salsa.debian.org.

Source: https://wiki.debian.org/Alioth

Also added HOMEPAGE, and BUGTRACKER.

---
  .../iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} | 10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)

rename meta/recipes-support/iso-codes/{iso-codes_3.77.bb =>
iso-codes_3.79.bb} (56%)

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +0 -0
similarity index 56%
rename from meta/recipes-support/iso-codes/iso-codes_3.77.bb
rename to meta/recipes-support/iso-codes/iso-codes_3.79.bb
index bd613ac573..72cb542f18 100644
@@ -1,15 +1,19 @@
  SUMMARY = "ISO language, territory, currency, script codes and their

translations"

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +3 -0
+HOMEPAGE = "https://salsa.debian.org/iso-codes-team/iso-codes"
+BUGTRACKER = "https://salsa.debian.org/iso-codes-team/iso-codes/issues"
+
  LICENSE = "LGPLv2.1"
  LIC_FILES_CHKSUM =

"file://COPYING;md5=4fbd65380cdd255951079008b364516c"

-SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +0 -2
-SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
-SRC_URI[sha256sum] =

"21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90" +SRC_URI = "git://[email protected]/iso-codes-team/iso-codes.git;protocol=git" +SRCREV = "c1d5dd96b33cb815ebc21d2708bc045b1545249d"

  # inherit gettext cannot be used, because it adds gettext-native to
BASEDEPENDS which
  # are inhibited by allarch
  DEPENDS = "gettext-native"
meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +2 -1
+S = "${WORKDIR}/git"
+
  inherit allarch autotools
 
  FILES_${PN} += "${datadir}/xml/"
--

2.17.0

Quoted 5 lines
Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#4 lore raw

Well that's frustrating isn't it. Need a way of teaching devtool upgrade how to find new tarball URLs from a HTML page maybe?

Ross

Quoted 93 lines · Alexander Kanavin

This was discussed in private. The maintainer uploaded tarballs have a random hash in the URI, which will break 'devtool upgrade' and make manual updates inconvenient. And autogenerated tarballs are likely to suffer from same issue as githb ones.

Alex

2018-06-05 20:04 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 84 lines

Ross -

We've discussed this. Check out discussion of v2 of the patch, please.

Quoted 65 lines · Ross

No need to change to git, salsa has a tarball at
https://salsa.debian.org/iso-codes-team/iso-codes/tags.

Ross

Quoted 57 lines · Oleksandr Kravchuk

Updated package to version 3.79.

The original FTP server, alioth.debian.org has been permanently taken down by the Debian Project and replaced with salsa.debian.org.

Source: https://wiki.debian.org/Alioth

Also added HOMEPAGE, and BUGTRACKER.

---
  .../iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} | 10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)

rename meta/recipes-support/iso-codes/{iso-codes_3.77.bb =>
iso-codes_3.79.bb} (56%)

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +0 -0
similarity index 56%
rename from meta/recipes-support/iso-codes/iso-codes_3.77.bb
rename to meta/recipes-support/iso-codes/iso-codes_3.79.bb
index bd613ac573..72cb542f18 100644
@@ -1,15 +1,19 @@
  SUMMARY = "ISO language, territory, currency, script codes and their

translations"

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +3 -0
+HOMEPAGE = "https://salsa.debian.org/iso-codes-team/iso-codes"
+BUGTRACKER = "https://salsa.debian.org/iso-codes-team/iso-codes/issues"
+
  LICENSE = "LGPLv2.1"
  LIC_FILES_CHKSUM =

"file://COPYING;md5=4fbd65380cdd255951079008b364516c"

-SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +0 -2
-SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
-SRC_URI[sha256sum] =

"21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90" +SRC_URI = "git://[email protected]/iso-codes-team/iso-codes.git;protocol=git" +SRCREV = "c1d5dd96b33cb815ebc21d2708bc045b1545249d"

  # inherit gettext cannot be used, because it adds gettext-native to
BASEDEPENDS which
  # are inhibited by allarch
  DEPENDS = "gettext-native"
meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +2 -1
+S = "${WORKDIR}/git"
+
  inherit allarch autotools
 
  FILES_${PN} += "${datadir}/xml/"
--

2.17.0

Quoted 5 lines
Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

#5 lore raw

Maybe, if it was commonly needed. But 99.9% of tarball upgrades can be done with a simple recipe file rename, with the version propagating into the tarball path and filename via ${PV}.

Alex

2018-06-05 21:45 GMT+03:00 Burton, Ross <[email protected]>:

Quoted 99 lines

Well that's frustrating isn't it. Need a way of teaching devtool upgrade how to find new tarball URLs from a HTML page maybe?

Ross

Quoted 93 lines · Alexander Kanavin

This was discussed in private. The maintainer uploaded tarballs have a random hash in the URI, which will break 'devtool upgrade' and make manual updates inconvenient. And autogenerated tarballs are likely to suffer from same issue as githb ones.

Alex

2018-06-05 20:04 GMT+03:00 Oleksandr Kravchuk
<[email protected]>:

Quoted 84 lines

Ross -

We've discussed this. Check out discussion of v2 of the patch, please.

Quoted 65 lines · Ross

No need to change to git, salsa has a tarball at
https://salsa.debian.org/iso-codes-team/iso-codes/tags.

Ross

Quoted 57 lines · Oleksandr Kravchuk

Updated package to version 3.79.

The original FTP server, alioth.debian.org has been permanently taken down by the Debian Project and replaced with salsa.debian.org.

Source: https://wiki.debian.org/Alioth

Also added HOMEPAGE, and BUGTRACKER.

---
  .../iso-codes/{iso-codes_3.77.bb => iso-codes_3.79.bb} | 10 +++++++---
  1 file changed, 7 insertions(+), 3 deletions(-)

rename meta/recipes-support/iso-codes/{iso-codes_3.77.bb =>
iso-codes_3.79.bb} (56%)

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +0 -0
similarity index 56%
rename from meta/recipes-support/iso-codes/iso-codes_3.77.bb
rename to meta/recipes-support/iso-codes/iso-codes_3.79.bb
index bd613ac573..72cb542f18 100644
@@ -1,15 +1,19 @@
  SUMMARY = "ISO language, territory, currency, script codes and their

translations"

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +3 -0
+HOMEPAGE = "https://salsa.debian.org/iso-codes-team/iso-codes"
+BUGTRACKER = "https://salsa.debian.org/iso-codes-team/iso-codes/issues"
+
  LICENSE = "LGPLv2.1"
  LIC_FILES_CHKSUM =

"file://COPYING;md5=4fbd65380cdd255951079008b364516c"

-SRC_URI = "https://pkg-isocodes.alioth.debian.org/downloads/iso-codes-${PV}.tar.xz"

meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +0 -2
-SRC_URI[md5sum] = "9d0d06cfb4634428b300845edcd7140a"
-SRC_URI[sha256sum] =

"21cd73a4c6f95d9474ebfcffd4e065223857720f24858e564f4409b19f7f0d90" +SRC_URI = "git://[email protected]/iso-codes-team/iso-codes.git;protocol=git" +SRCREV = "c1d5dd96b33cb815ebc21d2708bc045b1545249d"

  # inherit gettext cannot be used, because it adds gettext-native to
BASEDEPENDS which
  # are inhibited by allarch
  DEPENDS = "gettext-native"
meta/recipes-support/iso-codes/iso-codes_3.79.bb renamed from meta/recipes-support/iso-codes/iso-codes_3.77.bb +2 -1
+S = "${WORKDIR}/git"
+
  inherit allarch autotools
 
  FILES_${PN} += "${datadir}/xml/"
--

2.17.0

Quoted 5 lines
Quoted 5 lines

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core