Changes

Jump to: navigation, search

Debian

917 bytes removed, 07:16, 27 May 2021
add language box
{{languages|Debian}}
= For version 4.x and newer =
*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 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 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.
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]]
1,875
edits

Navigation menu