Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Nov 2002 05:03:19 -0800
From:      Adam Weinberger <adamw@FreeBSD.ORG>
To:        Trevor Johnson <trevor@jpj.net>
Cc:        AlanE <alane@geeksrus.net>, Anders Andersson <anders@hack.org>, Alexis Georges <floating_in_space_@hotmail.com>, ports@FreeBSD.ORG
Subject:   Re: XML Parsing error with Phoenix 0.4.2
Message-ID:  <20021104130319.GN197@vectors.cx>
In-Reply-To: <20021104063249.Q50593-100000@blues.jpj.net>
References:  <20021104113126.GL197@vectors.cx> <20021104063249.Q50593-100000@blues.jpj.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> (11.04.2002 @ 0404 PST): Trevor Johnson said, in 1.0K: <<
> I see what you mean.  I think Alan is trying to make it possible, but it
> isn't quite complete yet. You probably noticed that he has set it up to
> install the p5-File-Spec port for people who have an old version of Perl
> that doesn't come with File/Spec.pm.  Perl 5.6.1 has its own File::Spec,
> which is (apparently) new enough for Phoenix's purposes, yet I had runtime
> problems before after building with Perl 5.6.1 (I didn't see those error
> messages) and you had runtime problems now when building after 5.005_03.
> Now it's just a simple matter of finding where the problems come from. :-)
>> end of "Re: XML Parsing error with Phoenix 0.4.2" from Trevor Johnson <<

I can't diagnose much more tonight as it's 4:45a and I'm really tired
and sick of watching phoenix re-extract again and again ::P

I've found a difference that may point in a useful direction:

When 5.005_03 is used, XP_UNIX doesn't get defined. However, it does
when 5.8.0 is used.

root@smacky:/usr/ports/www/phoenix# use.perl system && make configure
root@smacky:/usr/ports/www/phoenix# cd work/mozilla/browser/base && gmake chrome

I then saved the work/mozilla/dist/bin/chrome dir, and redid the process
with use.perl port. The differences manifested within the browser.jar
included the following in browser.xul:

diff -ur 5.8/content/browser/browser.xul 5.005/content/browser/browser.xul
- --- 5.8/content/browser/browser.xul   Mon Oct 28 16:13:49 2002
+++ 5.005/content/browser/browser.xul   Mon Oct 28 16:13:49 2002
@@ -180,15 +180,6 @@
          modifiers="accel"/>
     <key id="key_delete" keycode="VK_DELETE" command="cmd_delete"/>
 
- -    <key id="key_selectAll" key="&selectAllCmd.key;" modifiers="alt"/>
- -    <key id="goBackKb"  keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
- -    <key id="goForwardKb"  keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>
- -
- -    <key key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
- -    <key key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>
- -
- -    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
- -    <key id="key_fullScreen" keycode="VK_F11" command="View:FullScreen"/>
     <key id="key_reload"  key="&reloadCmd.commandkey;" oncommand="BrowserReload();" modifiers="accel"/>
     <key key="&reloadCmd.commandkey;" oncommand="BrowserReloadSkipCache();" modifiers="accel,shift"/>
     <key id="key_viewSource" key="&pageSourceCmd.commandkey;" command="View:PageSource" modifiers="accel"/>

Appearing in work/mozilla/browser/base/content/browser.xul is:

#ifdef XP_WIN
blahblahblah
#elifdef XP_UNIX
    <key id="key_selectAll" key="&selectAllCmd.key;" modifiers="alt"/>
    <key id="goBackKb"  keycode="VK_LEFT" command="Browser:Back" modifiers="alt"/>
    <key id="goForwardKb"  keycode="VK_RIGHT" command="Browser:Forward" modifiers="alt"/>

    <key key="&goBackCmd.commandKey;" command="Browser:Back" modifiers="accel"/>
    <key key="&goForwardCmd.commandKey;" command="Browser:Forward" modifiers="accel"/>

    <key id="goHome" keycode="VK_HOME" command="Browser:Home" modifiers="alt"/>
    <key id="key_fullScreen" keycode="VK_F11" command="View:FullScreen"/>
#endif

So, by using a lower version of perl, XP_UNIX isn't getting defined. I'm
going to force this define and let it build while I sleep. But, yeah. I
don't have 5.6.1 installed... I'm curious as to whether if you build the
browser.jar chromelist you will see those XP_UNIX included lines or not.

It's also worth pointing out that the chromelist itself is built by the
perl script that File::Spec is needed for: config/make-chromelist.pl.

- -Adam


- --
Adam Weinberger
adam@vectors.cx
adamw@FreeBSD.ORG

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (FreeBSD)

iD8DBQE9xnAXo8KM2ULHQ/0RAqPOAJ46V+wmblzGUZs3b5+kSRFNd0AvtACfUBnR
Q6brszFaA6EPi8RSCx/3WIQ=
=zPJU
-----END PGP SIGNATURE-----

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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