View Single Post
  #5   (View Single Post)  
Old 20th November 2009
jggimi's Avatar
jggimi jggimi is offline
More noise than signal
 
Join Date: May 2008
Location: USA
Posts: 7,983
Default

I was not aware that this was a known, fixed problem, when I first replied.

The link that Antoine sent you is to a "for viewing" version of the fix. The log for the patch says (one of Antoine's e-mail addresses redacted):
Code:
CVSROOT:    /cvs Module name:    ports
 Changes by:    ajacoutot@cvs._______.org    2009/08/20 03:40:13

Modified files:
    x11/gnome/session: Makefile 

Log message:
Make sure gnome-session finds gconftool-2.

commiting on behalf of giovanni@
This bug is fixed in -current, but not 4.6-release. Nor is there, today, a 4.6-stable patch. You could apply it, and build the gnome-session port yourself. It requires:
  • The comp46.tgz file set. See FAQ 4.10 if it was not included when you installed or upgraded to 4.6-release.
  • The 4.6-release ports tree, available from your nearest mirror or CD set, per FAQ 15.3.2
  • The patch in unified diff form, which I have supplied, below.
  • A PKG_PATH environment variable set to: /usr/ports/packages/<your arch>/all/:ftp://<your nearest mirror>/pub/OpenBSD/4.6/packages/<your arch>/
  • A review of FAQ 15
  • These step-by-step instructions. Refer to FAQ 15, FAQ 5, patch(1), diff(1), make(1) as needed, do not blindly trust that what I type here is correct, I have not tested it:
# cd /usr/ports/x11/gnome/session
# patch < your.copy.of.the.unified.diff.patch.file
# make package
# pkg_add -r gnome-session
Here is the patch. Copy and paste it into a file on your OpenBSD system so you can use it as input to the patch(1) utility:
Code:
===================================================================
RCS file: /open/anoncvs/cvs/ports/x11/gnome/session/Makefile,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -r1.84 -r1.85
--- ports/x11/gnome/session/Makefile    2009/08/11 09:39:39    1.84
+++ ports/x11/gnome/session/Makefile    2009/08/20 10:40:13    1.85
@@ -1,10 +1,10 @@
-# $OpenBSD: Makefile,v 1.84 2009/08/11 08:39:39 ajacoutot Exp $
+# $OpenBSD: Makefile,v 1.85 2009/08/20 09:40:13 ajacoutot Exp $
 
 COMMENT=        GNOME session
 
 GNOME_PROJECT=        gnome-session
 GNOME_VERSION=        2.24.3
-PKGNAME=        ${DISTNAME}p18
+PKGNAME=        ${DISTNAME}p19
 
 CATEGORIES=        x11
 
@@ -66,6 +66,10 @@
             --disable-rebuilds
 CONFIGURE_ENV=        CPPFLAGS="-I${LOCALBASE}/include" \
             LDFLAGS="-L${LOCALBASE}/lib -lexecinfo"
+
+# XXX gconf2 MODULE changes this value but gsm-gconf.c uses this to
+# find the right path for gconftool-2
+CONFIGURE_ENV+=        GCONFTOOL=${LOCALBASE}/bin/gconftool-2
 
 MAKE_FLAGS=        XSLTPROC="${LOCALBASE}/bin/xsltproc -nonet"

Last edited by jggimi; 20th November 2009 at 08:50 PM.
Reply With Quote