git: 02752e01efc8 - main - textproc/zxing-cpp: install private header for libreoffice
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 27 Aug 2022 06:55:56 UTC
The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=02752e01efc857153eea218bd08201147c01b408 commit 02752e01efc857153eea218bd08201147c01b408 Author: Tobias C. Berner <tcberner@FreeBSD.org> AuthorDate: 2022-08-27 06:50:25 +0000 Commit: Tobias C. Berner <tcberner@FreeBSD.org> CommitDate: 2022-08-27 06:54:25 +0000 textproc/zxing-cpp: install private header for libreoffice Based on idea from OpenMandriva [1] Reported by: jbeich [1] https://github.com/OpenMandrivaAssociation/zxing-cpp/commit/ca564fe9d6d51808b40587dc0d0d16420dff51ae --- textproc/zxing-cpp/Makefile | 1 + textproc/zxing-cpp/files/patch-core_CMakeLists.txt | 13 +++++++++++++ textproc/zxing-cpp/pkg-plist | 1 + 3 files changed, 15 insertions(+) diff --git a/textproc/zxing-cpp/Makefile b/textproc/zxing-cpp/Makefile index c6cc9da5f81e..c14a6e16f45b 100644 --- a/textproc/zxing-cpp/Makefile +++ b/textproc/zxing-cpp/Makefile @@ -1,6 +1,7 @@ PORTNAME= zxing-cpp DISTVERSIONPREFIX= v DISTVERSION= 1.4.0 +PORTREVISION= 1 CATEGORIES= textproc MAINTAINER= kde@FreeBSD.org diff --git a/textproc/zxing-cpp/files/patch-core_CMakeLists.txt b/textproc/zxing-cpp/files/patch-core_CMakeLists.txt new file mode 100644 index 000000000000..e323686f7010 --- /dev/null +++ b/textproc/zxing-cpp/files/patch-core_CMakeLists.txt @@ -0,0 +1,13 @@ +zxing-cpp 1.4.0 startd to only install the headers to the public interface. +Libreoffice is unfortunately depending on some internal parts. + +--- core/CMakeLists.txt.orig 2022-08-27 06:46:09 UTC ++++ core/CMakeLists.txt +@@ -141,6 +141,7 @@ set (PUBLIC_HEADERS + # define subset of public headers that get distributed with the binaries + set (PUBLIC_HEADERS + src/BarcodeFormat.h ++ src/BitArray.h # expose private header used by Libreoffice + src/BitHacks.h + src/ByteArray.h + src/CharacterSet.h diff --git a/textproc/zxing-cpp/pkg-plist b/textproc/zxing-cpp/pkg-plist index 285d0ee69186..295a60527ac9 100644 --- a/textproc/zxing-cpp/pkg-plist +++ b/textproc/zxing-cpp/pkg-plist @@ -1,4 +1,5 @@ include/ZXing/BarcodeFormat.h +include/ZXing/BitArray.h include/ZXing/BitHacks.h include/ZXing/BitMatrix.h include/ZXing/BitMatrixIO.h