Hello community,

here is the log from the commit of package guitarix for openSUSE:Factory 
checked in at 2020-12-04 21:29:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/guitarix (Old)
 and      /work/SRC/openSUSE:Factory/.guitarix.new.5913 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "guitarix"

Fri Dec  4 21:29:11 2020 rev:31 rq:853049 version:0.41.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/guitarix/guitarix.changes        2020-11-23 
18:44:53.997021341 +0100
+++ /work/SRC/openSUSE:Factory/.guitarix.new.5913/guitarix.changes      
2020-12-04 21:29:15.750191516 +0100
@@ -1,0 +2,6 @@
+Fri Dec  4 05:46:10 UTC 2020 - Konstantin Voinov <[email protected]>
+
+- Add guitarix-fix-cannot-select-non-users-preset.patch fixes #21
+- Use proper lto disablement 
+
+-------------------------------------------------------------------

New:
----
  guitarix-fix-cannot-select-non-users-preset.patch

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

Other differences:
------------------
++++++ guitarix.spec ++++++
--- /var/tmp/diff_new_pack.GeanDf/_old  2020-12-04 21:29:16.562192681 +0100
+++ /var/tmp/diff_new_pack.GeanDf/_new  2020-12-04 21:29:16.566192686 +0100
@@ -16,6 +16,7 @@
 #
 
 
+%define _lto_cflags %{nil}
 %bcond_without ladspa
 
 Name:           guitarix
@@ -28,6 +29,7 @@
 Source:         
http://downloads.sourceforge.net/project/guitarix/guitarix/guitarix2-%{version}.tar.xz
 Patch0:         fpexception.patch
 Patch1:         guitarix-boost69.patch
+Patch2:         guitarix-fix-cannot-select-non-users-preset.patch
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  gperf
@@ -146,7 +148,9 @@
 
 %prep
 %setup -q -n guitarix-%{version}
-%autopatch -p1
+%patch0 -p1
+%patch1 -p1
+%patch2 -p2
 
 %build
 #todo: add faust package to openSUSE
@@ -155,11 +159,6 @@
 #find . -name "*.py" -print -exec 2to3 -wn {} \;
 #for i in `grep -rl "/usr/bin/env python"`;do 2to3 -wn ${i} ;done
 for i in `grep -rl "/usr/bin/env python"`;do sed -i 
'1s/^#!.*/#!\/usr\/bin\/python3/' ${i} ;done
-export CFLAGS=`echo %{optflags}| sed 's/-flto=auto//'`
-%ifarch %ix86
-export CFLAGS="$CFLAGS -mfxsr"
-%endif
-echo $CFLAGS
 export LDFLAGS="-ldl"
 ./waf configure -v --faust \
                    --libdir=%{_libdir} \
@@ -171,7 +170,10 @@
                    --new-ladspa \
 %endif
                    --prefix=%{_prefix} \
-                   --cxxflags="$CFLAGS \
+                   --cxxflags="%{optflags} \
+%ifarch %ix86
+                   -mfxsr \
+%endif
                    -std=gnu++0x"
 ./waf build -v %{?_smp_mflags}
 

++++++ guitarix-fix-cannot-select-non-users-preset.patch ++++++
From 15f76716e899b8826693ff7415fa12effbc71597 Mon Sep 17 00:00:00 2001
From: brummer10 <[email protected]>
Date: Sun, 4 Oct 2020 13:44:50 +0200
Subject: [PATCH] Fix issue #21 Cannot select non-user's preset

---
 trunk/src/gx_head/gui/gx_preset_window.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/trunk/src/gx_head/gui/gx_preset_window.cpp 
b/trunk/src/gx_head/gui/gx_preset_window.cpp
index be6ffa66..34be732f 100644
--- a/trunk/src/gx_head/gui/gx_preset_window.cpp
+++ b/trunk/src/gx_head/gui/gx_preset_window.cpp
@@ -155,7 +155,7 @@ PresetWindow::PresetWindow(Glib::RefPtr<gx_gui::GxBuilder> 
bld, gx_engine::GxMac
     pstore->signal_row_deleted().connect(sigc::mem_fun(*this, 
&PresetWindow::on_preset_reordered));
     preset_treeview->get_selection()->set_select_function(
        sigc::mem_fun(*this, &PresetWindow::select_func));
-    preset_treeview->signal_row_clicked().connect(sigc::mem_fun(*this, 
&PresetWindow::on_preset_changed));
+    preset_treeview->signal_cursor_changed     ().connect(sigc::mem_fun(*this, 
&PresetWindow::on_preset_changed));
     preset_cellrenderer->signal_edited().connect(sigc::mem_fun(*this, 
&PresetWindow::on_preset_edited));
     preset_cellrenderer->signal_editing_canceled().connect(
        sigc::bind(sigc::mem_fun(*this, &PresetWindow::on_edit_canceled), 
preset_column_preset));
@@ -1154,6 +1154,7 @@ bool 
PresetWindow::on_preset_button_release(GdkEventButton *ev) {
     Glib::ustring nm = pstore->get_iter(pt)->get_value(pstore->col.name);
     if (nm.empty()) {  // "<new>"
        if (col == preset_column_preset) {
+        organize_presets->set_active();
            start_edit(pt, *preset_column_preset, *preset_cellrenderer);
        }
        return false;
_______________________________________________
openSUSE Commits mailing list -- [email protected]
To unsubscribe, email [email protected]
List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette
List Archives: 
https://lists.opensuse.org/archives/list/[email protected]

Reply via email to