summaryrefslogtreecommitdiffstats
path: root/Readme.ubuntu
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2014-11-22 06:49:39 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-12-01 07:45:46 -0800
commit356580e8a6909853fec133d245589ac110b07c16 (patch)
treec62550b3af60eaec31fb2db2f5ea10c888e369ed /Readme.ubuntu
parent11be32645b1f9125457a91da9fc8a1e6920f99e9 (diff)
downloadsubsurface-356580e8a6909853fec133d245589ac110b07c16.tar.gz
Add libdivecomputer and libgit2 to Ubuntu building
Some instructions how building libdivecomputer differs from Subsurface build. And mention to copy libigt2 over to other repository if needed. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'Readme.ubuntu')
-rw-r--r--Readme.ubuntu23
1 files changed, 22 insertions, 1 deletions
diff --git a/Readme.ubuntu b/Readme.ubuntu
index 3d55e9c27..7b8cb2303 100644
--- a/Readme.ubuntu
+++ b/Readme.ubuntu
@@ -1,4 +1,5 @@
-Building Ubuntu packages
+Building Ubuntu packages of Subsurface
+--------------------------------------
These steps describe roughly, how one can create Ubuntu packages out of
Subsurface and publish them in Launchpad. Steps are from our latest beta
@@ -62,3 +63,23 @@ And the rules file contains only the following includes:
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/class/qmake.mk
+
+
+Building Ubuntu packages of libdivecomputer
+-------------------------------------------
+
+Building libdivecomputer is mostly the same as building Subsurface.
+However, one must remove the line "usr/share/pkgconfig/*" from
+debian/libdivecomputer-dev.install. Also "debianizing" the sources
+differs and is done with the following command:
+
+dh_make --email miika.turkia@gmail.com -c gpl2 --createorig --library
+
+
+Including libgit2
+-----------------
+
+It should suffice for us to just copy the libgit2 package from
+repository to another on Launchpad. Precise is the only release that
+does not have libgit2 available, for the other releases we can use the
+distribution provided version.