diff --git a/x11/misc/colord/actions.py b/x11/misc/colord/actions.py index 5690682e4d..4baefb0416 100644 --- a/x11/misc/colord/actions.py +++ b/x11/misc/colord/actions.py @@ -7,26 +7,29 @@ from pisi.actionsapi import autotools from pisi.actionsapi import get from pisi.actionsapi import pisitools +from pisi.actionsapi import shelltools def setup(): - autotools.configure("--enable-print-profiles \ - --disable-examples \ - --disable-static \ - --disable-rpath \ - --disable-silent-rules \ - --enable-polkit \ - --enable-systemd-login=no \ - --with-daemon-user=colord \ - --with-systemdsystemunitdir=no \ - --enable-introspection \ - --enable-vala ") - - pisitools.dosed("libtool", " -shared ", " -Wl,-O1,--as-needed -shared ") + shelltools.makedirs("build") + shelltools.cd("build") + shelltools.system("meson .. --prefix=/usr \ + --sysconfdir=/etc \ + -Dwith-daemon-user=colord \ + -Denable-systemd=false \ + -Denable-docs=false \ + -Denable-man=false") + def build(): - autotools.make() + shelltools.cd("build") + shelltools.system("ninja") def install(): - autotools.rawInstall("DESTDIR=%s" % get.installDIR()) + shelltools.cd("build") + shelltools.system("DESTDIR=%s ninja install" % get.installDIR()) + + pisitools.insinto("/etc/dbus-1/system.d/","%s/usr/share/dbus-1/system.d/org.freedesktop.ColorManager.conf" % get.installDIR()) + pisitools.removeDir("/usr/share/dbus-1/system.d") - pisitools.dodoc("AUTHORS", "ChangeLog", "COPYING", "TODO", "README.md") + shelltools.cd("..") + pisitools.dodoc("AUTHORS", "MAINTAINERS", "COPYING", "RELEASE", "NEWS", "README.md") diff --git a/x11/misc/colord/pspec.xml b/x11/misc/colord/pspec.xml index aacde5b74f..a7dd254b45 100755 --- a/x11/misc/colord/pspec.xml +++ b/x11/misc/colord/pspec.xml @@ -12,8 +12,10 @@ library Colord is a system activated daemon that maps devices to color profiles Colord is a system activated daemon that maps devices to color profiles. It is used by GNOME Color Manager for system integration and use when there are no users logged in. - https://www.freedesktop.org/software/colord/releases/colord-1.3.4.tar.xz + https://www.freedesktop.org/software/colord/releases/colord-1.4.1.tar.xz + meson + valgrind intltool argyllcms vala-devel @@ -36,6 +38,9 @@ polkit-devel gobject-introspection-devel + + 0001-Make-cd_color_get_blackbody_rgb_full-safer.patch + @@ -102,6 +107,13 @@ + + 2018-03-02 + 1.4.1 + Version bump. + Mustafa Cinasal + muscnsl@gmail.com + 2017-02-16 1.3.4