Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-base/gnome-settings-daemon/files/
Date: Mon, 30 Oct 2017 22:34:51
Message-Id: 1509402848.03ae679c40b695407e92ea381a6be0f42b93f73d.leio@gentoo
1 commit: 03ae679c40b695407e92ea381a6be0f42b93f73d
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Oct 1 13:33:12 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Mon Oct 30 22:34:08 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03ae679c
7
8 gnome-base/gnome-settings-daemon: remove unused patch
9
10 .../files/3.24.2-optional.patch | 145 ---------------------
11 1 file changed, 145 deletions(-)
12
13 diff --git a/gnome-base/gnome-settings-daemon/files/3.24.2-optional.patch b/gnome-base/gnome-settings-daemon/files/3.24.2-optional.patch
14 deleted file mode 100644
15 index 64c47a92e3f..00000000000
16 --- a/gnome-base/gnome-settings-daemon/files/3.24.2-optional.patch
17 +++ /dev/null
18 @@ -1,145 +0,0 @@
19 -From 22f6a45b665e604f874e82a817d45bb976d8c5ae Mon Sep 17 00:00:00 2001
20 -From: Timo Tambet <ttambet@×××××.com>
21 -Date: Sat, 25 Feb 2017 14:48:19 +0200
22 -Subject: [PATCH 1/1] [PATCH] Make colord and wacom support optional
23 -
24 ----
25 - configure.ac | 56 +++++++++++++++++++++++++++++++----------------
26 - plugins/Makefile.am | 9 ++++++--
27 - plugins/dummy/Makefile.am | 5 ++++-
28 - 3 files changed, 48 insertions(+), 22 deletions(-)
29 -
30 -diff --git a/configure.ac b/configure.ac
31 -index 0d169c8f..792195aa 100644
32 ---- a/configure.ac
33 -+++ b/configure.ac
34 -@@ -158,13 +158,23 @@ PKG_CHECK_MODULES(CLIPBOARD,
35 - gtk+-x11-3.0
36 - x11)
37 -
38 --PKG_CHECK_MODULES(COLOR,
39 -- colord >= 1.0.2
40 -- gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION
41 -- libcanberra-gtk3
42 -- libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION
43 -- lcms2 >= $LCMS_REQUIRED_VERSION
44 -- libnotify)
45 -+AC_ARG_ENABLE([color],
46 -+ AS_HELP_STRING([--disable-color],
47 -+ [turn off color plugin]),
48 -+ [],
49 -+ [enable_color=yes])
50 -+
51 -+AS_IF([test "$enable_color" = "yes"],
52 -+ [PKG_CHECK_MODULES(COLOR,
53 -+ colord >= 1.0.2
54 -+ gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION
55 -+ libcanberra-gtk3
56 -+ libgeoclue-2.0 >= $GEOCLUE_REQUIRED_VERSION
57 -+ lcms2 >= $LCMS_REQUIRED_VERSION
58 -+ libnotify)
59 -+ AC_DEFINE(HAVE_COLOR, 1, [Define if color plugin is enabled])
60 -+ ])
61 -+AM_CONDITIONAL(BUILD_COLOR, test "x$enable_color" = "xyes")
62 -
63 - PKG_CHECK_MODULES(DATETIME,
64 - libnotify >= $LIBNOTIFY_REQUIRED_VERSION
65 -@@ -268,23 +278,31 @@ case $host_os in
66 - if test "$host_cpu" = s390 -o "$host_cpu" = s390x; then
67 - have_wacom=no
68 - else
69 -- if test x$enable_gudev != xno; then
70 -- LIBWACOM_PKG="libwacom >= $LIBWACOM_REQUIRED_VERSION"
71 -- PKG_CHECK_MODULES(LIBWACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION])
72 -- PKG_CHECK_MODULES(WACOM, [gtk+-3.0 pango >= $PANGO_REQUIRED_VERSION])
73 -- PKG_CHECK_MODULES(WACOM_OLED, [gudev-1.0])
74 -- else
75 -+ have_wacom=no
76 -+ AS_IF([test "$enable_gudev" != "no"],
77 -+ [AC_ARG_ENABLE([wacom],
78 -+ AS_HELP_STRING([--disable-wacom],
79 -+ [turn off wacom plugin]),
80 -+ [],
81 -+ [enable_wacom=no]) dnl Default value
82 -+ AS_IF([test "$enable_wacom" = "xyes"],
83 -+ [
84 -+ PKG_CHECK_MODULES(LIBWACOM, [libwacom >= $LIBWACOM_REQUIRED_VERSION])
85 -+ PKG_CHECK_MODULES(WACOM, [gtk+-3.0, pango >= $PANGO_REQUIRED_VERSION])
86 -+ PKG_CHECK_MODULES(WACOM_OLED, [gudev-1.0])
87 -+ have_wacom=yes
88 -+ AC_DEFINE_UNQUOTED(HAVE_WACOM, 1, [Define to 1 if wacom support is available])
89 -+ ])
90 -+ ], [
91 - AC_MSG_ERROR([GUdev is necessary to compile Wacom support])
92 -- fi
93 -- AC_DEFINE_UNQUOTED(HAVE_WACOM, 1, [Define to 1 if wacom support is available])
94 -- have_wacom=yes
95 -+ ])
96 - fi
97 - ;;
98 - *)
99 -- have_wacom=no
100 -- ;;
101 -+ have_wacom=no
102 -+ ;;
103 - esac
104 --AM_CONDITIONAL(HAVE_WACOM, test x$have_wacom = xyes)
105 -+AM_CONDITIONAL(BUILD_WACOM, test x$have_wacom = xyes)
106 -
107 - dnl ---------------------------------------------------------------------------
108 - dnl - common
109 -diff --git a/plugins/Makefile.am b/plugins/Makefile.am
110 -index 9324b406..ee78d6d0 100644
111 ---- a/plugins/Makefile.am
112 -+++ b/plugins/Makefile.am
113 -@@ -4,7 +4,6 @@ enabled_plugins = \
114 - a11y-keyboard \
115 - a11y-settings \
116 - clipboard \
117 -- color \
118 - datetime \
119 - dummy \
120 - power \
121 -@@ -22,13 +21,19 @@ enabled_plugins = \
122 -
123 - disabled_plugins = $(NULL)
124 -
125 -+if BUILD_COLOR
126 -+enabled_plugins += color
127 -+else
128 -+disabled_plugins += color
129 -+endif
130 -+
131 - if SMARTCARD_SUPPORT
132 - enabled_plugins += smartcard
133 - else
134 - disabled_plugins += smartcard
135 - endif
136 -
137 --if HAVE_WACOM
138 -+if BUILD_WACOM
139 - enabled_plugins += wacom
140 - else
141 - disabled_plugins += wacom
142 -diff --git a/plugins/dummy/Makefile.am b/plugins/dummy/Makefile.am
143 -index cb5856cf..06ac595a 100644
144 ---- a/plugins/dummy/Makefile.am
145 -+++ b/plugins/dummy/Makefile.am
146 -@@ -22,10 +22,13 @@ gsd_dummy_LDADD = $(DUMMY_LIBS) $(top_builddir)/gnome-settings-daemon/libgsd.la
147 - desktopdir = $(sysconfdir)/xdg/autostart
148 -
149 - desktop_DATA =
150 -+if !BUILD_COLOR
151 -+desktop_DATA += org.gnome.SettingsDaemon.Color.desktop
152 -+endif
153 - if !SMARTCARD_SUPPORT
154 - desktop_DATA += org.gnome.SettingsDaemon.Smartcard.desktop
155 - endif
156 --if !HAVE_WACOM
157 -+if !BUILD_WACOM
158 - desktop_DATA += org.gnome.SettingsDaemon.Wacom.desktop
159 - endif
160 - if !BUILD_PRINT_NOTIFICATIONS
161 ---
162 -2.11.1
163 -