Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 44766
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: GNU Emacs Team <emacs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Ulrich Müller <ulm@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
emacs-18.59.ebuild emacs-18.59.ebuild text/plain Ulrich Müller 2004-03-15 13:27 0000 1.62 KB Details
emacs-18.59-unexelf.patch files/emacs-18.59-unexelf.patch patch Ulrich Müller 2004-03-15 13:28 0000 30.00 KB Details | Diff
emacs-18.59-gentoo.patch files/emacs-18.59-gentoo.patch patch Ulrich Müller 2004-03-15 13:29 0000 3.81 KB Details | Diff
emacs-18.59.ebuild emacs-18.59.ebuild text/plain Ulrich Müller 2004-03-16 04:55 0000 1.69 KB Details
emacs-18.59-r1.ebuild emacs-18.59-r1.ebuild text/plain Ulrich Müller 2007-02-11 09:52 0000 2.83 KB Details
emacs-18.59-gcc4.patch files/emacs-18.59-gcc4.patch patch Ulrich Müller 2007-02-11 09:53 0000 27.65 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 44766 depends on: Show dependency tree
Bug 44766 blocks:
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: 2004-03-15 13:17 0000
Hello,

Please find attached emacs-18.59.ebuild, based on Emacs 18.59 with
Noah Friedman's Linux/ELF modifications. I habe included two more
patches:
- recent unexec code (emacs-18.59-unexelf.patch)
- minor changes, compiler and terminal related (emacs-18.59-gentoo.patch)

The program was compiled and tested for x86 under the following systems:

   Linux       Gentoo     gcc      glibc               ncurses   xfree
   2.6.3-mm3   1.4.3.13   3.3.3    2.3.3_pre20040207   5.3       4.3.0
   2.2.26      1.4.3.13   2.95.3   2.2.5               5.4       (none)

Before you tell me how utterly useless such an old Emacs version is,
here is some motivation:

We use embedded systems for physics data acquisition and slow control,
the smallest of them are diskless and have only 16 MB of memory. Recent
Emacs versions use too much of the systems' resources and start up
slowly. In comparison, Emacs 18 is rather lean, as you can see from
the "ps v" output (the last line is from a different system):
  PID TTY      STAT   TIME  MAJFL   TRS   DRS  RSS %MEM COMMAND
 1269 ttyp0    T      0:00    112   127  1456  528  3.6 vi
 1270 ttyp0    T      0:00    175    94  1597  760  5.3 nano
 1271 ttyp0    T      0:00    318   258  2093 1300  9.0 emacs      # 18.59
27607 pts/151  T      0:00      0  1294 11921 5496  1.0 emacs -nw  # 21.3

In addition, it provides the same user interface and uses the same
extension language as newer Emacs versions (except for missing features,
of course). At least for us it is the ideal solution for occasional
editing on our DAQ systems.

Uli

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Ulrich Müller 2004-03-15 13:27:58 0000 -------
Created an attachment (id=27414) [details]
emacs-18.59.ebuild

------- Comment #2 From Ulrich Müller 2004-03-15 13:28:54 0000 -------
Created an attachment (id=27415) [details]
files/emacs-18.59-unexelf.patch

------- Comment #3 From Ulrich Müller 2004-03-15 13:29:54 0000 -------
Created an attachment (id=27416) [details]
files/emacs-18.59-gentoo.patch

------- Comment #4 From Ulrich Müller 2004-03-16 04:55:09 0000 -------
Created an attachment (id=27464) [details]
emacs-18.59.ebuild

Oops. Had submitted wrong version of the file.

------- Comment #5 From Matthew Kennedy (RETIRED) 2004-05-13 08:32:38 0000 -------
Thanks for the port, Uli.  I hope you dont mind: I appended -18.59 to the
produced binaries and man page so that emacs-21.3 and emacs-18.59 could be
installed simultaneously (eg. /usr/bin/emacs-18.59).  I also added  another
patch to fix various things GCC 3.4 doesn't like.

*emacs-21.3-r3 (13 May 2004)

  13 May 2004; <mkennedy@gentoo.org> +files/emacs-18.59-gcc-gentoo.patch,
  +files/emacs-18.59-gentoo.patch, +files/emacs-18.59-unexelf.patch,
  +emacs-18.59.ebuild, +emacs-21.3-r3.ebuild:
  Added retro emacs-18.59 w/ SLOT=1 (ebuild contributed by Ulrich Mueller
  <ulm@kph.uni-mainz.de>), resolves Bug #44766; Added new emacs-21.3-r3
  with support for using LessTif instead of OpenMotif (OpenMotif has
  problems which causes Emacs to be unstable); Marked emacs-21.3-r3 as
  ~arch.

------- Comment #6 From Ulrich Müller 2004-05-13 15:58:14 0000 -------
Matthew,
thank you for accepting the ebuild.

Unfortunately, emacs-18.59-gcc-gentoo.patch breaks compilation with gcc 2.95
(options -falign-* are not known in that gcc version).

------- Comment #7 From Matthew Kennedy (RETIRED) 2004-05-16 23:03:10 0000 -------
thanks for the note. they have been removed from patch

------- Comment #8 From Ulrich Müller 2007-02-11 09:51:09 0000 -------
Hello again,
version 18.59 was removed some time ago, which was of course justified since it
could not be compiled with GCC 4.

Please find attached an updated version of the ebuild (based on the last versio
n in portage), together with emacs-18.59-gcc4.patch.

The package compiles and runs with gcc-4.1.1, glibc-2.5, kernel 2.6.20, and
modular X (xorg-x11-7.2).

Reopening. See also bug #122215 comment #5 on why this should be added to the
tree again. ;-)

------- Comment #9 From Ulrich Müller 2007-02-11 09:52:24 0000 -------
Created an attachment (id=109828) [details]
emacs-18.59-r1.ebuild

------- Comment #10 From Ulrich Müller 2007-02-11 09:53:24 0000 -------
Created an attachment (id=109829) [details]
files/emacs-18.59-gcc4.patch

------- Comment #11 From Christian Faulhammer 2007-02-11 10:11:14 0000 -------
So you really want it...:)  Let me have a look and in the next days I will
probably commit it.

------- Comment #12 From Ulrich Müller 2007-02-13 11:23:18 0000 -------
One additional note (forgot to mention this): emacs-18.59.ebuild had SLOT=1
(see comment #5); however, the updated ebuild has SLOT=18. I don't know if it
is necessary if an ebuild was removed from the tree, but I think a "slotmove
=app-editors/emacs-18.* 1 18" in profiles/updates should not harm.

------- Comment #13 From Christian Faulhammer 2007-02-14 14:54:35 0000 -------
I reworked here and there, it works great, so I commited it back. 
See bug 166839 for the ongoing keywording.

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