diff options
Diffstat (limited to '')
37 files changed, 1320 insertions, 0 deletions
diff --git a/debian/.gitlab-ci.yml b/debian/.gitlab-ci.yml new file mode 100644 index 0000000..f73329d --- /dev/null +++ b/debian/.gitlab-ci.yml @@ -0,0 +1,6 @@ +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml + +variables: + RELEASE: 'unstable' diff --git a/debian/TODO b/debian/TODO new file mode 100644 index 0000000..fb7ee49 --- /dev/null +++ b/debian/TODO @@ -0,0 +1,3 @@ +* Java support is missing now +* When updating to new release, check whether zbar.mo applies to + the library or zbar-tools package diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..774284a --- /dev/null +++ b/debian/changelog @@ -0,0 +1,621 @@ +zbar (0.23.93-4) sid; urgency=medium + + * Uploading to sid. + * New "old" maintainer (Closes: #1065691). + + -- Daniel Baumann <daniel.baumann@progress-linux.org> Sat, 09 Mar 2024 01:07:08 +0100 + +zbar (0.23.93-3) unstable; urgency=medium + + * QA upload. + * Orphan the package. + + -- Boyuan Yang <byang@debian.org> Fri, 08 Mar 2024 19:01:57 -0500 + +zbar (0.23.93-2) unstable; urgency=medium + + * debian/control: Update binary package recommendation: + libmagickcore-6.q16-7-extra => libmagickcore-6.q16-7-extra. + (Closes: #1064582) + + -- Boyuan Yang <byang@debian.org> Thu, 29 Feb 2024 14:23:14 -0500 + +zbar (0.23.93-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rename libraries for 64-bit time_t transition. Closes: #1063306 + + -- Steve Langasek <vorlon@debian.org> Thu, 29 Feb 2024 08:15:04 +0000 + +zbar (0.23.93-1) unstable; urgency=medium + + * Acknowledge NMU. + * New upstream release. + * debian/patches/: Drop patches 0002-0004, merged upstream. + * debian/rules: Use buildtools.mk from dpkg for correct PKG_CONFIG. + * debian/patches/: + + 0002-configure.ac-Do-not-use-hardcoded-pkg-config-command.patch: + Use $PKG_CONFIG instead of hardcoded pkg-config command. + + 0003-configure.ac-Use-old-way-to-detect-Qt5.patch: + Revert to old method of detecting Qt5. + + -- Boyuan Yang <byang@debian.org> Wed, 10 Jan 2024 10:57:46 -0500 + +zbar (0.23.92-9) unstable; urgency=high + + * Non-maintainer upload. + * Fix two security bug (Closes: #1051724): + - Fix CVE-2023-40889: A heap-based buffer overflow existed + in the qr_reader_match_centers function. + Specially crafted QR codes may lead to information disclosure + and/or arbitrary code execution. To trigger this + vulnerability, an attacker can digitally input the + malicious QR code, or prepare it to be physically scanned + by the vulnerable scanner. + - Fix CVE-2023-40890: A stack overflow was present in lookup_sequence + function of ZBar 0.23.90. Specially crafted QR codes may lead + to information disclosure and/or arbitrary code execution. + To trigger this vulnerability, an attacker can digitally input + the malicious QR code, or prepare it to be physically scanned + by the vulnerable scanner. + + -- Bastien Roucariès <rouca@debian.org> Thu, 30 Nov 2023 11:19:08 +0000 + +zbar (0.23.92-8) unstable; urgency=medium + + * debian/control: Mark package zbarcam-gtk and zbarcam-qt as in + Section: utils. (Closes: #1042472) + + -- Boyuan Yang <byang@debian.org> Sun, 30 Jul 2023 10:28:31 -0400 + +zbar (0.23.92-7) unstable; urgency=high + + * debian/patches/0002: Add proposed patch to fix build against + python3.11. + * debian/control: Bump Standards-Version to 4.6.2. + + -- Boyuan Yang <byang@debian.org> Wed, 04 Jan 2023 10:42:37 -0500 + +zbar (0.23.92-6) unstable; urgency=medium + + * debian/control: Bump Standards-Version to 4.6.1. + * Source-only upload. + + -- Boyuan Yang <byang@debian.org> Thu, 14 Jul 2022 10:03:36 -0400 + +zbar (0.23.92-5) unstable; urgency=medium + + * debian/rules: Drop completed dbgsym migration. + * Enable gobject-introspection build: + + Add build-dep on gobject-introspection and libgirepository1.0-dev. + + Add new binary package: gir1.2-zbar-1.0. (Closes: #1014226) + + -- Boyuan Yang <byang@debian.org> Sun, 03 Jul 2022 04:52:23 -0400 + +zbar (0.23.92-4) unstable; urgency=medium + + * Bump Standards-Version to 4.6.0. + * debian/tests/control: Use PNG output for autopkgtest (See #995362). + * debian/control: Let libzbar0 recommends libmagickcore-6.q16-6-extra + for extra encoding support (e.g., SVG). See also: #995362. + + -- Boyuan Yang <byang@debian.org> Wed, 06 Oct 2021 14:01:42 -0400 + +zbar (0.23.92-3) unstable; urgency=medium + + * debian/: Apply "wrap-and-sort -abst". + * debian/control: Drop unused build-dependency on gtk2 libraries. + (Closes: #967847) + + -- Boyuan Yang <byang@debian.org> Wed, 18 Aug 2021 11:41:41 -0400 + +zbar (0.23.92-2) unstable; urgency=medium + + [ John Scott ] + * Add a few DEP-8 tests leveraging other barcode-related packages. + + -- Boyuan Yang <byang@debian.org> Tue, 17 Aug 2021 00:09:40 -0400 + +zbar (0.23.92-1) unstable; urgency=medium + + * New upstream release. + + -- Boyuan Yang <byang@debian.org> Sun, 15 Aug 2021 11:39:26 -0400 + +zbar (0.23.90-1) unstable; urgency=medium + + * New upstream release. + + Make library compatible with python3.9. + * debian/control: Drop obsolete X-Python3-Version field. + * debian/rules: Use dh13 syntax. + * debian/patches: Drop patches merged upstream. + + -- Boyuan Yang <byang@debian.org> Sat, 13 Feb 2021 11:30:55 -0500 + +zbar (0.23.1-4) unstable; urgency=medium + + * Rebuild before Debian 11 release. + * Bump Standards-Version to 4.5.1. + * debian/patches/0004-autoconf-2.70-compat: Fix compatibility with + autoconf 2.70. (Closes: #978929) + + -- Boyuan Yang <byang@debian.org> Thu, 31 Dec 2020 13:02:13 -0500 + +zbar (0.23.1-3) unstable; urgency=medium + + * debian/gbp.conf: Dropped to respect user's custom setting. + * debian/rules: Drop --as-needed linker flag, now useless. + * debian/control: Make myself as maintainer per old + maintainer's suggestion. + + -- Boyuan Yang <byang@debian.org> Wed, 18 Nov 2020 12:27:47 -0500 + +zbar (0.23.1-2) unstable; urgency=high + + [ Debian Janitor ] + * Set upstream metadata fields: Bug-Database, Bug-Submit, Repository, + Repository-Browse. + + [ Boyuan Yang ] + * Bump debhelper compat to v13. + * debian/patches/0003: Add upstream patch for compatibility with + python3.9. (Closes: #972778) + + -- Boyuan Yang <byang@debian.org> Sun, 01 Nov 2020 21:12:17 -0500 + +zbar (0.23.1-1) unstable; urgency=medium + + * New upstream release 0.23.1. + * debian/control: + + Add myself as package uploader. + + Mark package libzbarqt-dev as Multi-Arch: same. + + Mark package zbarcam-qt and zbarcam-gtk as linux-any so that + the builds on non-linux platforms do not fail. + * debian/patches: Refresh patches. + + -- Boyuan Yang <byang@debian.org> Wed, 22 Apr 2020 10:42:56 -0400 + +zbar (0.23-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Upload to unstable. + * debian/control: Disable building python3 extension for all + python versions again. Upstream code does not support it yet. + + -- Boyuan Yang <byang@debian.org> Sun, 02 Feb 2020 14:02:50 -0500 + +zbar (0.23-1.3~exp1) experimental; urgency=medium + + * Non-maintainer upload. + * debian/control: Add back Qt5 binding. New packages: + - libzbarqt0: Qt5 zbar binding + - libzbarqt-dev: Qt5 zbar binding (development file) + - zbarcam-qt: Qt5 zbar camera frontend tool + - zbarcam-gtk: Gtk zbar camera frontend tool + (Closes: #950398) + * debian/control: + + Bump Standards-Version to 4.5.0. + + Mention QR code in package short description. + (Closes: #946576) + * debian/rules: Build python3 extension for all supported + python versions. + * debian/patches: Cherry-pick patches of error fix and Qt5 + support. + + -- Boyuan Yang <byang@debian.org> Fri, 31 Jan 2020 23:46:17 -0500 + +zbar (0.23-1.2) unstable; urgency=medium + + * Non-maintainer upload + * Drop unused Build-Depends on python-gtk2-dev (Closes: 885473) + * Clean up python3 Build-Depends + + -- Jeremy Bicha <jbicha@debian.org> Tue, 22 Oct 2019 22:20:05 -0400 + +zbar (0.23-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Rebuild for a source-only upload. + * debian/control: Bump Standards-Version to 4.4.0. + * debian/patches: + + Refactor previous perl shabang patch to merge them together. + + Backport upstream patch to fix iconv-related unexpected abort. + * debian/libzbargtk0.symbols: Add new symbol. + + -- Boyuan Yang <byang@debian.org> Thu, 25 Jul 2019 17:01:39 -0400 + +zbar (0.23-1) unstable; urgency=medium + + * New upstream version. + * New maintainer. (Closes: #898078) + * Drop pygtk, python2 support. (Closes: #885473) + * Add python3 support. (Closes: #888303) + * debian/clean: added. + + -- Gürkan Myczko <gurkan@phys.ethz.ch> Mon, 27 May 2019 09:22:12 +0200 + +zbar (0.22-1) unstable; urgency=medium + + * QA upload. + * New upstream release (2019-02-20). + * debian/patches: Drop all patches, merged upstream. + * debian/control: Also mark libzbar-dev and libzbargtk-dev as + Multi-Arch: same. + + -- Boyuan Yang <byang@debian.org> Wed, 20 Feb 2019 10:18:30 -0500 + +zbar (0.21-3) unstable; urgency=medium + + * QA upload. + * debian/patches: + + Replace custom codespell typo fix patches with upstream + applied one. + + Cherry-pick upstream patches till 20190215 to fix grammar + error in configure.ac script. + * debian/control: + + Mark libbarcode-zbar-perl, python-zbar and python-zbarpygtk + as Multi-Arch: same. (Closes: #812954) + * New zbarcam is no longer crashing. (Closes: #762209) + + -- Boyuan Yang <byang@debian.org> Fri, 15 Feb 2019 10:35:13 -0500 + +zbar (0.21-2) unstable; urgency=medium + + * QA upload. + * debian/zbar-tools.install: Use dh-exec again to selectively + install zbarcam for linux-any only. + + -- Boyuan Yang <byang@debian.org> Thu, 14 Feb 2019 18:58:42 -0500 + +zbar (0.21-1) unstable; urgency=medium + + * QA upload. + * Upload onto unstable. + * debian/control: Update homepage with current GitHub project. + + -- Boyuan Yang <byang@debian.org> Thu, 14 Feb 2019 18:32:38 -0500 + +zbar (0.21-1~exp1) experimental; urgency=medium + + * QA upload. + * New upstream release 0.21. + * debian/watch: Monitor new upstream on GitHub. + * debian/control: + - Drop build-dependency on dh-exec, no longer necessary. + * debian/gbp.conf: Disable gbp-import-orig postimport hook, + it is useless now. + * debian/rules: + + Completely rewrite and use the dh sequencer. + + use override_dh_strip to generate automatic debug packages. + * debian/patches: + - Drop all patches, merged or fixed upstream. + + Cherry-pick upstream fixes on stable-0.21 branch + till 20190214. + + Add a patch to fix typos found by codespell. + + -- Boyuan Yang <byang@debian.org> Thu, 14 Feb 2019 15:51:03 -0500 + +zbar (0.10+doc-11) unstable; urgency=medium + + * QA upload. + * Orphan the package and set maintainer to Debian QA Group. + * debian/control: + + Build-depend on debhelper-compat (= 12) instead of using + debian/compat file. + + Bump Standards-Version to 4.3.0. + + Use Rules-Requires-Root: no. + + Replace obsoleted Priority: extra with optional. + - Do not build Qt4 library anymore. (Closes: #875246) + * debian/symbols: Add Build-Depends-Package field. (lintian) + * debian/rules: + + Enable full hardening. + + Minor adjust to debhelper sequences to suit debhelper compat + v12. + * debian/gbp.conf: Update instructions to fit current git repo + setup. + * debian/patches: + + Add a patch to rename custom dprintf macro to zbar_dprintf + to prevent naming conflict. + + -- Boyuan Yang <byang@debian.org> Sun, 10 Feb 2019 14:26:34 -0500 + +zbar (0.10+doc-10.1) unstable; urgency=low + + * Non-maintainer upload with maintainer permission. + + [ Francois Gouget ] + * Add missing versioned Build-Depends for automake + * Convert most binary packages to Multi-Arch (Closes: #777202) + * Switch to 3.0 (quilt) format, in order to use dh-exec + + [ Thorsten Glaser ] + * Add missing versioned Build-Depends for autoconf + * Build-Depends: dh-python (as requested by dh_python) + * Make zbar-dbg M-A: same (as pointed out by lintian) + * Add missing required build-{arch,indep} targets (lintian) + * Mention Perl module name in long package description (lintian) + + -- Thorsten Glaser <tg@mirbsd.de> Mon, 02 Jan 2017 17:16:01 +0100 + +zbar (0.10+doc-10) unstable; urgency=medium + + * [d3eba6e2] Add support for Python GIL / asynchronous scanning. + Thanks to Jonathan McDowell (Closes: #766089) + * [fd5fd7f1] Fix typo in package description. + Thanks to Pascal De Vuyst (Closes: #697516, #715178) + + -- Bernd Zeimetz <bzed@debian.org> Mon, 20 Oct 2014 22:04:56 +0200 + +zbar (0.10+doc-9) unstable; urgency=low + + * [2c641cc9] Fix configure.ac to build with newer autotools. + Thanks to Lucas Nussbaum (Closes: #713332) + + -- Bernd Zeimetz <bzed@debian.org> Sun, 18 Aug 2013 12:26:59 +0200 + +zbar (0.10+doc-8) unstable; urgency=low + + * [5c38da40] Use [linux-any] instead of [!kfreebsd-*]. + Thanks to Robert Millan (Closes: #634774) + * [1f15f52e] Add sentinel to PyGetSetDef imagescanner_getset[]. + Ensure that the loop is terminated which reads the + imagescanner_getset[] array on import - otherwise we'll run into + a segfault, at least on arm. + Thanks to Anton Gladky and Peter Green (Closes: #702499) + + -- Bernd Zeimetz <bzed@debian.org> Sun, 17 Mar 2013 22:46:47 +0100 + +zbar (0.10+doc-7) unstable; urgency=low + + * [48425c37] Ack'ing NMU. + Thanks to Mehdi Dogguy (Closes: #625584) + * [ce18efe2] Don't install .la files. (Closes: #633271) + + -- Bernd Zeimetz <bzed@debian.org> Sun, 10 Jul 2011 14:17:11 +0200 + +zbar (0.10+doc-6.1) unstable; urgency=high + + * Non-maintainer upload. + * libzbar-dev depend on libmagick++-dev instead of libmagick++9-dev. + (Closes: #625584). + + -- Mehdi Dogguy <mehdi@debian.org> Sun, 26 Jun 2011 15:04:36 +0200 + +zbar (0.10+doc-6) unstable; urgency=low + + * [3b98a217] Require v4l as build-dependency on linux only. + * [5f635649] Migrate to dh_python2 instead of python-support. + + -- Bernd Zeimetz <bzed@debian.org> Wed, 27 Apr 2011 22:34:12 +0200 + +zbar (0.10+doc-5) unstable; urgency=low + + * [2801e55f] Use the new dh_authtoolsdev-* helper to update config.* + * [906f5a10] Use dh-autoreconf to rebuild configure and friends. + Thanks to Peter Fritzsche (Closes: #558539) + * [a3042424] Use quilt to apply patches. + * [35182c3a] Description: Linux 2.6.38 and later do not support the v4l1 API. + Add patch to migrate to using the libv4l library to abstract the + access to Linux video devices, instead. + Patch taken from the upstream bug tracker. + Also add libv4l-dev as build-dependency. + Thanks to Steve Langasek (Closes: #620220) + * [425b9ce6] Fixing typo in the long description of python-zbar. + Thanks to Davide Prina (Closes: #617942) + + -- Bernd Zeimetz <bzed@debian.org> Fri, 01 Apr 2011 01:05:18 +0200 + +zbar (0.10+doc-4) unstable; urgency=low + + * [abdd6f9f] Use better dependencies for zbar-dbg. + * [5c639854] Remove conflicts of libzbar-dev. libzbar replaced zebra + in directory names by zbar, so clashes with quagga and libpacklib1- + dev are avoided. So there is no need to conflict against the + packages anymore. + * [75f615f2] Use Breaks instead of Conflicts as suggested by lintian. + + -- Bernd Zeimetz <bzed@debian.org> Sat, 28 Aug 2010 15:01:46 +0200 + +zbar (0.10+doc-3) unstable; urgency=low + + * [6b190c39] Enable VfL only on Linux instead of excluding kfreebsd + only. (Closes: #585082) - thanks to Samuel Thibault + * [da42c117] Update libzbarqt0 symbol files to newer dpkg-dev + features. As symbols seem to appear/disappear depending on the + version of QT and/or the compiler, I've relaxed the check for + changed symbols to stop complaining at all for libzbarqt0. I'll + update the symbols files manually when needed. (Closes: #584773) - + thanks to Loïc Minier + * [94ac49b6] Add missing dependency to the perl/Makefile target in + debian/rules. This should allow to build with -j again. (Closes: + #584758) - thanks to Loïc Minier + + -- Bernd Zeimetz <bzed@debian.org> Wed, 09 Jun 2010 17:08:07 +0200 + +zbar (0.10+doc-2build1) maverick; urgency=low + + * Release for Ubuntu. 0.10+doc-2 FTBFS there due to default LDFLAGS + which were passed on to Perl's MakeMaker. + * [b0066775] Fix spelling error in changelog. Thanks lintian. + * [6ddbfe0d] Ensure only -L options are passed as LIBS to Perl's + MakeMaker. + + -- Bernd Zeimetz <bzed@debian.org> Tue, 25 May 2010 22:25:18 +0200 + +zbar (0.10+doc-2) unstable; urgency=low + + * [1806e6cd] Copy libzbarqt0.symbols for each architecture. + * [8d172f95] Disable video support on kfreebsd. + * [63b87cf4] Don't list binaries for zbar-tools explicitly. zbarvideo + is not being built on kfreebsd, so we should not try to install it + there. + * [14e36c30] Don't rename debug extensions if they were renamed + already. + * [650fa88e] Fix libzbarqt0.symbols for various architectures - thanks + C++. + + -- Bernd Zeimetz <bzed@debian.org> Tue, 25 May 2010 17:37:52 +0200 + +zbar (0.10+doc-1) unstable; urgency=low + + * Import full upstream source including the doc folder and drop + the dfsg part in the version (using +doc now as we need a version + greater than 0.10+dfsg. See the changelog below and debian/copyright + for details + + * [1f9232b1] Add missing dependencies to libzbar-dev. + * [577bae53] Tidy .docs files - one debian/docs is enough. + * [b77a29e5] Python-related packages: Fix dependencies and build + python-zbar. + * [6a336b40] Adopt package (Closes: #543881) + * [d3e7838d] gbp.conf: Remove filter option for git-import-orig. + Upstream clarified the license for the doc folder, the documentation + is (and was) under the same license as the rest of the zbar project. + The former package maintainer just did not bother to ask. + (http://zbar.hg.sourceforge.net/hgweb/zbar/zbar/rev/a400dd46fb4a) + * [d9f0f3bd] Remove quilt - no patches necessary anymore. + * [8e9b2f81] Adding watch file. + * [ddfdb3db] Merge commit 'upstream/0.10+doc' + * [4c547f3a] Build zbar for all supported Python versions. Also build + debug extensions. + * [c6dbc26d] Ensure proper sonames while installing libraries. + * [74e55643] Update supported codes in descriptions. + * [54969382] Install README file into docs. + * [3d97e382] Updating copyright file. + * [71bfc1fe] Install manpages for zbar-tools. + * [9de7a34a] Remove --fail-missing from dh_install call. + * [39a37679] Add symbol files for libraries. + * [418ee09b] Be paranoid about symbol files - pass -c4 to dpkg- + gensymbols. + * [a1527ed7] Use -L to link against previously built libs. + * [c672ecc8] Don't include symbols, which are removed by strip, in + symbols file. + * [9b93453e] Build Perl bindings into libbarcode-zbar-perl. + * [76b32218] According to lintian zbar-dbg needs to Depend on all + packages. + * [2cb6d478] python-zbar needs to conflict/replace older versions of + python-zbarpygtk. + * [bca1a7dc] Better wording for short description. + * [4f6fdf16] Ensure perl bindings are built without rpath. + * [df98e89f] Add missing dh_perl call. + * [18539f50] Add comment about licenses of doc/* to debian/copyright. + * [2bb4fb29] zbar-dbg needs to depend on python-gtk2-dbg. + * [3da1a01e] Add VCS information. + + -- Bernd Zeimetz <bzed@debian.org> Tue, 25 May 2010 02:09:41 +0200 + +zbar (0.10+dfsg-1) unstable; urgency=low + + * QA Upload. + + I might adopt the package later, but for now an update to the + latest upstream version is more important. Also I do not want to + set myself as maintainer without bringing the packaging into + a good shape. + + * [154213cf] Adding git-buildpackage config. + * [c89b1ccb] Merge commit 'upstream/0.10+dfsg' + * [5565931e] Adding debian/source/format, format 1.0. + * [9080fcb7] Updating patch. + + -- Bernd Zeimetz <bzed@debian.org> Thu, 20 May 2010 01:58:52 +0200 + +zbar (0.8+dfsg-4) unstable; urgency=low + + * QA upload. + * Build-depend on python-support and call dh_pysupport in debian/rules + to allow byte-compilation (Closes: #571484). + * Bump Standards-Version to 3.8.4, no changes required. + * Add ${misc:Depends} dependency where needed. + * Remove duplicate section fields from some binary packages. + * Really remove Vcs-* fields. + + -- Luca Falavigna <dktrkranz@debian.org> Sun, 28 Feb 2010 15:59:51 +0100 + +zbar (0.8+dfsg-3) unstable; urgency=low + + * Updating package to standards version 3.8.3. + * Removing vcs fields. + * Orphaning package. + + -- Daniel Baumann <daniel@debian.org> Thu, 27 Aug 2009 10:04:11 +0200 + +zbar (0.8+dfsg-2) unstable; urgency=low + + * Correcting spelling of Qt in package descriptions (Closes: #534426). + + -- Daniel Baumann <daniel@debian.org> Sun, 26 Jul 2009 21:03:26 +0200 + +zbar (0.8+dfsg-1) unstable; urgency=low + + * Merging upstream version 0.8+dfsg. + * Updating dfsg.patch. + * Updating package to standards version 3.8.2. + * Updating year in copyright file. + + -- Daniel Baumann <daniel@debian.org> Tue, 07 Jul 2009 16:17:32 +0200 + +zbar (0.7+dfsg-1) unstable; urgency=low + + * Merging upstream version 0.7+dfsg. + * Adding upstream target in rules file. + * Adding patch to ignore stripped out documentation during build. + * Renaming binary and source package from zebra to zbar to match + upstream. + * Removing manpages from zbar-tools debhelper install file, manpages + are stripped out in dfsg tarball. + * Updating section of the debug package. + * Using correct rfc-2822 date formats in changelog. + + -- Daniel Baumann <daniel@debian.org> Sun, 17 May 2009 12:50:49 +0200 + +zebra (0.7-1) unstable; urgency=low + + * Merging upstream version 0.7. + * Updating debhelper install files to cope with upstreams zebra to zbar + rename. + + -- Daniel Baumann <daniel@debian.org> Sun, 26 Apr 2009 16:43:00 +0200 + +zebra (0.6-1) unstable; urgency=low + + * Updating imagemagick build-depends. + * Updating standards to 3.8.1. + * Merging upstream version 0.6. + * Unsetting LDFLAGS (which are exported to the environment by newer dpkg), + otherwise python modules fail to build. + * Tidy rules file. + * Updating year in copyright file. + + -- Daniel Baumann <daniel@debian.org> Sun, 26 Apr 2009 16:30:00 +0200 + +zebra (0.5+debian-4) unstable; urgency=low + + * Sorting config.guess/config.sub handling in rules. + * Passing flags to configure as arguments. + * Removing unnecessary passing of sourcedir to dh_install. + + -- Daniel Baumann <daniel@debian.org> Wed, 17 Dec 2008 21:21:00 +0100 + +zebra (0.5+debian-3) unstable; urgency=low + + * Replacing obsolete dh_clean -k with dh_prep. + * Adding conflicts against quagga to avoid /usr/lib/libzebra.a clash + (Closes: #505268). + + -- Daniel Baumann <daniel@debian.org> Tue, 11 Nov 2008 12:07:00 +0100 + +zebra (0.5+debian-2) unstable; urgency=low + + * Adding conflicts against libpacklib1-dev to avoid + /usr/include/zebra.h clash, unlikely that there is another solution + possible (Closes: #504526). + + -- Daniel Baumann <daniel@debian.org> Tue, 04 Nov 2008 21:07:00 +0100 + +zebra (0.5+debian-1) unstable; urgency=low + + * Initial release (Closes: #502992). + * Rebuild upstream tarball without debian directory. + + -- Daniel Baumann <daniel@debian.org> Thu, 23 Oct 2008 12:29:00 +0200 diff --git a/debian/clean b/debian/clean new file mode 100644 index 0000000..959ae29 --- /dev/null +++ b/debian/clean @@ -0,0 +1,4 @@ +doc/man/zbarcam.1 +doc/man/zbarimg.1 +doc/reldate.xml +doc/version.xml diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8031a4f --- /dev/null +++ b/debian/control @@ -0,0 +1,224 @@ +Source: zbar +Section: libs +Priority: optional +Maintainer: Daniel Baumann <daniel.baumann@progress-linux.org> +Build-Depends: dpkg-dev (>= 1.22.5), + debhelper-compat (= 13), + dh-exec, + dh-sequence-python3, + gobject-introspection, + libdbus-1-dev, + libgirepository1.0-dev, + libgtk-3-dev, + libjpeg-dev, + libmagick++-dev, + libqt5x11extras5-dev, + libv4l-dev [linux-any], + libx11-dev, + perl, + pkg-config, + python3-dev:any, + qtbase5-dev, + xmlto, +Rules-Requires-Root: no +Standards-Version: 4.6.2 +Homepage: https://github.com/mchehab/zbar + +Package: libbarcode-zbar-perl +Section: perl +Architecture: any +Depends: + ${misc:Depends}, + ${perl:Depends}, + ${shlibs:Depends}, +Description: QR code / bar code scanner and decoder (Perl bindings) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the Perl bindings and the Barcode::Zbar module. + +Package: libzbar-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + libmagick++-dev, + libx11-dev, + libzbar0t64 (= ${binary:Version}), + gir1.2-zbar-1.0 (= ${binary:Version}), + ${misc:Depends}, +Description: QR code / bar code scanner and decoder (development) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the development files. + +Package: libzbar0t64 +Provides: ${t64:Provides} +Replaces: libzbar0 +Breaks: libzbar0 (<< ${source:Version}) +Architecture: any +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends}, +Depends: + ${misc:Depends}, + ${shlibs:Depends}, +Recommends: +# SVG support; See https://bugs.debian.org/995362 + libmagickcore-6.q16-7-extra, +Description: QR code / bar code scanner and decoder (library) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the library. + +Package: libzbargtk-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + libgtk-3-dev, + libzbar-dev (= ${binary:Version}), + libzbargtk0t64 (= ${binary:Version}), + ${misc:Depends}, +Description: QR code / bar code scanner and decoder (GTK+ bindings development) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the development files for the GTK+ bindings. + +Package: libzbargtk0t64 +Provides: ${t64:Provides} +Replaces: libzbargtk0 +Breaks: libzbargtk0 (<< ${source:Version}) +Architecture: any +Multi-Arch: same +Pre-Depends: + ${misc:Pre-Depends}, +Depends: + libzbar0t64 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: QR code / bar code scanner and decoder (GTK+ bindings) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the GTK+ bindings. + +Package: libzbarqt-dev +Section: libdevel +Architecture: any +Multi-Arch: same +Depends: + libqt5x11extras5-dev, + libzbar-dev (= ${binary:Version}), + libzbarqt0t64 (= ${binary:Version}), + qtbase5-dev, + ${misc:Depends}, +Description: QR code / bar code scanner and decoder (Qt binding development) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the development files for the Qt binding. + +Package: libzbarqt0t64 +Provides: ${t64:Provides} +Replaces: libzbarqt0 +Breaks: libzbarqt0 (<< ${source:Version}) +Architecture: any +Multi-Arch: same +Depends: + libzbar0t64 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: QR code / bar code scanner and decoder (Qt binding) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the library for Qt binding. + +Package: python3-zbar +Section: python +Architecture: any +Multi-Arch: same +Depends: + libzbar0t64 (= ${binary:Version}), + ${misc:Depends}, + ${python3:Depends}, + ${shlibs:Depends}, +Description: QR code / bar code scanner and decoder (Python bindings) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the Python bindings. + +Package: zbar-tools +Section: graphics +Architecture: any +Depends: + libzbar0t64 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Suggests: + zbarcam-gtk, + zbarcam-qt, +Description: QR code / bar code scanner and decoder (utilities) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains basic applications for decoding captured bar code images + and using a video4linux device (e.g. webcam) as a bar code scanner. + +Package: zbarcam-gtk +Section: utils +Architecture: linux-any +Depends: + libzbargtk0t64 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: QR code / bar code scanner and decoder (Gtk camera tool) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the Gtk-based camara frontend tool. + +Package: zbarcam-qt +Section: utils +Architecture: linux-any +Depends: + libzbarqt0t64 (= ${binary:Version}), + ${misc:Depends}, + ${shlibs:Depends}, +Description: QR code / bar code scanner and decoder (Qt camera tool) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the Qt-based camara frontend tool. + +Package: gir1.2-zbar-1.0 +Section: introspection +Architecture: any +Multi-Arch: same +Depends: + ${gir:Depends}, + ${misc:Depends}, +Description: QR code / bar code scanner and decoder (introspection data) + ZBar is a library for scanning and decoding bar codes from various sources + such as video streams, image files or raw intensity sensors. It supports + EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. + . + This package contains the GObject introspection data which are needed + for developing the zbar library in various programming languages + with GObject introspection support. diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..e07e6e5 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,59 @@ +This work was originally packaged for Debian by Daniel Baumann +<daniel@debian.org> and is later maintained by Bernd Zeimetz <bzed@debian.org>. + +It was downloaded from: + http://zbar.sourceforge.net/ + +The current version of zbar is downloaded from: + https://github.com/mchehab/zbar + +Below follows the copyrigt and license information as +provided in the file COPYING + + The ZBar Bar Code Reader is Copyright (C) 2007-2009 Jeff Brown + <spadix@users.sourceforge.net> + The QR Code reader is Copyright (C) 1999-2009 Timothy B. Terriberry + <tterribe@xiph.org> + + You can redistribute this library and/or modify it under the terms of the GNU + Lesser General Public License as published by the Free Software Foundation; + either version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS + FOR A PARTICULAR PURPOSE. + See the GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License along + with this library; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + + ISAAC is based on the public domain implementation by Robert J. Jenkins Jr., + and is itself public domain. + + Portions of the bit stream reader are copyright (C) The Xiph.Org Foundation + 1994-2008, and are licensed under a BSD-style license. + + The Reed-Solomon decoder is derived from an implementation (C) 1991-1995 Henry + Minsky (hqm@ua.com, hqm@ai.mit.edu), and is licensed under the LGPL with + permission. + + + +The debian packaging is + Copyright (C) 2008-2009 Daniel Baumann <daniel@debian.org> + Copyright (C) 2010 Bernd Zeimetz <bzed@debian.org> +and licensed under the same license as zbar; you can redistribute +it and/or modify it under the terms of the GNU Library General Public +License as published by the Free Software Foundation; either +version 2.1 of the License, or (at your option) any later version. + +On Debian systems, the complete text of the GNU Library General Public License +can be found in /usr/share/common-licenses/LGPL-2.1 file. + + +The hints about GFDL and invariant documentations, which were forgotton in +the doc folder, were fixed by upstream, see the following URLs for details: +https://sourceforge.net/tracker/?func=detail&aid=3004411&group_id=189236&atid=928515 +http://zbar.hg.sourceforge.net/hgweb/zbar/zbar/rev/a400dd46fb4a +http://zbar.hg.sourceforge.net/hgweb/zbar/zbar/rev/41ea3fade9e1 diff --git a/debian/gir1.2-zbar-1.0.install b/debian/gir1.2-zbar-1.0.install new file mode 100644 index 0000000..ce2d079 --- /dev/null +++ b/debian/gir1.2-zbar-1.0.install @@ -0,0 +1 @@ +usr/lib/*/girepository-1.0/ZBar-1.0.typelib diff --git a/debian/libbarcode-zbar-perl.examples b/debian/libbarcode-zbar-perl.examples new file mode 100644 index 0000000..6754fb8 --- /dev/null +++ b/debian/libbarcode-zbar-perl.examples @@ -0,0 +1 @@ +perl/examples/* diff --git a/debian/libbarcode-zbar-perl.install b/debian/libbarcode-zbar-perl.install new file mode 100644 index 0000000..af4111b --- /dev/null +++ b/debian/libbarcode-zbar-perl.install @@ -0,0 +1,2 @@ +usr/lib/*/perl5/* +usr/share/man/man3/Barcode* diff --git a/debian/libzbar-dev.docs b/debian/libzbar-dev.docs new file mode 100644 index 0000000..8797cd4 --- /dev/null +++ b/debian/libzbar-dev.docs @@ -0,0 +1,3 @@ +NEWS.md +README.md +TODO.md diff --git a/debian/libzbar-dev.install b/debian/libzbar-dev.install new file mode 100644 index 0000000..bf85f2b --- /dev/null +++ b/debian/libzbar-dev.install @@ -0,0 +1,14 @@ +/usr/include/zbar.h +/usr/include/zbar/Decoder.h +/usr/include/zbar/Exception.h +/usr/include/zbar/Image.h +/usr/include/zbar/ImageScanner.h +/usr/include/zbar/Processor.h +/usr/include/zbar/Scanner.h +/usr/include/zbar/Symbol.h +/usr/include/zbar/Video.h +/usr/include/zbar/Window.h +/usr/lib/*/libzbar.a +/usr/lib/*/libzbar.so +/usr/lib/*/pkgconfig/zbar.pc +/usr/share/gir-1.0/ZBar-1.0.gir diff --git a/debian/libzbar0t64.install b/debian/libzbar0t64.install new file mode 100644 index 0000000..e6542db --- /dev/null +++ b/debian/libzbar0t64.install @@ -0,0 +1 @@ +/usr/lib/*/libzbar.so.* diff --git a/debian/libzbar0t64.lintian-overrides b/debian/libzbar0t64.lintian-overrides new file mode 100644 index 0000000..f607327 --- /dev/null +++ b/debian/libzbar0t64.lintian-overrides @@ -0,0 +1 @@ +libzbar0t64: package-name-doesnt-match-sonames libzbar0 diff --git a/debian/libzbar0t64.symbols b/debian/libzbar0t64.symbols new file mode 100644 index 0000000..2dec21b --- /dev/null +++ b/debian/libzbar0t64.symbols @@ -0,0 +1,145 @@ +libzbar.so.0 libzbar0t64 #MINVER# +* Build-Depends-Package: libzbar-dev + _zbar_error_spew@Base 0.10 + _zbar_error_string@Base 0.10 + _zbar_get_error_code@Base 0.10 + zbar_decode_width@Base 0.10 + zbar_decoder_create@Base 0.10 + zbar_decoder_destroy@Base 0.10 + zbar_decoder_get_color@Base 0.10 + zbar_decoder_get_config@Base 0.22 + zbar_decoder_get_configs@Base 0.21 + zbar_decoder_get_data@Base 0.10 + zbar_decoder_get_data_length@Base 0.10 + zbar_decoder_get_direction@Base 0.21 + zbar_decoder_get_modifiers@Base 0.21 + zbar_decoder_get_type@Base 0.10 + zbar_decoder_get_userdata@Base 0.10 + zbar_decoder_new_scan@Base 0.10 + zbar_decoder_reset@Base 0.10 + zbar_decoder_set_config@Base 0.10 + zbar_decoder_set_handler@Base 0.10 + zbar_decoder_set_userdata@Base 0.10 + zbar_get_addon_name@Base 0.10 + zbar_get_config_name@Base 0.21 + zbar_get_modifier_name@Base 0.21 + zbar_get_orientation_name@Base 0.21 + zbar_get_symbol_name@Base 0.10 + zbar_image_convert@Base 0.10 + zbar_image_convert_resize@Base 0.10 + zbar_image_copy@Base 0.10 + zbar_image_create@Base 0.10 + zbar_image_destroy@Base 0.10 + zbar_image_first_symbol@Base 0.10 + zbar_image_free_data@Base 0.10 + zbar_image_get_crop@Base 0.21 + zbar_image_get_data@Base 0.10 + zbar_image_get_data_length@Base 0.10 + zbar_image_get_format@Base 0.10 + zbar_image_get_height@Base 0.10 + zbar_image_get_sequence@Base 0.10 + zbar_image_get_size@Base 0.21 + zbar_image_get_symbols@Base 0.10 + zbar_image_get_userdata@Base 0.10 + zbar_image_get_width@Base 0.10 + zbar_image_ref@Base 0.10 + zbar_image_scanner_create@Base 0.10 + zbar_image_scanner_destroy@Base 0.10 + zbar_image_scanner_enable_cache@Base 0.10 + zbar_image_scanner_get_config@Base 0.22 + zbar_image_scanner_get_results@Base 0.10 + zbar_image_scanner_recycle_image@Base 0.10 + zbar_image_scanner_request_dbus@Base 0.21 + zbar_image_scanner_set_config@Base 0.10 + zbar_image_scanner_set_data_handler@Base 0.10 + zbar_image_set_crop@Base 0.21 + zbar_image_set_data@Base 0.10 + zbar_image_set_format@Base 0.10 + zbar_image_set_sequence@Base 0.10 + zbar_image_set_size@Base 0.10 + zbar_image_set_symbols@Base 0.10 + zbar_image_set_userdata@Base 0.10 + zbar_image_write@Base 0.10 + zbar_increase_verbosity@Base 0.10 + zbar_jpeg_error@Base 0.10 + zbar_negotiate_format@Base 0.10 + zbar_parse_config@Base 0.10 + zbar_process_image@Base 0.10 + zbar_process_one@Base 0.10 + zbar_processor_create@Base 0.10 + zbar_processor_destroy@Base 0.10 + zbar_processor_force_format@Base 0.10 + zbar_processor_get_control@Base 0.21 + zbar_processor_get_results@Base 0.10 + zbar_processor_get_userdata@Base 0.10 + zbar_processor_init@Base 0.10 + zbar_processor_is_visible@Base 0.10 + zbar_processor_request_dbus@Base 0.21 + zbar_processor_request_interface@Base 0.10 + zbar_processor_request_iomode@Base 0.10 + zbar_processor_request_size@Base 0.10 + zbar_processor_set_active@Base 0.10 + zbar_processor_set_config@Base 0.10 + zbar_processor_set_control@Base 0.21 + zbar_processor_set_data_handler@Base 0.10 + zbar_processor_set_userdata@Base 0.10 + zbar_processor_set_visible@Base 0.10 + zbar_processor_user_wait@Base 0.10 + zbar_scan_image@Base 0.10 + zbar_scan_y@Base 0.10 + zbar_scanner_create@Base 0.10 + zbar_scanner_destroy@Base 0.10 + zbar_scanner_flush@Base 0.10 + zbar_scanner_get_color@Base 0.10 + zbar_scanner_get_edge@Base 0.10 + zbar_scanner_get_state@Base 0.10 + zbar_scanner_get_width@Base 0.10 + zbar_scanner_new_scan@Base 0.10 + zbar_scanner_reset@Base 0.10 + zbar_set_verbosity@Base 0.10 + zbar_symbol_first_component@Base 0.10 + zbar_symbol_get_components@Base 0.10 + zbar_symbol_get_configs@Base 0.21 + zbar_symbol_get_count@Base 0.10 + zbar_symbol_get_data@Base 0.10 + zbar_symbol_get_data_length@Base 0.10 + zbar_symbol_get_loc_size@Base 0.10 + zbar_symbol_get_loc_x@Base 0.10 + zbar_symbol_get_loc_y@Base 0.10 + zbar_symbol_get_modifiers@Base 0.21 + zbar_symbol_get_orientation@Base 0.21 + zbar_symbol_get_quality@Base 0.10 + zbar_symbol_get_type@Base 0.10 + zbar_symbol_next@Base 0.10 + zbar_symbol_ref@Base 0.10 + zbar_symbol_set_first_symbol@Base 0.10 + zbar_symbol_set_first_unfiltered@Base 0.21 + zbar_symbol_set_get_size@Base 0.10 + zbar_symbol_set_ref@Base 0.10 + zbar_symbol_xml@Base 0.10 + zbar_version@Base 0.10 + zbar_video_create@Base 0.10 + zbar_video_destroy@Base 0.10 + zbar_video_enable@Base 0.10 + zbar_video_get_control@Base 0.21 + zbar_video_get_controls@Base 0.21 + zbar_video_get_fd@Base 0.10 + zbar_video_get_format@Base 0.10 + zbar_video_get_height@Base 0.10 + zbar_video_get_resolutions@Base 0.22 + zbar_video_get_width@Base 0.10 + zbar_video_init@Base 0.10 + zbar_video_next_image@Base 0.10 + zbar_video_open@Base 0.10 + zbar_video_request_interface@Base 0.10 + zbar_video_request_iomode@Base 0.10 + zbar_video_request_size@Base 0.10 + zbar_video_set_control@Base 0.21 + zbar_window_attach@Base 0.10 + zbar_window_create@Base 0.10 + zbar_window_destroy@Base 0.10 + zbar_window_draw@Base 0.10 + zbar_window_get_overlay@Base 0.10 + zbar_window_redraw@Base 0.10 + zbar_window_resize@Base 0.10 + zbar_window_set_overlay@Base 0.10 diff --git a/debian/libzbargtk-dev.install b/debian/libzbargtk-dev.install new file mode 100644 index 0000000..c76508b --- /dev/null +++ b/debian/libzbargtk-dev.install @@ -0,0 +1,4 @@ +usr/include/zbar/zbargtk.h +usr/lib/*/libzbargtk.a +usr/lib/*/libzbargtk.so +usr/lib/*/pkgconfig/zbar-gtk.pc diff --git a/debian/libzbargtk0t64.install b/debian/libzbargtk0t64.install new file mode 100644 index 0000000..d1fe794 --- /dev/null +++ b/debian/libzbargtk0t64.install @@ -0,0 +1,2 @@ +/usr/lib/*/libzbargtk.so.0 +/usr/lib/*/libzbargtk.so.0.* diff --git a/debian/libzbargtk0t64.lintian-overrides b/debian/libzbargtk0t64.lintian-overrides new file mode 100644 index 0000000..d6c4139 --- /dev/null +++ b/debian/libzbargtk0t64.lintian-overrides @@ -0,0 +1 @@ +libzbargtk0t64: package-name-doesnt-match-sonames libzbargtk0 diff --git a/debian/libzbargtk0t64.symbols b/debian/libzbargtk0t64.symbols new file mode 100644 index 0000000..5e25200 --- /dev/null +++ b/debian/libzbargtk0t64.symbols @@ -0,0 +1,14 @@ +libzbargtk.so.0 libzbargtk0t64 #MINVER# +* Build-Depends-Package: libzbargtk-dev + zbar_gtk_get_type@Base 0.10 + zbar_gtk_get_video_device@Base 0.10 + zbar_gtk_get_video_enabled@Base 0.10 + zbar_gtk_get_video_opened@Base 0.10 + zbar_gtk_image_from_pixbuf@Base 0.10 + zbar_gtk_new@Base 0.10 + zbar_gtk_release_pixbuf@Base 0.10 + zbar_gtk_request_video_size@Base 0.21 + zbar_gtk_scan_image@Base 0.10 + zbar_gtk_set_video_device@Base 0.10 + zbar_gtk_set_video_enabled@Base 0.10 + zbar_marshal_VOID__INT_STRING@Base 0.23 diff --git a/debian/libzbarqt-dev.install b/debian/libzbarqt-dev.install new file mode 100644 index 0000000..f926ce6 --- /dev/null +++ b/debian/libzbarqt-dev.install @@ -0,0 +1,4 @@ +usr/include/zbar/QZBar*.h +usr/lib/*/libzbarqt.a +usr/lib/*/libzbarqt.so +usr/lib/*/pkgconfig/zbar-qt.pc diff --git a/debian/libzbarqt0t64.install b/debian/libzbarqt0t64.install new file mode 100644 index 0000000..376159c --- /dev/null +++ b/debian/libzbarqt0t64.install @@ -0,0 +1,2 @@ +usr/lib/*/libzbarqt.so.0 +usr/lib/*/libzbarqt.so.0.* diff --git a/debian/libzbarqt0t64.lintian-overrides b/debian/libzbarqt0t64.lintian-overrides new file mode 100644 index 0000000..f74ff9b --- /dev/null +++ b/debian/libzbarqt0t64.lintian-overrides @@ -0,0 +1 @@ +libzbarqt0t64: package-name-doesnt-match-sonames libzbarqt0 diff --git a/debian/libzbarqt0t64.shlibs b/debian/libzbarqt0t64.shlibs new file mode 100644 index 0000000..47ebbc9 --- /dev/null +++ b/debian/libzbarqt0t64.shlibs @@ -0,0 +1 @@ +libzbarqt 0 libzbarqt0t64 (>= 0.23) diff --git a/debian/not-installed b/debian/not-installed new file mode 100644 index 0000000..d8b6462 --- /dev/null +++ b/debian/not-installed @@ -0,0 +1,10 @@ +usr/lib/*/*.la +usr/lib/*/*/*.la +usr/share/doc/zbar/ABOUT-NLS +usr/share/doc/zbar/COPYING +usr/share/doc/zbar/HACKING.md +usr/share/doc/zbar/INSTALL.md +usr/share/doc/zbar/LICENSE.md +usr/share/doc/zbar/NEWS.md +usr/share/doc/zbar/README.md +usr/share/doc/zbar/TODO.md diff --git a/debian/patches/0001-Properly-set-perl-script-shebang.patch b/debian/patches/0001-Properly-set-perl-script-shebang.patch new file mode 100644 index 0000000..40312f3 --- /dev/null +++ b/debian/patches/0001-Properly-set-perl-script-shebang.patch @@ -0,0 +1,31 @@ +From: =?utf-8?q?G=C3=BCrkan_Myczko?= <gurkan@phys.ethz.ch> +Date: Thu, 25 Jul 2019 16:34:30 -0400 +Subject: Properly set perl script shebang + +Signed-off-by: Boyuan Yang <byang@debian.org> +Last-Update: 2019-07-25 +--- + perl/examples/processor.pl | 2 +- + perl/examples/read_one.pl | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/perl/examples/processor.pl b/perl/examples/processor.pl +index d2d1e91..c8daa69 100755 +--- a/perl/examples/processor.pl ++++ b/perl/examples/processor.pl +@@ -1,4 +1,4 @@ +-#!/usr/bin/env perl ++#!/usr/bin/perl + use warnings; + use strict; + require Barcode::ZBar; +diff --git a/perl/examples/read_one.pl b/perl/examples/read_one.pl +index d64860c..2c6f1ae 100755 +--- a/perl/examples/read_one.pl ++++ b/perl/examples/read_one.pl +@@ -1,4 +1,4 @@ +-#!/usr/bin/env perl ++#!/usr/bin/perl + use warnings; + use strict; + require Barcode::ZBar; diff --git a/debian/patches/0002-configure.ac-Do-not-use-hardcoded-pkg-config-command.patch b/debian/patches/0002-configure.ac-Do-not-use-hardcoded-pkg-config-command.patch new file mode 100644 index 0000000..8f17f61 --- /dev/null +++ b/debian/patches/0002-configure.ac-Do-not-use-hardcoded-pkg-config-command.patch @@ -0,0 +1,46 @@ +From: Boyuan Yang <byang@debian.org> +Date: Tue, 9 Jan 2024 07:56:32 -0500 +Subject: configure.ac: Do not use hardcoded pkg-config command + +Use overridable $PKG_CONFIG instead. + +Also fixes some M4 grammar errors in configure.ac. +--- + configure.ac | 14 +++++++------- + 1 file changed, 7 insertions(+), 7 deletions(-) + +diff --git a/configure.ac b/configure.ac +index f0f9723..a2251e3 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -663,23 +663,23 @@ AC_ARG_WITH([qt6], + + AS_IF([test "x$with_qt" != "xno"], + [AS_IF([test "x$with_qt6" != "xno"], +- PKG_CHECK_MODULES([QT], ++ [PKG_CHECK_MODULES([QT], + [Qt6], +- [MOC=`pkg-config Qt6 --variable=moc` ++ [MOC=`$PKG_CONFIG Qt6 --variable=moc` + QT_VERSION=`$PKG_CONFIG Qt6 --modversion` +- QT6_HEADERS=`pkg-config Qt6 --variable=headerdir` ++ QT6_HEADERS=`$PKG_CONFIG Qt6 --variable=headerdir` + CPPFLAGS="$CPPFLAGS -I$QT6_HEADERS -I$QT6_HEADERS/QtWidgets -I$QT6_HEADERS/QtCore -I$QT6_HEADERS/QtGui" + qt_pkgconfig_file="zbar-qt5.pc" + ], +- [with_qt6="no"])) ++ [with_qt6="no"])]) + AS_IF([test "x$with_qt6" = "xno"], +- PKG_CHECK_MODULES([QT], ++ [PKG_CHECK_MODULES([QT], + [Qt5Core >= 5 Qt5Gui >= 5 Qt5Widgets >= 5.0 Qt5X11Extras >= 5.0], +- [MOC=`pkg-config Qt5 --variable=moc` ++ [MOC=`$PKG_CONFIG Qt5 --variable=moc` + QT_VERSION=`$PKG_CONFIG Qt5 --modversion` + qt_pkgconfig_file="zbar-qt5.pc" + ], +- [with_qt="no"])) ++ [with_qt="no"])]) + ]) + + AC_ARG_VAR([MOC], [full path to Qt moc program]) diff --git a/debian/patches/0003-configure.ac-Use-old-way-to-detect-Qt5.patch b/debian/patches/0003-configure.ac-Use-old-way-to-detect-Qt5.patch new file mode 100644 index 0000000..b5b2e36 --- /dev/null +++ b/debian/patches/0003-configure.ac-Use-old-way-to-detect-Qt5.patch @@ -0,0 +1,24 @@ +From: Boyuan Yang <byang@debian.org> +Date: Wed, 10 Jan 2024 10:57:29 -0500 +Subject: configure.ac: Use old way to detect Qt5 + +Bug: https://github.com/mchehab/zbar/issues/277 +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index a2251e3..0e5641e 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -675,8 +675,8 @@ AS_IF([test "x$with_qt" != "xno"], + AS_IF([test "x$with_qt6" = "xno"], + [PKG_CHECK_MODULES([QT], + [Qt5Core >= 5 Qt5Gui >= 5 Qt5Widgets >= 5.0 Qt5X11Extras >= 5.0], +- [MOC=`$PKG_CONFIG Qt5 --variable=moc` +- QT_VERSION=`$PKG_CONFIG Qt5 --modversion` ++ [AC_CHECK_PROGS([MOC], [moc-qt5 moc]) ++ QT_VERSION=`$PKG_CONFIG Qt5Gui --modversion`; + qt_pkgconfig_file="zbar-qt5.pc" + ], + [with_qt="no"])]) diff --git a/debian/patches/series b/debian/patches/series new file mode 100644 index 0000000..6425d89 --- /dev/null +++ b/debian/patches/series @@ -0,0 +1,3 @@ +0001-Properly-set-perl-script-shebang.patch +0002-configure.ac-Do-not-use-hardcoded-pkg-config-command.patch +0003-configure.ac-Use-old-way-to-detect-Qt5.patch diff --git a/debian/python3-zbar.install b/debian/python3-zbar.install new file mode 100644 index 0000000..7fee746 --- /dev/null +++ b/debian/python3-zbar.install @@ -0,0 +1 @@ +/usr/lib/python*/*-packages/zbar*.so diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..748c10c --- /dev/null +++ b/debian/rules @@ -0,0 +1,55 @@ +#!/usr/bin/make -f +export DH_VERBOSE = 1 + +# see FEATURE AREAS in dpkg-buildflags(1) +export DEB_BUILD_MAINT_OPTIONS = hardening=+all + +# see ENVIRONMENT in dpkg-buildflags(1) +# package maintainers to append CFLAGS +export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic +# package maintainers to append LDFLAGS +export DEB_LDFLAGS_MAINT_APPEND = + +# Introduce standard debhelper variables +DPKG_EXPORT_BUILDFLAGS = 1 +DPKG_EXPORT_BUILDTOOLS = 1 +include /usr/share/dpkg/default.mk +# Use correct PKG_CONFIG in configure.ac +include /usr/share/dpkg/buildtools.mk + +# Let pybuild know the python binary package name +export PYBUILD_NAME = zbar + +LDFLAGS_LIB_SEARCHPATH = $(strip $(shell find $(CURDIR)/zbar -name '*.so' -printf "-L%h ")) +LDFLAGS_BINDINGS = $(strip $(LDFLAGS) $(LDFLAGS_LIB_SEARCHPATH)) + +# Explicitly set supported Qt version +export QT_SELECT := 5 + +# Properly set configure flags +CONFIGURE_FLAGS = --without-java --libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) --with-gtk=gtk3 --with-python=python3 --with-qt5 + +# We enable libv4l support only on Linux platforms. +ifeq (,$(findstring linux,$(DEB_HOST_ARCH_OS))) + CONFIGURE_FLAGS += --disable-video +endif + +%: + dh $@ --with gir + +override_dh_auto_configure: + dh_auto_configure -- $(CONFIGURE_FLAGS) + +execute_after_dh_clean: + # Also clean up perl-related files + [ ! -f $(CURDIR)/perl/Makefile ] || $(MAKE) -C perl realclean + +override_dh_auto_install: build-perl + dh_auto_install + +build-perl: + dh_auto_configure --sourcedirectory=perl -- INC="-I$(CURDIR)/include" LIBS="$(LDFLAGS_LIB_SEARCHPATH) -lzbar" + dh_auto_build --sourcedirectory=perl -- OTHERLDFLAGS="$(LDFLAGS_LIB_SEARCHPATH)" LD_RUN_PATH='' + dh_auto_install --sourcedirectory=perl + +.PHONY: build-perl diff --git a/debian/source/format b/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debian/tests/control b/debian/tests/control new file mode 100644 index 0000000..b4f54d9 --- /dev/null +++ b/debian/tests/control @@ -0,0 +1,19 @@ +Test-Command: qrcode "hello, world" | zbarimg - +Depends: + go-qrcode, + zbar-tools, +Restrictions: allow-stderr + +Test-Command: echo "test" | qrencode -o - | zbarimg - +Depends: + qrencode, + zbar-tools, +Restrictions: allow-stderr + +# SVG requires libmagickcore-6-q16-6-extra +# See https://bugs.debian.org/995362 +Test-Command: echo "test" | zint --direct --filetype=PNG -i - | zbarimg - +Depends: + zbar-tools, + zint, +Restrictions: allow-stderr diff --git a/debian/upstream/metadata b/debian/upstream/metadata new file mode 100644 index 0000000..1359e85 --- /dev/null +++ b/debian/upstream/metadata @@ -0,0 +1,4 @@ +Bug-Database: https://github.com/mchehab/zbar/issues +Bug-Submit: https://github.com/mchehab/zbar/issues/new +Repository: https://github.com/mchehab/zbar.git +Repository-Browse: https://github.com/mchehab/zbar diff --git a/debian/watch b/debian/watch new file mode 100644 index 0000000..92dadd5 --- /dev/null +++ b/debian/watch @@ -0,0 +1,4 @@ +version=4 +opts="filenamemangle=s%(?:.*?)?v?(\d[\d.]*@ARCHIVE_EXT@)%@PACKAGE@-$1%" \ + https://github.com/mchehab/zbar/tags \ + (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@ diff --git a/debian/zbar-tools.install b/debian/zbar-tools.install new file mode 100755 index 0000000..4147e3f --- /dev/null +++ b/debian/zbar-tools.install @@ -0,0 +1,5 @@ +#!/usr/bin/dh-exec +[linux-any] usr/bin/zbarcam +usr/bin/zbarimg +etc/dbus-1/system.d/org.linuxtv.Zbar.conf +usr/share/locale/*/*/zbar.mo diff --git a/debian/zbar-tools.manpages b/debian/zbar-tools.manpages new file mode 100644 index 0000000..5ea05fe --- /dev/null +++ b/debian/zbar-tools.manpages @@ -0,0 +1 @@ +debian/tmp/usr/share/man/man1/* diff --git a/debian/zbarcam-gtk.install b/debian/zbarcam-gtk.install new file mode 100644 index 0000000..691ec0e --- /dev/null +++ b/debian/zbarcam-gtk.install @@ -0,0 +1 @@ +usr/bin/zbarcam-gtk diff --git a/debian/zbarcam-qt.install b/debian/zbarcam-qt.install new file mode 100644 index 0000000..96984b1 --- /dev/null +++ b/debian/zbarcam-qt.install @@ -0,0 +1 @@ +usr/bin/zbarcam-qt |