Add x11/read-edid 3.0.2
This package will try to read the monitor details directly from the monitor. The program get-edid asks a VBE BIOS for the EDID data. The program parse-edid parses the data and prints out a human readable summary. Please see http://www.polypux.org/projects/read-edid/ for more detailed information
This commit is contained in:
parent
bc19374418
commit
e038b101e4
|
@ -1,4 +1,4 @@
|
|||
$NetBSD: CHANGES-2023,v 1.2355 2023/04/21 21:10:46 pin Exp $
|
||||
$NetBSD: CHANGES-2023,v 1.2356 2023/04/22 00:58:04 manu Exp $
|
||||
|
||||
Changes to the packages collection and infrastructure in 2023:
|
||||
|
||||
|
@ -3380,7 +3380,7 @@ Changes to the packages collection and infrastructure in 2023:
|
|||
Added misc/chatgpt-shell-cli version 0.0.20230420 [schmonz 2023-04-20]
|
||||
Added databases/openldap-autogroup 2.6.4 [manu 2023-04-21]
|
||||
Added mail/openarc 20180921 [manu 2023-04-21]
|
||||
Added net/nagios-plugin-mqueue [manu 2023-04-21]
|
||||
Added net/nagios-plugin-mqueue 0.1 [manu 2023-04-21]
|
||||
Updated misc/xfce4-calculator-plugin to 0.7.2 [gutteridge 2023-04-21]
|
||||
Updated www/ap2-auth-mellon to 0.18.1 [manu 2023-04-21]
|
||||
Added graphics/gmic-qt-digikam version 3.2.2.20230417 [wiz 2023-04-21]
|
||||
|
@ -3392,3 +3392,4 @@ Changes to the packages collection and infrastructure in 2023:
|
|||
Updated audio/libopenmpt to 0.6.10 [fcambus 2023-04-21]
|
||||
Updated net/dhcpcd to 10.0.1 [roy 2023-04-21]
|
||||
Updated wm/marswm to 0.4.1 [pin 2023-04-21]
|
||||
Added x11/read-edid 3.0.2 [manu 2023-04-22]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile,v 1.981 2023/04/13 05:31:20 wiz Exp $
|
||||
# $NetBSD: Makefile,v 1.982 2023/04/22 00:58:05 manu Exp $
|
||||
#
|
||||
|
||||
COMMENT= Packages to support the X Window System
|
||||
|
@ -408,6 +408,7 @@ SUBDIR+= qwt6-qt4
|
|||
SUBDIR+= qwt6-qt5
|
||||
SUBDIR+= qwtplot3d-qt4
|
||||
SUBDIR+= ratmen
|
||||
SUBDIR+= read-edid
|
||||
SUBDIR+= redshift
|
||||
SUBDIR+= rendercheck
|
||||
SUBDIR+= rep-gtk2
|
||||
|
|
|
@ -0,0 +1,10 @@
|
|||
$NetBSD: DESCR,v 1.1 2023/04/22 00:58:05 manu Exp $
|
||||
|
||||
This package will try to read the monitor details directly from the
|
||||
monitor. The program get-edid asks a VBE BIOS for the EDID data. The
|
||||
program parse-edid parses the data and prints out a human readable
|
||||
summary.
|
||||
|
||||
Please see
|
||||
http://www.polypux.org/projects/read-edid/
|
||||
for more detailed information
|
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: Makefile,v 1.1 2023/04/22 00:58:05 manu Exp $
|
||||
|
||||
DISTNAME= read-edid-3.0.2
|
||||
CATEGORIES= x11
|
||||
MASTER_SITES= http://www.polypux.org/projects/read-edid/
|
||||
|
||||
MAINTAINER= pkgsrc-users@NetBSD.org
|
||||
HOMEPAGE= http://www.polypux.org/projects/read-edid/
|
||||
COMMENT= Read EDID from monitor
|
||||
LICENSE= 2-clause-bsd
|
||||
|
||||
USE_LANGUAGES+= c c++
|
||||
USE_CMAKE= yes
|
||||
CMAKE_ARGS+= -DCLASSICBUILD=OFF
|
||||
CMAKE_ARGS+= -DCMAKE_INSTALL_MANDIR=${PREFIX}${PKGMANDIR}
|
||||
CONFIGURE_ENV+= X86_LIBRARY=/usr/lib/libx86_64.so
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
|
@ -0,0 +1,8 @@
|
|||
@comment $NetBSD: PLIST,v 1.1 2023/04/22 00:58:05 manu Exp $
|
||||
bin/get-edid
|
||||
bin/parse-edid
|
||||
man/man1/get-edid.1
|
||||
share/doc/read-edid/AUTHORS
|
||||
share/doc/read-edid/COPYING
|
||||
share/doc/read-edid/ChangeLog
|
||||
share/doc/read-edid/README
|
|
@ -0,0 +1,8 @@
|
|||
$NetBSD: distinfo,v 1.1 2023/04/22 00:58:05 manu Exp $
|
||||
|
||||
BLAKE2s (read-edid-3.0.2.tar.gz) = fa3a2f21ffc61f5010e89b4c5fca18b5ce70eb2617bc4ea0e1406d630c5b1639
|
||||
SHA512 (read-edid-3.0.2.tar.gz) = 779ebe7f1ffb6e7952762b5f886e07974f2c0fe5fa9be0722b928559466b56aae450f741817bb91bb2e33ca66ab27af39cea3c7af220c99b85dae81734138aac
|
||||
Size (read-edid-3.0.2.tar.gz) = 17508 bytes
|
||||
SHA1 (patch-CMakeLists.txt) = 555d9632a8d141f11fefc631b19214d727cafa93
|
||||
SHA1 (patch-COPYING) = 78b60159b3adf52e00648eb4fce2ee75e58b7657
|
||||
SHA1 (patch-get-edid_i2c-dev.h) = f68bd35668dfe39ea03e63ab8f84cec367e20e58
|
|
@ -0,0 +1,15 @@
|
|||
$NetBSD: patch-CMakeLists.txt,v 1.1 2023/04/22 00:58:05 manu Exp $
|
||||
|
||||
Honour pkgsrc's preference for man pages.
|
||||
|
||||
--- CMakeLists.txt.orig 2023-04-21 17:03:00.031601128 +0200
|
||||
+++ CMakeLists.txt 2023-04-21 17:12:20.303501208 +0200
|
||||
@@ -11,7 +11,7 @@
|
||||
add_subdirectory (get-edid)
|
||||
endif ()
|
||||
add_subdirectory (parse-edid)
|
||||
|
||||
-INSTALL(FILES get-edid.1 DESTINATION share/man/man1)
|
||||
+INSTALL(FILES get-edid.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
||||
INSTALL(FILES AUTHORS ChangeLog COPYING README DESTINATION
|
||||
share/doc/read-edid)
|
|
@ -0,0 +1,8 @@
|
|||
$NetBSD: patch-COPYING,v 1.1 2023/04/22 00:58:05 manu Exp $
|
||||
|
||||
cmake wants a COPYING file, give it one
|
||||
|
||||
--- COPYING.orig 2022-04-13 17:05:12.791212716 +0200
|
||||
+++ COPYING 2022-04-13 17:05:02.802756303 +0200
|
||||
@@ -0,0 +1 @@
|
||||
+Placeholder to please cmake
|
|
@ -0,0 +1,26 @@
|
|||
$NetBSD: patch-get-edid_i2c-dev.h,v 1.1 2023/04/22 00:58:05 manu Exp $
|
||||
|
||||
Define Linux-centric types for other systems
|
||||
|
||||
--- get-edid/i2c-dev.h.orig 2022-04-13 17:08:35.570045956 +0200
|
||||
+++ get-edid/i2c-dev.h 2022-04-13 17:09:03.120904790 +0200
|
||||
@@ -24,9 +24,19 @@
|
||||
|
||||
#ifndef LIB_I2CDEV_H
|
||||
#define LIB_I2CDEV_H
|
||||
|
||||
+#ifdef linux
|
||||
#include <linux/types.h>
|
||||
+#else
|
||||
+#include <sys/types.h>
|
||||
+typedef uint32_t __u32;
|
||||
+typedef uint16_t __u16;
|
||||
+typedef uint8_t __u8;
|
||||
+typedef int32_t __s32;
|
||||
+typedef int16_t __s16;
|
||||
+typedef int8_t __s8;
|
||||
+#endif
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
|
||||
/* -- i2c.h -- */
|
Loading…
Reference in New Issue