summaryrefslogtreecommitdiff
path: root/extra/nautilus
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-05-14 17:12:15 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2012-05-14 17:12:15 +0200
commit6feb300093e37e58027d52ca5734624565e09598 (patch)
tree418d2cc8c7e631c42898a28731ade8a29e3cb955 /extra/nautilus
parent216722b262c18f99fa53875247e7a258cb3b4b34 (diff)
parentd3af8dc0117dc1ce4fea3d05c7a2d7786bd78986 (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/openbox/PKGBUILD community/powertop/PKGBUILD core/libusb-compat/PKGBUILD core/openssl/PKGBUILD extra/libvpx/PKGBUILD extra/php-apc/PKGBUILD extra/pidgin/PKGBUILD extra/pulseaudio/PKGBUILD extra/pygobject/PKGBUILD extra/xfce4-genmon-plugin/PKGBUILD extra/xorg-server/PKGBUILD multilib/gcc-multilib/PKGBUILD multilib/lib32-cairo/PKGBUILD multilib/lib32-glib2/PKGBUILD multilib/lib32-libffi/PKGBUILD multilib/lib32-libpulse/PKGBUILD multilib/lib32-llvm/PKGBUILD multilib/wine/PKGBUILD testing/mdadm/PKGBUILD testing/php/PKGBUILD testing/xorg-server/PKGBUILD testing/xorg-server/git-fixes.patch
Diffstat (limited to 'extra/nautilus')
-rw-r--r--extra/nautilus/PKGBUILD11
-rw-r--r--extra/nautilus/samba-crash.patch32
2 files changed, 39 insertions, 4 deletions
diff --git a/extra/nautilus/PKGBUILD b/extra/nautilus/PKGBUILD
index b6c7c8c43..30ce2f8a2 100644
--- a/extra/nautilus/PKGBUILD
+++ b/extra/nautilus/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 156938 2012-04-23 09:09:28Z ibiru $
+# $Id: PKGBUILD 158697 2012-05-07 15:42:16Z ibiru $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=nautilus
pkgver=3.4.1
-pkgrel=1
+pkgrel=2
pkgdesc="GNOME file manager"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
@@ -13,11 +13,14 @@ url="http://www.gnome.org"
groups=('gnome')
options=('!libtool' '!emptydirs')
install=nautilus.install
-source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('02581c9475e9c4250960555b248378a6a1c63a5c029728ec48347c78ca77392d')
+source=(http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz
+ samba-crash.patch)
+sha256sums=('02581c9475e9c4250960555b248378a6a1c63a5c029728ec48347c78ca77392d'
+ 'e437ced7bbebe49d2454b4daecd10cff39d1c427e9631fe0fe5325072ed6aefd')
build() {
cd "$pkgname-$pkgver"
+ patch -Np1 -i "$srcdir/samba-crash.patch"
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-static \
--libexecdir=/usr/lib/nautilus \
diff --git a/extra/nautilus/samba-crash.patch b/extra/nautilus/samba-crash.patch
new file mode 100644
index 000000000..b10d39008
--- /dev/null
+++ b/extra/nautilus/samba-crash.patch
@@ -0,0 +1,32 @@
+From 4e59e4cfc7bc68534664d9f72d0c7ea680b79db3 Mon Sep 17 00:00:00 2001
+From: Cosimo Cecchi <cosimoc@gnome.org>
+Date: Fri, 04 May 2012 18:38:43 +0000
+Subject: places-sidebar: don't double unref GMount objects
+
+Fixes a lot of reported crashers with NFS/Samba volumes.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=674659
+---
+diff --git a/src/nautilus-places-sidebar.c b/src/nautilus-places-sidebar.c
+index 61f3658..672a4b0 100644
+--- a/src/nautilus-places-sidebar.c
++++ b/src/nautilus-places-sidebar.c
+@@ -774,7 +774,7 @@ update_places (NautilusPlacesSidebar *sidebar)
+ root = g_mount_get_default_location (mount);
+
+ if (!g_file_is_native (root)) {
+- network_mounts = g_list_prepend (network_mounts, g_object_ref (mount));
++ network_mounts = g_list_prepend (network_mounts, mount);
+ continue;
+ }
+
+@@ -856,7 +856,6 @@ update_places (NautilusPlacesSidebar *sidebar)
+ name, icon, mount_uri,
+ NULL, NULL, mount, 0, tooltip);
+ g_object_unref (root);
+- g_object_unref (mount);
+ g_object_unref (icon);
+ g_free (name);
+ g_free (mount_uri);
+--
+cgit v0.9.0.2