mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Benjamin Gaignard <benjamin.gaignard@collabora.com>
Subject: Re: [ptxdist] [APPLIED] Add drm-info package
Date: Mon, 24 Mar 2025 08:45:49 +0100	[thread overview]
Message-ID: <20250324074549.2432178-1-m.olbrich@pengutronix.de> (raw)
In-Reply-To: <20250313144130.29070-1-benjamin.gaignard@collabora.com>

Thanks, applied as 1cb0b3fbe127781bb56c63fb3cc5ea0ffc5c74ef.

Michael

[sent from post-receive hook]

On Mon, 24 Mar 2025 08:45:49 +0100, Benjamin Gaignard <benjamin.gaignard@collabora.com> wrote:
> Add package for drm_info which is a small utility to dump
> info about DRM devices.
> 
> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@collabora.com>
> Message-Id: <20250313144130.29070-1-benjamin.gaignard@collabora.com>
> [mol: add header for prepare stage, rename drm_info -> drm-info]
> Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
> 
> diff --git a/rules/drm-info.in b/rules/drm-info.in
> new file mode 100644
> index 000000000000..3916e29a6377
> --- /dev/null
> +++ b/rules/drm-info.in
> @@ -0,0 +1,11 @@
> +## SECTION=multimedia_tools
> +
> +config DRM_INFO
> +	tristate
> +	select HOST_MESON
> +	select HOST_SYSTEM_PYTHON3
> +	select LIBDRM
> +	select JSON_C
> +	prompt "drm_info"
> +	help
> +	  Small utility to dump info about DRM devices.
> diff --git a/rules/drm-info.make b/rules/drm-info.make
> new file mode 100644
> index 000000000000..ad6730fdb35c
> --- /dev/null
> +++ b/rules/drm-info.make
> @@ -0,0 +1,59 @@
> +# -*-makefile-*-
> +#
> +# Copyright (C) 2025 by <benjamin.gaignard@collabora.com>
> +#
> +# For further information about the PTXdist project and license conditions
> +# see the README file.
> +#
> +
> +#
> +# We provide this package
> +#
> +PACKAGES-$(PTXCONF_DRM_INFO) += drm-info
> +
> +#
> +# Paths and names
> +#
> +DRM_INFO_VERSION	:= 2.7.0
> +DRM_INFO_MD5		:= 0066f5d02007b712d7b21a89e89785ba
> +DRM_INFO		:= drm_info-v$(DRM_INFO_VERSION)
> +DRM_INFO_SUFFIX		:= tar.bz2
> +DRM_INFO_URL		:= https://gitlab.freedesktop.org/emersion/drm_info/-/archive/$(DRM_INFO).$(DRM_INFO_SUFFIX)
> +DRM_INFO_SOURCE		:= $(SRCDIR)/$(DRM_INFO).$(DRM_INFO_SUFFIX)
> +DRM_INFO_DIR		:= $(BUILDDIR)/$(DRM_INFO)
> +DRM_INFO_LICENSE	:= MIT
> +DRM_INFO_LICENSE_FILES	:= file://LICENSE;md5=32fd56d355bd6a61017655d8da26b67c
> +
> +# ----------------------------------------------------------------------------
> +# Prepare
> +# ----------------------------------------------------------------------------
> +
> +#
> +# meson
> +#
> +DRM_INFO_CONF_TOOL	:= meson
> +DRM_INFO_CONF_OPT	:=  \
> +	$(CROSS_MESON_USR) \
> +	-Dlibpci=disabled \
> +	-Dman-pages=disabled
> +
> +# ----------------------------------------------------------------------------
> +# Target-Install
> +# ----------------------------------------------------------------------------
> +
> +$(STATEDIR)/drm-info.targetinstall:
> +	@$(call targetinfo)
> +
> +	@$(call install_init, drm-info)
> +	@$(call install_fixup, drm-info,PRIORITY,optional)
> +	@$(call install_fixup, drm-info,SECTION,base)
> +	@$(call install_fixup, drm-info,AUTHOR,"Benjamin Gaignard <benjamin.gaignard@collabora.com>")
> +	@$(call install_fixup, drm-info,DESCRIPTION,missing)
> +
> +	@$(call install_copy, drm-info, 0, 0, 0755, -, /usr/bin/drm_info)
> +
> +	@$(call install_finish, drm-info)
> +
> +	@$(call touch)
> +
> +# vim: syntax=make



      reply	other threads:[~2025-03-24  7:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-03-13 14:41 [ptxdist] [PATCH v2] Add drm_info package Benjamin Gaignard
2025-03-24  7:45 ` Michael Olbrich [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=20250324074549.2432178-1-m.olbrich@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=benjamin.gaignard@collabora.com \
    --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