Commit Graph

2910 Commits

Author SHA1 Message Date
sdk
d7e9b06839 Add missing run dep. to pdfarranger
OK rsadowksi
2022-10-26 20:41:39 +00:00
landry
2dae0894ae print/weasyprint: update to 57.0.
see https://doc.courtbouillon.org/weasyprint/stable/changelog.html#version-57-0
2022-10-25 16:11:57 +00:00
landry
9b93a5173d print/py-pydyf: update to 0.5.0. 2022-10-25 16:11:23 +00:00
kmos
a8136addce Missing dependency on devel/pango (not declared in pyproject.toml) 2022-10-22 19:48:50 +00:00
ajacoutot
071003db46 Update to epson-inkjet-printer-escpr-1.7.22. 2022-10-21 10:00:04 +00:00
landry
c5e0b3dc9e +{py-fonttools,py-pydyf,weasyprint},python3 2022-10-13 15:55:36 +00:00
landry
d881144d3a Import print/weasyprint 56.1.
WeasyPrint is a smart solution helping web developers to create PDF
documents. It turns simple HTML pages into gorgeous statistical
reports, invoices, tickets..

From a technical point of view, WeasyPrint is a visual rendering engine
for HTML and CSS that can export to PDF. It aims to support web
standards for printing.

It is based on various libraries but not on a full rendering engine
like WebKit or Gecko. The CSS layout engine is written in Python,
designed for pagination, and meant to be easy to hack on.

www: https://weasyprint.org/

ok sthen@ semarie@
2022-10-13 15:54:59 +00:00
landry
dbe8854755 Import print/py-pydyf 0.3.0.
pydyf is a low-level PDF generator written in Python and based on PDF
specification 1.7.

ok sthen@ semarie@
2022-10-13 15:53:44 +00:00
landry
d40e102322 Import print/py-fonttools 4.37.4.
fontTools is a library for manipulating fonts, written in Python. The
project includes the TTX tool, that can convert TrueType and OpenType
fonts to and from an XML text format, which is also called TTX. It
supports TrueType, OpenType, AFM and to an extent Type 1 and some
Mac-specific formats.

ok sthen@ semarie@
2022-10-13 15:52:41 +00:00
sthen
6fd6fd548c add patch from dvisvgm upstream to unbreak build with ghostscript 10.0.0 2022-10-08 13:44:16 +00:00
sthen
0ec6fa23f4 update to ghostscript-10.0.0, from Volker Schlecht (maintainer) 2022-10-06 15:46:20 +00:00
sthen
67b4fe8f58 update to py3-pikepdf-6.2.0 2022-10-06 11:17:51 +00:00
sthen
7869fa41a4 update to py3-pikepdf-6.1.0 2022-10-05 13:34:30 +00:00
sthen
b6b7e35ce9 +ocrmypdf 2022-10-05 13:34:08 +00:00
sthen
fb02be45c8 import ports/print/ocrmypdf, ok kmos@
OCRmyPDF adds an OCR text layer to scanned PDF files, allowing them to
be searched or copy+pasted.

- Generates a searchable PDF/A file from a regular PDF
- Places OCR text accurately below the image to ease copy / paste
- Keeps the exact resolution of the original embedded images
- When possible, inserts OCR information as a "lossless" operation
  without disrupting any other content
- Optimizes PDF images, often producing files smaller than the input file
- If requested, deskews and/or cleans the image before performing OCR
- Validates input and output files
- Distributes work across all available CPU cores
- Uses Tesseract OCR engine to recognize more than 100 languages
  (use "pkg_info -Q tesseract" to locate language packs to install)
- Keeps your private data private
- Scales properly to handle files with thousands of pages
- Battle-tested on millions of PDFs

ocrmypdf                      # it's a scriptable command line program
   -l eng+fra                 # it supports multiple languages
   --rotate-pages             # it can fix pages that are misrotated
   --deskew                   # it can deskew crooked PDFs!
   --title "My PDF"           # it can change output metadata
   --jobs 4                   # it uses multiple cores by default
   --output-type pdfa         # it produces PDF/A by default
   input_scanned.pdf          # takes PDF input (or images)
   output_searchable.pdf      # produces validated PDF output
2022-10-05 13:33:46 +00:00
ajacoutot
f9a560d2f8 Update to qpdf-11.1.1. 2022-10-03 23:53:51 +00:00
sthen
184ee30920 update to pdfarranger-1.9.1 2022-10-03 22:11:30 +00:00
sthen
23b2024e94 add a comment, pdfarranger often breaks with pikepdf updates 2022-09-19 08:13:13 +00:00
sthen
e95508470c update pdfarranger and add a patch to cope with new pikepdf 2022-09-19 08:05:33 +00:00
tb
9bb47ec868 print/lilypond: ensure that guile2 is used even if guile1 is present.
with/ok kili
2022-09-15 18:53:56 +00:00
ajacoutot
dcb0a0325a Update to qpdf-11.1.0. 2022-09-15 16:17:05 +00:00
ajacoutot
c629e04200 Update to py3-pikepdf-6.0.0pl1.
Unbreak with new qpdf.
2022-09-14 07:29:43 +00:00
ajacoutot
a9bac49a0f Update to qpdf-11.0.0. 2022-09-13 06:51:42 +00:00
kili
fe55eb4428 Update to lilypond-2.22.2. 2022-09-12 06:15:48 +00:00
ajacoutot
9ed778fd58 Remove optional x11/dbus-python dependency as it's now py3 only. 2022-09-10 08:30:33 +00:00
ajacoutot
10cef8ef72 Missed bumps after recent x11/dbus-python pkgpath change. 2022-09-10 08:04:45 +00:00
ajacoutot
4a511156b0 Missing BDEP on print/cups,-libs. 2022-09-02 16:46:30 +00:00
ajacoutot
b97eef269a Update to system-config-printer-1.5.18. 2022-08-31 06:29:07 +00:00
ajacoutot
cbb0f5d328 Use rc_configtest. 2022-08-29 19:27:52 +00:00
matthieu
79a3d01abb Unhook libXp, missed in previous commit. 2022-08-29 18:05:19 +00:00
matthieu
4e01792d3d Remove libXp, no longer used or maintained upstreams.
ok pascal@ (maintainer) kn@
2022-08-29 18:04:21 +00:00
kili
a918d1d3ca Fix for CVE-2022-38171 (similar to the one jasper@ added to xpdf).
(No update to a newer poppler, because it requires C++-17, which grows
tentacles and breaks ports depending on poppler and exiv2 because the
latter still uses auto_ptr)
2022-08-27 20:32:21 +00:00
ajacoutot
bf12ee3d28 Update to system-config-printer-1.5.17. 2022-08-25 07:45:28 +00:00
ajacoutot
70972dc669 Update to cups-filters-1.28.16. 2022-08-25 07:43:10 +00:00
sthen
2975becbfb needs setuptools at build time 2022-08-19 09:11:22 +00:00
sthen
eed574102a Fix ports for newer py3-setuptools; mostly just PLIST regens after some
files were dropped (mostly entry_points.txt) or .egg-info files changed
to directories. Small patches were needed where some other build systems
were calling Python tools to install due to changes in setuptools.
Messy patching needed for games/0ad which bundles a spidermonkey tar of
a specific version and patches it using files in its own distribution.

Been through a bulk on i386, plus I tested a few things separately on
amd64 where fallout from the recent qscintilla update has broken some ports
on !LP64 which was blocking them on i386.
2022-08-18 02:24:48 +00:00
ajacoutot
a9528952f4 Update to epson-inkjet-printer-escpr-1.7.21. 2022-08-12 07:01:33 +00:00
sthen
edbc7a4ddd add comments about printrun and py3 (there are 2.0 RCs available which
support py3, but they require py-wxWidgets 4.x which we don't have yet and
might be a little bit of a rabbit-hole)
2022-08-10 14:12:29 +00:00
ajacoutot
865a35dfeb Update to foo2zjs-20201003. 2022-08-10 09:41:49 +00:00
ajacoutot
66055fc838 Update to cups-pk-helper-0.2.7. 2022-08-10 08:57:19 +00:00
ajacoutot
bbcc922903 Update to epson-inkjet-printer-escpr-1.7.20. 2022-07-19 06:45:46 +00:00
ajacoutot
4b7c02f3e0 tyop 2022-07-12 06:48:35 +00:00
ajacoutot
4e9571bd4f Enable simplified-cups-ppds.
Tweak DESCR.
Reload cups with cups-genppdupdate.
2022-07-12 06:47:07 +00:00
ajacoutot
1c427eed3e Tweak README. 2022-07-12 06:44:05 +00:00
kmos
c95d26d104 Fix build on sparc64 by adding -L${X11BASE}/lib to CONFIGURE_ENV LDFLAGS 2022-07-03 22:45:21 +00:00
ajacoutot
59fddd8e35 Update to epson-inkjet-printer-escpr-1.7.19. 2022-07-01 17:10:49 +00:00
ajacoutot
28a463eaf6 Update to hplip-3.22.6. 2022-06-29 12:02:20 +00:00
benoit
fb0d28061e Update to htmldoc-1.9.16. 2022-06-03 09:24:54 +00:00
kmos
d49a1fcaf6 LIB_DEPENDS-libs needs the same fix as LIB_DEPENDS-main to fix things
on sparc64

ok sthen
2022-06-01 21:00:14 +00:00
sthen
26b2b0fe63 add ${LIB_DEPENDS} to LIB_DEPENDS-main; no change on base-clang, but provides
a path to libestdc++ on ports-gcc (which was provided by gnutls before this
switched to libressl)
2022-05-31 21:28:24 +00:00