From nobody Sat Aug 27 06:55:56 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4MF6t44rFfz4Zhk8; Sat, 27 Aug 2022 06:55:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4MF6t43h5xz3bRV; Sat, 27 Aug 2022 06:55:56 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661583356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k9zNlUWLQoIIK0BsPq6V8At8GJVbwl6vGXpbTWehJiA=; b=ZZWcQ9bELDJeODBBqgteBsLQQkL2+bAIgU0NfH64jJkVituE1DRjA0TptkY0pa9WH+/xi5 T4nkwR2LvxAAcR6lDbkJFEXBxz0KJMv74yUGxQdDL2pVYbs9joznO7up2k5lS15Ra/syMH yvGO5pOW+WBGs8n/nVRjcMlopSKI2bifDp/Sp+sWstgI+rPT+1qf9xaY/Md6pneOsJjdIw VJ/ncyFRvE2PP6lpmltB8Sm9IxZGuJV+DkzQ+SXpvZZwdoBmwBAzfGP4OlnCDZ1Rtjj8YY l5slJnG9w4ya4lgB+e8Pg3B5pNoixTWQ6apnottGomSL/rnYyC5DuK++4C85wQ== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4MF6t42kjlzgNv; Sat, 27 Aug 2022 06:55:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27R6tuX6075066; Sat, 27 Aug 2022 06:55:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27R6tuL2075065; Sat, 27 Aug 2022 06:55:56 GMT (envelope-from git) Date: Sat, 27 Aug 2022 06:55:56 GMT Message-Id: <202208270655.27R6tuL2075065@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: "Tobias C. Berner" Subject: git: 02752e01efc8 - main - textproc/zxing-cpp: install private header for libreoffice List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tcberner X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 02752e01efc857153eea218bd08201147c01b408 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1661583356; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=k9zNlUWLQoIIK0BsPq6V8At8GJVbwl6vGXpbTWehJiA=; b=Oo0YLXyJLV6nrFv+tKBvnlonbMzsgC//kA89rc5Ukp7Gv+agTY6YOH0dF4ZhP8XY/U4Mu5 hMwSmjPtQMevsVl5QtMJKLG4HMY0KZ8ggjUSGwlgbCmcgrpkTkaLtZUZsU+vnTyabcMgyJ 29hBHsSUg8Q3ZICJIrh6zhrhoMOkR8Tyb6u2NoB7eUOuF/EbGufGH2TMeaG+jpxoYT9dZX dMgON9csAJ6Odx1eiQFuPLrwx/HfjEn0Ge+36AP1CnH3Ux+VntUQnAGWEbRFPAFVgerECP +KSL4ZeXFnff9l/r0kk1dAETmlvRRaJSnyvYO0LZUlnuGlUTxV1SyvZGyTsvFA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1661583356; a=rsa-sha256; cv=none; b=PSM2g+yoXo2lo1K3NFnKtUD3lr8pq1lHN8r56l2VRa8vr3pYnqwuNRBdvp3eGRcDpjea1t IM+uL98+XvlhbV4inJ1zgXceae6/cS2As0K0jUExO/19L/lbyYsQyEN1S3N1ZNQM3EMbfc Q934JA60FPYEiTsXMqXL31NIemyw43wKZ7mxb/D/kM16b/v1jFzZDXyC0sH1FH28SakfoZ gyUr3FHmFjnwDvzcbVVn829553HaOSfgv6LLQqh8MAeQ+yMIVs/HV3oO5jViZMfhYQ/DBb aOh3CXI9YrzWCx13GmqjVi2i2xKMEmurkZV1Hu5s1eiEJi6nYRpFuI+dBWosEA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by tcberner: URL: https://cgit.FreeBSD.org/ports/commit/?id=02752e01efc857153eea218bd08201147c01b408 commit 02752e01efc857153eea218bd08201147c01b408 Author: Tobias C. Berner AuthorDate: 2022-08-27 06:50:25 +0000 Commit: Tobias C. Berner 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