unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#7794: 24.0.50; Can't display SVG files
@ 2011-01-05 23:29 nyc4bos
  2011-01-06  1:33 ` Jason Rumney
  2011-01-06  9:28 ` Eli Zaretskii
  0 siblings, 2 replies; 5+ messages in thread
From: nyc4bos @ 2011-01-05 23:29 UTC (permalink / raw)
  To: 7794

Hi,

It appears that I cannot display SVG files with the Windows version
of Emacs.

I retrieved the librsvg-2-2.dll file from:

http://ftp.gnome.org/pub/gnome/binaries/win32/librsvg/2.32/librsvg_2.32.1-1_win32.zip

and placed the DLL in e:\emacs-24.0.50\bin\

Visiting a SVG file (`find-file'), I see in the *Message* buffer:

Using vacuous schema
Type C-c C-c to view the image as an image.
Cannot display image: (Invalid image type `svg')

The image type is defined as:

dynamic-library-alist is a variable defined in `C source code'.
Its value is shown below.

Value: ((xpm "libxpm.dll" "xpm4.dll" "libXpm-nox4.dll")
 (png "libpng14-14.dll" "libpng14.dll")
 (jpeg "jpeg62.dll" "libjpeg.dll" "jpeg-62.dll" "jpeg.dll")
 (tiff "libtiff3.dll" "libtiff.dll")
 (gif "giflib4.dll" "libungif4.dll" "libungif.dll")
 (svg "librsvg-2-2.dll")
 (gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
 (glib "libglib-2.0-0.dll")
 (gobject "libgobject-2.0-0.dll"))


This Windows Emacs binary was graciously built by Sean Sieger on
Mon, 03 Jan 2011 and is at http://alpha.gnu.org/gnu/emacs/windows/


Is there any additional steps or necessary files he needs in
order to build Emacs with SVG support?

Thanks.


In GNU Emacs 24.0.50.1 (i386-mingw-nt5.1.2600)
 of 2011-01-03 on 3249CTO
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4) --no-opt --cflags -Ic:/imagesupport/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Help

Minor modes in effect:
  diff-auto-refine-mode: t
  jabber-activity-mode: t
  show-paren-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t
  view-mode: t

Recent input:
C-h v d y n a m i c - l i b <tab> <return> C-x o C-v 
C-x o C-x C-f e m a c s . s v g <return> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Type C-x 1 to delete the help window, C-M-v to scroll help.
Using vacuous schema
Type C-c C-c to view the image as an image.
Cannot display image: (Invalid image type `svg')

Load-path shadows:
None found.

Features:
(shadow sort gnus-util mail-extr message rfc822 mml mml-sec mm-decode
mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mailabbrev mail-utils gmm-utils mailheader emacsbug
nxml-uchnm rng-xsd xsd-regexp rng-cmpct regexp-opt rng-nxml rng-valid
rng-loc rng-uri rng-parse nxml-parse rng-match rng-dt rng-util rng-pttrn
nxml-ns nxml-mode nxml-outln nxml-rap nxml-util nxml-glyph nxml-enc
xmltok image-mode pp help-mode easymenu view help-fns tooltip ediff-hook
vc-hooks lisp-float-type mwheel dos-w32 disp-table ls-lisp w32-win
w32-vars tool-bar dnd fontset image fringe lisp-mode register page
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev button minibuffer
faces cus-face files text-properties overlay md5 base64 format env
code-pages mule custom widget hashtable-print-readable backquote
make-network-process multi-tty emacs)





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#7794: 24.0.50; Can't display SVG files
  2011-01-05 23:29 bug#7794: 24.0.50; Can't display SVG files nyc4bos
@ 2011-01-06  1:33 ` Jason Rumney
  2011-01-06  9:28 ` Eli Zaretskii
  1 sibling, 0 replies; 5+ messages in thread
From: Jason Rumney @ 2011-01-06  1:33 UTC (permalink / raw)
  To: bug-gnu-emacs

On 06/01/2011 07:29, nyc4bos@aol.com wrote:
> Hi,
>
> It appears that I cannot display SVG files with the Windows version
> of Emacs.
>
> I retrieved the librsvg-2-2.dll file from:
>
> http://ftp.gnome.org/pub/gnome/binaries/win32/librsvg/2.32/librsvg_2.32.1-1_win32.zip
>    

You also need all of GTK, Cairo, Freetype and a few other files from 
Gnome.  The dependancies are so numerous that I never managed to figure 
out the full list, but the direct dependancies of librsvg are listed 
already in your mail (and I think zlib which is also a dependancy of 
libpng):

>   (svg "librsvg-2-2.dll")
>   (gdk-pixbuf "libgdk_pixbuf-2.0-0.dll")
>   (glib "libglib-2.0-0.dll")
>   (gobject "libgobject-2.0-0.dll"))
>    






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#7794: 24.0.50; Can't display SVG files
  2011-01-05 23:29 bug#7794: 24.0.50; Can't display SVG files nyc4bos
  2011-01-06  1:33 ` Jason Rumney
@ 2011-01-06  9:28 ` Eli Zaretskii
  2011-01-07 16:36   ` Sean Sieger
  1 sibling, 1 reply; 5+ messages in thread
From: Eli Zaretskii @ 2011-01-06  9:28 UTC (permalink / raw)
  To: nyc4bos, Sean Sieger; +Cc: 7794

> From: nyc4bos@aol.com
> Date: Wed, 05 Jan 2011 18:29:22 -0500
> Cc: 
> 
> It appears that I cannot display SVG files with the Windows version
> of Emacs.
> [...]
> This Windows Emacs binary was graciously built by Sean Sieger on
> Mon, 03 Jan 2011 and is at http://alpha.gnu.org/gnu/emacs/windows/

Sean, did you build these binaries with SVG support?





^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#7794: 24.0.50; Can't display SVG files
  2011-01-06  9:28 ` Eli Zaretskii
@ 2011-01-07 16:36   ` Sean Sieger
  2011-01-07 18:18     ` Eli Zaretskii
  0 siblings, 1 reply; 5+ messages in thread
From: Sean Sieger @ 2011-01-07 16:36 UTC (permalink / raw)
  To: bug-gnu-emacs

Eli Zaretskii <eliz@gnu.org> writes:

    > From: nyc4bos@aol.com
    > Date: Wed, 05 Jan 2011 18:29:22 -0500
    > Cc: 
    > 
    > It appears that I cannot display SVG files with the Windows version
    > of Emacs.
    > [...]
    > This Windows Emacs binary was graciously built by Sean Sieger on
    > Mon, 03 Jan 2011 and is at http://alpha.gnu.org/gnu/emacs/windows/

    Sean, did you build these binaries with SVG support?

Nope.  Sorry for the delayed response and short answer.  I've been under
the impression that it's pretty difficult to accomplish.  However I will
look into it and get back ...






^ permalink raw reply	[flat|nested] 5+ messages in thread

* bug#7794: 24.0.50; Can't display SVG files
  2011-01-07 16:36   ` Sean Sieger
@ 2011-01-07 18:18     ` Eli Zaretskii
  0 siblings, 0 replies; 5+ messages in thread
From: Eli Zaretskii @ 2011-01-07 18:18 UTC (permalink / raw)
  To: Sean Sieger; +Cc: 7794-done

> From: Sean Sieger <sean.sieger@gmail.com>
> Date: Fri, 07 Jan 2011 11:36:07 -0500
> Cc: 
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
>     > From: nyc4bos@aol.com
>     > Date: Wed, 05 Jan 2011 18:29:22 -0500
>     > Cc: 
>     > 
>     > It appears that I cannot display SVG files with the Windows version
>     > of Emacs.
>     > [...]
>     > This Windows Emacs binary was graciously built by Sean Sieger on
>     > Mon, 03 Jan 2011 and is at http://alpha.gnu.org/gnu/emacs/windows/
> 
>     Sean, did you build these binaries with SVG support?
> 
> Nope.  Sorry for the delayed response and short answer.  I've been under
> the impression that it's pretty difficult to accomplish.  However I will
> look into it and get back ...

No sweat.  So this bug can be closed.  Thanks.





^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-01-07 18:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05 23:29 bug#7794: 24.0.50; Can't display SVG files nyc4bos
2011-01-06  1:33 ` Jason Rumney
2011-01-06  9:28 ` Eli Zaretskii
2011-01-07 16:36   ` Sean Sieger
2011-01-07 18:18     ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).