Corewars should recommend nedit

Bug #197132 reported by David Futcher
18
Affects Status Importance Assigned to Milestone
corewars (Debian)
Fix Released
Unknown
corewars (Ubuntu)
Triaged
Wishlist
Unassigned

Bug Description

Binary package hint: corewars

In order to edit a warrior in corewars using the built in edit button you must have nedit installed on the system. Corewars should suggest or recommend nedit when it is installed.

Related branches

Revision history for this message
Murat Gunes (mgunes) wrote :

Thanks for your report. Marking as Triaged.

Changed in corewars:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
James Westby (james-w) wrote :

Hi,

I attached the Debian bug report on this issue.

That proposes an alternative solution, call
sensible-editor, however Michael wasn't too
keen on that, as it would give a useless terminal
window when launching an X editor.

Also consider that this game is based on gtk1,
and so without a port to gtk2 it's days may be
numbered in Debian. I'm not sure whether a
port is underway.

Thanks,

James

Changed in corewars:
status: Unknown → New
Revision history for this message
Walter (moepot) wrote :

I think '/usr/bin/editor' should be linked to a console-based editor. Because of this it's okay to start gnome-terminal and execute the default console-based editor.
But why not implement a tick in "editor settings" of corewars to mark the editor as console-based or not? Also set the default editor in corewars to an editor that is installed by default in ubuntu like nano or so.

Greets,
pot

Revision history for this message
tisek (czechripper) wrote :

Your whole discussion is true, but what you are talking about is improvement, while this would need, I believe, a fix, and then a thought about improvement.

Revision history for this message
James Westby (james-w) wrote :

Hi tisek,

You are correct. The Debian bug report is very old, so I will send a
message to it to see how Michael feels about it now.

One comment about your change, the version should be 0.9.13-1ubuntu1
instead of -1build2, so that your changes don't get overwritten by
the autosyncer.

Thanks,

James

Revision history for this message
tisek (czechripper) wrote :

Hi James.

Thanks for your help and feedback.
This is actually my very first contribution, so I am not yet fully familiar with the whole system. I did read a lot about it, but it still isn't completely natural.

I will make another patch, hoping to get it better.

Thanks.

Revision history for this message
David Futcher (bobbo) wrote :

After looking into this package a bit more I have discovered that it has been abandoned upstream since 2002, so a GTK2 port is unlikely to happen. Also, the last change (except for a gtk1.2 rebuild in the Hardy cycle) was back in 2002. Therefore it is very out of date (standards version 3.5.6). Considering this, maybe it would be a better idea to remove this package from the archives.

Revision history for this message
tisek (czechripper) wrote :

New debdiff, with a better version number.

Revision history for this message
James Westby (james-w) wrote :

Hi tisek,

You're change is almost there, but there's something I missed the first
time around.

Where you have put "Suggests" now it applies to the "Source" part of
the control file, however, it's not valid to have a suggests there, and
even if it was it probably wouldn't be what you wanted.

After the empty line is a "Binary" section, which correponds to the
package that is built and installed by users. This is where the "Suggests"
line needs to go, as that is the package that you want to declare
the relationship with nedit.

Thanks,

James

Revision history for this message
tisek (czechripper) wrote :

Thank you James for being that didactic :)

Should be fine now I believe.

Revision history for this message
James Westby (james-w) wrote :

Hello again tisek,

Your change looks good to me now, unfortunately though I'm not
a MOTU, so I can't upload it.

There is discussion over whether this change is correct or worth it,
but if it is not uploaded then I hope you will not take it as a personal
insult and instead go on to fix something else.

Thanks,

James

Revision history for this message
tisek (czechripper) wrote :

No problem.
No matter the outcome of that fix, I still learned on the process, and did what was supposed to be done given the bug description. I leave the discussion about the utility of the fix to the guys above ;).

tisek

Revision history for this message
Daniel Holbach (dholbach) wrote :

Do you think you could add "(LP: #197132)" to the debian/changelog entry?

Revision history for this message
Daniel Holbach (dholbach) wrote : Unsubscribing Sponsors.

I'm unsubscribing the Sponsors' Team for now. Please re-subscribe when ready.

Revision history for this message
Felipe Xavier (lipe-loko94) wrote :

It was a long time ago since tisek posted his patch, so I did a patch for this bug :D

Felipe Xavier

Changed in corewars:
status: Triaged → Confirmed
Revision history for this message
Felipe Xavier (lipe-loko94) wrote :

Forget that patch, I did other patch that changes the default corewars' editor to editor instead of nedit ;D

Felipe Xavier

Revision history for this message
Felipe Xavier (lipe-loko94) wrote :

Sorry, I attached the file for intrepid, here is the debdiff for jaunty.

Felipe Xavier

Revision history for this message
James Westby (james-w) wrote :

Hi Felipe,

Thanks for looking at this.

The issue with doing the change to "editor" is that the editor is
probably set to a non-X-based editor, meaning that the user
wouldn't see the editor when they clicked the option.

Thanks,

James

Revision history for this message
Daniel Holbach (dholbach) wrote :

Sounds like an upstream problem. :-/

Also Felipe: try setting something like this in ~/.bashrc
export DEBFULLNAME='Daniel Holbach'
export <email address hidden>'

so your name and email address shows up in debian/changelog properly.

Revision history for this message
Daniel Holbach (dholbach) wrote :

I'm unsubscribing the Sponsors' Team for now. Please re-subscribe when ready.

Revision history for this message
Miguel Ruiz (mruiz) wrote :

Hi,

I'm working on it.

Cheers!

Changed in corewars (Ubuntu):
assignee: nobody → Miguel Ruiz (mruiz)
James Westby (james-w)
tags: removed: bitesize
Changed in corewars (Debian):
status: New → Fix Released
Revision history for this message
Nigel Babu (nigelbabu) wrote :

Please note that this package has been removed from Karmic and later releases.

Changed in corewars (Ubuntu):
assignee: Miguel Ruiz (mruiz) → nobody
status: Confirmed → Triaged
Nigel Babu (nigelbabu)
tags: added: patch-rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.