From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 18 Nov 2024 21:11:51 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tD86B-003YeX-0c for lore@lore.pengutronix.de; Mon, 18 Nov 2024 21:11:51 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tD86A-0000Zw-Q9; Mon, 18 Nov 2024 21:11:50 +0100 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1tD85t-0000Zo-RB for ptxdist@pengutronix.de; Mon, 18 Nov 2024 21:11:33 +0100 Received: from dude02.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::28]) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.96) (envelope-from ) id 1tD85t-001S34-27 for ptxdist@pengutronix.de; Mon, 18 Nov 2024 21:11:33 +0100 From: Lucas Stach To: ptxdist@pengutronix.de Date: Mon, 18 Nov 2024 21:11:33 +0100 Message-Id: <20241118201133.2097350-1-l.stach@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] x11perf: new package X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false X11 server performance test program. Doubles as a decent XWayland/Glamor stress test. Signed-off-by: Lucas Stach --- 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 +# +# 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 ") + @$(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