mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] rendercheck: new package
@ 2025-01-31 19:39 Lucas Stach
  2025-02-07 10:29 ` Roland Hieber
  0 siblings, 1 reply; 2+ messages in thread
From: Lucas Stach @ 2025-01-31 19:39 UTC (permalink / raw)
  To: ptxdist

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
+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




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-02-07 10:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-01-31 19:39 [ptxdist] [PATCH] rendercheck: new package Lucas Stach
2025-02-07 10:29 ` Roland Hieber

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox