Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
To: Paul Elder <paul.elder@ideasonboard.com>
Cc: buildroot@buildroot.org, sakari.ailus@iki.fi,
	Eric Le Bihan <eric.le.bihan.dev@free.fr>
Subject: Re: [Buildroot] [PATCH] package/raw2rgbpnm: Add package for raw2rgbpnm
Date: Wed, 16 Sep 2026 19:43:55 +0300	[thread overview]
Message-ID: <20260916164355.GA191870@killaraus.ideasonboard.com> (raw)
In-Reply-To: <20260916090705.2796356-1-paul.elder@ideasonboard.com>

Hi Paul,

Thank you for the patch.

On Wed, Sep 16, 2026 at 06:07:04PM +0900, Paul Elder wrote:
> Add package for raw2rgbpnm. It is a tool for converting raw images to
> RGB PNM. While the original repo is at:
> https://git.retiisi.eu/?p=~sailus/raw2rgbpnm.git
> A mirror is hosted on freedesktop:
> https://gitlab.freedesktop.org/camera/raw2rgbpnm
> so use that instead.
> 
> As the build is simple and has no dependencies nor releases, use the
> master branch for the version.

I don't know what buildroot's policy is with this, but using the master
branch will make builds non-reproducible. I would instead use the commit
ID of the current master branch head. It can be updated in future
buildroot releases.

> Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>
> 
> ---
> This patch is based on 2026.08.
> ---
>  package/Config.in                |  1 +
>  package/raw2rgbpnm/Config.in     |  6 ++++++
>  package/raw2rgbpnm/raw2rgbpnm.mk | 16 ++++++++++++++++
>  3 files changed, 23 insertions(+)
>  create mode 100644 package/raw2rgbpnm/Config.in
>  create mode 100644 package/raw2rgbpnm/raw2rgbpnm.mk
> 
> diff --git a/package/Config.in b/package/Config.in
> index 6058800682b4..6d9daeadafec 100644
> --- a/package/Config.in
> +++ b/package/Config.in
> @@ -195,6 +195,7 @@ menu "Development tools"
>  	source "package/mawk/Config.in"
>  	source "package/patch/Config.in"
>  	source "package/pkgconf/Config.in"
> +	source "package/raw2rgbpnm/Config.in"
>  	source "package/ripgrep/Config.in"
>  	source "package/sed/Config.in"
>  	source "package/subversion/Config.in"
> diff --git a/package/raw2rgbpnm/Config.in b/package/raw2rgbpnm/Config.in
> new file mode 100644
> index 000000000000..3d8f36459f4e
> --- /dev/null
> +++ b/package/raw2rgbpnm/Config.in
> @@ -0,0 +1,6 @@
> +config BR2_PACKAGE_RAW2RGBPNM
> +	bool "raw2rgbpnm"
> +	help
> +	  Convert raw bayer images to RGB PNM for easier viewing
> +
> +	  https://gitlab.freedesktop.org/camera/raw2rgbpnm
> diff --git a/package/raw2rgbpnm/raw2rgbpnm.mk b/package/raw2rgbpnm/raw2rgbpnm.mk
> new file mode 100644
> index 000000000000..275fe6f32be3
> --- /dev/null
> +++ b/package/raw2rgbpnm/raw2rgbpnm.mk
> @@ -0,0 +1,16 @@
> +################################################################################
> +#
> +# raw2rgbpnm
> +#
> +################################################################################
> +
> +RAW2RGBPNM_SITE = https://gitlab.freedesktop.org/camera/raw2rgbpnm
> +RAW2RGBPNM_SITE_METHOD = git
> +RAW2RGBPNM_VERSION = master
> +
> +RAW2RGBPNM_LICENSE = GPL-2.0
> +RAW2RGBPNM_LICENSE_FILES = LICENSE
> +
> +RAW2RGBPNM_INSTALL_TARGET = YES
> +
> +$(eval $(meson-package))

-- 
Regards,

Laurent Pinchart
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

       reply	other threads:[~2026-09-16 16:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20260916090705.2796356-1-paul.elder@ideasonboard.com>
2026-09-16 16:43 ` Laurent Pinchart [this message]
2026-09-16 18:34   ` [Buildroot] [PATCH] package/raw2rgbpnm: Add package for raw2rgbpnm Fiona Klute via buildroot
2026-09-16 19:48     ` Laurent Pinchart

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=20260916164355.GA191870@killaraus.ideasonboard.com \
    --to=laurent.pinchart@ideasonboard.com \
    --cc=buildroot@buildroot.org \
    --cc=eric.le.bihan.dev@free.fr \
    --cc=paul.elder@ideasonboard.com \
    --cc=sakari.ailus@iki.fi \
    /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