Skip to contentSkip to conversation

meta-arago-extras: gstreamer1.0-plugins-hevc: Fix submodule fetch

PATCH New Daniel Schultz 1 participant 2 messages Aug 7, 2024

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 meta-arago-extras: gstreamer1.0-plugins-hevc: Fix submodule fetch

This gstreamer plugin is unable to get 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.

---

Changes in v2:
* Fixed typo in commit message
* Added Upstream-Status to Pending. It's up to TI if they want to patch these repos or keep it here.

 ...01-Switch-submodule-common-to-github.patch | 26 +++++++++++++++++++
 .../gstreamer1.0-plugins-hevc_git.bb          |  4 ++-
 2 files changed, 29 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
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc/0001-Switch-submodule-common-to-github.patch new file +26 -0
new file mode 100644
index 00000000..b54ab31d
@@ -0,0 +1,26 @@
+From d85ca8e83ea0537fd74d8bea3c358a3edddb87ac Mon Sep 17 00:00:00 2001
+From: Daniel Schultz <[email protected]>
+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.
+
+Upstream-Status: Pending
+
+Signed-off-by: Daniel Schultz <[email protected]>
+---
+ .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
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-hevc_git.bb +3 -1
index f9d04e3d..d17cb4f2 100644
@@ -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"
Signature · 1 line
2.25.1
#1 lore raw

PATCH v2 2/2 meta-arago-extras: gstreamer1.0-plugins-vpe: Fix submodule fetch

This gstreamer plugin is unable to get 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.

---

Changes in v2:
* Fixed typo in commit message
* Added Upstream-Status to Pending. It's up to TI if they want to patch these repos or keep it here.

 ...01-Switch-submodule-common-to-github.patch | 26 +++++++++++++++++++
 .../gstreamer1.0-plugins-vpe_git.bb           |  1 +
 2 files changed, 27 insertions(+)
 create mode 100644 meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe/0001-Switch-submodule-common-to-github.patch
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe/0001-Switch-submodule-common-to-github.patch new file +26 -0
new file mode 100644
index 00000000..43f5493e
@@ -0,0 +1,26 @@
+From 4dac2d8d41c21577f146a568baa5ff897835f98c Mon Sep 17 00:00:00 2001
+From: Daniel Schultz <[email protected]>
+Date: Wed, 7 Aug 2024 09:50:49 +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.
+
+Upstream-Status: Pending
+
+Signed-off-by: Daniel Schultz <[email protected]>
+---
+ .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
meta-arago-extras/recipes-multimedia/gst-plugins-ti/gstreamer1.0-plugins-vpe_git.bb +1 -0
index 237031b1..2038e2b1 100644
@@ -14,4 +14,5 @@ SRCREV = "b9dba5a8bc7d14d55125abdce04672e3dc30bbdf"
 
 SRC_URI = "git://git.ti.com/git/glsdk/gst-plugin-vpe.git;protocol=https \
            file://0001-gstvpe-configure.ac-stop-using-export-symbols-regex.patch \
+           file://0001-Switch-submodule-common-to-github.patch \
 "
Signature · 1 line
2.25.1