[pari-sage] 03/03: Mimic stable SONAME versionning

Jerome Benoit calculus-guest at moszumanska.debian.org
Sat Sep 24 01:22:47 UTC 2016


This is an automated email from the git hooks/post-receive script.

calculus-guest pushed a commit to branch master
in repository pari-sage.

commit 53d26c915084ff24dbcf1a99ce94b71a79aa26fd
Author: Jerome BENOIT <quartermaster at rezozer.net>
Date:   Sat Sep 24 02:15:26 2016 +0100

    Mimic stable SONAME versionning
---
 debian/changelog                        |  4 ++-
 debian/patches/mimic_stable_versionning | 61 +++++++++++++++++++++++++++++++++
 2 files changed, 64 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index ccda6fa..3ffb7cf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,8 +2,10 @@ pari (2.8-2771-gb70b447-2) unstable-sage; urgency=medium
 
   * Apply perl-no-dot-in-inc from pari[-main]-2.7.6 (Bill Allombert).
   * d/control, add bison to Build-Depends field.
+  * d/p/mimic_stable_versionning in Configure machinery to get an imitative
+    stable SONAME.
 
- -- Jerome Benoit <calculus at rezozer.net>  Sat, 24 Sep 2016 01:12:11 +0000
+ -- Jerome Benoit <calculus at rezozer.net>  Sat, 24 Sep 2016 01:14:47 +0000
 
 pari (2.8-2771-gb70b447-1) unstable-sage; urgency=medium
 
diff --git a/debian/patches/mimic_stable_versionning b/debian/patches/mimic_stable_versionning
new file mode 100644
index 0000000..ee256fc
--- /dev/null
+++ b/debian/patches/mimic_stable_versionning
@@ -0,0 +1,61 @@
+Description: Change Configure machinery to mimic stable SONAME versionning
+ Comment out some coding lines to get an imitatative stable SONAME.
+ This patch is not only Debian centric but very specific to the Debian Sage
+ project: it is a temporary patch meant to step forward in the Debian packaging
+ of Sage.
+Origin: debian
+Author: Jerome Benoit <calculus at rezozer.net>
+Last-Update: 2016-09-24
+
+--- a/Configure
++++ b/Configure
+@@ -108,9 +108,9 @@
+ yes) libpari_base="${libpari_base}-tls"
+ esac
+ 
+-if test `expr $VersionMinor % 2` = 0; then
+-  libpari_base=$libpari_base-$version
+-fi
++####if test `expr $VersionMinor % 2` = 0; then
++####  libpari_base=$libpari_base-$version
++####fi
+ 
+ ####################### CONFIGURE - MAKE ####################################
+ . ./get_install # $_install_list
+--- a/config/get_dlld
++++ b/config/get_dlld
+@@ -10,10 +10,11 @@
+ do_dll=yes
+ case "$osname" in
+   gnu*|aix|osf1|solaris|linux|freebsd|netbsd)
+-    case $pari_release_verbose in
+-      *STABLE*)      sodest=.$version.$patch;; # released version
+-      *DEVELOPMENT*) sodest=.$patch.0.0;;      # unstable version
+-    esac ;;
++####    case $pari_release_verbose in
++####      *STABLE*)
++				sodest=.$version.$patch;; # released version
++####      *DEVELOPMENT*) sodest=.$patch.0.0;;      # unstable version
++####    esac ;;
+   sunos) sodest=.$VersionMajor$VersionMinor.$patch
+          soname=$sodest;;
+   hpux) soname= ; sodest= ; DLSUFFIX=sl;;
+--- a/config/version
++++ b/config/version
+@@ -31,10 +31,10 @@
+ esac
+ version=$VersionMajor.$VersionMinor
+ pari_release="$version.$patch"
+-if test `expr $VersionMinor % 2` = 1; then
+-  pari_release_verbose="$pari_release (STABLE)"
++####if test `expr $VersionMinor % 2` = 1; then
++  pari_release_verbose="$pari_release (DebianScience Sage WORKING VERSION)"
+   soname_num=`expr '(' $VersionMinor '+' 1 ')' / 2`
+-else
+-  pari_release_verbose="$pari_release (DEVELOPMENT VERSION)"
+-  soname_num=$patch
+-fi
++####else
++####  pari_release_verbose="$pari_release (DEVELOPMENT VERSION)"
++####  soname_num=$patch
++####fi

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pari-sage.git



More information about the debian-science-commits mailing list