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

Johannes Ring johannr at simula.no
Mon Oct 20 09:51:31 UTC 2008


On Mon, October 20, 2008 10:44, Daniel Leidert wrote:
> 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/

Yes, that's probably better. I only noticed in the Debian policy that the
get-orig-source target should leave the original source tar file in the
current directory.

> 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.

Sounds good.

> 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.

Yes, you are right. I probably don't need the get-orig-source-target, but
I guess it doesn't hurt to keep it either.

Thanks again for your suggestions,
Johannes

> 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