pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/print/poppler-glib Import of poppler-glib package.
details: https://anonhg.NetBSD.org/pkgsrc/rev/8c3d0d90152c
branches: trunk
changeset: 509353:8c3d0d90152c
user: reed <reed%pkgsrc.org@localhost>
date: Thu Mar 09 01:13:16 2006 +0000
description:
Import of poppler-glib package.
This provides the "glib" (and GTK2's gdk-pixbuf)
components from the poppler suite.
The poppler package updates will be committed next.
This means that X11 (and GTK) is not needed for the normal poppler.
diffstat:
print/poppler-glib/DESCR | 1 +
print/poppler-glib/Makefile | 33 ++++++++++++++++++++++++++++++
print/poppler-glib/PLIST | 9 ++++++++
print/poppler-glib/buildlink3.mk | 20 ++++++++++++++++++
print/poppler-glib/patches/patch-aa | 40 +++++++++++++++++++++++++++++++++++++
5 files changed, 103 insertions(+), 0 deletions(-)
diffs (123 lines):
diff -r cafa5187595b -r 8c3d0d90152c print/poppler-glib/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-glib/DESCR Thu Mar 09 01:13:16 2006 +0000
@@ -0,0 +1,1 @@
+This is the GLib wrapper for poppler, a PDF rendering library.
diff -r cafa5187595b -r 8c3d0d90152c print/poppler-glib/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-glib/Makefile Thu Mar 09 01:13:16 2006 +0000
@@ -0,0 +1,33 @@
+# $NetBSD: Makefile,v 1.1.1.1 2006/03/09 01:13:16 reed Exp $
+#
+
+.include "../../print/poppler/Makefile.common"
+
+PKGNAME= poppler-glib-${POPPLER_VERS}
+COMMENT= PDF rendering library (GLib wrapper)
+
+GNU_CONFIGURE= yes
+USE_TOOLS+= gmake
+PKGCONFIG_OVERRIDE+= ${WRKSRC}/poppler-glib.pc.in
+
+CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
+# Don't build the cairo graphics backend.
+CONFIGURE_ARGS+= --disable-cairo-output
+# Don't compile poppler qt wrapper.
+CONFIGURE_ARGS+= --disable-poppler-qt
+# Don't compile GTK+ test program.
+CONFIGURE_ARGS+= --disable-gtk-test
+
+do-build:
+ cd ${WRKSRC}/glib && ${SETENV} ${MAKE_ENV} ${GMAKE}
+
+do-install:
+ cd ${WRKSRC}/glib && ${SETENV} ${MAKE_ENV} ${GMAKE} install
+ ${INSTALL_DATA} ${WRKSRC}/poppler-glib.pc ${PREFIX}/lib/pkgconfig
+
+.include "../../devel/glib2/buildlink3.mk"
+BUILDLINK_DEPENDS.poppler+= poppler>=${POPPLER_VERS}
+.include "../../print/poppler/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff -r cafa5187595b -r 8c3d0d90152c print/poppler-glib/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-glib/PLIST Thu Mar 09 01:13:16 2006 +0000
@@ -0,0 +1,9 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2006/03/09 01:13:16 reed Exp $
+include/poppler/glib/poppler-action.h
+include/poppler/glib/poppler-document.h
+include/poppler/glib/poppler-enums.h
+include/poppler/glib/poppler-page.h
+include/poppler/glib/poppler.h
+lib/libpoppler-glib.la
+lib/pkgconfig/poppler-glib.pc
+@dirrm include/poppler/glib
diff -r cafa5187595b -r 8c3d0d90152c print/poppler-glib/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-glib/buildlink3.mk Thu Mar 09 01:13:16 2006 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2006/03/09 01:13:16 reed Exp $
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+POPPLER_GLIB_BUILDLINK3_MK:= ${POPPLER_GLIB_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= poppler-glib
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Npoppler-glib}
+BUILDLINK_PACKAGES+= poppler-glib
+
+.if !empty(POPPLER_GLIB_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.poppler-glib+= poppler-glib>=0.4.5
+BUILDLINK_PKGSRCDIR.poppler-glib?= ../../print/poppler-glib
+.endif # POPPLER_GLIB_BUILDLINK3_MK
+
+.include "../../print/poppler/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff -r cafa5187595b -r 8c3d0d90152c print/poppler-glib/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/print/poppler-glib/patches/patch-aa Thu Mar 09 01:13:16 2006 +0000
@@ -0,0 +1,40 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/03/09 01:13:16 reed Exp $
+
+--- glib/Makefile.in.orig 2006-03-08 16:43:11.000000000 -0800
++++ glib/Makefile.in 2006-03-08 16:47:11.000000000 -0800
+@@ -63,7 +63,7 @@
+ am__DEPENDENCIES_1 =
+ @BUILD_CAIRO_OUTPUT_TRUE@am__DEPENDENCIES_2 = $(am__DEPENDENCIES_1)
+ libpoppler_glib_la_DEPENDENCIES = \
+- $(top_builddir)/poppler/libpoppler.la $(am__DEPENDENCIES_1) \
++ $(prefix)/lib/libpoppler.la $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_2)
+ am__objects_1 = poppler-enums.lo
+ am_libpoppler_glib_la_OBJECTS = $(am__objects_1) poppler-action.lo \
+@@ -73,7 +73,7 @@
+ am_test_poppler_glib_OBJECTS = test-poppler-glib.$(OBJEXT)
+ test_poppler_glib_OBJECTS = $(am_test_poppler_glib_OBJECTS)
+ test_poppler_glib_DEPENDENCIES = \
+- $(top_builddir)/poppler/libpoppler.la libpoppler-glib.la \
++ $(prefix)/lib/libpoppler.la libpoppler-glib.la \
+ $(am__DEPENDENCIES_1) $(am__DEPENDENCIES_1) \
+ $(am__DEPENDENCIES_2)
+ DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir) -I$(top_builddir)/poppler
+@@ -277,7 +277,7 @@
+ poppler-private.h
+
+ libpoppler_glib_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ $(prefix)/lib/libpoppler.la \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
+ $(cairo_libs)
+@@ -286,7 +286,7 @@
+ test-poppler-glib.c
+
+ test_poppler_glib_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ $(prefix)/lib/libpoppler.la \
+ libpoppler-glib.la \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
Home |
Main Index |
Thread Index |
Old Index