3,019
edits
Changes
Debian
,add language box
{{languages|Debian}}= For version 4.0 x and newer =
'''Testing .debs can be found in http://sourceforge.net/projects/gramps/files/Unstable/'''
* debian stuff
sudo apt-get install devscripts dpkg-dev fakeroot debhelper libgconf2dh-devlinktree
* [https://github.com/astraw/stdeb stdeb], which produces Debian source packages from Python packages via a new distutils command, sdist_dsc. Automatic defaults are provided for the Debian package, but many aspects of the resulting package can be customized. An additional command, bdist_deb, creates a Debian binary package, a .deb file. The debianize command builds a debian/ directory directly alongside your setup.py.
sudo apt-get install python-stdeb python-all # or python3-all
==Build==
===via Distutils===
==Test==
*Depends on python-pyside, gramps
= For version 3.4 and before=Instructions on creating the Debian <tt>.deb</tt> package for Ubuntu:=
git clone http://git.code.sf.net/p/gramps/source Gramps
git checkout grampsv{{version}} -3.4.3b {{version}}* Confirm that sudo apt-get install devscripts dpkg-dev fakeroot debhelper libgconf2-dev, everything builds: ./autogen.sh
* Create the Changelog files:
git log v{{version}}.. --pretty --numstat --summary --no-merges | git2cl > ChangeLog git log v{{version}}.. --pretty --numstat --summary --no-merges -- po/* Release .po | git2cl > po/ChangeLog Using the <tt>.debChangelog</tt> files: cd .. ls *.deb: Note the '''generated with <tt>gramps_3.4.3-3_all.debgit2cl</tt>''' file, which needs to be uploaded to Modify <tt>ftp://upload.sourceforgeMANIFEST.net/incoming/in</tt>. + include ChangeLog + include po/ChangeLog
* The details on how things are going to be packaged into deb files, what are the dependencies, the pre- and post- install and removal scripts etc are under <tt>debian/</tt> directory. Please refer to the [http://www.debian.org/doc/maint-guide/ Debian New Maintainers' Guide] for further details.
[[Category:Developers/Packaging]]