Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 02 Dec 2005 23:21:44 -0600
From:      "Jeremy Messenger" <mezz7@cox.net>
To:        "Bruce A. Mah" <bmah@freebsd.org>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: Dumb firefox and SVG question
Message-ID:  <op.s06zuiru9aq2h7@mezz.mezzweb.com>
In-Reply-To: <4391265B.7080300@freebsd.org>
References:  <4391265B.7080300@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 02 Dec 2005 23:00:11 -0600, Bruce A. Mah <bmah@freebsd.org> wrote:

> I just recently updated www/firefox to 1.5_3,1 on my 6.0-STABLE/i386
> laptop.  My understanding is that I should be able to view any of the
> SVG examples on this page:

Looks like it's disable again, so it's nothing your fault. Umm... Here's  
what caused this problem:

======================================
.include <bsd.port.pre.mk>
.include "${.CURDIR}/../mozilla/Makefile.common"

.if ${OSVERSION} >= 504101
MOZ_OPTIONS+=	--enable-svg --enable-svg-renderer=cairo
.endif

[...]

.include <bsd.port.post.mk>
======================================

Looks like it should be before that Makefile.common to make it enable  
again like this.

======================================
.include <bsd.port.pre.mk>

.if ${OSVERSION} >= 504101
MOZ_OPTIONS+=	--enable-svg --enable-svg-renderer=cairo
.endif

.include "${.CURDIR}/../mozilla/Makefile.common"

[...]

.include <bsd.port.post.mk>
======================================

I haven't test it yet, but that's my first guess. I might test it  
tomorrow, unless someone beat me.

Cheers,
Mezz

> http://www.croczilla.com/svg/samples/
>
> If I click on any of the "Open" links, firefox gives me the "What should
> Firefox do with this file?" dialog, with the options of opening the SVG
> file with a helper application or saving it to disk.  I kind of expected
> that it'd just open the SVG file inside the firefox window.  My
> interpretation of the following output is that I should have SVG support
> in my browser...
>
> localhost:firefox% make -V OSVERSION
> 600100
> localhost:firefox% make -V MOZ_OPTIONS
> --enable-application=browser  --enable-system-cairo
> --enable-official-branding  --enable-canvas --enable-crypto
> --disable-tests         --enable-default-toolkit=gtk2  --enable-xft
>         --with-pthreads --x-includes=/usr/X11R6/include
> --x-libraries=/usr/X11R6/lib --enable-extensions=default
> --enable-image-decoders=default --enable-necko-protocols=default
> --with-system-jpeg=/usr/local  --with-system-zlib=/usr
> --with-system-png=/usr/local    --with-gssapi=/usr
> --with-system-nspr              --disable-auto-deps
> --enable-chrome-format=jar       --disable-cpp-exceptions
> --disable-cpp-rtti              --disable-glibtest
> --disable-gtktest --disable-freetypetest
> --enable-double-buffer          --enable-mathm --disable-installer
>         --disable-md                    --disable-pedantic
> --disable-bidi                  --disable-xterm-updates
> --enable-xinerama --disable-debug
> --enable-optimize=-O    --enable-strip --disable-logging --enable-svg
> --enable-svg-renderer=cairo
>
> Is there something else I need to do to get this to work?  Or do I have
> the wrong concept of how SVG support works?  Clues appreciated.
>
> Thanks!
>
> Bruce.
>
> PS.  pkg_version -v output attached.


-- 
mezz7@cox.net  -  mezz@FreeBSD.org
FreeBSD GNOME Team
http://www.FreeBSD.org/gnome/  -  gnome@FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?op.s06zuiru9aq2h7>