[neon/backports-jammy/zxing-cpp-jammy/Neon/release] debian: libzxing2 is in the archive with the files now in libzxing3 so it does need an empty transitonal and breaks/replacves

Jonathan Riddell null at kde.org
Tue Mar 19 17:25:53 GMT 2024


Git commit 7c54cc9fdffdd4d063f3631c9b8242b6a54b2116 by Jonathan Riddell.
Committed on 19/03/2024 at 17:25.
Pushed by jriddell into branch 'Neon/release'.

libzxing2 is in the archive with the files now in libzxing3 so it does need an empty transitonal and breaks/replacves

M  +1    -1    debian/changelog
M  +38   -33   debian/control
M  +1    -1    debian/libzxing3.install
M  +1    -1    debian/python3-xzing-cpp.install
M  +1    -1    debian/zxing-cpp-tools.install

https://invent.kde.org/neon/backports-jammy/zxing-cpp-jammy/-/commit/7c54cc9fdffdd4d063f3631c9b8242b6a54b2116

diff --git a/debian/changelog b/debian/changelog
index 7c581a5..f10e141 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,4 +1,4 @@
-zxing-cpp (2.2.1-0neon) jammy; urgency=medium
+zxing-cpp (2.2.1-1neon) jammy; urgency=medium
 
   * New release
 
diff --git a/debian/control b/debian/control
index 50626a0..357a45f 100644
--- a/debian/control
+++ b/debian/control
@@ -2,19 +2,18 @@ Source: zxing-cpp
 Section: libs
 Priority: optional
 Maintainer: Boyuan Yang <byang at debian.org>
-Build-Depends:
- cmake,
- debhelper-compat (= 13),
- dh-python,
- libfmt-dev <!nocheck>,
- libopencv-dev,
- libstb-dev,
- pkg-config,
- pybind11-dev,
- python3,
- python3-dev,
- python3-numpy <!nocheck>,
- python3-pil <!nocheck>,
+Build-Depends: cmake,
+               debhelper-compat (= 13),
+               dh-python,
+               libfmt-dev <!nocheck>,
+               libopencv-dev,
+               libstb-dev,
+               pkg-config,
+               pybind11-dev,
+               python3,
+               python3-dev,
+               python3-numpy <!nocheck>,
+               python3-pil <!nocheck>
 Rules-Requires-Root: no
 Standards-Version: 4.6.1
 Homepage: https://github.com/zxing-cpp/zxing-cpp
@@ -25,13 +24,9 @@ Package: libzxing-dev
 Architecture: any
 Multi-Arch: same
 Section: libdevel
-Depends:
- libzxing3 (= ${binary:Version}),
- ${misc:Depends},
-Replaces:
- libzxingcore-dev (<< 1.3.0~),
-Breaks:
- libzxingcore-dev (<< 1.3.0~),
+Depends: libzxing3 (= ${binary:Version}), ${misc:Depends}
+Replaces: libzxingcore-dev (<< 1.3.0~)
+Breaks: libzxingcore-dev (<< 1.3.0~)
 Description: C++ port of ZXing library (development files)
  ZXing-C++ ("zebra crossing") is an open-source, multi-format 1D/2D
  barcode image processing library implemented in C++.
@@ -47,9 +42,9 @@ Description: C++ port of ZXing library (development files)
 Package: libzxing3
 Architecture: any
 Multi-Arch: same
-Depends:
- ${misc:Depends},
- ${shlibs:Depends},
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Breaks: libzxing2 (<< 2.2.1-1)
+Replaces: libzxing2 (<< 2.2.1-1)
 Description: C++ port of ZXing library (library files)
  ZXing-C++ ("zebra crossing") is an open-source, multi-format 1D/2D
  barcode image processing library implemented in C++.
@@ -62,16 +57,28 @@ Description: C++ port of ZXing library (library files)
  .
  This package provides library files for zxing-cpp library.
 
+Package: libzxing2
+Architecture: any
+Depends: ${misc:Depends}, ${shlibs:Depends}
+Priority: extra
+Section: oldlibs
+Description: C++ port of ZXing library (dummy package)
+ ZXing-C++ ("zebra crossing") is an open-source, multi-format 1D/2D
+ barcode image processing library implemented in C++.
+ .
+ It was originally ported from the Java ZXing library but has been
+ developed further and now includes many improvements in terms of
+ quality and performance. It can both read and write barcodes in a
+ number of formats:  QR Code, DataMatrix, Aztec, PDF417, UPC-A, UPC-E,
+ EAN-8, EAN-13, DataBar/RSS, Code 39, Code 93, Code 128, Codabar, ITF.
+ .
+ This is an empty transitional package which can be removed.
+
 Package: python3-zxing-cpp
 Architecture: any
 Section: python
-Depends:
- python3-numpy,
- ${misc:Depends},
- ${python3:Depends},
- ${shlibs:Depends},
-Provides:
- python3-zxingcpp,
+Depends: python3-numpy, ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}
+Provides: python3-zxingcpp
 Description: C++ port of ZXing library (python3 binding)
  ZXing-C++ ("zebra crossing") is an open-source, multi-format 1D/2D
  barcode image processing library implemented in C++.
@@ -87,9 +94,7 @@ Description: C++ port of ZXing library (python3 binding)
 Package: zxing-cpp-tools
 Architecture: any
 Section: utils
-Depends:
- ${shlibs:Depends},
- ${misc:Depends},
+Depends: ${misc:Depends}, ${shlibs:Depends}
 Description: Utilities provided by ZXing library
  ZXing-C++ ("zebra crossing") is an open-source, multi-format 1D/2D
  barcode image processing library implemented in C++.
diff --git a/debian/libzxing3.install b/debian/libzxing3.install
index 01e269a..1be8721 100644
--- a/debian/libzxing3.install
+++ b/debian/libzxing3.install
@@ -1,2 +1,2 @@
-usr/lib/*/libZXing.so.*
 #usr/lib/*/libZXing.so.1.*
+usr/lib/*/libZXing.so.*
diff --git a/debian/python3-xzing-cpp.install b/debian/python3-xzing-cpp.install
index db7aa23..e42e47c 100644
--- a/debian/python3-xzing-cpp.install
+++ b/debian/python3-xzing-cpp.install
@@ -1 +1 @@
-usr/lib/*/zxingcpp.cpython-310-*-linux-gnu.so usr/lib/python3/dist-packages/
\ No newline at end of file
+usr/lib/*/zxingcpp.cpython-310-*-linux-gnu.so usr/lib/python3/dist-packages/
diff --git a/debian/zxing-cpp-tools.install b/debian/zxing-cpp-tools.install
index 513059e..00c0fa7 100644
--- a/debian/zxing-cpp-tools.install
+++ b/debian/zxing-cpp-tools.install
@@ -1,3 +1,3 @@
+usr/bin/ZXingOpenCV
 usr/bin/ZXingReader
 usr/bin/ZXingWriter
-usr/bin/ZXingOpenCV


More information about the Neon-commits mailing list