[Pkg-owncloud-maintainers] Mentor for owncloud-client 1.5.2 packages

Mike Gabriel sunweaver at debian.org
Thu Mar 6 09:24:01 UTC 2014


Hi Sandro,

On  Di 04 Mär 2014 23:12:07 CET, Sandro Knauß wrote:

> Hey,
>
> the way it involved the last tests was, that taffit and I has a wonderfull
> working git-buildpackage, but than we discovered problems, that sbuild is
> different. So the last two versions I only tested sbuild -> *grmpf* Within
> these changes I started to use debian/clean to get rid of files, that are
> copies of other projects. This was the suggested way of taffit to use d/clean
> to remove those copies. But there are two other solutions:
> use patches and use the d/repack.sh script. What you think is the right way?

If you have upstream source and the debian/ folder in one Git, then  
the build should attempt at keeping the source tarball intact.  
(Otherwise you have to do a git reset --hard; git clean -df after  
every non-chroot build).

Some upstreams ship build files in their tarballs. If your build logic  
touches those files, you have to move them
out of the way prior to autoreconf/configure/build and move them back  
afterwards.

Other option is (which I start liking at the moment): only have the  
debian/ folders in Git and a precise get-orig-source rule in  
debian/rules.

> The idea behind was a new tar is repackaged by the d/repack.sh script to get
> rid of files that are not DFSG. And than afterwards we using d/clean  
> to remove
> copies.
>
> My workflow is:
> dpkg-buildpackage -S
> cd ..
> sbuild owncloud-client_1.5.2+dfsg-1_amd64.deb

Rather this???: sbuild -sAd unstable owncloud-client_1.5.2+dfsg-1.dsc


> But okay maybe you have to checkout the origon your own:
> pristine-tar checkout ../owncloud-client_1.5.2+dfsg.orig.tar.bz2

Ok, this was the missing link... I will see to upload owncloud-client  
later today/tomorrow.

Mike


-- 

mike gabriel aka sunweaver (Debian Developer)
fon: +49 (1520) 1976 148

GnuPG Fingerprint: 9BFB AEE8 6C0A A5FF BF22  0782 9AF4 6B30 2577 1B31
mail: sunweaver at debian.org, http://sunweavers.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digitale PGP-Signatur
URL: <http://lists.alioth.debian.org/pipermail/pkg-owncloud-maintainers/attachments/20140306/83bee8aa/attachment.sig>


More information about the Pkg-owncloud-maintainers mailing list