[PATCH] Add libdivecomputer and libgit2 to Ubuntu building

Miika Turkia miika.turkia at gmail.com
Fri Nov 21 20:49:39 PST 2014


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 at gmail.com>
---
 Readme.ubuntu | 22 +++++++++++++++++++++-
 1 file changed, 21 insertions(+), 1 deletion(-)

diff --git a/Readme.ubuntu b/Readme.ubuntu
index e41a5c3..7b8cb23 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
@@ -63,3 +64,22 @@ 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 at 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.
-- 
1.9.1



More information about the subsurface mailing list