[arch-commits] CVS update of extra/lib/poppler-qt3 (2 files)
Pierre Schmitz
pierre at archlinux.org
Sat Nov 17 23:11:29 UTC 2007
Date: Saturday, November 17, 2007 @ 18:11:29
Author: pierre
Path: /home/cvs-extra/extra/lib/poppler-qt3
Added: PKGBUILD (1.1) poppler-0.6-bindings.patch (1.1)
upgpkg: poppler-qt3 0.6.1-2
old version supporting qt3
----------------------------+
PKGBUILD | 42 +++++++++++
poppler-0.6-bindings.patch | 153 +++++++++++++++++++++++++++++++++++++++++++
2 files changed, 195 insertions(+)
Index: extra/lib/poppler-qt3/PKGBUILD
diff -u /dev/null extra/lib/poppler-qt3/PKGBUILD:1.1
--- /dev/null Sat Nov 17 18:11:29 2007
+++ extra/lib/poppler-qt3/PKGBUILD Sat Nov 17 18:11:29 2007
@@ -0,0 +1,42 @@
+# $Id: PKGBUILD,v 1.1 2007/11/17 23:11:29 pierre Exp $
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=poppler-qt3
+pkgver=0.6.1
+pkgrel=2
+pkgdesc="Poppler Qt3 bindings"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('qt3>=3.3.8' 'poppler>=0.6.1')
+makedepends=('pkgconfig')
+options=('!libtool')
+url="http://poppler.freedesktop.org/"
+source=(http://poppler.freedesktop.org/poppler-${pkgver}.tar.gz
+ poppler-0.6-bindings.patch)
+md5sums=('78a5f8ff1a3464eddb127577eea7a191'
+ '4255424fcf2c29fe3cae9cb14a671da6')
+
+build() {
+ . /etc/profile.d/qt3.sh
+
+ cd ${startdir}/src/poppler-${pkgver}
+
+ patch -Np1 -i ${startdir}/src/poppler-0.6-bindings.patch || return 1
+
+ AT_M4DIR="m4" autoreconf
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --enable-zlib \
+ --enable-libjpeg \
+ --enable-cairo-output \
+ --enable-poppler-qt \
+ --disable-poppler-glib \
+ --disable-gtk-test \
+ --disable-poppler-qt4
+ sed -i -e 's|^LDFLAGS =|LDFLAGS = -L/opt/qt/lib -lqt-mt|' qt/Makefile
+ pushd poppler || return 1
+ make libpoppler-cairo.la || return 1
+ popd
+ make || return 1
+ make DESTDIR=${startdir}/pkg install || return 1
+}
Index: extra/lib/poppler-qt3/poppler-0.6-bindings.patch
diff -u /dev/null extra/lib/poppler-qt3/poppler-0.6-bindings.patch:1.1
--- /dev/null Sat Nov 17 18:11:29 2007
+++ extra/lib/poppler-qt3/poppler-0.6-bindings.patch Sat Nov 17 18:11:29 2007
@@ -0,0 +1,153 @@
+diff -ur poppler-0.6.orig/glib/demo/Makefile.am poppler-0.6/glib/demo/Makefile.am
+--- poppler-0.6.orig/glib/demo/Makefile.am 2007-09-04 12:40:29.000000000 +0200
++++ poppler-0.6/glib/demo/Makefile.am 2007-09-04 12:40:58.000000000 +0200
+@@ -25,5 +25,5 @@
+
+ LDADD = \
+ $(top_builddir)/glib/libpoppler-glib.la \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(GTK_TEST_LIBS)
+diff -ur poppler-0.6.orig/glib/Makefile.am poppler-0.6/glib/Makefile.am
+--- poppler-0.6.orig/glib/Makefile.am 2007-09-04 12:40:45.000000000 +0200
++++ poppler-0.6/glib/Makefile.am 2007-09-04 12:40:00.000000000 +0200
+@@ -84,7 +84,7 @@
+ poppler-private.h
+
+ libpoppler_glib_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
+ $(FONTCONFIG_LIBS) \
+@@ -98,7 +98,7 @@
+ test-poppler-glib.c
+
+ test_poppler_glib_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ libpoppler-glib.la \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
+Nur in poppler-0.6.orig/glib: Makefile.am.orig.
+diff -ur poppler-0.6.orig/glib/reference/Makefile.am poppler-0.6/glib/reference/Makefile.am
+--- poppler-0.6.orig/glib/reference/Makefile.am 2007-09-04 12:40:29.000000000 +0200
++++ poppler-0.6/glib/reference/Makefile.am 2007-09-04 12:40:58.000000000 +0200
+@@ -72,7 +72,7 @@
+ $(POPPLER_GLIB_CFLAGS) \
+ $(FREETYPE_CFLAGS)
+
+-GTKDOC_LIBS=$(top_builddir)/poppler/libpoppler.la \
++GTKDOC_LIBS=-lpoppler \
+ $(top_builddir)/glib/libpoppler-glib.la \
+ $(POPPLER_GLIB_LIBS) \
+ $(FREETYPE_LIBS) \
+diff -ur poppler-0.6.orig/Makefile.am poppler-0.6/Makefile.am
+--- poppler-0.6.orig/Makefile.am 2007-09-04 12:40:45.000000000 +0200
++++ poppler-0.6/Makefile.am 2007-09-04 12:40:00.000000000 +0200
+@@ -29,7 +29,7 @@
+ utils_subdir = utils
+ endif
+
+-SUBDIRS = goo fofi $(splash_subdir) poppler $(utils_subdir) $(glib_subdir) $(qt_subdir) test $(qt4_subdir)
++SUBDIRS = $(glib_subdir) $(qt_subdir) $(qt4_subdir)
+
+ EXTRA_DIST = \
+ README-XPDF \
+@@ -40,9 +40,6 @@
+
+ pkgconfigdir = $(libdir)/pkgconfig
+ pkgconfig_DATA = \
+- poppler.pc \
+- $(cairo_pc_file) \
+- $(splash_pc_file) \
+ $(glib_pc_file) \
+ $(qt_pc_file) \
+ $(qt4_pc_file)
+diff -ur poppler-0.6.orig/qt/Makefile.am poppler-0.6/qt/Makefile.am
+--- poppler-0.6.orig/qt/Makefile.am 2007-09-04 12:40:45.000000000 +0200
++++ poppler-0.6/qt/Makefile.am 2007-09-04 12:40:00.000000000 +0200
+@@ -24,7 +24,7 @@
+ poppler-private.h
+
+ libpoppler_qt_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_QT_LIBS) \
+ $(FREETYPE_LIBS) \
+ $(FONTCONFIG_LIBS)
+@@ -41,7 +41,7 @@
+ test-poppler-qt.cpp
+
+ test_poppler_qt_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ libpoppler-qt.la \
+ $(POPPLER_QT_LIBS) \
+ $(FREETYPE_LIBS)
+diff -ur poppler-0.6.orig/qt4/src/Makefile.am poppler-0.6/qt4/src/Makefile.am
+--- poppler-0.6.orig/qt4/src/Makefile.am 2007-09-04 12:40:45.000000000 +0200
++++ poppler-0.6/qt4/src/Makefile.am 2007-09-04 12:40:00.000000000 +0200
+@@ -36,7 +36,7 @@
+ poppler-private.h
+
+ libpoppler_qt4_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(FONTCONFIG_LIBS) \
+ $(POPPLER_QT4_LIBS)
+
+Nur in poppler-0.6.orig/qt4/src: Makefile.am.orig.
+diff -ur poppler-0.6.orig/qt4/tests/Makefile.am poppler-0.6/qt4/tests/Makefile.am
+--- poppler-0.6.orig/qt4/tests/Makefile.am 2007-09-04 12:40:45.000000000 +0200
++++ poppler-0.6/qt4/tests/Makefile.am 2007-09-04 12:40:00.000000000 +0200
+@@ -7,7 +7,7 @@
+ $(POPPLER_QT4_CFLAGS)
+
+ LDADDS = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(top_builddir)/qt4/src/libpoppler-qt4.la \
+ $(FONTCONFIG_LIBS) \
+ $(POPPLER_QT4_LIBS)
+diff -ur poppler-0.6.orig/test/Makefile.am poppler-0.6/test/Makefile.am
+--- poppler-0.6.orig/test/Makefile.am 2007-09-04 12:40:29.000000000 +0200
++++ poppler-0.6/test/Makefile.am 2007-09-04 12:40:58.000000000 +0200
+@@ -42,14 +42,14 @@
+ gtk-splash-test.cc
+
+ gtk_splash_test_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(GTK_TEST_LIBS)
+
+ gtk_cairo_test_SOURCES = \
+ gtk-cairo-test.cc
+
+ gtk_cairo_test_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(top_builddir)/glib/libpoppler-glib.la \
+ $(CAIRO_LIBS) \
+ $(GTK_TEST_LIBS) \
+@@ -59,7 +59,7 @@
+ pdf-inspector.cc
+
+ pdf_inspector_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(top_builddir)/poppler/libpoppler-cairo.la \
+ $(CAIRO_LIBS) \
+ $(FREETYPE_LIBS) \
+diff -ur poppler-0.6.orig/utils/Makefile.am poppler-0.6/utils/Makefile.am
+--- poppler-0.6.orig/utils/Makefile.am 2007-09-04 12:40:29.000000000 +0200
++++ poppler-0.6/utils/Makefile.am 2007-09-04 12:40:58.000000000 +0200
+@@ -29,7 +29,7 @@
+ $(ABIWORD_CFLAGS)
+
+ LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(UTILS_LIBS) \
+ $(FONTCONFIG_LIBS)
+
More information about the arch-commits
mailing list