Hello community,

here is the log from the commit of package splashy for openSUSE:Factory checked 
in at 2012-05-08 11:15:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/splashy (Old)
 and      /work/SRC/openSUSE:Factory/.splashy.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "splashy", Maintainer is "[email protected]"

Changes:
--------
--- /work/SRC/openSUSE:Factory/splashy/splashy.changes  2011-12-21 
10:04:00.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.splashy.new/splashy.changes     2012-05-08 
11:15:51.000000000 +0200
@@ -1,0 +2,10 @@
+Sun Apr 22 13:46:43 UTC 2012 - [email protected]
+
+- Add splashy-glib231.patch: Fix build with glib 2.31.
+
+-------------------------------------------------------------------
+Mon Feb 13 10:56:27 UTC 2012 - [email protected]
+
+- patch license to follow spdx.org standard
+
+-------------------------------------------------------------------

New:
----
  splashy-glib231.patch

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

Other differences:
------------------
++++++ splashy.spec ++++++
--- /var/tmp/diff_new_pack.QpBI31/_old  2012-05-08 11:15:54.000000000 +0200
+++ /var/tmp/diff_new_pack.QpBI31/_new  2012-05-08 11:15:54.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package splashy
 #
-# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,13 +16,12 @@
 #
 
 
-
 Name:           splashy
 Summary:        A complete user-space boot splash system
-Version:        0.3.13
-Release:        27
-License:        GPLv2+
+License:        GPL-2.0+
 Group:          System/Boot
+Version:        0.3.13
+Release:        0
 Url:            http://splashy.alioth.debian.org/wiki/doku.php
 PreReq:         mkinitrd coreutils
 Source:         %{name}-%{version}.tar.gz
@@ -42,14 +41,16 @@
 Patch6:         gcc46-build-fixes.patch
 Patch7:         splashy-exits-prematurely-fix.patch
 Patch8:         update-initramfs.patch
-BuildRequires:  DirectFB-devel file-devel
-BuildRequires:  glib2-devel
+Patch9:         splashy-glib231.patch
+BuildRequires:  DirectFB-devel
 BuildRequires:  ImageMagick-devel
+BuildRequires:  file-devel
+BuildRequires:  glib2-devel
 #BuildRequires:        procps-devel
+BuildRequires:  freetype2-devel
+BuildRequires:  libjpeg-devel
 BuildRequires:  libpng-devel
 BuildRequires:  libtool
-BuildRequires:  libjpeg-devel
-BuildRequires:  freetype2-devel
 # For directfb-config
 Requires:       DirectFB
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -106,7 +107,6 @@
 * Totally configurable
 
 %package -n    splashy-devel
-License:        GPLv2+
 Summary:        Development tools for programs using libsplashy
 Group:          Development/Languages/C and C++
 Requires:       splashy = %{version}
@@ -116,11 +116,9 @@
 developing programs using libsplashy.
 
 %package -n splashy-themes
-License:        GPLv2+
 Summary:        Additional themes for splashy
-Requires:       %{name} = %{version}-%{release}
-AutoReqProv:    on
 Group:          System/Boot
+Requires:       %{name} = %{version}-%{release}
 
 %description -n splashy-themes
 Available themes: - fingerprint
@@ -134,12 +132,11 @@
 
 
 %package       branding-openSUSE
-License:        GPLv2+
 Summary:        Splashy branding for openSUSE
+Group:          System/Boot
 Supplements:    packageand(splashy:branding-openSUSE)
 Provides:       splashy-branding = %{version}
 Conflicts:      otherproviders(splashy-branding)
-Group:          System/Boot
 Requires:       splashy >= 0.3.8
 PreReq:         splashy >= 0.3.8
 
@@ -147,13 +144,11 @@
 Splashy branding for openSUSE
 
 %package       branding-SLED
-License:        GPLv2+
 Summary:        Splashy branding for SLED
+Group:          System/Boot
 Supplements:    packageand(splashy:branding-SLED)
 Provides:       splashy-branding = %{version}
 Conflicts:      otherproviders(splashy-branding)
-AutoReqProv:    on
-Group:          System/Boot
 Requires:       splashy >= 0.3.8
 PreReq:         splashy >= 0.3.8
 
@@ -192,6 +187,7 @@
 %patch6 -p1
 %patch7 -p1
 %patch8 -p1
+%patch9 -p1
 find . -type f | xargs perl -pi -e "s|/usr/lib/|%{_libdir}/|g"
 find . -type f | xargs perl -pi -e "s|/lib/|/%{_lib}/|g"
 # build gets confused on x86_64 because of this .la file

++++++ splashy-glib231.patch ++++++
Index: splashy-0.3.13/src/splashy_config-functions.c
===================================================================
--- splashy-0.3.13.orig/src/splashy_config-functions.c
+++ splashy-0.3.13/src/splashy_config-functions.c
@@ -159,7 +159,7 @@ install_theme (gchar * tarball_path)
                 }
                 else
                 {
-                        if (g_strncasecmp (mime_type, "POSIX tar archive", 17)
+                        if (g_ascii_strncasecmp (mime_type, "POSIX tar 
archive", 17)
                             != 0)
                         {
                                 PRINT_FAIL;
@@ -249,7 +249,7 @@ install_theme (gchar * tarball_path)
                                                   (SPL_THEMES_DIR), _theme,
                                                   NULL);
 
-                        if (g_strcasecmp
+                        if (g_ascii_strcasecmp
                             (target_path,
                              splashy_get_config_string (SPL_THEMES_DIR)) != 0)
                         {
@@ -329,7 +329,7 @@ remove_theme (gchar * theme_name)
                 PRINT_FAIL;
                 g_printerr (_("The theme does not exist!\n"));
         }
-        else if (g_strcasecmp
+        else if (g_ascii_strcasecmp
                  (theme_name,
                   splashy_get_config_string (SPL_CURRENT_THEME)) == 0)
         {
@@ -614,7 +614,7 @@ create_theme (XmlFields * NewTheme)
                  * upload the boot image 
                  */
                 gchar *dest = g_build_filename (theme_path,
-                                                g_basename (NewTheme->
+                                                g_path_get_basename (NewTheme->
                                                             bg_boot),
                                                 NULL);
                 if (!copy_file (NewTheme->bg_boot, dest))
@@ -632,14 +632,14 @@ create_theme (XmlFields * NewTheme)
                 else
                 {
                         NewTheme->bg_boot =
-                                g_strdup (g_basename (NewTheme->bg_boot));
+                                g_strdup (g_path_get_basename 
(NewTheme->bg_boot));
                 }
 
                 /*
                  * upload the shutdown image 
                  */
                 dest = g_build_filename (theme_path,
-                                         g_basename (NewTheme->bg_shutdown),
+                                         g_path_get_basename 
(NewTheme->bg_shutdown),
                                          NULL);
                 if (!copy_file (NewTheme->bg_shutdown, dest))
                 {
@@ -656,14 +656,14 @@ create_theme (XmlFields * NewTheme)
                 else
                 {
                         NewTheme->bg_shutdown =
-                                g_strdup (g_basename (NewTheme->bg_shutdown));
+                                g_strdup (g_path_get_basename 
(NewTheme->bg_shutdown));
                 }
 
                 /*
                  * upload the error image 
                  */
                 dest = g_build_filename (theme_path,
-                                         g_basename (NewTheme->bg_error),
+                                         g_path_get_basename 
(NewTheme->bg_error),
                                          NULL);
                 if (!copy_file (NewTheme->bg_error, dest))
                 {
@@ -680,14 +680,14 @@ create_theme (XmlFields * NewTheme)
                 else
                 {
                         NewTheme->bg_error =
-                                g_strdup (g_basename (NewTheme->bg_error));
+                                g_strdup (g_path_get_basename 
(NewTheme->bg_error));
                 }
 
                 /*
                  * upload the resume image 
                  */
                 dest = g_build_filename (theme_path,
-                                         g_basename (NewTheme->bg_resume),
+                                         g_path_get_basename 
(NewTheme->bg_resume),
                                          NULL);
                 if (!copy_file (NewTheme->bg_resume, dest))
                 {
@@ -704,14 +704,14 @@ create_theme (XmlFields * NewTheme)
                 else
                 {
                         NewTheme->bg_resume =
-                                g_strdup (g_basename (NewTheme->bg_resume));
+                                g_strdup (g_path_get_basename 
(NewTheme->bg_resume));
                 }
 
                 /*
                  * upload the suspend image 
                  */
                 dest = g_build_filename (theme_path,
-                                         g_basename (NewTheme->bg_suspend),
+                                         g_path_get_basename 
(NewTheme->bg_suspend),
                                          NULL);
                 if (!copy_file (NewTheme->bg_suspend, dest))
                 {
@@ -728,7 +728,7 @@ create_theme (XmlFields * NewTheme)
                 else
                 {
                         NewTheme->bg_suspend =
-                                g_strdup (g_basename (NewTheme->bg_suspend));
+                                g_strdup (g_path_get_basename 
(NewTheme->bg_suspend));
                 }
 
                 /*
@@ -737,7 +737,7 @@ create_theme (XmlFields * NewTheme)
                 if (font_file_exists)
                 {
                         dest = g_build_filename (theme_path,
-                                                 g_basename (NewTheme->
+                                                 g_path_get_basename 
(NewTheme->
                                                              textfont_file),
                                                  NULL);
                         if (!copy_file (NewTheme->textfont_file, dest))
@@ -751,7 +751,7 @@ create_theme (XmlFields * NewTheme)
                         else
                         {
                                 NewTheme->textfont_file =
-                                        g_strdup (g_basename
+                                        g_strdup (g_path_get_basename
                                                   (NewTheme->textfont_file));
                         }
                 }
@@ -906,7 +906,7 @@ get_fields (void)
                     &NewTheme->pb_on_boot);
 
         // Direction on boot
-        if (g_strcasecmp (NewTheme->pb_on_boot, "yes") == 0)
+        if (g_ascii_strcasecmp (NewTheme->pb_on_boot, "yes") == 0)
                 ask_string (_(" Direction ? (forward|backward)"),
                             &NewTheme->pb_dir_boot);
 
@@ -916,7 +916,7 @@ get_fields (void)
                     &NewTheme->pb_on_shutdown);
 
         // Direction on shutdown
-        if (g_strcasecmp (NewTheme->pb_on_shutdown, "yes") == 0)
+        if (g_ascii_strcasecmp (NewTheme->pb_on_shutdown, "yes") == 0)
                 ask_string (_(" Direction ? (forward|backward)"),
                             &NewTheme->pb_dir_shutdown);
 
@@ -926,7 +926,7 @@ get_fields (void)
                     &NewTheme->pb_on_resume);
 
         // Direction on resume
-        if (g_strcasecmp (NewTheme->pb_on_resume, "yes") == 0)
+        if (g_ascii_strcasecmp (NewTheme->pb_on_resume, "yes") == 0)
                 ask_string (_(" Direction ? (forward|backward)"),
                             &NewTheme->pb_dir_resume);
 
@@ -936,15 +936,15 @@ get_fields (void)
                     &NewTheme->pb_on_suspend);
 
         // Direction on suspend
-        if (g_strcasecmp (NewTheme->pb_on_suspend, "yes") == 0)
+        if (g_ascii_strcasecmp (NewTheme->pb_on_suspend, "yes") == 0)
                 ask_string (_(" Direction ? (forward|backward)"),
                             &NewTheme->pb_dir_suspend);
 
         // Progressbar
-        if ((g_strcasecmp (NewTheme->pb_on_boot, "yes") == 0)
-            || (g_strcasecmp (NewTheme->pb_on_shutdown, "yes") == 0)
-            || (g_strcasecmp (NewTheme->pb_on_resume, "yes") == 0)
-            || (g_strcasecmp (NewTheme->pb_on_suspend, "yes") == 0))
+        if ((g_ascii_strcasecmp (NewTheme->pb_on_boot, "yes") == 0)
+            || (g_ascii_strcasecmp (NewTheme->pb_on_shutdown, "yes") == 0)
+            || (g_ascii_strcasecmp (NewTheme->pb_on_resume, "yes") == 0)
+            || (g_ascii_strcasecmp (NewTheme->pb_on_suspend, "yes") == 0))
         {
                 g_print (_("Progress bar\n"));
 
@@ -1036,7 +1036,7 @@ get_fields (void)
                             &NewTheme->pb_border_show);
 
                 // Border
-                if (g_strcasecmp (NewTheme->pb_border_show, "yes") == 0)
+                if (g_ascii_strcasecmp (NewTheme->pb_border_show, "yes") == 0)
                 {
                         g_print (_(" Border color\n"));
 
@@ -1064,8 +1064,8 @@ get_fields (void)
                     &NewTheme->textbox_show);
 
         // Text box
-        if ((g_strcasecmp (NewTheme->verbose, "yes") == 0)
-            || (g_strcasecmp (NewTheme->textbox_show, "yes") == 0))
+        if ((g_ascii_strcasecmp (NewTheme->verbose, "yes") == 0)
+            || (g_ascii_strcasecmp (NewTheme->textbox_show, "yes") == 0))
         {
                 g_print (_("Text box\n"));
 
@@ -1143,7 +1143,7 @@ get_fields (void)
                             (" Do you want a border around the text box ? 
(yes|no)"),
                             &NewTheme->textbox_border_show);
 
-                if (g_strcasecmp (NewTheme->textbox_border_show, "yes") == 0)
+                if (g_ascii_strcasecmp (NewTheme->textbox_border_show, "yes") 
== 0)
                 {
                         g_print (_("  Border color\n"));
 
@@ -1279,7 +1279,7 @@ theme_name_exists (const gchar * theme_n
         // Check if a theme with the same name exists
         DEBUG_PRINT ("splashy_config: Checking if '%s' already exists\n",
                      theme_path);
-        if (g_strcasecmp
+        if (g_ascii_strcasecmp
             (theme_path, splashy_get_config_string (SPL_THEMES_DIR)) != 0)
         {
                 if (g_file_test (theme_path, G_FILE_TEST_IS_DIR))
@@ -1324,7 +1324,7 @@ check_image (const gchar * filename)
                 DEBUG_PRINT
                         ("splashy_config: Checking the file mime type: %s",
                          mime_type);
-                mime_ret = g_strncasecmp (mime_type, "image/", 6);
+                mime_ret = g_ascii_strncasecmp (mime_type, "image/", 6);
                 magic_close (cookie);
 
                 if (mime_ret != 0)
@@ -1412,8 +1412,8 @@ check_fields (XmlFields * CheckMe)
 
         // Progressbar: a border ?
         if (CheckMe->pb_border_show == NULL
-            || ((g_strcasecmp (CheckMe->pb_border_show, "yes") != 0
-                 && g_strcasecmp (CheckMe->pb_border_show, "no") != 0)))
+            || ((g_ascii_strcasecmp (CheckMe->pb_border_show, "yes") != 0
+                 && g_ascii_strcasecmp (CheckMe->pb_border_show, "no") != 0)))
         {
                 CheckMe->pb_border_show = NULL;
                 CheckMe->pb_border_show = g_strdup ("no");
@@ -1453,40 +1453,40 @@ check_fields (XmlFields * CheckMe)
 
         // Progressbar: direction on boot
         if (CheckMe->pb_dir_boot == NULL
-            || (g_strcasecmp (CheckMe->pb_dir_boot, "forward") != 0
-                && g_strcasecmp (CheckMe->pb_dir_boot, "backward") != 0))
+            || (g_ascii_strcasecmp (CheckMe->pb_dir_boot, "forward") != 0
+                && g_ascii_strcasecmp (CheckMe->pb_dir_boot, "backward") != 0))
         {
                 CheckMe->pb_dir_boot = g_strdup ("forward");
         }
 
         // Progressbar: direction on shutdown
         if (CheckMe->pb_dir_shutdown == NULL
-            || (g_strcasecmp (CheckMe->pb_dir_shutdown, "forward") != 0
-                && g_strcasecmp (CheckMe->pb_dir_shutdown, "backward") != 0))
+            || (g_ascii_strcasecmp (CheckMe->pb_dir_shutdown, "forward") != 0
+                && g_ascii_strcasecmp (CheckMe->pb_dir_shutdown, "backward") 
!= 0))
         {
                 CheckMe->pb_dir_shutdown = g_strdup ("backward");
         }
 
         // Progressbar: direction on resume
         if (CheckMe->pb_dir_resume == NULL
-            || (g_strcasecmp (CheckMe->pb_dir_resume, "forward") != 0
-                && g_strcasecmp (CheckMe->pb_dir_resume, "backward") != 0))
+            || (g_ascii_strcasecmp (CheckMe->pb_dir_resume, "forward") != 0
+                && g_ascii_strcasecmp (CheckMe->pb_dir_resume, "backward") != 
0))
         {
                 CheckMe->pb_dir_resume = g_strdup ("forward");
         }
 
         // Progressbar: direction on suspend
         if (CheckMe->pb_dir_suspend == NULL
-            || (g_strcasecmp (CheckMe->pb_dir_suspend, "forward") != 0
-                && g_strcasecmp (CheckMe->pb_dir_suspend, "backward") != 0))
+            || (g_ascii_strcasecmp (CheckMe->pb_dir_suspend, "forward") != 0
+                && g_ascii_strcasecmp (CheckMe->pb_dir_suspend, "backward") != 
0))
         {
                 CheckMe->pb_dir_suspend = g_strdup ("backward");
         }
 
         // A textbox ?
         if (CheckMe->textbox_show == NULL
-            || (g_strcasecmp (CheckMe->textbox_show, "yes") != 0
-                && g_strcasecmp (CheckMe->textbox_show, "no") != 0))
+            || (g_ascii_strcasecmp (CheckMe->textbox_show, "yes") != 0
+                && g_ascii_strcasecmp (CheckMe->textbox_show, "no") != 0))
         {
                 CheckMe->textbox_show = g_strdup ("no");
         }
@@ -1545,8 +1545,8 @@ check_fields (XmlFields * CheckMe)
 
         // Textbox: a border ?
         if (CheckMe->textbox_border_show == NULL
-            || (g_strcasecmp (CheckMe->textbox_border_show, "yes") !=
-                0 && g_strcasecmp (CheckMe->textbox_border_show, "no") != 0))
+            || (g_ascii_strcasecmp (CheckMe->textbox_border_show, "yes") !=
+                0 && g_ascii_strcasecmp (CheckMe->textbox_border_show, "no") 
!= 0))
         {
                 CheckMe->textbox_border_show = g_strdup ("no");
         }
@@ -1585,56 +1585,56 @@ check_fields (XmlFields * CheckMe)
 
         // Autoverbose on error ?
         if (CheckMe->verbose == NULL
-            || (g_strcasecmp (CheckMe->verbose, "yes") != 0
-                && g_strcasecmp (CheckMe->verbose, "no")))
+            || (g_ascii_strcasecmp (CheckMe->verbose, "yes") != 0
+                && g_ascii_strcasecmp (CheckMe->verbose, "no")))
         {
                 CheckMe->verbose = g_strdup ("no");
         }
 
         // Progressbar on boot ?
         if (CheckMe->pb_on_boot == NULL
-            || (g_strcasecmp (CheckMe->pb_on_boot, "yes") != 0
-                && g_strcasecmp (CheckMe->pb_on_boot, "no")))
+            || (g_ascii_strcasecmp (CheckMe->pb_on_boot, "yes") != 0
+                && g_ascii_strcasecmp (CheckMe->pb_on_boot, "no")))
         {
                 CheckMe->pb_on_boot = g_strdup ("yes");
         }
 
         // Progressbar on shutdown
         if (CheckMe->pb_on_shutdown == NULL
-            || (g_strcasecmp (CheckMe->pb_on_shutdown, "yes")
-                != 0 && g_strcasecmp (CheckMe->pb_on_shutdown, "no")))
+            || (g_ascii_strcasecmp (CheckMe->pb_on_shutdown, "yes")
+                != 0 && g_ascii_strcasecmp (CheckMe->pb_on_shutdown, "no")))
         {
                 CheckMe->pb_on_shutdown = g_strdup ("yes");
         }
 
         // Progressbar on resume ?
         if (CheckMe->pb_on_resume == NULL
-            || (g_strcasecmp (CheckMe->pb_on_resume, "yes") != 0
-                && g_strcasecmp (CheckMe->pb_on_resume, "no")))
+            || (g_ascii_strcasecmp (CheckMe->pb_on_resume, "yes") != 0
+                && g_ascii_strcasecmp (CheckMe->pb_on_resume, "no")))
         {
                 CheckMe->pb_on_resume = g_strdup ("yes");
         }
 
         // Progressbar on suspend ?
         if (CheckMe->pb_on_suspend == NULL
-            || (g_strcasecmp (CheckMe->pb_on_suspend, "yes") != 0
-                && g_strcasecmp (CheckMe->pb_on_suspend, "no")))
+            || (g_ascii_strcasecmp (CheckMe->pb_on_suspend, "yes") != 0
+                && g_ascii_strcasecmp (CheckMe->pb_on_suspend, "no")))
         {
                 CheckMe->pb_on_suspend = g_strdup ("yes");
         }
 
         // Fade in ?
         if (CheckMe->fadein == NULL
-            || (g_strcasecmp (CheckMe->fadein, "yes")
-                != 0 && g_strcasecmp (CheckMe->fadein, "no")))
+            || (g_ascii_strcasecmp (CheckMe->fadein, "yes")
+                != 0 && g_ascii_strcasecmp (CheckMe->fadein, "no")))
         {
                 CheckMe->fadein = g_strdup ("yes");
         }
 
         // Fade out ?
         if (CheckMe->fadeout == NULL
-            || (g_strcasecmp (CheckMe->fadeout, "yes")
-                != 0 && g_strcasecmp (CheckMe->fadeout, "no")))
+            || (g_ascii_strcasecmp (CheckMe->fadeout, "yes")
+                != 0 && g_ascii_strcasecmp (CheckMe->fadeout, "no")))
         {
                 CheckMe->fadeout = g_strdup ("yes");
         }
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to