[Pkg-scicomp-devel] [Pkg-scicomp-commits] ferari/trunk/debian fiat/trunk/debian instant/trunk/debian

Daniel Leidert Daniel.Leidert.Spam at gmx.net
Mon Oct 20 08:44:51 UTC 2008


Johannes Ring wrote:
> On Fri, October 17, 2008 16:31, Daniel Leidert wrote:

[..]
> > ferari_$(SRC_VERSION).orig.tar.gz -> FErari-$(SRC_VERSION).tar.gz
> >
> > This is also, what uscan would do, independent from the tarball name you
> > check for. There is no need to rename the whole tarball, which you could
> > also do much easier by doing:
> >
> > mv FErari-$(SRC_VERSION).tar.gz ferari-$(SRC_VERSION).tar.gz
> >
> > instead to decompress, rename and compress it. However, the symlink is
> > the usual way. I don't know any part of the policy that would force your
> > way from above.
> 
> Thanks for your suggestions. I guess I can simply use the following as the
> get-orig-source target:
> 
> get-orig-source:
>         uscan --force-download --verbose --destdir .

If you need this target, then you can use the above. But I would recommend to not
hardcode the destination path. Maybe better (if there is no uscan environment variable):

USCAN_DESTDIR = $(CURDIR)

get-orig-source:
        uscan --force-download --verbose --destdir $(USCAN_DESTDIR)

So people can call the target with:

debian/rules get-orig-source USCAN_DESTDIR=/foo/bar/myplace_for_pkg/

You can also support $(UPSTREAM_VERSION) and such stuff by make conditionals or by
examining debian/changelog with dpkg-parsechangelog. I can send you a sample in a
few hours. This would allow people to retrieve different versions, not just the latest.
However, this is already supported by uscan (and debian/watch). I have doubts, that
get-orig-soure makes much sense here. I usually only use it, if the --repack feature
is necessary or if the tarball needs to be repacked. But in your case, the plain tarballs
are fine and uscan cares about the symlink. Maybe just leave a note in README.source
about the uppercase -> lowercase difference between upstream and the .orig.tar.gz.

Regards, Daniel
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört? Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger



More information about the Pkg-scicomp-devel mailing list