Skip to contentSkip to conversation

xfce4-mixer: Remove recipe

PATCH NAK Khem Raj 3 participants 6 messages Mar 16, 2019

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 xfce4-mixer: Remove recipe

xfce4-mixer can be replaced with xfce4-pulseaudio-plugin

Cc Andreas Müller <[email protected]>
---
 ...001-Fix-build-after-update-of-xfconf.patch | 61 -------------------
 .../xfce4-mixer/xfce4-mixer_4.11.0.bb         | 17 ------
 .../packagegroup-xfce-extended.bb             |  1 -
 3 files changed, 79 deletions(-)
 delete mode 100644 meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch
 delete mode 100644 meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb
meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch deleted +0 -61
deleted file mode 100644
index 31216c0381..0000000000
@@ -1,61 +0,0 @@
-From 6ecaeced291f935a9d41e9bc33411358c95a5e91 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Mon, 22 Jan 2018 15:35:08 +0100
-Subject: [PATCH] Fix build after update of xfconf
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-xfconf stopped using dbus-glib so required flags must be included here
-
-Upstream-Status: Pending
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- panel-plugin/Makefile.am | 2 ++
- xfce4-mixer/Makefile.am  | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
-index a494682..b094472 100644
---- a/panel-plugin/Makefile.am
-+++ b/panel-plugin/Makefile.am
-@@ -27,6 +27,7 @@ libmixer_la_CFLAGS =							\
- 	$(LIBXFCE4UI_CFLAGS)						\
- 	$(LIBXFCE4PANEL_CFLAGS)						\
- 	$(XFCONF_CFLAGS)						\
-+	$(DBUS_GLIB_CFLAGS)						\
- 	$(GST_PLUGINS_BASE_CFLAGS)					\
- 	$(KEYBINDER_CFLAGS)
- 
-@@ -48,6 +49,7 @@ libmixer_la_LIBADD =							\
- 	$(LIBXFCE4UI_LIBS)						\
- 	$(LIBXFCE4PANEL_LIBS)						\
- 	$(XFCONF_LIBS)							\
-+	$(DBUS_GLIB_LIBS)						\
- 	$(GST_PLUGINS_BASE_LIBS)					\
- 	-lgstaudio-0.10							\
- 	-lgstinterfaces-0.10						\
-diff --git a/xfce4-mixer/Makefile.am b/xfce4-mixer/Makefile.am
-index 4af69e9..e076fc8 100644
---- a/xfce4-mixer/Makefile.am
-+++ b/xfce4-mixer/Makefile.am
-@@ -32,6 +32,7 @@ xfce4_mixer_CFLAGS = 							\
- 	$(UNIQUE_CFLAGS)						\
- 	$(LIBXFCE4UTIL_CFLAGS)						\
- 	$(LIBXFCE4UI_CFLAGS)						\
-+	$(DBUS_GLIB_CFLAGS)						\
- 	$(XFCONF_CFLAGS)						\
- 	$(GST_PLUGINS_BASE_CFLAGS)
- 
-@@ -46,6 +47,7 @@ xfce4_mixer_LDFLAGS = 							\
- 	$(UNIQUE_LIBS)							\
- 	$(LIBXFCE4UTIL_LIBS)						\
- 	$(LIBXFCE4UI_LIBS)						\
-+	$(DBUS_GLIB_LIBS)						\
- 	$(XFCONF_LIBS)							\
- 	$(GST_PLUGINS_BASE_LIBS)					\
- 	-lgstaudio-0.10							\
--- 
-2.14.3
-
meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb deleted +0 -17
deleted file mode 100644
index 6c057d8845..0000000000
@@ -1,17 +0,0 @@
-SUMMARY = "A volume control application based on GStreamer"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
-
-inherit xfce-panel-plugin
-
-DEPENDS += "glib-2.0 gst-plugins-base gtk+ xfconf libunique"
-
-SRC_URI = " \
-    http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2 \
-    file://0001-Fix-build-after-update-of-xfconf.patch \
-"
-
-SRC_URI[md5sum] = "1b3753b91224867a3a2dfddda239c28d"
-SRC_URI[sha256sum] = "fb0c1df201ed1130f54f15b914cbe5a59286e994a137acda5609570c57112de2"
-
-RDEPENDS_${PN} = "gst-meta-audio"
meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb +0 -1
index 5f8c03cc5b..b412c27262 100644
@@ -64,7 +64,6 @@ RRECOMMENDS_${PN} = " \
     xfce4-appfinder \
     xfce4-screenshooter \
     xfce4-power-manager \
-    xfce4-mixer \
     ristretto \
     xfce4-taskmanager \
     gigolo \
Signature · 1 line
2.21.0
#1 lore raw
Quoted 116 lines · Khem Raj

xfce4-mixer can be replaced with xfce4-pulseaudio-plugin

Cc Andreas Müller <[email protected]>
---
 ...001-Fix-build-after-update-of-xfconf.patch | 61 -------------------
 .../xfce4-mixer/xfce4-mixer_4.11.0.bb         | 17 ------
 .../packagegroup-xfce-extended.bb             |  1 -
 3 files changed, 79 deletions(-)
 delete mode 100644 meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch
 delete mode 100644 meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb
meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch deleted +0 -61
deleted file mode 100644
index 31216c0381..0000000000
@@ -1,61 +0,0 @@
-From 6ecaeced291f935a9d41e9bc33411358c95a5e91 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <[email protected]>
-Date: Mon, 22 Jan 2018 15:35:08 +0100
-Subject: [PATCH] Fix build after update of xfconf
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-xfconf stopped using dbus-glib so required flags must be included here
-
-Upstream-Status: Pending
-
-Signed-off-by: Andreas Müller <[email protected]>
----
- panel-plugin/Makefile.am | 2 ++
- xfce4-mixer/Makefile.am  | 2 ++
- 2 files changed, 4 insertions(+)
-
-diff --git a/panel-plugin/Makefile.am b/panel-plugin/Makefile.am
-index a494682..b094472 100644
---- a/panel-plugin/Makefile.am
-+++ b/panel-plugin/Makefile.am
-@@ -27,6 +27,7 @@ libmixer_la_CFLAGS =                                                 \
-       $(LIBXFCE4UI_CFLAGS)                                            \
-       $(LIBXFCE4PANEL_CFLAGS)                                         \
-       $(XFCONF_CFLAGS)                                                \
-+      $(DBUS_GLIB_CFLAGS)                                             \
-       $(GST_PLUGINS_BASE_CFLAGS)                                      \
-       $(KEYBINDER_CFLAGS)
-
-@@ -48,6 +49,7 @@ libmixer_la_LIBADD =                                                 \
-       $(LIBXFCE4UI_LIBS)                                              \
-       $(LIBXFCE4PANEL_LIBS)                                           \
-       $(XFCONF_LIBS)                                                  \
-+      $(DBUS_GLIB_LIBS)                                               \
-       $(GST_PLUGINS_BASE_LIBS)                                        \
-       -lgstaudio-0.10                                                 \
-       -lgstinterfaces-0.10                                            \
-diff --git a/xfce4-mixer/Makefile.am b/xfce4-mixer/Makefile.am
-index 4af69e9..e076fc8 100644
---- a/xfce4-mixer/Makefile.am
-+++ b/xfce4-mixer/Makefile.am
-@@ -32,6 +32,7 @@ xfce4_mixer_CFLAGS =                                                         \
-       $(UNIQUE_CFLAGS)                                                \
-       $(LIBXFCE4UTIL_CFLAGS)                                          \
-       $(LIBXFCE4UI_CFLAGS)                                            \
-+      $(DBUS_GLIB_CFLAGS)                                             \
-       $(XFCONF_CFLAGS)                                                \
-       $(GST_PLUGINS_BASE_CFLAGS)
-
-@@ -46,6 +47,7 @@ xfce4_mixer_LDFLAGS =                                                        \
-       $(UNIQUE_LIBS)                                                  \
-       $(LIBXFCE4UTIL_LIBS)                                            \
-       $(LIBXFCE4UI_LIBS)                                              \
-+      $(DBUS_GLIB_LIBS)                                               \
-       $(XFCONF_LIBS)                                                  \
-       $(GST_PLUGINS_BASE_LIBS)                                        \
-       -lgstaudio-0.10                                                 \
---
-2.14.3
-
meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb deleted +0 -17
deleted file mode 100644
index 6c057d8845..0000000000
@@ -1,17 +0,0 @@
-SUMMARY = "A volume control application based on GStreamer"
-LICENSE = "GPLv2"
-LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
-
-inherit xfce-panel-plugin
-
-DEPENDS += "glib-2.0 gst-plugins-base gtk+ xfconf libunique"
-
-SRC_URI = " \
-    http://archive.xfce.org/src/apps/${BPN}/${@xfce_verdir("${PV}")}/${BPN}-${PV}.tar.bz2 \
-    file://0001-Fix-build-after-update-of-xfconf.patch \
-"
-
-SRC_URI[md5sum] = "1b3753b91224867a3a2dfddda239c28d"
-SRC_URI[sha256sum] = "fb0c1df201ed1130f54f15b914cbe5a59286e994a137acda5609570c57112de2"
-
-RDEPENDS_${PN} = "gst-meta-audio"
meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb +0 -2
index 5f8c03cc5b..b412c27262 100644
@@ -64,7 +64,6 @@ RRECOMMENDS_${PN} = " \
     xfce4-appfinder \
     xfce4-screenshooter \
     xfce4-power-manager \
-    xfce4-mixer \
     ristretto \
     xfce4-taskmanager \
     gigolo \
--
Quoted 2 lines

2.21.0

NAK - it works perfectly fine and xfce4-pulseaudio-plugin is not a replacement because it is sitting on top of pulseaudio. Pulseaudio is poison if you want to produce music (alll the jack based stuff)

Andreas

#2 lore raw
Quoted 9 lines · Andreas Müller
Quoted 3 lines · Khem Raj

xfce4-mixer can be replaced with xfce4-pulseaudio-plugin

NAK - it works perfectly fine and xfce4-pulseaudio-plugin is not a replacement because it is sitting on top of pulseaudio. Pulseaudio is poison if you want to produce music (alll the jack based stuff)

I am tired of useless discussions - seems the priorities of this project do not match mine anymore: I'll create a layer for gstreamer / xfce-mixer and all the music stuff I collected in meta-qt5-extra.

So have fun...

Andreas

#3 lore raw
Quoted 6 lines · Andreas Müller
Quoted 5 lines · Andreas Müller
Quoted 3 lines · Khem Raj

xfce4-mixer can be replaced with xfce4-pulseaudio-plugin

Quoted 8 lines
Quoted 4 lines

NAK - it works perfectly fine and xfce4-pulseaudio-plugin is not a replacement because it is sitting on top of pulseaudio. Pulseaudio is poison if you want to produce music (alll the jack based stuff)

I am tired of useless discussions - seems the priorities of this project do not match mine anymore: I'll create a layer for gstreamer / xfce-mixer and all the music stuff I collected in meta-qt5-extra.
...

Looking at the other recent commits in master-next the main motivation for this patch seems to be
gstreamer-0.10: Remove recipes
It has been over 5+ years for migration to gstreamer 1.x

The actual problem seems to be unrelated to audio output, but this was the last recipe in meta-openembedded that required GStreamer 0.10.

Quoted 1 line

Andreas

cu
Adrian

Signature · 4 lines
       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed
author
#4 lore raw
In reply to Andreas Müller
Quoted 7 lines · Andreas Müller
Quoted 5 lines · Andreas Müller
Quoted 3 lines · Khem Raj

xfce4-mixer can be replaced with xfce4-pulseaudio-plugin

Quoted 8 lines
Quoted 4 lines

NAK - it works perfectly fine and xfce4-pulseaudio-plugin is not a replacement because it is sitting on top of pulseaudio. Pulseaudio is poison if you want to produce music (alll the jack based stuff)

I am tired of useless discussions - seems the priorities of this project do not match mine anymore: I'll create a layer for gstreamer / xfce-mixer and all the music stuff I collected in meta-qt5-extra.

There is a reason why I Cc'ed you on the patches and that is to consider your priorities on the contrary.
Adrian summed it up, but the motivation was to remove gstreamer 0.10 and this is only recipe which require it, so I was wondering if there was a better way to deal with it, e.g. may be xfc4-mixer has support for gstreamer 1.x or some such. as gst 0.10.x get aged, it is often that it
has to be fixed to keep going as we change things like compiler verisons adding new architectures which don't support it etc.

Quoted 3 lines

So have fun...

Andreas

#5 lore raw
Quoted 17 lines · Khem Raj
Quoted 7 lines · Andreas Müller
Quoted 5 lines · Andreas Müller
Quoted 3 lines · Khem Raj

xfce4-mixer can be replaced with xfce4-pulseaudio-plugin

Quoted 8 lines
Quoted 4 lines

NAK - it works perfectly fine and xfce4-pulseaudio-plugin is not a replacement because it is sitting on top of pulseaudio. Pulseaudio is poison if you want to produce music (alll the jack based stuff)

I am tired of useless discussions - seems the priorities of this project do not match mine anymore: I'll create a layer for gstreamer / xfce-mixer and all the music stuff I collected in meta-qt5-extra.

Quoted 9 lines

There is a reason why I Cc'ed you on the patches and that is to consider your priorities on the contrary.
Adrian summed it up, but the motivation was to remove gstreamer 0.10 and this is only recipe which require it, so I was wondering if there was a better way to deal with it, e.g. may be xfc4-mixer has support for gstreamer 1.x or some such. as gst 0.10.x get aged, it is often that it
has to be fixed to keep going as we change things like compiler verisons adding new architectures which don't support it etc.

Problem with xfce4-mixer is that it uses the mixer interface which was removed in gstreamer 1.0 [1]. I would like to port xfce4-mixer to use alsa directly but did not find enough time yet.

For oe: I have created a layer meta-musicians (not published yet) where I added xfce-mixer together with a very reduced set of gstreamer 0.10 and much stuff from meta-qt5-extra because that layer grew too big over the time.

So I'm fine - no problem in removing.

[1] https://simon.shimmerproject.org/2016/10/

Andreas