diff options
author | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-09 00:36:03 +0000 |
---|---|---|
committer | Alexandre Rostovtsev <tetromino@gentoo.org> | 2012-09-09 00:36:03 +0000 |
commit | 9deaa57be334817b968667299d2e584fef1ca058 (patch) | |
tree | 02023eb5e4e7c7f88c2e2f608e2fd2ae4d2d2f0b /gnome-extra | |
parent | Version bump to 1.4-UP1 (bug #429524, thanks to Mark Wood). Fix gnome-bluetoo... (diff) | |
download | gentoo-2-9deaa57be334817b968667299d2e584fef1ca058.tar.gz gentoo-2-9deaa57be334817b968667299d2e584fef1ca058.tar.bz2 gentoo-2-9deaa57be334817b968667299d2e584fef1ca058.zip |
Remove unused patches.
(Portage version: 2.2.0_alpha124/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra')
4 files changed, 7 insertions, 244 deletions
diff --git a/gnome-extra/cinnamon/ChangeLog b/gnome-extra/cinnamon/ChangeLog index 824a1d3c165e..3a9f5ad8eb31 100644 --- a/gnome-extra/cinnamon/ChangeLog +++ b/gnome-extra/cinnamon/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for gnome-extra/cinnamon # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.14 2012/09/09 00:31:58 tetromino Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/cinnamon/ChangeLog,v 1.15 2012/09/09 00:36:03 tetromino Exp $ + + 09 Sep 2012; Alexandre Rostovtsev <tetromino@gentoo.org> + -files/cinnamon-1.1.3-extensionjs_path.patch, + -files/cinnamon-1.1.3-xdg-open.patch, + -files/cinnamon-1.2-optional-networkmanager.patch: + Remove unused patches. *cinnamon-1.4_p1 (09 Sep 2012) diff --git a/gnome-extra/cinnamon/files/cinnamon-1.1.3-extensionjs_path.patch b/gnome-extra/cinnamon/files/cinnamon-1.1.3-extensionjs_path.patch deleted file mode 100644 index ff42f22bd181..000000000000 --- a/gnome-extra/cinnamon/files/cinnamon-1.1.3-extensionjs_path.patch +++ /dev/null @@ -1,31 +0,0 @@ -From b64739844de4d84032b69ecd04f0fbe1d452f311 Mon Sep 17 00:00:00 2001 -From: "Jasper St. Pierre" <jstpierre@mecheye.net> -Date: Thu, 13 Oct 2011 00:46:46 -0400 -Subject: [PATCH 03/28] gnome-shell-extension-tool: Fix error after creating - extension - -Commit 7a8a00c7057d56350d4b5509cefd812a67d4b7d7 cleaned up the code to move all -files to a dictionary, which accidentally left an undefined "extensionjs_path" -error. Fix that error. - -[Alexandre Rostovtsev <tetromino@gentoo.org>: port to cinnamon] - -https://bugzilla.gnome.org/show_bug.cgi?id=661623 ---- - src/cinnamon-extension-tool.in | 1 + - 1 files changed, 1 insertions(+), 0 deletions(-) - -diff --git a/src/cinnamon-extension-tool.in b/src/cinnamon-extension-tool.in -index e610b46..8ec24fb 100644 ---- a/src/cinnamon-extension-tool.in -+++ b/src/cinnamon-extension-tool.in -@@ -148,5 +148,6 @@ use an extension title clicktofocus@janedoe.example.com.''' - f.close() - - print "Created extension in %r" % (extension_path, ) -+ extensionjs_path = os.path.join(extension_path, 'extension.js') - subprocess.Popen(['gnome-open', extensionjs_path]) - sys.exit(0) --- -1.7.8.3 - diff --git a/gnome-extra/cinnamon/files/cinnamon-1.1.3-xdg-open.patch b/gnome-extra/cinnamon/files/cinnamon-1.1.3-xdg-open.patch deleted file mode 100644 index f4e355b0d8ee..000000000000 --- a/gnome-extra/cinnamon/files/cinnamon-1.1.3-xdg-open.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 9db2c12d23daaeab0d69bc8b58cec610689cc4dc Mon Sep 17 00:00:00 2001 -From: "Jasper St. Pierre" <jstpierre@mecheye.net> -Date: Thu, 20 Oct 2011 12:48:40 -0400 -Subject: [PATCH 04/28] gnome-shell-extension-tool: Use xdg-open - -gnome-open is deprecated - -[Alexandre Rostovtsev <tetromino@gentoo.org>: port to cinnamon] ---- - src/gnome-shell-extension-tool.in | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/src/cinnamon-extension-tool.in b/src/cinnamon-extension-tool.in -index 8ec24fb..2f942d8 100644 ---- a/src/cinnamon-extension-tool.in -+++ b/src/cinnamon-extension-tool.in -@@ -149,5 +149,5 @@ use an extension title clicktofocus@janedoe.example.com.''' - - print "Created extension in %r" % (extension_path, ) - extensionjs_path = os.path.join(extension_path, 'extension.js') -- subprocess.Popen(['gnome-open', extensionjs_path]) -+ subprocess.Popen(['xdg-open', extensionjs_path]) - sys.exit(0) --- -1.7.8.3 - diff --git a/gnome-extra/cinnamon/files/cinnamon-1.2-optional-networkmanager.patch b/gnome-extra/cinnamon/files/cinnamon-1.2-optional-networkmanager.patch deleted file mode 100644 index 1cee5db513f4..000000000000 --- a/gnome-extra/cinnamon/files/cinnamon-1.2-optional-networkmanager.patch +++ /dev/null @@ -1,186 +0,0 @@ -From 10f58d37fb7b2531bc2239bbc36337d2b3abde45 Mon Sep 17 00:00:00 2001 -From: Alexandre Rostovtsev <tetromino@gentoo.org> -Date: Wed, 25 Jan 2012 01:58:07 -0500 -Subject: [PATCH] Make NM optional - -Derived from a patch for gnome-shell by Michael Biebl <biebl@debian.org> -(see http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=652482#29) ---- - configure.ac | 48 ++++++++++++++++++++++++++++++++++++++++++++++-- - js/misc/config.js.in | 2 ++ - js/ui/main.js | 7 +++++-- - js/ui/panel.js | 3 ++- - src/Makefile.am | 13 ++++++++----- - 5 files changed, 63 insertions(+), 10 deletions(-) - -diff --git a/configure.ac b/configure.ac -index 9e1d63d..a9606a6 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -94,8 +94,40 @@ PKG_CHECK_MODULES(CINNAMON, gio-2.0 >= $GIO_MIN_VERSION - libcanberra - telepathy-glib >= $TELEPATHY_GLIB_MIN_VERSION - telepathy-logger-0.2 >= $TELEPATHY_LOGGER_MIN_VERSION -- polkit-agent-1 >= $POLKIT_MIN_VERSION xfixes -- libnm-glib libnm-util gnome-keyring-1) -+ polkit-agent-1 >= $POLKIT_MIN_VERSION xfixes) -+ -+########################## -+# Check for NetworkManager -+########################## -+NM_MIN_VERSION=0.9 -+AC_ARG_ENABLE(networkmanager, -+ AS_HELP_STRING([--disable-networkmanager], -+ [disable NetworkManager support @<:@default=auto@:>@]),, -+ [enable_networkmanager=auto]) -+ -+if test "x$enable_networkmanager" != "xno"; then -+ PKG_CHECK_MODULES(NETWORKMANAGER, -+ [libnm-glib libnm-util gnome-keyring-1], -+ [have_networkmanager=yes], -+ [have_networkmanager=no]) -+ -+ CINNAMON_CFLAGS="$CINNAMON_CFLAGS $NETWORKMANAGER_CFLAGS" -+ CINNAMON_LIBS="$CINNAMON_LIBS $NETWORKMANAGER_LIBS" -+else -+ have_networkmanager="no (disabled)" -+fi -+ -+if test "x$have_networkmanager" = "xyes"; then -+ AC_DEFINE(HAVE_NETWORKMANAGER, [1], [Define if we have NetworkManager]) -+ AC_SUBST([HAVE_NETWORKMANAGER], [1]) -+else -+ if test "x$enable_networkmanager" = "xyes"; then -+ AC_MSG_ERROR([Couldn't find NetworkManager.]) -+ fi -+ AC_SUBST([HAVE_NETWORKMANAGER], [0]) -+fi -+ -+AM_CONDITIONAL(HAVE_NETWORKMANAGER, test "$have_networkmanager" = "yes") - - PKG_CHECK_MODULES(CINNAMON_PERF_HELPER, gtk+-3.0 gio-2.0) - -@@ -250,3 +282,15 @@ AC_CONFIG_FILES([ - files/Makefile - ]) - AC_OUTPUT -+ -+echo " -+Build configuration: -+ -+ Prefix: ${prefix} -+ Source code location: ${srcdir} -+ Compiler: ${CC} -+ Compiler Warnings: $enable_compile_warnings -+ -+ Support for NetworkManager: $have_networkmanager -+ Support for GStreamer recording: $build_recorder -+" -diff --git a/js/misc/config.js.in b/js/misc/config.js.in -index 704989b..df7e014 100644 ---- a/js/misc/config.js.in -+++ b/js/misc/config.js.in -@@ -8,5 +8,7 @@ const PACKAGE_VERSION = '@PACKAGE_VERSION@'; - const GJS_VERSION = '@GJS_VERSION@'; - /* 1 if gnome-bluetooth is available, 0 otherwise */ - const HAVE_BLUETOOTH = @HAVE_BLUETOOTH@; -+/* 1 if networkmanager is available, 0 otherwise */ -+const HAVE_NETWORKMANAGER = @HAVE_NETWORKMANAGER@; - /* The system TLS CA list */ - const CINNAMON_SYSTEM_CA_FILE = '@CINNAMON_SYSTEM_CA_FILE@'; -diff --git a/js/ui/main.js b/js/ui/main.js -index daeb4f7..2be3018 100644 ---- a/js/ui/main.js -+++ b/js/ui/main.js -@@ -14,6 +14,7 @@ const St = imports.gi.St; - - const AutomountManager = imports.ui.automountManager; - const AutorunManager = imports.ui.autorunManager; -+const Config = imports.misc.config; - const EndSessionDialog = imports.ui.endSessionDialog; - const PolkitAuthenticationAgent = imports.ui.polkitAuthenticationAgent; - const Environment = imports.ui.environment; -@@ -27,7 +28,7 @@ const PlacesManager = imports.ui.placesManager; - const RunDialog = imports.ui.runDialog; - const Layout = imports.ui.layout; - const LookingGlass = imports.ui.lookingGlass; --const NetworkAgent = imports.ui.networkAgent; -+const NetworkAgent = Config.HAVE_NETWORKMANAGER ? imports.ui.networkAgent : null; - const NotificationDaemon = imports.ui.notificationDaemon; - const WindowAttentionHandler = imports.ui.windowAttentionHandler; - const Scripting = imports.ui.scripting; -@@ -103,7 +104,9 @@ function _createUserSession() { - placesManager = new PlacesManager.PlacesManager(); - automountManager = new AutomountManager.AutomountManager(); - autorunManager = new AutorunManager.AutorunManager(); -- networkAgent = new NetworkAgent.NetworkAgent(); -+ if (Config.HAVE_NETWORKMANAGER) { -+ networkAgent = new NetworkAgent.NetworkAgent(); -+ } - } - - function _createGDMSession() { -diff --git a/js/ui/panel.js b/js/ui/panel.js -index 677d907..25ea0c6 100644 ---- a/js/ui/panel.js -+++ b/js/ui/panel.js -@@ -44,7 +44,8 @@ if (Config.HAVE_BLUETOOTH) - STANDARD_STATUS_AREA_CINNAMON_IMPLEMENTATION['bluetooth'] = imports.ui.status.bluetooth.Indicator; - - try { -- STANDARD_STATUS_AREA_CINNAMON_IMPLEMENTATION['network'] = imports.ui.status.network.NMApplet; -+ if (Config.HAVE_NETWORKMANAGER) -+ STANDARD_STATUS_AREA_CINNAMON_IMPLEMENTATION['network'] = imports.ui.status.network.NMApplet; - } catch(e) { - log('NMApplet is not supported. It is possible that your NetworkManager version is too old'); - } -diff --git a/src/Makefile.am b/src/Makefile.am -index 182bf17..54770e7 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -108,9 +108,7 @@ cinnamon_public_headers_h = \ - cinnamon-generic-container.h \ - cinnamon-gtk-embed.h \ - cinnamon-global.h \ -- cinnamon-mobile-providers.h \ - cinnamon-mount-operation.h \ -- cinnamon-network-agent.h \ - cinnamon-perf-log.h \ - cinnamon-slicer.h \ - cinnamon-stack.h \ -@@ -145,9 +143,7 @@ libcinnamon_la_SOURCES = \ - cinnamon-generic-container.c \ - cinnamon-gtk-embed.c \ - cinnamon-global.c \ -- cinnamon-mobile-providers.c \ - cinnamon-mount-operation.c \ -- cinnamon-network-agent.c \ - cinnamon-perf-log.c \ - cinnamon-polkit-authentication-agent.h \ - cinnamon-polkit-authentication-agent.c \ -@@ -161,6 +157,10 @@ libcinnamon_la_SOURCES = \ - cinnamon-wm.c \ - cinnamon-xfixes-cursor.c - -+if HAVE_NETWORKMANAGER -+libcinnamon_la_SOURCES += cinnamon-mobile-providers.h cinnamon-mobile-providers.c cinnamon-network-agent.h cinnamon-network-agent.c -+endif -+ - libcinnamon_la_gir_sources = \ - $(filter-out %-private.h $(cinnamon_recorder_non_gir_sources), $(cinnamon_public_headers_h) $(libcinnamon_la_SOURCES)) - -@@ -272,7 +272,10 @@ libcinnamon_la_LIBADD = \ - libcinnamon_la_CPPFLAGS = $(cinnamon_cflags) - - Cinnamon-0.1.gir: libcinnamon.la St-1.0.gir --Cinnamon_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 TelepathyLogger-0.2 Soup-2.4 GMenu-3.0 NetworkManager-1.0 NMClient-1.0 Folks-0.6 -+Cinnamon_0_1_gir_INCLUDES = Clutter-1.0 ClutterX11-1.0 Meta-3.0 TelepathyGLib-0.12 TelepathyLogger-0.2 Soup-2.4 GMenu-3.0 Folks-0.6 -+if HAVE_NETWORKMANAGER -+Cinnamon_0_1_gir_INCLUDES += NetworkManager-1.0 NMClient-1.0 -+endif - Cinnamon_0_1_gir_CFLAGS = $(libcinnamon_la_CPPFLAGS) -I $(srcdir) - Cinnamon_0_1_gir_LIBS = libcinnamon.la - Cinnamon_0_1_gir_FILES = $(libcinnamon_la_gir_sources) --- -1.7.8.4 - |