Skip to contentSkip to conversation

fluidsynth: upgrade 2.1.0 -> 2.1.1

PATCH New Andreas Müller 1 participant 3 messages Feb 24, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 fluidsynth: upgrade 2.1.0 -> 2.1.1

From announcement:

* a regression introduced in 2.1.0 caused the jack audio driver to not correct a sample-rate mismatch (#607)
* pkg-config is now being to used to find readline (#606, thanks to @ffontaine)
* fix various typos in the documentation (#600, thanks to @luzpaz)
* fix a memory leak in the file renderer
* fix leaking memory when sequencer clients were not explicitly unregistered (#610)
* fix a heap-based use-after-free in jack driver (#613)
* fix the linker possibly not finding libinstpatch (#617, thanks to @realnc)

---
 meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth.inc +2 -2
index 9ce65064d..4fb622c46 100644
@@ -5,8 +5,8 @@ LICENSE = "LGPL-2.1"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594"
 
 SRC_URI = "git://github.com/FluidSynth/fluidsynth.git"
-SRCREV = "37c9ae2bf431a764032f023b3b2c0c0b86b7c272"
+SRCREV = "3b851da6f721fcf15ec0b935eba72707bdb53d7b"
 S = "${WORKDIR}/git"
-PV = "2.1.0"
+PV = "2.1.1"
 
 inherit cmake pkgconfig lib_package
Signature · 1 line
2.21.0
#1 lore raw

PATCH 2/3 xfce4-sensors-plugin: upgrade 1.2.97 -> 1.3.92

Although not explicitly mentioned in release announcement it seems that this is a develpoment release. It was tested and there could be no reason found not to use this version.

---
 ...ensors-plugin_1.2.97.bb => xfce4-sensors-plugin_1.3.92.bb} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
 rename meta-xfce/recipes-panel-plugins/sensors/{xfce4-sensors-plugin_1.2.97.bb => xfce4-sensors-plugin_1.3.92.bb} (86%)
meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb renamed from meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.2.97.bb +2 -2
similarity index 86%
rename from meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.2.97.bb
rename to meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb
index 4d78bb2bf..8b650143f 100644
@@ -5,8 +5,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b94789bed9aec03b9656a9cc5398c706"
 
 inherit xfce-panel-plugin
 
-SRC_URI[md5sum] = "0c74c3112c5e6e07647c116cd43ff5a7"
-SRC_URI[sha256sum] = "7524ec4534de9ef7f676de2895a41bf70b73b94da5a27fd4a022b16eda56d0f4"
+SRC_URI[md5sum] = "7327c4c316ebd5d93665e77b432b8d89"
+SRC_URI[sha256sum] = "3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112"
 
 EXTRA_OECONF = " \
     --disable-procacpi \
Signature · 1 line
2.21.0
#2 lore raw

PATCH 3/3 xfce4-sensors-plugin: Change defaults to useful ones

In reply to Andreas Müller

Every time I added xfce4-sensors-plugin to panel xfce4-sensors-plugin suggested sensors not exactly useful. So change defaults:

* remove lmsensors
* make sysfsacpi work and don't disable it because that's where embedded machines drop useful information

Background: Have spent lots of efforts to get Raspi4 cooled properly while running at gouvernor 'performance' and rendering music. Would like to see if it really wears a cool hat [1]

[1] https://github.com/schnitzeltony/rpi-cool-hat

---
 ...-sys-class-power_supply-we-are-cross.patch | 44 +++++++++++++++++++
 .../sensors/xfce4-sensors-plugin_1.3.92.bb    |  3 +-
 2 files changed, 45 insertions(+), 2 deletions(-)
 create mode 100644 meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin/0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch
meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin/0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch new file +44 -0
new file mode 100644
index 000000000..ac1d603b2
@@ -0,0 +1,44 @@
+From 9b7e1beca872ca4a5fce8938c58379103787f79a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
+Date: Sun, 23 Feb 2020 22:06:32 +0100
+Subject: [PATCH] Do not check for /sys/class/power_supply - we are cross
+ compiling
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Upstream-Status: Inappropriate [OE-specific]
+
+Signed-off-by: Andreas Müller <[email protected]>
+---
+ configure.ac | 12 +-----------
+ 1 file changed, 1 insertion(+), 11 deletions(-)
+
+diff --git a/configure.ac b/configure.ac
+index c281af9..60ba0c0 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -209,19 +209,9 @@ dnl Check for interface for /sys/class/power_supply to be used
+ AC_ARG_ENABLE([sysfsacpi], [AC_HELP_STRING([--enable-sysfsacpi], [Use /sys/class/power_supply to read your battery value @<:@default=auto@:>@])],
+ [],
+ [
+-    enable_sysfsacpi=auto
++    enable_sysfsacpi=yes
+ ])
+ 
+-if test x"$enable_sysfsacpi" = x"auto"; then
+-    AC_CHECK_FILE([/sys/class/power_supply],
+-    [
+-        enable_sysfsacpi=yes
+-    ],
+-    [
+-        enable_sysfsacpi=no
+-    ])
+-fi
+-
+ if test x"$enable_sysfsacpi" = x"yes"; then
+     AC_DEFINE([HAVE_SYSFS_ACPI], [1], [Define to 1 if /sys/class/power_supply is found])
+     enable_procacpi=yes
+-- 
+2.21.0
+
meta-xfce/recipes-panel-plugins/sensors/xfce4-sensors-plugin_1.3.92.bb +1 -2
index 8b650143f..3fd0ff6cf 100644
@@ -7,10 +7,10 @@ inherit xfce-panel-plugin
 
 SRC_URI[md5sum] = "7327c4c316ebd5d93665e77b432b8d89"
 SRC_URI[sha256sum] = "3dc6643d2c064b7718badff44b948f8d410f00f13db197820b26ae38045f5112"
+SRC_URI += "file://0001-Do-not-check-for-sys-class-power_supply-we-are-cross.patch"
 
 EXTRA_OECONF = " \
     --disable-procacpi \
-    --disable-sysfsacpi \
     --disable-xnvctrl \
 "
 
@@ -18,7 +18,6 @@ do_configure_prepend() {
     sed -i 's:LIBSENSORS_CFLAGS=.*:LIBSENSORS_CFLAGS=-I${STAGING_INCDIR}:g' ${S}/configure.ac
 }
 
-PACKAGECONFIG ??= "libsensors"
 PACKAGECONFIG[libsensors] = "--enable-libsensors,--disable-libsensors, lmsensors"
 PACKAGECONFIG[hddtemp]    = "--enable-hddtemp,--disable-hddtemp, hddtemp"
 PACKAGECONFIG[netcat]     = "--enable-netcat,--disable-netcat, netcat"
Signature · 1 line
2.21.0