Update to 2.20.2 (lots of bugfixes and required due to the poppler

update).

Based on an update to 0.9.* from Mikolaj Kucharski several months ago.

Note that this doesn not include the no_libgnome FLAVOR suggested by
Mikolaj, because it saves much less dependencies and space than it did
for the 0.9.* version.

ok landry@
This commit is contained in:
kili 2007-12-07 20:00:40 +00:00
parent 4daab47c77
commit 026e1a37e6
4 changed files with 84 additions and 45 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.8 2007/10/01 11:42:30 steven Exp $
# $OpenBSD: Makefile,v 1.9 2007/12/07 20:00:40 kili Exp $
COMMENT= document viewer for multiple document formats
DISTNAME= evince-0.8.1
PKGNAME= ${DISTNAME}p0
V= 2.20.2
DISTNAME= evince-$V
CATEGORIES= graphics print
HOMEPAGE= http://www.gnome.org/projects/evince/
@ -14,47 +14,54 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evince/0.8/}
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evince/${V:C,\.[0-9]*$,,}/}
MODULES= devel/gettext
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
BUILD_DEPENDS= :ghostscript-*:print/ghostscript/gnu \
:gnome-doc-utils-*:x11/gnome/doc-utils \
:ghostscript-*:print/ghostscript/gnu \
::print/texlive/base
LIB_DEPENDS= poppler.>=1,poppler-glib.>=1::print/poppler \
gnomeui-2::x11/gnome/libgnomeui \
gnomeprintui-2-2::x11/gnome/libgnomeprintui \
:p5-XML-Parser-*:textproc/p5-XML-Parser
LIB_DEPENDS= audiofile::devel/libaudiofile \
djvulibre::graphics/djvulibre \
esd.>=2::audio/esound \
audiofile::devel/libaudiofile
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
:ghostscript-*:print/ghostscript/gnu \
::print/texlive/base \
gnome-keyring.>=2::x11/gnome/keyring \
gnomeprintui-2-2::x11/gnome/libgnomeprintui \
gnomeui-2.>=2000::x11/gnome/libgnomeui \
gnomevfs-2.>=2000::x11/gnome/vfs2 \
kpathsea::print/texlive/base \
poppler.>=3,poppler-glib.>=3::print/poppler
RUN_DEPENDS= :ghostscript-*:print/ghostscript/gnu \
:scrollkeeper-*:textproc/scrollkeeper \
:shared-mime-info-*:misc/shared-mime-info
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcursor \
Xdmcp Xext Xfixes Xi Xinerama Xrandr Xrender \
art_lgpl_2 atk-1.0 bonobo-2 bonobo-activation bonoboui-2 \
c cairo crypto dbus-1 dbus-glib-1 expat fontconfig \
freetype gconf-2 gdk-x11-2.0 gdk_pixbuf-2.0 glade-2.0 \
glib-2.0 glitz gmodule-2.0 gnome-2 gnome-keyring \
gnomecanvas-2 gnomeprint-2-2 gnomevfs-2 gobject-2.0 \
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender art_lgpl_2 atk-1.0 bonobo-2 bonobo-activation \
bonoboui-2 c cairo crypto dbus-1 dbus-glib-1 expat \
fontconfig freetype gailutil gconf-2 gdk-x11-2.0 \
gdk_pixbuf-2.0 glade-2.0 glib-2.0 glitz gmodule-2.0 \
gnome-2 gnomecanvas-2 gnomeprint-2-2 gobject-2.0 \
gthread-2.0 gtk-x11-2.0 jpeg m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 png popt pthread ssl tiff util xml2 z
pangoft2-1.0 pcre png popt pthread ssl tiff util xml2 z
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/evince/ \
CONFIGURE_ARGS= --disable-nautilus \
--disable-schemas-install \
--disable-nautilus \
--disable-gnome-print \
--disable-scrollkeeper \
--enable-djvu \
--enable-dvi \
--enable-pixbuf \
--enable-dvi
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/evince/ \
--with-print=gtk
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
USE_LIBTOOL= Yes
USE_X11= Yes
USE_GMAKE= Yes
NO_REGRESS= Yes
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update

View File

@ -1,5 +1,5 @@
MD5 (evince-0.8.1.tar.gz) = GzP+lk6CqWgfyb8Itpa15g==
RMD160 (evince-0.8.1.tar.gz) = yzx9XAl8A1miAQIFQfyZvEavyO0=
SHA1 (evince-0.8.1.tar.gz) = TRtcy+J2YgxPFkW7kOQGPX7Si8M=
SHA256 (evince-0.8.1.tar.gz) = DwcOCzHeRsTJp49i4qOZbLX1L1zTyqETvFuVdEWuGw4=
SIZE (evince-0.8.1.tar.gz) = 2150808
MD5 (evince-2.20.2.tar.gz) = 17R0a6whJ2u1b3NBhys7aQ==
RMD160 (evince-2.20.2.tar.gz) = W7gdIdEO14aemnGWnutsN/usTZM=
SHA1 (evince-2.20.2.tar.gz) = Lk9DKPzd239N8j7hNr41IzJI9Nk=
SHA256 (evince-2.20.2.tar.gz) = FcoauEaxF5JbWABIaBTE++FlE15PjbZ9LGFeXZry/E8=
SIZE (evince-2.20.2.tar.gz) = 2340609

View File

@ -1,3 +1,7 @@
Evince is a document viewer for multiple document formats.
The goal of evince is to replace the multiple document viewers that
exist on the GNOME Desktop with a single simple application.
Flavors:
- no_libgnome: don't use libgnome.

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2007/05/13 19:11:20 kili Exp $
@comment $OpenBSD: PLIST,v 1.3 2007/12/07 20:00:40 kili Exp $
bin/evince
bin/evince-thumbnailer
lib/nautilus/
@ -8,7 +8,6 @@ share/applications/
share/applications/evince.desktop
share/evince/
share/evince/evince-password.glade
share/evince/evince-preview-toolbar.xml
share/evince/evince-properties.glade
share/evince/evince-toolbar.xml
share/evince/evince-ui.xml
@ -21,18 +20,29 @@ share/evince/icons/hicolor/16x16/actions/view-page-continuous.png
share/evince/icons/hicolor/16x16/actions/view-page-facing.png
share/evince/icons/hicolor/16x16/actions/zoom-fit-page.png
share/evince/icons/hicolor/16x16/actions/zoom-fit-width.png
share/evince/icons/hicolor/16x16/actions/zoom.png
share/evince/icons/hicolor/22x22/
share/evince/icons/hicolor/22x22/actions/
share/evince/icons/hicolor/22x22/actions/view-page-continuous.png
share/evince/icons/hicolor/22x22/actions/view-page-facing.png
share/evince/icons/hicolor/22x22/actions/zoom-fit-page.png
share/evince/icons/hicolor/22x22/actions/zoom-fit-width.png
share/evince/icons/hicolor/22x22/actions/zoom.png
share/evince/icons/hicolor/24x24/
share/evince/icons/hicolor/24x24/actions/
share/evince/icons/hicolor/24x24/actions/view-page-continuous.png
share/evince/icons/hicolor/24x24/actions/view-page-facing.png
share/evince/icons/hicolor/24x24/actions/zoom-fit-page.png
share/evince/icons/hicolor/24x24/actions/zoom-fit-width.png
share/evince/icons/hicolor/24x24/actions/zoom.png
share/evince/icons/hicolor/32x32/
share/evince/icons/hicolor/32x32/actions/
share/evince/icons/hicolor/32x32/actions/view-page-continuous.png
share/evince/icons/hicolor/32x32/actions/view-page-facing.png
share/evince/icons/hicolor/48x48/
share/evince/icons/hicolor/48x48/actions/
share/evince/icons/hicolor/48x48/actions/view-page-continuous.png
share/evince/icons/hicolor/48x48/actions/view-page-facing.png
share/gnome/
share/gnome/help/
share/gnome/help/evince/
@ -73,10 +83,22 @@ share/gnome/help/evince/it/
share/gnome/help/evince/it/evince.xml
share/gnome/help/evince/it/figures/
share/gnome/help/evince/it/figures/evince_start_window.png
share/gnome/help/evince/ja/
share/gnome/help/evince/ja/evince.xml
share/gnome/help/evince/ja/figures/
share/gnome/help/evince/ja/figures/evince_start_window.png
share/gnome/help/evince/nl/
share/gnome/help/evince/nl/evince.xml
share/gnome/help/evince/nl/figures/
share/gnome/help/evince/nl/figures/evince_start_window.png
share/gnome/help/evince/oc/
share/gnome/help/evince/oc/evince.xml
share/gnome/help/evince/oc/figures/
share/gnome/help/evince/oc/figures/evince_start_window.png
share/gnome/help/evince/pt_BR/
share/gnome/help/evince/pt_BR/evince.xml
share/gnome/help/evince/pt_BR/figures/
share/gnome/help/evince/pt_BR/figures/evince_start_window.png
share/gnome/help/evince/ru/
share/gnome/help/evince/ru/evince.xml
share/gnome/help/evince/ru/figures/
@ -179,6 +201,9 @@ share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/evince.mo
share/locale/be/LC_MESSAGES/evince.mo
share/locale/be@latin/
share/locale/be@latin/LC_MESSAGES/
share/locale/be@latin/LC_MESSAGES/evince.mo
share/locale/bg/LC_MESSAGES/evince.mo
share/locale/bn/
share/locale/bn/LC_MESSAGES/
@ -191,8 +216,6 @@ share/locale/br/LC_MESSAGES/
share/locale/br/LC_MESSAGES/evince.mo
share/locale/ca/LC_MESSAGES/evince.mo
share/locale/cs/LC_MESSAGES/evince.mo
share/locale/cy/
share/locale/cy/LC_MESSAGES/
share/locale/cy/LC_MESSAGES/evince.mo
share/locale/da/LC_MESSAGES/evince.mo
share/locale/de/LC_MESSAGES/evince.mo
@ -208,8 +231,6 @@ share/locale/en_GB/LC_MESSAGES/
share/locale/en_GB/LC_MESSAGES/evince.mo
share/locale/es/LC_MESSAGES/evince.mo
share/locale/et/LC_MESSAGES/evince.mo
share/locale/eu/
share/locale/eu/LC_MESSAGES/
share/locale/eu/LC_MESSAGES/evince.mo
share/locale/fa/
share/locale/fa/LC_MESSAGES/
@ -235,8 +256,6 @@ share/locale/ko/LC_MESSAGES/evince.mo
share/locale/ku/
share/locale/ku/LC_MESSAGES/
share/locale/ku/LC_MESSAGES/evince.mo
share/locale/lt/
share/locale/lt/LC_MESSAGES/
share/locale/lt/LC_MESSAGES/evince.mo
share/locale/lv/LC_MESSAGES/evince.mo
share/locale/mg/
@ -257,6 +276,9 @@ share/locale/ne/LC_MESSAGES/
share/locale/ne/LC_MESSAGES/evince.mo
share/locale/nl/LC_MESSAGES/evince.mo
share/locale/nn/LC_MESSAGES/evince.mo
share/locale/oc/
share/locale/oc/LC_MESSAGES/
share/locale/oc/LC_MESSAGES/evince.mo
share/locale/or/
share/locale/or/LC_MESSAGES/
share/locale/or/LC_MESSAGES/evince.mo
@ -268,13 +290,9 @@ share/locale/pt/LC_MESSAGES/evince.mo
share/locale/pt_BR/LC_MESSAGES/evince.mo
share/locale/ro/LC_MESSAGES/evince.mo
share/locale/ru/LC_MESSAGES/evince.mo
share/locale/rw/
share/locale/rw/LC_MESSAGES/
share/locale/rw/LC_MESSAGES/evince.mo
share/locale/sk/LC_MESSAGES/evince.mo
share/locale/sl/LC_MESSAGES/evince.mo
share/locale/sq/
share/locale/sq/LC_MESSAGES/
share/locale/sq/LC_MESSAGES/evince.mo
share/locale/sr/LC_MESSAGES/evince.mo
share/locale/sr@Latn/LC_MESSAGES/evince.mo
@ -282,6 +300,9 @@ share/locale/sv/LC_MESSAGES/evince.mo
share/locale/ta/
share/locale/ta/LC_MESSAGES/
share/locale/ta/LC_MESSAGES/evince.mo
share/locale/te/
share/locale/te/LC_MESSAGES/
share/locale/te/LC_MESSAGES/evince.mo
share/locale/th/
share/locale/th/LC_MESSAGES/
share/locale/th/LC_MESSAGES/evince.mo
@ -292,8 +313,6 @@ share/locale/wa/
share/locale/wa/LC_MESSAGES/
share/locale/wa/LC_MESSAGES/evince.mo
share/locale/zh_CN/LC_MESSAGES/evince.mo
share/locale/zh_HK/
share/locale/zh_HK/LC_MESSAGES/
share/locale/zh_HK/LC_MESSAGES/evince.mo
share/locale/zh_TW/LC_MESSAGES/evince.mo
share/omf/evince/
@ -306,13 +325,18 @@ share/omf/evince/evince-es.omf
share/omf/evince/evince-fi.omf
share/omf/evince/evince-fr.omf
share/omf/evince/evince-it.omf
share/omf/evince/evince-ja.omf
share/omf/evince/evince-nl.omf
share/omf/evince/evince-oc.omf
share/omf/evince/evince-pt_BR.omf
share/omf/evince/evince-ru.omf
share/omf/evince/evince-sr.omf
share/omf/evince/evince-sv.omf
share/omf/evince/evince-uk.omf
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/evince/*.schemas > /dev/null
share/schemas/
share/schemas/evince/
share/schemas/evince/evince-thumbnailer-djvu.schemas
share/schemas/evince/evince-thumbnailer-dvi.schemas
share/schemas/evince/evince-thumbnailer-ps.schemas
share/schemas/evince/evince-thumbnailer.schemas
@ -320,3 +344,7 @@ share/schemas/evince/evince.schemas
@exec %D/bin/scrollkeeper-update -q
@unexec %D/bin/scrollkeeper-update -q
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/evince/*.schemas > /dev/null
@exec %D/bin/update-desktop-database
@unexec %D/bin/update-desktop-database
@exec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor
@unexec %D/bin/gtk-update-icon-cache -q -f -t %D/share/icons/hicolor