mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Lucas Stach <l.stach@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] x11perf: new package
Date: Mon, 18 Nov 2024 21:11:33 +0100	[thread overview]
Message-ID: <20241118201133.2097350-1-l.stach@pengutronix.de> (raw)

X11 server performance test program. Doubles as a decent
XWayland/Glamor stress test.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 rules/x11perf.in   | 11 +++++++++++
 rules/x11perf.make | 49 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 60 insertions(+)
 create mode 100644 rules/x11perf.in
 create mode 100644 rules/x11perf.make

diff --git a/rules/x11perf.in b/rules/x11perf.in
new file mode 100644
index 000000000000..4bdc5c7f0cc8
--- /dev/null
+++ b/rules/x11perf.in
@@ -0,0 +1,11 @@
+## SECTION=test_suites
+
+config X11PERF
+	tristate
+	prompt "x11perf"
+	select XORG_LIB_X11
+	select XORG_LIB_XMU
+	select XORG_LIB_XRENDER
+	select XORGPROTO
+	help
+	  X11 server performance test program
diff --git a/rules/x11perf.make b/rules/x11perf.make
new file mode 100644
index 000000000000..84732c632f57
--- /dev/null
+++ b/rules/x11perf.make
@@ -0,0 +1,49 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2024 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_X11PERF) += x11perf
+
+#
+# Paths and names
+#
+X11PERF_VERSION		:= 1.7.0
+X11PERF_MD5		:= c740047b28c2a55829849c7043d523c9
+X11PERF			:= x11perf-$(X11PERF_VERSION)
+X11PERF_SUFFIX		:= tar.xz
+X11PERF_URL		:= https://www.x.org/releases/individual/test/$(X11PERF).$(X11PERF_SUFFIX)
+X11PERF_SOURCE		:= $(SRCDIR)/$(X11PERF).$(X11PERF_SUFFIX)
+X11PERF_DIR		:= $(BUILDDIR)/$(X11PERF)
+X11PERF_LICENSE		:= MIT
+X11PERF_LICENSE_FILES	:= file://COPYING;md5=428ca4d67a41fcd4fc3283dce9bbda7e
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+X11PERF_CONF_TOOL	:= autoconf
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/x11perf.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, x11perf)
+	@$(call install_fixup, x11perf,PRIORITY,optional)
+	@$(call install_fixup, x11perf,SECTION,base)
+	@$(call install_fixup, x11perf,AUTHOR,"Lucas Stach <l.stach@pengutronix.de>")
+	@$(call install_fixup, x11perf,DESCRIPTION,missing)
+
+	@$(call install_copy, x11perf, 0, 0, 0755, -, /usr/bin/x11perf)
+
+	@$(call install_finish, x11perf)
+
+	@$(call touch)
-- 
2.39.5




                 reply	other threads:[~2024-11-18 20:11 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20241118201133.2097350-1-l.stach@pengutronix.de \
    --to=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