pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print Build and install pdftocairo, for tex-lwrap.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cce8c9d34c32
branches:  trunk
changeset: 364868:cce8c9d34c32
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jul 06 11:29:59 2017 +0000

description:
Build and install pdftocairo, for tex-lwrap.

Bump PKGREVISION.

diffstat:

 print/poppler-utils/Makefile   |  10 ++++++----
 print/poppler-utils/PLIST      |   4 +++-
 print/poppler/distinfo         |   4 ++--
 print/poppler/patches/patch-ab |  21 +++------------------
 4 files changed, 14 insertions(+), 25 deletions(-)

diffs (134 lines):

diff -r ca124f418df7 -r cce8c9d34c32 print/poppler-utils/Makefile
--- a/print/poppler-utils/Makefile      Thu Jul 06 11:12:14 2017 +0000
+++ b/print/poppler-utils/Makefile      Thu Jul 06 11:29:59 2017 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.32 2014/04/29 07:56:48 wiz Exp $
+# $NetBSD: Makefile,v 1.33 2017/07/06 11:29:59 wiz Exp $
 
 .include "../../print/poppler/Makefile.common"
 
 PKGNAME=               poppler-utils-${POPPLER_VERS}
+PKGREVISION=           1
 COMMENT=               PDF utilities (from poppler)
 MAINTAINER=            reed%reedmedia.net@localhost
 
@@ -13,8 +14,6 @@
 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.
@@ -29,7 +28,9 @@
 BUILDLINK_API_DEPENDS.poppler+=     poppler>=${POPPLER_VERS}
 .include "../../print/poppler/buildlink3.mk"
 
-BUILD_DIRS=            utils # implies INSTALL_DIRS too
+# needed to build libpoppler-cairo
+BUILD_DIRS=            fofi goo poppler utils
+INSTALL_DIRS=          utils
 
 .include "../../mk/bsd.prefs.mk"
 
@@ -41,6 +42,7 @@
 .endif
 MAKE_ENV+=             PTHREAD_STUBLIB=${PTHREAD_STUBLIB}
 
+.include "../../graphics/cairo/buildlink3.mk"
 .include "../../mk/jpeg.buildlink3.mk"
 .include "../../graphics/png/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r ca124f418df7 -r cce8c9d34c32 print/poppler-utils/PLIST
--- a/print/poppler-utils/PLIST Thu Jul 06 11:12:14 2017 +0000
+++ b/print/poppler-utils/PLIST Thu Jul 06 11:29:59 2017 +0000
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.2 2012/07/04 20:26:58 drochner Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/07/06 11:29:59 wiz Exp $
 bin/pdfdetach
 bin/pdffonts
 bin/pdfimages
 bin/pdfinfo
 bin/pdfseparate
+bin/pdftocairo
 bin/pdftohtml
 bin/pdftoppm
 bin/pdftops
@@ -14,6 +15,7 @@
 man/man1/pdfimages.1
 man/man1/pdfinfo.1
 man/man1/pdfseparate.1
+man/man1/pdftocairo.1
 man/man1/pdftohtml.1
 man/man1/pdftoppm.1
 man/man1/pdftops.1
diff -r ca124f418df7 -r cce8c9d34c32 print/poppler/distinfo
--- a/print/poppler/distinfo    Thu Jul 06 11:12:14 2017 +0000
+++ b/print/poppler/distinfo    Thu Jul 06 11:29:59 2017 +0000
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.115 2017/05/22 08:40:10 adam Exp $
+$NetBSD: distinfo,v 1.116 2017/07/06 11:29:59 wiz Exp $
 
 SHA1 (poppler-0.55.0.tar.xz) = 19f8a6b2a5f292c7837ba38d3948ef01c14ca36f
 RMD160 (poppler-0.55.0.tar.xz) = c2c541521a14188d3d882b478d639350b0934252
 SHA512 (poppler-0.55.0.tar.xz) = ea3008f2945da862236fcc64d320367e04e3c71d4cc5e996e0c50ac49457e5e42eb06af92486fe7f15c04f07a88367f5344f8dc76549c57c4a19e2fbb60f55d6
 Size (poppler-0.55.0.tar.xz) = 1700440 bytes
 SHA1 (patch-aa) = f97ea3f4d381c189fc81552d91a50cd62bd0c1a1
-SHA1 (patch-ab) = 791c4ffd9488d5c261398cabe323d6c112b3744e
+SHA1 (patch-ab) = ad0ec112c33ac730d281dc392faeb9a842175950
 SHA1 (patch-ag) = d4df4fdf141186e1cc653bb467b31b3335d733ff
 SHA1 (patch-aq) = da845661ef7f7aca3072dbeebde0444b4d8f01aa
 SHA1 (patch-ar) = b064ff2dc9080ff5f1a1361e7798480ace11f3a3
diff -r ca124f418df7 -r cce8c9d34c32 print/poppler/patches/patch-ab
--- a/print/poppler/patches/patch-ab    Thu Jul 06 11:12:14 2017 +0000
+++ b/print/poppler/patches/patch-ab    Thu Jul 06 11:29:59 2017 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-ab,v 1.20 2016/05/22 18:17:17 wiz Exp $
+$NetBSD: patch-ab,v 1.21 2017/07/06 11:29:59 wiz Exp $
 
 Use installed poppler library so we can have a separate poppler-utils
 package.
 
 Always build pdftoppm.
 
---- utils/Makefile.in.orig     2016-05-21 16:59:39.000000000 +0000
+--- utils/Makefile.in.orig     2017-05-21 21:19:46.000000000 +0000
 +++ utils/Makefile.in
 @@ -96,10 +96,10 @@ host_triplet = @host@
  @BUILD_UTILS_TRUE@    pdfunite$(EXEEXT) $(am__EXEEXT_1) \
@@ -31,7 +31,7 @@
  @BUILD_CAIRO_OUTPUT_TRUE@@BUILD_UTILS_TRUE@am__EXEEXT_3 = pdftocairo$(EXEEXT)
  am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)"
  PROGRAMS = $(bin_PROGRAMS)
-@@ -138,44 +138,44 @@ am_pdfdetach_OBJECTS = pdfdetach.$(OBJEX
+@@ -138,39 +138,39 @@ am_pdfdetach_OBJECTS = pdfdetach.$(OBJEX
  pdfdetach_OBJECTS = $(am_pdfdetach_OBJECTS)
  pdfdetach_LDADD = $(LDADD)
  pdfdetach_DEPENDENCIES = libparseargs.la \
@@ -78,12 +78,6 @@
  am__DEPENDENCIES_2 =
  @BUILD_CAIRO_OUTPUT_TRUE@@USE_CMS_TRUE@am__DEPENDENCIES_3 =  \
  @BUILD_CAIRO_OUTPUT_TRUE@@USE_CMS_TRUE@       $(am__DEPENDENCIES_2)
- am__DEPENDENCIES_4 = $(am__DEPENDENCIES_3)
--pdftocairo_DEPENDENCIES = $(top_builddir)/poppler/libpoppler-cairo.la \
-+pdftocairo_DEPENDENCIES = $(prefix)/lib/libpoppler-cairo.la \
-       $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_4) \
-       $(am__DEPENDENCIES_2)
- am_pdftohtml_OBJECTS = pdftohtml-pdftohtml.$(OBJEXT) \
 @@ -184,7 +184,7 @@ am_pdftohtml_OBJECTS = pdftohtml-pdftoht
  pdftohtml_OBJECTS = $(am_pdftohtml_OBJECTS)
  pdftohtml_LDADD = $(LDADD)
@@ -132,12 +126,3 @@
  
  @BUILD_UTILS_TRUE@dist_man1_MANS = pdfdetach.1 pdffonts.1 pdfimages.1 \
  @BUILD_UTILS_TRUE@    pdfinfo.1 pdftops.1 pdftotext.1 pdftohtml.1 \
-@@ -616,7 +617,7 @@ pdftocairo_SOURCES = \
-       pdftocairo-win32.h
- 
- pdftocairo_LDADD = \
--      $(top_builddir)/poppler/libpoppler-cairo.la     \
-+      $(prefix)/lib/libpoppler-cairo.la       \
-       $(LDADD)                                        \
-       $(PDFTOCAIRO_LIBS)                              \
-       $(PTHREAD_LIBS)



Home | Main Index | Thread Index | Old Index