Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 267567 - app-editors/cooledit-3.17.17 not compatible with python
Summary: app-editors/cooledit-3.17.17 not compatible with python
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-26 16:24 UTC by Frank Peters
Modified: 2011-09-10 17:41 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
cooledit-3.17.17-r1 (cooledit-3.17.17.ebuild,1.48 KB, application/octet-stream)
2011-06-12 20:44 UTC, Helmuth Schmelzer
Details
no-python.patch (no-python.patch,67.31 KB, patch)
2011-06-12 20:48 UTC, Helmuth Schmelzer
Details | Diff
no-python2.patch (no-python2.patch,2.58 KB, patch)
2011-06-12 20:49 UTC, Helmuth Schmelzer
Details | Diff
no-python3.patch (no-python3.patch,1.32 KB, patch)
2011-06-12 20:50 UTC, Helmuth Schmelzer
Details | Diff
no-python4.patch (no-python4.patch,1.37 KB, patch)
2011-06-12 20:51 UTC, Helmuth Schmelzer
Details | Diff
undefine-python.patch (undefine-python.patch,380 bytes, patch)
2011-06-12 20:51 UTC, Helmuth Schmelzer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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