[Qgis-developer] Re: Call for packaging: QGIS 1.7.0 'Wroclaw'

David Spencer baildon.research at googlemail.com
Tue Jun 7 04:51:51 EDT 2011


Tim:
> Does it cause a problem for you packaging wise?

Executive summary: yes.

It's impossible to crank a tarball like that on any sane build system
because there's no way to predict what the name of the top level
directory will be from the release version number alone -- all the
packagers will have to faff about hardcoding it whenever there's a new
release.  Look at the Arch Linux PKGBUILD or the Gentoo ebuild to see
what a pain that would be.

Meanwhile, Charlie:
> git archive --format=tar --prefix=qgis-1.7.0/ final-1_7_0 | gzip > qgis-1.7.0.tar.gz

Not like that, please.  Just --prefix=qgis-1.7.0/ (like every other
project on the planet and like every other previous qgis release)
would be much, much better.  And please use bzip2 like you always did
before.  Surprises are bad; they make work for everybody.

Another good solution is tar --exclude-vcs.

-Dave Spencer


More information about the Qgis-developer mailing list