diff -Nru hijra-0.2.0/debian/changelog hijra-0.2.1/debian/changelog --- hijra-0.2.0/debian/changelog 2011-11-01 15:39:09.000000000 +0000 +++ hijra-0.2.1/debian/changelog 2012-02-16 14:06:04.000000000 +0000 @@ -1,3 +1,14 @@ +hijra (0.2.1-1) unstable; urgency=low + + * New upstream release. + * Dropped patch: gnome-shell_3.2.diff + * Bumped compat level to 9. + * debian/copyright: Updated copyright years. + * Added shell_3.2.x_compat.diff patch to make GNOME shell extension + compatible with GNOME shell 3.2.x + + -- أحمد المحمودي (Ahmed El-Mahmoudy) Thu, 16 Feb 2012 16:05:11 +0200 + hijra (0.2.0-2) unstable; urgency=low * Added gnome-shell_3.2.diff patch to update gnome-shell extension to be diff -Nru hijra-0.2.0/debian/compat hijra-0.2.1/debian/compat --- hijra-0.2.0/debian/compat 2011-11-01 15:39:09.000000000 +0000 +++ hijra-0.2.1/debian/compat 2012-02-16 14:06:04.000000000 +0000 @@ -1 +1 @@ -8 +9 diff -Nru hijra-0.2.0/debian/control hijra-0.2.1/debian/control --- hijra-0.2.0/debian/control 2011-11-01 15:39:09.000000000 +0000 +++ hijra-0.2.1/debian/control 2012-02-16 14:06:04.000000000 +0000 @@ -4,7 +4,7 @@ Maintainer: Debian Islamic Maintainers Uploaders: أحمد المحمودي (Ahmed El-Mahmoudy) DM-Upload-Allowed: yes -Build-Depends: debhelper (>= 8) +Build-Depends: debhelper (>= 9) Build-Depends-Indep: python-all (>= 2.6.6-3~), gettext Standards-Version: 3.9.2 Homepage: http://hijra.ojuba.org diff -Nru hijra-0.2.0/debian/copyright hijra-0.2.1/debian/copyright --- hijra-0.2.0/debian/copyright 2011-11-01 15:39:09.000000000 +0000 +++ hijra-0.2.1/debian/copyright 2012-02-16 14:06:04.000000000 +0000 @@ -8,7 +8,7 @@ License: Waqf Public License Files: debian/* -Copyright: 2008-2011 أحمد المحمودي (Ahmed El-Mahmoudy) +Copyright: 2008-2012 أحمد المحمودي (Ahmed El-Mahmoudy) License: GPL-3+ or Waqf Public License License: GPL-3+ diff -Nru hijra-0.2.0/debian/patches/gnome-shell_3.2.diff hijra-0.2.1/debian/patches/gnome-shell_3.2.diff --- hijra-0.2.0/debian/patches/gnome-shell_3.2.diff 2011-11-01 15:39:09.000000000 +0000 +++ hijra-0.2.1/debian/patches/gnome-shell_3.2.diff 1970-01-01 00:00:00.000000000 +0000 @@ -1,27 +0,0 @@ -Description: Update extension to be compatible with Gnome shell 3.2 -Origin: http://git.ojuba.org/cgit/hijra/commit/?id=1dced41103191e534b5687157cc0398243b79cf5 -diff --git a/gnome-shell-extension/extension.js b/gnome-shell-extension/extension.js -index 8d88b10..53ec736 100644 ---- a/gnome-shell-extension/extension.js -+++ b/gnome-shell-extension/extension.js -@@ -1,6 +1,6 @@ - const Panel = imports.ui.panel; - const StatusIconDispatcher = imports.ui.statusIconDispatcher; - --function main() { -+function init() { - StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['hijriapplet'] = 'hijriapplet'; - } -diff --git a/gnome-shell-extension/metadata.json b/gnome-shell-extension/metadata.json -index b1ae5ab..ea1b64f 100644 ---- a/gnome-shell-extension/metadata.json -+++ b/gnome-shell-extension/metadata.json -@@ -1 +1,7 @@ --{"shell-version": ["3.0.2"], "uuid": "HijriApplet@ojuba.org", "name": "HijriApplet", "description": "HijriApplet"} -+{ -+ "uuid": "HijriApplet@ojuba.org", -+ "shell-version": ["3.2"], -+ "name": "HijriApplet", -+ "description": "HijriApplet", -+ "url": "http://hijra.ojuba.org" -+} diff -Nru hijra-0.2.0/debian/patches/series hijra-0.2.1/debian/patches/series --- hijra-0.2.0/debian/patches/series 2011-11-01 15:39:09.000000000 +0000 +++ hijra-0.2.1/debian/patches/series 2012-02-16 14:06:04.000000000 +0000 @@ -1,2 +1,2 @@ setup_debian.diff -gnome-shell_3.2.diff +shell_3.2.x_compat.diff diff -Nru hijra-0.2.0/debian/patches/shell_3.2.x_compat.diff hijra-0.2.1/debian/patches/shell_3.2.x_compat.diff --- hijra-0.2.0/debian/patches/shell_3.2.x_compat.diff 1970-01-01 00:00:00.000000000 +0000 +++ hijra-0.2.1/debian/patches/shell_3.2.x_compat.diff 2012-02-16 14:06:04.000000000 +0000 @@ -0,0 +1,16 @@ +Description: Make Gnome shell extension to be compatible with Gnome shell 3.2.* +Origin: http://git.ojuba.org/cgit/hijra/commit/?id=9ef0c9b1c8a64feabbf111d6bf8e27a353ab8e03 +diff --git a/gnome-shell-extension/metadata.json b/gnome-shell-extension/metadata.json +index c2433c0..f24e3a8 100644 +--- a/gnome-shell-extension/metadata.json ++++ b/gnome-shell-extension/metadata.json +@@ -1,6 +1,6 @@ + { + "uuid": "HijriApplet@ojuba.org", +- "shell-version": ["3.2", "3.2.0"], ++ "shell-version": ["3.2"], + "name": "HijriApplet", + "description": "HijriApplet", + "url": "http://hijra.ojuba.org" + + diff -Nru hijra-0.2.0/gnome-shell-extension/extension.js hijra-0.2.1/gnome-shell-extension/extension.js --- hijra-0.2.0/gnome-shell-extension/extension.js 2011-07-28 13:15:57.000000000 +0000 +++ hijra-0.2.1/gnome-shell-extension/extension.js 2012-01-13 19:29:22.000000000 +0000 @@ -1,6 +1,15 @@ -const Panel = imports.ui.panel; + +//const Panel = imports.ui.panel; const StatusIconDispatcher = imports.ui.statusIconDispatcher; -function main() { - StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['hijriapplet'] = 'hijriapplet'; +function init(){ +} + +function enable() { + StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['hijriapplet'] = 'hijriapplet'; } + +function disable() { + StatusIconDispatcher.STANDARD_TRAY_ICON_IMPLEMENTATIONS['hijriapplet'] = ''; +} + diff -Nru hijra-0.2.0/gnome-shell-extension/metadata.json hijra-0.2.1/gnome-shell-extension/metadata.json --- hijra-0.2.0/gnome-shell-extension/metadata.json 2011-07-28 13:15:57.000000000 +0000 +++ hijra-0.2.1/gnome-shell-extension/metadata.json 2012-01-13 19:29:22.000000000 +0000 @@ -1 +1,7 @@ -{"shell-version": ["3.0.2"], "uuid": "HijriApplet@ojuba.org", "name": "HijriApplet", "description": "HijriApplet"} +{ + "uuid": "HijriApplet@ojuba.org", + "shell-version": ["3.2", "3.2.0"], + "name": "HijriApplet", + "description": "HijriApplet", + "url": "http://hijra.ojuba.org" +} diff -Nru hijra-0.2.0/hijra.spec hijra-0.2.1/hijra.spec --- hijra-0.2.0/hijra.spec 2011-07-28 13:15:57.000000000 +0000 +++ hijra-0.2.1/hijra.spec 2012-01-13 19:29:22.000000000 +0000 @@ -1,7 +1,7 @@ Name: hijra Summary: Hijri Islamic Calendar utils in python URL: http://hijra.ojuba.org -Version: 0.2.0 +Version: 0.2.1 Release: 1%{?dist} Source0: %{name}-%{version}.tar.bz2 License: Waqf @@ -41,7 +41,7 @@ Summary: Hijri Tray Applet for GNOME (also works with KDE) Group: System Environment/Base BuildArch: noarch -Requires: python, pygtk2, notify-python +Requires: python, pygtk2, notify-python, desktop-notification-daemon Requires: hijra-python Requires(post): desktop-file-utils %description applet @@ -87,6 +87,9 @@ %changelog +* Fri Jan 13 2012 Muayyad Saleh AlSadi - 0.2.1-1 +- update for gnome 3.2 support + * Wed Jul 20 2009 Muayyad Saleh AlSadi - 0.2.0-1 - gnome 3 support diff -Nru hijra-0.2.0/HijriApplet hijra-0.2.1/HijriApplet --- hijra-0.2.0/HijriApplet 2011-07-28 13:15:57.000000000 +0000 +++ hijra-0.2.1/HijriApplet 2012-01-13 19:29:22.000000000 +0000 @@ -365,7 +365,8 @@ self.win.set_icon_from_file(svg_fn) self.win.about.set_icon_from_file(svg_fn) self.win.update() - self.setup_notify(Y,M,D,W) + #self.setup_notify(Y,M,D,W) + self.show_notify() return True def show_popup_menu(self):