mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: Lucas Stach <l.stach@pengutronix.de>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] rendercheck: new package
Date: Fri, 7 Feb 2025 11:29:40 +0100	[thread overview]
Message-ID: <20250207102940.73m576wvuvi5hbch@pengutronix.de> (raw)
In-Reply-To: <20250131193956.2930141-1-l.stach@pengutronix.de>

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 <l.stach@pengutronix.de>
> ---
>  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 <l.stach@pengutronix.de>
> +#
> +# 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 <l.stach@pengutronix.de>")
> +	@$(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.          | rhi@pengutronix.de          |
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	other threads:[~2025-02-07 10:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-31 19:39 Lucas Stach
2025-02-07 10:29 ` Roland Hieber [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250207102940.73m576wvuvi5hbch@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=l.stach@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox