Hello community,

here is the log from the commit of package gnome-online-accounts for 
openSUSE:Factory
checked in at Fri Jul 22 08:58:13 CEST 2011.



--------
--- gnome-online-accounts/gnome-online-accounts.changes 2011-07-03 
15:29:57.000000000 +0200
+++ 
/mounts/work_src_done/STABLE/gnome-online-accounts/gnome-online-accounts.changes
    2011-07-20 10:05:05.000000000 +0200
@@ -1,0 +2,12 @@
+Mon Jul 18 22:25:32 UTC 2011 - [email protected]
+
+- Add libsocialweb-branding-openSUSE BuildRequires. This package
+  contains our API keys for the various backends.
+- Pass --enable-twitter and the corresponding keys to configure.
+  This allows us to enable the twitter backend for
+  gnome-online-accounts. Part of bnc#703759.
+- For completeness pass --enable-google to configure. It's there by
+  default and it does not require API keys; anonymous works just
+  fine.
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gnome-online-accounts.spec ++++++
--- /var/tmp/diff_new_pack.2dH7Eb/_old  2011-07-22 08:57:34.000000000 +0200
+++ /var/tmp/diff_new_pack.2dH7Eb/_new  2011-07-22 08:57:34.000000000 +0200
@@ -20,7 +20,7 @@
 
 Name:           gnome-online-accounts
 Version:        3.1.1
-Release:        1
+Release:        3
 License:        LGPLv2+
 Summary:        GNOME service to access online accounts
 Url:            http://www.gnome.org
@@ -30,6 +30,9 @@
 BuildRequires:  gobject-introspection-devel
 BuildRequires:  gtk-doc
 BuildRequires:  intltool
+# libsocialweb-branding-openSUSE is a package that already contains the right 
API keys. Instead of
+# duplicating them in the .spec file here, we include them from 
libsocialweb-branding.
+BuildRequires:  libsocialweb-branding-openSUSE
 BuildRequires:  update-desktop-files
 BuildRequires:  pkgconfig(glib-2.0)
 BuildRequires:  pkgconfig(gnome-keyring-1)
@@ -86,9 +89,20 @@
 %setup -q
 
 %build
+TWITTER=$(cat %{_datadir}/libsocialweb/keys/twitter)
+if test "x$TWITTER" = "x"; then
+    echo "No API keys for twitter."
+    false
+fi
+TWITTER_KEY=$(echo $TWITTER | awk '{print $1}')
+TWITTER_SECRET=$(echo $TWITTER | awk '{print $2}')
 %configure \
         --disable-static \
-        --enable-gtk-doc
+        --enable-gtk-doc \
+        --enable-twitter \
+        --with-twitter-consumer-key=$TWITTER_KEY \
+        --with-twitter-consumer-secret=$TWITTER_SECRET \
+        --enable-google
 make %{?_smp_mflags}
 
 %install


++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to