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

Mike Gabriel sunweaver at debian.org
Fri Mar 14 17:08:27 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?
>
> 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
>
> But okay maybe you have to checkout the origon your own:
> pristine-tar checkout ../owncloud-client_1.5.2+dfsg.orig.tar.bz2
>
> Regards,
>
> sandro
>
> --
>> (a)
>> When I do git-buildpackage -uc -us -S [--git-pristine-tar], I get this
>> message:
>>
>> """
>> mike at minobo:~/MyDocuments/4debian/TEAMS/pkg-owncloud/owncloud-client$
>> git-buildpackage -uc -us -S
>> dh clean --parallel --with sphinxdoc --with pkgkde_symbolshelper
>>     dh_testdir -O--parallel
>>     dh_auto_clean -O--parallel
>>     dh_clean -O--parallel
>> gbp:error: You have uncommitted changes in your source tree:
>> gbp:error: # On branch master
>> # Your branch is up-to-date with 'origin/master'.
>> #
>> # Changes not staged for commit:
>> #   (use "git add/rm <file>..." to update what will be committed)
>> #   (use "git checkout -- <file>..." to discard changes in working
>> directory) #
>> #       deleted:    cmake/modules/CheckPrototypeDefinition.c.in
>> #       deleted:    cmake/modules/CheckPrototypeDefinition.cmake
>> #       deleted:    cmake/modules/FindOpenSSLCross.cmake
>> #       deleted:    cmake/modules/GNUInstallDirs.cmake
>> #       deleted:    csync/tests/ownCloud/HTTP/DAV.pm
>> #
>> no changes added to commit (use "git add" and/or "git commit -a")
>>
>> gbp:error: Use --git-ignore-new to ignore
>> """
>>
>> SOLUTION -> Don't remove upstream files during debian/rules clean. For
>> packages that use git-buildpackage, it is good to make sure that the
>> upstream source file tree stays intact during the steps of the build
>> process.
>>
>>
>> (b)
>> When I try to build the package with debuild -uc -us -S and then
>> inject the resulting .dsc into sbuild, I get in trouble when repacking
>> the tarball.
>>
>> SOLUTION -> Please provide a get-orig-source rule in debian/rules that
>> obtains the source orig tarball for the version to be packaged.
>>
>> For my repacking tasks I use onlyjob's wiki page:
>> https://wiki.debian.org/onlyjob/get-orig-source

I am preparing the upload now. Sorry for the delay. I have been at  
home for a week because of my ill baby-son.

Greets,
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/20140314/df4d7661/attachment.sig>


More information about the Pkg-owncloud-maintainers mailing list