1
0
mirror of https://git.code.sf.net/p/zint/code synced 2026-05-02 04:05:33 +00:00
Files
zint/README.deb
gitlost df64a0f237 debian: updated using https://salsa.debian.org/debian/zint as
template, props Dmitry Smirnov (ticket #147, props John Crisp);
  TODO: enable building with the GS1 Syntax Engine;
  this involved auditing copyrights which prompted the next item
  re "tif.c" and will prompt the next next item "pdf417.c"
tif.c: replaced LZW compression with tree-based one due to
  "tif_lzw.h"'s original BSD-TAHOE license which has the equivalent
  of the "advertising clause", new implementation (which is much
  faster anyway) props Harald Kuhr and Bob Montgomery
pdf417.c: TODO: Replace all code adapted from "pdf417.frm" as it
  was released under GPL v2.0 or later
pdf417.h: replace unnecessary "pdf417.frm" references with ISO/IEC
  standard as 1st step re above, some expanded comments
general: Codablock-F -> Codablock F (i.e. lose hyphen)
cmake: frontend/frontend_qt: go back to only setting RPATH on macOS
  as not Debian compatible and it seems it's not a good idea on
  Linux anyway; TODO: check BSD + other Unixes
CLI/GUI: make "--verbose" option official and document
tools/gen_eci_sb_h.php/gen_eci_mb_h.php: add SPDX Unicode-3.0;
  update haible.de/bruno tarball info - "GB18030.TXT" no longer in
  "jdk-1.4.2/" so mention "libiconv-1.11/" version instead (same)
general: add various SPDXs and normalize some Copyrights
reedsol.c: malloced `logt`/`alog` tables int -> short (slight
  performance improvement)
aztec.c: add copyrights, some code fiddling
BWIPP: update to latest
2026-03-18 15:08:32 +00:00

59 lines
1.7 KiB
Plaintext

% README.deb 2026-03-18
% Tested on Ubuntu 24.04 LTS
% vim: set ts=4 sw=4 et :
The "debian" directory is included to enable creating a local Debian dpkg ".deb" file.
(The official Debian package is at https://salsa.debian.org/debian/zint)
Prerequisites are being on a Debian-based Linux system and the usual stuff for building zint (see "README.linux").
To create a local package, first clone the latest source:
git clone https://git.code.sf.net/p/zint/code zint
Then create an archive:
cd zint
git archive -o /tmp/zint.tar.gz HEAD
cd ..
Create a new directory (it doesn't matter where):
mkdir zint-deb
Then untar the source archive into a sub-directory of the new directory:
cd zint-deb
mkdir zint-2.16.0.9-src
cd zint-2.16.0.9-src
tar xf /tmp/zint.tar.gz
cd ..
tar cvzf zint_2.16.0.9.orig.tar.gz zint-2.16.0.9-src
Note the very specific naming of the tarball and the use of an underscore: "zint_<ver>.orig.tar.gz".
Then run dpkg-buildpackage in the source sub-directory:
cd zint-2.16.0.9-src
dpkg-buildpackage -us -uc
cd ..
If this works, there should be four ".deb" files (amongst other stuff) in the zint-deb directory, namely:
libzint2.16_2.16.0.9-1_<arch>.deb
libzint-dev_2.16.0.9-1_<arch>.deb
zint_2.16.0.9-1_<arch>.deb
zint-qt_2.16.0.9-1_<arch>.deb
where "<arch>" is e.g. "amd64" on an Intel system.
The ".deb" files can then be installed on "<arch>" systems, starting with the "libzint" ones first, e.g.
sudo dpkg -i libzint2.16_2.16.0.9-1_amd64.deb
You may be prompted by dpkg to add other packages first.
Note that the GS1 Syntax Engine is not yet supported by the included "debian" directory (nor by the official
Debian package for that matter), which is an issue.