/[gentoo-x86]/gnome-base/gnome-control-center/files/gnome-control-center-3.8.1.5-optional-modemmanager.patch
Gentoo

Contents of /gnome-base/gnome-control-center/files/gnome-control-center-3.8.1.5-optional-modemmanager.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun May 12 09:02:01 2013 UTC (19 months, 1 week ago) by pacho
Branch: MAIN
Version bump, prevent false positives with configure options checking, make modemmanager optional (#463852 by Evgeny Bobkin and poncho), smbclient needed for printers panel (#463762), fix bash-completion dir to Gentoo path (#465094 by poncho).

(Portage version: 2.1.11.63/cvs/Linux x86_64, signed Manifest commit with key A188FBD4)

1 --- gnome-control-center-3.8.1.5-orig/configure.ac 2013-05-06 18:32:26.000000000 +0200
2 +++ gnome-control-center-3.8.1.5-dev/configure.ac 2013-05-11 22:57:47.955153458 +0200
3 @@ -200,8 +200,25 @@
4 fi
5
6 # Check for libmm-glib for ModemManager1 support
7 -PKG_CHECK_MODULES(MM_GLIB, mm-glib,
8 - [have_libmm_glib=yes], have_libmm_glib=no)
9 +build_modemmanager=false
10 +AC_ARG_ENABLE(modemmanager,
11 + AC_HELP_STRING([--disable-modemmanager],
12 + [disable modemmanager support]),
13 + [case "${enableval}" in
14 + yes) WANT_MODEMMANAGER=yes ;;
15 + no) WANT_MODEMMANAGER=no ;;
16 + *) AC_MSG_ERROR(bad value ${enableval} for --disable-modemmanager) ;;
17 + esac],
18 + [WANT_MODEMMANAGER=no]) dnl Default value
19 +
20 +if test "x$WANT_MODEMMANAGER" = xyes ; then
21 + PKG_CHECK_MODULES(MM_GLIB, mm-glib,
22 + [have_libmm_glib=yes],
23 + AC_MSG_ERROR(No ModemManager1 support (libmm-glib) not found))
24 +else
25 + have_libmm_glib=no
26 +fi
27 +
28 if test "x$have_libmm_glib" = xno ; then
29 AC_MSG_WARN(*** Network panel will not be built with ModemManager1 support (libmm-glib not found) ***)
30 else

  ViewVC Help
Powered by ViewVC 1.1.20