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

Sandro Knauß bugs at sandroknauss.de
Tue Mar 4 22:12:07 UTC 2014


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
> 
> 
> Greets,
> Mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-owncloud-maintainers/attachments/20140304/fe38ceff/attachment.sig>


More information about the Pkg-owncloud-maintainers mailing list