Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package pulseeffects for openSUSE:Factory checked in at 2022-05-22 20:27:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/pulseeffects (Old) and /work/SRC/openSUSE:Factory/.pulseeffects.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "pulseeffects" Sun May 22 20:27:57 2022 rev:12 rq:978502 version:4.8.7 Changes: -------- --- /work/SRC/openSUSE:Factory/pulseeffects/pulseeffects.changes 2022-05-02 16:25:56.276862784 +0200 +++ /work/SRC/openSUSE:Factory/.pulseeffects.new.1538/pulseeffects.changes 2022-05-22 20:28:05.726323151 +0200 @@ -1,0 +2,10 @@ +Sun May 22 06:55:48 UTC 2022 - Konstantin Voinov <k...@kott.no-ip.biz> + +- Update to versin 4.8.7 + * Improved compatibility with `Boost 1.79` +- remove 01-fix-boost-include.patch +- version 4.8.6 + * Fixed a crash that happened when the compressor plugin was + initialized with LSP `1.2.0` + +------------------------------------------------------------------- Old: ---- 01-fix-boost-include.patch pulseeffects-4.8.5.tar.gz New: ---- pulseeffects-4.8.7.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ pulseeffects.spec ++++++ --- /var/tmp/diff_new_pack.aId5qn/_old 2022-05-22 20:28:06.270323952 +0200 +++ /var/tmp/diff_new_pack.aId5qn/_new 2022-05-22 20:28:06.274323958 +0200 @@ -17,13 +17,12 @@ Name: pulseeffects -Version: 4.8.5 +Version: 4.8.7 Release: 0 Summary: Audio effects for Pulseaudio applications License: GPL-3.0-or-later URL: https://github.com/wwmm/pulseeffects Source0: https://github.com/wwmm/pulseeffects/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Patch0: 01-fix-boost-include.patch BuildRequires: appstream-glib BuildRequires: gcc-c++ BuildRequires: itstool @@ -63,8 +62,7 @@ %lang_package %prep -%setup -q -%patch0 -p0 +%setup -q -n easyeffects-%{version} # we don't need this sed -i '/^meson.add_install_script/d' meson.build ++++++ pulseeffects-4.8.5.tar.gz -> pulseeffects-4.8.7.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/CHANGELOG.md new/easyeffects-4.8.7/CHANGELOG.md --- old/pulseeffects-4.8.5/CHANGELOG.md 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/CHANGELOG.md 2022-05-15 19:43:55.000000000 +0200 @@ -2,6 +2,18 @@ ## [Unreleased] +## [4.8.7] + +### Added + +- Improved compatibility with `Boost 1.79` + +## [4.8.6] + +### Fixed + +- Fixed a crash that happened when the compressor plugin was initialized with LSP `1.2.0` + ## [4.8.5] ### Added diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/PKGBUILD new/easyeffects-4.8.7/PKGBUILD --- old/pulseeffects-4.8.5/PKGBUILD 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/PKGBUILD 2022-05-15 19:43:55.000000000 +0200 @@ -15,10 +15,10 @@ 'libsamplerate' 'zita-convolver' 'libebur128' 'calf' 'lsp-plugins' 'yelp') makedepends=('meson' 'boost' 'itstool' 'appstream-glib' - 'zam-plugins' 'rubberband' 'librnnoise') + 'zam-plugins' 'rubberband' 'rnnoise') optdepends=('zam-plugins: maximizer' 'rubberband: pitch shifting' - 'librnnoise: noise remover') + 'rnnoise: noise remover') source=("git+https://github.com/wwmm/pulseeffects.git#branch=pulseaudio-legacy") conflicts=(pulseeffects) provides=(pulseeffects) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/data/com.github.wwmm.pulseeffects.appdata.xml.in new/easyeffects-4.8.7/data/com.github.wwmm.pulseeffects.appdata.xml.in --- old/pulseeffects-4.8.5/data/com.github.wwmm.pulseeffects.appdata.xml.in 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/data/com.github.wwmm.pulseeffects.appdata.xml.in 2022-05-15 19:43:55.000000000 +0200 @@ -57,6 +57,8 @@ </screenshot> </screenshots> <releases> + <release version="4.8.7" date="2022-05-15"/> + <release version="4.8.6" date="2022-04-08"/> <release version="4.8.5" date="2021-03-14"/> <release version="4.8.4" date="2020-12-21"/> <release version="4.8.3" date="2020-12-03"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/data/schemas/com.github.wwmm.pulseeffects.pitch.gschema.xml new/easyeffects-4.8.7/data/schemas/com.github.wwmm.pulseeffects.pitch.gschema.xml --- old/pulseeffects-4.8.5/data/schemas/com.github.wwmm.pulseeffects.pitch.gschema.xml 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/data/schemas/com.github.wwmm.pulseeffects.pitch.gschema.xml 2022-05-15 19:43:55.000000000 +0200 @@ -1,7 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> <schemalist> - <schema - id="com.github.wwmm.pulseeffects.pitch"> + <schema id="com.github.wwmm.pulseeffects.pitch"> <key name="state" type="b"> <default>false</default> </key> @@ -12,33 +11,30 @@ <default>true</default> </key> <key name="cents" type="d"> - <range min="-100" max="100"/> + <range min="-100" max="100" /> <default>0</default> </key> <key name="semitones" type="i"> - <range min="-12" max="12"/> + <range min="-12" max="12" /> <default>0</default> </key> <key name="octaves" type="i"> - <range min="-3" max="3"/> + <range min="-3" max="3" /> <default>0</default> </key> <key name="crispness" type="i"> - <range min="0" max="3"/> + <range min="0" max="3" /> <default>3</default> </key> <key name="formant-preserving" type="b"> <default>false</default> </key> - <key name="faster" type="b"> - <default>false</default> - </key> <key name="input-gain" type="d"> - <range min="-20.0" max="20.0"/> + <range min="-20.0" max="20.0" /> <default>0.0</default> </key> <key name="output-gain" type="d"> - <range min="-20.0" max="20.0"/> + <range min="-20.0" max="20.0" /> <default>0.0</default> </key> </schema> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/data/ui/pitch.glade new/easyeffects-4.8.7/data/ui/pitch.glade --- old/pulseeffects-4.8.5/data/ui/pitch.glade 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/data/ui/pitch.glade 2022-05-15 19:43:55.000000000 +0200 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="UTF-8"?> -<!-- Generated with glade 3.38.1 --> +<!-- Generated with glade 3.38.2 --> <interface domain="pulseeffects"> <requires lib="gtk+" version="3.24"/> <object class="GtkAdjustment" id="cents"> @@ -118,7 +118,7 @@ <object class="GtkAdjustment" id="input_gain"> <property name="lower">-20</property> <property name="upper">20</property> - <property name="step-increment">0.1</property> + <property name="step-increment">0.10</property> <property name="page-increment">1</property> </object> <object class="GtkAdjustment" id="octaves"> @@ -130,7 +130,7 @@ <object class="GtkAdjustment" id="output_gain"> <property name="lower">-20</property> <property name="upper">20</property> - <property name="step-increment">0.1</property> + <property name="step-increment">0.10</property> <property name="page-increment">1</property> </object> <object class="GtkAdjustment" id="semitones"> @@ -390,37 +390,12 @@ </packing> </child> <child> - <!-- n-columns=2 n-rows=1 --> - <object class="GtkGrid"> + <object class="GtkToggleButton" id="formant_preserving"> + <property name="label" translatable="yes">Preserve Formant</property> <property name="visible">True</property> - <property name="can-focus">False</property> + <property name="can-focus">True</property> + <property name="receives-default">True</property> <property name="halign">center</property> - <property name="column-spacing">60</property> - <property name="column-homogeneous">True</property> - <child> - <object class="GtkToggleButton" id="faster"> - <property name="label" translatable="yes">Faster</property> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> - </object> - <packing> - <property name="left-attach">0</property> - <property name="top-attach">0</property> - </packing> - </child> - <child> - <object class="GtkToggleButton" id="formant_preserving"> - <property name="label" translatable="yes">Preserve Formant</property> - <property name="visible">True</property> - <property name="can-focus">True</property> - <property name="receives-default">True</property> - </object> - <packing> - <property name="left-attach">1</property> - <property name="top-attach">0</property> - </packing> - </child> </object> <packing> <property name="left-attach">0</property> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/meson.build new/easyeffects-4.8.7/meson.build --- old/pulseeffects-4.8.5/meson.build 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/meson.build 2022-05-15 19:43:55.000000000 +0200 @@ -3,7 +3,7 @@ 'c', 'cpp', default_options : ['cpp_std=c++17','buildtype=debugoptimized'], - version: '4.8.5', + version: '4.8.7', meson_version: '>= 0.40.0' ) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/src/compressor.cpp new/easyeffects-4.8.7/src/compressor.cpp --- old/pulseeffects-4.8.5/src/compressor.cpp 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/src/compressor.cpp 2022-05-15 19:43:55.000000000 +0200 @@ -20,10 +20,38 @@ #include "compressor.hpp" #include <glibmm/main.h> #include <array> +#include <cstring> #include "util.hpp" namespace { +auto mode_enum_to_int(GValue* value, GVariant* variant, gpointer user_data) -> gboolean { + const auto* v = g_variant_get_string(variant, nullptr); + + if (std::strcmp(v, "Downward") == 0) { + g_value_set_enum(value, 0); + } else if (std::strcmp(v, "Upward") == 0) { + g_value_set_enum(value, 1); + } + + return 1; +} + +auto int_to_mode_enum(const GValue* value, const GVariantType* expected_type, gpointer user_data) -> GVariant* { + const auto v = g_value_get_int(value); + + switch (v) { + case 0: + return g_variant_new_string("Downward"); + + case 1: + return g_variant_new_string("Upward"); + + default: + return g_variant_new_string("Downward"); + } +} + void on_post_messages_changed(GSettings* settings, gchar* key, Compressor* l) { const auto post = g_settings_get_boolean(settings, key); @@ -157,7 +185,8 @@ } void Compressor::bind_to_gsettings() { - g_settings_bind(settings, "mode", compressor, "cm", G_SETTINGS_BIND_DEFAULT); + g_settings_bind_with_mapping(settings, "mode", compressor, "cm", G_SETTINGS_BIND_DEFAULT, mode_enum_to_int, + int_to_mode_enum, nullptr, nullptr); g_settings_bind(settings, "sidechain-listen", compressor, "scl", G_SETTINGS_BIND_DEFAULT); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/src/general_settings_ui.cpp new/easyeffects-4.8.7/src/general_settings_ui.cpp --- old/pulseeffects-4.8.5/src/general_settings_ui.cpp 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/src/general_settings_ui.cpp 2022-05-15 19:43:55.000000000 +0200 @@ -21,6 +21,7 @@ #include <giomm/file.h> #include <glibmm.h> #include <boost/filesystem.hpp> +#include <boost/filesystem/fstream.hpp> #include "util.hpp" namespace { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/src/pitch.cpp new/easyeffects-4.8.7/src/pitch.cpp --- old/pulseeffects-4.8.5/src/pitch.cpp 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/src/pitch.cpp 2022-05-15 19:43:55.000000000 +0200 @@ -79,6 +79,4 @@ g_settings_bind(settings, "crispness", pitch, "crispness", G_SETTINGS_BIND_DEFAULT); g_settings_bind(settings, "formant-preserving", pitch, "formant-preserving", G_SETTINGS_BIND_DEFAULT); - - g_settings_bind(settings, "faster", pitch, "faster", G_SETTINGS_BIND_DEFAULT); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/src/pitch_preset.cpp new/easyeffects-4.8.7/src/pitch_preset.cpp --- old/pulseeffects-4.8.5/src/pitch_preset.cpp 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/src/pitch_preset.cpp 2022-05-15 19:43:55.000000000 +0200 @@ -43,8 +43,6 @@ root.put(section + ".pitch.crispness", settings->get_int("crispness")); root.put(section + ".pitch.formant-preserving", settings->get_boolean("formant-preserving")); - - root.put(section + ".pitch.faster", settings->get_boolean("faster")); } void PitchPreset::load(const boost::property_tree::ptree& root, @@ -65,8 +63,6 @@ update_key<int>(root, settings, "crispness", section + ".pitch.crispness"); update_key<bool>(root, settings, "formant-preserving", section + ".pitch.formant-preserving"); - - update_key<bool>(root, settings, "faster", section + ".pitch.faster"); } void PitchPreset::write(PresetType preset_type, boost::property_tree::ptree& root) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/pulseeffects-4.8.5/src/pitch_ui.cpp new/easyeffects-4.8.7/src/pitch_ui.cpp --- old/pulseeffects-4.8.5/src/pitch_ui.cpp 2021-03-14 18:42:56.000000000 +0100 +++ new/easyeffects-4.8.7/src/pitch_ui.cpp 2022-05-15 19:43:55.000000000 +0200 @@ -28,7 +28,6 @@ // loading glade widgets - builder->get_widget("faster", faster); builder->get_widget("formant_preserving", formant_preserving); builder->get_widget("plugin_reset", reset_button); @@ -48,7 +47,6 @@ settings->bind("crispness", crispness.get(), "value", flag); settings->bind("semitones", semitones.get(), "value", flag); settings->bind("octaves", octaves.get(), "value", flag); - settings->bind("faster", faster, "active", flag); settings->bind("formant-preserving", formant_preserving, "active", flag); settings->bind("input-gain", input_gain.get(), "value", flag); settings->bind("output-gain", output_gain.get(), "value", flag);