Hello community,

here is the log from the commit of package djvusmooth for openSUSE:Factory 
checked in at 2012-06-18 17:33:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/djvusmooth (Old)
 and      /work/SRC/openSUSE:Factory/.djvusmooth.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "djvusmooth", Maintainer is ""

Changes:
--------
--- /work/SRC/openSUSE:Factory/djvusmooth/djvusmooth.changes    2012-05-03 
10:55:23.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.djvusmooth.new/djvusmooth.changes       
2012-06-18 17:33:34.000000000 +0200
@@ -1,0 +2,11 @@
+Sat Jun 16 18:07:48 UTC 2012 - lazy.k...@opensuse.org
+
+- Update to 0.2.12.
+  * Rename menu item “Edit → Outline → Remove” to “… → Remove all”.
+  * Use our own minimal XDG Base Directory implementation instead
+    of PyXDG.
+  * Add Spanish translation.
+  * Update Russian translation.
+- Doesn't require fdupes.
+
+-------------------------------------------------------------------

Old:
----
  djvusmooth-0.2.11.tar.gz

New:
----
  djvusmooth-0.2.12.tar.gz

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

Other differences:
------------------
++++++ djvusmooth.spec ++++++
--- /var/tmp/diff_new_pack.2Lzyzc/_old  2012-06-18 17:33:35.000000000 +0200
+++ /var/tmp/diff_new_pack.2Lzyzc/_new  2012-06-18 17:33:35.000000000 +0200
@@ -15,16 +15,16 @@
 # Please submit bugfixes or comments via http://bugs.opensuse.org/
 #
 
+
 Name:           djvusmooth
-Version:        0.2.11
+Version:        0.2.12
 Release:        0
-License:        GPL-2.0
 Summary:        Graphical Text Editor for DjVu
-Url:            http://jwilk.net/software/djvusmooth
+License:        GPL-2.0
 Group:          Productivity/Publishing/Other
+Url:            http://jwilk.net/software/djvusmooth
 Source0:        
http://pypi.python.org/packages/source/d/%{name}/%{name}-%{version}.tar.gz
 Source1:        djvusmooth.png
-BuildRequires:  fdupes
 BuildRequires:  hicolor-icon-theme
 %if 0%{?suse_version} >= 1210
 BuildRequires:  python-distribute
@@ -37,8 +37,8 @@
 BuildRequires:  python-djvulibre
 Requires:       djvulibre
 Requires:       python-djvulibre
-Requires:       python-xdg
 Requires:       python-wxWidgets
+Requires:       python-xdg
 Recommends:     %{name}-lang
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildArch:      noarch
@@ -55,8 +55,8 @@
 %build
 
 %install
-# Create desktop file.
-cat > %{name}.desktop << EOF
+# Replace desktop file. Provided one isn't good enough.
+cat > extra/%{name}.desktop << EOF
 [Desktop Entry]
 Name=DjVuSmooth
 GenericName=Graphical Text Editor for DjVu
@@ -81,12 +81,12 @@
 install -Dm 0644 %{SOURCE1} \
     %{buildroot}%{_datadir}/icons/hicolor/48x48/apps/%{name}.png
 
-# Remove locales and man from list.
-sed -i '/locale/d;/\/man\/man/d' INSTALLED_FILES
+# Remove locales, man and standard directory from the list.
+sed -i '/locale/d;/\/man\/man/d;/%dir \/usr\/share\/applications/d' \
+    INSTALLED_FILES
 
 %find_lang %{name}
-%suse_update_desktop_file -i %{name}
-%fdupes -s %{buildroot}%{_datadir}
+%suse_update_desktop_file %{name}
 
 %post
 %desktop_database_post
@@ -101,7 +101,6 @@
 %doc COPYING doc/changelog
 %{_datadir}/applications/%{name}.desktop
 %{_datadir}/icons/hicolor/*/*/%{name}.png
-%{_datadir}/pixmaps/%{name}.png
 %doc %{_mandir}/man?/*
 
 %files lang -f %{name}.lang

++++++ djvusmooth-0.2.11.tar.gz -> djvusmooth-0.2.12.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/MANIFEST.in 
new/djvusmooth-0.2.12/MANIFEST.in
--- old/djvusmooth-0.2.11/MANIFEST.in   2011-08-27 00:37:33.000000000 +0200
+++ new/djvusmooth-0.2.12/MANIFEST.in   2012-03-13 21:01:47.000000000 +0100
@@ -3,8 +3,10 @@
 include djvusmooth edit-text
 include djvusmooth.py
 include doc/*.1
+include doc/*.txt
 include doc/*.xml
 include doc/changelog
+include extra/*
 include po/*.po
 include update-i18n
-recursive-include lib/ *.py
+recursive-include lib *.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/PKG-INFO 
new/djvusmooth-0.2.12/PKG-INFO
--- old/djvusmooth-0.2.11/PKG-INFO      2011-12-11 23:02:50.000000000 +0100
+++ new/djvusmooth-0.2.12/PKG-INFO      2012-06-13 20:57:01.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: djvusmooth
-Version: 0.2.11
+Version: 0.2.12
 Summary: graphical editor for DjVu
 Home-page: http://jwilk.net/software/djvusmooth
 Author: Jakub Wilk
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/doc/changelog 
new/djvusmooth-0.2.12/doc/changelog
--- old/djvusmooth-0.2.11/doc/changelog 2011-12-11 22:57:55.000000000 +0100
+++ new/djvusmooth-0.2.12/doc/changelog 2012-06-13 20:53:50.000000000 +0200
@@ -1,3 +1,14 @@
+djvusmooth (0.2.12) unstable; urgency=low
+
+  * Install desktop file.
+  * Update the Russian translation, thanks to Kyrill Detinov.
+  * Add Spanish translation, contributed by C. Daniel Sanchez R.
+  * Rename menu item “Edit → Outline → Remove” to “… → Remove all”.
+    Thanks to Maxim Leyenson for the bug report.
+  * Use our own minimal XDG Base Directory implementation instead of PyXDG.
+
+ -- Jakub Wilk <jw...@jwilk.net>  Wed, 13 Jun 2012 20:53:49 +0200
+
 djvusmooth (0.2.11) unstable; urgency=low
 
   * Let the setup.py script build and install binary message catalogs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/doc/credits.txt 
new/djvusmooth-0.2.12/doc/credits.txt
--- old/djvusmooth-0.2.11/doc/credits.txt       1970-01-01 01:00:00.000000000 
+0100
+++ new/djvusmooth-0.2.12/doc/credits.txt       2012-02-18 20:14:34.000000000 
+0100
@@ -0,0 +1,3 @@
+Since May 2009 djvusmooth development has been supported by the Polish Ministry
+of Science and Higher Education's grant no. N N519 384036 (2009 - 2012,
+https://bitbucket.org/jsbien/ndt).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/doc/djvusmooth.1 
new/djvusmooth-0.2.12/doc/djvusmooth.1
--- old/djvusmooth-0.2.11/doc/djvusmooth.1      2011-11-21 20:04:00.000000000 
+0100
+++ new/djvusmooth-0.2.12/doc/djvusmooth.1      2012-06-12 20:22:38.000000000 
+0200
@@ -2,12 +2,12 @@
 .\"     Title: djvusmooth
 .\"    Author: Jakub Wilk <jw...@jwilk.net>
 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
-.\"      Date: 11/21/2011
+.\"      Date: 06/12/2012
 .\"    Manual: djvusmooth manual
-.\"    Source: djvusmooth 0.2.11
+.\"    Source: djvusmooth 0.2.12
 .\"  Language: English
 .\"
-.TH "DJVUSMOOTH" "1" "11/21/2011" "djvusmooth 0\&.2\&.11" "djvusmooth manual"
+.TH "DJVUSMOOTH" "1" 2012-06-12 "djvusmooth 0\&.2\&.12" "djvusmooth manual"
 .\" -----------------------------------------------------------------
 .\" * Define some portability stuff
 .\" -----------------------------------------------------------------
@@ -77,7 +77,7 @@
 $HOME/\&.config\&.
 .sp
 See
-\m[blue]\fBXDG Base Directory Specification\fR\m[]\&\s-2\u[1]\d\s+2
+\m[blue]\fIXDG Base Directory Specification\fR\m[]\&\s-2\u[1]\d\s+2
 for details\&.
 .RE
 .SH "FILES"
@@ -89,7 +89,11 @@
 .SH "PORTABILITY"
 .PP
 djvusmooth allows one to create hyperlinks with shadow borders as thin as 1 
pixel, as specified by the
-\m[blue]\fBLizardtech DjVu Reference\fR\m[]\&\s-2\u[2]\d\s+2\&. However, some 
DjVu browsers do not accept shadow borders thinner than 3 pixels\&.
+\m[blue]\fILizardtech DjVu Reference\fR\m[]\&\s-2\u[2]\d\s+2\&. However, some 
DjVu browsers do not accept shadow borders thinner than 3 pixels\&.
+.SH "REPORTING BUGS"
+.PP
+Please report bugs at:
+\m[blue]\fI\%https://bitbucket.org/jwilk/djvusmooth/issues\fR\m[]
 .SH "SEE ALSO"
 .PP
 
@@ -104,10 +108,10 @@
 .IP " 1." 4
 XDG Base Directory Specification
 .RS 4
-\%http://standards.freedesktop.org/basedir-spec/latest/
+\m[blue]\fI\%http://standards.freedesktop.org/basedir-spec/latest/\fR\m[]
 .RE
 .IP " 2." 4
 Lizardtech DjVu Reference
 .RS 4
-\%http://djvu.org/docs/DjVu3Spec.djvu
+\m[blue]\fI\%http://djvu.org/docs/DjVu3Spec.djvu\fR\m[]
 .RE
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/doc/djvusmooth.xml 
new/djvusmooth-0.2.12/doc/djvusmooth.xml
--- old/djvusmooth-0.2.11/doc/djvusmooth.xml    2011-11-21 20:03:34.000000000 
+0100
+++ new/djvusmooth-0.2.12/doc/djvusmooth.xml    2012-03-29 22:41:53.000000000 
+0200
@@ -2,7 +2,7 @@
 <!DOCTYPE refentry PUBLIC '-//OASIS//DTD DocBook XML V4.5//EN' 
'http://www.docbook.org/xml/4.5/docbookx.dtd' 
 [
     <!ENTITY p 'djvusmooth'>
-    <!ENTITY version '0.2.11'>
+    <!ENTITY version '0.2.12'>
 ]>
 
 <refentry>
@@ -86,6 +86,14 @@
     </para>
 </refsection>
 
+<refsection>
+    <title>Reporting bugs</title>
+    <para>
+        Please report bugs at:
+        <ulink url='https://bitbucket.org/jwilk/djvusmooth/issues'/>
+    </para>
+</refsection>
+
 <refsection>
     <title>See also</title>
     <para>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/extra/djvusmooth.desktop 
new/djvusmooth-0.2.12/extra/djvusmooth.desktop
--- old/djvusmooth-0.2.11/extra/djvusmooth.desktop      1970-01-01 
01:00:00.000000000 +0100
+++ new/djvusmooth-0.2.12/extra/djvusmooth.desktop      2011-12-20 
19:47:30.000000000 +0100
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=djvusmooth
+GenericName=Graphical editor for DjVu
+GenericName[pl]=Graficzny edytor plików DjVu
+Exec=/usr/bin/djvusmooth %f
+Terminal=false
+MimeType=image/x-djvu;image/x.djvu;image/vnd.djvu;
+Categories=Graphics;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/lib/__init__.py 
new/djvusmooth-0.2.12/lib/__init__.py
--- old/djvusmooth-0.2.11/lib/__init__.py       2011-06-06 19:55:54.000000000 
+0200
+++ new/djvusmooth-0.2.12/lib/__init__.py       2011-12-20 19:47:02.000000000 
+0100
@@ -1,2 +1,2 @@
-__version__ = '0.2.11'
+__version__ = '0.2.12'
 __author__ = 'Jakub Wilk <jw...@jwilk.net>'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/lib/config.py 
new/djvusmooth-0.2.12/lib/config.py
--- old/djvusmooth-0.2.11/lib/config.py 2011-06-06 19:55:54.000000000 +0200
+++ new/djvusmooth-0.2.12/lib/config.py 2012-06-12 20:13:25.000000000 +0200
@@ -1,5 +1,5 @@
 # encoding=UTF-8
-# Copyright © 2009, 2010, 2011 Jakub Wilk <jw...@jwilk.net>
+# Copyright © 2009, 2010, 2011, 2012 Jakub Wilk <jw...@jwilk.net>
 #
 # This package is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -13,13 +13,42 @@
 import errno
 import os
 
-from xdg import BaseDirectory as xdg
+class xdg(object):
+    '''
+    tiny replacement for PyXDG's xdg.BaseDirectory
+    '''
 
-if os.name == 'nt':
-    # On Windows, use the “Application Data” folder if XDG_CONFIG_HOME is
-    # not set.
-    if ('XDG_CONFIG_HOME' not in os.environ) and ('APPDATA' in os.environ):
-        xdg.xdg_config_home = os.environ['APPDATA']
+    xdg_config_home = os.environ.get('XDG_CONFIG_HOME') or ''
+    if os.name == 'nt' and xdg_config_home == '':
+        # On Windows, use the “Application Data” folder if XDG_CONFIG_HOME is
+        # not set.
+        xdg_config_home = os.environ.get('APPDATA') or ''
+
+    if not os.path.isabs(xdg_config_home):
+        xdg_config_home = os.path.join(os.path.expanduser('~'), '.config')
+
+    xdg_config_dirs = os.environ.get('XDG_CONFIG_DIRS') or '/etc/xdg'
+    xdg_config_dirs = (
+        [xdg_config_home] +
+        filter(os.path.abspath, xdg_config_dirs.split(os.path.pathsep))
+    )
+
+    @classmethod
+    def save_config_path(xdg, resource):
+        path = os.path.join(xdg.xdg_config_home, resource)
+        try:
+            os.makedirs(path, 0700)
+        except OSError:
+            if not os.path.isdir(path):
+                raise
+        return path
+
+    @classmethod
+    def load_config_paths(xdg, resource):
+        for config_dir in xdg.xdg_config_dirs:
+            path = os.path.join(config_dir, resource)
+            if os.path.exists(path):
+                yield path
 
 class Config(object):
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/lib/dependencies.py 
new/djvusmooth-0.2.12/lib/dependencies.py
--- old/djvusmooth-0.2.11/lib/dependencies.py   2011-06-06 19:55:54.000000000 
+0200
+++ new/djvusmooth-0.2.12/lib/dependencies.py   2012-04-18 17:16:42.000000000 
+0200
@@ -58,12 +58,6 @@
         raise ImportError('wxPython 2.6 or 2.8 with Unicode support is 
required')
     wxversion.select(WX_VERSIONS)
 
-def _check_xdg():
-    try:
-        from xdg import BaseDirectory
-    except ImportError, ex:
-        raise ImportError('%s; perhaps pyxdg is not installed' % (ex,))
-
 _check_signals()
 del _check_signals
 try:
@@ -74,9 +68,5 @@
     _check_wx()
 finally:
     del _check_wx
-try:
-    _check_xdg()
-finally:
-    del _check_xdg
 
 # vim:ts=4 sw=4 et
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/lib/gui/main.py 
new/djvusmooth-0.2.12/lib/gui/main.py
--- old/djvusmooth-0.2.11/lib/gui/main.py       2011-06-06 19:55:54.000000000 
+0200
+++ new/djvusmooth-0.2.12/lib/gui/main.py       2012-03-29 19:22:16.000000000 
+0200
@@ -397,7 +397,7 @@
         submenu = wx.Menu()
         self._menu_item(submenu, _('&Bookmark this page') + '\tCtrl+B', _('Add 
the current to document outline'), self.on_bookmark_current_page)
         self._menu_item(submenu, _('&External editor'), _('Edit document 
outline in an external editor'), self.on_external_edit_outline)
-        self._menu_item(submenu, _('&Remove'), _('Remove document outline'), 
self.on_remove_outline)
+        self._menu_item(submenu, _('&Remove all'), _('Remove whole document 
outline'), self.on_remove_outline)
         menu.AppendMenu(wx.ID_ANY, _('&Outline'), submenu)
         return menu
 
Files old/djvusmooth-0.2.11/locale/es/LC_MESSAGES/djvusmooth.mo and 
new/djvusmooth-0.2.12/locale/es/LC_MESSAGES/djvusmooth.mo differ
Files old/djvusmooth-0.2.11/locale/pl/LC_MESSAGES/djvusmooth.mo and 
new/djvusmooth-0.2.12/locale/pl/LC_MESSAGES/djvusmooth.mo differ
Files old/djvusmooth-0.2.11/locale/ru/LC_MESSAGES/djvusmooth.mo and 
new/djvusmooth-0.2.12/locale/ru/LC_MESSAGES/djvusmooth.mo differ
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/po/es.po 
new/djvusmooth-0.2.12/po/es.po
--- old/djvusmooth-0.2.11/po/es.po      1970-01-01 01:00:00.000000000 +0100
+++ new/djvusmooth-0.2.12/po/es.po      2012-05-23 18:38:07.000000000 +0200
@@ -0,0 +1,508 @@
+# Spanish translation of djvusmooth messages.
+# Copyright (C) 2012
+# This file is distributed under the same license as the djvusmooth package.
+msgid ""
+msgstr ""
+"Project-Id-Version: djvusmooth 0.2.12\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2012-05-23 18:36+0200\n"
+"PO-Revision-Date: 2012-05-21 00:20-0500\n"
+"Last-Translator: C. Daniel Sanchez R. <cdsanch...@unal.edu.co>\n"
+"Language-Team: \n"
+"Language: Spanish\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+msgid "&About"
+msgstr "&Acerca de"
+
+msgid "&Background"
+msgstr "&Fondo"
+
+msgid "&Bookmark this page"
+msgstr "&Marcadores de esta página"
+
+msgid "&Close"
+msgstr "&Cerrar"
+
+msgid "&Color"
+msgstr "&Color"
+
+msgid "&Edit"
+msgstr "&Editar"
+
+msgid "&External editor"
+msgstr "&Editor externo"
+
+msgid "&File"
+msgstr "&Archivo"
+
+msgid "&First page"
+msgstr "&Primer página"
+
+msgid "&Flatten"
+msgstr "&Aplanar"
+
+msgid "&Foreground"
+msgstr "&Frente"
+
+msgid "&Go"
+msgstr "&Ir"
+
+msgid "&Go to page…"
+msgstr "&Ir a página..."
+
+msgid "&Help"
+msgstr "&Ayuda"
+
+msgid "&Hyperlinks"
+msgstr "&Hipervínculos"
+
+msgid "&Image"
+msgstr "&Imagen"
+
+msgid "&Last page"
+msgstr "&Última página"
+
+msgid "&Metadata"
+msgstr "&Metadatos"
+
+msgid "&New hyperlink…"
+msgstr "&Nuevo hipervínculo..."
+
+msgid "&Next page"
+msgstr "&Página siguiente"
+
+msgid "&Non-raster data"
+msgstr "&Datos ajenos al bitmap"
+
+msgid "&None"
+msgstr "&Ninguno"
+
+msgid "&Open"
+msgstr "&Abrir"
+
+msgid "&Outline"
+msgstr "&Bosquejo"
+
+msgid "&Previous page"
+msgstr "&Página anterior"
+
+msgid "&Properties…"
+msgstr "&Propiedades..."
+
+msgid "&Quit"
+msgstr "&Salir"
+
+msgid "&Refresh"
+msgstr "&Refrescar"
+
+msgid "&Remove"
+msgstr "&Eliminar"
+
+msgid "&Remove all"
+msgstr "&Eliminar todo"
+
+msgid "&Save"
+msgstr "&Guardar"
+
+msgid "&Settings"
+msgstr "&Opciones"
+
+msgid "&Stencil"
+msgstr "&Patrón"
+
+msgid "&Stretch"
+msgstr "&Estirar"
+
+msgid "&Text"
+msgstr "&Texto"
+
+msgid "&View"
+msgstr "&Ver"
+
+msgid "&Zoom"
+msgstr "&Zoom"
+
+msgid "(no title)"
+msgstr "(sin título)"
+
+msgid "About…"
+msgstr "Acerca de..."
+
+msgid "Add the current to document outline"
+msgstr "Agregar la página actual al bosquejo del documento"
+
+msgid "Always visible"
+msgstr "Siempre visible"
+
+msgid ""
+"An unhandled exception occurred. Ideally, this should not happen. Please 
report the bug to the author.\n"
+"\n"
+msgstr ""
+"Ha ocurrido una excepción no controlada. Idealmente, esto no debería ocurrir. 
Por favor, informe el error al autor.\n"
+"\n"
+
+msgid "Arrow"
+msgstr "Flecha"
+
+msgid "Author"
+msgstr "Autor"
+
+msgid "Background color"
+msgstr "Color de fondo"
+
+msgid "Border"
+msgstr "Borde"
+
+msgid "Cannot edit text with character zones."
+msgstr "No se puede editar el texto que esté en una zona para caracteres."
+
+msgid "Close the document"
+msgstr "Cerrar el documento"
+
+msgid "Comment"
+msgstr "Comentario"
+
+msgid "Decrease the magnification"
+msgstr "Disminuir la ampliación"
+
+msgid "Display everything"
+msgstr "Mostrar todo"
+
+msgid "Display only the background layer"
+msgstr "Mostrar solo la capa del fondo"
+
+msgid "Display only the document bitonal stencil"
+msgstr "Mostrar solo el patrón bitonal del documento"
+
+msgid "Display only the foreground layer"
+msgstr "Mostrar solo la capa del frente"
+
+msgid "Display overprinted annotations"
+msgstr "Mostrar anotaciones encima"
+
+msgid "Display the text layer"
+msgstr "Mostrar la capa de texto"
+
+msgid "DjVu files (*.djvu, *.djv)|*.djvu;*.djv|All files|*"
+msgstr "Archivos DjVu (*.djvu, *.djv)|*.djvu;*.djv|Todos los archivos|*"
+
+msgid "Do you want to save your changes?"
+msgstr "¿Desea guardar los cambios?"
+
+msgid "Document metadata"
+msgstr "Metadatos del documento"
+
+msgid "Don't display non-raster data"
+msgstr "No mostrar los datos del bitmap"
+
+msgid "Edit document outline in an external editor"
+msgstr "Editar el bosquejo en un editor externo"
+
+msgid "Edit metadata"
+msgstr "Editar metadatos"
+
+msgid "Edit page text in an external editor"
+msgstr "Editar texto de la página en un editor externo"
+
+msgid "Edit the document or page metadata"
+msgstr "Editar los metadatos del documento o de la página"
+
+msgid "Enter path to your favourite text editor."
+msgstr "Ingrese la ruta hacia su editor de texto favorito."
+
+msgid "Error"
+msgstr "Error"
+
+msgid "Etched in"
+msgstr "Grabado in"
+
+msgid "Etched out"
+msgstr "Grabado out"
+
+#, python-format
+msgid ""
+"External edit failed:\n"
+"%s"
+msgstr ""
+"Falló la edición externa:\n"
+"%s"
+
+msgid "External editor…"
+msgstr "Editor externo..."
+
+msgid "Fit &page"
+msgstr "Ajustar &página"
+
+msgid "Fit &width"
+msgstr "Ajustar &ancho"
+
+msgid "Flatten text"
+msgstr "Aplanar el texto"
+
+msgid "Go to page"
+msgstr "Ir a la página"
+
+msgid "Highlight color"
+msgstr "Realzar color"
+
+msgid "Highlight color and opacity"
+msgstr "Realzar color y opacidad"
+
+msgid "Hyperlinks"
+msgstr "Hipervínculos"
+
+msgid "Increase the magnification"
+msgstr "Incrementar la ampliación"
+
+msgid "Jump to first document page"
+msgstr "Saltar a la primer página del documento"
+
+msgid "Jump to last document page"
+msgstr "Saltar a la última página del documento"
+
+msgid "Jump to next document page"
+msgstr "Saltar a la siguiente página del documento"
+
+msgid "Jump to page…"
+msgstr "Saltar a la página..."
+
+msgid "Jump to previous document page"
+msgstr "Saltar a la página anterior del documento"
+
+msgid "License"
+msgstr "Licencia"
+
+msgid "Line"
+msgstr "Línea"
+
+msgid "Line color"
+msgstr "Color de la línea"
+
+msgid "Line width"
+msgstr "Ancho de la línea"
+
+msgid "Line-specific properties"
+msgstr "Propiedades de la linea especifica"
+
+#, python-format
+msgid "Link: %s"
+msgstr "Vínculo: %s"
+
+#, python-format
+msgid "Magnify %d%%"
+msgstr "Aumentar %d%%"
+
+msgid "Main properties"
+msgstr "Propiedades principales"
+
+msgid "More information about this program"
+msgstr "Más información acerca de este programa"
+
+msgid "Neither display the foreground layer nor the background layer"
+msgstr "No mostrar las capas del frente ni del fondo"
+
+msgid "No text layer to edit."
+msgstr "No hay capa de texto para editar."
+
+msgid "None"
+msgstr "Ninguno"
+
+msgid "Number of lines changed."
+msgstr "Número de líneas cambiadas."
+
+msgid "One &to one"
+msgstr "Uno &a uno"
+
+msgid "Opacity"
+msgstr "Opacidad"
+
+msgid "Open a DjVu document"
+msgstr "Abrir un documento DjVu"
+
+msgid "Outline"
+msgstr "Bosquejo"
+
+msgid "Oval"
+msgstr "Óvalo"
+
+msgid "Overprinted annotation (hyperlink) properties"
+msgstr "Propiedades de la anotación (hipervínculo)"
+
+#, python-format
+msgid "Page %(pageno)d of %(npages)d"
+msgstr "Página %(pageno)d de %(npages)d"
+
+#, python-format
+msgid "Page %d metadata"
+msgstr "Metadatos de la página %d"
+
+msgid "Polygon"
+msgstr "Polígono"
+
+msgid "Pushpin"
+msgstr "Push-pin"
+
+msgid "Quit the application"
+msgstr "Salir de la aplicación"
+
+msgid "Rectangle"
+msgstr "Rectángulo"
+
+msgid "Refresh the window"
+msgstr "Refresca la ventana"
+
+msgid "Remove details"
+msgstr "Eliminar detalles"
+
+msgid "Remove details from page text"
+msgstr "Eliminar detalles del texto en la página"
+
+msgid "Remove whole document outline"
+msgstr "Eliminar bosquejo de todo el documento"
+
+msgid "Save the document"
+msgstr "Guardar el documento"
+
+msgid "Saving document"
+msgstr "Guardando documento"
+
+#, python-format
+msgid ""
+"Saving document failed:\n"
+"%s"
+msgstr ""
+"Falló el guardado del documento:\n"
+"%s"
+
+msgid "Saving the document, please wait…"
+msgstr "Guardando documento, espere por favor..."
+
+msgid "Scope"
+msgstr "Alcance"
+
+msgid "Set full resolution magnification."
+msgstr "Ajustar a la máxima resolución"
+
+msgid "Set magnification to fit page"
+msgstr "Ajustar ampliación al tamaño de la página"
+
+msgid "Set magnification to fit page width"
+msgstr "Ajustar ampliación al ancho de la página"
+
+msgid "Setup an external editor"
+msgstr "Configurar un editor externo"
+
+msgid "Shadow in"
+msgstr "Sombra in"
+
+msgid "Shadow out"
+msgstr "Sombra out"
+
+msgid "Shape"
+msgstr "Silueta"
+
+msgid "Show &sidebar"
+msgstr "Mostrar &barra lateral"
+
+msgid "Show/hide the sidebar"
+msgstr "Mostrar/ocultar la barra lateral"
+
+msgid "Solid color"
+msgstr "Color sólido"
+
+msgid "Stretch the image to the window size"
+msgstr "Estirar la imagen al tamaño de la ventana"
+
+msgid "Target frame"
+msgstr "Marco objetivo"
+
+msgid "Text"
+msgstr "Texto"
+
+msgid "Text color"
+msgstr "Color del texto"
+
+msgid "Text-specific properties"
+msgstr "Propiedades para un texto específico"
+
+msgid "URI"
+msgstr "URI"
+
+#, python-format
+msgid "Unhandled exception: %s"
+msgstr "Excepción no controlada: %s"
+
+msgid "Width"
+msgstr "Ancho"
+
+msgid "XOR"
+msgstr "XOR"
+
+msgid "Zoom &in"
+msgstr "Zoom &in"
+
+msgid "Zoom &out"
+msgstr "Zoom &out"
+
+msgid "[Text layer]"
+msgstr "[Capa de texto]"
+
+msgid "all"
+msgstr "Todo"
+
+msgid "all pages"
+msgstr "Todas las páginas"
+
+msgid "bookmarks"
+msgstr "Marcadores"
+
+msgid "char"
+msgstr "carácter"
+
+msgid "characters"
+msgstr "caracteres"
+
+msgid "column"
+msgstr "columna"
+
+msgid "columns"
+msgstr "columnas"
+
+msgid "current page"
+msgstr "Página actual"
+
+msgid "key"
+msgstr "clave"
+
+msgid "line"
+msgstr "línea"
+
+msgid "lines"
+msgstr "líneas"
+
+msgid "page"
+msgstr "página"
+
+msgid "para"
+msgstr "párrafo"
+
+msgid "paragraphs"
+msgstr "párrafos"
+
+msgid "region"
+msgstr "región"
+
+msgid "regions"
+msgstr "regiones"
+
+msgid "value"
+msgstr "valor"
+
+msgid "word"
+msgstr "palabra"
+
+msgid "words"
+msgstr "palabras"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/po/pl.po 
new/djvusmooth-0.2.12/po/pl.po
--- old/djvusmooth-0.2.11/po/pl.po      2011-06-06 19:55:54.000000000 +0200
+++ new/djvusmooth-0.2.12/po/pl.po      2012-05-23 18:38:07.000000000 +0200
@@ -3,11 +3,11 @@
 # This file is distributed under the same license as the djvusmooth package.
 msgid ""
 msgstr ""
-"Project-Id-Version: djvusmooth 0.2.11\n"
+"Project-Id-Version: djvusmooth 0.2.12\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-01-19 21:30+0100\n"
+"POT-Creation-Date: 2012-05-23 18:36+0200\n"
 "PO-Revision-Date: 2009-05-31 14:45+CEST\n"
-"Last-Translator: Mateusz Turcza <mtur...@mimuw.edu.pl>\n"
+"Last-Translator: Jakub Wilk <jw...@jwilk.net>\n"
 "Language-Team: none\n"
 "Language: pl\n"
 "MIME-Version: 1.0\n"
@@ -101,6 +101,9 @@
 msgid "&Remove"
 msgstr "&Usuń"
 
+msgid "&Remove all"
+msgstr "&Usuń wszystko"
+
 msgid "&Save"
 msgstr "Za&pisz"
 
@@ -135,12 +138,10 @@
 msgstr "Zawsze widoczny"
 
 msgid ""
-"An unhandled exception occurred. Ideally, this should not happen. Please "
-"report the bug to the author.\n"
+"An unhandled exception occurred. Ideally, this should not happen. Please 
report the bug to the author.\n"
 "\n"
 msgstr ""
-"Wystąpił nieoczekiwany błąd. Jeśli ta sytuacja się powtórzy, powiadom autora "
-"programu.\n"
+"Wystąpił nieoczekiwany błąd. Jeśli ta sytuacja się powtórzy, powiadom autora 
programu.\n"
 "\n"
 
 msgid "Arrow"
@@ -359,8 +360,8 @@
 msgid "Remove details from page text"
 msgstr "Usuń szczegóły z tekstu"
 
-msgid "Remove document outline"
-msgstr "Usuń konspekt dokumentu"
+msgid "Remove whole document outline"
+msgstr "Usuń cały konspekt dokumentu"
 
 msgid "Save the document"
 msgstr "Zapisz dokument"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/po/ru.po 
new/djvusmooth-0.2.12/po/ru.po
--- old/djvusmooth-0.2.11/po/ru.po      2011-06-06 19:55:54.000000000 +0200
+++ new/djvusmooth-0.2.12/po/ru.po      2012-06-13 20:47:58.000000000 +0200
@@ -5,11 +5,11 @@
 #
 msgid ""
 msgstr ""
-"Project-Id-Version: djvusmooth 0.2.11\n"
+"Project-Id-Version: djvusmooth 0.2.12\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2011-01-19 21:30+0100\n"
-"PO-Revision-Date: 2010-06-26 18:05+0300\n"
-"Last-Translator: Kyrill Detinov <lazy.kent.s...@gmail.com>\n"
+"POT-Creation-Date: 2012-05-23 18:36+0200\n"
+"PO-Revision-Date: 2012-06-13 10:33+0300\n"
+"Last-Translator: Kyrill Detinov <lazy.k...@opensuse.org>\n"
 "Language-Team: openSUSE Translation Team\n"
 "Language: ru\n"
 "MIME-Version: 1.0\n"
@@ -44,7 +44,7 @@
 msgstr "Перв&ая страница"
 
 msgid "&Flatten"
-msgstr "Упростить структуру"
+msgstr "&Упростить структуру"
 
 msgid "&Foreground"
 msgstr "&Передний план"
@@ -71,7 +71,7 @@
 msgstr "&Метаданные"
 
 msgid "&New hyperlink…"
-msgstr "Новая ссылка…"
+msgstr "&Новая ссылка…"
 
 msgid "&Next page"
 msgstr "&Следующая страница"
@@ -92,7 +92,7 @@
 msgstr "&Предыдущая страница"
 
 msgid "&Properties…"
-msgstr "Свойства…"
+msgstr "&Свойства…"
 
 msgid "&Quit"
 msgstr "&Выйти"
@@ -103,6 +103,9 @@
 msgid "&Remove"
 msgstr "&Удалить"
 
+msgid "&Remove all"
+msgstr "&Удалить всё"
+
 msgid "&Save"
 msgstr "&Сохранить"
 
@@ -137,12 +140,10 @@
 msgstr "Всегда показывать"
 
 msgid ""
-"An unhandled exception occurred. Ideally, this should not happen. Please "
-"report the bug to the author.\n"
+"An unhandled exception occurred. Ideally, this should not happen. Please 
report the bug to the author.\n"
 "\n"
 msgstr ""
-"Непредвиденная ситуация. Так не должно быть. Пожалуйста, сообщите об ошибке "
-"автору.\n"
+"Непредвиденная ситуация. Так не должно быть. Пожалуйста, сообщите об ошибке 
автору.\n"
 "\n"
 
 msgid "Arrow"
@@ -361,8 +362,8 @@
 msgid "Remove details from page text"
 msgstr "Уменьшить детализацию текста"
 
-msgid "Remove document outline"
-msgstr "Удалить оглавление документа"
+msgid "Remove whole document outline"
+msgstr "Удалить оглавление всего документа"
 
 msgid "Save the document"
 msgstr "Сохранить документ"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/setup.py 
new/djvusmooth-0.2.12/setup.py
--- old/djvusmooth-0.2.11/setup.py      2011-08-27 00:35:53.000000000 +0200
+++ new/djvusmooth-0.2.12/setup.py      2012-03-29 22:41:49.000000000 +0200
@@ -1,6 +1,6 @@
 #!/usr/bin/python
 # encoding=UTF-8
-# Copyright © 2008, 2009, 2010, 2011 Jakub Wilk <jw...@jwilk.net>
+# Copyright © 2008, 2009, 2010, 2011, 2012 Jakub Wilk <jw...@jwilk.net>
 #
 # This package is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
@@ -15,6 +15,8 @@
 *djvusmooth* is a graphical editor for `DjVu <http://djvu.org>`_ documents.
 '''
 
+from __future__ import with_statement
+
 classifiers = '''
 Development Status :: 4 - Beta
 Environment :: Console
@@ -25,19 +27,28 @@
 Programming Language :: Python :: 2
 Topic :: Text Processing
 Topic :: Multimedia :: Graphics
-'''.strip().split('\n')
+'''.strip().splitlines()
 
 import glob
 import os
+import re
+import subprocess as ipc
 
 import distutils.core
+import distutils.errors
 from distutils.command.build import build as distutils_build
+from distutils.command.check import check as distutils_check
 from distutils.command.sdist import sdist as distutils_sdist
 
 from lib import __version__
 
 data_files = []
 
+if os.name == 'posix':
+    data_files += [
+        (os.path.join('share', 'applications'), ['extra/djvusmooth.desktop'])
+    ]
+
 class build_mo(distutils_build):
 
     description = 'build binary message catalogs'
@@ -51,14 +62,63 @@
             if not os.path.isdir(modir):
                 os.makedirs(modir)
             moname = os.path.join(modir, 'djvusmooth.mo')
-            command = ['msgfmt', '-o', moname, '-c', poname]
+            command = ['msgfmt', '-o', moname, '--check', 
'--check-accelerators', poname]
             self.make_file([poname], moname, distutils.spawn.spawn, [command])
             data_files.append((os.path.join('share', modir), [moname]))
 
+class check_po(distutils_build):
+
+    description = 'perform some checks on message catalogs'
+
+    def run(self):
+        for poname in glob.glob(os.path.join('po', '*.po')):
+            checkname = poname + '.sdist-check'
+            with open(checkname, 'w'):
+                pass
+            try:
+                for feature in 'untranslated', 'fuzzy':
+                    with open(checkname, 'w'):
+                        pass
+                    command = ['msgattrib', '--' + feature, '-o', checkname, 
poname]
+                    distutils.spawn.spawn(command)
+                    with open(checkname) as file:
+                        entries = file.read()
+                    if entries:
+                        raise IOError(None, '%s has %s entries' % (poname, 
feature))
+            finally:
+                os.unlink(checkname)
+
 class build_doc(distutils_build):
 
     description = 'build documentation'
 
+    _url_regex = re.compile(
+        r'^(\\%http://.*)',
+        re.MULTILINE
+    )
+
+    _date_regex = re.compile(
+        '"(?P<month>[0-9]{2})/(?P<day>[0-9]{2})/(?P<year>[0-9]{4})"'
+    )
+
+    def build_man(self, manname, commandline):
+        self.spawn(commandline)
+        with open(manname, 'r+') as file:
+            contents = file.read()
+            # Format URLs:
+            contents = self._url_regex.sub(
+                lambda m: r'\m[blue]\fI%s\fR\m[]' % m.groups(),
+                contents,
+            )
+            # Use RFC 3339 date format:
+            contents = self._date_regex.sub(
+                lambda m: '%(year)s-%(month)s-%(day)s' % m.groupdict(),
+                contents
+            )
+            file.seek(0)
+            file.truncate()
+            file.write(contents)
+
     def run(self):
         if os.name != 'posix':
             return
@@ -67,11 +127,12 @@
             command = [
                 'xsltproc', '--nonet',
                 '--param', 'man.charmap.use.subset', '0',
+                '--param', 'man.font.links', '"I"',
                 '--output', 'doc/',
                 
'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl',
                 xmlname,
             ]
-            self.make_file([xmlname], manname, distutils.spawn.spawn, 
[command])
+            self.make_file([xmlname], manname, self.build_man, [manname, 
command])
             data_files.append(('share/man/man1', [manname]))
 
 distutils_build.sub_commands[:0] = [
@@ -83,6 +144,8 @@
 
     def run(self):
         self.run_command('build_doc')
+        self.run_command('check_po')
+        self.run_command('build_mo')
         return distutils_sdist.run(self)
 
 distutils.core.setup(
@@ -103,6 +166,7 @@
         sdist=sdist,
         build_doc=build_doc,
         build_mo=build_mo,
+        check_po=check_po,
     ),
 )
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/djvusmooth-0.2.11/update-i18n 
new/djvusmooth-0.2.12/update-i18n
--- old/djvusmooth-0.2.11/update-i18n   2011-06-06 19:55:54.000000000 +0200
+++ new/djvusmooth-0.2.12/update-i18n   2012-05-23 18:37:48.000000000 +0200
@@ -29,7 +29,7 @@
        xgettext $(XGETTEXT_OPTIONS) $(SOURCE_FILES) -o $(@)
 
 %.po: po/$(PROJECT_NAME).pot
-       msgmerge -o $(@) $(@) $(<)
+       msgmerge --no-wrap -o $(@) $(@) $(<)
 
 locale/%/LC_MESSAGES/$(PROJECT_NAME).mo: po/%.po
        python setup.py build_mo


-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org

Reply via email to