summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-01-17 15:39:54 +0000
committerPacho Ramos <pacho@gentoo.org>2015-01-17 15:39:54 +0000
commit1fefd35d0a6376894b37c2f5007b6f257449334a (patch)
tree6382d297558fc3b95e20aed8abacc5a4f87d2640
parentRemove old. (diff)
downloadhistorical-1fefd35d0a6376894b37c2f5007b6f257449334a.tar.gz
historical-1fefd35d0a6376894b37c2f5007b6f257449334a.tar.bz2
historical-1fefd35d0a6376894b37c2f5007b6f257449334a.zip
Fix NM version checking, bug #536850 by Marcin Sochoń (soki)
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
-rw-r--r--gnome-extra/cinnamon-control-center/ChangeLog12
-rw-r--r--gnome-extra/cinnamon-control-center/Manifest12
-rw-r--r--gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.11-r1.ebuild109
-rw-r--r--gnome-extra/cinnamon-control-center/cinnamon-control-center-2.4.2-r1.ebuild107
-rw-r--r--gnome-extra/cinnamon-control-center/files/cinnamon-control-center-2.2.11-networkmanager-version.patch46
-rw-r--r--gnome-extra/cinnamon-control-center/files/cinnamon-control-center-2.4.2-networkmanager-version.patch46
6 files changed, 327 insertions, 5 deletions
diff --git a/gnome-extra/cinnamon-control-center/ChangeLog b/gnome-extra/cinnamon-control-center/ChangeLog
index 3ee7a3e6d249..29aa2e25fd4f 100644
--- a/gnome-extra/cinnamon-control-center/ChangeLog
+++ b/gnome-extra/cinnamon-control-center/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for gnome-extra/cinnamon-control-center
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-control-center/ChangeLog,v 1.13 2015/01/11 18:35:29 eva Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-control-center/ChangeLog,v 1.14 2015/01/17 15:39:50 pacho Exp $
+
+*cinnamon-control-center-2.2.11-r1 (17 Jan 2015)
+*cinnamon-control-center-2.4.2-r1 (17 Jan 2015)
+
+ 17 Jan 2015; Pacho Ramos <pacho@gentoo.org>
+ +cinnamon-control-center-2.2.11-r1.ebuild,
+ +cinnamon-control-center-2.4.2-r1.ebuild,
+ +files/cinnamon-control-center-2.2.11-networkmanager-version.patch,
+ +files/cinnamon-control-center-2.4.2-networkmanager-version.patch:
+ Fix NM version checking, bug #536850 by Marcin Sochoń (soki)
*cinnamon-control-center-2.4.2 (11 Jan 2015)
diff --git a/gnome-extra/cinnamon-control-center/Manifest b/gnome-extra/cinnamon-control-center/Manifest
index 258c65db971f..69615607e0ba 100644
--- a/gnome-extra/cinnamon-control-center/Manifest
+++ b/gnome-extra/cinnamon-control-center/Manifest
@@ -1,18 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX cinnamon-control-center-2.2.11-networkmanager-version.patch 1568 SHA256 3a95f61f7c6cb2c5484187f2a7be5da650fffbe5321176ea8061b97681c90e70 SHA512 bdc1b980681f4bf1f28e61593ba4ab02d643c972d212a9ccbb81cebffa5c8ac63c50ca1509d91a8cbfe4a0a9b9ae6431c798b30c828cbaf4b2b19ea2b4cf41f6 WHIRLPOOL 84fe3ccc282ddca7243c1739e90b7754ef6b2ba1fcde1e0dc57088b40ffc6d0451c0c6baa129d29db863fc4731e8853d0cdfb7dedec79776a57e855f6a95c055
AUX cinnamon-control-center-2.2.5-nm-applet.patch 1366 SHA256 f19a142d93b2649e2d20075e05d0ef7be00b315d61f50a0218fa45d62c56429e SHA512 0f088f14e3bda696c04ee23af8c42804d0d638f7529a4ac693d794002554d8f1deaa6c3cb300c784ac55aee5b1848c20999533fa5dbed3f67bb93dba0e807155 WHIRLPOOL 408c1f9ddaf1af5120a82b133179e1f3c74bbaf6c47e917d13cd420475951d1587bcca357931dd7bc08fc36f9871d97d95117b4a48893c24ff88e30d0c231462
AUX cinnamon-control-center-2.2.5-optional.patch 3164 SHA256 409d944613f8e66cc413673239888d5fc8bb2e56f635909b14fd9f26d33474ba SHA512 587e93d79386f32ab122b329042e971eda6ba41a3bbf53ce300ba312701a817254cea1814ab777ded2689f29b974af02d07cf827ec5e801dcf47aab23664c5b1 WHIRLPOOL dcb1ab88b0b00e3d091d2b64778a9f37cfcf601dff6641d9aa8c3f365c10a694f3fc937d3cbea04285b9e07f716dee3f8e5ffb1af238e23d1d859769b23b49d9
+AUX cinnamon-control-center-2.4.2-networkmanager-version.patch 1570 SHA256 9b42ea89bfd7206e6131e720a026ddc7074c54a1d8cb460f5dd35818b07e05a9 SHA512 ca040071c60326ec686f7bccc5a1a8650299227c965bb4e41fc6b2e27ef7a965f6ed58bc764bdc45e09b263be444b4575c2c457f70a6807405c8e4218a0bbd58 WHIRLPOOL ef8eaefceac0b2d3aea0a1eda9dd72489d41ad8ea41363596969b462b3852a9f343a6736ddab341b484d9c8d8f117347c0e14bf42f64e5fae9730ac1734cceca
DIST cinnamon-control-center-2.2.11.tar.gz 4855291 SHA256 9cd9d9dcad3a6f9a1957f3c92a2be5316dd74a91e9efa62a6e5f9fada110929f SHA512 e1de66f6ccf2122e8adc2a036b3424bf0ea416db492700d4cedab9b13db852ca9ae0aef4ed0264f850c4743a5b0a62a812785e2c45ef7bf59555025e0aed5eca WHIRLPOOL 7678ea607a460b69817ce14b2bbaaeff5d7523848a68e3791157841cbd4fe99d87a8e3559142fff732619aede9cf86de9aa41f644b00fa2fb4aa71d39ec44f3a
DIST cinnamon-control-center-2.4.2.tar.gz 4305006 SHA256 7d25193a3cc13c12f22864f3c9a907acfaa616392cb2b7ab4e0624f0d200f188 SHA512 c3b4e5af84b7e6e01deaae51ed29e184158860c5effa2550b9d285902c2c35b690cb867ae747b437ed2ac2d0e75b0e6b36c97f9af3c5bf3f4621bdf304d5c253 WHIRLPOOL 41a32cb1c97f0fd3c57d67891c66082b66db6dc5a43737d50fdc6a17819c64d9b58ac2b679baa7f9bdd906643c02c161b4a72fd208b48561cdd43807a58f5621
+EBUILD cinnamon-control-center-2.2.11-r1.ebuild 3151 SHA256 85c8e84e114f16d284eccf2b04d06270897be17596570f525c08ea29614b5542 SHA512 4776b318f5d7e79dc59f8257ed487776b101c2f754327124906cb4f116bc5d52340a055751f98198a694afc1031f10529b32824cf2f22cdd1a070cfa33be819b WHIRLPOOL 428e1be3e1127ab57ef04dd5f69b7e375190cfd332f683223cf565de67e69425e603d0164e58bd5c6fc8cd168195ab2613cf8a611cd8a8aff97196087a4fa957
EBUILD cinnamon-control-center-2.2.11.ebuild 3041 SHA256 42f0ab68c50fbe97cfa6b4826b74e2d93da2f043e4a293845aa2fc183bdc6a0a SHA512 81f5dbbd6f34d317f802906c8fa190ca039d5a84b5381b384c4721bf44bc64f2ab2e6ae3ea8890478ac75d8edd5c7ef1b9181a0faca0674f9f098c9681c32087 WHIRLPOOL 76dc36f7a3d832f4dd36d44f44d87b1740d3151166c4dbb4973ab218f88bc4b78df55c824adf80599e72de3c8961e31b0c3fcb6620da3ad62a55a1b987a809a3
+EBUILD cinnamon-control-center-2.4.2-r1.ebuild 3078 SHA256 f3c0191ee55ba39df80fd8f159444a0e2e341973c741b2796ba81fe275eca1b9 SHA512 e3a7698c3d53a9f46e6e7c05bc112ffd21f84a872389e9a537cb1da16717a1bb61d7d98cf874811b05620327f2c55d1e10001cbaab41d89dfdd041b999d5ccb7 WHIRLPOOL 252942597f53467e363390824db07a775c470e64041ce548642a61e84fa9fe1d26503ad48ee7584c51a3a90e624a3ebe371d9510805cde85f3b4fbd5daba01ce
EBUILD cinnamon-control-center-2.4.2.ebuild 2962 SHA256 37dbbb4c2e0b3ad29b85c94d666fcf6582dddeeaaeeaf281812177cabd9136e0 SHA512 a5e15ebafd93f8714804deea334689bc329d12089070855f0c64bde214d0cfdf46c97bc013594ba2ebb4284f9ffa14c0e5891f3e3f802322b37d09ac76d1b47b WHIRLPOOL 3d4bd42674a8f6070c89fcb0c4af3a1ce9a3bd2fb9c7522fb17adaaa50b7c486bfbde10c214b5c626f78b3d0bfb85bdc6aafe38d64bcb432458553db743c0103
-MISC ChangeLog 2601 SHA256 b261f65fe829e3d81939bc0964dda722d5d5975a8fb54e99e4d853ebfc68bce8 SHA512 611b99c4d4d4eaee1acb09081f2ad3eb101980cd9c302b68f7063f2cb7c1ccfe109033df18a31e868b23a69d033a06d33531184928c3e6cde0943fcf4ee935db WHIRLPOOL 3d170635d164657409904e5caee09f2cdf929f6b3be063bc81f4a6ff582519e8a7de59b2ecc937f6dfd69ae8fcec8f9df2c978a1e0499c0ab1ec33664d5e3380
+MISC ChangeLog 3040 SHA256 f51a90dd6f9b570ce913b68f45c5ade5606596a774e532375127000f26a72f33 SHA512 2101665501101ad5fcfe116cb79e47a6b9dc3cadf7a5f81cb9528788dfac7f97fdbc903e9b1a40c5a6d18daf2b81c3232211a0c9d4e7abb83854be31f77bc1c5 WHIRLPOOL c7aaae3e8a81d0065a75135e7595d6c64464eef8b67ce5597ef9911c56fd05e47f4b1253b9ef25b8f2f51653c96c60e80ac4f9c246949029f1f4954a1dbc4665
MISC metadata.xml 392 SHA256 c000f51bfac9296d6a015c136e6a079d1e013cd68436589473205b9f6a352dc5 SHA512 059abffc02a5d0338acaeaf1e9874fd34aa455458c7cedcae37a5a2a6194851446755dac509f68554d47c2afb675e0934e95e57a2515724ed575df34f2e0d80a WHIRLPOOL f379cc0c4d84c9bc2d7135e1e7f83f43206971c1dba811d9abbafc429e0320dcc3e7f1333e56857eacae8b51529200d38e065ad9b898bac69727c921f2dd0366
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iEYEAREIAAYFAlSywnIACgkQ1fmVwcYIWAZ36gCeKTCqxotJKMMgVKtw1JhPVLV8
-3z0AoJzTh3NQ3uM61xH/zhreZ4r5bhdS
-=BUVR
+iEYEAREIAAYFAlS6gkkACgkQCaWpQKGI+9Qf9QCeLZBos5F+TR/EK52+kIHfTByE
+lZEAnRR+uTbpvP1w56BJwLPcVlMy1mAP
+=3R8P
-----END PGP SIGNATURE-----
diff --git a/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.11-r1.ebuild b/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.11-r1.ebuild
new file mode 100644
index 000000000000..a120b3c2703d
--- /dev/null
+++ b/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.11-r1.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.2.11-r1.ebuild,v 1.1 2015/01/17 15:39:50 pacho Exp $
+
+EAPI="5"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes" # gmodule is used, which uses dlopen
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Cinnamons's main interface to configure various aspects of the desktop"
+HOMEPAGE="http://cinnamon.linuxmint.com/"
+SRC_URI="https://github.com/linuxmint/cinnamon-control-center/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="+colord +cups input_devices_wacom socialweb"
+KEYWORDS="~amd64 ~x86"
+
+# False positives caused by nested configure scripts
+QA_CONFIGURE_OPTIONS=".*"
+
+# FIXME: modemmanager is not optional
+# networkmanager is not optional
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.31:2
+ dev-libs/libxml2:2
+ >=gnome-base/libgnomekbd-2.91.91:0=
+ >=gnome-extra/cinnamon-desktop-1.0:0=
+ >=gnome-extra/cinnamon-menus-1.0:0=
+ >=gnome-extra/cinnamon-settings-daemon-1.0:0=
+ >=gnome-extra/nm-applet-0.9.8
+ media-libs/fontconfig
+ >=media-libs/libcanberra-0.13[gtk3]
+ >=media-sound/pulseaudio-1.1[glib]
+ net-misc/modemmanager
+ >=net-misc/networkmanager-0.8.9[modemmanager]
+ >=sys-auth/polkit-0.103
+ || ( >=sys-power/upower-0.9.1:= sys-power/upower-pm-utils )
+ >=x11-libs/gdk-pixbuf-2.23.0:2
+ >=x11-libs/gtk+-3.4.1:3
+ >=x11-libs/libnotify-0.7.3:0=
+ x11-libs/libX11
+ x11-libs/libxklavier
+ colord? ( >=x11-misc/colord-0.1.8:0= )
+ cups? ( >=net-print/cups-1.4[dbus] )
+ input_devices_wacom? (
+ >=dev-libs/libwacom-0.7
+ >=x11-libs/gtk+-3.8:3
+ >=x11-libs/libXi-1.2 )
+ socialweb? ( net-libs/libsocialweb )
+
+"
+# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
+# libgnomekbd needed only for gkbd-keyboard-display tool
+RDEPEND="${COMMON_DEPEND}
+ || ( ( app-admin/openrc-settingsd sys-auth/consolekit ) >=sys-apps/systemd-31 )
+ x11-themes/gnome-icon-theme
+ x11-themes/gnome-icon-theme-symbolic
+ colord? ( >=gnome-extra/gnome-color-manager-3 )
+ cups? (
+ >=app-admin/system-config-printer-gnome-1.3.5
+ net-print/cups-pk-helper )
+ input_devices_wacom? ( gnome-extra/cinnamon-settings-daemon[input_devices_wacom] )
+"
+
+DEPEND="${COMMON_DEPEND}
+ app-text/iso-codes
+ x11-proto/xproto
+ x11-proto/xf86miscproto
+ x11-proto/kbproto
+
+ dev-libs/libxslt
+ >=dev-util/intltool-0.40.1
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+
+ gnome-base/gnome-common
+"
+# Needed for autoreconf
+# gnome-base/gnome-common
+
+src_prepare() {
+ # make some panels optional
+ epatch "${FILESDIR}"/${PN}-2.2.5-optional.patch
+ # fix wrong nm-applet dependency
+ epatch "${FILESDIR}"/${PN}-2.2.5-nm-applet.patch
+
+ # Fix NM version checking, bug #536850
+ epatch "${FILESDIR}"/${PN}-2.2.11-networkmanager-version.patch
+
+ epatch_user
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # --enable-systemd doesn't do anything in $PN-2.2.5
+ gnome2_src_configure \
+ --disable-update-mimedb \
+ --disable-static \
+ --enable-documentation \
+ $(use_enable colord color) \
+ $(use_enable cups) \
+ $(use_with socialweb libsocialweb) \
+ $(use_enable input_devices_wacom wacom)
+}
diff --git a/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.4.2-r1.ebuild b/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.4.2-r1.ebuild
new file mode 100644
index 000000000000..7702a1853e17
--- /dev/null
+++ b/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.4.2-r1.ebuild
@@ -0,0 +1,107 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon-control-center/cinnamon-control-center-2.4.2-r1.ebuild,v 1.1 2015/01/17 15:39:50 pacho Exp $
+
+EAPI="5"
+GCONF_DEBUG="yes"
+GNOME2_LA_PUNT="yes" # gmodule is used, which uses dlopen
+
+inherit autotools eutils gnome2
+
+DESCRIPTION="Cinnamons's main interface to configure various aspects of the desktop"
+HOMEPAGE="http://cinnamon.linuxmint.com/"
+SRC_URI="https://github.com/linuxmint/cinnamon-control-center/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="+colord +cups input_devices_wacom socialweb"
+KEYWORDS="~amd64 ~x86"
+
+# False positives caused by nested configure scripts
+QA_CONFIGURE_OPTIONS=".*"
+
+# FIXME: modemmanager is not optional
+# networkmanager is not optional
+
+COMMON_DEPEND="
+ >=dev-libs/glib-2.31:2
+ dev-libs/libxml2:2
+ >=gnome-base/libgnomekbd-2.91.91:0=
+ >=gnome-extra/cinnamon-desktop-1.0:0=
+ >=gnome-extra/cinnamon-menus-1.0:0=
+ >=gnome-extra/cinnamon-settings-daemon-1.0:0=
+ >=gnome-extra/nm-applet-0.9.8
+ media-libs/fontconfig
+ >=media-libs/libcanberra-0.13[gtk3]
+ >=media-sound/pulseaudio-1.1[glib]
+ >=net-misc/modemmanager-0.7
+ >=net-misc/networkmanager-0.9.8[modemmanager]
+ >=sys-auth/polkit-0.103
+ || ( >=sys-power/upower-0.9.1:= sys-power/upower-pm-utils )
+ >=x11-libs/gdk-pixbuf-2.23.0:2
+ >=x11-libs/gtk+-3.4.1:3
+ >=x11-libs/libnotify-0.7.3:0=
+ x11-libs/libX11
+ x11-libs/libxklavier
+ colord? ( >=x11-misc/colord-0.1.8:0= )
+ cups? ( >=net-print/cups-1.4[dbus] )
+ input_devices_wacom? (
+ >=dev-libs/libwacom-0.7
+ >=x11-libs/gtk+-3.8:3
+ >=x11-libs/libXi-1.2 )
+ socialweb? ( net-libs/libsocialweb )
+
+"
+# <gnome-color-manager-3.1.2 has file collisions with g-c-c-3.1.x
+# libgnomekbd needed only for gkbd-keyboard-display tool
+RDEPEND="${COMMON_DEPEND}
+ || ( ( app-admin/openrc-settingsd sys-auth/consolekit ) >=sys-apps/systemd-31 )
+ x11-themes/gnome-icon-theme
+ x11-themes/gnome-icon-theme-symbolic
+ colord? ( >=gnome-extra/gnome-color-manager-3 )
+ cups? (
+ >=app-admin/system-config-printer-gnome-1.3.5
+ net-print/cups-pk-helper )
+ input_devices_wacom? ( gnome-extra/cinnamon-settings-daemon[input_devices_wacom] )
+"
+
+DEPEND="${COMMON_DEPEND}
+ app-text/iso-codes
+ x11-proto/xproto
+ x11-proto/xf86miscproto
+ x11-proto/kbproto
+
+ dev-libs/libxslt
+ >=dev-util/intltool-0.40.1
+ >=sys-devel/gettext-0.17
+ virtual/pkgconfig
+
+ gnome-base/gnome-common
+"
+# Needed for autoreconf
+# gnome-base/gnome-common
+
+src_prepare() {
+ # make some panels optional
+ epatch "${FILESDIR}"/${PN}-2.2.5-optional.patch
+
+ # Fix NM version checking, bug #536850
+ epatch "${FILESDIR}"/${PN}-2.4.2-networkmanager-version.patch
+
+ epatch_user
+
+ eautoreconf
+ gnome2_src_prepare
+}
+
+src_configure() {
+ # --enable-systemd doesn't do anything in $PN-2.2.5
+ gnome2_src_configure \
+ --disable-update-mimedb \
+ --disable-static \
+ --enable-documentation \
+ $(use_enable colord color) \
+ $(use_enable cups) \
+ $(use_with socialweb libsocialweb) \
+ $(use_enable input_devices_wacom wacom)
+}
diff --git a/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-2.2.11-networkmanager-version.patch b/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-2.2.11-networkmanager-version.patch
new file mode 100644
index 000000000000..fa8226c4dc95
--- /dev/null
+++ b/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-2.2.11-networkmanager-version.patch
@@ -0,0 +1,46 @@
+--- panels/network/cc-network-panel.c.old 2015-01-17 16:29:12.561444207 +0100
++++ panels/network/cc-network-panel.c 2015-01-17 16:30:46.778068711 +0100
+@@ -940,30 +940,18 @@
+ panel_check_network_manager_version (CcNetworkPanel *panel)
+ {
+ const gchar *version;
+- gchar **split = NULL;
+- guint major = 0;
+- guint micro = 0;
+- guint minor = 0;
+ gboolean ret = TRUE;
+
+ /* parse running version */
+ version = nm_client_get_version (panel->priv->client);
+- if (version != NULL) {
+- split = g_strsplit (version, ".", -1);
+- major = atoi (split[0]);
+- minor = atoi (split[1]);
+- micro = atoi (split[2]);
+- }
+
+- /* is it too new or old */
+- if (major > 0 || major > 9 || (minor <= 8 && micro < 992)) {
++ if (version == NULL) {
+ ret = FALSE;
+
+ /* do modal dialog in idle so we don't block startup */
+ panel->priv->nm_warning_idle = g_idle_add ((GSourceFunc)display_version_warning_idle, panel);
+ }
+
+- g_strfreev (split);
+ return ret;
+ }
+
+@@ -1029,8 +1017,9 @@
+ {
+ gboolean ret;
+
+- /* is the user compiling against a new version, but running an
+- * old daemon version? */
++ /* is the user compiling against a new version, but not running
++ * the daemon? */
++
+ ret = panel_check_network_manager_version (panel);
+ if (ret) {
+ manager_running (panel->priv->client, NULL, panel);
diff --git a/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-2.4.2-networkmanager-version.patch b/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-2.4.2-networkmanager-version.patch
new file mode 100644
index 000000000000..7c2078f1095e
--- /dev/null
+++ b/gnome-extra/cinnamon-control-center/files/cinnamon-control-center-2.4.2-networkmanager-version.patch
@@ -0,0 +1,46 @@
+--- panels/network/cc-network-panel.c.old 2015-01-17 16:35:04.395520484 +0100
++++ panels/network/cc-network-panel.c 2015-01-17 16:36:11.706685966 +0100
+@@ -1311,30 +1311,18 @@
+ panel_check_network_manager_version (CcNetworkPanel *panel)
+ {
+ const gchar *version;
+- gchar **split = NULL;
+- guint major = 0;
+- guint micro = 0;
+- guint minor = 0;
+ gboolean ret = TRUE;
+
+ /* parse running version */
+ version = nm_client_get_version (panel->priv->client);
+- if (version != NULL) {
+- split = g_strsplit (version, ".", -1);
+- major = atoi (split[0]);
+- minor = atoi (split[1]);
+- micro = atoi (split[2]);
+- }
+
+- /* is it too new or old */
+- if (major > 0 || minor > 9 || (minor <= 8 && micro < 992)) {
++ if (version == NULL) {
+ ret = FALSE;
+
+ /* do modal dialog in idle so we don't block startup */
+ panel->priv->nm_warning_idle = g_idle_add ((GSourceFunc)display_version_warning_idle, panel);
+ }
+
+- g_strfreev (split);
+ return ret;
+ }
+
+@@ -1381,8 +1369,9 @@
+ {
+ gboolean ret;
+
+- /* is the user compiling against a new version, but running an
+- * old daemon version? */
++ /* is the user compiling against a new version, but not running
++ * the daemon? */
++
+ ret = panel_check_network_manager_version (panel);
+ if (ret) {
+ manager_running (panel->priv->client, NULL, panel);