Re: [QtMoko] new version of FBReader with Qt4

2013-05-27 Thread Radek Polak
On Sunday, May 26, 2013 09:59:53 PM francesco.dev...@mailoo.org wrote:

 Il 26/05/2013 19:13, Adrien Dorsaz ha scritto:
  Hello,
  
  I've tried latest qtmoko-fbreader and I was unable to run it. I've tried
  by console (by ssh) and I've found this error :
  
  loading /opt/qtmoko/lib/zlibrary/ui/zlui-qt4.so
  libgps.so.20: cannot open shared object file: No such file or directory
  
  So I've installed libgps-dev and I was able to run it (I haven't gpsd
  installed on my QtMoko v55 on GTA04). Maybe we should add dependency in
  the package ?
 
 but... why the hell should fbreader need a gps lib?? (:

Debian has feature that automatically generates library dependencies. We 
started using libgps some time ago in QtMoko libs and because fbreader depends 
on qtmoko it somehow transitively bubbled also into fbreader. No idea if this 
is bug or feature.

Regards

Radek
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] new version of FBReader with Qt4

2013-05-26 Thread Adrien Dorsaz
Hello,

I've tried latest qtmoko-fbreader and I was unable to run it. I've tried
by console (by ssh) and I've found this error :

loading /opt/qtmoko/lib/zlibrary/ui/zlui-qt4.so
libgps.so.20: cannot open shared object file: No such file or directory

So I've installed libgps-dev and I was able to run it (I haven't gpsd
installed on my QtMoko v55 on GTA04). Maybe we should add dependency in
the package ?

Regards,
Adrien


signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] new version of FBReader with Qt4

2013-05-26 Thread francesco . devita

Il 26/05/2013 19:13, Adrien Dorsaz ha scritto:

Hello,

I've tried latest qtmoko-fbreader and I was unable to run it. I've tried
by console (by ssh) and I've found this error :

loading /opt/qtmoko/lib/zlibrary/ui/zlui-qt4.so
libgps.so.20: cannot open shared object file: No such file or directory

So I've installed libgps-dev and I was able to run it (I haven't gpsd
installed on my QtMoko v55 on GTA04). Maybe we should add dependency in
the package ?


but... why the hell should fbreader need a gps lib?? (:

Joif

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] new version of FBReader with Qt4

2013-05-10 Thread Radek Polak
On Tuesday, May 07, 2013 07:30:08 PM francesco.dev...@mailoo.org wrote:

 Hi
 There is a new version of Fbreader [1] and it now uses Qt4.
 Should it be easier to integrate in QtMoko now? Has someone tried it
 already?
 
 It is not yet in the Debian repositories but I wanted to give it a shot,
 so I downloaded the source code and I tried to compile it on my GTA02.
 Unfortunately it fails at some point with some errors related to the
 code, I think.
 I opened an issue on github here [2] but no answer yet.
 If you can take a look at the code, can you give me some suggestion?
 Thank you.
 
 Joif
 
 [1] http://fbreader.org/content/fbreader-beta-linux-desktop
 [2] https://github.com/geometer/FBReader/issues/236

Hi,
i wonder which branch should i use for this beta...

Anyways i have now also fixed FBReader sources used in QtMoko so that it 
compiles and runs on wheezy. I'll now try to figure out the problem when the 
application disappears after run.

Regards

Radek


[1] https://github.com/radekp/FBReader/tree/qtmoko_hack 
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] new version of FBReader with Qt4

2013-05-10 Thread Radek Polak
On Friday, May 10, 2013 01:57:49 PM Radek Polak wrote:

 Anyways i have now also fixed FBReader sources used in QtMoko so that it
 compiles and runs on wheezy. I'll now try to figure out the problem when
 the application disappears after run.

I tried this [1] and now FBReader looks ok. At least for me the problem with 
application disappearing is gone now and FBReader is again usable. The armel 
package is now updated and will rebuild armhf now.

Regards

Radek


[1] 
https://github.com/radekp/FBReader/commit/a1d5e9b663f81c43232e44012730c44f94651f8f
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: [QtMoko] new version of FBReader with Qt4

2013-05-07 Thread Ivan Matveev
On Tue, 07 May 2013 19:30:08 +0200
francesco.dev...@mailoo.org wrote:

 Hi
 There is a new version of Fbreader [1] and it now uses Qt4.
 Should it be easier to integrate in QtMoko now? Has someone tried it 
 already?
 
 It is not yet in the Debian repositories but I wanted to give it a
 shot, so I downloaded the source code and I tried to compile it on my
 GTA02. Unfortunately it fails at some point with some errors related
 to the code, I think.
 I opened an issue on github here [2] but no answer yet.
 If you can take a look at the code, can you give me some suggestion? 
 Thank you.
 
 Joif
 
 [1] http://fbreader.org/content/fbreader-beta-linux-desktop
 [2] https://github.com/geometer/FBReader/issues/236

Hi

In [2]:
QtWaitingSpinner.cpp:89:55: error: no matching function for call to
'min(double, qreal)'

looks like std::min() has no idea what a qreal is. You could use qMin()
insted.


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community