All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH v2] package/raw2rgbpnm: Add package for raw2rgbpnm
@ 2026-09-30  2:23 Paul Elder
  2026-10-18 20:34 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Paul Elder @ 2026-09-30  2:23 UTC (permalink / raw)
  To: buildroot; +Cc: laurent.pinchart, sakari.ailus, Paul Elder, Eric Le Bihan

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 it likely has more resources for maintenance and
availability.

As the build is simple and has no dependencies nor releases, use the
commit ID of the head of master branch at the moment.

Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>

---
Changes in v2:
- fix formatting
- use commit id instead of branch
- add hash

This patch is based on 2026.08.
---
 package/Config.in                  |  1 +
 package/raw2rgbpnm/Config.in       |  6 ++++++
 package/raw2rgbpnm/raw2rgbpnm.hash |  5 +++++
 package/raw2rgbpnm/raw2rgbpnm.mk   | 14 ++++++++++++++
 4 files changed, 26 insertions(+)
 create mode 100644 package/raw2rgbpnm/Config.in
 create mode 100644 package/raw2rgbpnm/raw2rgbpnm.hash
 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.hash b/package/raw2rgbpnm/raw2rgbpnm.hash
new file mode 100644
index 000000000000..5ac2c4fbf5e6
--- /dev/null
+++ b/package/raw2rgbpnm/raw2rgbpnm.hash
@@ -0,0 +1,5 @@
+# Locally computed
+sha256  3d0df8cca5f3e1fd45c9f1e76344413ea58a753d93b9764272dad0498a482cfb  raw2rgbpnm-f28b903ca63b4c221dc011df5edf1d51eea533d7-git4.tar.gz
+
+# license files
+sha256  8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  LICENSE
diff --git a/package/raw2rgbpnm/raw2rgbpnm.mk b/package/raw2rgbpnm/raw2rgbpnm.mk
new file mode 100644
index 000000000000..fc6d9064a0fc
--- /dev/null
+++ b/package/raw2rgbpnm/raw2rgbpnm.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# raw2rgbpnm
+#
+################################################################################
+
+RAW2RGBPNM_SITE = https://gitlab.freedesktop.org/camera/raw2rgbpnm
+RAW2RGBPNM_SITE_METHOD = git
+RAW2RGBPNM_VERSION = f28b903ca63b4c221dc011df5edf1d51eea533d7
+
+RAW2RGBPNM_LICENSE = GPL-2.0-only
+RAW2RGBPNM_LICENSE_FILES = LICENSE
+
+$(eval $(meson-package))
-- 
2.47.3

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

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

* Re: [Buildroot] [PATCH v2] package/raw2rgbpnm: Add package for raw2rgbpnm
  2026-09-30  2:23 [Buildroot] [PATCH v2] package/raw2rgbpnm: Add package for raw2rgbpnm Paul Elder
@ 2026-10-18 20:34 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-10-18 20:34 UTC (permalink / raw)
  To: Paul Elder; +Cc: buildroot, laurent.pinchart, sakari.ailus, Eric Le Bihan

On Wed, Sep 30, 2026 at 11:23:03AM +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 it likely has more resources for maintenance and
> availability.
> 
> As the build is simple and has no dependencies nor releases, use the
> commit ID of the head of master branch at the moment.
> 
> Signed-off-by: Paul Elder <paul.elder@ideasonboard.com>

You had forgotten to add an entry to the DEVELOPERS file, so I've
added that and applied your patch. Thanks a lot!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2026-10-18 20:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-30  2:23 [Buildroot] [PATCH v2] package/raw2rgbpnm: Add package for raw2rgbpnm Paul Elder
2026-10-18 20:34 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.