Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 267567

Summary: app-editors/cooledit-3.17.17 not compatible with python
Product: Gentoo Linux Reporter: Frank Peters <frank.peters>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal CC: des-colo
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: cooledit-3.17.17-r1
no-python.patch
no-python2.patch
no-python3.patch
no-python4.patch
undefine-python.patch

Description Frank Peters 2009-04-26 16:24:02 UTC
Cooledit-3.17.17 crashes with no file loaded when attempting to enter text.  This has been traced to some sort of python issue.  Compiling cooledit without defining the HAVE_PYTHON variable will solve this issue.

I have no patch for this problem because the HAVE_PYTHON variable is defined during the configure potion of the build.  After configure, the HAVE_PYTHON variable can be deleted from the config.h file.  Running make will then create a cooledit executable that does not crash.

This bug is in addition to a previous report (#267536) of a separate issue that has been corrected by suppling a patch.
Comment 1 Frank Peters 2009-04-26 16:50:44 UTC
Compiling cooledit without the python bindings by eliminating the HAVE_PYTHON variable seems to solve this issue completely.

Cooledit uses python as an extension language for custom scripting but its removal has no effect on the ordinary editing capabilities.
Comment 2 Helmuth Schmelzer 2011-06-12 20:44:55 UTC
Created attachment 276834 [details]
cooledit-3.17.17-r1

Edited ebuild for app-editors/cooledit
Comment 3 Helmuth Schmelzer 2011-06-12 20:48:11 UTC
Created attachment 276836 [details, diff]
no-python.patch

Patch for deactivate python support, in cooledit, #1
Comment 4 Helmuth Schmelzer 2011-06-12 20:49:44 UTC
Created attachment 276838 [details, diff]
no-python2.patch

Patch for deactivate python support, in cooledit, #2
Comment 5 Helmuth Schmelzer 2011-06-12 20:50:38 UTC
Created attachment 276840 [details, diff]
no-python3.patch

Patch for deactivate python support, in cooledit, #3
Comment 6 Helmuth Schmelzer 2011-06-12 20:51:04 UTC
Created attachment 276842 [details, diff]
no-python4.patch

Patch for deactivate python support, in cooledit, #4
Comment 7 Helmuth Schmelzer 2011-06-12 20:51:46 UTC
Created attachment 276844 [details, diff]
undefine-python.patch

Undefine python support in cooledit
Comment 8 Ian Delaney (RETIRED) gentoo-dev 2011-09-08 22:18:33 UTC
thanks for patches
have prepared and tweaked them.
should be applied soon.
Comment 9 Markos Chandras (RETIRED) gentoo-dev 2011-09-10 17:41:41 UTC
Fixed. Thanks for the patches