diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2018-09-10 10:57:03 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2018-09-10 10:57:03 +0200 |
commit | 612e1dd99776372d616eea30b5ca151dad4792ea (patch) | |
tree | 44fe3b5e146eaac2cec6e6db4c5e7a2e488507b4 /gnome-base/gnome-settings-daemon/files | |
parent | gnome-base/gnome-settings-daemon: sync ebuild comment (diff) | |
download | gnome-612e1dd99776372d616eea30b5ca151dad4792ea.tar.gz gnome-612e1dd99776372d616eea30b5ca151dad4792ea.tar.bz2 gnome-612e1dd99776372d616eea30b5ca151dad4792ea.zip |
gnome-base/gnome-settings-daemon: synchronize live ebuild
Package-Manager: Portage-2.3.49, Repoman-2.3.10
Manifest-Sign-Key: 0x5A56C8CD0C13248A
Diffstat (limited to 'gnome-base/gnome-settings-daemon/files')
2 files changed, 0 insertions, 142 deletions
diff --git a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.16.0-optional.patch b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.16.0-optional.patch deleted file mode 100644 index 46d97392..00000000 --- a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.16.0-optional.patch +++ /dev/null @@ -1,95 +0,0 @@ -From 8b526c757f0e977eeda9285762e137deba0a31f4 Mon Sep 17 00:00:00 2001 -From: Ole Reifschneider <mail@ole-reifschneider.de> -Date: Sat, 11 Apr 2015 23:10:21 +0200 -Subject: [PATCH] Make colord and wacom support optional - ---- - configure.ac | 35 +++++++++++++++++++++++++++++------ - plugins/Makefile.am | 7 ++++++- - 2 files changed, 35 insertions(+), 7 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 50a6bb1..a42ec20 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -236,7 +236,20 @@ dnl --------------------------------------------------------------------------- - dnl - color - dnl --------------------------------------------------------------------------- - --PKG_CHECK_MODULES(COLOR, [colord >= 1.0.2 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION libcanberra-gtk3]) -+AC_ARG_ENABLE([color], -+ AS_HELP_STRING([--disable-color], -+ [turn off color plugin]), -+ [with_color=$enableval], -+ [with_color=yes]) dnl Default value -+ -+if test x$with_color = xyes; then -+ PKG_CHECK_MODULES(COLOR, [colord >= 1.0.2 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION libcanberra-gtk3]) -+ AC_DEFINE(HAVE_COLOR, 1, [Define if color plugin is enabled]) -+fi -+AM_CONDITIONAL(WITH_COLOR, test "x$with_color" = "xyes") -+ -+AC_SUBST(COLOR_CFLAGS) -+AC_SUBST(COLOR_LIBS) - - dnl --------------------------------------------------------------------------- - dnl - datetime -@@ -267,15 +280,25 @@ case $host_os in - if test "$host_cpu" = s390 -o "$host_cpu" = s390x; then - have_wacom=no - else -+ have_wacom=no - if test x$enable_gudev != xno; then -- PKG_CHECK_MODULES(LIBWACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION]) -- PKG_CHECK_MODULES(WACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION x11 xi xtst gudev-1.0 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION xorg-wacom librsvg-2.0 >= $LIBRSVG_REQUIRED_VERSION libnotify >= $LIBNOTIFY_REQUIRED_VERSION pango >= $PANGO_REQUIRED_VERSION]) -- PKG_CHECK_MODULES(WACOM_OLED, [gudev-1.0]) -+ AC_ARG_ENABLE([wacom], -+ AS_HELP_STRING([--disable-wacom], -+ [turn off wacom plugin]), -+ [with_wacom=$enableval], -+ [with_wacom=no]) dnl Default value -+ if test x$with_wacom = xyes; then -+ PKG_CHECK_MODULES(LIBWACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION]) -+ PKG_CHECK_MODULES(WACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION x11 xi xtst gudev-1.0 gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION xorg-wacom librsvg-2.0 >= $LIBRSVG_REQUIRED_VERSION libnotify >= $LIBNOTIFY_REQUIRED_VERSION pango >= $PANGO_REQUIRED_VERSION]) -+ PKG_CHECK_MODULES(WACOM_OLED, [gudev-1.0]) -+ have_wacom=yes -+ AC_DEFINE_UNQUOTED(HAVE_WACOM, 1, [Define to 1 if wacom support is available]) -+ fi -+ AC_SUBST(WACOM_CFLAGS) -+ AC_SUBST(WACOM_LIBS) - else - AC_MSG_ERROR([GUdev is necessary to compile Wacom support]) - fi -- AC_DEFINE_UNQUOTED(HAVE_WACOM, 1, [Define to 1 if wacom support is available]) -- have_wacom=yes - fi - ;; - *) -diff --git a/plugins/Makefile.am b/plugins/Makefile.am -index 7365953..779b5d9 100644 ---- a/plugins/Makefile.am -+++ b/plugins/Makefile.am -@@ -4,7 +4,6 @@ enabled_plugins = \ - a11y-keyboard \ - a11y-settings \ - clipboard \ -- color \ - datetime \ - dummy \ - power \ -@@ -21,6 +20,12 @@ enabled_plugins = \ - - disabled_plugins = $(NULL) - -+if WITH_COLOR -+enabled_plugins += color -+else -+disabled_plugins += color -+endif -+ - if SMARTCARD_SUPPORT - enabled_plugins += smartcard - else --- -2.0.5 - diff --git a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.16.2-settings_set_display.patch b/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.16.2-settings_set_display.patch deleted file mode 100644 index a8116b6d..00000000 --- a/gnome-base/gnome-settings-daemon/files/gnome-settings-daemon-3.16.2-settings_set_display.patch +++ /dev/null @@ -1,47 +0,0 @@ -From 804a75e86c8aafa46ff3c99933d1c8cd54ba7fcc Mon Sep 17 00:00:00 2001 -From: Alexandre Rostovtsev <tetromino@gentoo.org> -Date: Mon, 25 May 2015 12:35:13 -0400 -Subject: [PATCH] common: settings_set_display(): fix segfault when output == - NULL - -If settings_set_display() was called with output == NULL, edid remained -initialized to NULLs, but an array of NULLs is an illegal value for -KEY_DISPLAY settings, which has type "as". - -https://bugzilla.gnome.org/show_bug.cgi?id=749844 ---- - plugins/common/gsd-device-mapper.c | 11 +++++++---- - 1 file changed, 7 insertions(+), 4 deletions(-) - -diff --git a/plugins/common/gsd-device-mapper.c b/plugins/common/gsd-device-mapper.c -index ce70fd0..c8a1a1a 100644 ---- a/plugins/common/gsd-device-mapper.c -+++ b/plugins/common/gsd-device-mapper.c -@@ -365,7 +365,8 @@ static void - settings_set_display (GSettings *settings, - GnomeRROutput *output) - { -- gchar **prev, *edid[4] = { NULL, NULL, NULL, NULL }; -+ /* KEY_DISPLAY is type "as", so edid[0..2] must not be NULL */ -+ gchar **prev, *edid[4] = { "", "", "", NULL }; - GVariant *value; - gsize nvalues; - -@@ -384,9 +385,11 @@ settings_set_display (GSettings *settings, - g_settings_set_value (settings, KEY_DISPLAY, value); - } - -- g_free (edid[0]); -- g_free (edid[1]); -- g_free (edid[2]); -+ if (output) { -+ g_free (edid[0]); -+ g_free (edid[1]); -+ g_free (edid[2]); -+ } - g_strfreev (prev); - } - --- -2.4.1 - |