[gl2ps] 05/11: Use more granular so-version (1.4).
Anton Gladky
gladk at moszumanska.debian.org
Sat May 20 11:00:31 UTC 2017
This is an automated email from the git hooks/post-receive script.
gladk pushed a commit to branch experimental
in repository gl2ps.
commit c156fe43e9ef038d7c4c383c4d7d5a749cd80319
Author: Anton Gladky <gladk at debian.org>
Date: Sat May 20 11:49:45 2017 +0200
Use more granular so-version (1.4).
---
debian/control | 6 ++----
debian/{libgl2ps1.install => libgl2ps1.4.install} | 0
debian/patches/3000_update_so_version.patch | 15 +++++++++++++++
debian/patches/series | 1 +
4 files changed, 18 insertions(+), 4 deletions(-)
diff --git a/debian/control b/debian/control
index 860256d..cd6573c 100644
--- a/debian/control
+++ b/debian/control
@@ -15,7 +15,7 @@ Homepage: http://geuz.org/gl2ps/
Package: libgl2ps-dev
Architecture: any
Section: libdevel
-Depends: libgl2ps1 (= ${binary:Version}),
+Depends: libgl2ps1.4 (= ${binary:Version}),
${misc:Depends}
Description: Lib providing high quality vector output for OpenGL application
GL2PS is a C library providing high quality vector output for any OpenGL
@@ -36,12 +36,10 @@ Description: Lib providing high quality vector output for OpenGL application
This package contains the development files needed to compile software to
use the libgl2ps API.
-Package: libgl2ps1
+Package: libgl2ps1.4
Architecture: any
Depends: ${shlibs:Depends},
${misc:Depends}
-Breaks: libgl2ps0 (= 1.3.8-2)
-Replaces: libgl2ps0 (= 1.3.8-2)
Description: Lib providing high quality vector output for OpenGL application
GL2PS is a C library providing high quality vector output for any OpenGL
application. The main difference between GL2PS and other similar libraries
diff --git a/debian/libgl2ps1.install b/debian/libgl2ps1.4.install
similarity index 100%
rename from debian/libgl2ps1.install
rename to debian/libgl2ps1.4.install
diff --git a/debian/patches/3000_update_so_version.patch b/debian/patches/3000_update_so_version.patch
new file mode 100644
index 0000000..f3bde7f
--- /dev/null
+++ b/debian/patches/3000_update_so_version.patch
@@ -0,0 +1,15 @@
+Description: Use for SO-version also the minor version.
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2017-05-20
+
+--- gl2ps-1.4.0.orig/CMakeLists.txt
++++ gl2ps-1.4.0/CMakeLists.txt
+@@ -124,7 +124,7 @@ if(OPENGL_FOUND)
+ set_target_properties(shared PROPERTIES OUTPUT_NAME gl2ps)
+ set_target_properties(shared PROPERTIES
+ VERSION ${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION}.${GL2PS_PATCH_VERSION}
+- SOVERSION ${GL2PS_MAJOR_VERSION})
++ SOVERSION ${GL2PS_MAJOR_VERSION}.${GL2PS_MINOR_VERSION})
+ if(MSVC)
+ set_target_properties(shared PROPERTIES COMPILE_FLAGS "-DGL2PSDLL -DGL2PSDLL_EXPORTS")
+ endif(MSVC)
diff --git a/debian/patches/series b/debian/patches/series
index 20745d0..0ea4966 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
2000_FixTestLinkage.patch
+3000_update_so_version.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/gl2ps.git
More information about the debian-science-commits
mailing list