pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/graphics/prison



Module Name:    pkgsrc
Committed By:   wiz
Date:           Sat Apr 29 14:37:08 UTC 2023

Modified Files:
        pkgsrc/graphics/prison: distinfo
Added Files:
        pkgsrc/graphics/prison/patches: patch-CMakeLists.txt

Log Message:
prison: add support for ZXing 2.0


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/graphics/prison/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/graphics/prison/patches/patch-CMakeLists.txt

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/prison/distinfo
diff -u pkgsrc/graphics/prison/distinfo:1.13 pkgsrc/graphics/prison/distinfo:1.14
--- pkgsrc/graphics/prison/distinfo:1.13        Thu Sep 29 00:52:15 2022
+++ pkgsrc/graphics/prison/distinfo     Sat Apr 29 14:37:07 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.13 2022/09/29 00:52:15 markd Exp $
+$NetBSD: distinfo,v 1.14 2023/04/29 14:37:07 wiz Exp $
 
 BLAKE2s (prison-5.98.0.tar.xz) = d9cac3651c2250de09ccb06977d58deae38a0af23dac824be9998ad4a6fb314a
 SHA512 (prison-5.98.0.tar.xz) = 71c800693292a98888f8dad3317613464bd7c07c20ea882e871f1103270619a0a59021405207f30bad4360c81649ae2701d7237c9e9d5948a4d37b4d148b067b
 Size (prison-5.98.0.tar.xz) = 55752 bytes
+SHA1 (patch-CMakeLists.txt) = 8337d6c7018f99ee418c0c7f2c79661cb8a10fbf

Added files:

Index: pkgsrc/graphics/prison/patches/patch-CMakeLists.txt
diff -u /dev/null pkgsrc/graphics/prison/patches/patch-CMakeLists.txt:1.1
--- /dev/null   Sat Apr 29 14:37:08 2023
+++ pkgsrc/graphics/prison/patches/patch-CMakeLists.txt Sat Apr 29 14:37:08 2023
@@ -0,0 +1,19 @@
+$NetBSD: patch-CMakeLists.txt,v 1.1 2023/04/29 14:37:08 wiz Exp $
+
+ZXing 2.0 support
+https://github.com/KDE/prison/commit/14fb6f0a31373b242bdeb18cf9f3a36441bf86b5
+
+--- CMakeLists.txt.orig        2022-09-05 09:32:45.000000000 +0000
++++ CMakeLists.txt
+@@ -44,7 +44,10 @@ find_package(Dmtx)
+ set_package_properties(Dmtx PROPERTIES
+     PURPOSE "Required for generation of Data Matrix barcodes."
+     TYPE RECOMMENDED)
+-find_package(ZXing 1.2.0)
++find_package(ZXing 2.0)
++if (NOT TARGET ZXing::ZXing)
++  find_package(ZXing 1.2.0)
++endif()
+ set_package_properties(ZXing PROPERTIES
+     PURPOSE "Required for generation of PDF417 barcodes and for scanning of barcodes from live video feed."
+     TYPE RECOMMENDED)



Home | Main Index | Thread Index | Old Index