[MacPorts] #24236: erc depends on emacs but conflicts with it
#24236: erc depends on emacs but conflicts with it -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: erc, emacs -------------------------------------+-------------------------------------- erc depends on emacs, but tries to install /opt/local/share/info/erc which is already installed by the emacs port: {{{ ---> Activating erc @5.3_0 Error: Target org.macports.activate returned: Image error: /opt/local/share/info/erc is being used by the active emacs port. Please deactivate this port first, or use 'port -f activate erc' to force the activation. }}} -- Ticket URL: <http://trac.macports.org/ticket/24236> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24236: erc depends on emacs but conflicts with it -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: erc, emacs -------------------------------------+-------------------------------------- Comment(by dports@…): erc is included in emacs and it looks like the included version is 5.3, same as the port. This seems to be the latest version. So it's possible the port is redundant. Though http://www.emacswiki.org/emacs/?action=browse;id=ERC suggests there are extra modules not included with emacs, maybe the port includes these? I dealt with this in the org-mode port (which provides a newer version than the one included with emacs) by renaming the info file to include the version number. If it's going to come up for lots of emacs packages, though, it might be worth putting all of emacs's info files into /opt/local/share/info/emacs-$version/ or something like that -- this would also be useful if you want the info for both emacs and emacs22 installed. I'll see what it would take to do that; I'm not that familiar with info files. -- Ticket URL: <http://trac.macports.org/ticket/24236#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24236: erc depends on emacs but conflicts with it -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: erc, emacs -------------------------------------+-------------------------------------- Comment(by dports@…): Replying to [comment:1 dports@…]:
it might be worth putting all of emacs's info files into /opt/local/share/info/emacs-$version/ or something like that -- this would also be useful if you want the info for both emacs and emacs22 installed. I'll see what it would take to do that; I'm not that familiar with info files.
Looks like just installing the info files into a different directory will do nicely. I was worried that we'd need to hack the contents of the portfiles so they'd show up separately in info directories, but that appears unnecessary as info seems to pick the right one by default. Here's a very simple patch for emacs. With it, emacs installs its info files into share/info/emacs/. emacs22 already installs its into share/info/emacs22/. Any ports that provide emacs packages (e.g. erc) can install their info files directly into share/info, which is probably the default. Can you also apply the attached patch to org-mode which brings it into line with the above? -- Ticket URL: <http://trac.macports.org/ticket/24236#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24236: erc depends on emacs but conflicts with it -------------------------------------+-------------------------------------- Reporter: ryandesign@… | Owner: dports@… Type: defect | Status: assigned Priority: Normal | Milestone: Component: ports | Version: Keywords: | Port: erc, emacs -------------------------------------+-------------------------------------- Changes (by dports@…): * status: new => assigned * owner: macports-tickets@… => dports@… -- Ticket URL: <http://trac.macports.org/ticket/24236#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#24236: erc depends on emacs but conflicts with it --------------------------------------+------------------------------------- Reporter: ryandesign@… | Owner: dports@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: Resolution: fixed | Keywords: Port: erc, emacs | --------------------------------------+------------------------------------- Changes (by dports@…): * status: assigned => closed * resolution: => fixed Comment: Patches applied in r68451 and r68452. -- Ticket URL: <http://trac.macports.org/ticket/24236#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts