packages: folks/folks.spec, folks/telepathy-glib-vala.patch (NEW) - 0.2.0

patrys patrys at pld-linux.org
Tue Sep 28 22:46:52 CEST 2010


Author: patrys                       Date: Tue Sep 28 20:46:52 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- 0.2.0

---- Files affected:
packages/folks:
   folks.spec (1.1 -> 1.2) , telepathy-glib-vala.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/folks/folks.spec
diff -u packages/folks/folks.spec:1.1 packages/folks/folks.spec:1.2
--- packages/folks/folks.spec:1.1	Tue Aug 31 14:04:29 2010
+++ packages/folks/folks.spec	Tue Sep 28 22:46:47 2010
@@ -1,13 +1,14 @@
 # $Revision$, $Date$
 Summary:	GObject contact aggregation library
 Name:		folks
-Version:	0.1.15
+Version:	0.2.0
 Release:	1
 License:	LGPL v2+
 Group:		Libraries
 URL:		http://telepathy.freedesktop.org/wiki/Folks
-Source0:	http://download.gnome.org/sources/folks/0.1/%{name}-%{version}.tar.bz2
-# Source0-md5:	cb2e04f69bf619943b9ec4b0a6ebc534
+Source0:	http://download.gnome.org/sources/folks/0.2/%{name}-%{version}.tar.bz2
+# Source0-md5:	8c66c03d942313db735f6eb375c2f71a
+Patch0:		telepathy-glib-vala.patch
 BuildRequires:	libgee-devel
 BuildRequires:	telepathy-glib-devel
 BuildRequires:	vala >= 0.9.7
@@ -30,7 +31,7 @@
 
 %prep
 %setup -q
-
+%patch0 -p1
 
 %build
 %configure \
@@ -50,11 +51,14 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
+%attr(755,root,root) %{_bindir}/folks-import
 %attr(755,root,root) %{_libdir}/libfolks.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libfolks.so.0
 %attr(755,root,root) %{_libdir}/libfolks-telepathy.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libfolks-telepathy.so.0
 %{_libdir}/folks
+%{_datadir}/vala/vapi/folks.*
+%{_datadir}/vala/vapi/folks-telepathy.*
 
 %files devel
 %defattr(644,root,root,755)
@@ -72,6 +76,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2010/09/28 20:46:47  patrys
+- 0.2.0
+
 Revision 1.1  2010/08/31 12:04:29  patrys
 - initial PLD release
 

================================================================
Index: packages/folks/telepathy-glib-vala.patch
diff -u /dev/null packages/folks/telepathy-glib-vala.patch:1.1
--- /dev/null	Tue Sep 28 22:46:53 2010
+++ packages/folks/telepathy-glib-vala.patch	Tue Sep 28 22:46:47 2010
@@ -0,0 +1,51 @@
+diff -ur folks-0.2.0/backends/telepathy/lib/tpf-persona-store.vala folks-new/backends/telepathy/lib/tpf-persona-store.vala
+--- folks-0.2.0/backends/telepathy/lib/tpf-persona-store.vala	2010-09-18 16:44:38.000000000 +0200
++++ folks-new/backends/telepathy/lib/tpf-persona-store.vala	2010-09-28 22:40:15.895273003 +0200
+@@ -350,7 +350,7 @@
+       else if (new_status != TelepathyGLib.ConnectionStatus.CONNECTED)
+         return;
+ 
+-      var conn = this.account.get_connection ();
++      var conn = this.account.connection;
+       conn.notify["connection-ready"].connect (this.connection_ready_cb);
+ 
+       /* Deal with the case where the connection is already ready
+@@ -806,7 +806,7 @@
+         {
+           /* the changes queued above will be resolve in the NewChannels handler
+            */
+-          this.ll.connection_create_group_async (this.account.get_connection (),
++          this.ll.connection_create_group_async (this.account.connection,
+               group);
+         }
+       else
+diff -ur folks-0.2.0/backends/telepathy/lib/tpf-persona.vala folks-new/backends/telepathy/lib/tpf-persona.vala
+--- folks-0.2.0/backends/telepathy/lib/tpf-persona.vala	2010-09-18 16:44:38.000000000 +0200
++++ folks-new/backends/telepathy/lib/tpf-persona.vala	2010-09-28 22:41:22.675273004 +0200
+@@ -197,7 +197,7 @@
+         throw new Tpf.PersonaError.INVALID_ARGUMENT ("contact has an " +
+             "invalid ID");
+ 
+-      var account = account_for_connection (contact.get_connection ());
++      var account = account_for_connection (contact.connection);
+       string uid = this.build_uid ("telepathy", account.get_protocol (), id);
+ 
+       var alias = contact.get_alias ();
+@@ -293,7 +293,7 @@
+       accounts.foreach ((l) =>
+         {
+           unowned Account account = (Account) l;
+-          if (account.get_connection () == conn)
++          if (account.connection == conn)
+             {
+               account_found = account;
+               return;
+@@ -344,7 +344,7 @@
+ 
+   private void contact_notify_avatar ()
+     {
+-      var file = this.contact.get_avatar_file ();
++      var file = this.contact.avatar_file;
+       if (this.avatar != file)
+         this.avatar = file;
+     }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/folks/folks.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list