[OE-core] [meta-oe][PATCH v3] iso-codes: update to 3.79 and fix SRC_URI

Alexander Kanavin alex.kanavin at gmail.com
Tue Jun 5 19:06:48 UTC 2018


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 <ross.burton at intel.com>:
> 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
>
> On 5 June 2018 at 18:08, Alexander Kanavin <alex.kanavin at gmail.com> wrote:
>> 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
>> <open.source at oleksandr-kravchuk.com>:
>>> Ross -
>>>
>>> We've discussed this. Check out discussion of v2 of the patch, please.
>>>
>>>
>>>
>>> On 05/06/18 19:00, Burton, Ross wrote:
>>>>
>>>> No need to change to git, salsa has a tarball at
>>>> https://salsa.debian.org/iso-codes-team/iso-codes/tags.
>>>>
>>>> Ross
>>>>
>>>> On 5 June 2018 at 17:06, Oleksandr Kravchuk
>>>> <open.source at oleksandr-kravchuk.com> wrote:
>>>>>
>>>>> 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.
>>>>>
>>>>> Signed-off-by: Oleksandr Kravchuk <dev at sashko.rv.ua>
>>>>> ---
>>>>>   .../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%)
>>>>>
>>>>> diff --git a/meta/recipes-support/iso-codes/iso-codes_3.77.bb
>>>>> b/meta/recipes-support/iso-codes/iso-codes_3.79.bb
>>>>> 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
>>>>> --- a/meta/recipes-support/iso-codes/iso-codes_3.77.bb
>>>>> +++ b/meta/recipes-support/iso-codes/iso-codes_3.79.bb
>>>>> @@ -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://git@salsa.debian.org/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
>>>>> Openembedded-core at lists.openembedded.org
>>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>>>
>>>
>>> --
>>> _______________________________________________
>>> Openembedded-core mailing list
>>> Openembedded-core at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core



More information about the Openembedded-core mailing list