Re: State of SAGA
On 12/15/21 13:35, Johan Van de Wauw wrote:
It looks like saga changed the way how their tarball is made
https://sourceforge.net/p/saga-gis/code/ci/master/tree/saga-gis/src/accessories/helper/make_saga_release.bat#l99
as a result, files are now stored in the tarball as:
/saga-8.0.1/saga-gis/xxx
rather than /saga-gis/xxx
I adjusted the paths in debian/copyright to make sure paths are stripped
now,
https://salsa.debian.org/debian-gis-team/saga/-/commit/118f3cbafcb6dbdb9a83e61dc57f44f70ff1e3c3
But I wonder if there is an elegant way to repackage without the parent
dir. I remember using get-orig-source target in d/rules, but as this is now
deprecated.
get-orig-source is still used when uscan can't do the job, see josm and
python-mapnik for example.
It seems that mk-origtargz doesn't support tar's --strip-components,
that's would have been an obvious choice.
You could switch to git mode and create the tarball from the release tags.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Reply to: