Changes

Jump to: navigation, search

Debian

1,128 bytes removed, 09:17, 6 September 2016
For version 3.4 and before
*Depends on python-pyside, gramps
= For version 3.4 and before=Instructions on creating the Debian <tt>.deb</tt> package for Ubuntu:=
* Ensure you have a working build environment* For Ubuntu 7.04 or 7.10, install these tools: sudo apt-get install devscripts dpkg-dev fakeroot debhelper libgconf2-dev* For Ubuntu 8.04, install these tools: sudo apt-get install devscripts dpkg-dev fakeroot debhelper libgconf2-dev python-xml* For Ubuntu 12.04 install these tools: sudo apt-get install devscripts dpkg-dev fakeroot debhelper libgconf2-dev* Check out the necessary version; for example, to build the <tt>.deb</tt> file for GRAMPS {{version 3.4.3}}, you'll want to run:
git clone http://git.code.sf.net/p/gramps/source Gramps
git checkout gramps-3.4.3* Confirm that sudo apt-get install devscripts dpkg-dev fakeroot debhelper libgconf2-dev, everything builds: ./autogen.sh
* Create the Changelog files:
git log gramps-3.4.2.. --pretty --numstat --summary --no-merges | git2cl > ChangeLog
git log gramps-3.4.2.. --pretty --numstat --summary --no-merges -- po | git2cl > po/ChangeLog
* Create the <tt>.deb</tt> package:
cd debian
export DEBEMAIL='[email protected]'
export DEBFULLNAME='Stephane Charette'
cd ..
dch -v 3.4.3-3 "New upstream release, include two patches"
dpkg-buildpackage -rfakeroot
: Remember to modify '''<tt>DEBEMAIL</tt>''' and '''<tt>DEBFULLNAME</tt>''' to reflect your e-mail and name.
 
* Release the <tt>.deb</tt> files:
cd ..
ls *.deb
: Note the '''<tt>gramps_3.4.3-3_all.deb</tt>''' file, which needs to be uploaded to <tt>ftp://upload.sourceforge.net/incoming/</tt>.
* 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]]

Navigation menu