[GRASS-dev] Building GRASS packages from tarball on Launchpad

Ivan Mincik ivan.mincik at gmail.com
Sun Jan 25 15:40:25 PST 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, here are my short notes on building GRASS packages from tarball on
Launchpad (opposite to daily builds done by regular fetching of SVN).
Following work flow can be used for building release builds such as
RCs or final release versions which require to build exact version. I
hope this can help.


# Download latest existing version of package from Launchpad
$ dget
https://launchpad.net/~grass/+archive/ubuntu/grass-stable/+files/grass70_7.0.0RC1-3%7Eubuntu12.04.1.dsc

# Prepare working directory with git enabled
$ mkdir pkg-grass
$ cd pkg-grass
$ git init

# Import downloaded version of package from Launchpad
$ git-import-dsc ../grass70_7.0.0RC1-3%7Eubuntu12.04.1.dsc

# Import new tarball we want to build
$ git-import-orig ../grass_7.0.0~RC2.tar.gz

# Optionally, merge Debian packaging (content of debian direcory:
branch lp:~grass/grass/grass_trunk_debian) here

# Update Debian changelog
$ dch -i
$ git diff
index e05cf9b..30e282c 100644
- --- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+grass70 (7.0.0~RC2-1~precise1) precise; urgency=medium
+
+  * Verifying build workflow - not a real build
+
+ -- Ivan Mincik <ivan.mincik at gmail.com>  Mon, 26 Jan 2015 00:03:08 +0100
+

$ git add debian/changelog
$ git ci -m "Debian changelog update"

# Prepare source upload
$ git-buildpackage --git-debian-branch=master --git-builder="debuild
- -S -sa"

# Upload source package for build to Launchpad
$ dput ppa:imincik/gis-exp
../build-area/grass70_7.0.0~RC2-1~precise1_source.changes


See:
* http://pkg-grass.alioth.debian.org/policy/

Tools to use:
* git-buildpackage, pbuilder

My configuration files:
* https://gist.github.com/imincik/6bd3d5df52318801d135


- -- 
Ivan Minčík
ivan.mincik at gmail.com  GPG: 0x79529A1E
http://imincik.github.io/0x79529A1E.key
ivan.mincik at gista.sk     GPG: 0xD714B02C
http://imincik.github.io/0xD714B02C.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJUxX7iAAoJEPfdLsR5UpoeQR8H/RzdUU2E4trF9vPTsJP/vU9f
3aLJn0eqrbqmsSVFMImDugIzZMvp8FUghftLzWF7CLt2WRAaZiOT5hfVXb0AA4mq
5L1TYD/IXOHdVwxTWenFsG7matwm39f2fFj9xLKXpJkz/esRkcXD1Cc2HsWt7nne
U+suAoIPKQAigYvt86WdZ0QJ9HWBrSymqi2Vff+B2aGCjMC8+vc7ruXp49fZ6Uv/
BgmAbyXwHLCK7BP1OVCxev4S5mwdHX8ErwUzh5rbLetCkMBKCKaukgUtayF0n//K
wpwnjz+8pe8PgZSi773cIt/NiW3N7g4JZhllgPbXGXRSrQaPLtP9pyxsr/f1I20=
=RLgu
-----END PGP SIGNATURE-----


More information about the grass-dev mailing list