Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package swell-foop for openSUSE:Factory 
checked in at 2021-05-06 22:51:50
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/swell-foop (Old)
 and      /work/SRC/openSUSE:Factory/.swell-foop.new.2988 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "swell-foop"

Thu May  6 22:51:50 2021 rev:31 rq:890143 version:40.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/swell-foop/swell-foop.changes    2021-04-12 
12:38:39.657459693 +0200
+++ /work/SRC/openSUSE:Factory/.swell-foop.new.2988/swell-foop.changes  
2021-05-06 22:52:00.618902168 +0200
@@ -1,0 +2,7 @@
+Fri Apr 30 16:18:30 UTC 2021 - Dominique Leuenberger <dims...@opensuse.org>
+
+- Update to version 40.1:
+  + Fixed application not starting from launcher.
+  + Updated translations.
+
+-------------------------------------------------------------------

Old:
----
  swell-foop-40.0.tar.xz

New:
----
  swell-foop-40.1.tar.xz

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

Other differences:
------------------
++++++ swell-foop.spec ++++++
--- /var/tmp/diff_new_pack.WkHS08/_old  2021-05-06 22:52:00.946900815 +0200
+++ /var/tmp/diff_new_pack.WkHS08/_new  2021-05-06 22:52:00.946900815 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           swell-foop
-Version:        40.0
+Version:        40.1
 Release:        0
 Summary:        Same Game for GNOME
 License:        GPL-2.0-or-later

++++++ swell-foop-40.0.tar.xz -> swell-foop-40.1.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/swell-foop-40.0/NEWS new/swell-foop-40.1/NEWS
--- old/swell-foop-40.0/NEWS    2021-03-19 19:42:25.860683400 +0100
+++ new/swell-foop-40.1/NEWS    2021-04-30 15:45:33.502813800 +0200
@@ -1,3 +1,9 @@
+Swell Foop 40.1
+==================
+
+* Updated translations
+* Fixed application not starting from launcher #22 (Robert Roth)
+
 Swell Foop 40.0
 ==================
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/swell-foop-40.0/help/fr/fr.po 
new/swell-foop-40.1/help/fr/fr.po
--- old/swell-foop-40.0/help/fr/fr.po   2021-03-19 19:42:25.867683200 +0100
+++ new/swell-foop-40.1/help/fr/fr.po   2021-04-30 15:45:33.509813800 +0200
@@ -5,13 +5,13 @@
 # Jonathan Ernst <jonat...@ernstfamily.ch>, 2007.
 # Claude Paroz <cla...@2xlibre.net>, 2007-2009.
 # Bruno Brouard <anno...@gmail.com>, 2008,2010, 2012.
-# Charles Monzat <charles.mon...@free.fr>, 2020.
+# Charles Monzat <charles.mon...@free.fr>, 2020-2021.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: swell-foop documentation fr\n"
-"POT-Creation-Date: 2020-09-14 02:44+0000\n"
-"PO-Revision-Date: 2020-09-19 11:56+0200\n"
+"POT-Creation-Date: 2020-11-08 09:08+0000\n"
+"PO-Revision-Date: 2021-03-13 18:23+0100\n"
 "Last-Translator: Charles Monzat <charles.mon...@free.fr>\n"
 "Language-Team: GNOME French Team <gnom...@traduc.org>\n"
 "Language: fr\n"
@@ -19,7 +19,7 @@
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n > 1);\n"
-"X-Generator: Gtranslator 3.36.0\n"
+"X-Generator: Gtranslator 3.38.0\n"
 
 #. (itstool) path: p/link
 #: C/legal.xml:5
@@ -40,7 +40,7 @@
 "Jonathan Ernst <jonat...@ernstfamily.ch>, 2007\n"
 "Claude Paroz <cla...@2xlibre.net>, 2007-2009\n"
 "Bruno Brouard <anno...@gmail.com>, 2008,2010,2012\n"
-"Charles Monzat <charles.mon...@free.fr>, 2020"
+"Charles Monzat <charles.mon...@free.fr>, 2020-2021"
 
 #. (itstool) path: credit/name
 #: C/index.page:13 C/introduction.page:11 C/playing-game.page:11
@@ -257,14 +257,18 @@
 
 #. (itstool) path: section/p
 #: C/preferences.page:58
-msgid ""
-"The default animation is designed to be fast. If it is too fast for you and "
-"you would like playing slower then this may be too fast for you. In this "
-"case you can slow down the game animation."
+#| msgid ""
+#| "The default animation is designed to be fast. If it is too fast for you "
+#| "and you would like playing slower then this may be too fast for you. In "
+#| "this case you can slow down the game animation."
+msgid ""
+"The default animation is designed to be fast. If it is too fast for you, "
+"then you might like playing slower. In this case, you can slow down the game "
+"animation."
 msgstr ""
 "L???animation par d??faut est con??ue pour ??tre rapide. Si vous trouvez que 
la "
-"vitesse est trop ??lev??e et que vous souhaitez jouer plus lentement, vous "
-"pouvez ralentir l???animation du jeu."
+"vitesse est trop ??lev??e, vous souhaiterez peut-??tre jouer plus lentement. "
+"Dans ce cas, vous pouvez ralentir l???animation du jeu."
 
 #. (itstool) path: item/p
 #: C/preferences.page:64
@@ -521,4 +525,3 @@
 "obtenir le m??me nombre de points avec un seul groupe, celui-ci devrait ??tre 
"
 "compos?? de 34 objets. Il est tr??s peu probable que vous vous retrouviez 
dans "
 "la situation de devoir sacrifier un tel groupe pour vider le tableau."
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/swell-foop-40.0/meson.build 
new/swell-foop-40.1/meson.build
--- old/swell-foop-40.0/meson.build     2021-03-19 19:42:25.870683200 +0100
+++ new/swell-foop-40.1/meson.build     2021-04-30 15:45:33.512813800 +0200
@@ -1,5 +1,5 @@
 project('swell-foop', ['c','vala'],
-  version: '40.0',
+  version: '40.1',
   meson_version: '>= 0.50',
   license: 'GPLv2+',
 )
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/swell-foop-40.0/po/es.po new/swell-foop-40.1/po/es.po
--- old/swell-foop-40.0/po/es.po        2021-03-19 19:42:25.874683100 +0100
+++ new/swell-foop-40.1/po/es.po        2021-04-30 15:45:33.516813800 +0200
@@ -5,22 +5,22 @@
 # Lucas Vieites <lu...@codexion.com>, 2007, 2008.
 # Jorge Gonz??lez <jorgeg...@svn.gnome.org>, 2007, 2008, 2009, 2010, 2011.
 # Chris Leonard <c...@laptop.org>, 2012.
-# Daniel Mustieles <daniel.mustie...@gmail.com>, 2008-2020.
+# Daniel Mustieles <daniel.mustie...@gmail.com>, 2008-2021.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: gnome-games.master\n"
 "Report-Msgid-Bugs-To: https://gitlab.gnome.org/GNOME/swell-foop/issues\n";
-"POT-Creation-Date: 2020-07-14 11:46+0000\n"
-"PO-Revision-Date: 2020-06-03 11:52+0200\n"
+"POT-Creation-Date: 2021-04-08 07:02+0000\n"
+"PO-Revision-Date: 2021-04-28 09:20+0200\n"
 "Last-Translator: Daniel Mustieles <daniel.mustie...@gmail.com>\n"
-"Language-Team: es <gnome-es-l...@gnome.org>\n"
-"Language: es\n"
+"Language-Team: Spanish - Spain <gnome-es-l...@gnome.org>\n"
+"Language: es_ES\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "Plural-Forms: nplurals=2; plural=(n != 1);\n"
-"X-Generator: Gtranslator 3.36.0\n"
+"X-Generator: Gtranslator 40.0\n"
 "X-Project-Style: gnome\n"
 
 #. Translators: title of the window displayed by window managers; name of the 
application
@@ -30,7 +30,7 @@
 #: data/org.gnome.SwellFoop.desktop.in:3 data/ui/swell-foop.ui:141
 #: data/ui/swell-foop.ui:147 src/swell-foop.vala:16
 msgid "Swell Foop"
-msgstr "Swell Foopm"
+msgstr "Swell Foop"
 
 #: data/org.gnome.SwellFoop.appdata.xml.in:8
 #: data/org.gnome.SwellFoop.desktop.in:4
@@ -333,12 +333,12 @@
 msgstr "Rehacer"
 
 #. Translators: text of a button that appears on the board at the end of a game
-#: src/game-view.vala:415
+#: src/game-view.vala:439
 msgid "_Play Again"
 msgstr "_Jugar otra vez"
 
 #. Label showing the number of points at the end of the game
-#: src/game-view.vala:607
+#: src/game-view.vala:631
 #, c-format
 msgid "%u point"
 msgid_plural "%u points"
@@ -346,28 +346,28 @@
 msgstr[1] "%u puntos"
 
 #. Translators: text of a label that appears on the board at the end of a game
-#: src/game-view.vala:610
+#: src/game-view.vala:634
 msgid "Game Over!"
 msgstr "Juego terminado"
 
 #. Translators: command-line option description, see 'swell-foop --help'
-#: src/swell-foop.vala:26
+#: src/swell-foop.vala:25
 msgid "Print release version and exit"
 msgstr "Mostrar informaci??n de la versi??n y salir"
 
 #. Translators: About dialog text, name of an author
 #. Translators: About dialog text, name of an artist
-#: src/swell-foop.vala:96 src/swell-foop.vala:104
+#: src/swell-foop.vala:106 src/swell-foop.vala:114
 msgid "Tim Horton"
 msgstr "Tim Horton"
 
 #. Translators: About dialog text, name of an author
-#: src/swell-foop.vala:100
+#: src/swell-foop.vala:110
 msgid "Sophia Yu"
 msgstr "Sophia Yu"
 
 #. Translators: About dialog text, small description of the application
-#: src/swell-foop.vala:113
+#: src/swell-foop.vala:123
 msgid ""
 "I want to play that game!\n"
 "You know, they all light-up and you click on them and they vanish!"
@@ -376,12 +376,12 @@
 "Ya sabe, todos se encienden, pulsa en ellos y desaparecen."
 
 #. Translators: About dialog text, copyright line
-#: src/swell-foop.vala:117
+#: src/swell-foop.vala:127
 msgid "Copyright ?? 2009 Tim Horton"
 msgstr "Copyright ?? 2009 Tim Horton"
 
 #. Translators: About dialog text, should be replaced with a credit for you 
and your team; do not translate literally!
-#: src/swell-foop.vala:121
+#: src/swell-foop.vala:131
 msgid "translator-credits"
 msgstr ""
 "Daniel Mustieles <daniel.mustie...@gmail.com>, 2008-2020\n"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/swell-foop-40.0/src/swell-foop.vala 
new/swell-foop-40.1/src/swell-foop.vala
--- old/swell-foop-40.0/src/swell-foop.vala     2021-03-19 19:42:25.881683000 
+0100
+++ new/swell-foop-40.1/src/swell-foop.vala     2021-04-30 15:45:33.522813600 
+0200
@@ -19,11 +19,10 @@
     private SwellFoopWindow window;
 
     /* Command-line options */
-    private static bool version = false;
     private const OptionEntry [] option_entries =
     {
         /* Translators: command-line option description, see 'swell-foop 
--help' */
-        { "version", 'v', OptionFlags.NONE, OptionArg.NONE, ref version, 
N_("Print release version and exit"), null },
+        { "version", 'v', OptionFlags.NONE, OptionArg.NONE, null, N_("Print 
release version and exit"), null },
 
         {}
     };
@@ -40,6 +39,8 @@
     public SwellFoop ()
     {
         Object (application_id: "org.gnome.SwellFoop", flags: 
ApplicationFlags.FLAGS_NONE);
+        add_option_group (Clutter.get_option_group_without_init ());
+        add_main_option_entries (option_entries);
     }
 
     protected override void startup ()
@@ -58,7 +59,16 @@
 
         /* Create the main window */
         window = new SwellFoopWindow (this);
-        add_window (window);
+    }
+
+    protected override int handle_local_options (GLib.VariantDict options)
+    {
+        if (options.contains ("version"))
+        {
+            stderr.printf ("%1$s %2$s\n", PROGRAM_NAME, Config.VERSION);
+            return Posix.EXIT_SUCCESS;
+        }
+        return -1;
     }
 
     protected override void shutdown ()
@@ -136,31 +146,6 @@
             return Posix.EXIT_FAILURE;
         }
 
-        var context = new OptionContext (null);
-        context.set_translation_domain (Config.GETTEXT_PACKAGE);
-
-        context.add_group (Gtk.get_option_group (true));
-        context.add_group (Clutter.get_option_group_without_init ());
-
-        context.add_main_entries (option_entries, Config.GETTEXT_PACKAGE);
-
-        try
-        {
-            context.parse (ref args);
-        }
-        catch (Error e)
-        {
-            stderr.printf ("%s\n", e.message);
-            return Posix.EXIT_FAILURE;
-        }
-
-        if (version)
-        {
-            /* NOTE: Is not translated so can be easily parsed */
-            stderr.printf ("%1$s %2$s\n", "swell-foop", Config.VERSION);
-            return Posix.EXIT_SUCCESS;
-        }
-
         Environment.set_application_name (PROGRAM_NAME);
         Gtk.Window.set_default_icon_name ("org.gnome.SwellFoop");
 

Reply via email to