all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Oleksandr Gavenko <gavenko@bifit.com.ua>
To: help-gnu-emacs@gnu.org
Subject: Re: Svg mode
Date: Fri, 15 Oct 2010 17:21:47 +0300	[thread overview]
Message-ID: <i99o1h$3gj$1@dough.gmane.org> (raw)
In-Reply-To: <m1mxqf3812.fsf@gmail.com>

On 15.10.2010 16:22, Andrea Crotti wrote:
> Oleksandr Gavenko<gavenko@bifit.com.ua>  writes:
>> May be.
>>
>> Try run
>>
>>    $ otool -L /path/to/emacs
>>
>> to see what libs use Emacs.
>>
>> But I thunk this not help. On Windows Emacs I run
>>
>>    $ depends runemacs
>>
>> and no see any image specific libs. After run Emacs in depends.exe and open
>> .png file I get in log:
>>
>> Loaded "LIBPNG12.DLL" at address 0x6CC40000.  Successfully hooked module.
>> Loaded "ZLIB1.DLL" at address 0x02190000.  Successfully hooked module.
>>
>> And Emacs show png.
>>
>> So Emacs load shared library on fly.
>
> Mm here is very different, since it uses the OSX system if I understand
> correctly
>
> --8<---------------cut here---------------start------------->8---
> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit (compatibility version 45.0.0, current version 1038.29.0)
> /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0)
> /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 125.0.1)
> /usr/lib/libobjc.A.dylib (compatibility version 1.0.0, current version 227.0.0)
> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices (compatibility version 1.0.0, current version 44.0.0)
> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 550.19.0)
> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices (compatibility version 1.0.0, current version 38.0.0)
> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation (compatibility version 300.0.0, current version 751.21.0)
> --8<---------------cut here---------------end--------------->8---
>
MS Windows:

   $ strings emacs.exe | grep png
libpng12d.dll
libpng12.dll
libpng.dll
libpng13d.dll
libpng13.dll

But 'depends.exe' show that 'libpng12.dll' come from third party:

   c:\opt\graphviz2.26.3\bin\LIBPNG12.DLL

Emacs from ftp.gnu.org is come only with 'libXpm.dll'.

With 'grep svg' on Windows:

   $ strings emacs.exe | grep svg
librsvg-2-2.dll

I download 'librsvg-2-2.dll' from
http://ftp.gnome.org/pub/gnome/binaries/win32/librsvg/2.22/

and put it to PATH. Emacs on open .svg say:

byte-code: Cannot display image: (Invalid image type `svg')
image-type: Cannot determine image type

Linux:

   $ strings `which emacs` | grep png
libpng12.so.0

For

   $ strings `which emacs` | grep svg

no match. Need upgrade Emacs to 23.x from 22.2.

So try search svg string in emacs executable and install appropriate lib.




  reply	other threads:[~2010-10-15 14:21 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-14 16:01 Svg mode Andrea Crotti
2010-10-15  8:31 ` Oleksandr Gavenko
2010-10-15 13:22   ` Andrea Crotti
2010-10-15 14:21     ` Oleksandr Gavenko [this message]
2010-10-15 15:20       ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='i99o1h$3gj$1@dough.gmane.org' \
    --to=gavenko@bifit.com.ua \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.