diff options
author | B. Watson <yalhcru@gmail.com> | 2019-01-08 14:50:16 -0500 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-01-12 06:58:40 +0700 |
commit | 79693f9c765b40bf855aca2793a3250f80fe5bd5 (patch) | |
tree | 1c12f90cc4bcd9fa613fa0c3e6764f3c21958321 /system/read-edid | |
parent | a176a798f2101ea4ffa76b2bc9f6a43e10e34639 (diff) | |
download | slackbuilds-79693f9c765b40bf855aca2793a3250f80fe5bd5.tar.gz |
system/read-edid: Update README, slack-desc.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'system/read-edid')
-rw-r--r-- | system/read-edid/README | 21 | ||||
-rw-r--r-- | system/read-edid/read-edid.SlackBuild | 13 | ||||
-rw-r--r-- | system/read-edid/slack-desc | 6 |
3 files changed, 25 insertions, 15 deletions
diff --git a/system/read-edid/README b/system/read-edid/README index ef545fed3c..d0b7063947 100644 --- a/system/read-edid/README +++ b/system/read-edid/README @@ -1,9 +1,16 @@ read-edid (read EDID information from a video monitor) -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. +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 some newer ones with 256-byte EDIDs - 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 xorg.conf-compatible Monitor section. + +Modern Linux kernels also make the EDID data available in +/sys/class/drm/card*-*/edid, so the get-edid command might not be needed. + +See also system/edid-decode, which gives more detail than parse-edid, +but doesn't format its output as an xorg.conf-compatible snippet. diff --git a/system/read-edid/read-edid.SlackBuild b/system/read-edid/read-edid.SlackBuild index 8bdce0feb6..0d8369e95f 100644 --- a/system/read-edid/read-edid.SlackBuild +++ b/system/read-edid/read-edid.SlackBuild @@ -6,6 +6,12 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20190108 bkw: +# - update README: mention the /sys/class/drm stuff and edid-decode. +# - fix README and slack-desc formatting. +# - update find|chmod to my personal template. +# - no need to bump BUILD, no package changes. + # 20150505 bkw: update for v3.0.2 (COPYING => LICENSE too) PRGNAM=read-edid @@ -49,11 +55,8 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ mkdir -p build cd build diff --git a/system/read-edid/slack-desc b/system/read-edid/slack-desc index b34193bfb9..31eb8ce0ed 100644 --- a/system/read-edid/slack-desc +++ b/system/read-edid/slack-desc @@ -10,10 +10,10 @@ read-edid: read-edid (read EDID information from a video monitor) read-edid: read-edid: read-edid is a pair of tools (originally by John Fremlin) for read-edid: reading the EDID from a monitor. It should work with most monitors -read-edid: made since 1996 (except for newer ones with 256-byte EDID's - WiP), +read-edid: made since 1996 (except some newer ones with 256-byte EDIDs - WiP), read-edid: assuming the video card supports the standard read commands (most -read-edid: do).read-edid is a set of two tools - get-edid, which gets the raw +read-edid: do). read-edid is a set of two tools: get-edid, which gets the raw read-edid: edid information from the monitor, and parse-edid, which turns the -read-edid: raw binary information into an XF86Config-compatible monitor section. +read-edid: raw binary information into an xorg.conf-compatible Monitor section. read-edid: read-edid: |