diff options
author | Tom Wijsman <tomwij@gentoo.org> | 2014-03-05 14:48:06 +0000 |
---|---|---|
committer | Tom Wijsman <tomwij@gentoo.org> | 2014-03-05 14:48:06 +0000 |
commit | 2349464cae3548b86d428fd7b98ff8ed89086aae (patch) | |
tree | cd40f5f5a39410984f57f8ff4ad058d5931cd4ac /mate-base | |
parent | New ebuild for mate-base/mate-panel, the MATE panel; imported from the mate-o... (diff) | |
download | gentoo-2-2349464cae3548b86d428fd7b98ff8ed89086aae.tar.gz gentoo-2-2349464cae3548b86d428fd7b98ff8ed89086aae.tar.bz2 gentoo-2-2349464cae3548b86d428fd7b98ff8ed89086aae.zip |
New ebuild for mate-base/mate-settings-daemon, MATE Settings Daemon; imported from the mate-overlay, reviewed and adjusted.
(Portage version: HEAD/cvs/Linux x86_64, signed Manifest commit with key 6D34E57D)
Diffstat (limited to 'mate-base')
5 files changed, 174 insertions, 0 deletions
diff --git a/mate-base/mate-settings-daemon/ChangeLog b/mate-base/mate-settings-daemon/ChangeLog new file mode 100644 index 000000000000..732717fe4662 --- /dev/null +++ b/mate-base/mate-settings-daemon/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for mate-base/mate-settings-daemon +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/mate-base/mate-settings-daemon/ChangeLog,v 1.1 2014/03/05 14:48:06 tomwij Exp $ + +*mate-settings-daemon-1.6.2 (05 Mar 2014) + + 05 Mar 2014; Tom Wijsman <TomWij@gentoo.org> + +files/mate-settings-daemon-1.2.0-syndaemon-mode.patch, + +files/mate-settings-daemon-1.4.0-netfs-monitor.patch, + +mate-settings-daemon-1.6.2.ebuild, +metadata.xml: + New ebuild for mate-base/mate-settings-daemon, MATE Settings Daemon; imported + from the mate-overlay, reviewed and adjusted. diff --git a/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.2.0-syndaemon-mode.patch b/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.2.0-syndaemon-mode.patch new file mode 100644 index 000000000000..a03571a03d0b --- /dev/null +++ b/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.2.0-syndaemon-mode.patch @@ -0,0 +1,22 @@ +diff -burN a/plugins/mouse/msd-mouse-manager.c b/plugins/mouse/msd-mouse-manager.c +--- a/plugins/mouse/msd-mouse-manager.c 2012-02-28 23:45:55.000000000 +0100 ++++ b/plugins/mouse/msd-mouse-manager.c 2012-08-03 20:22:19.204115652 +0200 +@@ -548,7 +548,7 @@ + + if (state) { + GError *error = NULL; +- char *args[5]; ++ char *args[6]; + + if (manager->priv->syndaemon_spawned) + return 0; +@@ -557,7 +557,8 @@ + args[1] = "-i"; + args[2] = "0.5"; + args[3] = "-k"; +- args[4] = NULL; ++ args[4] = "-R"; ++ args[5] = NULL; + + if (!g_find_program_in_path (args[0])) + return 0; diff --git a/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.4.0-netfs-monitor.patch b/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.4.0-netfs-monitor.patch new file mode 100644 index 000000000000..1890c915459a --- /dev/null +++ b/mate-base/mate-settings-daemon/files/mate-settings-daemon-1.4.0-netfs-monitor.patch @@ -0,0 +1,42 @@ +diff -burN a/plugins/housekeeping/msd-disk-space.c b/plugins/housekeeping/msd-disk-space.c +--- a/plugins/housekeeping/msd-disk-space.c 2012-07-11 03:54:10.000000000 +0200 ++++ b/plugins/housekeeping/msd-disk-space.c 2012-08-07 22:54:59.872216471 +0200 +@@ -309,19 +309,38 @@ + * purpose + */ + ++ /* We also ignore network filesystems */ ++ + const gchar *ignore_fs[] = { ++ "adfs", ++ "afs", + "auto", + "autofs", ++ "autofs4", ++ "cifs", ++ "cxfs", + "devfs", + "devpts", + "ecryptfs", ++ "gfs", ++ "gfs2", + "kernfs", + "linprocfs", ++ "linsysfs", ++ "lustre", ++ "lustre_lite", ++ "ncpfs", ++ "nfs", ++ "nfs4", ++ "nfsd", ++ "ocfs2", + "proc", + "procfs", + "ptyfs", ++ "rpc_pipefs", + "selinuxfs", + "linsysfs", ++ "smbfs", + "sysfs", + "tmpfs", + "usbfs", diff --git a/mate-base/mate-settings-daemon/mate-settings-daemon-1.6.2.ebuild b/mate-base/mate-settings-daemon/mate-settings-daemon-1.6.2.ebuild new file mode 100644 index 000000000000..758876916757 --- /dev/null +++ b/mate-base/mate-settings-daemon/mate-settings-daemon-1.6.2.ebuild @@ -0,0 +1,90 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/mate-base/mate-settings-daemon/mate-settings-daemon-1.6.2.ebuild,v 1.1 2014/03/05 14:48:06 tomwij Exp $ + +EAPI="5" + +GCONF_DEBUG="yes" +GNOME2_LA_PUNT="yes" + +inherit eutils gnome2 versionator + +MATE_BRANCH="$(get_version_component_range 1-2)" + +SRC_URI="http://pub.mate-desktop.org/releases/${MATE_BRANCH}/${P}.tar.xz" +DESCRIPTION="MATE Settings Daemon" +HOMEPAGE="http://mate-desktop.org" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +IUSE="X debug libnotify policykit pulseaudio smartcard" + +RDEPEND=">=dev-libs/dbus-glib-0.74:0 + >=dev-libs/glib-2.17.3:2 + >=mate-base/libmatekbd-1.6.1:0 + >=mate-base/mate-desktop-1.6:0 + media-libs/fontconfig:1.0 + >=gnome-base/dconf-0.13.4:0 + x11-libs/cairo:0 + x11-libs/gdk-pixbuf:2 + >=x11-libs/gtk+-2.24:2 + x11-libs/libX11:0 + x11-libs/libXi:0 + x11-libs/libXext:0 + x11-libs/libXxf86misc:0 + >=x11-libs/libxklavier-5:0 + virtual/libintl:0 + + libnotify? ( >=x11-libs/libnotify-0.7:0 ) + policykit? ( + >=dev-libs/dbus-glib-0.71:0 + >=sys-apps/dbus-1.1.2:0 + >=sys-auth/polkit-0.97:0 + ) + pulseaudio? ( + media-libs/libcanberra:0[gtk] + >=media-sound/pulseaudio-0.9.15:0 + ) + !pulseaudio? ( + >=media-libs/gstreamer-0.10.1.2:0.10 + >=media-libs/gst-plugins-base-0.10.1.2:0.10 + ) + smartcard? ( >=dev-libs/nss-3.11.2:0 )" + +DEPEND="${RDEPEND} + >=dev-util/intltool-0.37.1:0 + sys-devel/gettext:0 + sys-libs/glibc:2.2 + virtual/pkgconfig:0 + x11-proto/inputproto:0 + x11-proto/xproto:0" + +src_prepare() { + # More network filesystems not to monitor, upstream bug #606421 + epatch "${FILESDIR}/${PN}-1.4.0-netfs-monitor.patch" + + # mouse: Use event driven mode for syndaemon + epatch "${FILESDIR}/${PN}-1.2.0-syndaemon-mode.patch" + + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_with libnotify) \ + $(use_enable policykit polkit) \ + $(use_enable pulseaudio pulse) \ + $(use_enable !pulseaudio gstreamer) \ + $(use_enable smartcard smartcard-support) \ + $(use_with X x) + + if use pulseaudio; then + elog "Building volume media keys using Pulseaudio" + else + elog "Building volume media keys using GStreamer" + fi +} + +DOCS="AUTHORS NEWS ChangeLog" diff --git a/mate-base/mate-settings-daemon/metadata.xml b/mate-base/mate-settings-daemon/metadata.xml new file mode 100644 index 000000000000..dca1781cb290 --- /dev/null +++ b/mate-base/mate-settings-daemon/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer> + <email>TomWij@gentoo.org</email> + <name>Tom Wijsman</name> + </maintainer> +</pkgmetadata> |