Skip to contentSkip to conversation

gnome-online-accounts: Fix build with libxml2 2.12

PATCH New Khem Raj 1 participant 2 messages Mar 8, 2024

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/2 gnome-online-accounts: Fix build with libxml2 2.12

---
 ...abackend-Fix-build-with-libxml2-2.12.patch | 28 +++++++++++++++++++
 .../gnome-online-accounts_3.48.0.bb           |  3 +-
 2 files changed, 30 insertions(+), 1 deletion(-)
 create mode 100644 meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts/0001-goabackend-Fix-build-with-libxml2-2.12.patch
meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts/0001-goabackend-Fix-build-with-libxml2-2.12.patch new file +28 -0
new file mode 100644
index 0000000000..3d13779c2e
@@ -0,0 +1,28 @@
+From a2867ebcf184695eed00aab4e7b47c1d4a53b2b2 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?J=C3=BCrg=20Billeter?= <[email protected]>
+Date: Fri, 24 Nov 2023 16:19:47 +0100
+Subject: [PATCH] goabackend: Fix build with libxml2 2.12
+
+libxml/xmlIO.h no longer includes libxml/parser.h.
+
+Upstream-Status: Backport [https://github.com/GNOME/gnome-online-accounts/commit/b9638e2418408be4906752297e700506766dcf20]
+Signed-off-by: Khem Raj <[email protected]>
+---
+ src/goabackend/goaewsclient.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/goabackend/goaewsclient.c b/src/goabackend/goaewsclient.c
+index 4cb2358..01a52d1 100644
+--- a/src/goabackend/goaewsclient.c
++++ b/src/goabackend/goaewsclient.c
+@@ -27,6 +27,7 @@
+ #include <glib/gi18n-lib.h>
+ 
+ #include <libsoup/soup.h>
++#include <libxml/parser.h>
+ #include <libxml/xmlIO.h>
+ 
+ #include "goaewsclient.h"
+-- 
+2.44.0
+
meta-gnome/recipes-gnome/gnome-online-accounts/gnome-online-accounts_3.48.0.bb +2 -1
index 47b234e235..fd61d797d0 100644
@@ -7,7 +7,8 @@ inherit gnomebase gsettings gobject-introspection gtk-icon-cache vala features_c
 
 DEPENDS = "gdk-pixbuf dbus glib-2.0"
 
-SRC_URI += "file://0001-Replace-filename-with-basename.patch"
+SRC_URI += "file://0001-Replace-filename-with-basename.patch \
+            file://0001-goabackend-Fix-build-with-libxml2-2.12.patch"
 SRC_URI[archive.sha256sum] = "418bb9fcffdbd72a98205ad365137617fc1e3551a54de74f6a98d45d266175bf"
 
 PACKAGECONFIG ?= "goabackend kerberos owncloud lastfm google windows_live"
Signature · 1 line
2.44.0
author
#1 lore raw

PATCH 2/2 vlc: Upgrade to 3.0.20

Fix build with taglib 2.0

---
 .../vlc/0001-make-opencv-configurable.patch   |  2 +-
 .../vlc/vlc/0002-use-vorbisidec.patch         |  2 +-
 ...packageconfig-to-detect-mmal-support.patch |  2 +-
 ...ave-same-signature-between-glibc-and.patch | 11 +--
 ...e-incompatible-function-pointer-type.patch |  7 +-
 .../recipes-multimedia/vlc/vlc/taglib-2.patch | 67 +++++++++++++++++++
 .../vlc/{vlc_3.0.18.bb => vlc_3.0.20.bb}      |  7 +-
 7 files changed, 76 insertions(+), 22 deletions(-)
 create mode 100644 meta-multimedia/recipes-multimedia/vlc/vlc/taglib-2.patch
 rename meta-multimedia/recipes-multimedia/vlc/{vlc_3.0.18.bb => vlc_3.0.20.bb} (96%)
meta-multimedia/recipes-multimedia/vlc/vlc/0001-make-opencv-configurable.patch +1 -1
index cc65af009b..d6ff0b2dba 100644
@@ -7,7 +7,7 @@ Signed-off-by: Tim Orling <[email protected]>
 
 --- a/configure.ac
 +++ b/configure.ac
-@@ -1892,7 +1892,16 @@ PKG_ENABLE_MODULES_VLC([BLURAY], [libblu
+@@ -1891,7 +1891,16 @@ PKG_ENABLE_MODULES_VLC([BLURAY], [libblu
  dnl
  dnl  OpenCV wrapper and example filters
  dnl
meta-multimedia/recipes-multimedia/vlc/vlc/0002-use-vorbisidec.patch +1 -1
index 8ecddd33c6..f68da33607 100644
@@ -6,7 +6,7 @@ Signed-off-by: Tim Orling <[email protected]>
 
 --- a/modules/codec/Makefile.am
 +++ b/modules/codec/Makefile.am
-@@ -321,7 +321,7 @@ codec_LTLIBRARIES += $(LTLIBdaala)
+@@ -324,7 +324,7 @@ codec_LTLIBRARIES += $(LTLIBdaala)
  libtremor_plugin_la_SOURCES = codec/vorbis.c
  libtremor_plugin_la_CPPFLAGS = $(AM_CPPFLAGS) -DMODULE_NAME_IS_tremor
  libtremor_plugin_la_LDFLAGS = $(AM_LDFLAGS) -rpath '$(codecdir)'
meta-multimedia/recipes-multimedia/vlc/vlc/0004-Use-packageconfig-to-detect-mmal-support.patch +1 -1
index b9f5ad591c..6659a44a0a 100644
@@ -16,7 +16,7 @@ Signed-off-by: Khem Raj <[email protected]>
 
 --- a/configure.ac
 +++ b/configure.ac
-@@ -3461,27 +3461,18 @@ AC_ARG_ENABLE(mmal,
+@@ -3460,27 +3460,18 @@ AC_ARG_ENABLE(mmal,
    AS_HELP_STRING([--enable-mmal],
      [Multi-Media Abstraction Layer (MMAL) hardware plugin (default enable)]))
  if test "${enable_mmal}" != "no"; then
meta-multimedia/recipes-multimedia/vlc/vlc/0005-ioctl-does-not-have-same-signature-between-glibc-and.patch +2 -9
index cbf4f2b911..89e7d585d7 100644
@@ -10,11 +10,9 @@ Signed-off-by: Khem Raj <[email protected]>
  modules/access/v4l2/v4l2.h | 4 ++++
  2 files changed, 8 insertions(+)
 
-diff --git a/modules/access/v4l2/lib.c b/modules/access/v4l2/lib.c
-index b212e1bc5f..ff7c66bf35 100644
 --- a/modules/access/v4l2/lib.c
 +++ b/modules/access/v4l2/lib.c
-@@ -43,7 +43,11 @@ int (*v4l2_fd_open) (int, int) = fd_open;
+@@ -49,7 +49,11 @@ int (*v4l2_fd_open) (int, int) = fd_open
  //int (*v4l2_open) (const char *, int, ...) = open;
  //int (*v4l2_dup) (const char *, int, ...) = dup;
  int (*v4l2_close) (int) = close;
@@ -26,11 +24,9 @@ index b212e1bc5f..ff7c66bf35 100644
  ssize_t (*v4l2_read) (int, void *, size_t) = read;
  //ssize_t (*v4l2_write) (int, const void *, size_t) = write;
  void * (*v4l2_mmap) (void *, size_t, int, int, int, int64_t) = mmap;
-diff --git a/modules/access/v4l2/v4l2.h b/modules/access/v4l2/v4l2.h
-index ac4562e269..727e83e9b1 100644
 --- a/modules/access/v4l2/v4l2.h
 +++ b/modules/access/v4l2/v4l2.h
-@@ -23,7 +23,11 @@
+@@ -28,7 +28,11 @@
  /* libv4l2 functions */
  extern int (*v4l2_fd_open) (int, int);
  extern int (*v4l2_close) (int);
@@ -42,6 +38,3 @@ index ac4562e269..727e83e9b1 100644
  extern ssize_t (*v4l2_read) (int, void *, size_t);
  extern void * (*v4l2_mmap) (void *, size_t, int, int, int, int64_t);
  extern int (*v4l2_munmap) (void *, size_t);
--- 
-2.39.2
-
meta-multimedia/recipes-multimedia/vlc/vlc/0006-configure-Disable-incompatible-function-pointer-type.patch +1 -6
index 4128db1aea..b158328aa2 100644
@@ -10,11 +10,9 @@ Signed-off-by: Khem Raj <[email protected]>
  configure.ac | 5 +++++
  1 file changed, 5 insertions(+)
 
-diff --git a/configure.ac b/configure.ac
-index 9f1c099e13..8e45a05808 100644
 --- a/configure.ac
 +++ b/configure.ac
-@@ -98,6 +98,11 @@ AS_IF([test -n "${with_binary_version}"],[
+@@ -98,6 +98,11 @@ AS_IF([test -n "${with_binary_version}"]
  dnl Prevent clang from accepting unknown flags with a mere warning
  AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option -Werror=invalid-command-line-argument], [CFLAGS])
  AX_APPEND_COMPILE_FLAGS([-Werror=unknown-warning-option -Werror=invalid-command-line-argument], [CXXFLAGS])
@@ -26,6 +24,3 @@ index 9f1c099e13..8e45a05808 100644
  
  dnl
  dnl  Check the operating system
--- 
-2.39.2
-
meta-multimedia/recipes-multimedia/vlc/vlc/taglib-2.patch new file +67 -0

67 lines not on this page · raw message

meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb renamed from meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb +3 -4
similarity index 96%
rename from meta-multimedia/recipes-multimedia/vlc/vlc_3.0.18.bb
rename to meta-multimedia/recipes-multimedia/vlc/vlc_3.0.20.bb
index 12b32879a7..85af2f9bbe 100644
@@ -16,17 +16,16 @@ DEPENDS = "coreutils-native fribidi libtool libgcrypt libgcrypt-native bison-nat
 LDFLAGS:append:riscv64 = " -latomic"
 LDFLAGS:append:riscv32 = " -latomic"
 
-SRC_URI = "git://github.com/videolan/vlc.git;protocol=https;branch=3.0.x \
+SRC_URI = "https://get.videolan.org/${BPN}/${PV}/${BP}.tar.xz \
            file://0001-make-opencv-configurable.patch \
            file://0002-use-vorbisidec.patch \
            file://0003-fix-luaL-checkint.patch \
            file://0004-Use-packageconfig-to-detect-mmal-support.patch \
            file://0005-ioctl-does-not-have-same-signature-between-glibc-and.patch \
            file://0006-configure-Disable-incompatible-function-pointer-type.patch \
-           file://0001-po-Fix-invalid-.oc-translation-format-string.patch \
+           file://taglib-2.patch \
 "
-SRCREV = "e9eceaed4d838dbd84638bfb2e4bdd08294163b1"
-S = "${WORKDIR}/git"
+SRC_URI[sha256sum] = "adc7285b4d2721cddf40eb5270cada2aaa10a334cb546fd55a06353447ba29b5"
 
 inherit autotools-brokensep features_check gettext pkgconfig mime-xdg
 
Signature · 1 line
2.44.0