Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#23165 closed update (fixed)

emacs: update to 23.1 & create emacs22 port

Reported by: drkp (Dan Ports) Owned by: blair (Blair Zajac)
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: emacs

Description

The emacs port is currently abandoned and in a rather sad state, especially for such an important port. It is a major version behind (22 vs 23), and does not compile under Snow Leopard.

I'm attaching a patch that brings emacs up to date. It includes a backported fix from emacs trunk to allow it to compile on SL. I also removed some cruft, namely the carbon/atsui variants which are now superseded by the emacs-app port, and some darwin7-specific options.

Note that files/patch-leim-Makefile.in.diff and files/patch-Makefile.in.diff are removed. They do not appear to be necessary with emacs23.

Also attached is a "new" emacs22 port for users who might want to keep using the previous version of emacs for compatibility with old elisp. This is basically the old emacs port, fixed to compile on SL, and to install its files under a different name so that both emacs and emacs22 can be installed at once.

This will also close #21335 and #22364, which are both reports of emacs failing to compile on SL.

Attachments (2)

patch-emacs.diff (8.3 KB) - added by drkp (Dan Ports) 15 years ago.
patch for emacs port
emacs22.tgz (3.2 KB) - added by drkp (Dan Ports) 15 years ago.
emacs22 port

Download all attachments as: .zip

Change History (10)

Changed 15 years ago by drkp (Dan Ports)

Attachment: patch-emacs.diff added

patch for emacs port

Changed 15 years ago by drkp (Dan Ports)

Attachment: emacs22.tgz added

emacs22 port

comment:1 Changed 15 years ago by idoadam@…

Aaccording to the official Emacs.app web site (http://emacs-app.sourceforge.net/), emacs actually supersedes Emacs.app and the Cocoa version can be built by the --with-ns switch in configure (this is supported by the documentation in the gnustep directory in the official emacs23.1 tarball). Additionally, the Carbon variant is slightly different and is not superseded by Emacs.app either.

comment:2 in reply to:  1 ; Changed 15 years ago by drkp (Dan Ports)

Replying to idoadam@…:

Aaccording to the official Emacs.app web site (http://emacs-app.sourceforge.net/), emacs actually supersedes Emacs.app and the Cocoa version can be built by the --with-ns switch in configure (this is supported by the documentation in the gnustep directory in the official emacs23.1 tarball).

The emacs.app port *is* emacs 23.1 with --with-ns. I suppose it's confusing that the port lists http://emacs-app.sourceforge.net/ as its homepage; maybe it shouldn't anymore.

I think it is appropriate for these to remain separate ports, both because they install into very different locations (/Applications vs $prefix) and because people may want to have both installed.

Additionally, the Carbon variant is slightly different and is not superseded by Emacs.app either.

My understanding is that the Carbon port has been discontinued and deprecated. Am I mistaken?

comment:3 in reply to:  2 ; Changed 15 years ago by drkp (Dan Ports)

Replying to dports@…:

My understanding is that the Carbon port has been discontinued and deprecated. Am I mistaken?

In fact, it looks like emacs 23.1 doesn't even have a --with-carbon option anymore.

comment:4 in reply to:  3 Changed 15 years ago by idoadam@…

Replying to dports@…:

Replying to dports@…:

My understanding is that the Carbon port has been discontinued and deprecated. Am I mistaken?

You are right about that. I also failed to notice that the emacs-app port switched to use the GNU/emacs site rather than the emacs-app site. I now agree with your analysis that a NeXTStep variant of the emacs port is not needed.

Thanks for doing something with the emacs port.

comment:5 Changed 15 years ago by blair (Blair Zajac)

Owner: changed from macports-tickets@… to blair@…

comment:6 Changed 15 years ago by blair (Blair Zajac)

Resolution: fixed
Status: newclosed

The emacs upgrade to 23.1 was done in r62682 and the emacs22 port was done in r62683.

comment:7 Changed 15 years ago by blair (Blair Zajac)

And I added openmaintainer to both ports to make it faster for other committers to modify these.

Thanks for the work, I've been waiting for Emacs 23.1 for a while.

comment:8 Changed 15 years ago by drkp (Dan Ports)

Thanks! Note that in addition to this one, you can also close #21335 and #22364 (build broken on SL), and #20486 (another request to update to 23.1; not sure how I missed it). Four tickets at once -- not bad. ;-)

Note: See TracTickets for help on using tickets.