[77907] trunk/dports/editors

Dan Ports dports at macports.org
Mon Apr 18 15:13:59 PDT 2011


On Sun, Apr 17, 2011 at 04:01:37AM -0500, Ryan Schmidt wrote:
> On Apr 17, 2011, at 02:48, saispo at macports.org wrote:
> 
> > Revision: 77907
> >          http://trac.macports.org/changeset/77907
> > Author:   saispo at macports.org
> > Date:     2011-04-17 00:48:17 -0700 (Sun, 17 Apr 2011)
> > Log Message:
> > -----------
> > Add emacs-snapshot ports to editors

> > +categories      editors
> > +maintainers     dports openmaintainer
> 
> Dan Ports is maintaining this? Or are you?

First I've heard of it. :-)

I'd thought about creating a port for a devel version of emacs before,
but put it off because emacs23 had just come out so there didn't seem
to be much point at the time.

It looks like this port installs its binary as 'emacs' and thus
conflicts with the emacs port. If so, the port should be called
emacs-devel for consistency with other port names.

It would be even better if there were some way to have them both
installed simultaneously, as can currently be done with the emacs and
emacs22 ports.


Wait, actually, I can't even build this port! It fails in
post-destroot:

Error: Target org.macports.destroot returned: /opt/local/var/macports/build/_opt_local_var_macports_sources_svn.macports.org_trunk_dports_editors_emacs-snapshot/work/destroot/opt/local/share/man/man1/ctags.1: no such file or directory


> > +variant gtk requires x11 description {Builds emacs as an X11 program with GTK+2 widgets} {
> > +    configure.args-delete   --with-x-toolkit=lucid
> > +    configure.args-delete   --without-gconf
> > +    configure.args-delete   --without-rsvg
> > +    configure.args-append   --with-x-toolkit=gtk
> > +    configure.args-append   --with-gconf
> > +    configure.args-append   --with-rsvg
> > +    depends_lib-append      port:gtk2 \
> > +                            port:glib2 \
> > +                            port:gconf \
> > +                            port:librsvg
> > +}
> 
> You probably don't need to add the glib2 dependency, since it's already a dependency of gtk2 (via pango). If you still want to have the glib2 dependency, please write it in a way that glib2-devel could also satisfy it. See the other existing ports that depend on glib2 for the syntax for this.

Looks like this came from the emacs port, so I should probably fix it
there too. Thanks.

Dan

-- 
Dan R. K. Ports              MIT CSAIL                http://drkp.net/


More information about the macports-dev mailing list