Package: evince # cannot upgrade until we get working libspectre Version: 2.20.2 Revision: 11 Description: GNOME document viewer License: GPL Maintainer: The Gnome Core Team Depends: << atk1-shlibs (>= 1.28.0-1), cairo-shlibs (>= 1.8.8-3), dbus (>= 1.2.1-1), dbus-glib1.2-shlibs, dbus1.3-shlibs, fontconfig2-shlibs (>= 2.8.0-4), freetype219-shlibs (>= 2.3.12-1), gconf2 (>= 2.28.0-1), gconf2-shlibs (>= 2.28.0-1), glib2-shlibs (>= 2.22.0-1), ghostscript (>= 8.61-1) | system-ghostscript8, gnome-icon-theme, gnome-keyring-shlibs (>= 2.28.0-1), gnome-vfs2-unified-shlibs (>= 1:2.24.2-1), gtk+2-shlibs (>= 2.18.0-1), libart2-shlibs, libbonobo2-shlibs (>= 2.24.2-1), libbonoboui2-shlibs (>= 2.24.2-1), libgettext8-shlibs, libglade2-shlibs (>= 2.6.4-6), libgnome2-shlibs (>= 2.28.0-1), libgnomecanvas2-shlibs (>= 2.26.0-3), libgnomeui2-shlibs (>= 2.24.2-2), libkpathsea4-shlibs, libnautilus-ext2-shlibs (>= 2.28.0-1), libtiff-shlibs, libxml2-shlibs (>= 2.6.30-1), orbit2-shlibs (>= 2.14.17-2), pango1-xft2-ft219-shlibs (>= 1.24.5-4), poppler2-glib-shlibs (>= 0.6.4-3), popt-shlibs, rarian-compat, tetex-base | system-tetex, x11-shlibs << BuildDepends: << atk1 (>= 1.28.0-1), autoconf2.6, automake1.11, cairo (>= 1.8.8-3), dbus-glib1.2-dev, dbus1.3-dev, fink (>= 0.24.12-1), fink-package-precedence, fontconfig2-dev (>= 2.8.0-4), freetype219(>= 2.3.12-1), gconf2-dev (>= 2.28.0-1), gettext-tools, glib2-dev (>= 2.22.0-1), glitz, gnome-common (>= 2.28.0-1), gnome-doc-utils (>= 0.18.1-1), gnome-keyring-dev (>= 2.28.0-1), gnome-vfs2-unified-dev (>= 1:2.24.2-1), gtk+2-dev (>= 2.18.0-1), gtk-doc (>= 1.13-5), intltool40, libart2, libbonobo2-dev (>= 2.24.2-1), libbonoboui2-dev (>= 2.24.2-1), libgettext8-dev, libglade2 (>= 2.6.4-6), libgnome2-dev (>= 2.28.0-1), libgnomecanvas2-dev (>= 2.26.0-3), libgnomeui2-dev (>= 2.24.2-2), libkpathsea4, libnautilus-ext2-dev (>= 2.28.0-1), libtiff, libtool2, libxml2 (>= 2.6.30-1), orbit2-dev (>= 2.14.17-2), pango1-xft2-ft219-dev (>= 1.24.5-4), pixman (>= 0.16.0-1), pkgconfig (>= 0.23), poppler2 (>= 0.6.4-3), poppler2-glib (>= 0.6.4-3), popt, x11-dev << Source: mirror:gnome:sources/%n/2.20/%n-%v.tar.bz2 Source-MD5: 15214f5211d9f98ffa0afd8158b7d021 GCC: 4.0 ConfigureParams: --enable-dependency-tracking --disable-schemas-install --disable-scrollkeeper --enable-dvi --with-print=gtk --mandir=%p/share/man PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH" --disable-gtk-doc --disable-static PatchFile: %n.patch PatchFile-MD5: 50aefac0bc7b22f37b5d4a7d240cf124 PatchScript: << %{default_script} intltoolize -f autoreconf -f -i find . -name Makefile.in | xargs perl -pi -e 's,LINK = \$\(LIBTOOL\) --tag=CC,LINK = \$\(LIBTOOL\) --tag=CXX,' perl -pi -e 's,/usr/share/gtk-doc/html,%p/share/gtk-doc/html,g' help/reference/html/*.html << CompileScript: << #!/bin/sh -ev ./configure %c make CCLD=g++ fink-package-precedence . << InstallScript: make -j1 install DESTDIR="%d" nautilusdir=`pkg-config --variable=extensiondir libnautilus-extension` DocFiles: README COPYING ConfFiles: << %p/etc/gconf/schemas/evince.schemas %p/etc/gconf/schemas/evince-thumbnailer.schemas %p/etc/gconf/schemas/evince-thumbnailer-dvi.schemas %p/etc/gconf/schemas/evince-thumbnailer-ps.schemas << PostInstScript: << if [ configure = "$1" ]; then scrollkeeper-update -q export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/evince.schemas >/dev/null gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/evince-thumbnailer.schemas >/dev/null gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/evince-thumbnailer-dvi.schemas >/dev/null gconftool-2 --makefile-install-rule %p/etc/gconf/schemas/evince-thumbnailer-ps.schemas >/dev/null fi << PostRmScript: << if [ upgrade != "$1" ]; then scrollkeeper-update -q fi << Homepage: http://www.gnome.org/projects/evince/ DescDetail: << Evince is a document viewer for multiple document formats. It currently supports pdf, postscript, djvu, tiff and dvi. The goal of evince is to replace the multiple document viewers that exist on the GNOME Desktop with a single simple application. << DescPackaging: << Should enable pixbuf or impress? Has C++ in low-level sources, so need to force use of g++ for linking higher-level objects. Remove superfluous use of obsolete libgnomeprint stack. See: http://bugzilla.gnome.org/show_bug.cgi?id=508684 Use nautilus's self-published extensions dir instead of hard-coding what it was for a certain libnautilus version Misc back-ends are left disabled due to inertia. Makes system() calls to gs. Future versions will use libspectre (which links libgs) instead, but libspectre as of 0.2.2 does not seem viable on OS X. Regenerating gtk-doc files The Right Way (--enable-gtk-doc) is very slow, so just patch the prefix in the bad URLs in the existing generated files. Also would need to patch evince's scanner program to be linked with g++ << DescPort: << libpsdocument directly uses libX11 symbols <<