summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-29 14:27:50 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-29 14:27:50 +0200
commit7e5844cfd7741ded274cf76a8a0868e4da55e9f7 (patch)
treebe8b9f512fe5c215c660654a566fba91920ef0b4
parentee98a16328919c27bc31c74903afc6df751fda9e (diff)
downloadnutyx-pakxe-7e5844cfd7741ded274cf76a8a0868e4da55e9f7.tar.gz
nutyx-pakxe-7e5844cfd7741ded274cf76a8a0868e4da55e9f7.tar.bz2
nutyx-pakxe-7e5844cfd7741ded274cf76a8a0868e4da55e9f7.tar.xz
nutyx-pakxe-7e5844cfd7741ded274cf76a8a0868e4da55e9f7.zip
Ajout de poppler-glib#0.10.7-1
-rw-r--r--extra/poppler-glib/.footprint41
-rw-r--r--extra/poppler-glib/.md5sum2
-rwxr-xr-xextra/poppler-glib/Pkgfile32
-rw-r--r--extra/poppler-glib/poppler-0.10-bindings.patch181
4 files changed, 256 insertions, 0 deletions
diff --git a/extra/poppler-glib/.footprint b/extra/poppler-glib/.footprint
new file mode 100644
index 000000000..6a0bfe2b9
--- /dev/null
+++ b/extra/poppler-glib/.footprint
@@ -0,0 +1,41 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+drwxr-xr-x root/root usr/include/poppler/
+drwxr-xr-x root/root usr/include/poppler/glib/
+-rw-r--r-- root/root usr/include/poppler/glib/poppler-action.h
+-rw-r--r-- root/root usr/include/poppler/glib/poppler-annot.h
+-rw-r--r-- root/root usr/include/poppler/glib/poppler-attachment.h
+-rw-r--r-- root/root usr/include/poppler/glib/poppler-document.h
+-rw-r--r-- root/root usr/include/poppler/glib/poppler-enums.h
+-rw-r--r-- root/root usr/include/poppler/glib/poppler-features.h
+-rw-r--r-- root/root usr/include/poppler/glib/poppler-form-field.h
+-rw-r--r-- root/root usr/include/poppler/glib/poppler-page.h
+-rw-r--r-- root/root usr/include/poppler/glib/poppler.h
+drwxr-xr-x root/root usr/lib/
+-rwxr-xr-x root/root usr/lib/libpoppler-glib.la
+lrwxrwxrwx root/root usr/lib/libpoppler-glib.so -> libpoppler-glib.so.4.0.0
+lrwxrwxrwx root/root usr/lib/libpoppler-glib.so.4 -> libpoppler-glib.so.4.0.0
+-rwxr-xr-x root/root usr/lib/libpoppler-glib.so.4.0.0
+drwxr-xr-x root/root usr/lib/pkgconfig/
+-rw-r--r-- root/root usr/lib/pkgconfig/poppler-glib.pc
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/gtk-doc/
+drwxr-xr-x root/root usr/share/gtk-doc/html/
+drwxr-xr-x root/root usr/share/gtk-doc/html/poppler/
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/ch01.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/home.png
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/index.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/index.sgml
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/left.png
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler-poppler-action.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler-poppler-attachment.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler-poppler-document.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler-poppler-enums.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler-poppler-form-field.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler-poppler-page.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler-poppler.html
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler.devhelp
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/poppler.devhelp2
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/right.png
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/style.css
+-rw-r--r-- root/root usr/share/gtk-doc/html/poppler/up.png
diff --git a/extra/poppler-glib/.md5sum b/extra/poppler-glib/.md5sum
new file mode 100644
index 000000000..ff079b6b9
--- /dev/null
+++ b/extra/poppler-glib/.md5sum
@@ -0,0 +1,2 @@
+3f828a8372687c6c0ca88925ff4f5036 poppler-0.10-bindings.patch
+ba120e49a82567d85d00e159011ebe67 poppler-0.10.7.tar.gz
diff --git a/extra/poppler-glib/Pkgfile b/extra/poppler-glib/Pkgfile
new file mode 100755
index 000000000..df0a5d563
--- /dev/null
+++ b/extra/poppler-glib/Pkgfile
@@ -0,0 +1,32 @@
+# Description: Contient une librairie pour le rendu des fichiers pdf
+# URL: http://poppler.freedesktop.org/
+# Maintainer: NuTyX core team
+# Packager: thierryn1 at hispeed dot ch
+# Depends on: gtk, poppler
+
+name=poppler-glib
+version=0.10.7
+release=1
+source=(http://poppler.freedesktop.org/poppler-$version.tar.gz \
+ poppler-0.10-bindings.patch)
+
+build() {
+ cd poppler-$version
+ patch -Np1 -i ../poppler-0.10-bindings.patch
+ libtoolize --force --copy
+ AT_M4DIR="m4" autoreconf -i
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --localstatedir=/var --disable-static \
+ --enable-zlib \
+ --enable-libjpeg \
+ --enable-cairo-output \
+ --enable-poppler-qt4 \
+ --enable-poppler-glib \
+ --disable-poppler-qt4 \
+ --disable-poppler-qt
+ pushd poppler
+ make libpoppler-cairo.la
+ popd
+ make
+ make prefix=$PKG/usr install
+}
diff --git a/extra/poppler-glib/poppler-0.10-bindings.patch b/extra/poppler-glib/poppler-0.10-bindings.patch
new file mode 100644
index 000000000..e44a262c0
--- /dev/null
+++ b/extra/poppler-glib/poppler-0.10-bindings.patch
@@ -0,0 +1,181 @@
+diff -ruN poppler-0.10.0/Makefile.am poppler-0.10.0-bindings/Makefile.am
+--- poppler-0.10.0/Makefile.am 2008-09-09 23:46:50.000000000 +0200
++++ poppler-0.10.0-bindings/Makefile.am 2008-11-08 00:03:17.000000000 +0100
+@@ -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 -ruN poppler-0.10.0/glib/Makefile.am poppler-0.10.0-bindings/glib/Makefile.am
+--- poppler-0.10.0/glib/Makefile.am 2008-09-27 17:21:45.000000000 +0200
++++ poppler-0.10.0-bindings/glib/Makefile.am 2008-11-08 00:03:17.000000000 +0100
+@@ -87,7 +87,7 @@
+ poppler-private.h
+
+ libpoppler_glib_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(POPPLER_GLIB_LIBS) \
+ $(GDK_LIBS) \
+ $(FREETYPE_LIBS) \
+@@ -103,7 +103,7 @@
+ test-poppler-glib.cc
+
+ test_poppler_glib_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ libpoppler-glib.la \
+ $(POPPLER_GLIB_LIBS) \
+ $(GDK_LIBS) \
+diff -ruN poppler-0.10.0/glib/demo/Makefile.am poppler-0.10.0-bindings/glib/demo/Makefile.am
+--- poppler-0.10.0/glib/demo/Makefile.am 2008-08-24 18:19:55.000000000 +0200
++++ poppler-0.10.0-bindings/glib/demo/Makefile.am 2008-11-08 00:03:17.000000000 +0100
+@@ -36,5 +36,5 @@
+
+ LDADD = \
+ $(top_builddir)/glib/libpoppler-glib.la \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(GTK_TEST_LIBS)
+diff -ruN poppler-0.10.0/glib/reference/Makefile.am poppler-0.10.0-bindings/glib/reference/Makefile.am
+--- poppler-0.10.0/glib/reference/Makefile.am 2008-07-24 22:45:05.000000000 +0200
++++ poppler-0.10.0-bindings/glib/reference/Makefile.am 2008-11-08 00:03:17.000000000 +0100
+@@ -73,7 +73,7 @@
+ $(GDK_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 -ruN poppler-0.10.0/qt/Makefile.am poppler-0.10.0-bindings/qt/Makefile.am
+--- poppler-0.10.0/qt/Makefile.am 2008-07-24 22:45:05.000000000 +0200
++++ poppler-0.10.0-bindings/qt/Makefile.am 2008-11-08 00:03:17.000000000 +0100
+@@ -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 -ruN poppler-0.10.0/qt4/demos/Makefile.am poppler-0.10.0-bindings/qt4/demos/Makefile.am
+--- poppler-0.10.0/qt4/demos/Makefile.am 2008-07-24 22:45:06.000000000 +0200
++++ poppler-0.10.0-bindings/qt4/demos/Makefile.am 2008-11-08 00:05:09.000000000 +0100
+@@ -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 -ruN poppler-0.10.0/qt4/src/Makefile.am poppler-0.10.0-bindings/qt4/src/Makefile.am
+--- poppler-0.10.0/qt4/src/Makefile.am 2008-09-10 00:02:49.000000000 +0200
++++ poppler-0.10.0-bindings/qt4/src/Makefile.am 2008-11-08 00:03:17.000000000 +0100
+@@ -52,7 +52,7 @@
+ poppler-private.h
+
+ libpoppler_qt4_la_LIBADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(FONTCONFIG_LIBS) \
+ $(POPPLER_QT4_LIBS)
+
+diff -ruN poppler-0.10.0/qt4/tests/Makefile.am poppler-0.10.0-bindings/qt4/tests/Makefile.am
+--- poppler-0.10.0/qt4/tests/Makefile.am 2008-09-05 18:41:33.000000000 +0200
++++ poppler-0.10.0-bindings/qt4/tests/Makefile.am 2008-11-08 00:03:17.000000000 +0100
+@@ -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 -ruN poppler-0.10.0/test/Makefile.am poppler-0.10.0-bindings/test/Makefile.am
+--- poppler-0.10.0/test/Makefile.am 2008-10-06 19:35:46.000000000 +0200
++++ poppler-0.10.0-bindings/test/Makefile.am 2008-11-08 00:05:42.000000000 +0100
+@@ -51,14 +51,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) \
+@@ -69,7 +69,7 @@
+
+ pdf_inspector_LDADD = \
+ $(top_builddir)/poppler/libpoppler-cairo.la \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(CAIRO_LIBS) \
+ $(FREETYPE_LIBS) \
+ $(GTK_TEST_LIBS) \
+@@ -80,7 +80,7 @@
+ perf-test-preview-dummy.cc
+
+ perf_test_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(FREETYPE_LIBS) \
+ $(X_EXTRA_LIBS)
+
+@@ -88,7 +88,7 @@
+ pdf-fullrewrite.cc
+
+ pdf_fullrewrite_LDADD = \
+- $(top_builddir)/poppler/libpoppler.la
++ -lpoppler
+
+ EXTRA_DIST = \
+ pdf-operators.c \
+diff -ruN poppler-0.10.0/utils/Makefile.am poppler-0.10.0-bindings/utils/Makefile.am
+--- poppler-0.10.0/utils/Makefile.am 2008-09-09 20:55:24.000000000 +0200
++++ poppler-0.10.0-bindings/utils/Makefile.am 2008-11-08 00:03:17.000000000 +0100
+@@ -29,7 +29,7 @@
+ $(ABIWORD_CFLAGS)
+
+ LDADD = \
+- $(top_builddir)/poppler/libpoppler.la \
++ -lpoppler \
+ $(UTILS_LIBS) \
+ $(FONTCONFIG_LIBS)
+