ports/124398: [PATCH] x11/gdm: Start seahorse-agent if it exists
Robert Noland
rnoland at 2hip.net
Sun Jun 8 15:10:02 UTC 2008
>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 at 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:
More information about the freebsd-ports-bugs
mailing list