# -*- 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 name gnome-session version 3.22.1 license LGPL-2+ set branch [join [lrange [split ${version} .] 0 1] .] description Session component for the GNOME 3 desktop. long_description ${description} This package contains the \ commands needed to start GNOME 3.0. maintainers devans openmaintainer categories gnome platforms darwin homepage https://wiki.gnome.org/Projects/SessionManagement/ master_sites gnome:sources/${name}/${branch}/ use_xz yes checksums rmd160 6ae6a9dd8109f309012a97c3d0945f5a49eea335 \ sha256 a09f7ee1706d85bb2b66f9a1f7082f737d072b44805e13f6c9f14538616373a5 depends_build port:pkgconfig \ port:intltool \ port:libxslt \ port:gnome-common \ port:autoconf \ port:automake \ port:libtool depends_lib port:desktop-file-utils \ port:gnome-desktop \ port:metacity \ port:gtk3 \ port:dbus-glib \ port:json-glib \ port:xorg-libX11 \ port:xorg-libsm \ port:xorg-libice \ port:xorg-libXext \ port:xorg-libXau \ port:xorg-libXtst \ port:xorg-libXcomposite \ port:xrender \ port:xorg-xtrans \ port:mesa depends_run port:gnome-themes-standard patchfiles patch-configure.ac.diff \ patch-tools-Makefile.am.diff \ patch-gnome-session-main.c.diff \ patch-gnome-session-check-accelerated-gl-helper.c.diff \ patch-header-guard-typo.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.cflags-append \ -Wno-format-nonliteral configure.args --x-includes=${prefix}/include \ --x-libraries=${prefix}/lib \ --disable-gconf \ --disable-systemd \ --disable-docbook-docs \ --disable-schemas-compile \ --disable-silent-rules variant gconf description {Enable gconf start-up} { depends_lib-append port:gconf configure.args-replace --disable-gconf --enable-gconf patchfiles-delete patch-configure.ac.diff } post-activate { system "${prefix}/bin/update-desktop-database ${prefix}/share/applications" 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