From a20ba6e94c3024606c96dcaef4498c2503ceaa78 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 4 Aug 2011 08:43:31 +0200 Subject: [PATCH] Thunar: update to 1.2.2. --- srcpkgs/Thunar/Thunar-devel.template | 14 +------- .../Thunar/files/org.freedesktop.udisks.pkla | 7 ++++ srcpkgs/Thunar/template | 32 ++++++++++--------- 3 files changed, 25 insertions(+), 28 deletions(-) create mode 100644 srcpkgs/Thunar/files/org.freedesktop.udisks.pkla diff --git a/srcpkgs/Thunar/Thunar-devel.template b/srcpkgs/Thunar/Thunar-devel.template index 7a5db74ffad..e0c468a8ef8 100644 --- a/srcpkgs/Thunar/Thunar-devel.template +++ b/srcpkgs/Thunar/Thunar-devel.template @@ -8,23 +8,11 @@ long_desc="${long_desc} Add_dependency run exo-devel Add_dependency run libgudev-devel Add_dependency run libnotify-devel -Add_dependency run libSM-devel -Add_dependency run libICE-devel +Add_dependency run libxfce4util-devel Add_dependency run libxfce4ui-devel Add_dependency run gtk+-devel -Add_dependency run libxfce4util-devel -Add_dependency run atk-devel -Add_dependency run gdk-pixbuf-devel -Add_dependency run cairo-devel -Add_dependency run pango-devel Add_dependency run dbus-glib-devel -Add_dependency run dbus-devel -Add_dependency run glib-devel -Add_dependency run libpng-devel -Add_dependency run freetype-devel -Add_dependency run fontconfig-devel Add_dependency run libexif-devel -Add_dependency run libX11-devel Add_dependency run pcre-devel Add_dependency run xfce4-panel-devel Add_dependency run Thunar diff --git a/srcpkgs/Thunar/files/org.freedesktop.udisks.pkla b/srcpkgs/Thunar/files/org.freedesktop.udisks.pkla new file mode 100644 index 00000000000..5cc443bd117 --- /dev/null +++ b/srcpkgs/Thunar/files/org.freedesktop.udisks.pkla @@ -0,0 +1,7 @@ +[Local Users] +#Identity=unix-user: your_username +Identity=unix-group:storage +Action=org.freedesktop.udisks.* +ResultAny=yes +ResultInactive=no +ResultActive=yes diff --git a/srcpkgs/Thunar/template b/srcpkgs/Thunar/template index b8552f1e230..c33935afab3 100644 --- a/srcpkgs/Thunar/template +++ b/srcpkgs/Thunar/template @@ -1,11 +1,15 @@ # Template file for 'Thunar' pkgname=Thunar -version=1.2.1 +version=1.2.2 distfiles="http://archive.xfce.org/src/xfce/thunar/1.2/Thunar-$version.tar.bz2" build_style=gnu_configure +configure_args="--enable-gio-unix --enable-dbus --enable-gudev --enable-exif +--enable-pcre --enable-notifications" short_desc="Thunar File Manager" maintainer="Juan RP " -checksum=67e9886895771cf3b51af1ac5e13cb9e3892d2546a1a814869f83be06409a49b +homepage="http://thunar.xfce.org" +license="GPL-2, LGPL-2.1" +checksum=56b07dddde423ae7854c5edd433948a912c27afe2a60689ffc50df3d981e90f6 long_desc=" Thunar is a new modern file manager for the Xfce Desktop Environment. It has been designed from the ground up to be fast and easy-to-use. @@ -46,25 +50,23 @@ Add_dependency build intltool Add_dependency build exo-devel Add_dependency build libgudev-devel Add_dependency build libnotify-devel -Add_dependency build libSM-devel -Add_dependency build libICE-devel +Add_dependency build libxfce4util-devel Add_dependency build libxfce4ui-devel Add_dependency build gtk+-devel -Add_dependency build libxfce4util-devel -Add_dependency build atk-devel -Add_dependency build gdk-pixbuf-devel -Add_dependency build cairo-devel -Add_dependency build pango-devel Add_dependency build dbus-glib-devel -Add_dependency build dbus-devel -Add_dependency build glib-devel -Add_dependency build libpng-devel -Add_dependency build freetype-devel -Add_dependency build fontconfig-devel Add_dependency build libexif-devel -Add_dependency build libX11-devel Add_dependency build pcre-devel Add_dependency build xfce4-panel-devel +Add_dependency full gvfs Add_dependency full hicolor-icon-theme Add_dependency full desktop-file-utils + +post_install() +{ + # install udisks permission file + install -dm700 ${DESTDIR}/etc/polkit-1/localauthority + install -dm755 ${DESTDIR}/etc/polkit-1/localauthority/50-local.d + install -m644 ${FILESDIR}/org.freedesktop.udisks.pkla \ + ${DESTDIR}/etc/polkit-1/localauthority/50-local.d/ +}