* [Buildroot] [PATCH 1/1] package/libglu: bump version to 9.0.3
@ 2023-07-29 15:46 Bernd Kuhls
2023-07-29 20:37 ` Yann E. MORIN
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2023-07-29 15:46 UTC (permalink / raw)
To: buildroot; +Cc: Eric Le Bihan
Release notes:
https://lists.freedesktop.org/archives/mesa-announce/2023-July/000725.html
Upstream dropped autoconf, switch to meson.
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
package/libglu/libglu.hash | 6 +++---
package/libglu/libglu.mk | 5 +++--
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/package/libglu/libglu.hash b/package/libglu/libglu.hash
index 234b58dd63..17d018ac66 100644
--- a/package/libglu/libglu.hash
+++ b/package/libglu/libglu.hash
@@ -1,5 +1,5 @@
-# From https://lists.freedesktop.org/archives/mesa-announce/2021-June/000634.html
-sha256 6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4 glu-9.0.2.tar.xz
-sha512 2517d7406bb643d12c017a95dcb5d8716f307344332638bcbdf274a90752a7c22165d34745f1b082ed916bb07d40e62d1d1d67d96426225be63166f3480d6f64 glu-9.0.2.tar.xz
+# From https://lists.freedesktop.org/archives/mesa-announce/2023-July/000725.html
+sha256 bd43fe12f374b1192eb15fe20e45ff456b9bc26ab57f0eee919f96ca0f8a330f glu-9.0.3.tar.xz
+sha512 b2781059c0e176192c3fc0d7244645020937a463311171efddb9f35fb94ee43faabcf627fa7f429d48fceaf6dd9c5adb69c86c7a21ec4ea490f4ab143d52e3ba glu-9.0.3.tar.xz
# locally computed
sha256 3a9992ccc9d672cfdd07ea862431d943a992d04836570c638a733bf15ec62c54 include/GL/glu.h
diff --git a/package/libglu/libglu.mk b/package/libglu/libglu.mk
index 8820e75d8b..b30187884a 100644
--- a/package/libglu/libglu.mk
+++ b/package/libglu/libglu.mk
@@ -4,12 +4,13 @@
#
################################################################################
-LIBGLU_VERSION = 9.0.2
+LIBGLU_VERSION = 9.0.3
LIBGLU_SITE = https://mesa.freedesktop.org/archive/glu
LIBGLU_SOURCE = glu-$(LIBGLU_VERSION).tar.xz
LIBGLU_LICENSE = SGI-B-2.0
LIBGLU_LICENSE_FILES = include/GL/glu.h
LIBGLU_INSTALL_STAGING = YES
LIBGLU_DEPENDENCIES = libgl host-pkgconf
+LIBGLU_CONF_OPTS = -Dgl_provider=gl
-$(eval $(autotools-package))
+$(eval $(meson-package))
--
2.39.2
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [Buildroot] [PATCH 1/1] package/libglu: bump version to 9.0.3
2023-07-29 15:46 [Buildroot] [PATCH 1/1] package/libglu: bump version to 9.0.3 Bernd Kuhls
@ 2023-07-29 20:37 ` Yann E. MORIN
0 siblings, 0 replies; 2+ messages in thread
From: Yann E. MORIN @ 2023-07-29 20:37 UTC (permalink / raw)
To: Bernd Kuhls; +Cc: Eric Le Bihan, buildroot
Bernd, All,
On 2023-07-29 17:46 +0200, Bernd Kuhls spake thusly:
> Release notes:
> https://lists.freedesktop.org/archives/mesa-announce/2023-July/000725.html
>
> Upstream dropped autoconf, switch to meson.
>
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Applied to master, thanks.
But see below, please.
> ---
[--SNIP--]
> diff --git a/package/libglu/libglu.mk b/package/libglu/libglu.mk
> index 8820e75d8b..b30187884a 100644
> --- a/package/libglu/libglu.mk
> +++ b/package/libglu/libglu.mk
> @@ -4,12 +4,13 @@
> #
> ################################################################################
>
> -LIBGLU_VERSION = 9.0.2
> +LIBGLU_VERSION = 9.0.3
> LIBGLU_SITE = https://mesa.freedesktop.org/archive/glu
> LIBGLU_SOURCE = glu-$(LIBGLU_VERSION).tar.xz
> LIBGLU_LICENSE = SGI-B-2.0
> LIBGLU_LICENSE_FILES = include/GL/glu.h
There's been a recent discussion about using source file as license
files, and it turns out that this is generally a bad idea overall,
because it does not allow to easily apply patches from a global
patch-dir, and makes it a bit more complex to also add a patch in
Buildroot:
https://lore.kernel.org/buildroot/20230727125123.927568-1-herve.codina@bootlin.com/T/#u
So, it would be nice if you could update libglu to use a post-extract
hook to generate a license file, something like;
LIBGLU_LICENSE_FILES = LICENSE.br-extracted
define LIBGLU_EXTRA_LICENSE
awk '
BEGIN { doprint=1; }
doprint == 1 { print; }
$0 ~ /\*\// { doprint = 0; }
' "$(@S)/include/GL/glu.h \
> $(@D)/LICENSE.br-extracted
endef
LIBGLU_POST_EXTRACT_HOOKS += LIBGLU_EXTRA_LICENSE
Could you see into it, please?
Regards,
Yann E. MORIN.
> LIBGLU_INSTALL_STAGING = YES
> LIBGLU_DEPENDENCIES = libgl host-pkgconf
> +LIBGLU_CONF_OPTS = -Dgl_provider=gl
>
> -$(eval $(autotools-package))
> +$(eval $(meson-package))
> --
> 2.39.2
>
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-29 20:38 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-29 15:46 [Buildroot] [PATCH 1/1] package/libglu: bump version to 9.0.3 Bernd Kuhls
2023-07-29 20:37 ` Yann E. MORIN
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox