[Debian-pan-maintainers] How to build packages for Ubuntu
PICCA Frederic-Emmanuel
frederic-emmanuel.picca at synchrotron-soleil.fr
Thu Aug 18 10:27:06 BST 2016
Hello,
here I put the melded commit of your modifications (compare to the debian master branch)
---
configure.ac | 2 +-
debian/changelog | 26 ++++++++++++++++++++++++++
debian/control | 4 ++--
3 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index a01ea07..95586af 100644
--- a/configure.ac
+++ b/configure.ac
@@ -188,7 +188,7 @@ AC_ARG_WITH(zmq, AC_HELP_STRING([--with-zmq],[prefix to ZMQ installation]) ,\
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:${ZMQ_PREFIX}/lib/pkgconfig
-PKG_CHECK_MODULES([LIBZMQ], [libzmq >= 4.0.5],[],AC_MSG_ERROR(Missing ZMQ library - Use --with-zmq configure option or add directory containing libzmq.pc to PKG_CONFIG_PATH environment variable))
+PKG_CHECK_MODULES([LIBZMQ], [libzmq >= 4.0.4],[],AC_MSG_ERROR(Missing ZMQ library - Use --with-zmq configure option or add directory containing libzmq.pc to PKG_CONFIG_PATH environment variable))
ZMQ_VERSION=`eval pkg-config --modversion libzmq`
ZMQ_ROOT=`eval pkg-config --variable=prefix libzmq`
AC_SUBST(ZMQ_PREFIX)
Here you did a direct modification of the package without using the patch in debian/patch.
you should use gbp pq in order to create a dedicated pacth for this.
Now you relax the zmq version.
did you check with manu tauruel why he put 4.0.5 and not 4.0.4 ?
maybe there is a bug in the 4.0.4.
diff --git a/debian/changelog b/debian/changelog
index 2721dcf..6169903 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,29 @@
+tango (9.2.2+dfsg-1~exp4) UNRELEASED; urgency=medium
+
+ [ Katleho Madisa ]
+ * Modified the changelog dependencies and the required version of zmq from 4.0.5 to 4.0.4
+ * Generated changelog modifications
+ * Modified changelog file
+ * Generated changelog
+ * changelog modification
+ * Modified the changelog dependencies and the required version of zmq from 4.0.5 to 4.0.4
+ * Generated changelog modifications
+ * Modified changelog file
+ * Generated changelog
+ * changelog modification
+ * dch generated changelog
+ * reverted configure.ac changes
+
+ [ kellermad ]
+
+ -- Katleho Madisa <kmadisa at ska.ac.za> Mon, 25 Jul 2016 14:09:11 +0200
+
+tango (9.2.2+dfsg-1~exp4) trusty; urgency=medium
+
+ * Modified the changelog dependencies and the required version of zmq from 4.0.5 to 4.0.4
+
+ -- Katleho Madisa <kmadisa at ska.ac.za> Wed, 06 Jul 2016 15:16:04 +0200
+
tango (9.2.2+dfsg-1~exp4) experimental; urgency=medium
* merge with 8.1.2c+dfsg-8
The changelog show be hand writen in order to remove duplicated informations and give something usefull for our users.
diff --git a/debian/control b/debian/control
index f1239ea..e18a4e5 100644
--- a/debian/control
+++ b/debian/control
@@ -3,7 +3,7 @@ Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.
Uploaders: Picca Frédéric-Emmanuel <picca at debian.org>
Section: science
Priority: extra
-Build-Depends: debhelper (>= 9.20151219~),
+Build-Depends: debhelper (>= 9.20131227~),
dh-autoreconf,
libcos4-dev,
libmysqlclient-dev,
@@ -169,7 +169,7 @@ Architecture: any
Section: net
Depends: ${misc:Depends},
${shlibs:Depends},
- dbconfig-mysql | dbconfig-no-thanks,
+ dbconfig-common,
libtango-tools,
lsb-base
Recommends: mysql-client
--
here you did a revert of the dbconfig-common 2.x series and also a modification of the debheleper.
!) for dbconfig-common I understand that it is not available in the oldest LTS. But you should do this only for this version.
Maybe the best solution would be to create a dedicated branche
ubuntu/<codename> instead of reverting the change for all version.
I have also one question abotu the latest LTS.
did you check if the mysql-server version is 5.6 or 5.7.
I am wondering if the current tango9 pacakge works with 5.7
I remember somme messages on the forum about this problem.
Cheers
Frederic
More information about the Debian-pan-maintainers
mailing list