From owner-freebsd-gecko@FreeBSD.ORG Fri Sep 10 08:04:29 2010 Return-Path: Delivered-To: freebsd-gecko@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D41CC106566C for ; Fri, 10 Sep 2010 08:04:29 +0000 (UTC) (envelope-from beat@FreeBSD.org) Received: from marvin.chruetertee.ch (marvin.chruetertee.ch [217.150.245.55]) by mx1.freebsd.org (Postfix) with ESMTP id 542D28FC1A for ; Fri, 10 Sep 2010 08:04:29 +0000 (UTC) Received: from daedalus.network.local (gprs35.swisscom-mobile.ch [193.247.250.35]) (authenticated bits=0) by marvin.chruetertee.ch (8.14.3/8.14.3) with ESMTP id o8A7gN5C096841 (version=TLSv1/SSLv3 cipher=DHE-DSS-CAMELLIA256-SHA bits=256 verify=NO); Fri, 10 Sep 2010 07:42:25 GMT (envelope-from beat@FreeBSD.org) Message-ID: <4C89E15C.7020608@FreeBSD.org> Date: Fri, 10 Sep 2010 09:42:20 +0200 From: Beat Gaetzi User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.1.12) Gecko/20100907 Lightning/1.0b1 Thunderbird/3.0.7 MIME-Version: 1.0 To: Jung-uk Kim References: <201009091828.12400.jkim@FreeBSD.org> In-Reply-To: <201009091828.12400.jkim@FreeBSD.org> X-Enigmail-Version: 1.0.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Fri, 10 Sep 2010 11:13:39 +0000 Cc: freebsd-gecko@FreeBSD.org Subject: Re: Fwd: IcedTea6 Mozilla plugin with OpenJDK6 X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Sep 2010 08:04:30 -0000 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 > To: freebsd-java@freebsd.org > Cc: Beat Gaetzi > > 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 > > ------------------------------------------------------- >