summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--xfce/evince/Pkgfile5
-rwxr-xr-xxfce/evince/post-install22
2 files changed, 6 insertions, 21 deletions
diff --git a/xfce/evince/Pkgfile b/xfce/evince/Pkgfile
index b53d02716..6f1fb9551 100644
--- a/xfce/evince/Pkgfile
+++ b/xfce/evince/Pkgfile
@@ -7,7 +7,7 @@
name=evince
version=2.32.0
-release=1
+release=2
source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2\
evince.desktop)
@@ -22,7 +22,8 @@ cd $name-$version
--disable-nautilus \
--enable-djvu \
--disable-schemas-install \
- --disable-scrollkeeper
+ --disable-scrollkeeper \
+ --disable-introspection
make
make DESTDIR=$PKG install
diff --git a/xfce/evince/post-install b/xfce/evince/post-install
index 6548baf76..d37eef830 100755
--- a/xfce/evince/post-install
+++ b/xfce/evince/post-install
@@ -1,23 +1,7 @@
#!/bin/sh
-
-port=evince
-
-# gconf schemas
-SCHEMAS="`pkginfo -l $port | grep etc/gconf/schemas/.*\.schemas$`"
-
-for SCHEMA in $SCHEMAS
-do
- export GCONF_CONFIG_SOURCE=`/usr/bin/gconftool-2 --get-default-source`
- /usr/bin/gconftool-2 --makefile-install-rule /$SCHEMA > /dev/null
-done
-
-# reload gconf caches
-if [ ! -z "`pidof gconfd-2`" ]
-then
- killall -HUP gconfd-2 > /dev/null
-fi
-
+/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
# desktop database
update-desktop-database > /dev/null
-
+# update icons cache
+gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
# End of file