head 1.4; access; symbols pkgsrc-2026Q1:1.4.0.12 pkgsrc-2026Q1-base:1.4 pkgsrc-2025Q4:1.4.0.10 pkgsrc-2025Q4-base:1.4 pkgsrc-2025Q3:1.4.0.8 pkgsrc-2025Q3-base:1.4 pkgsrc-2025Q2:1.4.0.6 pkgsrc-2025Q2-base:1.4 pkgsrc-2025Q1:1.4.0.4 pkgsrc-2025Q1-base:1.4 pkgsrc-2024Q4:1.4.0.2 pkgsrc-2024Q4-base:1.4 pkgsrc-2024Q3:1.3.0.30 pkgsrc-2024Q3-base:1.3 pkgsrc-2024Q2:1.3.0.28 pkgsrc-2024Q2-base:1.3 pkgsrc-2024Q1:1.3.0.26 pkgsrc-2024Q1-base:1.3 pkgsrc-2023Q4:1.3.0.24 pkgsrc-2023Q4-base:1.3 pkgsrc-2023Q3:1.3.0.22 pkgsrc-2023Q3-base:1.3 pkgsrc-2023Q2:1.3.0.20 pkgsrc-2023Q2-base:1.3 pkgsrc-2023Q1:1.3.0.18 pkgsrc-2023Q1-base:1.3 pkgsrc-2022Q4:1.3.0.16 pkgsrc-2022Q4-base:1.3 pkgsrc-2022Q3:1.3.0.14 pkgsrc-2022Q3-base:1.3 pkgsrc-2022Q2:1.3.0.12 pkgsrc-2022Q2-base:1.3 pkgsrc-2022Q1:1.3.0.10 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.8 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.6 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.3.0.4 pkgsrc-2021Q2-base:1.3 pkgsrc-2021Q1:1.3.0.2 pkgsrc-2021Q1-base:1.3 pkgsrc-2020Q4:1.2.0.6 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.4 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.2 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.1.0.2 pkgsrc-2020Q1-base:1.1 pkgsrc-2019Q4:1.1.0.4 pkgsrc-2019Q4-base:1.1; locks; strict; comment @# @; 1.4 date 2024.11.25.11.59.23; author leot; state Exp; branches; next 1.3; commitid cdIvMEeFbVq1r1zF; 1.3 date 2021.03.04.10.34.24; author leot; state Exp; branches; next 1.2; commitid ODy6RsYQweegKYJC; 1.2 date 2020.06.20.10.42.42; author leot; state Exp; branches; next 1.1; commitid Rr51RdNNzYhk3XcC; 1.1 date 2019.12.04.11.17.32; author leot; state Exp; branches; next ; commitid 7tJ3xUZ3xI2GDnNB; desc @@ 1.4 log @zbar: Update to 0.23.93 Changes: 0.23.93: * Set a better dpi resolution when parsing PDF files * Fix memory recycle bug of empty symbols * Fix compilation with python 3.11 and 3.12 * CVE-2023-40889: Fix array out-of-bounds access * Stop ignoring non-binary entries that follow binary ones * Increase allocated buffer memory for symbols * barcodetest.py: fix error code print logic * convert: Crash fixing while using camera * Add some pod information for additional functions * perl skip more tests if DISPLAY not set and set prereqs in Makefile.PL * Fixes rt.cpan.org 122061 - test fails when DISPLAY not set * Update Barcode::ZBar * isaac: ensure proper order of parsing expression * Enforce x11 backend even on wayland * zbarimg: add the --polygon option * xml output: Add polygon containing code bar. * configure.ac: drop support for Qt4 and prepare for Qt6 support * win: fix compiling error in Visual studio * Enforce a coding style * configure.ac: fix some issues with gtk parameter * zbargtk: fix version check macros * zbar: Address some header issues * zbar, test: fix compilation issues with FreeBSD * zbar: Function stdcall declaration issue. * symbol: make it compatible with MSC * zbar: change the code to make it c90 standard compatible * test: fix decode test 0.23.92: * Added a --enable-static option to make easier to distribute Windows binaries @ text @$NetBSD: patch-configure,v 1.3 2021/03/04 10:34:24 leot Exp $ - Avoid `${parameter/pattern/string}' bash-ism - Only honor `--with-python' configure argument and completely ignore possible PYTHON environment variable that could be passed via CONFIGURE_ENV by pkgsrc --- configure.orig 2024-01-09 09:15:23.000000000 +0000 +++ configure @@@@ -25430,6 +25430,7 @@@@ fi +if false; then if test -z "$PYTHON" then : if test "x$with_python" = "xauto" @@@@ -25605,6 +25606,7 @@@@ else $as_nop with_python="auto" fi +fi if test "x$with_python" != "xno" then : @ 1.3 log @zbar: Update to 0.23.90 Changes: 0.23.90 ------- * Started using github actions for CI and binary releases * Fixed several issues with configure.ac, making it auto-detect most things, when possible * README.md now shows the absolute minimum requirement for building ZBar on Ubuntu * Fixed some build issues * Make it compatible with Python 3.9 * Fixed some Python 3.9 and Qt5 warnings * Typo fixes * Several fixes at zbarcam * zbarimg: fix stderr output when symbols are found @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.2 2020/06/20 10:42:42 leot Exp $ d8 1 a8 1 --- configure.orig 2021-02-14 06:54:03.000000000 +0000 d10 1 a10 1 @@@@ -24020,6 +24020,7 @@@@ fi d15 4 a18 4 if test -z "$PYTHON"; then : if test "x$with_python" = "xauto"; then : for ac_prog in python3 python2 python @@@@ -24176,6 +24177,7 @@@@ else d24 2 a25 11 if test "x$with_python" != "xno"; then : @@@@ -25265,7 +25267,7 @@@@ else fi -JAVAC=${JAVAC/ecj/ecj -1.5} +JAVAC=`echo "$JAVAC" | sed -e 's/ecj/ecj -1.5/'` if test -z "$JAVAH"; then : for ac_prog in javah @ 1.2 log @zbar: Update to 0.23.1 Changes: 0.23.1 ------ * Add i18n translation support and add a pt_BR translation * Change default to autodetect python and gtk versions * Improve tests and builds on travisCI * Some documentation updates * Add support for binary data extraction * Add support for raw decoding without charset conversions * Add one shot scanning mode * Improved OSX and iphone support * Fix help messages * Fix some makefile issues * Fix error detection in video4linux read * Fix pkgconfig for zbar-qt5 * Fix a double-free condition @ text @d1 1 a1 1 $NetBSD: patch-configure,v 1.1 2019/12/04 11:17:32 leot Exp $ a6 1 - Use standard `=' test(1) operator d8 1 a8 1 --- configure.orig 2020-04-20 21:13:55.000000000 +0000 d10 1 a10 1 @@@@ -23896,6 +23896,7 @@@@ fi d18 1 a18 1 @@@@ -24052,6 +24053,7 @@@@ else d26 1 a26 1 @@@@ -25064,7 +25066,7 @@@@ else d33 2 a34 11 # Javah was obsoleted on Java 8 and removed on Java 11. So, we need to # look strictly at the $JAVA_HOME in order to avoid mixing different versions @@@@ -29146,7 +29148,7 @@@@ fi echo "" echo "please verify that the detected configuration matches your expectations:" echo "------------------------------------------------------------------------" -if test "x$USE_NLS" == "xyes"; then : +if test "x$USE_NLS" = "xyes"; then : echo "gettext $USE_NLS" fi @ 1.1 log @zbar: Import zbar-0.23 as graphics/zbar ZBar is an open source software suite for reading bar codes from various sources, such as video streams, image files and raw intensity sensors. It supports many popular symbologies (types of bar codes) including EAN-13/UPC-A, UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code. The flexible, layered implementation facilitates bar code scanning and decoding for any application: use it stand-alone with the included GUI and command line programs, easily integrate a bar code scanning widget into your Qt, GTK+ or PyGTK GUI application, leverage one of the script or programming interfaces (Python, Perl, C++) ...all the way down to a streamlined C library suitable for embedded use. Packaged in pkgsrc-wip by myself and . @ text @d1 1 a1 1 $NetBSD$ a2 1 - Avoid unportable `==' test(1) operator d7 1 d9 1 a9 4 `==' unportable test(1) operator commited upstream as f326730fff1cb3ea7c98d30f67fc94481468d468. --- configure.orig 2019-05-23 21:12:06.000000000 +0000 d11 1 a11 19 @@@@ -21590,7 +21590,7 @@@@ fi -if test "x$with_gtk" == "xgtk3" || test "x$with_gtk" == "xauto"; then : +if test "x$with_gtk" = "xgtk3" || test "x$with_gtk" = "xauto"; then : pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK3" >&5 @@@@ -21693,7 +21693,7 @@@@ fi fi -if test "x$with_gtk" == "xgtk2" || test "x$with_gtk" == "xauto"; then : +if test "x$with_gtk" = "xgtk2" || test "x$with_gtk" = "xauto"; then : pkg_failed=no { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK2" >&5 @@@@ -21844,8 +21844,9 @@@@ fi d17 1 a17 2 - if test "x$with_python" == "xauto"; then : + if test "x$with_python" = "xauto"; then : d19 1 a19 21 do # Extract the first word of "$ac_prog", so it can be a program name with args. @@@@ -21893,7 +21894,7 @@@@ done test -n "$PYTHON" || PYTHON=":" else - if test "x$with_python" == "xpython3"; then : + if test "x$with_python" = "xpython3"; then : for ac_prog in python3 python do # Extract the first word of "$ac_prog", so it can be a program name with args. @@@@ -21941,7 +21942,7 @@@@ done test -n "$PYTHON" || PYTHON=":" else - if test "x$with_python" == "xpython2"; then : + if test "x$with_python" = "xpython2"; then : for ac_prog in python2 python do # Extract the first word of "$ac_prog", so it can be a program name with args. @@@@ -22000,6 +22001,7 @@@@ else d27 1 a27 10 @@@@ -22450,7 +22452,7 @@@@ fi -if test "x$with_gir" == "xyes" && test "x$with_gtk" != "xno"; then : +if test "x$with_gir" = "xyes" && test "x$with_gtk" != "xno"; then : @@@@ -23002,7 +23004,7 @@@@ else d36 7 a42 10 @@@@ -23110,7 +23112,7 @@@@ fi done test -n "$JAR" || JAR=":" -if test "x$JAR" == "x:"; then : +if test "x$JAR" = "x:"; then : have_java="no" fi @@@@ -23163,7 +23165,7 @@@@ test -n "$JAVA" || JAVA="/bin/false" a43 41 -if test "x$CLASSPATH" == "x"; then : +if test "x$CLASSPATH" = "x"; then : CLASSPATH="." fi @@@@ -26981,7 +26985,7 @@@@ echo "GTK --with-gtk= echo "GObject introspection --with-gir=$with_gir" echo "Qt --with-qt=$with_qt Qt${QT_VERSION}" echo "Java --with-java=$with_java" -if test "x$win32" == "xno"; then : +if test "x$win32" = "xno"; then : echo "Dbus --with-dbus=$with_dbus" fi if test "x$have_GM" = "xyes"; then : @@@@ -27012,7 +27016,7 @@@@ fi if test "x$have_GM" = "xyes"; then : echo " => ImageMagick is preferred, as GraphicsMagick doesn't support https" fi -if test "x$with_gtk" == "xno"; then : +if test "x$with_gtk" = "xno"; then : echo " => GTK support will *NOT* be built" fi if test "x$with_pygtk2" != "xyes" && test "xPYTHON_VERSION_MAJOR" = "x2"; then : @@@@ -27021,7 +27025,7 @@@@ fi if test "x$with_qt" != "xyes"; then : echo " => the Qt widget will *NOT* be built" fi -if test "x$with_qt" == "xyes" && test "x$enable_static_qt" == "xyes" ; then : +if test "x$with_qt" = "xyes" && test "x$enable_static_qt" = "xyes" ; then : echo " => Building a static Qt library" fi if test "x$with_java" != "xyes"; then : @@@@ -27033,6 +27037,6 @@@@ fi #echo "NPAPI Plugin --with-npapi=$with_npapi" #AS_IF([test "x$with_mozilla" != "xyes"], # [echo " => the Mozilla/Firefox/OpenOffice plugin will *NOT* be built"]) -if test "x$enable_pdf417" == "xyes"; then : +if test "x$enable_pdf417" = "xyes"; then : echo " => the pdf417 code support is incomplete!" @