Update to 0.8.1, unbreaking it for the latest gnome updates.

RUN_DEPENDS += shared-mime-info, spotted by Lawrence Teo; wrong
PKGNAME spotted by him, too. Thanks!

ok jasper@
This commit is contained in:
kili 2007-05-13 19:11:19 +00:00
parent ecbbc7bb41
commit f10a670078
4 changed files with 186 additions and 45 deletions

View File

@ -1,9 +1,9 @@
# $OpenBSD: Makefile,v 1.5 2006/12/30 12:41:39 steven Exp $
# $OpenBSD: Makefile,v 1.6 2007/05/13 19:11:19 kili Exp $
COMMENT= "document viewer for multiple document formats"
DISTNAME= evince-0.5.2
PKGNAME= ${DISTNAME}p0
DISTNAME= evince-0.8.1
PKGNAME= ${DISTNAME}
CATEGORIES= graphics print
HOMEPAGE= http://www.gnome.org/projects/evince/
@ -14,7 +14,7 @@ PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evince/0.5/}
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evince/0.8/}
MODULES= devel/gettext
BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
@ -23,22 +23,23 @@ BUILD_DEPENDS= :p5-XML-Parser-*:textproc/p5-XML-Parser \
:teTeX_base-*:print/teTeX/base
LIB_DEPENDS= poppler.>=1,poppler-glib.>=1::print/poppler \
gnomeui-2::x11/gnome/libgnomeui \
gnomeprintui-2-2::x11/gnome/libgnomeprintui \
esd.>=2::audio/esound \
audiofile::devel/libaudiofile
RUN_DEPENDS= :scrollkeeper-*:textproc/scrollkeeper \
:ghostscript-*:print/ghostscript/gnu \
:teTeX_base-*:print/teTeX/base
:teTeX_base-*:print/teTeX/base \
:shared-mime-info-*:misc/shared-mime-info
WANTLIB= freetype crypto c Xext fontconfig pthread SM ICE \
Xrender X11 m ssl z \
gnomevfs-2 gnome-2 glib-2.0 gnome-keyring png \
pango-1.0 pangoft2-1.0 pangocairo-1.0 \
bonoboui-2 popt gdk-x11-2.0 gnomecanvas-2 xml2 \
ORBit-2 tiff glitz ORBitCosNaming-2 \
gtk-x11-2.0 cairo gdk_pixbuf-2.0 \
gthread-2.0 bonobo-activation art_lgpl_2 jpeg \
bonobo-2 gobject-2.0 atk-1.0 glade-2.0 \
gconf-2 gmodule-2.0
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 \
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
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/evince/ \

View File

@ -1,5 +1,5 @@
MD5 (evince-0.5.2.tar.gz) = UCCvsXaNicJRrYwqIz2fzw==
RMD160 (evince-0.5.2.tar.gz) = IIZ2xEM0c+T115HxCENVcIdPWIA=
SHA1 (evince-0.5.2.tar.gz) = EfeiIsOE/hh6TI3b/2YyEJUbloc=
SHA256 (evince-0.5.2.tar.gz) = VVzv7hCgQt5vsREosjHoSkw5IZ2+iUF7L7+E+EvkZ08=
SIZE (evince-0.5.2.tar.gz) = 1362513
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

View File

@ -1,23 +0,0 @@
$OpenBSD: patch-ps_ps_c,v 1.1 2006/12/30 12:41:39 steven Exp $
--- ps/ps.c.orig Sat Dec 30 13:48:55 2006
+++ ps/ps.c Sat Dec 30 13:54:21 2006
@@ -1231,7 +1231,8 @@ get_next_text(line, next_char)
int level = 0;
quoted = 1;
line++;
- while(*line && !(*line == ')' && level == 0)) {
+ while(*line && !(*line == ')' && level == 0)
+ && (cp - text) < PSLINELENGTH - 1) {
if(*line == '\\') {
if(*(line + 1) == 'n') {
*cp++ = '\n';
@@ -1302,7 +1303,8 @@ get_next_text(line, next_char)
}
}
else {
- while(*line && !(*line == ' ' || *line == '\t' || *line == '\n'))
+ while(*line && !(*line == ' ' || *line == '\t' || *line == '\n')
+ && (cp - text) < PSLINELENGTH - 1)
*cp++ = *line++;
}
*cp = '\0';

View File

@ -1,16 +1,38 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2006/06/18 14:22:26 alek Exp $
@comment $OpenBSD: PLIST,v 1.2 2007/05/13 19:11:20 kili Exp $
bin/evince
bin/evince-thumbnailer
lib/nautilus/
lib/nautilus/extensions-1.0/
@man man/man1/evince.1
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
share/evince/hand-open.png
share/evince/icons/
share/evince/icons/hicolor/
share/evince/icons/hicolor/16x16/
share/evince/icons/hicolor/16x16/actions/
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/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/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/gnome/
share/gnome/help/
share/gnome/help/evince/
@ -23,14 +45,34 @@ share/gnome/help/evince/bg/
share/gnome/help/evince/bg/evince.xml
share/gnome/help/evince/bg/figures/
share/gnome/help/evince/bg/figures/evince_start_window.png
share/gnome/help/evince/ca/
share/gnome/help/evince/ca/evince.xml
share/gnome/help/evince/ca/figures/
share/gnome/help/evince/ca/figures/evince_start_window.png
share/gnome/help/evince/el/
share/gnome/help/evince/el/evince.xml
share/gnome/help/evince/el/figures/
share/gnome/help/evince/el/figures/evince_start_window.png
share/gnome/help/evince/en_GB/
share/gnome/help/evince/en_GB/evince.xml
share/gnome/help/evince/en_GB/figures/
share/gnome/help/evince/en_GB/figures/evince_start_window.png
share/gnome/help/evince/es/
share/gnome/help/evince/es/evince.xml
share/gnome/help/evince/es/figures/
share/gnome/help/evince/es/figures/evince_start_window.png
share/gnome/help/evince/fi/
share/gnome/help/evince/fi/evince.xml
share/gnome/help/evince/fi/figures/
share/gnome/help/evince/fi/figures/evince_start_window.png
share/gnome/help/evince/fr/
share/gnome/help/evince/fr/evince.xml
share/gnome/help/evince/fr/figures/
share/gnome/help/evince/fr/figures/evince_start_window.png
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/nl/
share/gnome/help/evince/nl/evince.xml
share/gnome/help/evince/nl/figures/
@ -43,15 +85,110 @@ share/gnome/help/evince/sr/
share/gnome/help/evince/sr/evince.xml
share/gnome/help/evince/sr/figures/
share/gnome/help/evince/sr/figures/evince_start_window.png
share/gnome/help/evince/sv/
share/gnome/help/evince/sv/evince.xml
share/gnome/help/evince/sv/figures/
share/gnome/help/evince/sv/figures/evince_start_window.png
share/gnome/help/evince/uk/
share/gnome/help/evince/uk/evince.xml
share/gnome/help/evince/uk/figures/
share/gnome/help/evince/uk/figures/evince_start_window.png
share/gtk-doc/
share/gtk-doc/html/
share/gtk-doc/html/evince/
share/gtk-doc/html/evince/EvAttachment.html
share/gtk-doc/html/evince/EvJobPrint.html
share/gtk-doc/html/evince/EvNavigationAction.html
share/gtk-doc/html/evince/EvNavigationActionWidget.html
share/gtk-doc/html/evince/EvPageAction.html
share/gtk-doc/html/evince/EvPageActionWidget.html
share/gtk-doc/html/evince/EvWindow.html
share/gtk-doc/html/evince/evince-EvHistory.html
share/gtk-doc/html/evince/evince-EvImage.html
share/gtk-doc/html/evince/evince-EvPasswordDialog.html
share/gtk-doc/html/evince/evince-EvPasswordView.html
share/gtk-doc/html/evince/evince-EvRenderContext.html
share/gtk-doc/html/evince/evince-EvSidebar.html
share/gtk-doc/html/evince/evince-EvSidebarAttachments.html
share/gtk-doc/html/evince/evince-EvSidebarLinks.html
share/gtk-doc/html/evince/evince-EvSidebarThumbnails.html
share/gtk-doc/html/evince/evince-EvTooltip.html
share/gtk-doc/html/evince/evince-ev-async-renderer.html
share/gtk-doc/html/evince/evince-ev-document-factory.html
share/gtk-doc/html/evince/evince-ev-document-find.html
share/gtk-doc/html/evince/evince-ev-document-fonts.html
share/gtk-doc/html/evince/evince-ev-document-images.html
share/gtk-doc/html/evince/evince-ev-document-info.html
share/gtk-doc/html/evince/evince-ev-document-links.html
share/gtk-doc/html/evince/evince-ev-document-misc.html
share/gtk-doc/html/evince/evince-ev-document-security.html
share/gtk-doc/html/evince/evince-ev-document-thumbnails.html
share/gtk-doc/html/evince/evince-ev-document-transition.html
share/gtk-doc/html/evince/evince-ev-document.html
share/gtk-doc/html/evince/evince-ev-file-exporter.html
share/gtk-doc/html/evince/evince-ev-file-helpers.html
share/gtk-doc/html/evince/evince-ev-job-queue.html
share/gtk-doc/html/evince/evince-ev-link-action.html
share/gtk-doc/html/evince/evince-ev-link-dest.html
share/gtk-doc/html/evince/evince-ev-link.html
share/gtk-doc/html/evince/evince-ev-metadata-manager.html
share/gtk-doc/html/evince/evince-ev-page-cache.html
share/gtk-doc/html/evince/evince-ev-pixbuf-cache.html
share/gtk-doc/html/evince/evince-ev-print-job.html
share/gtk-doc/html/evince/evince-ev-properties-dialog.html
share/gtk-doc/html/evince/evince-ev-properties-fonts.html
share/gtk-doc/html/evince/evince-ev-selection.html
share/gtk-doc/html/evince/evince-ev-sidebar-page.html
share/gtk-doc/html/evince/evince-ev-stock-icons.html
share/gtk-doc/html/evince/evince-ev-utils.html
share/gtk-doc/html/evince/evince-ev-view-accessible.html
share/gtk-doc/html/evince/evince-ev-view.html
share/gtk-doc/html/evince/evince-ev-window-title.html
share/gtk-doc/html/evince/evince.devhelp
share/gtk-doc/html/evince/evince.devhelp2
share/gtk-doc/html/evince/home.png
share/gtk-doc/html/evince/index.html
share/gtk-doc/html/evince/index.sgml
share/gtk-doc/html/evince/ix01.html
share/gtk-doc/html/evince/left.png
share/gtk-doc/html/evince/pt01.html
share/gtk-doc/html/evince/pt02.html
share/gtk-doc/html/evince/pt03.html
share/gtk-doc/html/evince/pt04.html
share/gtk-doc/html/evince/right.png
share/gtk-doc/html/evince/style.css
share/gtk-doc/html/evince/up.png
share/icons/
share/icons/hicolor/
share/icons/hicolor/16x16/
share/icons/hicolor/16x16/apps/
share/icons/hicolor/16x16/apps/evince.png
share/icons/hicolor/22x22/
share/icons/hicolor/22x22/apps/
share/icons/hicolor/22x22/apps/evince.png
share/icons/hicolor/24x24/
share/icons/hicolor/24x24/apps/
share/icons/hicolor/24x24/apps/evince.png
share/icons/hicolor/48x48/
share/icons/hicolor/48x48/apps/
share/icons/hicolor/48x48/apps/evince.png
share/icons/hicolor/scalable/
share/icons/hicolor/scalable/apps/
share/icons/hicolor/scalable/apps/evince.svg
share/locale/ar/
share/locale/ar/LC_MESSAGES/
share/locale/ar/LC_MESSAGES/evince.mo
share/locale/be/LC_MESSAGES/evince.mo
share/locale/bg/LC_MESSAGES/evince.mo
share/locale/bn/
share/locale/bn/LC_MESSAGES/
share/locale/bn/LC_MESSAGES/evince.mo
share/locale/bn_IN/
share/locale/bn_IN/LC_MESSAGES/
share/locale/bn_IN/LC_MESSAGES/evince.mo
share/locale/br/
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/
@ -59,6 +196,9 @@ 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
share/locale/dz/
share/locale/dz/LC_MESSAGES/
share/locale/dz/LC_MESSAGES/evince.mo
share/locale/el/LC_MESSAGES/evince.mo
share/locale/en_CA/
share/locale/en_CA/LC_MESSAGES/
@ -99,15 +239,27 @@ 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/
share/locale/mg/LC_MESSAGES/
share/locale/mg/LC_MESSAGES/evince.mo
share/locale/mk/
share/locale/mk/LC_MESSAGES/
share/locale/mk/LC_MESSAGES/evince.mo
share/locale/ml/
share/locale/ml/LC_MESSAGES/
share/locale/ml/LC_MESSAGES/evince.mo
share/locale/mr/
share/locale/mr/LC_MESSAGES/
share/locale/mr/LC_MESSAGES/evince.mo
share/locale/nb/LC_MESSAGES/evince.mo
share/locale/ne/
share/locale/ne/LC_MESSAGES/
share/locale/ne/LC_MESSAGES/evince.mo
share/locale/nl/LC_MESSAGES/evince.mo
share/locale/no/LC_MESSAGES/evince.mo
share/locale/nn/LC_MESSAGES/evince.mo
share/locale/or/
share/locale/or/LC_MESSAGES/
share/locale/or/LC_MESSAGES/evince.mo
share/locale/pa/
share/locale/pa/LC_MESSAGES/
share/locale/pa/LC_MESSAGES/evince.mo
@ -120,12 +272,16 @@ 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
share/locale/sv/LC_MESSAGES/evince.mo
share/locale/ta/
share/locale/ta/LC_MESSAGES/
share/locale/ta/LC_MESSAGES/evince.mo
share/locale/th/
share/locale/th/LC_MESSAGES/
share/locale/th/LC_MESSAGES/evince.mo
@ -143,15 +299,22 @@ share/locale/zh_TW/LC_MESSAGES/evince.mo
share/omf/evince/
share/omf/evince/evince-C.omf
share/omf/evince/evince-bg.omf
share/omf/evince/evince-ca.omf
share/omf/evince/evince-el.omf
share/omf/evince/evince-en_GB.omf
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-nl.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
share/schemas/
share/schemas/evince/
share/schemas/evince/evince-thumbnailer-dvi.schemas
share/schemas/evince/evince-thumbnailer-ps.schemas
share/schemas/evince/evince-thumbnailer.schemas
share/schemas/evince/evince.schemas
@exec %D/bin/scrollkeeper-update -q