Subject: pkg/33101: update for poppler and evince
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <pancake@phreaker.net>
List: pkgsrc-bugs
Date: 03/18/2006 18:20:00
>Number:         33101
>Category:       pkg
>Synopsis:       This is just an update for evince and poppler/poppler-glib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          support
>Submitter-Id:   net
>Arrival-Date:   Sat Mar 18 18:20:00 +0000 2006
>Originator:     pancake@phreaker.net
>Release:        Linux 2.6.9pl2
>Organization:
	
>Environment:
	
	
System: Linux pl2 2.6.9pl2 #10 Mon Jul 4 04:19:21 CEST 2005 i686 GNU/Linux
Architecture: unknown
Machine: i686
>Description:
	This PR is just an update for evince and poppler. The only problem I
	found is poppler-glib, that patches/patch-aa needs to be fixed:

 - I had to uncomment these lines:
poppler_cairo = libpoppler-cairo.la
cairo_includes = \
        $(CAIRO_CFLAGS)

libpoppler_cairo_la_SOURCES = \
        CairoFontEngine.cc                      \
        CairoFontEngine.h                       \
        CairoOutputDev.cc                       \
        CairoOutputDev.h

And adjust the path to .la files. (no patch attached for this).

Hope to help O:)

	
>How-To-Repeat:
	
>Fix:
	
==> Update for poppler:

Index: Makefile.common
===================================================================
RCS file: /cvsroot/pkgsrc/print/poppler/Makefile.common,v
retrieving revision 1.2
diff -u -r1.2 Makefile.common
--- Makefile.common	15 Feb 2006 18:08:35 -0000	1.2
+++ Makefile.common	18 Mar 2006 18:16:08 -0000
@@ -1,7 +1,7 @@
 # $NetBSD: Makefile.common,v 1.2 2006/02/15 18:08:35 drochner Exp $
 #
 
-POPPLER_VERS=		0.4.5
+POPPLER_VERS=		0.5.1
 DISTNAME=		poppler-${POPPLER_VERS}
 CATEGORIES=		print
 MASTER_SITES=		http://poppler.freedesktop.org/
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/print/poppler/PLIST,v
retrieving revision 1.2
diff -u -r1.2 PLIST
--- PLIST	9 Mar 2006 01:19:16 -0000	1.2
+++ PLIST	18 Mar 2006 18:16:08 -0000
@@ -1,89 +1,21 @@
-@comment $NetBSD: PLIST,v 1.2 2006/03/09 01:19:16 reed Exp $
-include/poppler/Annot.h
-include/poppler/Array.h
-include/poppler/BaseFile.h
-include/poppler/BuiltinFont.h
-include/poppler/BuiltinFontTables.h
-include/poppler/CMap.h
-include/poppler/Catalog.h
-include/poppler/CharCodeToUnicode.h
-include/poppler/CharTypes.h
-include/poppler/CompactFontTables.h
-include/poppler/Decrypt.h
-include/poppler/Dict.h
-include/poppler/Error.h
-include/poppler/ErrorCodes.h
-include/poppler/FontEncodingTables.h
-include/poppler/FontInfo.h
-include/poppler/Function.cc
-include/poppler/Function.h
-include/poppler/Gfx.h
-include/poppler/GfxFont.h
-include/poppler/GfxState.h
-include/poppler/GlobalParams.h
-include/poppler/JArithmeticDecoder.h
-include/poppler/JBIG2Stream.h
-include/poppler/JPXStream.h
-include/poppler/Lexer.h
-include/poppler/Link.h
-include/poppler/NameToCharCode.h
-include/poppler/NameToUnicodeTable.h
-include/poppler/Object.h
-include/poppler/Outline.h
-include/poppler/OutputDev.h
-include/poppler/PDFDoc.h
-include/poppler/PDFDocEncoding.h
-include/poppler/PSOutputDev.h
-include/poppler/PSTokenizer.h
-include/poppler/Page.h
-include/poppler/Parser.h
-include/poppler/SplashOutputDev.h
-include/poppler/Stream-CCITT.h
-include/poppler/Stream.h
-include/poppler/TextOutputDev.h
-include/poppler/UTF8.h
-include/poppler/UnicodeMap.h
-include/poppler/UnicodeMapTables.h
-include/poppler/UnicodeTypeTable.h
-include/poppler/XRef.h
-include/poppler/goo/GooHash.h
-include/poppler/goo/GooList.h
-include/poppler/goo/GooMutex.h
-include/poppler/goo/GooString.h
-include/poppler/goo/GooTimer.h
-include/poppler/goo/gfile.h
-include/poppler/goo/gmem.h
-include/poppler/goo/gtypes.h
-include/poppler/poppler-config.h
-include/poppler/splash/Splash.h
-include/poppler/splash/SplashBitmap.h
-include/poppler/splash/SplashClip.h
-include/poppler/splash/SplashErrorCodes.h
-include/poppler/splash/SplashFTFont.h
-include/poppler/splash/SplashFTFontEngine.h
-include/poppler/splash/SplashFTFontFile.h
-include/poppler/splash/SplashFont.h
-include/poppler/splash/SplashFontEngine.h
-include/poppler/splash/SplashFontFile.h
-include/poppler/splash/SplashFontFileID.h
-include/poppler/splash/SplashGlyphBitmap.h
-include/poppler/splash/SplashMath.h
-include/poppler/splash/SplashPath.h
-include/poppler/splash/SplashPattern.h
-include/poppler/splash/SplashScreen.h
-include/poppler/splash/SplashState.h
-include/poppler/splash/SplashT1Font.h
-include/poppler/splash/SplashT1FontEngine.h
-include/poppler/splash/SplashT1FontFile.h
-include/poppler/splash/SplashTypes.h
-include/poppler/splash/SplashXPath.h
-include/poppler/splash/SplashXPathScanner.h
+@comment $NetBSD$
+bin/pdffonts
+bin/pdfimages
+bin/pdfinfo
+bin/pdftohtml
+bin/pdftoppm
+bin/pdftops
+bin/pdftotext
 lib/libpoppler.la
-lib/pkgconfig/poppler-splash.pc
 lib/pkgconfig/poppler.pc
+lib/pkgconfig/poppler-splash.pc
+man/man1/pdffonts.1
+man/man1/pdfimages.1
+man/man1/pdfinfo.1
+man/man1/pdftohtml.1
+man/man1/pdftoppm.1
+man/man1/pdftops.1
+man/man1/pdftotext.1
 share/doc/poppler/README
 share/doc/poppler/README-XPDF
 @dirrm share/doc/poppler
-@dirrm include/poppler/splash
-@dirrm include/poppler/goo
-@dirrm include/poppler
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/print/poppler/distinfo,v
retrieving revision 1.7
diff -u -r1.7 distinfo
--- distinfo	9 Mar 2006 01:39:09 -0000	1.7
+++ distinfo	18 Mar 2006 18:16:09 -0000
@@ -1,6 +1,6 @@
 $NetBSD: distinfo,v 1.7 2006/03/09 01:39:09 reed Exp $
 
-SHA1 (poppler-0.4.5.tar.gz) = 5c2240c8cbcd8139188287e4c59396b318d548aa
-RMD160 (poppler-0.4.5.tar.gz) = 766cf03d0c731b505496241ce8d2ca867a29ac03
-Size (poppler-0.4.5.tar.gz) = 783752 bytes
+SHA1 (poppler-0.5.1.tar.gz) = 8d654a0f8eb6ad8c8cb08ced24a06f1f5b13c711
+RMD160 (poppler-0.5.1.tar.gz) = ffd39323da0e0c487a6e7de48d8a607385189ddd
+Size (poppler-0.5.1.tar.gz) = 954930 bytes
 SHA1 (patch-aa) = 870c774796fc64410f66f37c7c6f6907fe29c816




==> Update for poppler-glib:

(XXX) TODO: It needs to fix the patches/patch-aa. (I build't by hand, so most work is done for evince and print/poppler)

==> Update for evince:

Index: Makefile
===================================================================
RCS file: /cvsroot/pkgsrc/print/evince/Makefile,v
retrieving revision 1.11
diff -u -r1.11 Makefile
--- Makefile	14 Mar 2006 20:06:09 -0000	1.11
+++ Makefile	18 Mar 2006 18:15:46 -0000
@@ -1,10 +1,9 @@
 # $NetBSD: Makefile,v 1.11 2006/03/14 20:06:09 drochner Exp $
 #
 
-DISTNAME=		evince-0.4.0
-PKGREVISION=		7
+DISTNAME=		evince-0.5.2
 CATEGORIES=		print
-MASTER_SITES=		${MASTER_SITE_GNOME:=sources/evince/0.4/}
+MASTER_SITES=		${MASTER_SITE_GNOME:=sources/evince/0.5/}
 EXTRACT_SUFX=		.tar.bz2
 
 MAINTAINER=		pkgsrc-users@NetBSD.org
Index: PLIST
===================================================================
RCS file: /cvsroot/pkgsrc/print/evince/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST	14 Mar 2006 20:06:09 -0000	1.3
+++ PLIST	18 Mar 2006 18:15:47 -0000
@@ -1,14 +1,20 @@
-@comment $NetBSD: PLIST,v 1.3 2006/03/14 20:06:09 drochner Exp $
+@comment $NetBSD$
 bin/evince
 bin/evince-thumbnailer
+etc/gconf/gconf.xml.defaults/apps/evince/%gconf.xml
+etc/gconf/gconf.xml.defaults/desktop/gnome/thumbnailers/application@pdf/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/apps/evince/%gconf.xml
+etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/thumbnailers/application@pdf/%gconf.xml
 share/applications/evince.desktop
 share/evince/evince-password.glade
 share/evince/evince-properties.glade
 share/evince/evince-toolbar.xml
 share/evince/evince-ui.xml
 share/evince/hand-open.png
-share/gconf/schemas/evince-thumbnailer.schemas
 share/gconf/schemas/evince.schemas
+share/gconf/schemas/evince-thumbnailer.schemas
+share/gnome/help/evince/bg/evince.xml
+share/gnome/help/evince/bg/figures/evince_start_window.png
 share/gnome/help/evince/C/evince.xml
 share/gnome/help/evince/C/figures/evince_start_window.png
 share/gnome/help/evince/C/legal.xml
@@ -16,13 +22,20 @@
 share/gnome/help/evince/el/figures/evince_start_window.png
 share/gnome/help/evince/es/evince.xml
 share/gnome/help/evince/es/figures/evince_start_window.png
+share/gnome/help/evince/nl/evince.xml
+share/gnome/help/evince/nl/figures/evince_start_window.png
+share/gnome/help/evince/ru/evince.xml
+share/gnome/help/evince/ru/figures/evince_start_window.png
 share/gnome/help/evince/sr/evince.xml
 share/gnome/help/evince/sr/figures/evince_start_window.png
 share/gnome/help/evince/uk/evince.xml
 share/gnome/help/evince/uk/figures/evince_start_window.png
+${PKGLOCALEDIR}/locale/be/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/bg/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/bn/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/ca/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/cs/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/cy/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/da/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/de/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/el/LC_MESSAGES/evince.mo
@@ -31,6 +44,7 @@
 ${PKGLOCALEDIR}/locale/es/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/et/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/eu/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/fa/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/fi/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/fr/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/gl/LC_MESSAGES/evince.mo
@@ -38,9 +52,15 @@
 ${PKGLOCALEDIR}/locale/he/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/hi/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/hu/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/id/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/it/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/ja/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/ka/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/ko/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/ku/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/lt/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/lv/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/mk/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/nb/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/ne/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/nl/LC_MESSAGES/evince.mo
@@ -48,22 +68,29 @@
 ${PKGLOCALEDIR}/locale/pa/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/pl/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/pt_BR/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/pt/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/ro/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/ru/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/rw/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/sk/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/sq/LC_MESSAGES/evince.mo
-${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/th/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/wa/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/zh_CN/LC_MESSAGES/evince.mo
+${PKGLOCALEDIR}/locale/zh_HK/LC_MESSAGES/evince.mo
 ${PKGLOCALEDIR}/locale/zh_TW/LC_MESSAGES/evince.mo
+share/omf/evince/evince-bg.omf
 share/omf/evince/evince-C.omf
 share/omf/evince/evince-el.omf
 share/omf/evince/evince-es.omf
+share/omf/evince/evince-nl.omf
+share/omf/evince/evince-ru.omf
 share/omf/evince/evince-sr.omf
 share/omf/evince/evince-uk.omf
 @dirrm share/omf/evince
@@ -72,14 +99,29 @@
 @dirrm share/gnome/help/evince/uk
 @dirrm share/gnome/help/evince/sr/figures
 @dirrm share/gnome/help/evince/sr
+@dirrm share/gnome/help/evince/ru/figures
+@dirrm share/gnome/help/evince/ru
+@dirrm share/gnome/help/evince/nl/figures
+@dirrm share/gnome/help/evince/nl
 @dirrm share/gnome/help/evince/es/figures
 @dirrm share/gnome/help/evince/es
 @dirrm share/gnome/help/evince/el/figures
 @dirrm share/gnome/help/evince/el
 @dirrm share/gnome/help/evince/C/figures
 @dirrm share/gnome/help/evince/C
+@dirrm share/gnome/help/evince/bg/figures
+@dirrm share/gnome/help/evince/bg
 @dirrm share/gnome/help/evince
 @comment in gnome2-dirs: @dirrm share/gnome/help
 @comment in GConf2: @dirrm share/gconf/schemas
 @dirrm share/evince
 @comment in xdg-dirs: @dirrm share/applications
+@dirrm etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/thumbnailers/application@pdf
+@dirrm etc/gconf/gconf.xml.defaults/schemas/desktop/gnome/thumbnailers
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps/evince
+@dirrm etc/gconf/gconf.xml.defaults/schemas/apps
+@dirrm etc/gconf/gconf.xml.defaults/desktop/gnome/thumbnailers/application@pdf
+@dirrm etc/gconf/gconf.xml.defaults/desktop/gnome/thumbnailers
+@dirrm etc/gconf/gconf.xml.defaults/apps/evince
+@dirrm etc/gconf/gconf.xml.defaults/apps
+@dirrm etc/gconf/gconf.xml.defaults
Index: distinfo
===================================================================
RCS file: /cvsroot/pkgsrc/print/evince/distinfo,v
retrieving revision 1.3
diff -u -r1.3 distinfo
--- distinfo	16 Oct 2005 12:24:38 -0000	1.3
+++ distinfo	18 Mar 2006 18:15:48 -0000
@@ -1,5 +1,5 @@
 $NetBSD: distinfo,v 1.3 2005/10/16 12:24:38 jmmv Exp $
 
-SHA1 (evince-0.4.0.tar.bz2) = b143a6a2b257c5b4eb785862967b5a55fba840be
-RMD160 (evince-0.4.0.tar.bz2) = 5ec1ca9286bbcf7955227507f9e3fb7c767a6e61
-Size (evince-0.4.0.tar.bz2) = 891605 bytes
+SHA1 (evince-0.5.2.tar.bz2) = a98ee2cb2cfacf68db62d6072b782750696635a3
+RMD160 (evince-0.5.2.tar.bz2) = 2c56b5c69eeb5ad8ac2322add4e369ce620cb34c
+Size (evince-0.5.2.tar.bz2) = 1000723 bytes

>Unformatted: