From nobody Tue Nov 22 23:38:51 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 4NH1173H9Fz4hw8M; Tue, 22 Nov 2022 23:38:51 +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 4NH1172rdVz3HHw; Tue, 22 Nov 2022 23:38:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669160331; 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=bRlhhrS7YECGc3ai0GGVPybExNwCVhzyRv9VeZvfqiM=; b=fHQYKFh2uHiz9x5viNzy04ufgkqJsRBeGZ0uEnlbLRzS/SU5oAD7yEMkleQ54UN01YRy4M mn0XXwBgF3vX4++o2OBftTZzGCGELEFkzlThpp15IcwvRTsmw7NWPMy+Ys9fkesszhwMYF ozXeE6PnI2XkEAKFVf4VOqq0NVBoywCLK7fTTTJBF0i3cRSToy7LPUZwVYMCVkrb/sQBOj yX0n+qh6sZSRK19wFAKBzToLAtRp3KKUEticMNjwNSKLkYZxv55qnh+xUw1VrKN6sN1L47 SJRqA7G04CQr+/+DNqvbcBStiuV2M+2VIf0+Nbl7O5OndZrR6kd+LKxlDbnHJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669160331; 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=bRlhhrS7YECGc3ai0GGVPybExNwCVhzyRv9VeZvfqiM=; b=f5fz6vCCQX8UVbpA9eXpjDSxXIkQ1y8fMPdN4d8ZZepxaBGejXZz1tuwhEJhXCxMopq/Zj jSmCEvvcsovKnE/7JvYpy+wXZ1UCAMF1GUeW6zUTSDTV1ONOrd9NMeWBTgAIMl+Q0q/6+J tQrHEBGqeV6f+DZX5cwofx82ap0yXusGsjHwVZhSmA1BKVMw43nQUx3BS8i5AsPgiLX2CQ TBVob79QEmRhLwhERBMHjeUmli/wOube8JFIzOkyjPJ8faL/1jN+wKLGRHLSC/nsasJfKn 5ud15U+gTPAm/bR8pbp3qG5oFHbf6QTPd4mPSFIPQn8YLaTZlwPsojU51fVd0g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669160331; a=rsa-sha256; cv=none; b=ib2ztHh+VWHStjqDu9UPmnsgiytgYwbF0cm5t/FVPQmbcjtGz8WaHp63/cQ9dpX2TBkB3n M7cPlu7ShFW5NtLv1wqVEasMoPOoC0sNsSnkIVu8KrEdkThvugtXZ6Z2Hc2SVKARqj0876 EquwY9tWSs3Q5TPv12rVP1nn3veRJy6iVI0cZ09W6po8482BN8gq9TrP1qnc6RD5TvgLcM Epr5NhGJmwq0aw5hjPF8aAjny3XXlPPPKjp8QF4fj53hkHkCeem6E2IWdQoKbOXsit6kSc NnzfN0Ovx7qCsuUkKDSNVPYTXtzK72Ul4bG5wEkKq7eefzFTlBeGaMmJXCMV6w== 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 4NH1171vCHz117n; Tue, 22 Nov 2022 23:38:51 +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 2AMNcpNG052000; Tue, 22 Nov 2022 23:38:51 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2AMNcpGm051999; Tue, 22 Nov 2022 23:38:51 GMT (envelope-from git) Date: Tue, 22 Nov 2022 23:38:51 GMT Message-Id: <202211222338.2AMNcpGm051999@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Guangyuan Yang Subject: git: 7bac77cd47e4 - main - print/pdfmixtool: Add port 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: ygy X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7bac77cd47e41bf466ead5828bdda195c3ae0610 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by ygy: URL: https://cgit.FreeBSD.org/ports/commit/?id=7bac77cd47e41bf466ead5828bdda195c3ae0610 commit 7bac77cd47e41bf466ead5828bdda195c3ae0610 Author: Florian Walpen AuthorDate: 2022-11-22 23:38:39 +0000 Commit: Guangyuan Yang CommitDate: 2022-11-22 23:38:39 +0000 print/pdfmixtool: Add port PR: 267892 --- print/Makefile | 1 + print/pdfmixtool/Makefile | 40 ++++++++++++++++++++++++++++++++++++++++ print/pdfmixtool/distinfo | 3 +++ print/pdfmixtool/pkg-descr | 12 ++++++++++++ print/pdfmixtool/pkg-plist | 8 ++++++++ 5 files changed, 64 insertions(+) diff --git a/print/Makefile b/print/Makefile index b2165ccc23f6..6885e6bb6463 100644 --- a/print/Makefile +++ b/print/Makefile @@ -147,6 +147,7 @@ SUBDIR += pdfchain SUBDIR += pdflib SUBDIR += pdflib-perl + SUBDIR += pdfmixtool SUBDIR += pdfstitch SUBDIR += pdftk SUBDIR += pear-File_PDF diff --git a/print/pdfmixtool/Makefile b/print/pdfmixtool/Makefile new file mode 100644 index 000000000000..9173e536f3b9 --- /dev/null +++ b/print/pdfmixtool/Makefile @@ -0,0 +1,40 @@ +PORTNAME= pdfmixtool +DISTVERSION= 1.1.1 +CATEGORIES= print graphics editors +PKGNAMESUFFIX= -${FLAVOR} + +MAINTAINER= dev@submerge.ch +COMMENT= Application to split, merge, rotate and mix PDF files +WWW= https://www.scarpetta.eu/pdfmixtool/ + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/LICENSE + +LIB_DEPENDS= libqpdf.so:print/qpdf +qt6_BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers + +FLAVORS= qt5 qt6 +FLAVOR?= ${FLAVORS:[1]} + +USES= cmake compiler:c++11-lang desktop-file-utils magick pkgconfig + +.if ${FLAVOR} == qt5 +USES+= qt:5 +USE_QT= buildtools:build core gui linguisttools:build qmake:build \ + svg widgets xml +.elif ${FLAVOR} == qt6 +USES+= gl qt:6 +USE_GL= gl opengl +USE_QT= base tools:build svg +CMAKE_ARGS+= -DQT_VERSION=6 +.endif + +USE_GITLAB= yes +GL_ACCOUNT= scarpetta +GL_COMMIT= 35d482029881d9904c6e7487fe7572a3a5795406 + +LDFLAGS+= -L${LOCALBASE}/lib + +CONFLICTS_INSTALL= pdfmixtool-qt5 pdfmixtool-qt6 + +.include diff --git a/print/pdfmixtool/distinfo b/print/pdfmixtool/distinfo new file mode 100644 index 000000000000..46e6f29df871 --- /dev/null +++ b/print/pdfmixtool/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1668987650 +SHA256 (scarpetta-pdfmixtool-35d482029881d9904c6e7487fe7572a3a5795406_GL0.tar.gz) = ec767369f8d9fb02f320ec9f6044b0fc5bd962dbc45cc7b1be9c69cfa620c2b0 +SIZE (scarpetta-pdfmixtool-35d482029881d9904c6e7487fe7572a3a5795406_GL0.tar.gz) = 174137 diff --git a/print/pdfmixtool/pkg-descr b/print/pdfmixtool/pkg-descr new file mode 100644 index 000000000000..94529e5517b4 --- /dev/null +++ b/print/pdfmixtool/pkg-descr @@ -0,0 +1,12 @@ +PDF Mix Tool is a simple and lightweight application that allows you to perform +common editing operations on PDF files. + +Base operations it can perform are the following: +* Merge two or more files specifying a page set for each of them +* Rotate pages +* Composite more pages onto a single one (N-up) +* Combinations of all of the above + +Besides, it can also mix files alternating their pages, generate booklets, +add white pages to a PDF file, delete pages from a PDF file, extract pages from +a PDF file, edit the PDF document information, extract images from a PDF file. diff --git a/print/pdfmixtool/pkg-plist b/print/pdfmixtool/pkg-plist new file mode 100644 index 000000000000..0a6384174fd4 --- /dev/null +++ b/print/pdfmixtool/pkg-plist @@ -0,0 +1,8 @@ +bin/pdfmixtool +share/applications/eu.scarpetta.PDFMixTool.desktop +share/icons/hicolor/128x128/apps/eu.scarpetta.PDFMixTool.png +share/icons/hicolor/256x256/apps/eu.scarpetta.PDFMixTool.png +share/icons/hicolor/48x48/apps/eu.scarpetta.PDFMixTool.png +share/icons/hicolor/64x64/apps/eu.scarpetta.PDFMixTool.png +share/icons/hicolor/scalable/apps/eu.scarpetta.PDFMixTool.svg +share/metainfo/eu.scarpetta.PDFMixTool.appdata.xml