Bug 52418 - Ted-2.14 crashes when opening help
Summary: Ted-2.14 crashes when opening help
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-05-19 05:20 UTC by Jonathan
Modified: 2004-07-05 18:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan 2003-05-19 05:20:13 UTC
        Clicking on the Help->Document twice in a row causes Ted to 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:



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."--3VKJkCsJknblyWRr42GBQr4U3e1arUEf3HEaLQaIYlTy5hlb
Content-Type: text/plain; name="file.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="file.diff"

--- /home/bsd/Makefile.Ted.org	Sun May 18 21:02:47 2003
+++ Makefile	Sun May 18 22:49:04 2003
@@ -23,12 +23,12 @@
How-To-Repeat:         
1) Start Ted
2) At the splash screen, click on Help->Document
3) Do this a second time
4) Crash !
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2003-05-19 23:55:18 UTC
State Changed
From-To: open->closed

Committed, thanks!