On Fri, Jan 31, 2025 at 08:39:56PM +0100, Lucas Stach wrote:
> rendercheck is a set of simple tests for the X Render extension.
> 
> While the X server is on its way out, rendercheck is still useful
> to test the glamor implementation in XWayland.
> 
> Signed-off-by: Lucas Stach <[email protected]>
> ---
>  rules/rendercheck.in   | 13 +++++++++++
>  rules/rendercheck.make | 52 ++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 65 insertions(+)
>  create mode 100644 rules/rendercheck.in
>  create mode 100644 rules/rendercheck.make
> 
> diff --git a/rules/rendercheck.in b/rules/rendercheck.in
> new file mode 100644
> index 000000000000..fb2d1c96e7b5
> --- /dev/null
> +++ b/rules/rendercheck.in
> @@ -0,0 +1,13 @@
> +## SECTION=test_suites
> +
> +config RENDERCHECK
> +     tristate
> +     prompt "rendercheck"
> +     select HOST_MESON
> +     select XORG_LIB_XRENDER
> +     select XORG_LIB_XEXT
> +     select XORG_LIB_X11
> +     select XORGPROTO
> +     help
> +       rendercheck is a set of simple tests for the X Render extension.
> +       It is designed for authors of Render implementations in X Servers.
> diff --git a/rules/rendercheck.make b/rules/rendercheck.make
> new file mode 100644
> index 000000000000..65f95052b569
> --- /dev/null
> +++ b/rules/rendercheck.make
> @@ -0,0 +1,52 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2016 by Lucas Stach <[email protected]>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_RENDERCHECK) += rendercheck
> +
> +#
> +# Paths and names
> +#
> +RENDERCHECK_VERSION  := 1.6
> +RENDERCHECK_MD5              := 4b3b862b4fad00a0ca9183df71b6bb42
> +RENDERCHECK          := rendercheck-$(RENDERCHECK_VERSION)
> +RENDERCHECK_SUFFIX   := tar.xz
> +RENDERCHECK_URL              := 
> https://www.x.org/releases/individual/test/$(RENDERCHECK).$(RENDERCHECK_SUFFIX)
> +RENDERCHECK_SOURCE   := $(SRCDIR)/$(RENDERCHECK).$(RENDERCHECK_SUFFIX)
> +RENDERCHECK_DIR              := $(BUILDDIR)/$(RENDERCHECK)
> +RENDERCHECK_LICENSE  := MIT AND GPL-2.0-or-later

In SPDX, there are several variants of MIT licenses, but
<https://spdx.org/licenses/MIT> reads very differenty from what's in COPYING. 
Use
"HPND-sell-variant" instead, which matches according to
<https://tools.spdx.org/app/check_license/>.

 - Roland

> +RENDERCHECK_LICENSE_FILES := \
> +     file://COPYING;md5=ff84617f9d8cecf388d25880f32448b0
> +
> +# 
> ----------------------------------------------------------------------------
> +# Prepare
> +# 
> ----------------------------------------------------------------------------
> +RENDERCHECK_CONF_TOOL        := meson
> +
> +# 
> ----------------------------------------------------------------------------
> +# Target-Install
> +# 
> ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/rendercheck.targetinstall:
> +     @$(call targetinfo)
> +
> +     @$(call install_init, rendercheck)
> +     @$(call install_fixup, rendercheck,PRIORITY,optional)
> +     @$(call install_fixup, rendercheck,SECTION,base)
> +     @$(call install_fixup, rendercheck,AUTHOR,"Lucas Stach 
> <[email protected]>")
> +     @$(call install_fixup, rendercheck,DESCRIPTION,missing)
> +
> +     @$(call install_copy, rendercheck, 0, 0, 0755, -, /usr/bin/rendercheck)
> +
> +     @$(call install_finish, rendercheck)
> +
> +     @$(call touch)
> +
> +# vim: syntax=make
> -- 
> 2.39.5
> 
> 
> 

-- 
Roland Hieber, Pengutronix e.K.          | [email protected]          |
Steuerwalder Str. 21                     | https://www.pengutronix.de/ |
31137 Hildesheim, Germany                | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686         | Fax:   +49-5121-206917-5555 |

Reply via email to