[neon/neon-packaging/kseexpr/Neon/release-lts] debian: update to final with patch to fix soversion https://invent.kde.org/graphics/kseexpr/-/merge_requests/1

Jonathan Riddell null at kde.org
Tue Nov 17 15:44:13 GMT 2020


Git commit 500e66636531fad878a64fbed552859a82913b02 by Jonathan Riddell.
Committed on 17/11/2020 at 15:44.
Pushed by jriddell into branch 'Neon/release-lts'.

update to final with patch to fix soversion https://invent.kde.org/graphics/kseexpr/-/merge_requests/1

M  +24   -3    debian/control
A  +6    -0    debian/kseexpr-dev.install
A  +3    -0    debian/libkseexpr3.install
A  +2    -0    debian/libkseexprui3.install
A  +1    -0    debian/patches/series
A  +19   -0    debian/patches/soversion.diff

https://invent.kde.org/neon/neon-packaging/kseexpr/commit/500e66636531fad878a64fbed552859a82913b02

diff --git a/debian/control b/debian/control
index 77282b5..4d3b48e 100644
--- a/debian/control
+++ b/debian/control
@@ -1,7 +1,7 @@
 Source: kseexpr
 Section: kde
 Priority: optional
-Maintainer: Jonathan riddell <jr at jriddell.org>
+Maintainer: Jonathan Riddell <jr at jriddell.org>
 Build-Depends: bison,
                cmake (>= 2.8.12),
                debhelper (>= 12),
@@ -12,12 +12,33 @@ Build-Depends: bison,
                pkg-kde-tools,
                pyqt5-dev,
                qtbase5-dev,
-               qttools5-dev,
+               qttools5-dev
 Standards-Version: 4.1.4
 Homepage: http://www.kde.org/
 
-Package: seexpr
+Package: libkseexpr3
 Architecture: any
 Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: Fork of Walt Disney Animation Studios' SeExpr
  Fork of Walt Disney Animation Studios' SeExpr for Krita
+ .
+ Library.
+
+Package: libkseexprui3
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Description: Fork of Walt Disney Animation Studios' SeExpr
+ Fork of Walt Disney Animation Studios' SeExpr for Krita.
+ .
+ UI library.
+
+Package: kseexpr-dev
+Architecture: any
+Depends: libkseexpr3 (= ${binary:Version}),
+         libkseexprui3 (= ${binary:Version}),
+         ${misc:Depends},
+         ${shlibs:Depends}
+Description: Fork of Walt Disney Animation Studios' SeExpr
+ Fork of Walt Disney Animation Studios' SeExpr for Krita
+ .
+ Development files.
diff --git a/debian/kseexpr-dev.install b/debian/kseexpr-dev.install
new file mode 100644
index 0000000..87549df
--- /dev/null
+++ b/debian/kseexpr-dev.install
@@ -0,0 +1,6 @@
+usr/include/KSeExpr/
+usr/include/KSeExprUI/
+usr/lib/*/libKSeExpr.so
+usr/lib/*/libKSeExprUI.so
+usr/share/cmake/KSeExpr/
+usr/share/pkgconfig/
diff --git a/debian/libkseexpr3.install b/debian/libkseexpr3.install
new file mode 100644
index 0000000..644deb7
--- /dev/null
+++ b/debian/libkseexpr3.install
@@ -0,0 +1,3 @@
+usr/lib/*/libKSeExpr.so.3
+usr/lib/*/libKSeExpr.so.4.*
+usr/share/locale/
diff --git a/debian/libkseexprui3.install b/debian/libkseexprui3.install
new file mode 100644
index 0000000..cb52c45
--- /dev/null
+++ b/debian/libkseexprui3.install
@@ -0,0 +1,2 @@
+usr/lib/*/libKSeExprUI.so.3
+usr/lib/*/libKSeExprUI.so.4.*
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..6692dea
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+soversion.diff
diff --git a/debian/patches/soversion.diff b/debian/patches/soversion.diff
new file mode 100644
index 0000000..f5265a0
--- /dev/null
+++ b/debian/patches/soversion.diff
@@ -0,0 +1,19 @@
+commit 2de10875f5685db1fe46107f48b89546be033443
+Author: Jonathan Riddell <jr at jriddell.org>
+Date:   Tue Nov 17 15:22:07 2020 +0000
+
+    set explicit soversion for library to match ui library
+
+diff --git a/src/KSeExpr/CMakeLists.txt b/src/KSeExpr/CMakeLists.txt
+index 4712564..cfc787b 100644
+--- a/src/KSeExpr/CMakeLists.txt
++++ b/src/KSeExpr/CMakeLists.txt
+@@ -94,7 +94,7 @@ target_include_directories(KSeExpr
+ )
+ 
+ set_property(TARGET KSeExpr PROPERTY VERSION ${KSeExpr_VERSION})
+-set_property(TARGET KSeExpr PROPERTY SOVERSION ${KSeExpr_MAJOR_VERSION})
++set_property(TARGET KSeExpr PROPERTY SOVERSION 3)
+ set_property(TARGET KSeExpr PROPERTY
+              INTERFACE_KSeExpr_MAJOR_VERSION ${KSeExpr_MAJOR_VERSION})
+ set_property(TARGET KSeExpr APPEND PROPERTY


More information about the Neon-commits mailing list