Re: Help with dependencies needed

2010-06-02 Thread daniel wilms

ext Chris Walker wrote:

Apologies if this question has been asked before but I'm new here.

I've just compiled the Qt_QRentBook_Example from the Forum Nokia website 
as I would like to be able to develop an application for my N900.


I had problems with Qt4.6 initially 


Within scratchbox? Which version of the SDK are you using?

but I downloaded and compiled that 
and the QRentbook app compiles ok in scratchbox.


But I get these errors when I upload it to scratchbox :-
  


Sorry, but what do you mean with upload it to scratchbox?


dpkg: dependency problems prevent configuration of qrentbook:
  qrentbook depends on libqt4-core; however:
   Package libqt4-core is not installed.
  qrentbook depends on libqt4-gui; however:
   Package libqt4-gui is not installed.
  qrentbook depends on libqt4-sql; however:
   Package libqt4-sql is not installed.
  qrentbook depends on libqt4-sql-sqlite; however:
   Package libqt4-sql-sqlite is not installed.
dpkg: error processing qrentbook (--install):
  dependency problems - leaving unconfigured
Errors were encountered while processing:
  qrentbook

What am I doing wrong?

If this is documented in a site or page somewhere, please feel free to 
point me in that direction.


  


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


Re: changing the default camera event triggers

2010-06-02 Thread daniel wilms

ext Martin DeMello wrote:

I would like to do the following:

1. Have the open camera shutter action start the led flashlight app
rather than the camera
2. Have the camera button kill the flashlight app and start the camera

Is it possible? Any pointers on how to get started with this?

  
Please have a look at the thread of the shortcutd application in talk 
[1]. Especially this post might be interesting [2] for you as a starting 
point.


1. http://talk.maemo.org/showthread.php?t=39160
2. http://talk.maemo.org/showthread.php?p=495516#post495516

Daniel


martin
___
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


N900 developers - 9 days left for Nokia's Calling all innovators competition.

2010-06-02 Thread ronan.maclaverty
Hi all,

Nokia's Call All Innovators competition closes in 9 days (including one 
weekend!), and it has a section devoted to the best N900 application with a 
prize of $50,000.  Additionally, the competition organizers will help the top 
submissions get onto the Ovi Store, which now supports paid content.  So, in 
addition to the possibility to win prizes, there is a chance to earn some 
money. 

If you have an innovative idea in the areas of Eco/Being Green, Entertainment, 
Life Improvement, or Productivity, enter the competition.  The measurement 
criteria are quality, uniqueness, commercial viability, and usability.  Looking 
at the innovation in extra-devel, an N900 application would have a real shot at 
winning the main prize in one of these categories too.

So, check out www.callingallinnovators.com and submit your application before 
midnight (EDT) on 10 June 2010; the clock is ticking..

Regards,

Ronan.

Meego Developer Advocate (Nokia), Helsinki

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


Q_WS_MAEMO_5 directive

2010-06-02 Thread Ram Kurvakat
Hi,

what preprocessor directives need to be used for Maemo5 specific QT code ?
is it still Q_WS_MAEMO_5 or has it changed in PR1.2 QT4.6 release ?
I remember in QT4.5 it was Q_WS_HILDON.

Thanks.

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


Re: Q_WS_MAEMO_5 directive

2010-06-02 Thread Daniil Ivanov
Hi Ram!

  Yes, it's still Q_WS_MAEMO_5.

Thanks, Daniil.

On Wed, Jun 2, 2010 at 10:53 AM, Ram Kurvakat rkma...@gmx.com wrote:
 Hi,

 what preprocessor directives need to be used for Maemo5 specific QT code ?

 is it still Q_WS_MAEMO_5 or has it changed in PR1.2 QT4.6 release ?

 I remember in QT4.5 it was Q_WS_HILDON.

 Thanks.

 -
 krk969

 ___
 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: Q_WS_MAEMO_5 directive

2010-06-02 Thread daniel wilms

ext Ram Kurvakat wrote:


Hi,


what preprocessor directives need to be used for Maemo5 specific QT code ?

is it still Q_WS_MAEMO_5 or has it changed in PR1.2 QT4.6 release ?

I remember in QT4.5 it was Q_WS_HILDON.




Q_WS_MAEMO_5 is the right one. As you said, the latter one was for Qt 4.5.

Daniel


Thanks.

-
krk969



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


Re: Q_WS_MAEMO_5 directive

2010-06-02 Thread David King

On 2010-06-02 09:53, Ram Kurvakat rkma...@gmx.com wrote:

Hi,

what preprocessor directives need to be used for Maemo5 specific QT code ?
is it still Q_WS_MAEMO_5 or has it changed in PR1.2 QT4.6 release ?
I remember in QT4.5 it was Q_WS_HILDON.


Correct, for the 4.6 in PR1.2 the define is Q_WS_MAEMO_5:

http://wiki.maemo.org/Qt4_Hildon#Adding_Maemo_changes_to_a_Qt_Application

--
David King | http://amigadave.com/
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: changing the default camera event triggers

2010-06-02 Thread Martin DeMello
On Wed, Jun 2, 2010 at 12:57 PM, daniel wilms daniel.wi...@nokia.com wrote:

 Please have a look at the thread of the shortcutd application in talk [1].
 Especially this post might be interesting [2] for you as a starting point.

 1. http://talk.maemo.org/showthread.php?t=39160
 2. http://talk.maemo.org/showthread.php?p=495516#post495516

Thanks, that looks very helpful

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


Re: Help with dependencies needed

2010-06-02 Thread Chris Walker

On 02/06/10 08:05, daniel wilms wrote:

ext Chris Walker wrote:

Apologies if this question has been asked before but I'm new here.

I've just compiled the Qt_QRentBook_Example from the Forum Nokia
website as I would like to be able to develop an application for my N900.

I had problems with Qt4.6 initially


Within scratchbox? Which version of the SDK are you using?


Yes within scratchbox. As far as I know, it's the latest version. How do 
I tell which version it is?


If I fire up sb-menu --help, it tells me that it's FREMANTLE_ARMEL 
cs2007q3-glibc2.5-arm7 or is that not what you want to know?



but I downloaded and compiled that and the QRentbook app compiles ok
in scratchbox.

But I get these errors when I upload it to scratchbox :-


Sorry, but what do you mean with upload it to scratchbox?


Apologies. I'll try and clarify that. I have the emulator running in a 
Xephyr window and although the QRentbook application is there, the 
appearance is not correct and some of the options are missing. I guess 
that's due to the missing files.


--
 __ __| |_ __ __  .---.
/ _/ _` \ V  V /  |  mailto:cdw_li...@the-walker-household.co.uk  |
\__\__,_|\_/\_/   |___|
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Checking whether there is an existing Internet Connection

2010-06-02 Thread saurabh aggarwal
I am trying to find out if there is currently an existing Internet
Connection on N900. How do I do that?

I found out how to show the connection dialog with -

dbus-send --system --type=method_call --dest=com.nokia.icd_ui
/com/nokia/icd_ui com.nokia.icd_ui.show_conn_dlg boolean:false.

But, I need to figure out if I really need to call it or not.

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


Re: Help with dependencies needed

2010-06-02 Thread daniel wilms

ext Chris Walker wrote:

On 02/06/10 08:05, daniel wilms wrote:
  

ext Chris Walker wrote:


Apologies if this question has been asked before but I'm new here.

I've just compiled the Qt_QRentBook_Example from the Forum Nokia
website as I would like to be able to develop an application for my N900.

I had problems with Qt4.6 initially
  

Within scratchbox? Which version of the SDK are you using?



Yes within scratchbox. As far as I know, it's the latest version. How do 
I tell which version it is?


If I fire up sb-menu --help, it tells me that it's FREMANTLE_ARMEL 
cs2007q3-glibc2.5-arm7 or is that not what you want to know?
  

you can find the version by typing inside scratchbox:

nano /etc/maemo_version


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


Re: Help with dependencies needed

2010-06-02 Thread Chris Walker

On 02/06/10 13:06, daniel wilms wrote:

ext Chris Walker wrote:

On 02/06/10 08:05, daniel wilms wrote:

ext Chris Walker wrote:

Apologies if this question has been asked before but I'm new here.

I've just compiled the Qt_QRentBook_Example from the Forum Nokia
website as I would like to be able to develop an application for my
N900.

I had problems with Qt4.6 initially

Within scratchbox? Which version of the SDK are you using?


Yes within scratchbox. As far as I know, it's the latest version. How
do I tell which version it is?

If I fire up sb-menu --help, it tells me that it's FREMANTLE_ARMEL
cs2007q3-glibc2.5-arm7 or is that not what you want to know?

you can find the version by typing inside scratchbox:

nano /etc/maemo_version


That has 2 lines of output :-

GNU nano 1.2.4 and 5.0update5 Fremantle

HTH.

--
 __ __| |_ __ __  .---.
/ _/ _` \ V  V /  |  mailto:cdw_li...@the-walker-household.co.uk  |
\__\__,_|\_/\_/   |___|
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Displaying thumbnails in listbox gives garbage value

2010-06-02 Thread Pallavi Kandhare
Hello,
I want to display image names and their thumbnails in a listbox. When i try to 
add thumbnail to listbox it shows some garbage value on screen along with 
warning on console:
thumbnail[29664]: GLIB WARNING ** Pango - Invalid UTF-8 string passed to 
pango_layout_set_text()

So is there any method with which i can display image name and its thumbnail in 
listbox?

Thanks.


  

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


Re: Displaying thumbnails in listbox gives garbage value

2010-06-02 Thread Andre Klapper
Am Mittwoch, den 02.06.2010, 05:09 -0700 schrieb Pallavi Kandhare:
 thumbnail[29664]: GLIB WARNING ** Pango - Invalid UTF-8 string passed to 
 pango_layout_set_text()
 
 So is there any method with which i can display image name and its thumbnail 
 in listbox?

Fix the warning? :)
On a more serious note: Hard to say without seeing your code.

andre
-- 
Andre Klapper (maemo.org bugmaster)

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


Re: Checking whether there is an existing Internet Connection

2010-06-02 Thread daniel wilms

ext saurabh aggarwal wrote:
I am trying to find out if there is currently an existing Internet 
Connection on N900. How do I do that?
 


If you are using Qt check the Bearer Management of the QtMobility API 
[1], otherwise have a look at the libconic API [2] and for further 
reading at the Maemo Developer Guide [3].



[1] http://doc.qt.nokia.com/qtmobility-1.0/bearer-management.html
[2] http://maemo.org/api_refs/5.0/5.0-final/libconic/
[3] 
http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components



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


Re: Checking whether there is an existing Internet Connection

2010-06-02 Thread Daniil Ivanov
Hi Saurabh!

  In principle there is nothing to add to Daniel's reply, but just in
case there is a sample application using libconic API
  
http://wiki.forum.nokia.com/index.php/How_to_initiate_Internet_connection_from_Qt_appplication_in_Maemo_5

Thanks, Daniil.

On Wed, Jun 2, 2010 at 3:15 PM, daniel wilms daniel.wi...@nokia.com wrote:
 ext saurabh aggarwal wrote:

 I am trying to find out if there is currently an existing Internet
 Connection on N900. How do I do that?


 If you are using Qt check the Bearer Management of the QtMobility API [1],
 otherwise have a look at the libconic API [2] and for further reading at the
 Maemo Developer Guide [3].


 [1] http://doc.qt.nokia.com/qtmobility-1.0/bearer-management.html
 [2] http://maemo.org/api_refs/5.0/5.0-final/libconic/
 [3]
 http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components


 Daniel
 ___
 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: Help with dependencies needed

2010-06-02 Thread daniel wilms



That has 2 lines of output :-

GNU nano 1.2.4 and 5.0update5 Fremantle

  


There is one newer update, but this should contain all the Qt libraries. 
Are you starting the program and the Fremantle application framework 
(af-sb-init.sh start) from the X86 target?


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


Re: Displaying thumbnails in listbox gives garbage value

2010-06-02 Thread Pallavi Kandhare
 Hi Andre,
I am not able to view ur recent mail content. Can u pls reply once again.
Thanks.


 Please note that when i try to display the same image in
 window the image is seen. 
 But when i add the image to listbox , on screen I can see
 garbage value in place of each image. 
 Code is as follows:
 
 void add_to_list(GtkWidget *list, GtkImage *image) {
  GtkListStore *store;
  GtkTreeIter iter;
 
  store = GTK_LIST_STORE(gtk_tree_view_get_model
    (GTK_TREE_VIEW(list)));
 
  gtk_list_store_append(store, iter);
  gtk_list_store_set(store, iter, LIST_ITEM, image, -1);
 }
 

 
 
       
 


  

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


Re: Displaying thumbnails in listbox gives garbage value

2010-06-02 Thread Andre Klapper
Am Mittwoch, den 02.06.2010, 05:43 -0700 schrieb Pallavi Kandhare:
 Hi Andre,
 I am not able to view ur recent mail content. Can u pls reply once again.

Of course. My complete content was: (Please don't send me private
emails but answer to the list instead. Thanks.)

andre
-- 
Andre Klapper (maemo.org bugmaster)

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


Re: Displaying thumbnails in listbox gives garbage value

2010-06-02 Thread Daniil Ivanov
Hi Pallavi!

   You are supposed to use something like this in order to create a model

GtkTreeIteriter;
GtkListStore *model = gtk_list_store_new (1, GDK_TYPE_PIXBUF);
for (i = 0; i  100; i++)  {
GdkPixbuf *pixbuf =  gdk_pixbuf_new (GDK_COLORSPACE_RGB,
 FALSE, 8, 100, 100);
gtk_list_store_append (model, iter);
gtk_list_store_set (model, iter, 0, pixbuf, -1);
}

Thanks, Daniil.

On Wed, Jun 2, 2010 at 3:43 PM, Pallavi Kandhare
pallavi.kandh...@yahoo.com wrote:
  Hi Andre,
 I am not able to view ur recent mail content. Can u pls reply once again.
 Thanks.


  Please note that when i try to display the same image in
  window the image is seen.
  But when i add the image to listbox , on screen I can see
  garbage value in place of each image.
  Code is as follows:

  void add_to_list(GtkWidget *list, GtkImage *image) {
  GtkListStore *store;
  GtkTreeIter iter;

  store = GTK_LIST_STORE(gtk_tree_view_get_model
 (GTK_TREE_VIEW(list)));

  gtk_list_store_append(store, iter);
  gtk_list_store_set(store, iter, LIST_ITEM, image, -1);
  }










 ___
 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


DBus + skype

2010-06-02 Thread Felipe Crochik
I am working on an application to interface with the address book and place
calls. I don't want/need to rewrite the code to actually handle the calling.
I just want to start the default application with the phone number to
call.

I am looking for dbus messages that will:
1. call a phone number using my skype account
2. start chat UI with a given skype user
3. start voice and video skype calls with a give skype user

I could use telepathy but I don't want/have to recreate the UI and even less
to try to reinvent the wheel. I just want to tell the existing applications
to handle contacting a given number/user and show the right UI. I assume
that is what happens now between the contacts application (and/or call
log application) and the call application.

I successfully handled to start a call using the cellular modem
(com.nokia.csd.Call.CreateWith), start the call number UI
(com.nokia.CallUI.CreateCall), start the email UI
(com.nokia.modest.MailTo) and start sms UI
(com.nokia.MessagingUI.messaging_ui_interface_start_sms) but can't find
anything to handle skype connections.

Thanks,
Felipe

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


Chinook Diablo Builder down

2010-06-02 Thread Cornelius Hald
Hi Niels or anyone with the power :)

Didn't check the Fremantle builder, but Chinook and Diablo having
problems. Please have a look at it.

Thanks!
Conny

___DIABLO___

Unpacking rootstrap...
[2010-06-02 17:06:08] ensuring dir 
/scratchbox/users/builder1/host_usr/bin.maemo4-arm-94bafa8aebccb2e0fcfede757244c6b0891d01ce
[2010-06-02 17:06:08] fakeroot apt-get -y -q -o 
APT::Get::AllowUnauthenticated=1 update /dev/null
Ign file: diablo Release.gpg
Ign file: diablo Release
Ign http://stage diablo/sdk Release.gpg
Ign http://stage diablo/tools Release.gpg
Ign http://stage diablo Release.gpg
Ign http://stage diablo/sdk Release
Ign http://stage diablo/tools Release
Ign http://stage diablo Release
Err http://stage diablo/sdk/free Packages
  404 Not Found
Err http://stage diablo/sdk/non-free Packages
  404 Not Found
Err http://stage diablo/tools/free Packages
  404 Not Found
Err http://stage diablo/tools/non-free Packages
  404 Not Found
Err http://stage diablo/free Packages
  404 Not Found
Err http://stage diablo/non-free Packages
  404 Not Found
Failed to fetch http://stage/dists/diablo/sdk/free/binary-armel/Packages.gz  
404 Not Found
Failed to fetch http://stage/dists/diablo/sdk/non-free/binary-armel/Packages.gz 
 404 Not Found
Failed to fetch http://stage/dists/diablo/tools/free/binary-armel/Packages.gz  
404 Not Found
Failed to fetch 
http://stage/dists/diablo/tools/non-free/binary-armel/Packages.gz  404 Not Found
Failed to fetch 
http://stage/extras-devel/dists/diablo/free/binary-armel/Packages.gz  404 Not 
Found
Failed to fetch 
http://stage/extras-devel/dists/diablo/non-free/binary-armel/Packages.gz  404 
Not Found
Reading package lists...
E: Some index files failed to download, they have been ignored, or old ones 
used instead.
[2010-06-02 17:06:08] Cleaning up...
[2010-06-02 17:06:09] Removing temporary target...
[2010-06-02 17:06:09] Done.


__CHINOOK__

Unpacking rootstrap...
[2010-06-02 17:08:06] ensuring dir 
/scratchbox/users/builder1/host_usr/bin.maemo4-arm-092eeb1f3a318c3e6c5ad580f12d918455b7f5e2
[2010-06-02 17:08:06] fakeroot apt-get -y -q -o 
APT::Get::AllowUnauthenticated=1 update /dev/null
Ign http://stage chinook Release.gpg
Ign http://stage chinook Release.gpg
Ign http://stage chinook Release
Ign http://stage chinook Release
Err http://stage chinook/free Packages
  404 Not Found
Err http://stage chinook/non-free Packages
  404 Not Found
Ign file: chinook Release.gpg
Err http://stage chinook/free Packages
  404 Not Found
Ign file: chinook Release
Err http://stage chinook/non-free Packages
  404 Not Found
Failed to fetch http://stage/dists/chinook/free/binary-armel/Packages.gz  404 
Not Found
Failed to fetch http://stage/dists/chinook/non-free/binary-armel/Packages.gz  
404 Not Found
Failed to fetch 
http://stage/extras-devel/dists/chinook/free/binary-armel/Packages.gz  404 Not 
Found
Failed to fetch 
http://stage/extras-devel/dists/chinook/non-free/binary-armel/Packages.gz  404 
Not Found
Reading package lists...
E: Some index files failed to download, they have been ignored, or old ones 
used instead.
[2010-06-02 17:08:07] Cleaning up...
[2010-06-02 17:08:07] Removing temporary target...
[2010-06-02 17:08:07] Done.



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


Re: Help with dependencies needed

2010-06-02 Thread Chris Walker

On 02/06/10 13:27, daniel wilms wrote:



That has 2 lines of output :-

GNU nano 1.2.4 and 5.0update5 Fremantle



There is one newer update, but this should contain all the Qt libraries.


Can you clarify your first line please? Do you mean that the version I'm 
running should contain all the Qt libraries or that the update should 
contain them? If so, how can I load that update because when I issue the 
'apt-get update' instruction, it tells me it's up-to-date.


 Are you starting the program and the Fremantle application framework
 (af-sb-init.sh start) from the X86 target?

Yep. The prompt from where I launch the dpkg -i instruction is
'sbox-FREMANTLE_X86' and I've issued the 'sb-conf se FREMANTLE_X86' 
instruction to arrive there.


--
 __ __| |_ __ __  .---.
/ _/ _` \ V  V /  |  mailto:cdw_li...@the-walker-household.co.uk  |
\__\__,_|\_/\_/   |___|
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Barrage for N900

2010-06-02 Thread Robert
I already tried sending an e-mail about this but I received no response.

There is this game called 'Barrage' in the repositories that has missing 
dependencies for the N900. I fixed that version by fixing the dependencies. It 
works very well with my N900.

The original author said he wasn't interested in touching this so I have 
permission: https://bugs.maemo.org/show_bug.cgi?id=7962

I tried uploading to extras. I set up SSH correctly but apparently I also need 
to set up scratchbox and I just don't have time to learn how to do that too. I 
tried asking someone to upload it for me, but apparently you need the source 
code to upload. I only have a fixed .deb file.

I am no coder. I only editted the dependencies and incremented the version 
number to 1.0.3-4. Is there any way to upload it only for fremantle and leave 
the other version for chinook/diablo.

I do not want credit for this. I really didn't do anything. This is a very fun 
game and it would be nice if others could try it. 


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


Re: Barrage for N900

2010-06-02 Thread Aapo Rantalainen
 The original author said he wasn't interested in touching this so I have
 permission: https://bugs.maemo.org/show_bug.cgi?id=7962

 I do not want credit for this. I really didn't do anything. This is a very
 fun game and it would be nice if others could try it.

I can do that (or check is it easy as you say). As soon as builder is
working again.

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


Re: Chinook Diablo Builder down

2010-06-02 Thread Niels Breet
Hi,

Sorry for this, everything should be back to normal now.

- Niels

 Hi Niels or anyone with the power :)


 Didn't check the Fremantle builder, but Chinook and Diablo having
 problems. Please have a look at it.

 Thanks!
 Conny



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


Re: Qt Autorotation

2010-06-02 Thread Stefanos Harhalakis
Hello,

On Thursday 27 of May 2010, Felipe Crochik wrote:
 Luca,
 I ran into the same issue - the new windows always start on landscape - and
 used the same workaround - checked the screen resolution and when taller
 set the portrait attribute. And yes, I believe you are right, setting the

I had the same problem but it proved to be my fault. If you are using QDialogs 
like me then you only have to be sure that you're setting the main window (the 
one with the portrait mode support) as the parent window. This will give nice 
portrait support and QDialogs will start in the proper condition.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


non-free section pointing to PR1.0 repos.

2010-06-02 Thread Ram Kurvakat
Niels, Ive sent you a mail about this already, please ignore it posted it here 
again so it helps everybody.

the non-free section seems to be pointing to PR1.0 repos still.
Is this known and somebody already working on it ? Perhaps Ive missed to see a 
mail or two.
Not able to promote anything on this past few days. 
All QT4.6 dependent packages built on PR1.2 SDK's will have this issue.

some examples:
http://maemo.org/packages/package_instance/view/fremantle_extras-devel_non-free_armel/facebrick/0.4/
 
http://maemo.org/packages/package_instance/view/fremantle_extras-devel_non-free_armel/facebrick/0.4/
 
http://maemo.org/packages/package_instance/view/fremantle_extras-devel_non-free_armel/buddy/0.2-3/
 
http://maemo.org/packages/package_instance/view/fremantle_extras-devel_non-free_armel/buddy/0.2-3/
 


Thanks and Regards

Ram
(krk969)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


RE: Qt Autorotation

2010-06-02 Thread Felipe Crochik
Hi, 

It seems to me that this is an unintended positive side effect instead of
a planned requirement. I pass the mainwindow pointer to my dialog
constructors and this should set the parent.

By reading the documentation setParent should be quite useless in this
scenario because I would be changing the parent to the exact same one
assigned previously. I believe it just happens to work because setParent
will hide the just created dialog and then when you call exec or show it
will probably trigger the window manager recognizing this window as part
of an autorotation application and adjusting it accordingly.

Regardless, it was a good catch. It will probably help saving a bunch of
useless lines of code trying to remedy this issue and hopefully on a new
release it will be fixed so we don't need to artificially reset the parent
to make the manager adjust the window.

I would say that it is probably worth reporting this as a bug on the
qt/nokia web site. Have you reported it?

Thanks for updating us on your findings
Felipe

-Original Message-
From: Stefanos Harhalakis [mailto:v...@v13.gr] 
Sent: Wednesday, June 02, 2010 6:08 PM
To: Felipe Crochik
Cc: maemo-developers@maemo.org; Luca Donaggio
Subject: Re: Qt Autorotation

Hello,

On Thursday 27 of May 2010, Felipe Crochik wrote:
 Luca,
 I ran into the same issue - the new windows always start on landscape -
and
 used the same workaround - checked the screen resolution and when taller
 set the portrait attribute. And yes, I believe you are right, setting the

I had the same problem but it proved to be my fault. If you are using
QDialogs 
like me then you only have to be sure that you're setting the main window
(the 
one with the portrait mode support) as the parent window. This will give
nice 
portrait support and QDialogs will start in the proper condition.

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


Re: Qt Autorotation

2010-06-02 Thread Robin Burchell
On Thu, May 27, 2010 at 1:26 PM, Felipe Crochik fel...@crochik.com wrote:
 Luca,
 I ran into the same issue - the new windows always start on landscape - and
 used the same workaround - checked the screen resolution and when taller set
 the portrait attribute.

This was filed as a bug earlier today:

http://bugreports.qt.nokia.com/browse/QTBUG-11190

Interested readers may wish to subscribe for updates.

Best,

Robin Burchell
mob: +447702671419
msn: m...@viroteck.net
irc: w00t @ irc.freenode.net
twr: http://twitter.com/w00teh
lac: http://identi.ca/w00t
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


Re: non-free section pointing to PR1.0 repos.

2010-06-02 Thread Robin Burchell
Thanks for sending this Ram. I've been too busy to follow it up since
I found out about it.

On Wed, Jun 2, 2010 at 11:32 PM, Ram Kurvakat rkma...@gmx.com wrote:
 Niels, Ive sent you a mail about this already, please ignore it posted it
 here again so it helps everybody.

 the non-free section seems to be pointing to PR1.0 repos still.

 Is this known and somebody already working on it ? Perhaps Ive missed to see
 a mail or two.

 Not able to promote anything on this past few days.

I presume it's just promotion that is affected, but all the same, it
would be nice to have this resolved. (I'd love to not use non-free,
but I really don't have the time to learn how to fix my packaging at
the moment...)

 Ram

 (krk969)


Best,

Robin Burchell
mob: +447702671419
msn: m...@viroteck.net
irc: w00t @ irc.freenode.net
twr: http://twitter.com/w00teh
lac: http://identi.ca/w00t
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


changes to user shells on drop.maemo.org (how this relates to extras and the builder)

2010-06-02 Thread Ferenc Szekely
Hello,

We received reports about the autobuilder being stuck. Niels has fixed
the problem, but I needed to change the default shell settings on
drop.maemo.org. You may ask why? Well, the reason is simple:

If a person had __no__ extras invitation before, but opened a project
using git, then he / she suddenly got granted with extras upload
privileges. This is bad, because our intentions are to keep these two
services separated.

Luckily all uploads are traceable, since authentication happens with ssh
keys. So security wise it was not such a big deal.

Extras uploaders should request the upload rights via email, that's
the standard procedure. Git users can have git over ssh by simply
uploading their public ssh key via: https://garage.maemo.org/account/ .
(I know that git over ssh is not really working for all of us at the
moment. There is an other issue and I am working on it.)

In case you face problems while uploading to extras or to the builder,
then it might be due these latest changes. If so, then I apologize for
the inconvenience and kindly ask you to drop an email to Niels and
myself asap.

Thanks for your time.
Ferenc
-- 
maemo.org sysadmin, developer
email: fer...@maemo.org

ps: please feel free to spread this message
___
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers


[ANN] maemo-scrobber 1.0 for last.fm + libre.fm

2010-06-02 Thread Felipe Contreras
Hi,

maemo-scrobbler is a scrobbler application (last.fm/libre.fm) for the
Nokia N900 that listens for events coming from the official media player
app through MAFW.

You can configure your accounts through the control panel.

The inspiration (and some code) comes from mafw-lastfm which does
basically the same thing, but lacks some features. For more on
mafw-lastfm see below.

Compared to mafw-lastfm, maemo-scrobbler has:

1) Support for multi-scrobbling (both last.fm and libre.fm at the same time)
   Includes a song queue per service.
2) Improved song queue handling
   Since internally it uses libscrobble (which is independent of MAFW),
   the important code can be easily tested on desktop sw, and it has
   been done so… throughly.
   It doesn’t matter how flaky your network is, or that the servers are
   down, the songs will be submitted.
3) Permanent storage
   The song queue is not lost, even on crashes, device reboots, or
   software updates.
4) Video clips are ignored
   Small feature, but important.

In other words: maemo-scrobbler Just Works™ ;)

It's now on extras testing, please give it a try and vote up:
http://maemo.org/packages/view/maemo-scrobbler/

For more info and the source code, check github:
http://wiki.github.com/felipec/maemo-scrobbler/

== mafw-lastfm ==

Initially I tried to improve mfaw-lastfm, but I noticed so many problems
that I decided to start from scratch, and soon I had all the
functionality I wanted.

Then I brought up all the problems to the mailing list [1], and I tried to
contribute to mafw-lastfm [2], some trivial patches got in, but the
important ones [3] did not. That was back in February, and at that
point Claudio (the maintainer) decided to wait until a stable release
(0.0.4), which was done in April. We are now in June and I haven't heard
anything.

So I decided to implement the missing pieces and provide what IMO is
supperior software (at the very least it does what I need, and hopefully
you would like it too).

Cheers.

[1] 
https://garage.maemo.org/pipermail/mafw-lastfm-devel/2010-January/26.html
[2] 
https://garage.maemo.org/pipermail/mafw-lastfm-devel/2010-January/62.html
[3] 
https://garage.maemo.org/pipermail/mafw-lastfm-devel/2010-February/68.html


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


Re: [mafw-lastfm-devel] [ANN] maemo-scrobber 1.0 for last.fm + libre.fm

2010-06-02 Thread Claudio Saavedra
Felipe,

Allow me to reply starting from one of your last your statements:

On Thu, 2010-06-03 at 03:46 +0300, Felipe Contreras wrote:

 We are now in June and I haven't heard anything.

This is just not true. To your inquire back in April, this is what I
replied:

https://garage.maemo.org/pipermail/mafw-lastfm-devel/2010-April/77.html

I thought you'd follow up with what I commented as the two main reasons
why I didn't consider libscrobble at that point yet, but since you
didn't I just continued fixing issues in my code as time allowed.

 
 1) Support for multi-scrobbling (both last.fm and libre.fm at the same time)
Includes a song queue per service.

I haven't worked on this yet, because I was fixing other issues that
were more important. I list them below, even when I am sure that you
know already.

 2) Improved song queue handling
Since internally it uses libscrobble (which is independent of MAFW),
the important code can be easily tested on desktop sw, and it has
been done so… throughly.
It doesn’t matter how flaky your network is, or that the servers are
down, the songs will be submitted.

I have fixed all the issues with the network handling for at least a
month now (these were released in 0.0.5). I also implemented support for
scrobbling behind proxies[1], which is in a branch in gitorious waiting
to get some testing from users.

 3) Permanent storage
The song queue is not lost, even on crashes, device reboots, or
software updates.

I have also implemented permanent storage during last week and it's
working fine. I am planning to do a release including this during this
week, but I was waiting for some translations to come in first [2].

 4) Video clips are ignored
Small feature, but important.

In the same email I link above, I replied to you that I wasn't against
implementing this if there was broader interest from users. Since I
didn't get much more feedback on this regard it was low in my
priorities.

 [...]
 Then I brought up all the problems to the mailing list [1], and I tried to
 contribute to mafw-lastfm [2], some trivial patches got in, but the
 important ones [3] did not. That was back in February, and at that
 point Claudio (the maintainer) decided to wait until a stable release
 (0.0.4), which was done in April. We are now in June and I haven't heard
 anything.

Well, as I said already, I told you clearly what were my concerns
regarding libscrobble. Instead of following up on the discussion, you
preferred to go your own way and implement yet another scrobbler. Good
on you.

 So I decided to implement the missing pieces and provide what IMO is
 supperior software (at the very least it does what I need, and hopefully
 you would like it too).

I don't how to take this. Unfortunately, I was waiting for your feedback
on my comments. I apologize if you were expecting something different.

I don't know if it was necessary for you to go your own way and
implement your own scrobbler, but in the end it's up to you. In a normal
case I'd be glad to see alternative software, because competition is
healthy, but in this case I find it a bit ridiculous – it's such a small
software that it barely makes sense to offer people two different ones
that in the end will obviously do the same. But that's your way, and
you're free to do it.


Claudio

[1] https://bugs.maemo.org/show_bug.cgi?id=9966
[2]
https://garage.maemo.org/pipermail/mafw-lastfm-devel/2010-June/000106.html

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


Re: Checking whether there is an existing Internet Connection

2010-06-02 Thread saurabh aggarwal
Thanks, Daniil and Daniel.

Your pointers are exactly what I was looking for. Thanks, again.

-Saurabh

On Wed, Jun 2, 2010 at 5:52 PM, Daniil Ivanov daniil.iva...@gmail.comwrote:

 Hi Saurabh!

  In principle there is nothing to add to Daniel's reply, but just in
 case there is a sample application using libconic API

 http://wiki.forum.nokia.com/index.php/How_to_initiate_Internet_connection_from_Qt_appplication_in_Maemo_5

 Thanks, Daniil.

 On Wed, Jun 2, 2010 at 3:15 PM, daniel wilms daniel.wi...@nokia.com
 wrote:
  ext saurabh aggarwal wrote:
 
  I am trying to find out if there is currently an existing Internet
  Connection on N900. How do I do that?
 
 
  If you are using Qt check the Bearer Management of the QtMobility API
 [1],
  otherwise have a look at the libconic API [2] and for further reading at
 the
  Maemo Developer Guide [3].
 
 
  [1] http://doc.qt.nokia.com/qtmobility-1.0/bearer-management.html
  [2] http://maemo.org/api_refs/5.0/5.0-final/libconic/
  [3]
 
 http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Using_Connectivity_Components
 
 
  Daniel
  ___
  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: Chinook Diablo Builder down

2010-06-02 Thread Cornelius Hald
On Wed, 2010-06-02 at 23:42 +0200, Niels Breet wrote:
 Hi,
 
 Sorry for this, everything should be back to normal now.

Yea, it's working again. Thank you!
Conny


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