diff mbox series

[1/2] mesa: correct download location

Message ID 20250319100959.4102512-1-alex.kanavin@gmail.com
State New
Headers show
Series [1/2] mesa: correct download location | expand

Commit Message

Alexander Kanavin March 19, 2025, 10:09 a.m. UTC
From: Alexander Kanavin <alex@linutronix.de>

Signed-off-by: Alexander Kanavin <alex@linutronix.de>
---
 meta/recipes-graphics/mesa/libglu_9.0.3.bb     | 2 +-
 meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb | 2 +-
 meta/recipes-graphics/mesa/mesa.inc            | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

Comments

Richard Purdie March 19, 2025, 10:20 a.m. UTC | #1
On Wed, 2025-03-19 at 11:09 +0100, Alexander Kanavin via lists.openembedded.org wrote:
> From: Alexander Kanavin <alex@linutronix.de>
> 
> Signed-off-by: Alexander Kanavin <alex@linutronix.de>
> ---
>  meta/recipes-graphics/mesa/libglu_9.0.3.bb     | 2 +-
>  meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb | 2 +-
>  meta/recipes-graphics/mesa/mesa.inc            | 2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/meta/recipes-graphics/mesa/libglu_9.0.3.bb b/meta/recipes-graphics/mesa/libglu_9.0.3.bb
> index 8151727c52a..9e23ff830fc 100644
> --- a/meta/recipes-graphics/mesa/libglu_9.0.3.bb
> +++ b/meta/recipes-graphics/mesa/libglu_9.0.3.bb
> @@ -11,7 +11,7 @@ LIC_FILES_CHKSUM = "file://include/GL/glu.h;endline=29;md5=6b79c570f644363b35645
>  # Epoch as this used to be part of mesa
>  PE = "2"
>  
> -SRC_URI = "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.xz \
> +SRC_URI = "https://archive.mesa3d.org/glu/glu-${PV}.tar.xz \
>             "

Doesn't this have issues with the "older-versions" directory that archives are moved off into?

Cheers,

Richard
Alexander Kanavin March 19, 2025, 10:28 a.m. UTC | #2
On Wed, 19 Mar 2025 at 11:20, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> > -SRC_URI = "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.xz \
> > +SRC_URI = "https://archive.mesa3d.org/glu/glu-${PV}.tar.xz \
> >             "
>
> Doesn't this have issues with the "older-versions" directory that archives are moved off into?

I suspect this is the same directory as the previous location, and the
issue was already present there? I can't check that anymore: it's now
404.

Alex
Richard Purdie March 19, 2025, 10:29 a.m. UTC | #3
On Wed, 2025-03-19 at 11:28 +0100, Alexander Kanavin wrote:
> On Wed, 19 Mar 2025 at 11:20, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > > -SRC_URI =
> > > "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.xz \
> > > +SRC_URI = "https://archive.mesa3d.org/glu/glu-${PV}.tar.xz \
> > >             "
> > 
> > Doesn't this have issues with the "older-versions" directory that
> > archives are moved off into?
> 
> I suspect this is the same directory as the previous location, and
> the issue was already present there? I can't check that anymore: it's
> now 404.

I think we may need to wait for the dust to settle on the
freedesktop.org changes before we update urls...

Cheers,

Richard
Alexander Kanavin March 19, 2025, 10:32 a.m. UTC | #4
On Wed, 19 Mar 2025 at 11:29, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> > > > -SRC_URI =
> > > > "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.xz \
> > > > +SRC_URI = "https://archive.mesa3d.org/glu/glu-${PV}.tar.xz \
> > > >             "
> > >
> > > Doesn't this have issues with the "older-versions" directory that
> > > archives are moved off into?
> >
> > I suspect this is the same directory as the previous location, and
> > the issue was already present there? I can't check that anymore: it's
> > now 404.
>
> I think we may need to wait for the dust to settle on the
> freedesktop.org changes before we update urls...

The new location is officially documented though:
https://docs.mesa3d.org/download.html

Alex
Alexander Kanavin March 19, 2025, 2:04 p.m. UTC | #5
On Wed, 19 Mar 2025 at 11:32, Alexander Kanavin via
lists.openembedded.org <alex.kanavin=gmail.com@lists.openembedded.org>
wrote:
> > I think we may need to wait for the dust to settle on the
> > freedesktop.org changes before we update urls...
>
> The new location is officially documented though:
> https://docs.mesa3d.org/download.html

And the new location was documented already two years ago:
https://gitlab.freedesktop.org/mesa/mesa/-/commit/67b77d8adeb1132ff99b68f8719f8de341e38ee2

Existing freedesktop link has been a redirect to the new location, and
that link has now vanished.

Alex
Richard Purdie March 19, 2025, 2:30 p.m. UTC | #6
On Wed, 2025-03-19 at 15:04 +0100, Alexander Kanavin wrote:
> On Wed, 19 Mar 2025 at 11:32, Alexander Kanavin via
> lists.openembedded.org
> <alex.kanavin=gmail.com@lists.openembedded.org>
> wrote:
> > > I think we may need to wait for the dust to settle on the
> > > freedesktop.org changes before we update urls...
> > 
> > The new location is officially documented though:
> > https://docs.mesa3d.org/download.html
> 
> And the new location was documented already two years ago:
> https://gitlab.freedesktop.org/mesa/mesa/-/commit/67b77d8adeb1132ff99b68f8719f8de341e38ee2
> 
> Existing freedesktop link has been a redirect to the new location,
> and that link has now vanished.

Fair enough, thanks!

Cheers,

Richard
diff mbox series

Patch

diff --git a/meta/recipes-graphics/mesa/libglu_9.0.3.bb b/meta/recipes-graphics/mesa/libglu_9.0.3.bb
index 8151727c52a..9e23ff830fc 100644
--- a/meta/recipes-graphics/mesa/libglu_9.0.3.bb
+++ b/meta/recipes-graphics/mesa/libglu_9.0.3.bb
@@ -11,7 +11,7 @@  LIC_FILES_CHKSUM = "file://include/GL/glu.h;endline=29;md5=6b79c570f644363b35645
 # Epoch as this used to be part of mesa
 PE = "2"
 
-SRC_URI = "https://mesa.freedesktop.org/archive/glu/glu-${PV}.tar.xz \
+SRC_URI = "https://archive.mesa3d.org/glu/glu-${PV}.tar.xz \
            "
 
 SRC_URI[sha256sum] = "bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f"
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb b/meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb
index 12f41d75a5f..1a64e16a2a9 100644
--- a/meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb
+++ b/meta/recipes-graphics/mesa/mesa-demos_8.5.0.bb
@@ -9,7 +9,7 @@  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://mesa.freedesktop.org/archive/demos/${PV}/${BPN}-${PV}.tar.bz2 \
+SRC_URI = "https://archive.mesa3d.org/demos/${PV}/${BPN}-${PV}.tar.bz2 \
            file://0001-mesa-demos-Add-missing-data-files.patch \
            file://0004-Use-DEMOS_DATA_DIR-to-locate-data-files.patch \
            "
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index a3f7a0740b0..f6a91a7002f 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -14,7 +14,7 @@  LIC_FILES_CHKSUM = "file://docs/license.rst;md5=63779ec98d78d823a9dc533a0735ef10
 
 PE = "2"
 
-SRC_URI = "https://mesa.freedesktop.org/archive/mesa-${PV}.tar.xz \
+SRC_URI = "https://archive.mesa3d.org/mesa-${PV}.tar.xz \
            file://0001-meson-misdetects-64bit-atomics-on-mips-clang.patch \
            file://0001-drisw-fix-build-without-dri3.patch \
            file://0002-glxext-don-t-try-zink-if-not-enabled-in-mesa.patch \