Skip to contentSkip to conversation

xmlto: update SRC_URI

PATCH New Ross Burton 1 participant 4 messages Jul 8 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/4 xmlto: update SRC_URI

xmlto was previously hosted on Fedora's pagure.io server, but this is being decomissioned. As xmlto isn't Fedora-specific the repository has migrated to codeberg.org.

From discussion with Michal Schorm <[email protected]>:

I became the new maintainer of the project upstream and after a discussion with Kevin Fenzi, migrated it to a new home on the codeberg.org: https://codeberg.org/xmlto/xmlto

---
 meta/recipes-devtools/xmlto/xmlto_0.0.29.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-devtools/xmlto/xmlto_0.0.29.bb +1 -1
index 613d7973ec..c26cd21dd0 100644
@@ -7,7 +7,7 @@ LICENSE = "GPL-2.0-only"
 LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552"
 
 SRCREV = "74862a684907ada3d4ed2ce0f8111adf626e1456"
-SRC_URI = "git://pagure.io/xmlto.git;protocol=https;branch=master"
+SRC_URI = "git://codeberg.org/xmlto/xmlto.git;protocol=https;branch=master"
 
 inherit autotools
 
Signature · 1 line
2.43.0
#1 lore raw

PATCH 2/4 mesa-demos: switch to fetching from git instead of tarballs

Upstream don't plan on making new releases of mesa-demos as it's mostly demos and test applications. As a first step to moving to git, this changes the fetching of a tarball to the fetching of the git tag that the tarball was generated from.

---
 meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb +3 -2
index 0bc8519e90..593bc0147e 100644
@@ -9,10 +9,11 @@ LICENSE = "MIT & PD"
 LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \
                     file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
 
-SRC_URI = "https://archive.mesa3d.org/demos/${BPN}-${PV}.tar.xz \
+SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main;tag=${BP} \
            file://0001-meson-fix-glx-detection-without-glvnd.patch \
            "
-SRC_URI[sha256sum] = "3046a3d26a7b051af7ebdd257a5f23bfeb160cad6ed952329cdff1e9f1ed496b"
+
+SRCREV = "661681767bfb4e8f136aac1fd7934e6b0fa46d29"
 
 inherit meson pkgconfig features_check
 # depends on virtual/egl, virtual/libgl ...
Signature · 1 line
2.43.0
#2 lore raw

PATCH 3/4 mesa-demos: move to latest commit

In reply to Ross Burton

Upgrade mesa-demos to the latest commit. Too many changes to list as there have been ~230 commits since the 9.0.0 release in 2023.

Drop a backported patch, and update the GLUT option.

License-Update: license strings rewritten

---
 ...eson-fix-glx-detection-without-glvnd.patch | 46 -------------------
 .../recipes-graphics/mesa/mesa-demos_9.0.0.bb | 14 +++---
 2 files changed, 8 insertions(+), 52 deletions(-)
 delete mode 100644 meta/recipes-graphics/mesa/mesa-demos/0001-meson-fix-glx-detection-without-glvnd.patch
meta/recipes-graphics/mesa/mesa-demos/0001-meson-fix-glx-detection-without-glvnd.patch deleted +0 -46
deleted file mode 100644
index f16ba4a24c..0000000000
@@ -1,46 +0,0 @@
-From e16117fc92688d76a042ad2c590c77d5a987a4ac Mon Sep 17 00:00:00 2001
-From: Erik Faye-Lund <[email protected]>
-Date: Fri, 24 Mar 2023 13:31:58 +0100
-Subject: [PATCH] meson: fix glx-detection without glvnd
-
-When build without GLVND, Mesa provides GLX as a part of libGL, just
-like XQuartz does on MacOS. There's nothing really macOS specific about
-this fallback, so let's drop the condition.
-
-And just for good measure, let's add in dep_gl as a dependency for
-the header-check here, in case some one decides to install libGL outside
-of the default include directory.
-
-Fixes: 34300551 ("meson: explicitly check for glx dependency")
-Closes: https://gitlab.freedesktop.org/mesa/demos/-/issues/36
-Reviewed-by: Hoe Hao Cheng <[email protected]>
-
-Upstream-Status: Backport
-Signed-off-by: Ross Burton <[email protected]>
----
- meson.build | 9 +++++----
- 1 file changed, 5 insertions(+), 4 deletions(-)
-
-diff --git a/meson.build b/meson.build
-index c1853f94..bc3278e1 100644
---- a/meson.build
-+++ b/meson.build
-@@ -99,10 +99,11 @@ if not dep_glu.found() and host_machine.system() != 'darwin'
- endif
- 
- dep_glx = dependency('glx', required: false, disabler : true)
--if not dep_glx.found() and host_machine.system() == 'darwin'
--  # xquartz doesn't have a glx.pc, but it does have the header. And all the
--  # symbols reside in libGL, so let's just use that.
--  if cc.check_header('GL/glx.h', dependencies: dep_x11)
-+if not dep_glx.found()
-+  # Both Mesa build without GLVND and XQuartz lacks a glx.pc, but does
-+  # provide the header. And all the symbols reside in libGL, so let's
-+  # just use that.
-+  if cc.check_header('GL/glx.h', dependencies: [dep_x11, dep_gl])
-     dep_glx = dep_gl
-   endif
- endif
--- 
-2.43.0
-
meta/recipes-graphics/mesa/mesa-demos_9.0.0.bb +8 -6
index 593bc0147e..6c0c3d1b56 100644
@@ -6,14 +6,16 @@ BUGTRACKER = "https://bugs.freedesktop.org"
 SECTION = "x11"
 
 LICENSE = "MIT & PD"
-LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=914225785450eff644a86c871d3ae00e \
+LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=5;md5=2c456e2fe0a0a05d31a72e076d404528 \
                     file://src/xdemos/glxdemo.c;beginline=1;endline=8;md5=b01d5ab1aee94d35b7efaa2ef48e1a06"
 
-SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main;tag=${BP} \
-           file://0001-meson-fix-glx-detection-without-glvnd.patch \
-           "
+SRC_URI = "git://gitlab.freedesktop.org/mesa/demos.git;protocol=https;branch=main"
 
-SRCREV = "661681767bfb4e8f136aac1fd7934e6b0fa46d29"
+SRCREV = "188fc2354de5a9cbfd73852183a35f4982ca43d5"
+
+# This recipe doesn't plan to make more releases, so track upstream git commits
+PV .= "+git"
+UPSTREAM_CHECK_COMMITS = "1"
 
 inherit meson pkgconfig features_check
 # depends on virtual/egl, virtual/libgl ...
@@ -34,7 +36,7 @@ PACKAGECONFIG[drm] = "-Dlibdrm=enabled,-Dlibdrm=disabled,libdrm"
 PACKAGECONFIG[egl] = "-Degl=enabled,-Degl=disabled,virtual/egl"
 PACKAGECONFIG[gles1] = "-Dgles1=enabled,-Dgles1=disabled,virtual/libgles1"
 PACKAGECONFIG[gles2] = "-Dgles2=enabled,-Dgles2=disabled,virtual/libgles2"
-PACKAGECONFIG[glut] = "-Dwith-glut=${STAGING_EXECPREFIXDIR},,freeglut"
+PACKAGECONFIG[glut] = "-Dglut=enabled,-Dglut=disabled,freeglut"
 PACKAGECONFIG[vulkan] = "-Dvulkan=enabled,-Dvulkan=disabled,vulkan-loader glslang-native"
 PACKAGECONFIG[wayland] = "-Dwayland=enabled,-Dwayland=disabled,virtual/libgl wayland wayland-native wayland-protocols libxkbcommon libdecor"
 PACKAGECONFIG[x11] = "-Dx11=enabled,-Dx11=disabled,virtual/libx11 libglu libxkbcommon libxcb"
Signature · 1 line
2.43.0
#3 lore raw

PATCH 4/4 python3-hatchling: upgrade 1.30.1 -> 1.31.0

In reply to Ross Burton

Upstream changelog:

- Only rewrite the shebang of a shared script when a Python shebang is present on the first line, preserving binary files and other content verbatim instead of dropping leading bytes.

---
 ...{python3-hatchling_1.30.1.bb => python3-hatchling_1.31.0.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-hatchling_1.30.1.bb => python3-hatchling_1.31.0.bb} (82%)
meta/recipes-devtools/python/python3-hatchling_1.31.0.bb renamed from meta/recipes-devtools/python/python3-hatchling_1.30.1.bb +1 -1
similarity index 82%
rename from meta/recipes-devtools/python/python3-hatchling_1.30.1.bb
rename to meta/recipes-devtools/python/python3-hatchling_1.31.0.bb
index 23067e3e58..3acaa83638 100644
@@ -7,6 +7,6 @@ inherit pypi python_hatchling
 
 DEPENDS += "python3-pluggy-native python3-pathspec-native python3-packaging-native python3-editables-native python3-trove-classifiers-native"
 
-SRC_URI[sha256sum] = "eee4fd45357f72ebb3d7a42e5d72cfb5e29ed426d79e8836288926c4258d5f2e"
+SRC_URI[sha256sum] = "6b48ad4068a482ed7239b3a8215bc55b47aad3345d58dfc94e553c5d2d46211b"
 
 BBCLASSEXTEND = "native nativesdk"
Signature · 1 line
2.43.0