# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 # $Id$ PortSystem 1.0 PortGroup active_variants 1.1 name gnome-settings-daemon version 3.22.1 license GPL-2 LGPL-2.1 set branch [join [lrange [split ${version} .] 0 1] .] description Gnome 3 settings daemon. long_description ${description} maintainers devans openmaintainer categories gnome platforms darwin homepage http://www.gnome.org/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 f63ebb5b0ec6cbd880ef2f3cf87330bb985ec275 \ sha256 b57d97cdd992263baffa78ccecbbf9f5a9771dd994f19687353d6eec4fd636ba depends_build port:pkgconfig \ port:intltool \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool \ port:docbook-xsl \ port:docbook-xml depends_lib port:gtk3 \ port:gsettings-desktop-schemas \ port:gnome-desktop \ port:lcms2 \ port:libnotify \ port:fontconfig \ port:geocode-glib \ port:geoclue2 \ port:libcanberra \ port:libgweather \ port:policykit \ port:pulseaudio \ port:upower \ port:xorg-kbproto \ port:xorg-libXi \ port:xorg-libXtst \ port:xorg-libXfixes \ port:xorg-libXrandr \ port:xorg-libxkbfile # uses x11 specific gdk api so gtk3 +x11 is required # Without libcanberra +x11 gnome-settings-daemon will fail to find the libcanberra-gtk3 package, aborting configure require_active_variants port:gtk3 x11 require_active_variants port:libcanberra x11 # # the following plugins are disabled by patch # # color (requires colord) # power (requires X server support for Xtst extension and segfaults when it doesn't find it) # sharing # xrandr (works but tries to take over control of display causing problems with Mac OS X) # pre-patch { copy ${worksrcpath}/plugins/Makefile.am ${worksrcpath}/plugins/Makefile.am.orig } patchfiles patch-plugins.diff # reconfigure using upstream autogen.sh for intltool 0.51 compatibility post-patch { xinstall -m 755 ${filespath}/autogen.sh ${worksrcpath} } configure.cmd ./autogen.sh configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --enable-compile-warnings=minimum \ --disable-gudev \ --disable-network-manager \ --disable-smartcard-support \ --disable-rfkill \ --disable-maintainer-mode \ --disable-silent-rules platform darwin { if {${os.major} < 10} { configure.args-append --disable-cups } } post-activate { system "${prefix}/bin/gtk-update-icon-cache-3.0 -f -t ${prefix}/share/icons/hicolor" system "${prefix}/bin/glib-compile-schemas ${prefix}/share/glib-2.0/schemas" } livecheck.type gnome