Hello community,

here is the log from the commit of package pragha for openSUSE:Factory checked 
in at 2016-04-28 16:54:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/pragha (Old)
 and      /work/SRC/openSUSE:Factory/.pragha.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "pragha"

Changes:
--------
--- /work/SRC/openSUSE:Factory/pragha/pragha.changes    2015-10-06 
13:25:45.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.pragha.new/pragha.changes       2016-04-28 
16:57:26.000000000 +0200
@@ -1,0 +2,12 @@
+Thu Apr  7 15:30:54 UTC 2016 - [email protected]
+
+- BuildRequires: pkgconfig(grilo-0.2) for oS <= 13.2. The program
+  isn't ready for grilo-0.3 yet.
+
+-------------------------------------------------------------------
+Mon Jan 18 06:43:08 UTC 2016 - [email protected]
+
+- Add pragha-gtk_switch_set_state.patch: fix build for openSUSE
+  13.1.
+
+-------------------------------------------------------------------

New:
----
  pragha-gtk_switch_set_state.patch

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

Other differences:
------------------
++++++ pragha.spec ++++++
--- /var/tmp/diff_new_pack.NzEpNd/_old  2016-04-28 16:57:28.000000000 +0200
+++ /var/tmp/diff_new_pack.NzEpNd/_new  2016-04-28 16:57:28.000000000 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package pragha
 #
-# Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,6 +25,8 @@
 Url:            https://github.com/pragha-music-player/pragha
 Source0:        
https://github.com/pragha-music-player/pragha/releases/download/v%{version}/%{name}-%{version}.tar.bz2
 Source100:      pragha-rpmlintrc
+# PATCH-FIX-OPENSUSE pragha-gtk_switch_set_state.patch 
[email protected] -- fix build for openSUSE 13.1
+Patch0:         pragha-gtk_switch_set_state.patch
 BuildRequires:  ImageMagick
 BuildRequires:  autoconf
 BuildRequires:  desktop-file-utils
@@ -32,7 +34,9 @@
 BuildRequires:  libtool
 BuildRequires:  pkgconfig(dbus-glib-1)
 BuildRequires:  pkgconfig(glib-2.0) >= 2.32
+%if 0%{?suse_version} && 0%{?suse_version} <= 1320
 BuildRequires:  pkgconfig(grilo-0.2)
+%endif
 BuildRequires:  pkgconfig(gstreamer-1.0)
 BuildRequires:  pkgconfig(gstreamer-plugins-base-1.0)
 BuildRequires:  pkgconfig(gthread-2.0) >= 2.31
@@ -120,6 +124,9 @@
 
 %prep
 %setup -q
+%if 0%{suse_version} && 0%{suse_version} <= 1310
+%patch0 -p 1
+%endif
 
 %build
 %configure

++++++ pragha-gtk_switch_set_state.patch ++++++
diff -ur pragha-1.3.3/src/pragha-equalizer-dialog.c 
pragha-1.3.3-patched/src/pragha-equalizer-dialog.c
--- pragha-1.3.3/src/pragha-equalizer-dialog.c  2015-09-10 03:30:44.000000000 
+0200
+++ pragha-1.3.3-patched/src/pragha-equalizer-dialog.c  2016-01-13 
09:50:50.538039912 +0100
@@ -113,7 +113,7 @@
                { -1.1,  8.0,  5.6, -1.1, -5.6, -4.8, -1.1,  8.0,  9.6,  9.6,  
8.8}, // "Techno"
        };
 
-       gtk_switch_set_state (GTK_SWITCH(dialog->enable), TRUE);
+       gtk_switch_set_active (GTK_SWITCH(dialog->enable), TRUE);
 
        option = gtk_combo_box_get_active (widget);
 
@@ -303,7 +303,7 @@
        /* Enable switch button */
 
        dialog->enable = gtk_switch_new ();
-       gtk_switch_set_state (GTK_SWITCH(dialog->enable), TRUE);
+       gtk_switch_set_active (GTK_SWITCH(dialog->enable), TRUE);
        gtk_widget_set_halign (GTK_WIDGET(dialog->enable), GTK_ALIGN_CENTER);
        g_object_set (G_OBJECT(dialog->enable), "margin", 4, NULL);
        gtk_grid_attach (GTK_GRID(grid), GTK_WIDGET(dialog->enable),
Only in pragha-1.3.3-patched/src: pragha-equalizer-dialog.c~

Reply via email to