diff mbox series

[oe,meta-xfce] xfce4-mixer: Remove recipe

Message ID 20190316080428.36688-1-raj.khem@gmail.com
State Accepted
Commit 409fb4baaec24033126254d09e483992ed9fc36e
Headers show
Series [oe,meta-xfce] xfce4-mixer: Remove recipe | expand

Commit Message

Khem Raj March 16, 2019, 8:04 a.m. UTC
xfce4-mixer can be replaced with xfce4-pulseaudio-plugin

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Andreas Müller <schnitzeltony@gmail.com>
---
 ...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

Comments

Andreas Müller March 16, 2019, 9:09 a.m. UTC | #1
On Sat, Mar 16, 2019 at 9:04 AM Khem Raj <raj.khem@gmail.com> wrote:
>
> xfce4-mixer can be replaced with xfce4-pulseaudio-plugin
>
> Signed-off-by: Khem Raj <raj.khem@gmail.com>
> Cc: Andreas Müller <schnitzeltony@gmail.com>
> ---
>  ...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
>
> diff --git a/meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch b/meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch
> deleted file mode 100644
> index 31216c0381..0000000000
> --- a/meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch
> +++ /dev/null
> @@ -1,61 +0,0 @@
> -From 6ecaeced291f935a9d41e9bc33411358c95a5e91 Mon Sep 17 00:00:00 2001
> -From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
> -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 <schnitzeltony@gmail.com>
> ----
> - 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
> -
> diff --git a/meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb b/meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb
> deleted file mode 100644
> index 6c057d8845..0000000000
> --- a/meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb
> +++ /dev/null
> @@ -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"
> diff --git a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
> index 5f8c03cc5b..b412c27262 100644
> --- a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
> +++ b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
> @@ -64,7 +64,6 @@ RRECOMMENDS_${PN} = " \
>      xfce4-appfinder \
>      xfce4-screenshooter \
>      xfce4-power-manager \
> -    xfce4-mixer \
>      ristretto \
>      xfce4-taskmanager \
>      gigolo \
> --
> 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
Andreas Müller March 16, 2019, 9:31 a.m. UTC | #2
On Sat, Mar 16, 2019 at 10:09 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> On Sat, Mar 16, 2019 at 9:04 AM Khem Raj <raj.khem@gmail.com> wrote:
> >
> > 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
Adrian Bunk March 16, 2019, 9:57 a.m. UTC | #3
On Sat, Mar 16, 2019 at 10:31:56AM +0100, Andreas Müller wrote:
> On Sat, Mar 16, 2019 at 10:09 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> >
> > On Sat, Mar 16, 2019 at 9:04 AM Khem Raj <raj.khem@gmail.com> wrote:
> > >
> > > 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.
>...

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.

> Andreas

cu
Adrian
Khem Raj March 16, 2019, 4:55 p.m. UTC | #4
On Sat, Mar 16, 2019 at 2:32 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
>
> On Sat, Mar 16, 2019 at 10:09 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> >
> > On Sat, Mar 16, 2019 at 9:04 AM Khem Raj <raj.khem@gmail.com> wrote:
> > >
> > > 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.
>
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.

> So have fun...
>
> Andreas
Andreas Müller March 16, 2019, 5:34 p.m. UTC | #5
On Sat, Mar 16, 2019 at 5:55 PM Khem Raj <raj.khem@gmail.com> wrote:
>
> On Sat, Mar 16, 2019 at 2:32 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> >
> > On Sat, Mar 16, 2019 at 10:09 AM Andreas Müller <schnitzeltony@gmail.com> wrote:
> > >
> > > On Sat, Mar 16, 2019 at 9:04 AM Khem Raj <raj.khem@gmail.com> wrote:
> > > >
> > > > 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.
> >
> 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
diff mbox series

Patch

diff --git a/meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch b/meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch
deleted file mode 100644
index 31216c0381..0000000000
--- a/meta-xfce/recipes-apps/xfce4-mixer/files/0001-Fix-build-after-update-of-xfconf.patch
+++ /dev/null
@@ -1,61 +0,0 @@ 
-From 6ecaeced291f935a9d41e9bc33411358c95a5e91 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@gmail.com>
-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 <schnitzeltony@gmail.com>
----
- 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
-
diff --git a/meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb b/meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb
deleted file mode 100644
index 6c057d8845..0000000000
--- a/meta-xfce/recipes-apps/xfce4-mixer/xfce4-mixer_4.11.0.bb
+++ /dev/null
@@ -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"
diff --git a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
index 5f8c03cc5b..b412c27262 100644
--- a/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
+++ b/meta-xfce/recipes-xfce/packagegroups/packagegroup-xfce-extended.bb
@@ -64,7 +64,6 @@  RRECOMMENDS_${PN} = " \
     xfce4-appfinder \
     xfce4-screenshooter \
     xfce4-power-manager \
-    xfce4-mixer \
     ristretto \
     xfce4-taskmanager \
     gigolo \