SHA256
1
0
forked from pool/seq24

Accepting request 97062 from multimedia:apps

- update to 0.9.2
  * Fixed error if path for last used directory is not properly set.
  * Fix tooltip usage for older GTK versions (GTK_MINOR_VERSION < 12)
  * Fix sched_param memory leaks
  * Fix doubled key event for screen set name line
 
 New Features
  * Add support for jack session, patch provided by Torben Hohn
  * Add interrupt handler for SIGUSR1 to enable LADISH level 1 support
  * Add interrupt handler for SIGINT to ask for unsaved file changes
  * Remove "-f" command line option to be replaced by a simple <filename>
    argument (see "seq24 --help" for more information)
General Changes
  * Add mnemonics for bottom line widgets in main window and label for
    screen set name edit line
  * Add missing command line parameters to help message, display short
    options as well
  * Add command line option for program version
  * Add missing command line parameters to man page
  * Remove complaints about file read error if configuration files do not
    exist
  * Cleanup configure.in: remove unused variables, harmonize option
    enabling/disabling
  * Some code cleanups

- add automake as buildrequire to avoid implicit dependency

OBS-URL: https://build.opensuse.org/request/show/97062
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/seq24?expand=0&rev=15
This commit is contained in:
Stephan Kulow 2011-12-21 09:03:50 +00:00 committed by Git OBS Bridge
commit c18d5baf53
6 changed files with 48 additions and 106 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:525893bc67d5b55dcc0326903f91acdd5e96e092e01a1a3109ac62242d7d2fc5
size 131712

3
seq24-0.9.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dbcfd18b7744ae739717588dd71a9923e5c08cf8fe1d3e71c897515cab875b0a
size 213059

View File

@ -1,51 +0,0 @@
Index: configure.in
===================================================================
--- configure.in.orig
+++ configure.in
@@ -69,6 +69,33 @@ AM_PATH_ALSA(0.9.0)
####AM_PATH_GTKMM(1.2.0) OLD
PKG_CHECK_MODULES(GTKMM, gtkmm-2.4 >= 2.4.0)
+
+AC_MSG_CHECKING([for return type of Gtk::Dialog::get_action_area ...])
+AC_LANG_PUSH(C++)
+AH_TEMPLATE([BBOX_TYPE], [The return type of Gtk::Dialog::get_action_area])
+
+O_CXXFLAGS="$CXXFLAGS"
+CXXFLAGS="$CXXFLAGS $pkg_cv_GTKMM_CFLAGS"
+AC_COMPILE_IFELSE(
+[#include <gtkmm.h>
+
+void bboxtest()
+{
+ Gtk::FileChooserDialog dialog("Test",
+ Gtk::FILE_CHOOSER_ACTION_OPEN);
+ Gtk::ButtonBox *bb = dialog.get_action_area();
+}],
+[
+AC_DEFINE(BBOX_TYPE, ButtonBox)
+bbox_type="ButtonBox *"
+],
+[
+AC_DEFINE(BBOX_TYPE, HButtonBox)
+bbox_type="HButtonBox *"
+])
+AC_MSG_RESULT([$bbox_type])
+CXXFLAGS="$O_CXXFLAGS"
+
AC_SUBST(GTKMM_CFLAGS)
AC_SUBST(GTKMM_LIBS)
Index: src/mainwnd.cpp
===================================================================
--- src/mainwnd.cpp.orig
+++ src/mainwnd.cpp
@@ -595,7 +595,7 @@ mainwnd::file_import_dialog( void )
dialog.set_current_folder(last_used_dir);
- HButtonBox *btnbox = dialog.get_action_area();
+ BBOX_TYPE *btnbox = dialog.get_action_area();
HBox hbox( false, 2 );
m_adjust_load_offset = manage( new Adjustment( 0, -(c_max_sets - 1),

View File

@ -1,31 +0,0 @@
--- src/optionsfile.cpp
+++ src/optionsfile.cpp
@@ -69,22 +69,22 @@ optionsfile::parse( perform *a_perf )
&sequence,
- &a_perf->get_midi_control_toggle(i)->m_active,
- &a_perf->get_midi_control_toggle(i)->m_inverse_active,
+ (int *)&a_perf->get_midi_control_toggle(i)->m_active,
+ (int *)&a_perf->get_midi_control_toggle(i)->m_inverse_active,
&a_perf->get_midi_control_toggle(i)->m_status,
&a_perf->get_midi_control_toggle(i)->m_data,
&a_perf->get_midi_control_toggle(i)->m_min_value,
&a_perf->get_midi_control_toggle(i)->m_max_value,
- &a_perf->get_midi_control_on(i)->m_active,
- &a_perf->get_midi_control_on(i)->m_inverse_active,
+ (int *)&a_perf->get_midi_control_on(i)->m_active,
+ (int *)&a_perf->get_midi_control_on(i)->m_inverse_active,
&a_perf->get_midi_control_on(i)->m_status,
&a_perf->get_midi_control_on(i)->m_data,
&a_perf->get_midi_control_on(i)->m_min_value,
&a_perf->get_midi_control_on(i)->m_max_value,
- &a_perf->get_midi_control_off(i)->m_active,
- &a_perf->get_midi_control_off(i)->m_inverse_active,
+ (int *)&a_perf->get_midi_control_off(i)->m_active,
+ (int *)&a_perf->get_midi_control_off(i)->m_inverse_active,
&a_perf->get_midi_control_off(i)->m_status,
&a_perf->get_midi_control_off(i)->m_data,
&a_perf->get_midi_control_off(i)->m_min_value,

View File

@ -1,3 +1,37 @@
-------------------------------------------------------------------
Mon Dec 19 13:06:49 UTC 2011 - coolo@suse.de
- update to 0.9.2
* Fixed error if path for last used directory is not properly set.
* Fix tooltip usage for older GTK versions (GTK_MINOR_VERSION < 12)
* Fix sched_param memory leaks
* Fix doubled key event for screen set name line
New Features
* Add support for jack session, patch provided by Torben Hohn
* Add interrupt handler for SIGUSR1 to enable LADISH level 1 support
* Add interrupt handler for SIGINT to ask for unsaved file changes
* Remove "-f" command line option to be replaced by a simple <filename>
argument (see "seq24 --help" for more information)
General Changes
* Add mnemonics for bottom line widgets in main window and label for
screen set name edit line
* Add missing command line parameters to help message, display short
options as well
* Add command line option for program version
* Add missing command line parameters to man page
* Remove complaints about file read error if configuration files do not
exist
* Cleanup configure.in: remove unused variables, harmonize option
enabling/disabling
* Some code cleanups
-------------------------------------------------------------------
Fri Dec 2 16:43:00 UTC 2011 - coolo@suse.com
- add automake as buildrequire to avoid implicit dependency
-------------------------------------------------------------------
Tue Apr 20 06:43:35 UTC 2010 - davejplater@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package seq24 (Version 0.9.0)
# spec file for package seq24
#
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2011 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
@ -15,22 +15,21 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
# norootforbuild
Name: seq24
BuildRequires: alsa-devel gcc-c++ jack-devel update-desktop-files
BuildRequires: alsa-devel
BuildRequires: automake
BuildRequires: gcc-c++
BuildRequires: gtkmm2-devel
BuildRequires: jack-devel
BuildRequires: update-desktop-files
Summary: A Small, Real-Time MIDI Sequencer
Version: 0.9.0
Release: 2
License: GPLv2+
License: GPL-2.0+
Group: Productivity/Multimedia/Sound/Midi
Source: http://launchpad.net/seq24/trunk/0.9.0/+download/%{name}-%{version}.tar.bz2
Version: 0.9.2
Release: 0
Source: http://launchpad.net/seq24/trunk/%{version}/+download/%{name}-%{version}.tar.bz2
Source1: %name.desktop
Source2: seq24.png
Patch0: seq24-buttonbox.patch
Patch1: seq24-codeclenup.patch
Url: https://launchpad.net/seq24
BuildRoot: %{_tmppath}/%{name}-%{version}-build
@ -38,19 +37,10 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
Seq24 is a real-time midi sequencer. It was created to provide a very
simple interface for editing and playing MIDI 'loops.'
Authors:
--------
Rob C. Buse <rcbuse@filter24.org>
%prep
%setup -q
%patch0
%patch1
%build
autoreconf --force --install
%configure
make %{?jobs:-j %jobs}