NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building emacs



Riccardo Mottola <riccardo.mottola%libero.it@localhost> writes:

> no one has a suggestion on how to build a gtk2 version of emacs (that
> doesn't try to pull in and build gtk3 too?)

You can build emacs24-nox11.  But that may be less than what you want.

As I read /usr/pkgsrc/editors/emacs24/options.mk, it looks ok to me.
But it may have a bug.

One point of possible confusion is that emacs <= 23 has gtk as an option
(meaning gtk2), and emacs24 gtk2 and gtk3.  It will choose gtk3 if none
of the other options are not given.

You might try

  PKG_DEVELOPER=2 make show-depends 2>&1 > OUT.depends

and then grovel over it.  Or try 1.


With
  PKG_OPTIONS.emacs=            gtk gtk2
when I run "make show-options" and then "show-depends" I get the following:

Any of the following general options may be selected:
        dbus     Enable dbus (desktop bus) support.
        gnutls   Enable GNU TLS support.
        svg      Enable SVG support.
        xft2     Enable Xft support.
        xml      Enable XML support.
At most one of the following window-system options may be selected:
        nextstep         Enable Cocoa or GNUstep support.
        x11      Enable X11 support.
At most one of the following toolkit options may be selected:
        gtk2     Enable support for GTK2.
        gtk3     Enable support for GTK3.
        motif    Enable motif support.
        xaw      Enable Xaw support.

These options are enabled by default:
        dbus svg x11 xft2

These options are currently enabled:
        dbus gtk2 svg x11 xft2

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or PKG_OPTIONS.emacs.


dbus>=0.91:../../sysutils/dbus
librsvg>=2.36.4nb7:../../graphics/librsvg
libXft>=2.3.1nb3:../../x11/libXft
fontconfig>=2.10.93nb2:../../fonts/fontconfig
freetype2>=2.4.12:../../graphics/freetype2
png>=1.6.0nb1:../../graphics/png
jpeg>=9:../../graphics/jpeg
tiff>=4.0.3nb5:../../graphics/tiff
giflib>=5.0.4:../../graphics/giflib
libSM>=0.99.2:../../x11/libSM
libXpm>=3.5.4.2:../../x11/libXpm
libotf>=0.9.13nb2:../../graphics/libotf
m17n-lib>=1.6.4nb6:../../devel/m17n-lib
gtk2+>=2.24.20nb2:../../x11/gtk2
hicolor-icon-theme>=0.9nb1:../../graphics/hicolor-icon-theme
desktop-file-utils>=0.10nb1:../../sysutils/desktop-file-utils

Attachment: pgp5FCGsPiW8W.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index