FreeBSD Bugzilla – Attachment 251513 Details for
Bug 279801
[NEW PORT] print/extractpdfmark: Extract page mode and named destinations from PDF
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch adding print/extractpdfmark
0001-print-extractpdfmark-New-port-Extract-page-mode-and-.patch (text/plain), 3.23 KB, created by
Martin Neubauer
on 2024-06-16 21:32:33 UTC
(
hide
)
Description:
patch adding print/extractpdfmark
Filename:
MIME Type:
Creator:
Martin Neubauer
Created:
2024-06-16 21:32:33 UTC
Size:
3.23 KB
patch
obsolete
>From 1a4b36bde119bf97baf7479efa8481f82bae7895 Mon Sep 17 00:00:00 2001 >From: Martin Neubauer <m.ne@gmx.net> >Date: Sun, 16 Jun 2024 23:13:12 +0200 >Subject: [PATCH] print/extractpdfmark: New port: Extract page mode and named > destinations from PDF > >--- > print/Makefile | 1 + > print/extractpdfmark/Makefile | 24 ++++++++++++++++++++++++ > print/extractpdfmark/distinfo | 3 +++ > print/extractpdfmark/pkg-descr | 13 +++++++++++++ > print/extractpdfmark/pkg-plist | 2 ++ > 5 files changed, 43 insertions(+) > create mode 100644 print/extractpdfmark/Makefile > create mode 100644 print/extractpdfmark/distinfo > create mode 100644 print/extractpdfmark/pkg-descr > create mode 100644 print/extractpdfmark/pkg-plist > >diff --git a/print/Makefile b/print/Makefile >index 7e1896fa7452..df789ce48c51 100644 >--- a/print/Makefile >+++ b/print/Makefile >@@ -43,6 +43,7 @@ > SUBDIR += epson-inkjet-printer-escpr > SUBDIR += epson-inkjet-printer-escpr2 > SUBDIR += epsonepl >+ SUBDIR += extractpdfmark > SUBDIR += fig2dev > SUBDIR += flpsed > SUBDIR += font-amsfonts >diff --git a/print/extractpdfmark/Makefile b/print/extractpdfmark/Makefile >new file mode 100644 >index 000000000000..c046ffef7ef3 >--- /dev/null >+++ b/print/extractpdfmark/Makefile >@@ -0,0 +1,24 @@ >+PORTNAME= extractpdfmark >+DISTVERSIONPREFIX= v >+DISTVERSION= 1.1.1 >+CATEGORIES= print >+ >+MAINTAINER= m.ne@gmx.net >+COMMENT= Extract page mode and named destinations as PDFmark from PDF >+WWW= https://github.com/trueroad/extractpdfmark/ >+ >+LICENSE= GPLv3+ >+ >+LIB_DEPENDS= libpoppler-cpp.so:graphics/poppler >+ >+USES= autoreconf gettext-tools pkgconfig >+USE_GITHUB= yes >+GH_ACCOUNT= trueroad >+ >+GNU_CONFIGURE= yes >+CONFIGURE_ARGS= --with-poppler=cpp >+ >+post-patch: >+ @${TOUCH} ${WRKSRC}/config.rpath >+ >+.include <bsd.port.mk> >diff --git a/print/extractpdfmark/distinfo b/print/extractpdfmark/distinfo >new file mode 100644 >index 000000000000..031b5fa68209 >--- /dev/null >+++ b/print/extractpdfmark/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1718533626 >+SHA256 (trueroad-extractpdfmark-v1.1.1_GH0.tar.gz) = 9dab715fdd4ce0c34a3d83899c4263a2ab59f649df0f221d335535d6c9546191 >+SIZE (trueroad-extractpdfmark-v1.1.1_GH0.tar.gz) = 44875 >diff --git a/print/extractpdfmark/pkg-descr b/print/extractpdfmark/pkg-descr >new file mode 100644 >index 000000000000..552a466490c5 >--- /dev/null >+++ b/print/extractpdfmark/pkg-descr >@@ -0,0 +1,13 @@ >+PDFmarks is a technique that accompanies PDF and that is used to >+store metadata such as author or title, but also structural information >+such as bookmarks or hyperlinks. >+ >+When Ghostscript reads the main PDF generated by the TEX system >+with embedded PDF files and outputs the final PDF, the PDF page >+mode and name targets etc. are not preserved. Therefore, when you >+open the final PDF, it is not displayed correctly. Also, remote PDF >+links do not work correctly. >+ >+This program is able to extract the page mode and named targets as >+PDFmark from PDF. In this way, you can obtain embedded PDF files >+that have kept this information. >diff --git a/print/extractpdfmark/pkg-plist b/print/extractpdfmark/pkg-plist >new file mode 100644 >index 000000000000..6c138aae1fa4 >--- /dev/null >+++ b/print/extractpdfmark/pkg-plist >@@ -0,0 +1,2 @@ >+bin/extractpdfmark >+share/man/man1/extractpdfmark.1.gz >-- >2.45.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
m.ne
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 279801
: 251513