Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2008 10:28:16 -0400 (EDT)
From:      Robert Noland <rnoland@2hip.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        gnome@FreeBSD.org
Subject:   ports/124398: [PATCH] x11/gdm: Start seahorse-agent if it exists
Message-ID:  <200806081428.m58ESGkX053596@wombat.2hip.net>
Resent-Message-ID: <200806081510.m58FA1LJ014429@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         124398
>Category:       ports
>Synopsis:       [PATCH] x11/gdm: Start seahorse-agent if it exists
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 08 15:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Robert Noland
>Release:        FreeBSD 8.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD wombat.2hip.net 8.0-CURRENT FreeBSD 8.0-CURRENT #11: Fri Jun  6 21:48:05 EDT
>Description:
seahorse-agent should be started as the parent of gnome-session as described
in http://live.gnome.org/Seahorse/SessionIntegration.

Added file(s):
- files/patch-config_Xsession.in

Port maintainer (gnome@FreeBSD.org) is cc'd.

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- gdm-2.20.6_2.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/x11/gdm/Makefile,v
retrieving revision 1.101
diff -u -r1.101 Makefile
--- Makefile	6 Jun 2008 14:08:57 -0000	1.101
+++ Makefile	8 Jun 2008 14:25:24 -0000
@@ -8,7 +8,7 @@
 
 PORTNAME=	gdm
 PORTVERSION=	2.20.6
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	x11 gnome
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
Index: files/patch-config_Xsession.in
===================================================================
RCS file: files/patch-config_Xsession.in
diff -N files/patch-config_Xsession.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-config_Xsession.in	8 Jun 2008 14:25:24 -0000
@@ -0,0 +1,17 @@
+--- config/Xsession.in.orig	2008-06-08 09:54:23.000000000 -0400
++++ config/Xsession.in	2008-06-08 09:56:36.000000000 -0400
+@@ -231,6 +231,14 @@
+   fi
+ fi
+ 
++# add seahorse-agent if found
++seahorseagent="`gdmwhich seahorse-agent`"
++if [ -n "$seahorseagent" ] && [ -x "$seahorseagent" ] ; then
++    command="$seahorseagent --execute $command"
++elif [ -z "$seahorseagent" ] ; then
++    echo "$0: seahorse-agent not found!"
++fi
++ 
+ # add ssh-agent if found
+ sshagent="`gdmwhich ssh-agent`"
+ if [ -n "$sshagent" ] && [ -x "$sshagent" ] && [ -z "$SSH_AUTH_SOCK" ]; then
--- gdm-2.20.6_2.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806081428.m58ESGkX053596>