Hello community,

here is the log from the commit of package turpial for openSUSE:Factory checked 
in at 2012-02-06 16:41:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/turpial (Old)
 and      /work/SRC/openSUSE:Factory/.turpial.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "turpial", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/turpial/turpial.changes  2012-01-05 
19:16:23.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.turpial.new/turpial.changes     2012-02-06 
16:41:20.000000000 +0100
@@ -1,0 +2,12 @@
+Sun Feb  5 18:11:15 UTC 2012 - [email protected]
+
+- Update to version 1.6.9:
+  + Fixed minor bugs in setup.py and languages.
+- Update to version 1.6.8:
+  + Implemented basic integration with Unity.
+  + Fixed minor bugs with languages.
+- Removed chmod on AUTHORS, ChangeLog, COPYING and README.rst. Not
+  needed anymore.
+- Removed version, since this is not needed anymore.
+ 
+-------------------------------------------------------------------

Old:
----
  turpial-1.6.7-1.tar.gz

New:
----
  turpial-1.6.9.tar.gz

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

Other differences:
------------------
++++++ turpial.spec ++++++
--- /var/tmp/diff_new_pack.b6XMZ5/_old  2012-02-06 16:41:21.000000000 +0100
+++ /var/tmp/diff_new_pack.b6XMZ5/_new  2012-02-06 16:41:21.000000000 +0100
@@ -15,15 +15,15 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           turpial
-Version:        1.6.7.1
+Version:        1.6.9
 Release:        0
-%define _version 1.6.7-1
 Summary:        Lightweight, functional and integrated Twitter client
 License:        GPL-3.0+
 Group:          Productivity/Networking/Instant Messenger
 Url:            http://turpial.org.ve/
-Source:         
http://turpial.org.ve/files/sources/stable/%{name}-%{_version}.tar.gz
+Source:         
http://turpial.org.ve/files/sources/stable/%{name}-%{version}.tar.gz
 BuildRequires:  python-babel
 BuildRequires:  python-imaging
 BuildRequires:  python-setuptools
@@ -70,16 +70,7 @@
 %endif
 
 %prep
-%setup -q -n %{name}-%{_version}
-# fail when we can remove chmod
-test -x AUTHORS
-chmod -x AUTHORS
-test -x ChangeLog
-chmod -x ChangeLog
-test -x COPYING
-chmod -x COPYING
-test -x README.rst
-chmod -x README.rst
+%setup -q -n %{name}-%{version}
 
 %build
 python setup.py build
@@ -121,7 +112,7 @@
 %endif
 %doc AUTHORS ChangeLog COPYING README.rst
 %{python_sitelib}/%{name}/
-%{python_sitelib}/%{name}-1.6.7_1-py%{py_ver}.egg-info
+%{python_sitelib}/%{name}-1.6.9-py%{py_ver}.egg-info
 %{_bindir}/%{name}
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/pixmaps/%{name}.png

++++++ turpial-1.6.7-1.tar.gz -> turpial-1.6.9.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turpial-1.6.7-1/ChangeLog new/turpial-1.6.9/ChangeLog
--- old/turpial-1.6.7-1/ChangeLog       2011-12-30 01:18:34.000000000 +0100
+++ new/turpial-1.6.9/ChangeLog 2012-02-04 04:38:34.000000000 +0100
@@ -1,3 +1,10 @@
+v1.6.9 (Feb 04, 2012):
+    + Corregidos errores menores con el setup.py y los idiomas
+
+v1.6.8 (Feb 02, 2012):
+    + Implementada integración básica con Unity
+    + Corregidos errores menores con los idiomas
+    
 v1.6.7 (Dic 29, 2011):
     + Corregido bug sobre validación de certificados SSL
     
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turpial-1.6.7-1/PKG-INFO new/turpial-1.6.9/PKG-INFO
--- old/turpial-1.6.7-1/PKG-INFO        2012-01-04 16:24:19.000000000 +0100
+++ new/turpial-1.6.9/PKG-INFO  2012-02-04 05:52:56.000000000 +0100
@@ -1,10 +1,10 @@
 Metadata-Version: 1.0
 Name: turpial
-Version: 1.6.7-1
+Version: 1.6.9
 Summary: Cliente Twitter escrito en Python
 Home-page: http://turpial.org.ve
-Author: Milton Mazzarri
-Author-email: [email protected]
+Author: Wil Alvarez
+Author-email: [email protected]
 License: GPLv3
 Download-URL: http://turpial.org.ve/downloads
 Description: 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turpial-1.6.7-1/setup.py new/turpial-1.6.9/setup.py
--- old/turpial-1.6.7-1/setup.py        2012-01-02 04:36:52.000000000 +0100
+++ new/turpial-1.6.9/setup.py  2012-02-04 05:52:24.000000000 +0100
@@ -24,11 +24,10 @@
 """
 
 class build(_build):
-    sub_commands = [('compile_catalog', None), ] + _build.sub_commands
-
-    def run(self):
-        """Run all sub-commands"""
-        _build.run(self)
+    
+    def get_sub_commands(self):
+        sub_commands = _build.get_sub_commands(self)
+        return ['compile_catalog'] + sub_commands
 
 # TODO: Maybe find some better ways to do this
 # looking distutils's copy_tree method
@@ -46,9 +45,10 @@
 pattern = re.compile('turpial/i18n/')
 for root, dirs, files in os.walk(os.path.join('turpial', 'i18n')):
     for filename in files:
-        if filename.endswith('.mo'):
-            fullpath = os.path.join(root, filename)
-            dest = os.path.join('/', 'usr', 'share', 'locale', re.sub(pattern, 
'', root))
+        if filename.endswith('.po'):
+            # Yes, it's an ugly hack to build list of files that do not exist 
yet
+            fullpath = os.path.join(root, filename[0:-2] + 'mo')
+            dest = os.path.join('share', 'locale', re.sub(pattern, '', root))
             data_files.append((dest, [fullpath]))
 
 setup(name="turpial",
@@ -57,8 +57,8 @@
       long_description=LONG_DESCRIPTION,
       author="Wil Alvarez",
       author_email="[email protected]",
-      maintainer="Milton Mazzarri",
-      maintainer_email="[email protected]",
+      maintainer="Wil Alvarez",
+      maintainer_email="[email protected]",
       url="http://turpial.org.ve";,
       download_url="http://turpial.org.ve/downloads";,
       license="GPLv3",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turpial-1.6.7-1/turpial/config.py 
new/turpial-1.6.9/turpial/config.py
--- old/turpial-1.6.7-1/turpial/config.py       2012-01-02 05:22:16.000000000 
+0100
+++ new/turpial-1.6.9/turpial/config.py 2012-02-04 04:37:17.000000000 +0100
@@ -24,7 +24,7 @@
 
 GLOBAL_CFG = {
     'App':{
-        'version': '1.6.7-1',
+        'version': '1.6.9',
     },
     'Proxy':{
         'username': '',
Files old/turpial-1.6.7-1/turpial/i18n/ca/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/ca/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/ca_ES/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/ca_ES/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/cs/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/cs/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/de/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/de/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/en/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/en/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/es/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/es/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/es_ES/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/es_ES/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/es_VE/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/es_VE/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/eu/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/eu/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/fr/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/fr/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/gl/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/gl/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/he/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/he/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/hu/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/hu/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/it/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/it/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/nl/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/nl/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/nn/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/nn/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/pt/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/pt/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/pt_BR/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/pt_BR/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/ru/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/ru/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/ru_RU/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/ru_RU/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/sr/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/sr/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/uk_UA/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/uk_UA/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/zh_CN/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/zh_CN/LC_MESSAGES/turpial.mo differ
Files old/turpial-1.6.7-1/turpial/i18n/zh_TW/LC_MESSAGES/turpial.mo and 
new/turpial-1.6.9/turpial/i18n/zh_TW/LC_MESSAGES/turpial.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turpial-1.6.7-1/turpial/ui/gtk/indicator.py 
new/turpial-1.6.9/turpial/ui/gtk/indicator.py
--- old/turpial-1.6.7-1/turpial/ui/gtk/indicator.py     1970-01-01 
01:00:00.000000000 +0100
+++ new/turpial-1.6.9/turpial/ui/gtk/indicator.py       2012-02-04 
02:38:05.000000000 +0100
@@ -0,0 +1,89 @@
+# -*- coding: utf-8 -*-
+
+""" Indicator module for Turpial """
+#
+# Author: Wil Alvarez (aka Satanas)
+# Jan 24, 2012
+
+import os
+import gobject
+import logging
+
+log = logging.getLogger('Indicator')
+
+INDICATOR = True
+
+try:
+    import indicate
+except ImportError, exc:
+    log.debug('Could not import module')
+    print exc
+    INDICATOR = False
+
+class Indicators(gobject.GObject):
+    __gsignals__ = {
+        "main-clicked": (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, ()),
+        "indicator-clicked": (gobject.SIGNAL_RUN_FIRST, gobject.TYPE_NONE, 
+            (gobject.TYPE_PYOBJECT, )),
+    }
+    def __init__(self, disable=False):
+        gobject.GObject.__init__(self)
+        self.indicators = {}
+        self.activate()
+        self.disable = disable
+        
+        if not INDICATOR:
+            log.debug('Module not available')
+            self.disable = True
+            return
+        
+        if disable:
+            log.debug('Module disabled')
+        
+        desktop_file = os.path.join(os.getcwd(), "turpial.desktop")
+        
+        server = indicate.indicate_server_ref_default()
+        server.set_type("message.micro")
+        server.set_desktop_file(desktop_file)
+        server.show()
+        
+        server.connect("server-display", self.__on_server_display)
+    
+    def __on_server_display(self, server, data):
+        self.emit('main-clicked')
+    
+    def __on_user_display(self, indicator, data):
+        self.emit('indicator-clicked', indicator)
+    
+    def toggle_activation(self):
+        if self.active:
+            self.active = False
+        else:
+            self.active = True
+
+    def activate(self):
+        self.active = True
+        
+    def deactivate(self):
+        self.active = False
+    
+    def add_update(self, message, count):
+        if self.disable:
+            log.debug('Module disabled. Adding no indicators')
+            return
+        
+        global INDICATOR
+        if self.active and INDICATOR:
+            indicator = indicate.Indicator()
+            indicator.connect("user-display", self.__on_user_display)
+            indicator.set_property("name", message)
+            indicator.set_property("count", str(count))
+            indicator.label = message
+            self.indicators[message] = indicator
+            self.indicators[message].show()
+    
+    def clean(self):
+        for key, indicator in self.indicators.iteritems():
+            indicator.hide()
+
+gobject.type_register(Indicators)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turpial-1.6.7-1/turpial/ui/gtk/main.py 
new/turpial-1.6.9/turpial/ui/gtk/main.py
--- old/turpial-1.6.7-1/turpial/ui/gtk/main.py  2011-11-20 21:06:24.000000000 
+0100
+++ new/turpial-1.6.9/turpial/ui/gtk/main.py    2012-02-04 02:38:05.000000000 
+0100
@@ -22,6 +22,7 @@
 from turpial.ui.gtk.profile import Profile
 from turpial.notification import Notification
 from turpial.ui.gtk.updatebox import UpdateBox
+from turpial.ui.gtk.indicator import Indicators
 from turpial.ui.gtk.oauthwin import OAuthWindow
 from turpial.ui.gtk.preferences import Preferences
 from turpial.ui.gtk.uploadpicbox import UploadPicBox
@@ -79,6 +80,9 @@
         
         self.sound = Sound(controller.no_sound)
         self.notify = Notification(controller.no_notif)
+        self.indicator = Indicators()
+        self.indicator.connect('main-clicked', 
self.__on_main_indicator_clicked)
+        self.indicator.connect('indicator-clicked', 
self.__on_indicator_clicked)
         
         self.home = Home(self, self.workspace)
         self.profile = Profile(self)
@@ -117,7 +121,16 @@
                 self.move(self.win_wide_pos[0], self.win_wide_pos[1])
             else:
                 self.move(self.win_single_pos[0], self.win_single_pos[1])
-            
+    
+    def __on_main_indicator_clicked(self, indicator):
+        self.showed = True
+        self.show()
+        self.present()
+        
+    def __on_indicator_clicked(self, indicator, data):
+        self.indicator.clean()
+        self.__on_main_indicator_clicked(indicator)
+    
     def __on_focus(self, widget, event):
         self.tray.set_from_pixbuf(self.load_image('turpial-tray.png', True))
     
@@ -227,6 +240,7 @@
         text = "<b>@%s</b> %s" % (p.username, twt)
         
         self.notify.new_tweets(column.title, count, tobject, text, icon)
+        self.indicator.add_update(column.title, count)
         
         if self.read_config_value('Notifications', 'sound') == 'on':
             if column.id == 'replies':
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turpial-1.6.7-1/turpial.egg-info/PKG-INFO 
new/turpial-1.6.9/turpial.egg-info/PKG-INFO
--- old/turpial-1.6.7-1/turpial.egg-info/PKG-INFO       2012-01-04 
16:24:18.000000000 +0100
+++ new/turpial-1.6.9/turpial.egg-info/PKG-INFO 2012-02-04 05:52:56.000000000 
+0100
@@ -1,10 +1,10 @@
 Metadata-Version: 1.0
 Name: turpial
-Version: 1.6.7-1
+Version: 1.6.9
 Summary: Cliente Twitter escrito en Python
 Home-page: http://turpial.org.ve
-Author: Milton Mazzarri
-Author-email: [email protected]
+Author: Wil Alvarez
+Author-email: [email protected]
 License: GPLv3
 Download-URL: http://turpial.org.ve/downloads
 Description: 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/turpial-1.6.7-1/turpial.egg-info/SOURCES.txt 
new/turpial-1.6.9/turpial.egg-info/SOURCES.txt
--- old/turpial-1.6.7-1/turpial.egg-info/SOURCES.txt    2012-01-04 
16:24:19.000000000 +0100
+++ new/turpial-1.6.9/turpial.egg-info/SOURCES.txt      2012-02-04 
05:52:56.000000000 +0100
@@ -137,29 +137,53 @@
 turpial/data/themes/default/tweet.html
 turpial/data/themes/default/tweet_template.html
 turpial/i18n/turpial.pot
+turpial/i18n/ca/LC_MESSAGES/turpial.mo
 turpial/i18n/ca/LC_MESSAGES/turpial.po
+turpial/i18n/ca_ES/LC_MESSAGES/turpial.mo
 turpial/i18n/ca_ES/LC_MESSAGES/turpial.po
+turpial/i18n/cs/LC_MESSAGES/turpial.mo
 turpial/i18n/cs/LC_MESSAGES/turpial.po
+turpial/i18n/de/LC_MESSAGES/turpial.mo
 turpial/i18n/de/LC_MESSAGES/turpial.po
+turpial/i18n/en/LC_MESSAGES/turpial.mo
 turpial/i18n/en/LC_MESSAGES/turpial.po
+turpial/i18n/es/LC_MESSAGES/turpial.mo
 turpial/i18n/es/LC_MESSAGES/turpial.po
+turpial/i18n/es_ES/LC_MESSAGES/turpial.mo
 turpial/i18n/es_ES/LC_MESSAGES/turpial.po
+turpial/i18n/es_VE/LC_MESSAGES/turpial.mo
 turpial/i18n/es_VE/LC_MESSAGES/turpial.po
+turpial/i18n/eu/LC_MESSAGES/turpial.mo
 turpial/i18n/eu/LC_MESSAGES/turpial.po
+turpial/i18n/fr/LC_MESSAGES/turpial.mo
 turpial/i18n/fr/LC_MESSAGES/turpial.po
+turpial/i18n/gl/LC_MESSAGES/turpial.mo
 turpial/i18n/gl/LC_MESSAGES/turpial.po
+turpial/i18n/he/LC_MESSAGES/turpial.mo
 turpial/i18n/he/LC_MESSAGES/turpial.po
+turpial/i18n/hu/LC_MESSAGES/turpial.mo
 turpial/i18n/hu/LC_MESSAGES/turpial.po
+turpial/i18n/it/LC_MESSAGES/turpial.mo
 turpial/i18n/it/LC_MESSAGES/turpial.po
+turpial/i18n/nl/LC_MESSAGES/turpial.mo
 turpial/i18n/nl/LC_MESSAGES/turpial.po
+turpial/i18n/nn/LC_MESSAGES/turpial.mo
 turpial/i18n/nn/LC_MESSAGES/turpial.po
+turpial/i18n/pt/LC_MESSAGES/turpial.mo
 turpial/i18n/pt/LC_MESSAGES/turpial.po
+turpial/i18n/pt_BR/LC_MESSAGES/turpial.mo
 turpial/i18n/pt_BR/LC_MESSAGES/turpial.po
+turpial/i18n/ru/LC_MESSAGES/turpial.mo
 turpial/i18n/ru/LC_MESSAGES/turpial.po
+turpial/i18n/ru_RU/LC_MESSAGES/turpial.mo
 turpial/i18n/ru_RU/LC_MESSAGES/turpial.po
+turpial/i18n/sr/LC_MESSAGES/turpial.mo
 turpial/i18n/sr/LC_MESSAGES/turpial.po
+turpial/i18n/uk_UA/LC_MESSAGES/turpial.mo
 turpial/i18n/uk_UA/LC_MESSAGES/turpial.po
+turpial/i18n/zh_CN/LC_MESSAGES/turpial.mo
 turpial/i18n/zh_CN/LC_MESSAGES/turpial.po
+turpial/i18n/zh_TW/LC_MESSAGES/turpial.mo
 turpial/i18n/zh_TW/LC_MESSAGES/turpial.po
 turpial/ui/__init__.py
 turpial/ui/base_ui.py
@@ -176,6 +200,7 @@
 turpial/ui/gtk/follow.py
 turpial/ui/gtk/friendwin.py
 turpial/ui/gtk/home.py
+turpial/ui/gtk/indicator.py
 turpial/ui/gtk/login.py
 turpial/ui/gtk/loginlabel.py
 turpial/ui/gtk/main.py

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

Reply via email to