* [Buildroot] [PATCH 1/1] package/gstreamer1/gstreamer1-mm: drop package
@ 2022-01-11 17:43 Fabrice Fontaine
2022-01-11 21:14 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2022-01-11 17:43 UTC (permalink / raw)
To: buildroot; +Cc: Fabrice Fontaine
gstreamer1-mm is not compatible with glibmm-2.68 API and not actively
maintained anymore (one commit during the last 3 years):
https://gitlab.gnome.org/GNOME/gstreamermm/-/issues/17
https://gitlab.gnome.org/GNOME/gstreamermm/-/commits/master
As this is the only package that doesn't support glibmm-2.68 and because
it can't be easily patched, drop it to avoid the following build failure
raised since commit dddb65efbdf2c7952f22a1e51009f17f1676db4a:
Package 'giomm-2.4', required by 'virtual:world', not found
Fixes:
- http://autobuild.buildroot.org/results/3479688334765fbbe4cb9620f4d3596f7d710404
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
Config.in.legacy | 7 +++
package/gstreamer1/Config.in | 1 -
.../0001-Fix-build-against-glib-2-68.patch | 44 -------------------
package/gstreamer1/gstreamer1-mm/Config.in | 29 ------------
.../gstreamer1-mm/gstreamer1-mm.hash | 6 ---
.../gstreamer1/gstreamer1-mm/gstreamer1-mm.mk | 24 ----------
6 files changed, 7 insertions(+), 104 deletions(-)
delete mode 100644 package/gstreamer1/gstreamer1-mm/0001-Fix-build-against-glib-2-68.patch
delete mode 100644 package/gstreamer1/gstreamer1-mm/Config.in
delete mode 100644 package/gstreamer1/gstreamer1-mm/gstreamer1-mm.hash
delete mode 100644 package/gstreamer1/gstreamer1-mm/gstreamer1-mm.mk
diff --git a/Config.in.legacy b/Config.in.legacy
index d36eac3302..a548ebf1a9 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@ endif
comment "Legacy options removed in 2022.02"
+config BR2_PACKAGE_GSTREAMER1_MM
+ bool "gstreamer1-mm package removed"
+ select BR2_LEGACY
+ help
+ This package has been removed as it is not actively
+ maintained anymore and does not support glibmm-2.68 API.
+
config BR2_PACKAGE_PYTHON_BACKPORTS_FUNCTOOLS_LRU_CACHE
bool "python-backports-functools-lru-cache package removed"
select BR2_LEGACY
diff --git a/package/gstreamer1/Config.in b/package/gstreamer1/Config.in
index a2a15397e9..8fe8a34395 100644
--- a/package/gstreamer1/Config.in
+++ b/package/gstreamer1/Config.in
@@ -2,7 +2,6 @@
source "package/gstreamer1/gstreamer1/Config.in"
if BR2_PACKAGE_GSTREAMER1
-source "package/gstreamer1/gstreamer1-mm/Config.in"
source "package/gstreamer1/gst1-plugins-base/Config.in"
source "package/gstreamer1/gst1-plugins-bayer2rgb-neon/Config.in"
source "package/gstreamer1/gst1-plugins-good/Config.in"
diff --git a/package/gstreamer1/gstreamer1-mm/0001-Fix-build-against-glib-2-68.patch b/package/gstreamer1/gstreamer1-mm/0001-Fix-build-against-glib-2-68.patch
deleted file mode 100644
index 3ffdbb9cbf..0000000000
--- a/package/gstreamer1/gstreamer1-mm/0001-Fix-build-against-glib-2-68.patch
+++ /dev/null
@@ -1,44 +0,0 @@
-From 0c0b5f8cef3b1f0a06f56c34340e210e0f23d1b0 Mon Sep 17 00:00:00 2001
-From: Dominique Leuenberger <dimstar@opensuse.org>
-Date: Tue, 13 Jul 2021 10:32:30 +0000
-Subject: [PATCH] Fix build against glib 2.68
-
-volatile has been misused in the past
-
-[Retrieved from:
-https://gitlab.gnome.org/GNOME/gstreamermm/-/merge_requests/4]
-Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
----
- gstreamer/gstreamermm/register.h | 2 +-
- tests/integration/test-integration-seekonstartup.cc | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
-diff --git a/gstreamer/gstreamermm/register.h b/gstreamer/gstreamermm/register.h
-index db66d172..a7ab3a63 100644
---- a/gstreamer/gstreamermm/register.h
-+++ b/gstreamer/gstreamermm/register.h
-@@ -110,7 +110,7 @@ register_mm_type(const gchar * type_name)
- /* The typedef for GType may be gulong or gsize, depending on the
- * system and whether the compiler is c++ or not. The g_once_init_*
- * functions always take a gsize * though ... */
-- static volatile gsize gonce_data = 0;
-+ static gsize gonce_data = 0;
- if (g_once_init_enter (&gonce_data)) {
- GTypeInfo info;
-
-diff --git a/tests/integration/test-integration-seekonstartup.cc b/tests/integration/test-integration-seekonstartup.cc
-index 247ac499..cd43a125 100644
---- a/tests/integration/test-integration-seekonstartup.cc
-+++ b/tests/integration/test-integration-seekonstartup.cc
-@@ -18,7 +18,7 @@ RefPtr<Glib::MainLoop> mainloop;
- RefPtr<Bus> bus;
- RefPtr<Pipeline> pipeline;
- RefPtr<Pad> sink_pad;
--static volatile gint counter;
-+static gint counter;
- bool prerolled = false;
- gboolean was_check = 0;
-
---
-GitLab
-
diff --git a/package/gstreamer1/gstreamer1-mm/Config.in b/package/gstreamer1/gstreamer1-mm/Config.in
deleted file mode 100644
index 3225e394f4..0000000000
--- a/package/gstreamer1/gstreamer1-mm/Config.in
+++ /dev/null
@@ -1,29 +0,0 @@
-config BR2_PACKAGE_GSTREAMER1_MM
- bool "gstreamer1-mm"
- depends on BR2_TOOLCHAIN_GCC_AT_LEAST_7 # glibmm -> libsigc
- depends on BR2_INSTALL_LIBSTDCPP # glibmm
- depends on BR2_USE_WCHAR # glibmm -> libglib2
- depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
- depends on BR2_USE_MMU # glibmm -> libglib2
- select BR2_PACKAGE_GLIBMM
- select BR2_PACKAGE_GSTREAMER1_CHECK
- select BR2_PACKAGE_GST1_PLUGINS_BASE
- help
- gstreamermm provides C++ bindings for the GStreamer streaming
- multimedia library (http://gstreamer.freedesktop.org). With
- gstreamermm it is possible to develop applications that work
- with multimedia in C++.
-
- gstreamermm is developed over glibmm, libsigc++ and libxml++
- and the functionalities they provide. This means that, among
- other things, referencing and unreferencing of GObjects is
- handled automatically via glibmm's automatic pointer class,
- Glib::RefPtr, and libsigc++'s slots are used for callbacks and
- signals.
-
- https://gstreamer.freedesktop.org/bindings/cplusplus.html
-
-comment "gstreamer1-mm needs a toolchain w/ C++, wchar, threads, gcc >= 7"
- depends on BR2_USE_MMU
- depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_USE_WCHAR \
- || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HAS_THREADS
diff --git a/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.hash b/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.hash
deleted file mode 100644
index 425cf05f39..0000000000
--- a/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.hash
+++ /dev/null
@@ -1,6 +0,0 @@
-# From http://ftp.gnome.org/pub/gnome/sources/gstreamermm/1.10/gstreamermm-1.10.0.sha256sum
-sha256 be58fe9ef7d7e392568ec85e80a84f4730adbf91fb0355ff7d7c616675ea8d60 gstreamermm-1.10.0.tar.xz
-
-# Locally computed
-sha256 7c78a8d7fc6781d51402d5a6036bedda9cffb0e5d28757e25d54d6eacbb1949f COPYING
-sha256 ab15fd526bd8dd18a9e77ebc139656bf4d33e97fc7238cd11bf60e2b9b8666c6 COPYING.examples
diff --git a/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.mk b/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.mk
deleted file mode 100644
index 539c9df1cb..0000000000
--- a/package/gstreamer1/gstreamer1-mm/gstreamer1-mm.mk
+++ /dev/null
@@ -1,24 +0,0 @@
-################################################################################
-#
-# gstreamer1-mm
-#
-################################################################################
-
-GSTREAMER1_MM_VERSION_MAJOR = 1.10
-GSTREAMER1_MM_VERSION = $(GSTREAMER1_MM_VERSION_MAJOR).0
-GSTREAMER1_MM_SITE = http://ftp.gnome.org/pub/gnome/sources/gstreamermm/$(GSTREAMER1_MM_VERSION_MAJOR)
-GSTREAMER1_MM_SOURCE = gstreamermm-$(GSTREAMER1_MM_VERSION).tar.xz
-GSTREAMER1_MM_LICENSE = LGPL-2.1+ (library), GPL-2.0 (examples)
-GSTREAMER1_MM_LICENSE_FILES = COPYING COPYING.examples
-GSTREAMER1_MM_INSTALL_STAGING = YES
-GSTREAMER1_MM_DEPENDENCIES += \
- glibmm \
- gstreamer1 \
- gst1-plugins-base
-
-GSTREAMER1_MM_CONF_OPTS += \
- --disable-gl \
- --enable-unittests=no \
- --disable-deprecated-api
-
-$(eval $(autotools-package))
--
2.34.1
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/gstreamer1/gstreamer1-mm: drop package
2022-01-11 17:43 [Buildroot] [PATCH 1/1] package/gstreamer1/gstreamer1-mm: drop package Fabrice Fontaine
@ 2022-01-11 21:14 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2022-01-11 21:14 UTC (permalink / raw)
To: Fabrice Fontaine; +Cc: buildroot
On Tue, 11 Jan 2022 18:43:45 +0100
Fabrice Fontaine <fontaine.fabrice@gmail.com> wrote:
> gstreamer1-mm is not compatible with glibmm-2.68 API and not actively
> maintained anymore (one commit during the last 3 years):
> https://gitlab.gnome.org/GNOME/gstreamermm/-/issues/17
> https://gitlab.gnome.org/GNOME/gstreamermm/-/commits/master
>
> As this is the only package that doesn't support glibmm-2.68 and because
> it can't be easily patched, drop it to avoid the following build failure
> raised since commit dddb65efbdf2c7952f22a1e51009f17f1676db4a:
>
> Package 'giomm-2.4', required by 'virtual:world', not found
>
> Fixes:
> - http://autobuild.buildroot.org/results/3479688334765fbbe4cb9620f4d3596f7d710404
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
> ---
> Config.in.legacy | 7 +++
> package/gstreamer1/Config.in | 1 -
> .../0001-Fix-build-against-glib-2-68.patch | 44 -------------------
> package/gstreamer1/gstreamer1-mm/Config.in | 29 ------------
> .../gstreamer1-mm/gstreamer1-mm.hash | 6 ---
> .../gstreamer1/gstreamer1-mm/gstreamer1-mm.mk | 24 ----------
> 6 files changed, 7 insertions(+), 104 deletions(-)
> delete mode 100644 package/gstreamer1/gstreamer1-mm/0001-Fix-build-against-glib-2-68.patch
> delete mode 100644 package/gstreamer1/gstreamer1-mm/Config.in
> delete mode 100644 package/gstreamer1/gstreamer1-mm/gstreamer1-mm.hash
> delete mode 100644 package/gstreamer1/gstreamer1-mm/gstreamer1-mm.mk
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-11 21:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-11 17:43 [Buildroot] [PATCH 1/1] package/gstreamer1/gstreamer1-mm: drop package Fabrice Fontaine
2022-01-11 21:14 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox