diff mbox series

[kirkstone/scarthgap/master,1/2] meta-arago-extras: gstreamer1.0-plugins-hevc: Fix submodule fetch

Message ID 20240807081544.3989185-1-d.schultz@phytec.de
State Superseded
Delegated to: Ryan Eatmon
Headers show
Series [kirkstone/scarthgap/master,1/2] meta-arago-extras: gstreamer1.0-plugins-hevc: Fix submodule fetch | expand

Commit Message

Daniel Schultz Aug. 7, 2024, 8:15 a.m. UTC
This gstreamer plugin is unable to geth the submodule 'common' from
freedesktop.org. It looks like the Git server has some issues and the
clone times out. Use the official Github mirror as workaround.

Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
---
 ...01-Switch-submodule-common-to-github.patch | 24 +++++++++++++++++++
 .../gstreamer1.0-plugins-hevc_git.bb          |  4 +++-
 2 files changed, 27 insertions(+), 1 deletion(-)
 create mode 100644 meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc/0001-Switch-submodule-common-to-github.patch
diff mbox series

Patch

diff --git a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc/0001-Switch-submodule-common-to-github.patch b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc/0001-Switch-submodule-common-to-github.patch
new file mode 100644
index 00000000..cc243ca9
--- /dev/null
+++ b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc/0001-Switch-submodule-common-to-github.patch
@@ -0,0 +1,24 @@ 
+From d85ca8e83ea0537fd74d8bea3c358a3edddb87ac Mon Sep 17 00:00:00 2001
+From: Daniel Schultz <d.schultz@phytec.de>
+Date: Tue, 6 Aug 2024 11:26:55 +0200
+Subject: [PATCH] Switch submodule common to github
+​
+The freedesktop.org URL is currently not available. Therefore, this
+plugin won't build. Use the official GStreamer mirror on GitHub.
+​
+Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
+---
+ .gitmodules | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+​
+diff --git a/.gitmodules b/.gitmodules
+index a6b1eda..80ffbc5 100644
+--- a/.gitmodules
++++ b/.gitmodules
+@@ -1,3 +1,3 @@
+ [submodule "common"]
+ 	path = common
+-	url = git://anongit.freedesktop.org/gstreamer/common
++	url = https://github.com/GStreamer/common
+-- 
+2.34.1
diff --git a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb
index f9d04e3d..d17cb4f2 100644
--- a/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb
+++ b/meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb
@@ -6,7 +6,9 @@  LIC_FILES_CHKSUM = "file://COPYING;md5=2827f94fc0a1adeff4d9702e97ce2979"
 COMPATIBLE_MACHINE = "dra7xx"
 
 SRC_URI = "git://git.ti.com/git/processor-sdk/gst-plugin-hevc.git;protocol=https;branch=master \
-	file://0001-configure.ac-stop-using-export-symbols-regex.patch"
+           file://0001-configure.ac-stop-using-export-symbols-regex.patch \
+           file://0001-Switch-submodule-common-to-github.patch \
+"
 SRCREV = "e4ea007d0ddeb95ae01742293454ef3c87a6e84c"
 
 S = "${WORKDIR}/git"