You are not logged in.
I am still using kde3 libs - the latest poppler update requires also an update for poppler-qt3 which is not maintained any more (at least not officially) - would someone be able to supply an updated poppler-qt3 package (I'm on x86_64 here) or a PKGBUILD from the old poppler-qt3-0.12.3 package?
thnxs in advance ...
Last edited by mykey (2010-03-16 21:13:21)
Offline
I think updating poppler-qt3 (alone) will not help. If I am not mistaken the PKGBUILD of the new poppler package lists poppler-qt3 as a conflicting package.
Offline
The conflict is versioned, so if someone builds a poppler-qt3 package with the correct version number you should be able to install it. The conflict was added because poppler-qt3 has a strict versioned dependency on poppler, making the upgrade of poppler impossible in case poppler-qt3 was installed.
Offline
Ah, thanks.
mykey: try to look in /var/abs/extra/poppler-qt3/ for the PKGBUILD.
Offline
@catweazle - thanks but no abs dir here
@JGC - you would not have a PKGBUILD still somewhere by any chance or even the nerve to build a package ![]()
Offline
I believe this is a kdemod issue. You need to wait for kdemod to rebuild the package (or do it yourself).
It won't be found in the official abs.
@mykey, you don't have an abs directory because you need to install abs with pacman then run it as root to rsync it.
![]()
Offline
I don't use kdemod - poppler-qt3 is required by the kdegraphics package - sure - I could try to uninstall that and install some of the nicely separated graphics packages of the chakra-project - will think about it.
@sand_man, I know - I hardly ever use abs so I did not install it - and - you say I won't find the package there anyways ...
Offline
poppler-qt3 is required by the kdegraphics package
Then update your system. Nothing in Arch requires poppler-qt3
Offline
I don't use kdemod - poppler-qt3 is required by the kdegraphics package - sure - I could try to uninstall that and install some of the nicely separated graphics packages of the chakra-project - will think about it.
@sand_man, I know - I hardly ever use abs so I did not install it - and - you say I won't find the package there anyways ...
Sorry I was wrong about the kdemod thing but as Allan said, the package you are using is not in the official repos which is why you cannot update.
![]()
Offline
mykey,
Below are a PKGBUILD and a patch file that worked for me. Save the patch file as poppler-0.12-bindings.patch in the same directory as the PKGBUILD and do a "makepkg". The cut and paste to copy the patch file will probably result in an error of the md5sum check. If so, just run your own md5sum on the patch file and replace the one in the PKGBUILD. Good luck!
# $Id: PKGBUILD 22393 2008-12-26 17:01:50Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# 2010-03-11 Modified by catweazle for poppler 0.12.4
pkgname=poppler-qt3
pkgver=0.12.4
pkgrel=1
pkgdesc="Poppler Qt3 bindings"
arch=(i686 x86_64)
license=('GPL')
depends=('qt3>=3.3.8' "poppler>=${pkgver}")
makedepends=('pkgconfig')
options=('!libtool')
url="http://poppler.freedesktop.org/"
source=(http://poppler.freedesktop.org/poppler-${pkgver}.tar.gz
poppler-0.12-bindings.patch)
md5sums=('4155346f9369b192569ce9184ff73e43'
'115ee5c88289dba3b7d0883fe21ea05d')
build() {
. /etc/profile.d/qt3.sh
cd "${srcdir}/poppler-${pkgver}"
patch -Np2 -i ../poppler-0.12-bindings.patch || return 1
libtoolize --force --copy || return 1
AT_M4DIR="m4" autoreconf -i || return 1
./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="${pkgdir}" install || return 1
}--- src/poppler-0.12.4/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ Makefile.am 2010-03-11 19:57:14.000000000 -0500
@@ -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)
--- src/poppler-0.12.4/glib/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ glib_Makefile.am 2010-03-11 19:59:49.000000000 -0500
@@ -76,7 +76,7 @@
poppler-private.h
libpoppler_glib_la_LIBADD = \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
$(POPPLER_GLIB_LIBS) \
$(GDK_LIBS) \
$(FREETYPE_LIBS) \
@@ -92,7 +92,7 @@
test-poppler-glib.cc
test_poppler_glib_LDADD = \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
libpoppler-glib.la \
$(POPPLER_GLIB_LIBS) \
$(GDK_LIBS) \
--- src/poppler-0.12.4/glib/demo/Makefile.am 2010-01-16 19:06:58.000000000 -0500
+++ glib_demo_Makefile.am 2010-03-11 20:02:09.000000000 -0500
@@ -47,5 +47,5 @@
LDADD = \
$(top_builddir)/glib/libpoppler-glib.la \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
$(GTK_TEST_LIBS)
--- src/poppler-0.12.4/glib/reference/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ glib_reference_Makefile.am 2010-03-11 20:04:04.000000000 -0500
@@ -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) \
--- src/poppler-0.12.4/qt/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ qt_Makefile.am 2010-03-11 20:06:01.000000000 -0500
@@ -25,7 +25,7 @@
poppler-private.h
libpoppler_qt_la_LIBADD = \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
$(POPPLER_QT_LIBS) \
$(FREETYPE_LIBS) \
$(FONTCONFIG_LIBS)
@@ -42,7 +42,7 @@
test-poppler-qt.cpp
test_poppler_qt_LDADD = \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
libpoppler-qt.la \
$(POPPLER_QT_LIBS) \
$(FREETYPE_LIBS)
--- src/poppler-0.12.4/qt4/demos/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ qt4_demos_Makefile.am 2010-03-11 20:07:14.000000000 -0500
@@ -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)
--- src/poppler-0.12.4/qt4/src/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ qt4_src_Makefile.am 2010-03-11 20:08:39.000000000 -0500
@@ -52,7 +52,7 @@
poppler-private.h
libpoppler_qt4_la_LIBADD = \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
$(FONTCONFIG_LIBS) \
$(POPPLER_QT4_LIBS)
--- src/poppler-0.12.4/qt4/tests/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ qt4_tests_Makefile.am 2010-03-11 20:09:21.000000000 -0500
@@ -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)
--- src/poppler-0.12.4/test/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ test_Makefile.am 2010-03-11 20:12:25.000000000 -0500
@@ -53,14 +53,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) \
@@ -71,7 +71,7 @@
pdf_inspector_LDADD = \
$(top_builddir)/poppler/libpoppler-cairo.la \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
$(CAIRO_LIBS) \
$(FREETYPE_LIBS) \
$(GTK_TEST_LIBS) \
@@ -82,7 +82,7 @@
perf-test-preview-dummy.cc
perf_test_LDADD = \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
$(FREETYPE_LIBS) \
$(X_EXTRA_LIBS)
@@ -90,7 +90,7 @@
pdf-fullrewrite.cc
pdf_fullrewrite_LDADD = \
- $(top_builddir)/poppler/libpoppler.la
+ -lpoppler
EXTRA_DIST = \
pdf-operators.c \
--- src/poppler-0.12.4/utils/Makefile.am 2010-01-16 19:06:57.000000000 -0500
+++ utils_Makefile.am 2010-03-11 20:13:40.000000000 -0500
@@ -20,7 +20,7 @@
$(ABIWORD_CFLAGS)
LDADD = \
- $(top_builddir)/poppler/libpoppler.la \
+ -lpoppler \
$(UTILS_LIBS) \
$(FONTCONFIG_LIBS)Last edited by catweazle (2010-03-12 02:20:30)
Offline
Then update your system. Nothing in Arch requires poppler-qt3
oh well allan ... aren't you so right ![]()
@catweazle: thanks a lot for the effort - but - I get the following error
==> Starting build()...
patching file Makefile.am
Hunk #1 succeeded at 29 with fuzz 2.
Hunk #2 FAILED at 40.
1 out of 2 hunks FAILED -- saving rejects to file Makefile.am.rej
patching file glib/Makefile.am
Hunk #1 FAILED at 76.
Hunk #2 FAILED at 92.
2 out of 2 hunks FAILED -- saving rejects to file glib/Makefile.am.rej
patching file glib/demo/Makefile.am
Hunk #1 FAILED at 47.
1 out of 1 hunk FAILED -- saving rejects to file glib/demo/Makefile.am.rej
patching file glib/reference/Makefile.am
Hunk #1 FAILED at 73.
1 out of 1 hunk FAILED -- saving rejects to file glib/reference/Makefile.am.rej
patching file qt/Makefile.am
Hunk #1 FAILED at 25.
Hunk #2 FAILED at 42.
2 out of 2 hunks FAILED -- saving rejects to file qt/Makefile.am.rej
patching file qt4/demos/Makefile.am
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file qt4/demos/Makefile.am.rej
patching file qt4/src/Makefile.am
Hunk #1 FAILED at 52.
1 out of 1 hunk FAILED -- saving rejects to file qt4/src/Makefile.am.rej
patching file qt4/tests/Makefile.am
Hunk #1 FAILED at 7.
1 out of 1 hunk FAILED -- saving rejects to file qt4/tests/Makefile.am.rej
patching file test/Makefile.am
Hunk #1 FAILED at 53.
Hunk #2 FAILED at 71.
Hunk #3 FAILED at 82.
Hunk #4 FAILED at 90.
4 out of 4 hunks FAILED -- saving rejects to file test/Makefile.am.rej
patching file utils/Makefile.am
Hunk #1 FAILED at 20.
1 out of 1 hunk FAILED -- saving rejects to file utils/Makefile.am.rej
==> ERROR: Build Failed.
Aborting...... and do not really know what that means ...
Offline
mykey,
I will check it out to see if I can reproduce the problem.
In the meantime, here is something you could try. When I worked on the PKGBUILD I discovered something very interesting. In my case kdemod3-kdegraphics-kpdf was the only package depending on poppler-qt3. I forced a removal of poppler-qt3 (pacman -Rd poppler-qt3). To my surprise kpdf still worked. I got curious and did a "ldd /opt/kde/bin/kpdf". No libpoppler shared objects were listed. It makes me wonder if poppler has been linked in statically and the dependency on poppler-qt3 is not real. If you still have the old poppler-qt3 package in your pacman cache (to be on the safe side) you could try to force a removal of poppler-qt3 and see if things still work.
Offline
The problem is in the patch file. The cut and paste seems to have harmed it. I have uploaded the PKGBUILD and patch file to the AUR.
Offline
That worked like a charm - your help is much appreciated here - thank you ![]()
Offline