https://gitorious.org/temporary-debian- ... -repos/yad
git surprises me all the time. The following might be wrong:
1) install git-buildpackge #that's still right

2) get the repo with
- Code: Select all
gbp-clone --pristine-tar git@gitorious.org:temporary-debian-diaspora-repos/yad.git
If that fails:
- Code: Select all
gbp-clone --pristine-tar git://gitorious.org/temporary-debian-diaspora-repos/yad.git
And if that fails too:
- Code: Select all
git clone git://gitorious.org/temporary-debian-diaspora-repos/yad.git
Earlier i had problems to clone repos where i have no write access. I couldn't figure it out yet.
The webinterface should give the general idea too, but one will not be able to build and test.
It can be build with:
- Code: Select all
git-buildpackage
After that a "fakeroot debian/rules clean" is needed to clean up the mess (git status will give lots of added files/folders, fakeroot will clean it up).
In debian/TODO are a few things i didn't do or simply don't know how to do. There are more than i have mentioned.
Once it seems ok:
- Code: Select all
sudo pbuilder build *dsc
For that an entry in /etc/sudoers is needed:
- Code: Select all
username ALL=(root) SETENV: NOPASSWD: /usr/sbin/pbuilder
and an intial "sudo pbuilder create"
~/.devscripst should contain the gpg-key:
- Code: Select all
DEBSIGN_KEYID="1234567"
DEBUILD_DPKG_BUILDPACKAGE_OPTS="-i -I"
- Code: Select all
lintian *dsc and
lintian *changes
alias in bashrc might be handy:
- Code: Select all
alias lintian='lintian -iIEcv --pedantic --color auto'
(pedantic really means pedantic, i think a few of those can be ignored).
------------
------------
If git or gbp clone don't work, here is what i did:
download the source
unxz *tar.xz #unpack the xz compression
tar -czf yad_0.21.0.origtar.gz yad-0.21.0 #pack it to gz compression
mkdir yad-0.21.0
cd
git init
git-import-orig ../*tar.gz #curse a lot as my naming schemes are never right, hence redo, check SoulSinging how-to
dh_make
edit the debian/* files #mainly copyright, control and changelog, remove all *ex (should have kept them as templates, say for upstream changelog, example is debian/docs).
If you want to push, say to gitorious, you will need to
- Code: Select all
git push --all
git push --tags
(and don't forget --pristine-tar above. git branch should tell it is there).
Templates for ITP and RFS are to be found at wiki.debian.org/Diaspora/Packaging (i hope).
Also a how-to dput the dsc to mentors. In the RFS mention that it's lintian clean and that it builds in pbuilder.
-----------
---- -----
At least around the lines of that.
I hope it made sense. Wee bit of clusterfuck.
German proverb: Devil is living in the tiny details ...