Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 193411
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Science Mathematics related packages <sci-mathematics@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Christian Faulhammer <fauli@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
singular_emacs.patch Patch for the ebuild patch Christian Faulhammer 2007-09-22 13:56 0000 2.05 KB Details | Diff
60singular-gentoo.el Emacs site-file, to go to ${FILESDIR} text/plain Christian Faulhammer 2007-09-22 13:57 0000 401 bytes Details
60singular-gentoo.el site-file text/plain Christian Faulhammer 2007-09-22 16:00 0000 298 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 193411 depends on: Show dependency tree
Bug 193411 blocks: 184166
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-09-22 13:53 0000
As always, patches to follow.  Only octave is missing, then we are through with
you.

------- Comment #1 From Christian Faulhammer 2007-09-22 13:56:34 0000 -------
Created an attachment (id=131599) [details]
Patch for the ebuild

This fixes Emacs support:
- correct DEPEND
- byte-compilation of Elisp files
- no installation of ESingular, as it is spurious here, it also is coded quite
"creatively" and may contain a security issue
- use eclass functions to properly install all support files
- regenerate Emacs start file in postinst and postrm

------- Comment #2 From Christian Faulhammer 2007-09-22 13:57:43 0000 -------
Created an attachment (id=131600) [details]
Emacs site-file, to go to ${FILESDIR}

- Will activate code highlighting on sing files
- allows singular to be run from Emacs directly

------- Comment #3 From Christian Faulhammer 2007-09-22 13:59:27 0000 -------
(In reply to comment #1)
> - no installation of ESingular, as it is spurious here, it also is coded quite
> "creatively" and may contain a security issue

 No security issue, but the code is still very funky...upstream makes use of
mktemp, strcat and strcpy, that leaves room for a lot of vulnerabilities.

------- Comment #4 From Christian Faulhammer 2007-09-22 16:00:11 0000 -------
Created an attachment (id=131609) [details]
site-file

This is a bit improved as I attached a draft version instead of final the first
time.
My proposal to let users preserve the "ESingular experience" would be, that you
create a script 

#!/bin/sh
emacs --eval '(singular)'

This is similar to what ESingular did, but not the same, but better than
nothing.  Plus an ewarn line in the ebuild this should be enough.

------- Comment #5 From Markus Dittrich 2007-09-23 12:41:44 0000 -------
Hi Christian,

Thanks much! With regard to ESingular I really have no opinion since
I don't use emacs at all; your suggestion to create a wrapper sounds
fine to me and that's probably what I will do.

Thanks,
Markus

------- Comment #6 From Ulrich Müller 2007-09-23 12:50:13 0000 -------
(In reply to comment #5)
> With regard to ESingular I really have no opinion since I don't use emacs
> at all; your suggestion to create a wrapper sounds fine to me and that's
> probably what I will do.

Not sure if this is really needed. Emacs users typically have an Emacs open all
the time, so why would one start another one by the wrapper script?

------- Comment #7 From Markus Dittrich 2007-09-23 12:58:34 0000 -------
Good point, but there may be users who typically fire up
singular via "Esingular" and may be confused if it is gone;
hard to say. Maybe we should just do away with ESingular  
together with a nice big ewarn. If too many users complain
we could always consider providing a wrapper later on.
Does that sound reasonable?

Markus

------- Comment #8 From Christian Faulhammer 2007-09-24 05:58:27 0000 -------
(In reply to comment #7)
> Good point, but there may be users who typically fire up
> singular via "Esingular" and may be confused if it is gone;

 That was my intention after thinking about it again.

> hard to say. Maybe we should just do away with ESingular  
> together with a nice big ewarn. If too many users complain
> we could always consider providing a wrapper later on.
> Does that sound reasonable?

 That sounds like a solution to me.

------- Comment #9 From Ulrich Müller 2007-09-24 06:11:18 0000 -------
(In reply to comment #8)
> > Maybe we should just do away with ESingular together with a nice
> > big ewarn. If too many users complain we could always consider
> > providing a wrapper later on. Does that sound reasonable?
> 
>  That sounds like a solution to me.

+1

------- Comment #10 From Markus Dittrich 2007-09-30 10:29:50 0000 -------
This one has been fixed already last week but I somehow
forgot to close the bug.

Thanks a lot for the patches!

cheers,
Markus

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug