[gnome-shell-extension-pidgin/f16] 3.2 support

Tom Callaway spot at fedoraproject.org
Fri Sep 23 14:33:38 UTC 2011


commit 37bc4d96f5dfd2c158c2dff0d59560bc8f5d5f76
Author: Tom "spot" Callaway <tcallawa at redhat.com>
Date:   Fri Sep 23 10:32:57 2011 -0400

    3.2 support

 gnome-shell-extension-pidgin-gnome-shell-32.patch |   40 +++++++++++++++++++++
 gnome-shell-extension-pidgin.spec                 |    7 +++-
 2 files changed, 46 insertions(+), 1 deletions(-)
---
diff --git a/gnome-shell-extension-pidgin-gnome-shell-32.patch b/gnome-shell-extension-pidgin-gnome-shell-32.patch
new file mode 100644
index 0000000..2db3f99
--- /dev/null
+++ b/gnome-shell-extension-pidgin-gnome-shell-32.patch
@@ -0,0 +1,40 @@
+diff -up gnome-shell-extension-pidgin/extension.js.32fix gnome-shell-extension-pidgin/extension.js
+--- gnome-shell-extension-pidgin/extension.js.32fix	2011-09-23 10:18:44.088612208 -0400
++++ gnome-shell-extension-pidgin/extension.js	2011-09-23 10:23:36.191444555 -0400
+@@ -45,7 +45,7 @@ function _fixText(text) {
+ }
+ 
+ PidginNotification.prototype = {
+-    __proto__: TelepathyClient.Notification.prototype,
++    __proto__: TelepathyClient.ChatNotification.prototype,
+ 
+     appendMessage: function(message, noTimestamp, styles) {
+         let messageBody = _fixText(message.text);
+@@ -368,3 +368,14 @@ function main(metadata) {
+     // imports.gettext.bindtextdomain('gnome-shell-extensions', metadata.localedir);
+     let client = new PidginClient();
+ }
++
++function init() {
++}
++
++function enable() {
++    let client = new PidginClient();
++}
++
++function disable() {
++    let client = new TelepathyClient.Client();
++}
+diff -up gnome-shell-extension-pidgin/metadata.json.32fix gnome-shell-extension-pidgin/metadata.json
+--- gnome-shell-extension-pidgin/metadata.json.32fix	2011-09-23 10:18:44.098612065 -0400
++++ gnome-shell-extension-pidgin/metadata.json	2011-09-23 10:18:44.101612023 -0400
+@@ -1,8 +1,7 @@
+-{
++{"shell-version": ["3.1.92"], 
+  "uuid": "pidgin at gnome-shell-extensions.gnome.org",
+  "name": "Pidgin IM Integration",
+  "description": "Display Pidgin chats as notifications in the Shell message tray.",
+- "shell-version": [ "3.0" ],
+  "localedir": "/usr/share/locale",
+  "url": "https://github.com/kagesenshi/gnome-shell-extensions-pidgin"
+ }
diff --git a/gnome-shell-extension-pidgin.spec b/gnome-shell-extension-pidgin.spec
index 4b79a37..432fff9 100644
--- a/gnome-shell-extension-pidgin.spec
+++ b/gnome-shell-extension-pidgin.spec
@@ -3,7 +3,7 @@
 
 Name:		gnome-shell-extension-pidgin
 Version:	0
-Release:	0.2.git%{git}%{?dist}
+Release:	0.3.git%{git}%{?dist}
 Summary:	The components necessary to integrate Pidgin with GNOME Shell
 Group:		User Interface/Desktops
 License:	GPLv2+
@@ -20,6 +20,7 @@ Source3:	gnome-shell-extensions-pidgin-License.txt
 Source4:	http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
 Patch0:		gnomeShellPidgin-cleanup.patch
 Patch1:		gnome-shell-extension-pidgin-fix-metadata.patch
+Patch2:		gnome-shell-extension-pidgin-gnome-shell-32.patch
 BuildRequires:	libpurple-devel, dbus-devel, zlib-devel
 Requires:	gnome-shell >= 3.0.1
 Requires:	pidgin
@@ -44,6 +45,7 @@ cp %{SOURCE3} .
 cp %{SOURCE4} .
 %patch0 -p0 -b .cleanup
 %patch1 -p1 -b .fix-metadata
+%patch2 -p1 -b .32fix
 
 %build
 make CFLAGS="%{optflags}"
@@ -61,6 +63,9 @@ install -Dp -m 0644 {extension.js,metadata.json} \
 %{_libdir}/purple-2/libgnomeshell.so
 
 %changelog
+* Fri Sep 23 2011 Tom Callaway <spot at fedoraproject.org> - 0-0.3.git4ca78b1
+- gnome 3.2 fix
+
 * Wed Jun 15 2011 Tom Callaway <spot at fedoraproject.org> - 0-0.2.git4ca78b1
 - add gpl-2.0.txt and license explanation as docs
 


More information about the scm-commits mailing list