From j.e.drews@worldnet.att.net  Sun May 18 21:17:41 2003
Return-Path: <j.e.drews@worldnet.att.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D358037B401
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2003 21:17:41 -0700 (PDT)
Received: from mtiwmhc13.worldnet.att.net (mtiwmhc13.worldnet.att.net [204.127.131.117])
	by mx1.FreeBSD.org (Postfix) with ESMTP id EE25D43FA3
	for <FreeBSD-gnats-submit@freebsd.org>; Sun, 18 May 2003 21:17:40 -0700 (PDT)
	(envelope-from j.e.drews@worldnet.att.net)
Received: from 154.st-louis-101-102rs.mo.dial-access.att.net ([12.85.104.154])
          by mtiwmhc13.worldnet.att.net (mtiwmhc13) with SMTP
          id <20030519041738113003jreue>; Mon, 19 May 2003 04:17:38 +0000
Message-Id: <200305182321.35679.j.e.drews@worldnet.att.net>
Date: Sun, 18 May 2003 23:21:35 -0500
From: Jonathan <j.e.drews@worldnet.att.net>
To: FreeBSD-gnats-submit@freebsd.org
Subject: Ted-2.14 crashes when opening help

>Number:         52418
>Category:       ports
>Synopsis:       Ted-2.14 crashes when opening help
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 18 21:20:13 PDT 2003
>Closed-Date:    Mon May 19 15:55:20 PDT 2003
>Last-Modified:  Mon Jul 05 17:00:36 GMT 2004
>Originator:     Jonathan Drews
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD analytic.engine 4.8-STABLE FreeBSD 4.8-STABLE #0: Sun May 18 
01:25:29 CDT
2003 root@analytic.engine:/usr/obj/usr/src/sys/STABLE_48 i386

      
          AMD Athlon, FreeBSD 4.8, ?, ?
>Description:
        Clicking on the Help->Document twice in a row causes Ted to crash
>How-To-Repeat:
        
1) Start Ted
2) At the splash screen, click on Help->Document
3) Do this a second time
4) Crash !

>Fix:

To fix the problem:
1) Install  the port /usr/ports/x11-toolkits/open-motif/
2) comment out the lines in the Makefile of /usr/ports/editors/ted
as shown below:

--- /home/bsd/Makefile.Ted.org	Sun May 18 21:02:47 2003
+++ Makefile	Sun May 18 22:49:04 2003
@@ -23,12 +23,12 @@

 USE_X_PREFIX=	yes
 USE_XPM=	yes
-USE_GNOME=	gtk12
+#USE_GNOME=	gtk12
 USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_TARGET=	--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ENV=	CC="${CC}" CFLAGS="${CFLAGS}"
-CONFIGURE_ARGS=	--with-GTK
+#CONFIGURE_ARGS=	--with-GTK
 MAKE_ENV=	DEF_AFMDIR="-DAFMDIR=\"\\\"${AFMDIR}\\\"\"" \
 		DEF_INDDIR="-DINDDIR=\"\\\"${INDDIR}\\\"\"" \
 		DEF_DOCUMENT_DIR="-DDOCUMENT_DIR=\"\\\"${INFODIR}/\\\"\""

3) Now run make and make install in the original port. ted will not crash and 
should work very well.

NOTE: The developer of Ted seems to indicate that their were problems with 
gtk+. From   http://www.nllgg.nl/Ted/

"Ted 2.11 can be compiled with the GTK+ 1.2.8 toolkit or a later version. The 
GTK version is not complete and should be seen as step in the right 
direction. Not as a finished piece of software."
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: lioux 
State-Changed-When: Mon May 19 15:55:18 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=52418 
>Unformatted:
 To: FreeBSD-gnats-submit@freebsd.org
 From: Jonathan Drews
 Reply-To: j.e.drews@att.net
 Cc:
 X-send-pr-version: 3.113
 X-GNATS-Notify:
