Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 2010 09:42:20 +0200
From:      Beat Gaetzi <beat@FreeBSD.org>
To:        Jung-uk Kim <jkim@FreeBSD.org>
Cc:        freebsd-gecko@FreeBSD.org
Subject:   Re: Fwd: IcedTea6 Mozilla plugin with OpenJDK6
Message-ID:  <4C89E15C.7020608@FreeBSD.org>
In-Reply-To: <201009091828.12400.jkim@FreeBSD.org>
References:  <201009091828.12400.jkim@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 10.09.2010 00:28, Jung-uk Kim wrote:
> While I was porting a Mozilla plugin, I found something
> disturbing:
> 
> %pkg-config --modversion mozilla-plugin
> 1.9.2.8
> %pkg-config --cflags mozilla-plugin
> -DXP_UNIX -I/usr/local/include/libxul/stable
> %ls -dl /usr/local/include/libxul/stable/
> ls: /usr/local/include/libxul/stable/: No such file or directory
> %pkg_info -W /usr/local/libdata/pkgconfig/mozilla-plugin.pc 
> /usr/local/libdata/pkgconfig/mozilla-plugin.pc was installed by package libxul-1.9.2.8
> %pkg-config --cflags libxul
> -fshort-wchar -I/usr/local/include/libxul -I/usr/local/include/nspr
> %ls -dl /usr/local/include/libxul/
> drwxr-xr-x  11 root  wheel  56832 Aug  9 16:21 /usr/local/include/libxul/
> 
> As you can see, --cflags returns a nonexistent directory for
> mozilla-plugin package.  It returns the correct directory for
> libxul, though.  As a workaround, I had to do this:
> 
> # XXX Need to fix in ports.
> CFLAGS+=	${PLUGIN_CFLAGS:C/\/libxul\/stable/\/libxul/}
> 
> Can anyone explain what's going on here?

The stable and unstable include directories no longer exists with libxul
1.9.2. I don't know why the stable directory is still listed in the
mozilla-plugin.pc file. Should we add this substitution to the libxul port?

Thanks,
Beat

> 
> Thanks!
> 
> Jung-uk Kim
> 
> ----------  Forwarded Message  ----------
> 
> Subject: IcedTea6 Mozilla plugin with OpenJDK6
> Date: Thursday 09 September 2010 05:42 pm
> From: Jung-uk Kim <jkim@FreeBSD.org>
> To: freebsd-java@freebsd.org
> Cc: Beat Gaetzi <beat@freebsd.org>
> 
> Finally, we have the hybrid and you can see some (updated)
>  screenshots from here:
> 
> http://people.freebsd.org/~jkim/icedtea/screenshots/
> 
> The experimental ports tarball is available from here:
> 
> http://people.freebsd.org/~jkim/icedtea/openjdk6-icedteanp.tar.bz2
> 
> Note the plugin is turned off by default because it is an
>  experimental and unofficial software from icedtea.classpath.org.  To
>  enable it, run "make config" and select "WEB" option.  Re-build,
>  re-install, and enjoy!
> 
> Cheers,
> 
> Jung-uk Kim
> 
> -------------------------------------------------------
> 



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