diff options
author | gusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059> | 2014-04-16 04:23:23 +0800 |
---|---|---|
committer | gusi <gusi@df743ca5-7f9a-e211-a948-0013205c9059> | 2014-04-16 04:23:23 +0800 |
commit | 466190317e1cf4fa2dcd7f725691b67713aff689 (patch) | |
tree | bbbe1325076c77e650e5616e4eb9ffa871784456 | |
parent | ccaf2f108a9f57cabf9a82ded76ce567542a3dbd (diff) | |
download | marcuscom-ports-experimental-466190317e1cf4fa2dcd7f725691b67713aff689.tar.gz marcuscom-ports-experimental-466190317e1cf4fa2dcd7f725691b67713aff689.tar.zst marcuscom-ports-experimental-466190317e1cf4fa2dcd7f725691b67713aff689.zip |
Update gnome-session to 3.12.1. Remove patch-gnome-session_gsm-consolekit.c
because it got committed upstream in ad66350c85280
git-svn-id: svn://creme-brulee.marcuscom.com/ports-experimental/trunk@19534 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r-- | x11/gnome-session/Makefile | 5 | ||||
-rw-r--r-- | x11/gnome-session/distinfo | 4 | ||||
-rw-r--r-- | x11/gnome-session/files/patch-gnome-session_gsm-consolekit.c | 173 |
3 files changed, 4 insertions, 178 deletions
diff --git a/x11/gnome-session/Makefile b/x11/gnome-session/Makefile index 7125ec5..38d1c57 100644 --- a/x11/gnome-session/Makefile +++ b/x11/gnome-session/Makefile @@ -1,10 +1,9 @@ # Created by: Joe Marcus Clarke <marcus@FreeBSD.org> # $FreeBSD$ -# $MCom: ports-experimental/trunk/x11/gnome-session/Makefile 19426 2014-04-01 08:55:12Z gusi $ +# $MCom$ PORTNAME= gnome-session -PORTVERSION= 3.12.0 -PORTREVISION= 2 +PORTVERSION= 3.12.1 CATEGORIES= x11 gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome3 diff --git a/x11/gnome-session/distinfo b/x11/gnome-session/distinfo index 9576b04..ec98d82 100644 --- a/x11/gnome-session/distinfo +++ b/x11/gnome-session/distinfo @@ -1,2 +1,2 @@ -SHA256 (gnome3/gnome-session-3.12.0.tar.xz) = a39306c46f153c857797f71d0cb8aad041b173d5e6acec7e47abcb3836d952d3 -SIZE (gnome3/gnome-session-3.12.0.tar.xz) = 746876 +SHA256 (gnome3/gnome-session-3.12.1.tar.xz) = fa308771ac18bc5f77e5a5be3b2d93df1625168cb40167c1dfa898e9006e25d3 +SIZE (gnome3/gnome-session-3.12.1.tar.xz) = 718380 diff --git a/x11/gnome-session/files/patch-gnome-session_gsm-consolekit.c b/x11/gnome-session/files/patch-gnome-session_gsm-consolekit.c deleted file mode 100644 index c270fb6..0000000 --- a/x11/gnome-session/files/patch-gnome-session_gsm-consolekit.c +++ /dev/null @@ -1,173 +0,0 @@ -From 858ef953928933d516a90b30873eea5d8f1d452b Mon Sep 17 00:00:00 2001 -From: Ryan Lortie <desrt@desrt.ca> -Date: Wed, 26 Mar 2014 12:04:14 -0400 -Subject: [PATCH] Don't disable ConsoleKit with new upower - -ConsoleKit is still useful, even if we can't suspend/hibernate using -upower anymore. Don't disable the whole thing. - -https://bugzilla.gnome.org/show_bug.cgi?id=727099 - - -diff -u -r gnome-session/Makefile.am gnome-session/Makefile.am ---- gnome-session/Makefile.am 2014-03-26 12:12:00.000000000 -0400 -+++ gnome-session/Makefile.am 2014-03-26 12:12:14.000000000 -0400 -@@ -59,9 +59,7 @@ - gsm-xsmp-server.c \ - gsm-xsmp-server.h - --if HAVE_OLD_UPOWER - gnome_session_SOURCES += gsm-consolekit.c gsm-consolekit.h --endif - - gnome_session_CPPFLAGS = \ - $(AM_CPPFLAGS) \ -diff -u -r gnome-session/Makefile.in gnome-session/Makefile.in ---- gnome-session/Makefile.in 2014-03-26 12:12:00.000000000 -0400 -+++ gnome-session/Makefile.in 2014-03-26 12:12:38.000000000 -0400 -@@ -83,7 +83,7 @@ - libexec_PROGRAMS = gnome-session-failed$(EXEEXT) - noinst_PROGRAMS = test-client-dbus$(EXEEXT) test-inhibit$(EXEEXT) \ - test-process-helper$(EXEEXT) --@HAVE_OLD_UPOWER_TRUE@am__append_1 = gsm-consolekit.c gsm-consolekit.h -+am__append_1 = gsm-consolekit.c gsm-consolekit.h - subdir = gnome-session - DIST_COMMON = $(srcdir)/Makefile.in $(srcdir)/Makefile.am \ - $(top_srcdir)/depcomp README -@@ -125,8 +125,8 @@ - gsm-shell-extensions.h gsm-shell.c gsm-shell.h \ - gsm-xsmp-server.c gsm-xsmp-server.h gsm-consolekit.c \ - gsm-consolekit.h --@HAVE_OLD_UPOWER_TRUE@am__objects_1 = \ --@HAVE_OLD_UPOWER_TRUE@ gnome_session-gsm-consolekit.$(OBJEXT) -+am__objects_1 = \ -+ gnome_session-gsm-consolekit.$(OBJEXT) - am_gnome_session_OBJECTS = gnome_session-gsm-app.$(OBJEXT) \ - gnome_session-gsm-autostart-app.$(OBJEXT) \ - gnome_session-gsm-client.$(OBJEXT) \ -diff -u -r gnome-session/gsm-consolekit.c gnome-session/gsm-consolekit.c ---- gnome-session/gsm-consolekit.c 2014-03-26 12:12:00.000000000 -0400 -+++ gnome-session/gsm-consolekit.c 2014-03-26 12:12:14.000000000 -0400 -@@ -29,8 +29,10 @@ - #include <dbus/dbus-glib.h> - #include <dbus/dbus-glib-lowlevel.h> - -+#ifdef HAVE_OLD_UPOWER - #define UPOWER_ENABLE_DEPRECATED 1 - #include <upower.h> -+#endif - - #include "gsm-system.h" - #include "gsm-consolekit.h" -@@ -54,7 +56,9 @@ - DBusGProxy *bus_proxy; - DBusGProxy *ck_proxy; - DBusGProxy *session_proxy; -+#ifdef HAVE_OLD_UPOWER - UpClient *up_client; -+#endif - - gboolean is_active; - gboolean restarting; -@@ -304,8 +308,10 @@ - G_CALLBACK (on_active_changed), manager, NULL); - } - -+#ifdef HAVE_OLD_UPOWER - g_clear_object (&manager->priv->up_client); - manager->priv->up_client = up_client_new (); -+#endif - - is_connected = TRUE; - -@@ -382,7 +388,9 @@ - g_clear_object (&manager->priv->ck_proxy); - g_clear_object (&manager->priv->session_proxy); - g_clear_object (&manager->priv->session_id); -+#ifdef HAVE_OLD_UPOWER - g_clear_object (&manager->priv->up_client); -+#endif - - if (manager->priv->dbus_connection != NULL) { - DBusConnection *connection; -@@ -951,7 +959,11 @@ - { - GsmConsolekit *consolekit = GSM_CONSOLEKIT (system); - -+#ifdef HAVE_OLD_UPOWER - return up_client_get_can_suspend (consolekit->priv->up_client); -+#else -+ return FALSE; -+#endif - } - - static gboolean -@@ -959,12 +971,17 @@ - { - GsmConsolekit *consolekit = GSM_CONSOLEKIT (system); - -+#ifdef HAVE_OLD_UPOWER - return up_client_get_can_hibernate (consolekit->priv->up_client); -+#else -+ return FALSE; -+#endif - } - - static void - gsm_consolekit_suspend (GsmSystem *system) - { -+#ifdef HAVE_OLD_UPOWER - GsmConsolekit *consolekit = GSM_CONSOLEKIT (system); - GError *error = NULL; - gboolean ret; -@@ -974,11 +991,13 @@ - g_warning ("Unexpected suspend failure: %s", error->message); - g_error_free (error); - } -+#endif - } - - static void - gsm_consolekit_hibernate (GsmSystem *system) - { -+#ifdef HAVE_OLD_UPOWER - GsmConsolekit *consolekit = GSM_CONSOLEKIT (system); - GError *error = NULL; - gboolean ret; -@@ -988,6 +1007,7 @@ - g_warning ("Unexpected hibernate failure: %s", error->message); - g_error_free (error); - } -+#endif - } - - static void -diff -u -r gnome-session/gsm-system.c gnome-session/gsm-system.c ---- gnome-session/gsm-system.c 2014-03-26 12:12:00.000000000 -0400 -+++ gnome-session/gsm-system.c 2014-03-26 12:14:29.000000000 -0400 -@@ -22,9 +22,7 @@ - #include <glib/gi18n.h> - - #include "gsm-system.h" --#ifdef HAVE_OLD_UPOWER - #include "gsm-consolekit.h" --#endif - #include "gsm-systemd.h" - - enum { -@@ -254,14 +252,13 @@ - g_debug ("Using systemd for session tracking"); - } - } --#ifdef HAVE_OLD_UPOWER -+ - if (system == NULL) { - system = GSM_SYSTEM (gsm_consolekit_new ()); - if (system != NULL) { - g_debug ("Using ConsoleKit for session tracking"); - } - } --#endif - - if (system == NULL) { - system = g_object_new (gsm_system_null_get_type (), NULL); |