1 |
tetromino 12/05/13 23:59:01 |
2 |
|
3 |
Added: |
4 |
gnome-control-center-3.4.1-optional-bluetooth-colord-wacom.patch |
5 |
Log: |
6 |
Version bump for gnome-3.4 with numerous changes. |
7 |
|
8 |
(Portage version: 2.2.0_alpha104/cvs/Linux x86_64) |
9 |
|
10 |
Revision Changes Path |
11 |
1.1 gnome-base/gnome-control-center/files/gnome-control-center-3.4.1-optional-bluetooth-colord-wacom.patch |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-control-center/files/gnome-control-center-3.4.1-optional-bluetooth-colord-wacom.patch?rev=1.1&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-base/gnome-control-center/files/gnome-control-center-3.4.1-optional-bluetooth-colord-wacom.patch?rev=1.1&content-type=text/plain |
15 |
|
16 |
Index: gnome-control-center-3.4.1-optional-bluetooth-colord-wacom.patch |
17 |
=================================================================== |
18 |
From f9d277788e7ac4338955a272eee043f6774421d9 Mon Sep 17 00:00:00 2001 |
19 |
From: Alexandre Rostovtsev <tetromino@g.o> |
20 |
Date: Sun, 13 May 2012 19:53:13 -0400 |
21 |
Subject: [PATCH] Make bluetooth, colord, wacom optional |
22 |
|
23 |
--- |
24 |
configure.ac | 65 ++++++++++++++++++++++++++++++++++++++++++++------- |
25 |
panels/Makefile.am | 12 +++++++-- |
26 |
2 files changed, 65 insertions(+), 12 deletions(-) |
27 |
|
28 |
diff --git a/configure.ac b/configure.ac |
29 |
index 1046870..a40b792 100644 |
30 |
--- a/configure.ac |
31 |
+++ b/configure.ac |
32 |
@@ -109,7 +109,24 @@ PKG_CHECK_MODULES(NETWORK_PANEL, $COMMON_MODULES) |
33 |
PKG_CHECK_MODULES(ONLINE_ACCOUNTS_PANEL, $COMMON_MODULES goa-1.0 goa-backend-1.0) |
34 |
PKG_CHECK_MODULES(POWER_PANEL, $COMMON_MODULES upower-glib >= 0.9.1 |
35 |
gnome-settings-daemon >= $GSD_REQUIRED_VERSION) |
36 |
-PKG_CHECK_MODULES(COLOR_PANEL, $COMMON_MODULES colord >= 0.1.8) |
37 |
+build_color=false |
38 |
+AC_ARG_ENABLE(color, |
39 |
+ AC_HELP_STRING([--disable-color], |
40 |
+ [disable color management panel]), |
41 |
+ [case "${enableval}" in |
42 |
+ yes) WANT_COLOR=yes ;; |
43 |
+ no) WANT_COLOR=no ;; |
44 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-color) ;; |
45 |
+ esac], |
46 |
+ [WANT_COLOR=yes]) dnl Default value |
47 |
+ |
48 |
+if test x$WANT_COLOR = xyes; then |
49 |
+ PKG_CHECK_MODULES(COLOR_PANEL, $COMMON_MODULES colord >= 0.1.8) |
50 |
+ build_color=true |
51 |
+fi |
52 |
+AM_CONDITIONAL(BUILD_COLOR, test "x$build_color" = "xtrue") |
53 |
+AC_SUBST(COLOR_PANEL_CFLAGS) |
54 |
+AC_SUBST(COLOR_PANEL_LIBS) |
55 |
PKG_CHECK_MODULES(PRINTERS_PANEL, $COMMON_MODULES |
56 |
polkit-gobject-1 >= $POLKIT_REQUIRED_VERSION) |
57 |
PKG_CHECK_MODULES(REGION_PANEL, $COMMON_MODULES libgnomekbd >= 2.91.91 |
58 |
@@ -127,10 +144,26 @@ PKG_CHECK_MODULES(USER_ACCOUNTS_PANEL, $COMMON_MODULES |
59 |
gnome-desktop-3.0 |
60 |
gdk-pixbuf-2.0 >= $GDKPIXBUF_REQUIRED_VERSION |
61 |
$SYSTEMD) |
62 |
-PKG_CHECK_MODULES(WACOM_PANEL, $COMMON_MODULES |
63 |
- gnome-settings-daemon >= $GSD_REQUIRED_VERSION |
64 |
- xi >= 1.2 x11 libwacom >= $LIBWACOM_REQUIRED_VERSION |
65 |
- gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION) |
66 |
+ |
67 |
+build_wacom=false |
68 |
+AC_ARG_ENABLE(wacom, |
69 |
+ AC_HELP_STRING([--disable-wacom], |
70 |
+ [disable wacom management panel]), |
71 |
+ [case "${enableval}" in |
72 |
+ yes) WANT_WACOM=yes ;; |
73 |
+ no) WANT_WACOM=no ;; |
74 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-wacom) ;; |
75 |
+ esac], |
76 |
+ [WANT_WACOM=yes]) dnl Default value |
77 |
+ |
78 |
+if test x$WANT_WACOM = xyes; then |
79 |
+ PKG_CHECK_MODULES(WACOM_PANEL, $COMMON_MODULES |
80 |
+ gnome-settings-daemon >= $GSD_REQUIRED_VERSION |
81 |
+ xi >= 1.2 x11 libwacom >= $LIBWACOM_REQUIRED_VERSION |
82 |
+ gnome-desktop-3.0 >= $GNOME_DESKTOP_REQUIRED_VERSION) |
83 |
+ build_wacom=true |
84 |
+fi |
85 |
+AM_CONDITIONAL(BUILD_WACOM, test "x$build_wacom" = "xtrue") |
86 |
|
87 |
GDESKTOP_PREFIX=`$PKG_CONFIG --variable prefix gsettings-desktop-schemas` |
88 |
AC_SUBST(GDESKTOP_PREFIX) |
89 |
@@ -146,10 +179,24 @@ if test "x$have_networkmanager" = xno ; then |
90 |
fi |
91 |
AM_CONDITIONAL(BUILD_NETWORK, [test x$have_networkmanager = xyes]) |
92 |
|
93 |
-# Check for gnome-bluetooth |
94 |
-PKG_CHECK_MODULES(BLUETOOTH, $COMMON_MODULES gnome-bluetooth-1.0 >= 3.3.4, |
95 |
- [have_bluetooth=yes], have_bluetooth=no) |
96 |
-AM_CONDITIONAL(BUILD_BLUETOOTH, [test x$have_bluetooth = xyes]) |
97 |
+build_bluetooth=false |
98 |
+AC_ARG_ENABLE(bluetooth, |
99 |
+ AC_HELP_STRING([--disable-bluetooth], |
100 |
+ [disable bluetooth management panel]), |
101 |
+ [case "${enableval}" in |
102 |
+ yes) WANT_BLUETOOTH=yes ;; |
103 |
+ no) WANT_BLUETOOTH=no ;; |
104 |
+ *) AC_MSG_ERROR(bad value ${enableval} for --disable-bluetooth) ;; |
105 |
+ esac], |
106 |
+ [WANT_BLUETOOTH=yes]) dnl Default value |
107 |
+ |
108 |
+if test x$WANT_BLUETOOTH = xyes; then |
109 |
+ # Check for gnome-bluetooth |
110 |
+ PKG_CHECK_MODULES(BLUETOOTH, $COMMON_MODULES gnome-bluetooth-1.0 >= 3.3.4) |
111 |
+ build_bluetooth=true |
112 |
+fi |
113 |
+ |
114 |
+AM_CONDITIONAL(BUILD_BLUETOOTH, [test x$build_bluetooth = xtrue]) |
115 |
|
116 |
# Check for CUPS 1.4 or newer |
117 |
AC_ARG_ENABLE([cups], |
118 |
diff --git a/panels/Makefile.am b/panels/Makefile.am |
119 |
index 172dd06..09e7b00 100644 |
120 |
--- a/panels/Makefile.am |
121 |
+++ b/panels/Makefile.am |
122 |
@@ -3,7 +3,6 @@ SUBDIRS= \ |
123 |
background \ |
124 |
screen \ |
125 |
power \ |
126 |
- color \ |
127 |
display \ |
128 |
mouse \ |
129 |
online-accounts \ |
130 |
@@ -13,8 +12,11 @@ SUBDIRS= \ |
131 |
keyboard \ |
132 |
universal-access \ |
133 |
user-accounts \ |
134 |
- datetime \ |
135 |
- wacom |
136 |
+ datetime |
137 |
+ |
138 |
+if BUILD_COLOR |
139 |
+SUBDIRS += color |
140 |
+endif |
141 |
|
142 |
if BUILD_PRINTERS |
143 |
SUBDIRS += printers |
144 |
@@ -28,4 +30,8 @@ if BUILD_BLUETOOTH |
145 |
SUBDIRS += bluetooth |
146 |
endif |
147 |
|
148 |
+if BUILD_WACOM |
149 |
+SUBDIRS += wacom |
150 |
+endif |
151 |
+ |
152 |
-include $(top_srcdir)/git.mk |
153 |
-- |
154 |
1.7.8.6 |