--- /var/abs/extra/evince/PKGBUILD 2010-04-21 07:04:51.000000000 +0300 +++ PKGBUILD 2010-04-21 18:07:23.000000000 +0300 @@ -15,11 +15,16 @@ replaces=('gpdf') groups=('gnome-extra') install=evince.install options=('!libtool' '!emptydirs') -source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2) -sha256sums=('36dfee4e973421f15cb51c9b1c84784523592dc81feb6465fb59f87b8f7f8bf7') +source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.30/${pkgname}-${pkgver}.tar.bz2 + use-last-settings.patch::http://git.gnome.org/browse/evince/patch/?id=1c265473114e0123a7cf4386d18186fc98aae6ae) +sha256sums=('36dfee4e973421f15cb51c9b1c84784523592dc81feb6465fb59f87b8f7f8bf7' + '75cd921f9fab279dbb895cc8fb88bbc8461dbaf87fbd64f4818e49a52b7944fa') build() { cd "${srcdir}/${pkgname}-${pkgver}" + # Patch for https://bugzilla.gnome.org/show_bug.cgi?id=606090. + # Remove when 2.30.1 is released. + patch -p1 -i "${srcdir}/use-last-settings.patch" || return 1 ./configure --prefix=/usr --sysconfdir=/etc \ --localstatedir=/var --libexecdir=/usr/lib/evince \ --disable-static --enable-nautilus \