On Sun, Jun 30, 2024 at 12:12:27PM +0100, James Cowgill wrote: > > Package: libuchardet-dev > > Version: 0.0.8-1 > > Severity: wishlist > > > > A new "upstream version" is available with a new API > > deprecating uchardet_get_charset() in favour of > > chardet_get_n_candidates() and uchardet_get_encoding() > > > > The version number was not yet increased :( > > > > See > > https://gitlab.freedesktop.org/uchardet/uchardet/-/commit/8118133e0017c4e1b3ddc9fad104c0ba19692cd7 > > https://gitlab.freedesktop.org/uchardet/uchardet/-/commit/5a949265d577ccfbaef7bca01ad875b2aa84eace > > https://gitlab.freedesktop.org/uchardet/uchardet/-/commit/669ede73a3473bab7fea4d01f093bb273a5430af > > https://gitlab.freedesktop.org/uchardet/uchardet/-/commit/908f9b8ba776d21cd6e0b0b836014dd212f9a12f > > I don't think these count as a new upstream version. They are commits > applied to the development branch but no tag or any "release" has been > made. I don't think it's a good idea to upload these to Debian until
They are also in the normal brach; I ran into this while adding charset guessing to an application and looking at uchardet.h. urs% git clone https://gitlab.freedesktop.org/uchardet/uchardet.git Cloning into 'uchardet'... remote: Enumerating objects: 3281, done. remote: Counting objects: 100% (142/142), done. remote: Compressing objects: 100% (60/60), done. remote: Total 3281 (delta 89), reused 125 (delta 82), pack-reused 3139 (from 1) Receiving objects: 100% (3281/3281), 1.44 MiB | 1.09 MiB/s, done. Resolving deltas: 100% (2333/2333), done. urs% grep chardet_get_n_candidates uchardet/src/uchardet.h DEPRECATED("use uchardet_get_n_candidates() and uchardet_get_encoding() instead (since 0.1.0)") UCHARDET_INTERFACE size_t uchardet_get_n_candidates (uchardet_t ud); > there's a release - especially when there are API changes that upstream > could potentially revert before a release. IMHO unlikely as those API changes were introduced ~4 years ago and are in the normal branch for > a year now. > If you want to see these changes in Debian then the best way is try to > persuade upstream to do a proper "0.0.9" release, then I will happily > update the package. I've added Jehan <je...@girinstud.io> to Cc.