Welcome
Welcome to refracta

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features. By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features. In addition, registered members also see less advertisements. Registration is fast, simple, and absolutely free, so please, join our community today!

trying to package yad

Stuff that has not yet gone into the official build.

trying to package yad

Postby nadir » Sat Jun 01, 2013 10:20 pm

First draft is here (very quick):
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 [email protected]: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 ***********.
German proverb: Devil is living in the tiny details ...
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here

Re: trying to package yad

Postby nadir » Sat Jun 01, 2013 10:27 pm

Before doing all the work it might be an idea to ask in #debian-mentors if anything is standing in the way (licenses and such).

Better safe than sorry: All as far i can tell.
So i herd u liek mudkip?
User avatar
nadir
 
Posts: 1160
Joined: Wed Mar 09, 2011 4:18 am
Location: here


Return to Experimental

Who is online

Users browsing this forum: No registered users and 0 guests

cron
suspicion-preferred