diff mbox

Add the package read-edid which provides a pair of utilities to read and parse the video monitor information block (EDID).

Message ID 1336269918-24339-1-git-send-email-golubovsky@gmail.com
State Accepted, archived
Headers show

Commit Message

Dimitry Golubovsky May 6, 2012, 2:05 a.m. UTC
Signed-off-by: Dmitry <golubovsky@gmail.com>

---
 package/Config.in              |    1 +
 package/read-edid/Config.in    |   16 ++++++++++++++++
 package/read-edid/read-edid.mk |   20 ++++++++++++++++++++
 3 files changed, 37 insertions(+), 0 deletions(-)
 create mode 100644 package/read-edid/Config.in
 create mode 100644 package/read-edid/read-edid.mk

Comments

Peter Korsgaard May 6, 2012, 8 a.m. UTC | #1
>>>>> "Dmitry" == Dmitry  <golubovsky@gmail.com> writes:

 Dmitry> Signed-off-by: Dmitry <golubovsky@gmail.com>
 Dmitry> ---
 Dmitry>  package/Config.in              |    1 +
 Dmitry>  package/read-edid/Config.in    |   16 ++++++++++++++++
 Dmitry>  package/read-edid/read-edid.mk |   20 ++++++++++++++++++++
 Dmitry>  3 files changed, 37 insertions(+), 0 deletions(-)
 Dmitry>  create mode 100644 package/read-edid/Config.in
 Dmitry>  create mode 100644 package/read-edid/read-edid.mk

 Dmitry> diff --git a/package/Config.in b/package/Config.in
 Dmitry> index 6caca9d..94d0fb4 100644
 Dmitry> --- a/package/Config.in
 Dmitry> +++ b/package/Config.in
 Dmitry> @@ -211,6 +211,7 @@ source "package/openocd/Config.in"
 Dmitry>  source "package/parted/Config.in"
 Dmitry>  source "package/pciutils/Config.in"
 Dmitry>  source "package/picocom/Config.in"
 Dmitry> +source "package/read-edid/Config.in"
 Dmitry>  source "package/rng-tools/Config.in"
 Dmitry>  source "package/sane-backends/Config.in"
 Dmitry>  source "package/sdparm/Config.in"
 Dmitry> diff --git a/package/read-edid/Config.in b/package/read-edid/Config.in
 Dmitry> new file mode 100644
 Dmitry> index 0000000..465a062
 Dmitry> --- /dev/null
 Dmitry> +++ b/package/read-edid/Config.in
 Dmitry> @@ -0,0 +1,16 @@
 Dmitry> +config BR2_PACKAGE_READ_EDID
 Dmitry> +	bool "read-edid"
 Dmitry> +	depends on (BR2_i386)
 Dmitry> +	help
 Dmitry> +	  Read-edid is  a pair of tools  (originally by John Fremlin)  for reading
 Dmitry> +	  the EDID from  a monitor.  It should  work with most monitors made since
 Dmitry> +	  1996  (except for newer ones with  256-byte EDID's - WiP),  assuming the
 Dmitry> +	  video card  supports  the standard  read commands (most do).   Read-edid
 Dmitry> +	  is a set of two tools  -  get-edid, which gets  the raw edid information 
 Dmitry> +	  from the monitor, and parse-edid, which turns the raw binary information
 Dmitry> +	  into an XF86Config-compatible monitor section.
 Dmitry> +
 Dmitry> +	  http://polypux.org/projects/read-edid/
 Dmitry> +
 Dmitry> +
 Dmitry> +

I've fixed up these whitespace issues and committed, thanks.
diff mbox

Patch

diff --git a/package/Config.in b/package/Config.in
index 6caca9d..94d0fb4 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -211,6 +211,7 @@  source "package/openocd/Config.in"
 source "package/parted/Config.in"
 source "package/pciutils/Config.in"
 source "package/picocom/Config.in"
+source "package/read-edid/Config.in"
 source "package/rng-tools/Config.in"
 source "package/sane-backends/Config.in"
 source "package/sdparm/Config.in"
diff --git a/package/read-edid/Config.in b/package/read-edid/Config.in
new file mode 100644
index 0000000..465a062
--- /dev/null
+++ b/package/read-edid/Config.in
@@ -0,0 +1,16 @@ 
+config BR2_PACKAGE_READ_EDID
+	bool "read-edid"
+	depends on (BR2_i386)
+	help
+	  Read-edid is  a pair of tools  (originally by John Fremlin)  for reading
+	  the EDID from  a monitor.  It should  work with most monitors made since
+	  1996  (except for newer ones with  256-byte EDID's - WiP),  assuming the
+	  video card  supports  the standard  read commands (most do).   Read-edid
+	  is a set of two tools  -  get-edid, which gets  the raw edid information 
+	  from the monitor, and parse-edid, which turns the raw binary information
+	  into an XF86Config-compatible monitor section.
+
+	  http://polypux.org/projects/read-edid/
+
+
+
diff --git a/package/read-edid/read-edid.mk b/package/read-edid/read-edid.mk
new file mode 100644
index 0000000..6328def
--- /dev/null
+++ b/package/read-edid/read-edid.mk
@@ -0,0 +1,20 @@ 
+############################################
+#
+# read-edid
+# 
+############################################
+
+READ_EDID_VERSION = 1.4.2
+READ_EDID_SITE = http://www.polypux.org/projects/read-edid/
+
+define READ_EDID_BUILD_CMDS
+	$(MAKE) $(TARGET_CONFIGURE_OPTS) -C $(@D)
+endef
+
+define READ_EDID_INSTALL_TARGET_CMDS
+	$(INSTALL) -D -m 0755 $(@D)/get-edid $(TARGET_DIR)/sbin/get-edid
+	$(INSTALL) -D -m 0755 $(@D)/parse-edid $(TARGET_DIR)/sbin/parse-edid
+endef
+
+$(eval $(call AUTOTARGETS))
+