Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 31740 - /usr/bin/spe script does not work
Summary: /usr/bin/spe script does not work
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Rob Cakebread (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-10-22 05:50 UTC by gentoo
Modified: 2003-12-14 04:20 UTC (History)
0 users

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


Attachments
spe-0.4.1d-r1.ebuild (spe-0.4.1d-r1.ebuild,691 bytes, text/plain)
2003-10-22 05:52 UTC, gentoo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gentoo 2003-10-22 05:50:55 UTC
The script spe that is installed to /usr/bin is for windows and therefore does
not work. 
The attached ebuild fixes this.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 gentoo 2003-10-22 05:52:22 UTC
Created attachment 19616 [details]
spe-0.4.1d-r1.ebuild
Comment 2 Rob Cakebread (RETIRED) gentoo-dev 2003-10-22 09:54:19 UTC
Thanks Tina, I added your change.
Comment 3 Brendan 2003-11-20 14:48:41 UTC
Now admittedly I never got this ebuild to work, but a couple concerns struck me that might matter who those who do:

1) The SPE package includes wxGlade (bug#29002), so perhaps either (a) the SPE ebuild should inject wxGlade into the list of installed packages, or (b) make wxGlade a dependency, so that the wxGlade ebuild has exclusive right to install it, and the SPE ebuild might delete SPE's wxGlade files before installing, and create a symlink to the actual wxGlade installation.

2) The SPE-*.zip package consists entirely of files in DOS text format.  Perhaps dos2unix should be made a dependency, and the files should be converted to unix format, to avoid inconsistencies.  I have found trouble, for example, running diff on a mixture of dos and unix text files.

As an aside, there ought to be a doc somewhere that discusses using and testing ebuilds downloaded from bugs.gentoo.org .
Comment 4 gentoo 2003-12-14 04:20:35 UTC
1) I'll ask the author of spe what he plans to do with wxGlade in the future.
2) spe isn't the only package with this "problem", it's the same with e.g. boa - the wxpython ide. As long as you don't want to execute such a file from the shell it doesn't matter anyway. python has no problems with those lineendings. Only the startscript /usr/bin/spe needs to be correct (and which this patch was for).

Btw. there exists a new spe version and I'm going to submit a new ebuild for this soon (if this hasn't already been done).