pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/print/poppler-utils Split out the tools from the poppl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e45ea521f32
branches:  trunk
changeset: 510652:9e45ea521f32
user:      reed <reed%pkgsrc.org@localhost>
date:      Sat Apr 01 19:11:39 2006 +0000

description:
Split out the tools from the poppler package.

This provides PDF (Portable Document Format) utilities from the
poppler project. Some of these are based on the versions from xpdf.

This poppler-utils package provides:

pdffonts  - lists fonts used in PDF files with details
pdfimages - saves images from a PDF file as PPM, PBM or JPEG
pdfinfo   - prints document information from 'Info' dictionary
pdftohtml - convert PDF files into HTML, XML and PNG images
pdftoppm  - converts PDF files to PPM, PGM, or PBM image files
pdftops   - converts a PDF file to PostScript
pdftotext - converts a PDF file to plain text

diffstat:

 print/poppler-utils/DESCR    |  12 ++++++++++++
 print/poppler-utils/Makefile |  35 +++++++++++++++++++++++++++++++++++
 print/poppler-utils/PLIST    |  15 +++++++++++++++
 3 files changed, 62 insertions(+), 0 deletions(-)

diffs (74 lines):

diff -r b6e8734c18e7 -r 9e45ea521f32 print/poppler-utils/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-utils/DESCR Sat Apr 01 19:11:39 2006 +0000
@@ -0,0 +1,12 @@
+This provides PDF (Portable Document Format) utilities from the
+poppler project. Some of these are based on the versions from xpdf.
+
+This poppler-utils package provides:
+
+pdffonts  - lists fonts used in PDF files with details
+pdfimages - saves images from a PDF file as PPM, PBM or JPEG
+pdfinfo   - prints document information from 'Info' dictionary
+pdftohtml - convert PDF files into HTML, XML and PNG images
+pdftoppm  - converts PDF files to PPM, PGM, or PBM image files
+pdftops   - converts a PDF file to PostScript
+pdftotext - converts a PDF file to plain text
diff -r b6e8734c18e7 -r 9e45ea521f32 print/poppler-utils/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-utils/Makefile      Sat Apr 01 19:11:39 2006 +0000
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/04/01 19:11:39 reed Exp $
+#
+
+.include "../../print/poppler/Makefile.common"
+
+PKGNAME=               poppler-utils-${POPPLER_VERS}
+
+COMMENT=               PDF utilities (from poppler)
+
+CONFLICTS+=            poppler-0.5.1 poppler-0.5.1nb1 poppler-0.5.1nb2
+CONFLICTS+=            xpdf-[0-9]*
+
+GNU_CONFIGURE=         yes
+USE_TOOLS+=            gmake
+
+CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR:Q}
+# Don't build the cairo graphics backend.
+CONFIGURE_ARGS+=       --disable-cairo-output
+# Don't build the splash graphics backend.
+CONFIGURE_ARGS+=       --disable-splash-output
+# Don't compile poppler qt wrapper.
+CONFIGURE_ARGS+=       --disable-poppler-qt
+# Don't compile GTK+ test program.
+CONFIGURE_ARGS+=       --disable-gtk-test
+# Don't compile GLib wrapper which also needs gtk2
+CONFIGURE_ARGS+=       --disable-poppler-glib
+# Enable build and install of the tools
+CONFIGURE_ARGS+=        --enable-utils # the default
+
+BUILD_DIRS=            utils # implies INSTALL_DIRS too
+
+BUILDLINK_DEPENDS.poppler+=     poppler>=${POPPLER_VERS}nb3
+.include "../../print/poppler/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r b6e8734c18e7 -r 9e45ea521f32 print/poppler-utils/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-utils/PLIST Sat Apr 01 19:11:39 2006 +0000
@@ -0,0 +1,15 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/04/01 19:11:39 reed Exp $
+bin/pdffonts
+bin/pdfimages
+bin/pdfinfo
+bin/pdftohtml
+bin/pdftoppm
+bin/pdftops
+bin/pdftotext
+man/man1/pdffonts.1
+man/man1/pdfimages.1
+man/man1/pdfinfo.1
+man/man1/pdftohtml.1
+man/man1/pdftoppm.1
+man/man1/pdftops.1
+man/man1/pdftotext.1



Home | Main Index | Thread Index | Old Index