[89019] trunk/dports/gnome/gnome-session

dports at macports.org dports at macports.org
Tue Jan 17 16:42:07 PST 2012


Revision: 89019
          http://trac.macports.org/changeset/89019
Author:   dports at macports.org
Date:     2012-01-17 16:42:06 -0800 (Tue, 17 Jan 2012)
Log Message:
-----------
gnome-session: do not check for a dbus session using the
DBUS_SESSION_BUS_ADDRESS environment variable; on OS X, dbus is
started by launchd and does not set this variable (#29409)

Modified Paths:
--------------
    trunk/dports/gnome/gnome-session/Portfile

Added Paths:
-----------
    trunk/dports/gnome/gnome-session/files/
    trunk/dports/gnome/gnome-session/files/patch-gnome-session_main.c.diff

Modified: trunk/dports/gnome/gnome-session/Portfile
===================================================================
--- trunk/dports/gnome/gnome-session/Portfile	2012-01-17 19:54:46 UTC (rev 89018)
+++ trunk/dports/gnome/gnome-session/Portfile	2012-01-18 00:42:06 UTC (rev 89019)
@@ -5,6 +5,7 @@
 
 name                gnome-session
 version             2.32.1
+revision            1
 license             LGPL-2+
 set branch          [join [lrange [split ${version} .] 0 1] .]
 description         Session component for the GNOME 2 desktop
@@ -31,6 +32,8 @@
 
 use_bzip2           yes
 
+patchfiles          patch-gnome-session_main.c.diff
+
 configure.args      --x-includes=${prefix}/include \
                     --x-libraries=${prefix}/lib \
                     --with-gtk=2.0 \

Added: trunk/dports/gnome/gnome-session/files/patch-gnome-session_main.c.diff
===================================================================
--- trunk/dports/gnome/gnome-session/files/patch-gnome-session_main.c.diff	                        (rev 0)
+++ trunk/dports/gnome/gnome-session/files/patch-gnome-session_main.c.diff	2012-01-18 00:42:06 UTC (rev 89019)
@@ -0,0 +1,14 @@
+--- ./gnome-session/main.c.orig	2012-01-17 19:30:28.000000000 -0500
++++ ./gnome-session/main.c	2012-01-17 19:31:34.000000000 -0500
+@@ -442,11 +442,6 @@
+                 { NULL, 0, 0, 0, NULL, NULL, NULL }
+         };
+ 
+-        /* Make sure that we have a session bus */
+-        if (!require_dbus_session (argc, argv, &error)) {
+-                gsm_util_init_error (TRUE, "%s", error->message);
+-        }
+-
+         bindtextdomain (GETTEXT_PACKAGE, LOCALE_DIR);
+         bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
+         textdomain (GETTEXT_PACKAGE);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120117/817fd46f/attachment.html>


More information about the macports-changes mailing list