Page 1 of 1

[SOLVED] Emacs configured without SVG support

PostPosted: Oct 3rd, '14, 05:13
by floodpath
Hi,

I recently installed Mageia (which I love, thank you to all the volunteers) and then added Emacs.

When I start Emacs there's no start screen, it opens at the scratch buffer with "Invalid image type 'svg'" in the echo area. I checked the inhibit-startup-screen and inhibit-splash-screen variables and they are both nil. When I tried to check 'About Emacs', either through the menu or C-h C-a the "Invalid image type 'svg'" message reappeared. I've done practically nothing with Emacs here, not even a configuration file.

I asked the Emacs community on Reddit about this (http://www.reddit.com/r/emacs/comments/ ... es_mageia/) and there was a response that Emacs had been compiled for this distribution without support for svg.

Doubtless there's another way to compile Emacs and I'll look into that, but I wanted to make mention of it here as well. If there's a different spot where I should post this, let me know and I'll do that.

Re: Emacs configured without SVG support

PostPosted: Oct 3rd, '14, 05:29
by benmc
you might like to put in a bug report here https://bugs.mageia.org/ for this.
just first search bugzilla to see if it has already been lodged

or you could put in a request that svg be supported by Emacs.
this will require someone to be prepared to package and maintain it.

Re: Emacs configured without SVG support

PostPosted: Oct 3rd, '14, 11:15
by doktor5000
Would be helpful if you could add at least which Mageia version you're using and which emacs package you have currently installed.
Also, do you use the emacs X11 version or do you use the nox-emacs version?

Re: Emacs configured without SVG support

PostPosted: Oct 3rd, '14, 15:06
by doktor5000
emacs is simply missing a BuildRequires on pkgconfig(librsvg-2.0), among others. I'll open the bugreport and submit the fix.

edit doktor5000: https://bugs.mageia.org/show_bug.cgi?id=14223 it is.

Re: Emacs configured without SVG support

PostPosted: Oct 3rd, '14, 18:47
by floodpath
Thank you for opening the bugreport and submitting the fix. You're a bit quicker on your feet than me. I have just now figured out my release (Release 4 for x86_64) and the x11 version number (11.0 and x.org version 1.14.5). It would have been well into the evening, at best, before I could have told you whether it was the emacs x11 version or not.

Re: Emacs configured without SVG support

PostPosted: Oct 3rd, '14, 19:06
by doktor5000
Well, pretty easy to tell: do you run it under a graphical desktop, or without an X server running? :)

Re: [SOLVED] Emacs configured without SVG support

PostPosted: Oct 5th, '14, 17:11
by doktor5000
Fixed package already available for cauldron: emacs-24.3-7.mga5 (also add gpm support for the non-X11 version and some more neat stuff like OTF font support and other things). Update candidates for Mageia 3 and Mageia 4 have been submitted to updates_testing.