[arch-commits] Commit in folks/repos (6 files)

Jan Steffens heftig at archlinux.org
Tue Sep 13 21:34:06 UTC 2011


    Date: Tuesday, September 13, 2011 @ 17:34:06
  Author: heftig
Revision: 138001

archrelease: copy trunk to gnome-unstable-i686, gnome-unstable-x86_64

Added:
  folks/repos/gnome-unstable-i686/Bug_658631_crash_at_empathy_startup.patch
    (from rev 138000, folks/trunk/Bug_658631_crash_at_empathy_startup.patch)
  folks/repos/gnome-unstable-i686/PKGBUILD
    (from rev 138000, folks/trunk/PKGBUILD)
  folks/repos/gnome-unstable-x86_64/Bug_658631_crash_at_empathy_startup.patch
    (from rev 138000, folks/trunk/Bug_658631_crash_at_empathy_startup.patch)
  folks/repos/gnome-unstable-x86_64/PKGBUILD
    (from rev 138000, folks/trunk/PKGBUILD)
Deleted:
  folks/repos/gnome-unstable-i686/PKGBUILD
  folks/repos/gnome-unstable-x86_64/PKGBUILD

-----------------------------------------------------------------+
 gnome-unstable-i686/Bug_658631_crash_at_empathy_startup.patch   |   41 ++++++
 gnome-unstable-i686/PKGBUILD                                    |   64 +++++-----
 gnome-unstable-x86_64/Bug_658631_crash_at_empathy_startup.patch |   41 ++++++
 gnome-unstable-x86_64/PKGBUILD                                  |   64 +++++-----
 4 files changed, 156 insertions(+), 54 deletions(-)

Copied: folks/repos/gnome-unstable-i686/Bug_658631_crash_at_empathy_startup.patch (from rev 138000, folks/trunk/Bug_658631_crash_at_empathy_startup.patch)
===================================================================
--- gnome-unstable-i686/Bug_658631_crash_at_empathy_startup.patch	                        (rev 0)
+++ gnome-unstable-i686/Bug_658631_crash_at_empathy_startup.patch	2011-09-13 21:34:06 UTC (rev 138001)
@@ -0,0 +1,41 @@
+From 1f85f89051e63b05e271b418687c242a83e2f296 Mon Sep 17 00:00:00 2001
+From: Philip Withnall <philip at tecnocode.co.uk>
+Date: Mon, 12 Sep 2011 22:09:10 +0000
+Subject: Bug 658631 — crash at empathy startup
+
+In the case that a persona is removed and the individual containing that
+persona is replaced by a different non-null individual which doesn't contain
+that persona (because it's been removed), we need to set the persona's
+individual pointer to null rather than the replacement individual.
+
+This stops us tripping the assertion in the setter for Persona.individual.
+
+Closes: bgo#658631
+---
+diff --git a/folks/individual.vala b/folks/individual.vala
+index 3b6c12b..59548ee 100644
+--- a/folks/individual.vala
++++ b/folks/individual.vala
+@@ -1510,7 +1510,19 @@ public class Folks.Individual : Object,
+        * aggregator's rewritten, it would be nice to fix this. */
+       if (persona.individual == this)
+         {
+-          persona.individual = replacement_individual;
++          /* It may be the case that the persona's being removed from the
++           * individual (i.e. the replacement individual is non-null, but
++           * doesn't contain this persona). In this case, we need to set the
++           * persona's individual to null. */
++          if (replacement_individual != null &&
++              persona in replacement_individual.personas)
++            {
++              persona.individual = replacement_individual;
++            }
++          else
++            {
++              persona.individual = null;
++            }
+         }
+     }
+ 
+--
+cgit v0.9.0.2

Deleted: gnome-unstable-i686/PKGBUILD
===================================================================
--- gnome-unstable-i686/PKGBUILD	2011-09-13 21:31:42 UTC (rev 138000)
+++ gnome-unstable-i686/PKGBUILD	2011-09-13 21:34:06 UTC (rev 138001)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-pkgname=folks
-pkgver=0.6.2.1
-pkgrel=1
-pkgdesc="Library to aggregates people into metacontacts "
-arch=(i686 x86_64)
-url="http://telepathy.freedesktop.org/wiki/Folks"
-license=('LGPL2.1')
-depends=('telepathy-glib' 'libgee' 'libxml2' 'evolution-data-server' 'libsocialweb')
-makedepends=('gobject-introspection' 'vala' 'intltool')
-options=('!libtool')
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('3eda79a71890b51b6f723067b61c32ef25e9041a9e188b483d7f23e3dcd328ee')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: folks/repos/gnome-unstable-i686/PKGBUILD (from rev 138000, folks/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-i686/PKGBUILD	                        (rev 0)
+++ gnome-unstable-i686/PKGBUILD	2011-09-13 21:34:06 UTC (rev 138001)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+pkgname=folks
+pkgver=0.6.2.1
+pkgrel=2
+pkgdesc="Library to aggregates people into metacontacts "
+arch=(i686 x86_64)
+url="http://telepathy.freedesktop.org/wiki/Folks"
+license=('LGPL2.1')
+depends=('telepathy-glib' 'libgee' 'libxml2' 'evolution-data-server' 'libsocialweb')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'libtracker-sparql')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.xz
+        Bug_658631_crash_at_empathy_startup.patch)
+sha256sums=('3eda79a71890b51b6f723067b61c32ef25e9041a9e188b483d7f23e3dcd328ee'
+            '4ef4caaab73e799fe31e7a93ba1f3f088e99f66600e644828bbcc4fb966c1196')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Fix a crash
+  patch -Np1 -i "$srcdir/Bug_658631_crash_at_empathy_startup.patch"
+  find . -name '*.stamp' -delete
+
+  # Change tracker version
+  grep -lr sparql-0.10 . | xargs sed -i 's/sparql-0.10/sparql-0.12/g'
+
+  ./configure --prefix=/usr --enable-tracker-backend
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:

Copied: folks/repos/gnome-unstable-x86_64/Bug_658631_crash_at_empathy_startup.patch (from rev 138000, folks/trunk/Bug_658631_crash_at_empathy_startup.patch)
===================================================================
--- gnome-unstable-x86_64/Bug_658631_crash_at_empathy_startup.patch	                        (rev 0)
+++ gnome-unstable-x86_64/Bug_658631_crash_at_empathy_startup.patch	2011-09-13 21:34:06 UTC (rev 138001)
@@ -0,0 +1,41 @@
+From 1f85f89051e63b05e271b418687c242a83e2f296 Mon Sep 17 00:00:00 2001
+From: Philip Withnall <philip at tecnocode.co.uk>
+Date: Mon, 12 Sep 2011 22:09:10 +0000
+Subject: Bug 658631 — crash at empathy startup
+
+In the case that a persona is removed and the individual containing that
+persona is replaced by a different non-null individual which doesn't contain
+that persona (because it's been removed), we need to set the persona's
+individual pointer to null rather than the replacement individual.
+
+This stops us tripping the assertion in the setter for Persona.individual.
+
+Closes: bgo#658631
+---
+diff --git a/folks/individual.vala b/folks/individual.vala
+index 3b6c12b..59548ee 100644
+--- a/folks/individual.vala
++++ b/folks/individual.vala
+@@ -1510,7 +1510,19 @@ public class Folks.Individual : Object,
+        * aggregator's rewritten, it would be nice to fix this. */
+       if (persona.individual == this)
+         {
+-          persona.individual = replacement_individual;
++          /* It may be the case that the persona's being removed from the
++           * individual (i.e. the replacement individual is non-null, but
++           * doesn't contain this persona). In this case, we need to set the
++           * persona's individual to null. */
++          if (replacement_individual != null &&
++              persona in replacement_individual.personas)
++            {
++              persona.individual = replacement_individual;
++            }
++          else
++            {
++              persona.individual = null;
++            }
+         }
+     }
+ 
+--
+cgit v0.9.0.2

Deleted: gnome-unstable-x86_64/PKGBUILD
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	2011-09-13 21:31:42 UTC (rev 138000)
+++ gnome-unstable-x86_64/PKGBUILD	2011-09-13 21:34:06 UTC (rev 138001)
@@ -1,27 +0,0 @@
-# $Id$
-# Maintainer: Ionut Biru <ibiru at archlinux.org>
-pkgname=folks
-pkgver=0.6.2.1
-pkgrel=1
-pkgdesc="Library to aggregates people into metacontacts "
-arch=(i686 x86_64)
-url="http://telepathy.freedesktop.org/wiki/Folks"
-license=('LGPL2.1')
-depends=('telepathy-glib' 'libgee' 'libxml2' 'evolution-data-server' 'libsocialweb')
-makedepends=('gobject-introspection' 'vala' 'intltool')
-options=('!libtool')
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('3eda79a71890b51b6f723067b61c32ef25e9041a9e188b483d7f23e3dcd328ee')
-
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
-  ./configure --prefix=/usr
-  make
-}
-
-package() {
-  cd "$srcdir/$pkgname-$pkgver"
-  make DESTDIR="$pkgdir" install
-}
-
-# vim:set ts=2 sw=2 et:

Copied: folks/repos/gnome-unstable-x86_64/PKGBUILD (from rev 138000, folks/trunk/PKGBUILD)
===================================================================
--- gnome-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ gnome-unstable-x86_64/PKGBUILD	2011-09-13 21:34:06 UTC (rev 138001)
@@ -0,0 +1,37 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+pkgname=folks
+pkgver=0.6.2.1
+pkgrel=2
+pkgdesc="Library to aggregates people into metacontacts "
+arch=(i686 x86_64)
+url="http://telepathy.freedesktop.org/wiki/Folks"
+license=('LGPL2.1')
+depends=('telepathy-glib' 'libgee' 'libxml2' 'evolution-data-server' 'libsocialweb')
+makedepends=('gobject-introspection' 'vala' 'intltool' 'libtracker-sparql')
+options=('!libtool')
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/0.6/${pkgname}-${pkgver}.tar.xz
+        Bug_658631_crash_at_empathy_startup.patch)
+sha256sums=('3eda79a71890b51b6f723067b61c32ef25e9041a9e188b483d7f23e3dcd328ee'
+            '4ef4caaab73e799fe31e7a93ba1f3f088e99f66600e644828bbcc4fb966c1196')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # Fix a crash
+  patch -Np1 -i "$srcdir/Bug_658631_crash_at_empathy_startup.patch"
+  find . -name '*.stamp' -delete
+
+  # Change tracker version
+  grep -lr sparql-0.10 . | xargs sed -i 's/sparql-0.10/sparql-0.12/g'
+
+  ./configure --prefix=/usr --enable-tracker-backend
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:




More information about the arch-commits mailing list