From nobody Tue Aug 08 01:49:05 2023 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 4RKbhL1kkfz4pwwf; Tue, 8 Aug 2023 01:49:06 +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 4RKbhK6ZDCz3D1V; Tue, 8 Aug 2023 01:49:05 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691459345; 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=/XdkGNGcpmObTdzvHd8aekqPNkj5t1GiQW95wTKajKQ=; b=FLHu6Eu7pUJLOF/0LMIB8MAu/RwyrQON+J4WU7BuWwvsmIHKQZKLO2gIpVxKbyLEPPllgA AI4wlIFao2AB2D7A9iSurcu0n0/pL2V4D93PuieRAi6FcF5in8fvP6femMMoe/n/R1vGwu XJY1ZZxL1wy4m4yzCqhmxdVnkVtA4YMDwRr6pZvYqq6Ko6YdrNEIKxrcM2aOkwzbPnLta3 GNCDPnt7Am4wVdhwNYAMePzC3rDH/1FK+P091ou0TtzZJTa3mZUUgUikt+jPXiGArSu91f BPTIzWMCzneyEcCIKnbPYqvlIku8RwWIFWmU/IoDvsaqIk7NCWwRCMT8vdzqOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1691459345; 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=/XdkGNGcpmObTdzvHd8aekqPNkj5t1GiQW95wTKajKQ=; b=EpiWxdR1SmAo/AnJdgCQEFx1q2fQacdBdiuvuDr3shvEtmqifVMNzrENW+qVdKf2kULy1t 4ktlFawHWp3VD43spRnFWBa6PUewRXnA/vEkwd3IxcZOVHT6ITtzC+DMRF2KrSOacbAPuC Az4VhqYuYp6kS5ZJKfL/KW1DbFyltlVwoIHKy7P49k3LPdp5pQedKZpI75HuzGPjMT5KmB OEXEqSZRx4hZzvDo5BhT2x4RWlGJ0XrLFOqH3eN6Yu4Dz6byZtFXtgIIeoEJnBVrNCX5/g y3PhDs590OfKg8oiXqBmyr+NqoBbpCbzBkCs1jWSdx8nr93xkgYgZADtKav1cg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1691459345; a=rsa-sha256; cv=none; b=fyKuYrw4Z6MIicI5bdQHNQi4JpYtwnxBJji0eJuOmp5VXc9fzGTPpqg3cwaIatsC19Qr5i 8DK8GCIG+wXTsNB6OPP3UsCwGB2sMVXKVIKasgrAtGLS4fh3rXu7yKeJsSI5RYFZzdAmGK a8en4ojzxtGoJdBIexT7mEPMSf+gGGzyWGedypcnaHv2xayPmeKxLRtuPj0yStBe6YHfrI JSCg3n0et6ASYPnAOJhSS/AGArGan4eHbwY24nODgrKAeh0FBS//EnaUaj5cZMMP/arKHe zvDOax3OhmcSakNCJNda/6VBACtD+1FUPfJ86hNUCQCJkazNpJ4lBqPQ+/4Lgg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RKbhK5MMrz1Bn; Tue, 8 Aug 2023 01:49:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3781n5In058395; Tue, 8 Aug 2023 01:49:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3781n5TL058394; Tue, 8 Aug 2023 01:49:05 GMT (envelope-from git) Date: Tue, 8 Aug 2023 01:49:05 GMT Message-Id: <202308080149.3781n5TL058394@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 2afbeac18952 - main - graphics/pdfpc: Fix build 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: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 2afbeac189525b12b321756d4ef62187ed3d4457 Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=2afbeac189525b12b321756d4ef62187ed3d4457 commit 2afbeac189525b12b321756d4ef62187ed3d4457 Author: Muhammad Moinur Rahman AuthorDate: 2023-08-08 00:19:17 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-08-08 01:48:37 +0000 graphics/pdfpc: Fix build - Add missing dependencies reported by poudriere testport - Pet port{clippy|fmt} Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- graphics/pdfpc/Makefile | 15 ++++++++---- ...tch-src_classes_drawings_drawing__commands.vala | 27 ++++++++++++++++++++++ 2 files changed, 37 insertions(+), 5 deletions(-) diff --git a/graphics/pdfpc/Makefile b/graphics/pdfpc/Makefile index f07097d2b86c..4fa79dc80003 100644 --- a/graphics/pdfpc/Makefile +++ b/graphics/pdfpc/Makefile @@ -13,14 +13,19 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt BUILD_DEPENDS= ${LOCALBASE}/lib/libmarkdown.a:textproc/discount LIB_DEPENDS= libgee-0.8.so:devel/libgee \ + libharfbuzz.so:print/harfbuzz \ + libjson-glib-1.0.so:devel/json-glib \ + libmarkdown.so:textproc/discount \ libpoppler-glib.so:graphics/poppler-glib \ - libwebkit2gtk-4.0.so:www/webkit2-gtk3 \ - libqrencode.so:graphics/libqrencode + libqrencode.so:graphics/libqrencode \ + libsoup-2.4.so:devel/libsoup \ + libwebkit2gtk-4.0.so:www/webkit2-gtk3 -USE_GITHUB= yes +USES= cmake compiler:c11 gnome gstreamer pkgconfig vala:build xorg +USE_GNOME= cairo gdkpixbuf2 gtk30 +USE_XORG= x11 -USES= cmake compiler:c11 gnome gstreamer pkgconfig vala:build -USE_GNOME= gtk30 +USE_GITHUB= yes CMAKE_ARGS= -DMANDIR:STRING="man/" diff --git a/graphics/pdfpc/files/patch-src_classes_drawings_drawing__commands.vala b/graphics/pdfpc/files/patch-src_classes_drawings_drawing__commands.vala new file mode 100644 index 000000000000..5453aafedfce --- /dev/null +++ b/graphics/pdfpc/files/patch-src_classes_drawings_drawing__commands.vala @@ -0,0 +1,27 @@ +--- src/classes/drawings/drawing_commands.vala.orig 2023-08-08 00:11:53 UTC ++++ src/classes/drawings/drawing_commands.vala +@@ -54,8 +54,8 @@ namespace pdfpc { + } + + public void clear() { +- this.drawing_commands = new List(); +- this.redo_commands = new List(); ++ this.drawing_commands = new List(); ++ this.redo_commands = new List(); + } + + public void add_line(bool is_eraser, +@@ -70,7 +70,7 @@ namespace pdfpc { + + // After adding a new line you can no longer redo the old + // path. +- this.redo_commands = new List(); // clear ++ this.redo_commands = new List(); // clear + + bool new_path = true; + double epsilon = 1e-4; // Less than 0.1 pixel for a 1000x1000 img +@@ -171,4 +171,3 @@ namespace pdfpc { + } + } + } +-