Update to evince-2.22.1.1 and put djvu and dvi backends into subpackages.

help & ok ajacoutot@
This commit is contained in:
bernd 2008-05-21 22:13:35 +00:00
parent 41b2cfddf0
commit dd4c70249e
9 changed files with 159 additions and 115 deletions

View File

@ -1,59 +1,82 @@
# $OpenBSD: Makefile,v 1.11 2008/04/17 08:10:10 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.12 2008/05/21 22:13:35 bernd Exp $
COMMENT= document viewer for multiple document formats
SHARED_ONLY= Yes
V= 2.20.2
DISTNAME= evince-$V
PKGNAME= ${DISTNAME}p1
COMMENT-main= document viewer for multiple document formats
COMMENT-djvu= evince document viewer backend for djvu documents
COMMENT-dvi= evince document viewer backend for dvi documents
V= 2.22.1.1
DISTNAME= evince-${V}
CATEGORIES= graphics print
PKGNAME-main= ${DISTNAME}
PKGNAME-djvu= evince-djvu-${V}
PKGNAME-dvi= evince-dvi-${V}
SHARED_LIBS= evbackend 0.0 # .0.0
HOMEPAGE= http://www.gnome.org/projects/evince/
# GPL
# GPLv2
PERMIT_PACKAGE_FTP= Yes
PERMIT_PACKAGE_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evince/${V:C,\.[0-9]*$,,}/}
MASTER_SITES= ${MASTER_SITE_GNOME:=sources/evince/${V:C,\.[0-9]\.[0-9]*$,,}/}
MODULES= devel/gettext
MODULES= devel/gettext textproc/intltool
BUILD_DEPENDS= :ghostscript-*:print/ghostscript/gnu \
:gnome-doc-utils-*:x11/gnome/doc-utils \
:p5-XML-Parser-*:textproc/p5-XML-Parser
LIB_DEPENDS= audiofile::devel/libaudiofile \
djvulibre::graphics/djvulibre \
esd.>=2::audio/esound \
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
BUILD_DEPENDS= :gnome-doc-utils-*:x11/gnome/doc-utils \
:ghostscript-*:print/ghostscript/gnu \
::x11/gnome/icon-theme
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
MULTI_PACKAGES= -main -djvu -dvi
WANTLIB= ORBit-2 ORBitCosNaming-2 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 pcre png popt pthread ssl tiff util xml2 z
Xrender atk-1.0 audiofile bonobo-2 \
bonobo-activation cairo crypto dbus-1 dbus-glib-1 \
esd expat fontconfig freetype gconf-2 gdk-x11-2.0 \
gdk_pixbuf-2.0 gio-2.0 glib-2.0 glitz gmodule-2.0 \
gnome-2 gnomevfs-2 gobject-2.0 \
gthread-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0 \
pangoft2-1.0 pcre png popt ssl util xml2 z
WANTLIB-main= ${WANTLIB} ICE SM art_lgpl_2 bonoboui-2 c gailutil \
glade-2.0 gnome-keyring gnomecanvas-2 jpeg pthread \
tiff
LIB_DEPENDS-main= gnomeui-2.>=2000::x11/gnome/libgnomeui \
poppler.>=3,poppler-glib.>=3::print/poppler \
${MODGETTEXT_LIB_DEPENDS}
RUN_DEPENDS-main= :scrollkeeper-*:textproc/scrollkeeper \
:shared-mime-info-*:misc/shared-mime-info \
:ghostscript-*:print/ghostscript/gnu \
::x11/gnome/icon-theme \
:devhelp-*:x11/gnome/devhelp \
:yelp-*:x11/gnome/yelp
WANTLIB-djvu= ${WANTLIB} jpeg
LIB_DEPENDS-djvu= evbackend::${BASE_PKGPATH} \
djvulibre::graphics/djvulibre \
${MODGETTEXT_LIB_DEPENDS}
WANTLIB-dvi= ${WANTLIB}
LIB_DEPENDS-dvi= evbackend::${BASE_PKGPATH} \
kpathsea::print/texlive/base \
${MODGETTEXT_LIB_DEPENDS}
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS= --disable-nautilus \
CONFIGURE_ARGS= --disable-comics \
--disable-impress \
--disable-nautilus \
--disable-schemas-install \
--disable-scrollkeeper \
--enable-djvu \
--enable-dvi \
--enable-pixbuf \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/evince/ \
--with-print=gtk
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/evince/
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
CXXFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
@ -62,7 +85,6 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
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-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
MD5 (evince-2.22.1.1.tar.gz) = 0mOxyzloxlzLNlm86UkN1Q==
RMD160 (evince-2.22.1.1.tar.gz) = jhalFIQihxH5zjR7QO+MRX9DmQA=
SHA1 (evince-2.22.1.1.tar.gz) = ldspV+qyk0d1M4sXaFhmM/YXR9A=
SHA256 (evince-2.22.1.1.tar.gz) = z0wkfRKAHMZPDKTHF6zehHgaVOzwAhwewffh/lx/VRg=
SIZE (evince-2.22.1.1.tar.gz) = 2457208

View File

@ -0,0 +1,21 @@
$OpenBSD: patch-data_evince_desktop_in_in,v 1.1 2008/05/21 22:13:35 bernd Exp $
- We want to see the evince application in the menu.
- The Office menu is more appropriate.
--- data/evince.desktop.in.in.orig Mon Apr 7 23:05:37 2008
+++ data/evince.desktop.in.in Thu May 15 19:20:36 2008
@@ -8,11 +8,11 @@ StartupNotify=true
Terminal=false
Type=Application
Icon=evince
-NoDisplay=true
+NoDisplay=false
X-GNOME-DocPath=
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=evince
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=@VERSION@
-Categories=GNOME;GTK;Graphics;VectorGraphics;Viewer;
+Categories=GNOME;GTK;Office;VectorGraphics;Viewer;
MimeType=@EVINCE_MIME_TYPES@

View File

@ -0,0 +1 @@
Evince document viewer backend for djvu documents.

View File

@ -0,0 +1 @@
Evince document viewer backend for dvi documents.

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST-djvu,v 1.1 2008/05/21 22:13:35 bernd Exp $
lib/evince/backends/djvudocument.evince-backend
lib/evince/backends/libdjvudocument.a
lib/evince/backends/libdjvudocument.la
lib/evince/backends/libdjvudocument.so
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/evince/evince-thumbnailer-djvu.schemas > /dev/null
share/schemas/evince/evince-thumbnailer-djvu.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/evince/evince-thumbnailer-djvu.schemas > /dev/null

View File

@ -0,0 +1,8 @@
@comment $OpenBSD: PLIST-dvi,v 1.1 2008/05/21 22:13:35 bernd Exp $
lib/evince/backends/dvidocument.evince-backend
lib/evince/backends/libdvidocument.a
lib/evince/backends/libdvidocument.la
lib/evince/backends/libdvidocument.so
@unexec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-uninstall-rule %D/share/schemas/evince/evince-thumbnailer-dvi.schemas > /dev/null
share/schemas/evince/evince-thumbnailer-dvi.schemas
@exec GCONF_CONFIG_SOURCE=`%D/bin/gconftool-2 --get-default-source` %D/bin/gconftool-2 --makefile-install-rule %D/share/schemas/evince/evince-thumbnailer-dvi.schemas > /dev/null

View File

@ -1,10 +1,54 @@
@comment $OpenBSD: PLIST,v 1.4 2008/04/17 08:10:10 ajacoutot Exp $
@comment $OpenBSD: PLIST-main,v 1.1 2008/05/21 22:13:35 bernd Exp $
@pkgpath graphics/evince
bin/evince
bin/evince-thumbnailer
lib/nautilus/
lib/nautilus/extensions-1.0/
include/evince-2.20/
include/evince-2.20/evince/
include/evince-2.20/evince/ev-async-renderer.h
include/evince-2.20/evince/ev-attachment.h
include/evince-2.20/evince/ev-document-find.h
include/evince-2.20/evince/ev-document-fonts.h
include/evince-2.20/evince/ev-document-forms.h
include/evince-2.20/evince/ev-document-images.h
include/evince-2.20/evince/ev-document-info.h
include/evince-2.20/evince/ev-document-links.h
include/evince-2.20/evince/ev-document-misc.h
include/evince-2.20/evince/ev-document-security.h
include/evince-2.20/evince/ev-document-thumbnails.h
include/evince-2.20/evince/ev-document-transition.h
include/evince-2.20/evince/ev-document.h
include/evince-2.20/evince/ev-file-exporter.h
include/evince-2.20/evince/ev-file-helpers.h
include/evince-2.20/evince/ev-form-field.h
include/evince-2.20/evince/ev-image.h
include/evince-2.20/evince/ev-link-action.h
include/evince-2.20/evince/ev-link-dest.h
include/evince-2.20/evince/ev-link.h
include/evince-2.20/evince/ev-render-context.h
include/evince-2.20/evince/ev-selection.h
include/evince-2.20/evince/ev-transition-effect.h
lib/evince/
lib/evince/backends/
lib/evince/backends/libpdfdocument.a
lib/evince/backends/libpdfdocument.la
lib/evince/backends/libpdfdocument.so
lib/evince/backends/libpixbufdocument.a
lib/evince/backends/libpixbufdocument.la
lib/evince/backends/libpixbufdocument.so
lib/evince/backends/libpsdocument.a
lib/evince/backends/libpsdocument.la
lib/evince/backends/libpsdocument.so
lib/evince/backends/libtiffdocument.a
lib/evince/backends/libtiffdocument.la
lib/evince/backends/libtiffdocument.so
lib/evince/backends/pdfdocument.evince-backend
lib/evince/backends/pixbufdocument.evince-backend
lib/evince/backends/psdocument.evince-backend
lib/evince/backends/tiffdocument.evince-backend
lib/libevbackend.a
lib/libevbackend.la
@lib lib/libevbackend.so.${LIBevbackend_VERSION}
@man man/man1/evince.1
share/applications/
share/applications/evince.desktop
share/evince/
share/evince/evince-password.glade
@ -43,8 +87,6 @@ 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/
share/gnome/help/evince/C/
share/gnome/help/evince/C/evince.xml
@ -115,8 +157,10 @@ 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/gnome/help/evince/zh_CN/
share/gnome/help/evince/zh_CN/evince.xml
share/gnome/help/evince/zh_CN/figures/
share/gnome/help/evince/zh_CN/figures/evince_start_window.png
share/gtk-doc/html/evince/
share/gtk-doc/html/evince/EvAttachment.html
share/gtk-doc/html/evince/EvJobPrint.html
@ -156,7 +200,6 @@ 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
@ -180,110 +223,59 @@ 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/as/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/
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/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/
share/locale/en_CA/LC_MESSAGES/evince.mo
share/locale/en_GB/
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/LC_MESSAGES/evince.mo
share/locale/fa/
share/locale/fa/LC_MESSAGES/
share/locale/fa/LC_MESSAGES/evince.mo
share/locale/fi/LC_MESSAGES/evince.mo
share/locale/fr/LC_MESSAGES/evince.mo
share/locale/ga/LC_MESSAGES/evince.mo
share/locale/gl/LC_MESSAGES/evince.mo
share/locale/gu/
share/locale/gu/LC_MESSAGES/
share/locale/gu/LC_MESSAGES/evince.mo
share/locale/he/LC_MESSAGES/evince.mo
share/locale/hi/
share/locale/hi/LC_MESSAGES/
share/locale/hi/LC_MESSAGES/evince.mo
share/locale/hu/LC_MESSAGES/evince.mo
share/locale/id/LC_MESSAGES/evince.mo
share/locale/it/LC_MESSAGES/evince.mo
share/locale/ja/LC_MESSAGES/evince.mo
share/locale/ka/
share/locale/ka/LC_MESSAGES/
share/locale/ka/LC_MESSAGES/evince.mo
share/locale/kn/LC_MESSAGES/evince.mo
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/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/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
share/locale/pa/
share/locale/pa/LC_MESSAGES/
share/locale/pa/LC_MESSAGES/evince.mo
share/locale/pl/LC_MESSAGES/evince.mo
share/locale/pt/LC_MESSAGES/evince.mo
@ -291,26 +283,19 @@ 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/LC_MESSAGES/evince.mo
share/locale/si/LC_MESSAGES/evince.mo
share/locale/sk/LC_MESSAGES/evince.mo
share/locale/sl/LC_MESSAGES/evince.mo
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/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
share/locale/tr/LC_MESSAGES/evince.mo
share/locale/uk/LC_MESSAGES/evince.mo
share/locale/vi/LC_MESSAGES/evince.mo
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/LC_MESSAGES/evince.mo
@ -333,17 +318,15 @@ 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/omf/evince/evince-zh_CN.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
share/schemas/evince/evince.schemas
@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/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 2> /dev/null || true