[neon/forks/jxrlib/Neon/release] debian: adapt cmake build patches
Carlos De Maine
null at kde.org
Tue Aug 4 06:45:02 BST 2026
Git commit 1a1a8403a0252051ec71cb448fe0958757e2b7db by Carlos De Maine.
Committed on 04/08/2026 at 05:12.
Pushed by carlosdem into branch 'Neon/release'.
adapt cmake build patches
M +1 -1 debian/patches/series
M +1 -1 debian/patches/usecmake2.patch
M +2 -1 debian/rules
https://invent.kde.org/neon/forks/jxrlib/-/commit/1a1a8403a0252051ec71cb448fe0958757e2b7db
diff --git a/debian/patches/series b/debian/patches/series
index a54a77b..09b4a49 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,2 @@
usecmake2.patch
-typos.patch
+
diff --git a/debian/patches/usecmake2.patch b/debian/patches/usecmake2.patch
index 9003786..f35bb7e 100644
--- a/debian/patches/usecmake2.patch
+++ b/debian/patches/usecmake2.patch
@@ -62,7 +62,7 @@ index 0000000..2d6cfac
+set(DIR_TEST jxrtestlib)
+set(DIR_EXEC jxrencoderdecoder)
+
-+set(VERSION "@VERSION@")
++set(VERSION "1.1")
+set(SOVERSION "0")
+
+if(NOT JXRLIB_INSTALL_BINDIR)
diff --git a/debian/rules b/debian/rules
index d881227..6971eb7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@ export DH_ALWAYS_EXCLUDE=.exe
# Purposely not set CMAKE_BUILD_TYPE, see #701231
CMAKE_EXTRA_FLAGS += -DCMAKE_BUILD_TYPE:STRING=NONE \
- -DJXRLIB_INSTALL_LIB_DIR="lib/$(DEB_HOST_MULTIARCH)" \
+ -DJXRLIB_INSTALL_LIBDIR="lib/$(DEB_HOST_MULTIARCH)" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5
@@ -31,6 +31,7 @@ override_dh_install:
# dev
dh_install -p$(pkg_dev) usr/lib/$(DEB_HOST_MULTIARCH)/*.so
dh_install -p$(pkg_dev) usr/include
+ dh_install -p$(pkg_dev) usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig
debian/JxrDecApp.1: debian/JxrDecApp.1.in
help2man --version-string=$(VER_FULL) --include=$< --output=$@ --no-info JxrDecApp
More information about the Neon-commits
mailing list