parent
dfa1da5bb0
commit
a6bc9fe4cf
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'DisplayCAL'
|
||||
pkgname=DisplayCAL
|
||||
version=3.9.11
|
||||
revision=1
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3"
|
||||
makedepends="python3-devel libXxf86vm-devel libXinerama-devel libXrandr-devel"
|
||||
depends="python3-dbus python3-numpy python3-distro python3-send2trash wxPython
|
||||
argyllcms"
|
||||
short_desc="Display Calibration and Characterization"
|
||||
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://github.com/eoyilmaz/displaycal-py3"
|
||||
distfiles="https://github.com/eoyilmaz/displaycal-py3/archive/refs/tags/${version}.tar.gz"
|
||||
checksum=7769d19551c228d797fd98cb2469730cee84ff27bd0bf5d0463e191753921a5e
|
||||
|
||||
pre_configure() {
|
||||
vsed -i misc/displaycal-vrml-to-x3d-converter.desktop \
|
||||
-e 's|MimeType=model/vrml;x-world/x-vrml;|MimeType=model/vrml;|'
|
||||
}
|
||||
|
||||
dispcalGUI_package() {
|
||||
build_style=meta
|
||||
short_desc+=" (transitional dummy package)"
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
DisplayCAL
|
|
@ -1,33 +0,0 @@
|
|||
Reason: error(3) does not exist on musl, and on glibc the signature
|
||||
is (int, int, char*, ...) and not (char*, ...).
|
||||
Therefore the current code either results in garbled output or
|
||||
doesn't work at all. Replace it with a simple printf.
|
||||
|
||||
---
|
||||
--- a/DisplayCAL/RealDisplaySizeMM.c 2018-07-25 16:47:01.000000000 +0200
|
||||
+++ b/DisplayCAL/RealDisplaySizeMM.c 2018-07-25 16:47:01.000000000 +0200
|
||||
@@ -822,13 +822,13 @@
|
||||
sprintf(desc1, "_ICC_PROFILE_%d",disps[ndisps]->uscreen);
|
||||
|
||||
if ((disps[ndisps]->icc_atom = XInternAtom(mydisplay, desc1, False)) == None)
|
||||
- error("Unable to intern atom '%s'",desc1);
|
||||
+ fprintf(stderr, "Unable to intern atom '%s'",desc1);
|
||||
|
||||
debugrr2((errout,"Root atom '%s'\n",desc1));
|
||||
|
||||
/* Create the atom of the output that may contain the associated ICC profile */
|
||||
if ((disps[ndisps]->icc_out_atom = XInternAtom(mydisplay, "_ICC_PROFILE", False)) == None)
|
||||
- error("Unable to intern atom '%s'","_ICC_PROFILE");
|
||||
+ fprintf(stderr, "Unable to intern atom '%s'","_ICC_PROFILE");
|
||||
|
||||
/* Grab the EDID from the output */
|
||||
{
|
||||
@@ -993,7 +993,7 @@
|
||||
sprintf(desc1, "_ICC_PROFILE_%d",disps[i]->uscreen);
|
||||
|
||||
if ((disps[i]->icc_atom = XInternAtom(mydisplay, desc1, False)) == None)
|
||||
- error("Unable to intern atom '%s'",desc1);
|
||||
+ fprintf(stderr, "Unable to intern atom '%s'",desc1);
|
||||
|
||||
/* See if we can locate the EDID of the monitor for this screen */
|
||||
for (j = 0; j < 2; j++) {
|
|
@ -1,25 +0,0 @@
|
|||
# Template file for 'dispcalGUI'
|
||||
pkgname=dispcalGUI
|
||||
version=3.8.9.3
|
||||
revision=5
|
||||
_name="DisplayCAL"
|
||||
build_style=python2-module
|
||||
hostmakedepends="python"
|
||||
makedepends="python-devel libXxf86vm-devel libXinerama-devel libXrandr-devel"
|
||||
depends="python-dbus python-numpy wxPython argyllcms"
|
||||
short_desc="Display Calibration and Characterization"
|
||||
maintainer="lemmi <lemmi@nerd2nerd.org>"
|
||||
license="GPL-3.0-or-later"
|
||||
homepage="https://displaycal.net/"
|
||||
changelog="https://displaycal.net/CHANGES.html"
|
||||
distfiles="${SOURCEFORGE_SITE}/dispcalgui/${_name}-${version}.tar.gz"
|
||||
checksum=7c34dfbd9f66f24f1d4c88de4a5a0de688aad719f095874b6259637d30893bea
|
||||
|
||||
pre_configure() {
|
||||
sed -i 's|MimeType=model/vrml;x-world/x-vrml;|MimeType=model/vrml;|' misc/displaycal-vrml-to-x3d-converter.desktop
|
||||
}
|
||||
|
||||
post_install() {
|
||||
find ${DESTDIR}/usr/ -exec chmod a+r \{\} +
|
||||
find ${DESTDIR}/usr/ -type d -exec chmod a+x \{\} +
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
pkgname="${_name}"
|
Loading…
Reference in New Issue