Hello community, here is the log from the commit of package gsequencer for openSUSE:Factory checked in at 2019-05-21 10:38:24 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gsequencer (Old) and /work/SRC/openSUSE:Factory/.gsequencer.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gsequencer" Tue May 21 10:38:24 2019 rev:38 rq:704182 version:2.1.72 Changes: -------- --- /work/SRC/openSUSE:Factory/gsequencer/gsequencer.changes 2019-04-15 11:52:45.358565920 +0200 +++ /work/SRC/openSUSE:Factory/.gsequencer.new.5148/gsequencer.changes 2019-05-21 10:38:47.563149120 +0200 @@ -1,0 +2,9 @@ +Sun May 19 19:36:42 UTC 2019 - Joël Krähemann <jkraehem...@gmail.com> + +- new upstream v2.1.72 fixed OSC meter controller potential + SIGSEGV. +- implemented OSC meter monitoring refresh-rate configuration + option. +- minor improvements to the documentation. + +------------------------------------------------------------------- Old: ---- gsequencer-2.1.69.tar.gz New: ---- gsequencer-2.1.72.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gsequencer.spec ++++++ --- /var/tmp/diff_new_pack.Vxyp1v/_old 2019-05-21 10:38:49.443147899 +0200 +++ /var/tmp/diff_new_pack.Vxyp1v/_new 2019-05-21 10:38:49.447147896 +0200 @@ -21,7 +21,7 @@ # activated with --with run_functional_tests command line switch. %bcond_with run_functional_tests Name: gsequencer -Version: 2.1.69 +Version: 2.1.72 Release: 0 Summary: Audio processing engine License: GPL-3.0+ AND AGPL-3.0+ AND GFDL-1.3 ++++++ gsequencer-2.1.69.tar.gz -> gsequencer-2.1.72.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/ChangeLog new/gsequencer-2.1.72/ChangeLog --- old/gsequencer-2.1.69/ChangeLog 2019-04-12 05:42:33.000000000 +0200 +++ new/gsequencer-2.1.72/ChangeLog 2019-05-19 18:09:23.000000000 +0200 @@ -1,3 +1,20 @@ +ags (2.1.72) + + [ Joël Krähemann (Maintainer of Advanced Gtk+ Sequencer) ] + * implemented OSC meter refresh rate option + +ags (2.1.71) + + [ Joël Krähemann (Maintainer of Advanced Gtk+ Sequencer) ] + * fixed OSC server meter controller type tag boundaries + * fixed potential SIGSEGV as expanding OSC meter path + +ags (2.1.70) + + [ Joël Krähemann (Maintainer of Advanced Gtk+ Sequencer) ] + * fixed missing ags_sound_enums.h in API reference manual + * fixed OSC server path in docs/oscBook/chap6.xml + ags (2.1.69) [ Joël Krähemann (Maintainer of Advanced Gtk+ Sequencer) ] diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/ags/X/ags_osc_server_preferences.c new/gsequencer-2.1.72/ags/X/ags_osc_server_preferences.c --- old/gsequencer-2.1.69/ags/X/ags_osc_server_preferences.c 2019-03-02 21:22:03.000000000 +0100 +++ new/gsequencer-2.1.72/ags/X/ags_osc_server_preferences.c 2019-05-19 18:09:23.000000000 +0200 @@ -1,5 +1,5 @@ /* GSequencer - Advanced GTK Sequencer - * Copyright (C) 2005-2018 Joël Krähemann + * Copyright (C) 2005-2019 Joël Krähemann * * This file is part of GSequencer. * @@ -43,12 +43,12 @@ /** * SECTION:ags_osc_server_preferences - * @short_description: A composite widget to do osc_server related preferences + * @short_description: A composite widget to do OSC server related preferences * @title: AgsOscServerPreferences * @section_id: * @include: ags/X/ags_osc_server_preferences.h * - * #AgsOscServerPreferences enables you to make osc_server related preferences. + * #AgsOscServerPreferences enables you to make OSC server related preferences. */ static gpointer ags_osc_server_preferences_parent_class = NULL; @@ -154,7 +154,7 @@ 2); /* table */ - table = (GtkTable *) gtk_table_new(2, 8, + table = (GtkTable *) gtk_table_new(2, 9, FALSE); gtk_box_pack_start(GTK_BOX(osc_server_preferences), GTK_WIDGET(table), @@ -288,6 +288,30 @@ 0, 0); g_free(str); + + /* monitor timeout */ + label = (GtkLabel *) g_object_new(GTK_TYPE_LABEL, + "label", i18n("monitor timeout"), + "xalign", 0.0, + NULL); + gtk_table_attach(table, + GTK_WIDGET(label), + 0, 1, + 8, 9, + GTK_FILL, GTK_FILL, + 0, 0); + + osc_server_preferences->monitor_timeout = (GtkSpinButton *) gtk_spin_button_new_with_range(0.000001, 10.0, 0.0001); + gtk_spin_button_set_digits(osc_server_preferences->monitor_timeout, + 9); + gtk_spin_button_set_value(osc_server_preferences->monitor_timeout, + AGS_OSC_METER_CONTROLLER_DEFAULT_MONITOR_TIMEOUT); + gtk_table_attach(table, + GTK_WIDGET(osc_server_preferences->monitor_timeout), + 1, 2, + 8, 9, + GTK_FILL, GTK_FILL, + 0, 0); } void @@ -514,6 +538,15 @@ AGS_CONFIG_OSC_SERVER, "server-port", str); + + /* monitor timeout */ + str = g_strdup_printf("%f", + gtk_spin_button_get_value(osc_server_preferences->monitor_timeout)); + + ags_config_set_value(config, + AGS_CONFIG_OSC_SERVER, + "monitor-timeout", + str); } void @@ -623,6 +656,17 @@ gtk_entry_set_text(osc_server_preferences->port, str); } + + /* monitor timeout */ + str = ags_config_get_value(config, + AGS_CONFIG_OSC_SERVER, + "monitor-timeout"); + + if(str != NULL){ + gtk_spin_button_set_value(osc_server_preferences->monitor_timeout, + g_ascii_strtod(str, + NULL)); + } /* unblock update */ osc_server_preferences->flags &= (~AGS_OSC_SERVER_PREFERENCES_BLOCK_UPDATE); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/ags/X/ags_osc_server_preferences.h new/gsequencer-2.1.72/ags/X/ags_osc_server_preferences.h --- old/gsequencer-2.1.69/ags/X/ags_osc_server_preferences.h 2019-03-02 21:22:03.000000000 +0100 +++ new/gsequencer-2.1.72/ags/X/ags_osc_server_preferences.h 2019-05-19 18:09:23.000000000 +0200 @@ -1,5 +1,5 @@ /* GSequencer - Advanced GTK Sequencer - * Copyright (C) 2005-2018 Joël Krähemann + * Copyright (C) 2005-2019 Joël Krähemann * * This file is part of GSequencer. * @@ -59,6 +59,8 @@ GtkEntry *ip6_address; GtkEntry *port; + + GtkSpinButton *monitor_timeout; }; struct _AgsOscServerPreferencesClass diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/ags/audio/osc/ags_osc_buffer_util.c new/gsequencer-2.1.72/ags/audio/osc/ags_osc_buffer_util.c --- old/gsequencer-2.1.69/ags/audio/osc/ags_osc_buffer_util.c 2019-03-02 21:22:04.000000000 +0100 +++ new/gsequencer-2.1.72/ags/audio/osc/ags_osc_buffer_util.c 2019-05-17 09:43:01.000000000 +0200 @@ -19,6 +19,8 @@ #include <ags/audio/osc/ags_osc_buffer_util.h> +#include <glib/gtypes.h> + #include <ags/libags.h> #include <ags/audio/osc/ags_osc_util.h> @@ -78,7 +80,7 @@ tmp = (guint32) (tmp << 8) + (buffer[3] & 0xff); if(val != NULL){ - *val = tmp; + val[0] = tmp; } } @@ -222,7 +224,7 @@ data.val = (data.val << 8) + (buffer[3] & 0xff); if(val != NULL){ - *val = data.ieee_float.v_float; + val[0] = data.ieee_float.v_float; } } @@ -436,7 +438,7 @@ tmp = (guint64) (tmp << 8) + (buffer[7] & 0xff); if(val != NULL){ - *val = tmp; + val[0] = tmp; } } @@ -506,7 +508,7 @@ data.val = (guint64) (data.val << 8) + (buffer[7] & 0xff); if(val != NULL){ - *val = data.ieee_double.v_double; + val[0] = data.ieee_double.v_double; } } @@ -555,7 +557,7 @@ tmp = (buffer[3] & 0xff); if(val != NULL){ - *val = tmp; + val[0] = tmp; } } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/ags/audio/osc/controller/ags_osc_meter_controller.c new/gsequencer-2.1.72/ags/audio/osc/controller/ags_osc_meter_controller.c --- old/gsequencer-2.1.69/ags/audio/osc/controller/ags_osc_meter_controller.c 2019-03-02 21:22:04.000000000 +0100 +++ new/gsequencer-2.1.72/ags/audio/osc/controller/ags_osc_meter_controller.c 2019-05-19 18:09:23.000000000 +0200 @@ -40,6 +40,8 @@ #include <string.h> #include <strings.h> +#include <math.h> + #include <sys/types.h> #include <regex.h> @@ -268,19 +270,49 @@ void ags_osc_meter_controller_init(AgsOscMeterController *osc_meter_controller) { + AgsConfig *config; + + gchar *str; + + gdouble monitor_timeout; + g_object_set(osc_meter_controller, "context-path", "/meter", NULL); osc_meter_controller->flags = 0; + config = ags_config_get_instance(); + + /* monitor timeout */ osc_meter_controller->monitor_timeout = (struct timespec *) malloc(sizeof(struct timespec)); - osc_meter_controller->monitor_timeout->tv_sec = 0; - osc_meter_controller->monitor_timeout->tv_nsec = NSEC_PER_SEC / 30; + monitor_timeout = AGS_OSC_METER_CONTROLLER_DEFAULT_MONITOR_TIMEOUT; + + str = ags_config_get_value(config, + AGS_CONFIG_OSC_SERVER, + "monitor-timeout"); + + if(str == NULL){ + str = ags_config_get_value(config, + AGS_CONFIG_OSC_SERVER_0, + "monitor-timeout"); + } + if(str != NULL){ + monitor_timeout = g_ascii_strtod(str, + NULL); + + free(str); + } + + osc_meter_controller->monitor_timeout->tv_sec = floor(monitor_timeout); + osc_meter_controller->monitor_timeout->tv_nsec = (monitor_timeout - floor(monitor_timeout)) * NSEC_PER_SEC; + + /* monitor thread */ osc_meter_controller->monitor_thread = (pthread_t *) malloc(sizeof(pthread_t)); - + + /* monitor structs */ osc_meter_controller->monitor = NULL; } @@ -505,7 +537,7 @@ type_tag[0] = ','; type_tag[1] = 's'; type_tag[2] = '['; - type_tag[port_value_length + 4] = ']'; + type_tag[port_value_length + 3] = ']'; if(port_value_type == G_TYPE_DOUBLE){ for(i = 0; i < port_value_length; i++){ @@ -574,12 +606,14 @@ value = port->port_value.ags_port_double_ptr[i]; - ags_osc_buffer_util_put_double(packet + packet_size + 3 + (i * 8), + ags_osc_buffer_util_put_double(packet + packet_size + (i * 8), value); } pthread_mutex_unlock(port_mutex); + packet_size += (port_value_length * 8); + /* packet size */ ags_osc_buffer_util_put_int32(packet, packet_size); @@ -3468,7 +3502,8 @@ static const size_t max_matches = 3; static const size_t index_max_matches = 2; - if(path == NULL){ + if(audio == NULL || + path == NULL){ return; } @@ -4045,7 +4080,8 @@ static const size_t max_matches = 4; static const size_t index_max_matches = 3; - if(path == NULL){ + if(channel == NULL || + path == NULL){ return; } @@ -4395,7 +4431,8 @@ static const size_t max_matches = 4; static const size_t index_max_matches = 3; - if(path == NULL){ + if(recall == NULL || + path == NULL){ return; } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/ags/audio/osc/controller/ags_osc_meter_controller.h new/gsequencer-2.1.72/ags/audio/osc/controller/ags_osc_meter_controller.h --- old/gsequencer-2.1.69/ags/audio/osc/controller/ags_osc_meter_controller.h 2018-11-30 22:06:05.000000000 +0100 +++ new/gsequencer-2.1.72/ags/audio/osc/controller/ags_osc_meter_controller.h 2019-05-19 18:09:23.000000000 +0200 @@ -1,5 +1,5 @@ /* GSequencer - Advanced GTK Sequencer - * Copyright (C) 2005-2018 Joël Krähemann + * Copyright (C) 2005-2019 Joël Krähemann * * This file is part of GSequencer. * @@ -37,6 +37,8 @@ #define AGS_IS_OSC_METER_CONTROLLER_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), AGS_TYPE_OSC_METER_CONTROLLER)) #define AGS_OSC_METER_CONTROLLER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS(obj, AGS_TYPE_OSC_METER_CONTROLLER, AgsOscMeterControllerClass)) +#define AGS_OSC_METER_CONTROLLER_DEFAULT_MONITOR_TIMEOUT (1.0 / 30.0) + #define AGS_OSC_METER_CONTROLLER_MONITOR(ptr) ((AgsOscMeterControllerMonitor *)(ptr)) typedef struct _AgsOscMeterController AgsOscMeterController; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/configure new/gsequencer-2.1.72/configure --- old/gsequencer-2.1.69/configure 2019-04-12 05:43:10.000000000 +0200 +++ new/gsequencer-2.1.72/configure 2019-05-19 18:09:51.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for gsequencer 2.1.69. +# Generated by GNU Autoconf 2.69 for gsequencer 2.1.72. # # Report bugs to <jkraehem...@gmail.com>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='gsequencer' PACKAGE_TARNAME='gsequencer' -PACKAGE_VERSION='2.1.69' -PACKAGE_STRING='gsequencer 2.1.69' +PACKAGE_VERSION='2.1.72' +PACKAGE_STRING='gsequencer 2.1.72' PACKAGE_BUGREPORT='jkraehem...@gmail.com' PACKAGE_URL='' @@ -1482,7 +1482,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures gsequencer 2.1.69 to adapt to many kinds of systems. +\`configure' configures gsequencer 2.1.72 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1557,7 +1557,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of gsequencer 2.1.69:";; + short | recursive ) echo "Configuration of gsequencer 2.1.72:";; esac cat <<\_ACEOF @@ -1755,7 +1755,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -gsequencer configure 2.1.69 +gsequencer configure 2.1.72 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2232,7 +2232,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by gsequencer $as_me 2.1.69, which was +It was created by gsequencer $as_me 2.1.72, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3099,7 +3099,7 @@ # Define the identity of the package. PACKAGE='gsequencer' - VERSION='2.1.69' + VERSION='2.1.72' cat >>confdefs.h <<_ACEOF @@ -19778,7 +19778,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by gsequencer $as_me 2.1.69, which was +This file was extended by gsequencer $as_me 2.1.72, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -19844,7 +19844,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -gsequencer config.status 2.1.69 +gsequencer config.status 2.1.72 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/configure.ac new/gsequencer-2.1.72/configure.ac --- old/gsequencer-2.1.69/configure.ac 2019-04-12 05:42:54.000000000 +0200 +++ new/gsequencer-2.1.72/configure.ac 2019-05-19 18:09:36.000000000 +0200 @@ -8,7 +8,7 @@ # Process this file with autoconf to produce a configure script. AC_PREREQ([2.69]) -AC_INIT([gsequencer],[2.1.69],[jkraehem...@gmail.com]) +AC_INIT([gsequencer],[2.1.72],[jkraehem...@gmail.com]) AM_INIT_AUTOMAKE([subdir-objects]) AC_CONFIG_SRCDIR([ags/config.h.in]) AC_CONFIG_HEADERS([ags/config.h]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/docs/oscBook/chap6.xml new/gsequencer-2.1.72/docs/oscBook/chap6.xml --- old/gsequencer-2.1.69/docs/oscBook/chap6.xml 2019-03-06 21:01:28.000000000 +0100 +++ new/gsequencer-2.1.72/docs/oscBook/chap6.xml 2019-05-04 17:18:21.000000000 +0200 @@ -49,7 +49,7 @@ <itemizedlist> <listitem> - /AgsSoundProvider/AgsAudio[0]/AgsMuteChannel[0]/AgsPort["./muted[0]"]:value + /AgsSoundProvider/AgsAudio[0]/AgsMuteAudio[0]/AgsPort["./muted[0]"]:value </listitem> <listitem> /AgsSoundProvider/AgsAudio[0]/AgsInput[0]/AgsVolumeChannel[0]/AgsPort["./volume[0]"]:value diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/docs/reference/libags-audio/libags_audio.xml new/gsequencer-2.1.72/docs/reference/libags-audio/libags_audio.xml --- old/gsequencer-2.1.69/docs/reference/libags-audio/libags_audio.xml 2019-03-06 02:20:47.000000000 +0100 +++ new/gsequencer-2.1.72/docs/reference/libags-audio/libags_audio.xml 2019-05-04 17:18:21.000000000 +0200 @@ -101,6 +101,7 @@ The utility functions do common tasks. </para> + <xi:include href="xml/ags_sound_enums.xml"/> <xi:include href="xml/ags_soundcard_util.xml"/> <xi:include href="xml/ags_sequencer_util.xml"/> <xi:include href="xml/ags_char_buffer_util.xml"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/docs/reference/libgsequencer/libgsequencer-sections.txt new/gsequencer-2.1.72/docs/reference/libgsequencer/libgsequencer-sections.txt --- old/gsequencer-2.1.69/docs/reference/libgsequencer/libgsequencer-sections.txt 2019-03-06 02:20:47.000000000 +0100 +++ new/gsequencer-2.1.72/docs/reference/libgsequencer/libgsequencer-sections.txt 2019-05-04 17:18:21.000000000 +0200 @@ -3789,7 +3789,7 @@ AGS_MACHINE_COUNTER AgsWindowFlags AgsMachineCounter -ags_window_public_machine_counter_alloc +ags_window_standard_machine_counter_alloc ags_window_find_machine_counter ags_window_increment_machine_counter ags_window_decrement_machine_counter diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gsequencer-2.1.69/po/gsequencer.pot new/gsequencer-2.1.72/po/gsequencer.pot --- old/gsequencer-2.1.69/po/gsequencer.pot 2019-04-12 05:44:29.000000000 +0200 +++ new/gsequencer-2.1.72/po/gsequencer.pot 2019-05-19 18:10:25.000000000 +0200 @@ -6,9 +6,9 @@ #, fuzzy msgid "" msgstr "" -"Project-Id-Version: gsequencer 2.1.69\n" +"Project-Id-Version: gsequencer 2.1.72\n" "Report-Msgid-Bugs-To: jkraehem...@gmail.com\n" -"POT-Creation-Date: 2019-04-12 05:44+0200\n" +"POT-Creation-Date: 2019-05-19 18:10+0200\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <l...@li.org>\n" @@ -489,6 +489,10 @@ msgid "port" msgstr "" +#: ags/X/ags_osc_server_preferences.c:294 +msgid "monitor timeout" +msgstr "" + #: ags/X/ags_pad_editor.c:434 msgid "pad" msgstr ""