Re: Building with optional libraries

Eli Zaretskii <[email protected]>
Newsgroups gmane.emacs.windows
Message-ID <[email protected]>
> From: Test User <[email protected]>
> Date: Mon, 9 Feb 2015 15:09:10 +0000 (UTC)
> 
> Which of the optional libraries used by emacs should my MinGW build
> be able to use?

See below, I marked them with "<<<".

> I have tried to build otf, xft and m17n and failed because of
> dependencies onX, but maybe there are Win32 ports.

They are useless on Windows.  Emacs on Windows uses the Uniscribe
shaping engine, a standard component of Windows, for complex script
display; these libraries provide the equivalent functionality on Unix.

> Definitely GIF and ImageMagick are available, but what else?

ImageMagick can currently be used only as a statically linked library,
since no one made the ImageMagick related code work with dynamic
run-time loading.

The rest of the optional libraries will all be loaded at run time when
they are first used.

Note that I marked D-Bus with "<<<<<<" because I heard someone who
said it worked for them, but I haven't tried that myself, and I very
much doubt it works reliably on Windows, so caveat emptor.

> Where should the build process find the source code?    ../emacs-24.4
>   What compiler should emacs be built with?               gcc  -std=gnu99
> -Ic:/mingw/local/include
>   Should Emacs use the GNU version of malloc?             yes  <<<<<<
>   Should Emacs use a relocating allocator for buffers?    yes  <<<<<<
>   Should Emacs use mmap(2) for buffer allocation?         no
>   What window system should Emacs use?                    w32  <<<<<<
>   What toolkit should Emacs use?                          none
>   Where do we find X Windows header files?                NONE
>   Where do we find X Windows libraries?                   NONE
>   Does Emacs use -lXaw3d?                                 no
>   Does Emacs use -lXpm?                                   yes  <<<<<<
>   Does Emacs use -ljpeg?                                  yes  <<<<<<
>   Does Emacs use -ltiff?                                  yes  <<<<<<
>   Does Emacs use a gif library?                           no   <<<<<<
>   Does Emacs use a png library?                           yes  <<<<<<
>   Does Emacs use -lrsvg-2?                                yes  <<<<<<
>   Does Emacs use imagemagick?                             no   <<<<<<
>   Does Emacs support sound?                               yes  <<<<<<
>   Does Emacs use -lgpm?                                   no
>   Does Emacs use -ldbus?                                  no   <<<<<<
>   Does Emacs use -lgconf?                                 no
>   Does Emacs use GSettings?                               no
>   Does Emacs use a file notification library?             yes (w32) <<<<<<
>   Does Emacs use access control lists?                    yes  <<<<<<
>   Does Emacs use -lselinux?                               no
>   Does Emacs use -lgnutls?                                no   <<<<<<
>   Does Emacs use -lxml2?                                  yes  <<<<<<
>   Does Emacs use -lfreetype?                              no
>   Does Emacs use -lm17n-flt?                              no
>   Does Emacs use -lotf?                                   no
>   Does Emacs use -lxft?                                   no
>   Does Emacs directly use zlib?                           yes  <<<<<<
>   Does Emacs use toolkit scroll bars?                     yes  <<<<<<
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.