Ilya Chernykh | 1 Oct 2011 11:38
Picon

Novosibirsk weather station update

This patch updates Novosibirsk weather station data.

Timothy Pearson | 1 Oct 2011 23:21
Favicon

Re: Novosibirsk weather station update

> This patch updates Novosibirsk weather station data.
>

Committed to SVN.

Thanks for the patch!

Tim

Julius Schwartzenberg | 1 Oct 2011 23:56
Picon
Gravatar

kmozilla patches

Hi,

Here are the patches needed to get the kmozilla code to work again. Note
that it was also quite buggy in its previous life and none of those
previous bugs have been looked at yet. These patches provide the minimum
to get the code compilable and displaying webpages again.

So here is a list of known issues:
- buttons like back, forward do not work
- progress indication seems broken
- some webpages load and then display a white screen

Here is a screenshot showing it works somewhat again:
http://lh6.googleusercontent.com/-BiSwJPk2dHY/Tod915u2bAI/AAAAAAAAAd8/tLv1yH1YwI0/s640/konqueror_using_gecko2.png

To be able to compile the build files need adjustments as well, for
which I did not create patches. This basically comes down to adding
everything needed for GTK 2.0 (and it's dependencies like GLIB 2.0,
Cairo, Pango 1.0 and ATK 1.0) and XULRunner.
I did not look into details into the linking of the kmozilla binary, I
linked it against libxul and libxpcom to get it to find all its symbols,
but it seems there is a better way. There is more info here:
https://developer.mozilla.org/en/GRE

I developed the patches on 3.5.11 on a Lucid system. I couldn't easily
test the patches against the latest Subversion tree, but I make them
against it. So I hope I didn't forget anything....

I originally thought I couldn't do this. Thanks a lot to Timothy Pearson
& the others on IRC who helped me with this!!
(Continue reading)

Julius Schwartzenberg | 2 Oct 2011 00:06
Picon
Gravatar

Re: kmozilla patches

Julius Schwartzenberg wrote:
> Hi,
> 
> Here are the patches needed to get the kmozilla code to work again. Note
> that it was also quite buggy in its previous life and none of those
> previous bugs have been looked at yet. These patches provide the minimum
> to get the code compilable and displaying webpages again.
> 
> So here is a list of known issues:
> - buttons like back, forward do not work
> - progress indication seems broken
> - some webpages load and then display a white screen

I forgot to add.
It's necessary for the kmozilla binary to see two environment variables
as well.
First of all, it needs to find its libraries and also it needs to know
the location of the Mozilla environment it should use. Something like
this should work:
export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.23/
export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.23/
konqueror
(and open a site and choose kmozilla as the viewer)

Maybe a kcontrol panel could be added at some point that allows choosing
the Mozilla environment to use.

Timothy Pearson | 2 Oct 2011 03:48
Favicon

Re: Re: kmozilla patches

> Julius Schwartzenberg wrote:
>> Hi,
>>
>> Here are the patches needed to get the kmozilla code to work again. Note
>> that it was also quite buggy in its previous life and none of those
>> previous bugs have been looked at yet. These patches provide the minimum
>> to get the code compilable and displaying webpages again.
>>
>> So here is a list of known issues:
>> - buttons like back, forward do not work
>> - progress indication seems broken
>> - some webpages load and then display a white screen
>
> I forgot to add.
> It's necessary for the kmozilla binary to see two environment variables
> as well.
> First of all, it needs to find its libraries and also it needs to know
> the location of the Mozilla environment it should use. Something like
> this should work:
> export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.23/
> export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.23/
> konqueror
> (and open a site and choose kmozilla as the viewer)
>
> Maybe a kcontrol panel could be added at some point that allows choosing
> the Mozilla environment to use.
>

OK, the patches are in SVN as of revision 1256724.  The build system has
not yet been fixed, but will be in the (near) future.
(Continue reading)

Ilya Chernykh | 2 Oct 2011 04:33
Picon

Re: Re: kmozilla patches

On Sunday 02 October 2011 02:06:48 Julius Schwartzenberg wrote:
> > So here is a list of known issues:
> > - buttons like back, forward do not work
> > - progress indication seems broken
> > - some webpages load and then display a white screen
> 
> I forgot to add.
> It's necessary for the kmozilla binary to see two environment variables
> as well.
> First of all, it needs to find its libraries and also it needs to know
> the location of the Mozilla environment it should use. Something like
> this should work:
> export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.23/
> export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.23/
> konqueror
> (and open a site and choose kmozilla as the viewer)
> 
> Maybe a kcontrol panel could be added at some point that allows choosing
> the Mozilla environment to use.

What is needed to enable this Mozilla support?
It seems it wants gtkmozembed.h which is not provided by any devel package.

Timothy Pearson | 2 Oct 2011 05:35
Favicon

Re: Re: kmozilla patches

> On Sunday 02 October 2011 02:06:48 Julius Schwartzenberg wrote:
>> > So here is a list of known issues:
>> > - buttons like back, forward do not work
>> > - progress indication seems broken
>> > - some webpages load and then display a white screen
>>
>> I forgot to add.
>> It's necessary for the kmozilla binary to see two environment variables
>> as well.
>> First of all, it needs to find its libraries and also it needs to know
>> the location of the Mozilla environment it should use. Something like
>> this should work:
>> export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.23/
>> export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.23/
>> konqueror
>> (and open a site and choose kmozilla as the viewer)
>>
>> Maybe a kcontrol panel could be added at some point that allows choosing
>> the Mozilla environment to use.
>
> What is needed to enable this Mozilla support?
> It seems it wants gtkmozembed.h which is not provided by any devel
> package.
>

We are not yet sure if gtkmozembed has been removed in the latest
xulrunner versions.  Right now this is only for systems with Firefox less
than version 5, and work will be done to see if this can be extended to
later Firefox versions in the future.

(Continue reading)

Timothy Pearson | 2 Oct 2011 05:41
Favicon

Re: Re: kmozilla patches

>> On Sunday 02 October 2011 02:06:48 Julius Schwartzenberg wrote:
>>> > So here is a list of known issues:
>>> > - buttons like back, forward do not work
>>> > - progress indication seems broken
>>> > - some webpages load and then display a white screen
>>>
>>> I forgot to add.
>>> It's necessary for the kmozilla binary to see two environment variables
>>> as well.
>>> First of all, it needs to find its libraries and also it needs to know
>>> the location of the Mozilla environment it should use. Something like
>>> this should work:
>>> export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.23/
>>> export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.23/
>>> konqueror
>>> (and open a site and choose kmozilla as the viewer)
>>>
>>> Maybe a kcontrol panel could be added at some point that allows
>>> choosing
>>> the Mozilla environment to use.
>>
>> What is needed to enable this Mozilla support?
>> It seems it wants gtkmozembed.h which is not provided by any devel
>> package.
>>
>
> We are not yet sure if gtkmozembed has been removed in the latest
> xulrunner versions.  Right now this is only for systems with Firefox less
> than version 5, and work will be done to see if this can be extended to
> later Firefox versions in the future.
(Continue reading)

Timothy Pearson | 2 Oct 2011 06:06
Favicon

Re: Re: kmozilla patches

>>> On Sunday 02 October 2011 02:06:48 Julius Schwartzenberg wrote:
>>>> > So here is a list of known issues:
>>>> > - buttons like back, forward do not work
>>>> > - progress indication seems broken
>>>> > - some webpages load and then display a white screen
>>>>
>>>> I forgot to add.
>>>> It's necessary for the kmozilla binary to see two environment
>>>> variables
>>>> as well.
>>>> First of all, it needs to find its libraries and also it needs to know
>>>> the location of the Mozilla environment it should use. Something like
>>>> this should work:
>>>> export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.23/
>>>> export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.23/
>>>> konqueror
>>>> (and open a site and choose kmozilla as the viewer)
>>>>
>>>> Maybe a kcontrol panel could be added at some point that allows
>>>> choosing
>>>> the Mozilla environment to use.
>>>
>>> What is needed to enable this Mozilla support?
>>> It seems it wants gtkmozembed.h which is not provided by any devel
>>> package.
>>>
>>
>> We are not yet sure if gtkmozembed has been removed in the latest
>> xulrunner versions.  Right now this is only for systems with Firefox
>> less
(Continue reading)

Julius Schwartzenberg | 2 Oct 2011 09:52
Picon
Gravatar

Re: Re: kmozilla patches

Ilya Chernykh wrote:
> On Sunday 02 October 2011 02:06:48 Julius Schwartzenberg wrote:
>>> So here is a list of known issues:
>>> - buttons like back, forward do not work
>>> - progress indication seems broken
>>> - some webpages load and then display a white screen
>>
>> I forgot to add.
>> It's necessary for the kmozilla binary to see two environment variables
>> as well.
>> First of all, it needs to find its libraries and also it needs to know
>> the location of the Mozilla environment it should use. Something like
>> this should work:
>> export LD_LIBRARY_PATH=/usr/lib/xulrunner-1.9.2.23/
>> export MOZILLA_FIVE_HOME=/usr/lib/xulrunner-1.9.2.23/
>> konqueror
>> (and open a site and choose kmozilla as the viewer)
>>
>> Maybe a kcontrol panel could be added at some point that allows choosing
>> the Mozilla environment to use.
> 
> What is needed to enable this Mozilla support?
> It seems it wants gtkmozembed.h which is not provided by any devel package.

On Ubuntu this is provided by the XULRunner development package.

SuSE actually shipped this control around version 8.0 in a package
called 'kdebindings3-mozilla'. Maybe this would also be interesting to
look at.

(Continue reading)


Gmane