Re: Possible bug in /usr/lib/libglib-2.0.so.0

2007-09-20 Thread Fernando Herrera

Hi, 

El jue, 20-09-2007 a las 13:53 +0200, ext Detlef Schmicker escribió:
> Am I right, that the gtkrc.cache is corrupt in the latest image? I had a
> quite clean N800 installation and only added openssh and xterm before
> testing!

Humm, this sounds very strange to me.

> What is the clean way to deliver a program which needs calling
> hildon-theme-cacher. I could not find a trusted source for
> hildon-theme-cacher and in I could not find the source code. So it is
> not possible to deliver it with my gpl application?!

hildon-theme-cacher is installed in all the images, so you can just
invoke it if you really need it from your applications.

Usually new themes invokes it in the postinst script, either:

hildon-theme-cacher 

or (to update all gtkrc caches):

hildon-theme-recache-all

The source code for this cacher program it's at stage svn. Latest
sources are:

https://stage.maemo.org/svn/maemo/projects/haf/trunk/hildon-theme-cacher/

but those are matching the current development versions of glib and gtk+
present on sardine and won't work with the latest official maemo
release, so you probably want to look at:

https://stage.maemo.org/svn/maemo/projects/haf/tags/hildon-theme-cacher/0.4.1-1/

Hope this helps.

Salu2




___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: Possible bug in /usr/lib/libglib-2.0.so.0

2007-09-20 Thread Fernando Herrera


Hi, 

this seems like a corruption of the Gtk Rc Cahce file (that is a custom
patch in our gtk/glib).

Can you try to re-create the cache after deleting it:

$ hildon-theme-cacher /usr/share/themes/default/gtk-2.0/

and check if it crashes again?

Salu2


El jue, 20-09-2007 a las 13:17 +0200, ext Detlef Schmicker escribió:
> Hello,
> 
> I have a strange problem: maetronome.garage.maemo.org
> 
> (A port of GTick) crashes with bus error. I tracked down the problem
> with gdb and strace and the problem is connected to the file 
> 
> /usr/share/themes/default/gtk-2.0/gtkrc.cache
> 
> If I delete it, the crash does not happen and everything works fine. I
> attach my output from gdb and strace. In case somebody wants to
> reproduce, think of LD_PRELOAD !!
> 
> I seems that glib crashes during processing of gtkrc.cache
> 
> Any tips? Any workarounds?
> 
> Thanks a lot
> 
> Detlef
> 
> 
> Nokia-N800-26:~# export
> LD_PRELOAD="/usr/bin/libesd.so.0 /usr/bin/libesddsp.so.0"
> Nokia-N800-26:~# gdb gtick
> 
> .
> 
> Program received signal SIG32, Real-time event 32.
> 0x41208a90 in pthread_create () from /lib/libpthread.so.0
> (gdb) c
> Continuing.
> 
> Program received signal SIGBUS, Bus error.
> 0x41162032 in g_scanner_scope_foreach_symbol ()
> from /usr/lib/libglib-2.0.so.0
> (gdb) bt
> #0  0x41162032 in g_scanner_scope_foreach_symbol ()
>from /usr/lib/libglib-2.0.so.0
> #1  0x411b04d4 in ?? () from /usr/lib/libglib-2.0.so.0
> Cannot access memory at address 0xc
> (gdb) 
> 
> 
> 
> 
> Nokia-N800-26:~# strace gtick
> 
> 
> 
> open("/usr/share/themes/default/gtk-2.0/gtkrc.cache", O_RDONLY|
> O_LARGEFILE) = 10
> fstat64(10, {st_mode=S_IFREG|0644, st_size=17592186044416, ...}) = 0
> mmap2(NULL, 182448, PROT_READ, MAP_SHARED, 10, 0x430) = 0x40274000
> close(10)   = 0
> --- SIGBUS (Bus error) @ 0 (0) ---
> +++ killed by SIGBUS +++
> Process 2722 detached
> Nokia-N800-26:~# 
> 
> 
> 
> 
> 
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers

___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Question about Gtk 2.10 and GLIB 2.12

2007-02-13 Thread Fernando Herrera
El mar, 13-02-2007 a las 19:04 +0200, ext Marius Vollmer escribió:
> "ext Jaime Frutos Morales" <[EMAIL PROTECTED]> writes:
> 
> > I'm trying to port Gossip to the Maemo platform (Bora), but I've found
> > that it has hard dependencies on Gtk 2.10 and GLIB 2.12. 
> >
> > Are these libraries going to be available soon in the Maemo platform
> > (Bora)?
> 
> Not in bora, but you might want to check out 
> 
> http://maemo.org/maemowiki/MaemoGtk210Migration


If you want to keep track of this migration, you can easily do it
installing sardine distribution on top of your bora SDK:
1) Install bora
2) Update it to sardine:
http://maemo.org/maemowiki/SardineGettingStarted
3) Add experimental repositories to your /etc/apt/sources.list:
deb http://repository.maemo.org sardine-experimental main non-free
deb-src http://repository.maemo.org sardine-experimental main non-free

Of course any help on this effort is really appreciated, like testing,
bug reporting, code, etc...

Salu2



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Improving Cairo performance on the N800

2007-01-16 Thread Fernando Herrera
El mar, 16-01-2007 a las 12:20 +0200, ext Daniel Stone escribió:
> We don't currently use the MBX block at all: there's no driver or
> anything to hook into.

There was a linux driver for PowerVR from Imagination Technologies for
2.4 kernels, but I think is not open source :(

Salu2

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Gazpacho question

2006-10-11 Thread Fernando Herrera


Hi,


On Tue, 2006-10-10 at 17:24 +0300, ext kiki wrote:
> I ve been trying to work with gazpacho and i really have a lot of
> problems.
> And I want to ask if anyone has managed to make a GUI with gazpacho
> that actually works
> as it is supposed to do.

What version of gazpacho are you using?

Notice that the current packaged gazpacho+gazpacho-hildon is quite
broken.

I updated last week gazpacho-hildon adaptors in svn so they should work
properly now.

You'd need to follow the instructions at:
http://maemo.org/platform/docs/howtos/gazpacho_hildon.html

under the section "Install latest development packages of Gazpacho" for
getting this working.

I'm waiting to a new gazpacho upstream release and some more new fancy
stuff to package properly gazpacho under sardine.

Salu2


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Gazpacho in Maemo 2.0?

2006-10-02 Thread Fernando Herrera

Hi,

On Wed, 2006-09-20 at 15:30 -0700, ext Shane Bryan wrote:
> I was just reading that HildonApp has been depricated in 2.0 as per
> the porting HOWTO, so I am wondering if maybe the gazpacho installed
> via apt-get is not actually compatible with Maemo 2.0?  I am
> suspecting this may be the case, in which case, does anyone know of
> efforts to port it to Maemo 2.0?

Yes, current gazpacho hildon adaptors are broken in some different ways.
I have lot of patches for fixing them that I plan to commit this evening
to svn server.

Also notice that the current packaged version of gazpacho in the
SDK/sardine is quite outdated. We had been "maintaining" some kind of
fork on stage.maemo.org. Our current plans are to use upstream version
of gazpacho and package from it into SDK/sardine.

Salu2



___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Fail to package in maemo-2.0 SDK_PC target

2006-07-31 Thread Fernando Herrera
On Mon, 2006-07-31 at 13:14 +0300, ext Marius Vollmer wrote:
> "ext Vladislav Grinchenko" <[EMAIL PROTECTED]> writes:
> 
> > dh_installdeb
> > Undefined subroutine &main::debhelper_script_subst called
> > at /usr/bin/dh_installdeb line 66,  line 1.
> > make: *** [binary-arch] Error 9
> 
> I _think_ I have seen this: in my case it was a problem with
> Scratchbox redirecting to its own version of Perl which had a
> different module path and would pick up an old version of
> Debian::Debhelper::Dh_Lib.  Or something like that.

Yes, I had also that problem because. Setting the "debian" devkit in the
scratchbox target fixed the problem for me.

Salu2


___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers