From rnoland@wombat.2hip.net  Sun Jun  8 15:01:40 2008
Return-Path: <rnoland@wombat.2hip.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1DB7A1065671;
	Sun,  8 Jun 2008 15:01:40 +0000 (UTC)
	(envelope-from rnoland@wombat.2hip.net)
Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195])
	by mx1.freebsd.org (Postfix) with ESMTP id B838D8FC17;
	Sun,  8 Jun 2008 15:01:39 +0000 (UTC)
	(envelope-from rnoland@wombat.2hip.net)
Received: from wombat.2hip.net (adsl-154-162-206.bna.bellsouth.net [68.154.162.206])
	(authenticated bits=0)
	by gizmo.2hip.net (8.13.8/8.13.8) with ESMTP id m58ESNCi058898
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Sun, 8 Jun 2008 10:28:24 -0400 (EDT)
	(envelope-from rnoland@wombat.2hip.net)
Received: from wombat.2hip.net (localhost [127.0.0.1])
	by wombat.2hip.net (8.14.2/8.14.2) with ESMTP id m58ESG6r053598;
	Sun, 8 Jun 2008 10:28:16 -0400 (EDT)
	(envelope-from rnoland@wombat.2hip.net)
Received: (from rnoland@localhost)
	by wombat.2hip.net (8.14.2/8.14.2/Submit) id m58ESGkX053596;
	Sun, 8 Jun 2008 10:28:16 -0400 (EDT)
	(envelope-from rnoland)
Message-Id: <200806081428.m58ESGkX053596@wombat.2hip.net>
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: [PATCH] x11/gdm: Start seahorse-agent if it exists
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         124398
>Category:       ports
>Synopsis:       [PATCH] x11/gdm: Start seahorse-agent if it exists
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    gnome
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun 08 15:10:01 UTC 2008
>Closed-Date:    Sun Jun 08 19:23:33 UTC 2008
>Last-Modified:  Sun Jun  8 19:30:01 UTC 2008
>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:
Responsible-Changed-From-To: freebsd-ports-bugs->gnome 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Jun 8 15:10:09 UTC 2008 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124398 
State-Changed-From-To: open->closed 
State-Changed-By: marcus 
State-Changed-When: Sun Jun 8 19:23:24 UTC 2008 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124398 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/124398: commit references a PR
Date: Sun,  8 Jun 2008 19:23:15 +0000 (UTC)

 marcus      2008-06-08 19:23:11 UTC
 
   FreeBSD ports repository
 
   Modified files:
     x11/gdm              Makefile 
   Added files:
     x11/gdm/files        patch-config_Xsession.in 
   Log:
   Add the ability to spawn seahorse-agent from gdm rather than from every
   underlying session.  This is very similar to how many Linux distributions
   integrate seahorse-agent with GNOME.
   
   PR:             124398
   Submitted by:   Robert Noland <rnoland@2hip.net>
   
   Revision  Changes    Path
   1.102     +1 -1      ports/x11/gdm/Makefile
   1.1       +17 -0     ports/x11/gdm/files/patch-config_Xsession.in (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
