Re: QtMoko media playback progress?

2012-11-22 Thread Radek Polak
On Wednesday, November 21, 2012 11:29:35 PM Neil Jerram wrote:

 Hi Radek,
 
 With current git master (well, actually 052d8d852), I don't see the
 progress bar moving when I play a piece of music in the media player.
 Do you?

I dont either. The gstreamer looks quite unfinished yet. But it shouldnt be 
that hard. You can take insipration how to do it in phonon - it does nearly 
the same that we do, e.g. qwidgetvideosink.cpp is nearly the same as our 
gstreamerqtopiavideosink.cpp etc..

If you would like to take a look at it, it would be nice.

 I wondered if this might be connected with using the '#ifndef
 QT_NO_GLIB' implementation of gstreamerbushelper.cpp.  The '#ifdef
 QT_NO_GLIB' appears to have support for reporting progress, by emitting
 the message() signal with a null message, but I don't see any equivalent
 of that in the '#ifndef QT_NO_GLIB' implementation.

It's very likely that the gstreamer was tested and implement for the 
QT_NO_GLIB variant.

We are now using glib event loop (same as X11-qt) - this is needed e.g. for 
html5 videos. If there is simple way to add this to our glib ifdef then it 
would be great.

Regards

Radek

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


Re: QtMoko v49

2012-11-22 Thread Adrien Dorsaz
Hello!

I've just received my gta04 tomorrow, installed Qtmoko v49 and even had
a call ! Thanks GoldenDelicious and Qtmoko !

During the call, I heard well my correspondant, but he had a not really
good back sound from my microphone (he said that it was like if the
network connection will be shortly interrupted).

I've tried to modify microphone and playback volume with the NeoControl
tool during the call, it worked a bit better after, but not as good as
my correspondant wanted.

I'll try later (maybe tomorrow) with qtmoko v48, but I already
appreciate to be able to have a conversation with others and with
linux :)

This morning, after I've installed qtmoko v49, I've tried to install
qtmoko v48 and after shr on my sdcard, but none worked. It seems like if
I'm only now able to run qtmoko v49 (which I had installed again after).
Maybe the issue comes from me (miss-reading instructions or so), but it
seems strange.

Regards,
Adrien Dorsaz

Le samedi 17 novembre 2012 à 16:43 +0100, Radek Polak a écrit :
 Hi,
 QtMoko v49 for GTA04 is now available [1]. There have been really many 
 changes 
 this time so be careful :) Complete changelog is here:
 
   * using gstreamer as media engine instead of cruxus
   * using pulseaudio for sounds
   * using pasuspender to pause media during calls and state switching
   * fixed DTMF tones on gta04 (Neil Jerram)
   * fixed USSD message box size (Stefan Rupp)
   * A3 earpiece state uses HiFi priority (Neil Jerram)
   * modem is now in 3g mode since modem usb disconnect fix is in kernel
   * modem dissapearing from usb in now logged to /modem_reenumerate.log
   * lot of work on debian package (Gilles Filippini)
   * fixed pkg-config handling (Gilles Filippini)
   * ogg metadata plugin (Neil Jerram)
   * fixed empty email content with windows charset (Neil Jerram)
   * fixed some email content displaying (Neil Jerram)
   * fixes in QtMaze accelerometer (Neil Jerram)
   * improvements in svg layouts (adrien)
   * arora and qx use new accelerometer library (Neil Jerram)
   * arora provides web access e.g. for web links in email (Neil Jerram)
   * mokofaen - space for 10 and more satellites (Neil Jerram)
   * qmplayer scans for webm and mkv now too
   * ssh access in allowed only on usb now (Paul Ferster, lindi)
   * updated build instructions - cross building is now done in chroot
   * using now glib even loop
   * parallel make option in configure for -build-qt option
   * pc build
   * kernel changes:
   * external gps antenna should work now (Christoph Mair)
   * avoid errors by stoping omap DMA channels before unlinking (Neil Brown)
   * CONFIG_TIDSPBRIDGE=m so that we can use dsp
   * jffs2 as module so that we can mount hw validation in nand 
   * fixed modem disapearing from usb (Dr. H. Nikolaus Schaller)
 
 The most important thing is that ringtones and sound in calls should now 
 thanks to gstreamer and pulseaudio work. It basically works now like this:
 
 All sound goes to pulseaudio. When there is a call the state switching and sw-
 voice routing is done via pasuspender. Pasuspender pauses all other audio 
 streams and closes soundcard so that alsactl can do state switching and gsm-
 voice-routing can route voice.
 
 Please note that pulseaudio is in the image completely unconfigured. It is 
 launched by /opt/qtmoko/pulse.sh scripts. I have noticed occasional clicking 
 - 
 this happens when pulseaudio ends and is restarted. I havent discovered yet 
 why it's ending - maybe allow-exit = no option in /etc/pulse/daemon.conf 
 will help...
 
 You can also try media player - it can now play videos.
 
 Other changes are quite self explaining.
 
 As for future - in master we have now nearly working QtMoko on top of Qt 
 4.8.3. There is just one bug that has to be fixed and it looks that QtMoko 
 now 
 also runs decently on debian wheezy/armhf so this could be our target for 
 v50. 
 We will also have support for html5 video when we switch to qt 4.8 - i have 
 tested youtube and dailymotion and they work (although with glitches)...
 
 Another thing that would be nice to get fixed is the tarball size. It went 
 from 98MB to 160MB due to gstreamer dependecies. I wonder how this could be 
 solved. I dont think we need all the plugins that make it so big, but debian 
 has all in one big package...
 
 If you are wondering about Freerunner - i am going to skip this release, 
 there's not much useful for Freeruner now. I will do release for Freerunner 
 with Qt 4.8 later.
 
 Thanks everybody who helped with this release - special thanks to Neil Jerram 
 and Gilles!
 
 Enjoy the release
 
 Radek
 
 
 [1] http://sourceforge.net/projects/qtmoko/files/GTA04/
 
 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community



signature.asc
Description: This is a digitally signed message part
___
Openmoko community mailing list

Re: QtMoko media playback progress?

2012-11-22 Thread Neil Jerram
Radek Polak pson...@seznam.cz writes:

 On Wednesday, November 21, 2012 11:29:35 PM Neil Jerram wrote:

 Hi Radek,
 
 With current git master (well, actually 052d8d852), I don't see the
 progress bar moving when I play a piece of music in the media player.
 Do you?

 I dont either. The gstreamer looks quite unfinished yet. But it shouldnt be 
 that hard. You can take insipration how to do it in phonon - it does nearly 
 the same that we do, e.g. qwidgetvideosink.cpp is nearly the same as our 
 gstreamerqtopiavideosink.cpp etc..

 If you would like to take a look at it, it would be nice.

Sure, I will do that.

 I wondered if this might be connected with using the '#ifndef
 QT_NO_GLIB' implementation of gstreamerbushelper.cpp.  The '#ifdef
 QT_NO_GLIB' appears to have support for reporting progress, by emitting
 the message() signal with a null message, but I don't see any equivalent
 of that in the '#ifndef QT_NO_GLIB' implementation.

 It's very likely that the gstreamer was tested and implement for the 
 QT_NO_GLIB variant.

 We are now using glib event loop (same as X11-qt) - this is needed e.g. for 
 html5 videos. If there is simple way to add this to our glib ifdef then it 
 would be great.

Thanks, that's good to know.

By the way, I am also making gradual progress on the Draft Message
problem, which is to do with the QMailMessage::Incoming flag being
incorrectly reset on some messages.  It affects email as well as SMS,
and I think it's timing dependent because it doesn't every incoming
message.

Regards,
Neil

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


QtMoko pulseaudio patches

2012-11-22 Thread Neil Jerram
Hi Radek,

Here are some minor patches related to pulseaudio, for your
consideration.

The first one may not be quite right, because my impression from Gilles'
recent change is that perhaps debian/control should now be generated
from some other file?  (or perhaps the same change should be made in
other places?)  So please either tweak or bounce that back to me for
revision.

The other two are straightforward, I believe.

Regards,
Neil

From b96f37d7614f13bee2bd25682360e71b302f4d4a Mon Sep 17 00:00:00 2001
From: Neil Jerram n...@ossau.homelinux.net
Date: Sun, 18 Nov 2012 22:47:05 +
Subject: [PATCH 08/13] Add libpulse-dev as build-dep for qt

---
 debian/control   |2 +-
 scripts/qtmoko-chroot.sh |4 ++--
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 61f4a62..3904775 100644
--- a/debian/control
+++ b/debian/control
@@ -2,7 +2,7 @@ Source: qtmoko
 Section: comm
 Priority: optional
 Maintainer: Radek Polak pson...@seznam.cz
-Build-Depends: debhelper (= 7.0.50~), libxext-dev, libasound2-dev, libdbus-1-dev, libssl-dev, libts-dev, libbluetooth-dev, libxtst-dev, libpng12-dev, libv4l-dev, libspeexdsp-dev, libglib2.0-dev, libsqlite3-dev, libgstreamer-plugins-base0.10-dev, libtiff4-dev, libmng-dev, quilt, libvorbis-dev
+Build-Depends: debhelper (= 7.0.50~), libxext-dev, libasound2-dev, libdbus-1-dev, libssl-dev, libts-dev, libbluetooth-dev, libxtst-dev, libpng12-dev, libv4l-dev, libspeexdsp-dev, libglib2.0-dev, libsqlite3-dev, libgstreamer-plugins-base0.10-dev, libtiff4-dev, libmng-dev, quilt, libvorbis-dev, libpulse-dev
 Standards-Version: 3.9.2
 Homepage: http://www.qtmoko.org
 Vcs-Git: git://github.com/radekp/qtmoko.git
diff --git a/scripts/qtmoko-chroot.sh b/scripts/qtmoko-chroot.sh
index 8dce56f..f0eb0b8 100755
--- a/scripts/qtmoko-chroot.sh
+++ b/scripts/qtmoko-chroot.sh
@@ -34,7 +34,7 @@ then
 fi
 
 echo Installing chroot packages
-until cdebootstrap --flavour=minimal --include=build-essential,git,openssh-client,ccache,locales,procps,psmisc,libxext-dev,libasound2-dev,libdbus-1-dev,libssl-dev,libts-dev,libbluetooth-dev,libxtst-dev,libpng12-dev,libjpeg8-dev,libv4l-dev,libspeexdsp-dev,libglib2.0-dev,libsqlite3-dev,quilt,libgstreamer0.10-dev,libgstreamer-plugins-base0.10-dev squeeze ../qtmoko-chroot http://cdn.debian.net/debian/; do
+until cdebootstrap --flavour=minimal --include=build-essential,git,openssh-client,ccache,locales,procps,psmisc,libxext-dev,libasound2-dev,libdbus-1-dev,libssl-dev,libts-dev,libbluetooth-dev,libxtst-dev,libpng12-dev,libjpeg8-dev,libv4l-dev,libspeexdsp-dev,libglib2.0-dev,libsqlite3-dev,quilt,libgstreamer0.10-dev,libgstreamer-plugins-base0.10-dev,libpulse-dev squeeze ../qtmoko-chroot http://cdn.debian.net/debian/; do
 	:
 done
 fi
@@ -80,7 +80,7 @@ apt-get install g++-4.4-arm-linux-gnueabi
 
 echo Installing xapt and ARM qtmoko dependencies
 apt-get install xapt
-xapt -a armel -m libxext-dev libasound2-dev libdbus-1-dev libssl-dev libts-dev libbluetooth-dev libxtst-dev libpng12-dev libjpeg8-dev libv4l-dev libspeexdsp-dev libglib2.0-dev libsqlite3-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libvorbis-dev
+xapt -a armel -m libxext-dev libasound2-dev libdbus-1-dev libssl-dev libts-dev libbluetooth-dev libxtst-dev libpng12-dev libjpeg8-dev libv4l-dev libspeexdsp-dev libglib2.0-dev libsqlite3-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libvorbis-dev libpulse-dev
 
 echo export PATH=/usr/lib/ccache:\$PATH  /root/.bashrc
 echo PS1='qtmoko-chroot:\w\\\$ '  /root/.bashrc
-- 
1.7.10.4

From 333b1f301fdc1d3a590546db013a466693b6c23c Mon Sep 17 00:00:00 2001
From: Neil Jerram n...@ossau.homelinux.net
Date: Tue, 20 Nov 2012 22:54:13 +
Subject: [PATCH 10/13] Kill pulse.sh and pulseaudio when stopping QtMoko

Otherwise there are two copies of pulse.sh when QtMoko is started up
again.
---
 debian/qtmoko-gta04.init |2 ++
 debian/qtmoko-neo.init   |2 ++
 debian/qtmoko-pc.init|2 ++
 3 files changed, 6 insertions(+)

diff --git a/debian/qtmoko-gta04.init b/debian/qtmoko-gta04.init
index 90fe4c6..f67ba2e 100644
--- a/debian/qtmoko-gta04.init
+++ b/debian/qtmoko-gta04.init
@@ -47,6 +47,8 @@ do_stop()
 {
 rm -f /tmp/restart-qtopia
 killall -q qpe atd quicklauncher mediaserver mediaplayer sipagent telepathyagent
+killall -q pulse.sh
+killall -q pulseaudio
 return 0
 }
 
diff --git a/debian/qtmoko-neo.init b/debian/qtmoko-neo.init
index 90fe4c6..f67ba2e 100644
--- a/debian/qtmoko-neo.init
+++ b/debian/qtmoko-neo.init
@@ -47,6 +47,8 @@ do_stop()
 {
 rm -f /tmp/restart-qtopia
 killall -q qpe atd quicklauncher mediaserver mediaplayer sipagent telepathyagent
+killall -q pulse.sh
+killall -q pulseaudio
 return 0
 }
 
diff --git a/debian/qtmoko-pc.init b/debian/qtmoko-pc.init
index 90fe4c6..f67ba2e 100644
--- a/debian/qtmoko-pc.init
+++ b/debian/qtmoko-pc.init
@@ -47,6 +47,8 @@ do_stop()
 {
 rm -f /tmp/restart-qtopia
 

QtMoko logging/theme patch

2012-11-22 Thread Neil Jerram
Hi Radek,

Another random small patch here.  I've been noticing logs like the
following on every restart, and the patch fixes that.

Nov 20 22:09:04 neo Qtopia: QString::arg: Argument missing: 1 missed, 
@/Communications/Calls/MissedCalls
Nov 20 22:09:04 neo Qtopia: QString::arg: Argument missing: 1 new, 
@/Communications/Messages/NewMessages

Regards,
Neil

From 9b28cb19a53592ab1b8b37fe6a3136b7e18f2276 Mon Sep 17 00:00:00 2001
From: Neil Jerram n...@ossau.homelinux.net
Date: Tue, 20 Nov 2012 22:53:00 +
Subject: [PATCH 09/13] Avoid QString::arg: Argument missing logs

Specifically these:
Nov 20 22:09:04 neo Qtopia: QString::arg: Argument missing: 1 missed, @/Communications/Calls/MissedCalls
Nov 20 22:09:04 neo Qtopia: QString::arg: Argument missing: 1 new, @/Communications/Messages/NewMessages

These arise because the faen-derived themes have special cases for 1
missed call and 1 new message - presumably for translation into
languages where the 1 case is different from N != 1.  All those places
have an unnecessary trarg, which causes the logs, and which this
commit removes.
---
 etc/themes/faenqo/home.xml   |4 ++--
 etc/themes/faenqomod/home.xml|4 ++--
 etc/themes/mokofaen/home.xml |4 ++--
 etc/themes/mokofaen/home_classic.xml |4 ++--
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/etc/themes/faenqo/home.xml b/etc/themes/faenqo/home.xml
index 51cc841..a511d48 100644
--- a/etc/themes/faenqo/home.xml
+++ b/etc/themes/faenqo/home.xml
@@ -38,7 +38,7 @@
 			/rect
 		/layout
 		text name=calls size=6 rect=0,25pt,0x9pt align=hcenter bold=yes color=#ff outline=#00 
-			trtrtext1 missed/trtexttrarg@/Communications/Calls/MissedCalls/trarg/tr
+			trtrtext1 missed/trtext/tr
 		/text
 	/rect
 	rect name=calls rect=0,28pt,0x0 transient=yes active=expr:@/Communications/Calls/MissedCalls  1 interactive=yes
@@ -60,7 +60,7 @@
 		/layout
 		rect rect=0,25pt,0x18pt
 			text rect=0,0,0x9pt align=hcenter bold=yes color=#ff outline=#00 transient=yes active=expr:@/Communications/Messages/NewMessages == 1
-trtrtext1 new/trtexttrarg@/Communications/Messages/NewMessages/trarg/tr
+trtrtext1 new/trtext/tr
 			/text
 			text rect=0,0,0x9pt align=hcenter bold=yes color=#ff outline=#00 transient=yes active=expr:@/Communications/Messages/NewMessages  1
 trtrtext%1 new/trtexttrarg@/Communications/Messages/NewMessages/trarg/tr
diff --git a/etc/themes/faenqomod/home.xml b/etc/themes/faenqomod/home.xml
index 385de0d..8590b3b 100644
--- a/etc/themes/faenqomod/home.xml
+++ b/etc/themes/faenqomod/home.xml
@@ -73,7 +73,7 @@
 			/rect
 		/layout
 		text name=calls size=6 rect=0,25pt,0x9pt align=hcenter bold=yes color=#ff outline=#00 
-			trtrtext1 missed/trtexttrarg@/Communications/Calls/MissedCalls/trarg/tr
+			trtrtext1 missed/trtext/tr
 		/text
 	/rect
 	rect name=calls rect=0,28pt,0x0 transient=yes active=expr:@/Communications/Calls/MissedCalls  1 interactive=yes
@@ -95,7 +95,7 @@
 		/layout
 		rect rect=0,25pt,0x18pt
 			text rect=0,0,0x9pt align=hcenter bold=yes color=#ff outline=#00 transient=yes active=expr:@/Communications/Messages/NewMessages == 1
-trtrtext1 new/trtexttrarg@/Communications/Messages/NewMessages/trarg/tr
+trtrtext1 new/trtext/tr
 			/text
 			text rect=0,0,0x9pt align=hcenter bold=yes color=#ff outline=#00 transient=yes active=expr:@/Communications/Messages/NewMessages  1
 trtrtext%1 new/trtexttrarg@/Communications/Messages/NewMessages/trarg/tr
diff --git a/etc/themes/mokofaen/home.xml b/etc/themes/mokofaen/home.xml
index 279a45d..6fd654f 100755
--- a/etc/themes/mokofaen/home.xml
+++ b/etc/themes/mokofaen/home.xml
@@ -63,7 +63,7 @@
 			/rect
 		/layout
 		text name=calls size=6 rect=0,25pt,0x9pt align=hcenter bold=yes color=#ff outline=#00 
-			trtrtext1 missed/trtexttrarg@/Communications/Calls/MissedCalls/trarg/tr
+			trtrtext1 missed/trtext/tr
 		/text
 	/rect
 	rect name=calls rect=0,28pt,0x0 transient=yes active=expr:@/Communications/Calls/MissedCalls  1 interactive=yes
@@ -85,7 +85,7 @@
 		/layout
 		rect rect=0,25pt,0x18pt
 			text rect=0,0,0x9pt align=hcenter bold=yes color=#ff outline=#00 transient=yes active=expr:@/Communications/Messages/NewMessages == 1
-trtrtext1 new/trtexttrarg@/Communications/Messages/NewMessages/trarg/tr
+trtrtext1 new/trtext/tr
 			/text
 			text rect=0,0,0x9pt align=hcenter bold=yes color=#ff outline=#00 transient=yes active=expr:@/Communications/Messages/NewMessages  1
 trtrtext%1 new/trtexttrarg@/Communications/Messages/NewMessages/trarg/tr
diff --git a/etc/themes/mokofaen/home_classic.xml b/etc/themes/mokofaen/home_classic.xml
index 96285a5..439771a 100755
--- a/etc/themes/mokofaen/home_classic.xml
+++ b/etc/themes/mokofaen/home_classic.xml
@@ -76,7 +76,7 @@
 			/rect
 		/layout
 		text name=calls size=6 rect=0,25pt,0x9pt align=hcenter bold=yes color=#ff outline=#00 
-			trtrtext1 

Re: QtMoko backup/restore

2012-11-22 Thread Neil Jerram
dmatthews.org m...@dmatthews.org writes:

 Hi Neil

 1. it wants to mount and unmount the device (/media/card) where backups
 are stored, whereas QtMoko wants /media/card mounted the whole time

 That's not the case. You can configure it to backup to a directory on the 
 same device as the one you're backing up.

 2. it wants to use symbolic links on the backup device, which FAT
 doesn't support.
 

 You could make a ext2/3 partition on the card and have that mounted on 
 /media/card with a backup directory.

 Although I'm not wanting to do this myself, I've no doubt it's doable. I'm a 
 long term backup2l user - I fell in love with it after reimaging a foobarred 
 server and having everything back up exactly as it was within an hour.

 IMO backup2l is an unsung gem

It is a very nice tool for its job, but I'm thinking now that that job
is not exactly what we need for QtMoko, and that we'd be better off with
a QtMoko-specific tool.

- For QtMoko we only want a one-off, user-initiated full user data
  backup immediately prior to each upgrade.  We don't need the automatic
  cron-based backing up and backup levels (i.e. full + incremental
  levels) that backup2l provides.

- For QtMoko I think the restore operation, or at least some of it,
  ideally needs to happen immediately after unpacking the new rootfs,
  i.e. before the new QtMoko has had any chance to run.  One might not
  even be running on Linux at that point.  Therefore that step should be
  as minimal as possible - ideally just unpacking a tarball of user
  data.

- We will probably want other not-just-backup operations for QtMoko,
  such as exporting contacts to a file and later reimporting them, or
  reinstalling additional packages in the upgraded system.

Probably backup2l has hooks for these kinds of things, but I suspect it
could become harder to maintain a combined backup2l + hook script system
than just to write a QtMoko-specific script.

My first stab at that is attached below.  Comments welcome!

Radek, it's pretty alpha and incomplete, but would it perhaps be worth
committing already to the repository, so as to have something to build
from?

Regards,
Neil

From 41eb4dc2912e7efc5aab16559a4bcb27d026c35b Mon Sep 17 00:00:00 2001
From: Neil Jerram n...@ossau.homelinux.net
Date: Sun, 18 Nov 2012 21:04:12 +
Subject: [PATCH] Backing up settings before an upgrade - first stab

---
 src/module_essentials.pri  |1 +
 src/settings/backup/backup.svg |  115 
 src/settings/backup/desktop/backup.desktop |9 +++
 src/settings/backup/qbuild.pro |   15 
 src/settings/backup/scripts/backup.sh  |   77 +++
 5 files changed, 217 insertions(+)
 create mode 100644 src/settings/backup/backup.svg
 create mode 100644 src/settings/backup/desktop/backup.desktop
 create mode 100644 src/settings/backup/qbuild.pro
 create mode 100755 src/settings/backup/scripts/backup.sh

diff --git a/src/module_essentials.pri b/src/module_essentials.pri
index 9eeb26e..71df725 100644
--- a/src/module_essentials.pri
+++ b/src/module_essentials.pri
@@ -5,6 +5,7 @@ PROJECTS*=\
 3rdparty/applications/qx \
 3rdparty/applications/screenshot \
 3rdparty/applications/qterminal \
+settings/backup \
 settings/light-and-power \
 settings/security \
 applications/calculator \
diff --git a/src/settings/backup/backup.svg b/src/settings/backup/backup.svg
new file mode 100644
index 000..f4ae7be
--- /dev/null
+++ b/src/settings/backup/backup.svg
@@ -0,0 +1,115 @@
+?xml version=1.0 encoding=iso-8859-1?
+!-- Generator: Adobe Illustrator 12.0.1, SVG Export Plug-In . SVG Version: 6.00 Build 51448)  --
+!DOCTYPE svg PUBLIC -//W3C//DTD SVG 1.1//EN http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd; [
+	!ENTITY ns_svg http://www.w3.org/2000/svg;
+	!ENTITY ns_xlink http://www.w3.org/1999/xlink;
+]
+svg  version=1.1 id=#x56FE;#x5C42;_1 xmlns=ns_svg; xmlns:xlink=ns_xlink; width=33.738 height=33.912
+	 viewBox=0 0 33.738 33.912 style=overflow:visible;enable-background:new 0 0 33.738 33.912; xml:space=preserve
+g
+	
+		linearGradient id=XMLID_11_ gradientUnits=userSpaceOnUse x1=26.4502 y1=21.7085 x2=26.4502 y2=9.3337 gradientTransform=matrix(0.927 0.375 -0.375 0.9271 6.0237 -9.6258)
+		stop  offset=0 style=stop-color:#FF/
+		stop  offset=0.0173 style=stop-color:#FBFBFB/
+		stop  offset=0.2212 style=stop-color:#D5D5D5/
+		stop  offset=0.423 style=stop-color:#B6B6B6/
+		stop  offset=0.6197 style=stop-color:#A0A0A0/
+		stop  offset=0.8092 style=stop-color:#939393/
+		stop  offset=0.9831 style=stop-color:#8F8F8F/
+	/linearGradient
+	path style=fill:url(#XMLID_11_);stroke:#221815;stroke-width:0.25; d=M33.23,7.067c0.646-1.596,0.444-3.31-0.375-4.651
+		l-1.557,3.848c-0.214,0.529-0.745,0.82-1.178,0.645l-3.792-1.533c-0.434-0.176-0.613-0.755-0.399-1.283l1.583-3.914
+		c-1.566,0.369-2.948,1.484-3.609,3.116c-0.662,1.638-0.441,3.403,0.435,4.761l-6.117,15.121l5.301,2.146l6.127-15.147
+	

Re: QtMoko media playback progress?

2012-11-22 Thread Radek Polak
On Thursday, November 22, 2012 07:55:31 PM Neil Jerram wrote:

 By the way, I am also making gradual progress on the Draft Message
 problem, which is to do with the QMailMessage::Incoming flag being
 incorrectly reset on some messages.  It affects email as well as SMS,
 and I think it's timing dependent because it doesn't every incoming
 message.

For me it triggered when i received SMS on v49 rootfs and rebooted to rootfs 
with 4.8.3 Qt. Maybe this will help you.

Regards

Radek

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


Re: QtMoko pulseaudio patches

2012-11-22 Thread Gilles Filippini
Hi Neil,

Neil Jerram a écrit , Le 22/11/2012 20:09:
 diff --git a/debian/control b/debian/control
 index 61f4a62..3904775 100644
 --- a/debian/control
 +++ b/debian/control
 @@ -2,7 +2,7 @@ Source: qtmoko
  Section: comm
  Priority: optional
  Maintainer: Radek Polak pson...@seznam.cz
 -Build-Depends: debhelper (= 7.0.50~), libxext-dev, libasound2-dev, 
 libdbus-1-dev, libssl-dev, libts-dev, libbluetooth-dev, libxtst-dev, 
 libpng12-dev, libv4l-dev, libspeexdsp-dev, libglib2.0-dev, libsqlite3-dev, 
 libgstreamer-plugins-base0.10-dev, libtiff4-dev, libmng-dev, quilt, 
 libvorbis-dev
 +Build-Depends: debhelper (= 7.0.50~), libxext-dev, libasound2-dev, 
 libdbus-1-dev, libssl-dev, libts-dev, libbluetooth-dev, libxtst-dev, 
 libpng12-dev, libv4l-dev, libspeexdsp-dev, libglib2.0-dev, libsqlite3-dev, 
 libgstreamer-plugins-base0.10-dev, libtiff4-dev, libmng-dev, quilt, 
 libvorbis-dev, libpulse-dev
  Standards-Version: 3.9.2
  Homepage: http://www.qtmoko.org
  Vcs-Git: git://github.com/radekp/qtmoko.git

This hunk is not needed: debian/control is a generated file, from
debian/control-src and debian/control-{gta04,neo,pc}. See debian/rules.

The build dependencies in debian/control-src already have libpulse-dev.

Thanks,

_g.



signature.asc
Description: OpenPGP digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: QtMoko pulseaudio patches

2012-11-22 Thread Neil Jerram
Gilles Filippini p...@debian.org writes:

 Hi Neil,

 Neil Jerram a écrit , Le 22/11/2012 20:09:
 diff --git a/debian/control b/debian/control
 index 61f4a62..3904775 100644
 --- a/debian/control
 +++ b/debian/control
 @@ -2,7 +2,7 @@ Source: qtmoko
  Section: comm
  Priority: optional
  Maintainer: Radek Polak pson...@seznam.cz
 -Build-Depends: debhelper (= 7.0.50~), libxext-dev, libasound2-dev, 
 libdbus-1-dev, libssl-dev, libts-dev, libbluetooth-dev, libxtst-dev, 
 libpng12-dev, libv4l-dev, libspeexdsp-dev, libglib2.0-dev, libsqlite3-dev, 
 libgstreamer-plugins-base0.10-dev, libtiff4-dev, libmng-dev, quilt, 
 libvorbis-dev
 +Build-Depends: debhelper (= 7.0.50~), libxext-dev, libasound2-dev, 
 libdbus-1-dev, libssl-dev, libts-dev, libbluetooth-dev, libxtst-dev, 
 libpng12-dev, libv4l-dev, libspeexdsp-dev, libglib2.0-dev, libsqlite3-dev, 
 libgstreamer-plugins-base0.10-dev, libtiff4-dev, libmng-dev, quilt, 
 libvorbis-dev, libpulse-dev
  Standards-Version: 3.9.2
  Homepage: http://www.qtmoko.org
  Vcs-Git: git://github.com/radekp/qtmoko.git

 This hunk is not needed: debian/control is a generated file, from
 debian/control-src and debian/control-{gta04,neo,pc}. See debian/rules.

 The build dependencies in debian/control-src already have libpulse-dev.

Ah thanks.  I suspected something like that, but hadn't worked out the
details.  A revised patch is attached without that hunk.

Regards,
Neil

From a6231bf384a7fb1b6016e2ea164262c02b0359b4 Mon Sep 17 00:00:00 2001
From: Neil Jerram n...@ossau.homelinux.net
Date: Sun, 18 Nov 2012 22:47:05 +
Subject: [PATCH] Add libpulse-dev as build-dep for qt

---
 scripts/qtmoko-chroot.sh |4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/scripts/qtmoko-chroot.sh b/scripts/qtmoko-chroot.sh
index 8dce56f..f0eb0b8 100755
--- a/scripts/qtmoko-chroot.sh
+++ b/scripts/qtmoko-chroot.sh
@@ -34,7 +34,7 @@ then
 fi
 
 echo Installing chroot packages
-until cdebootstrap --flavour=minimal --include=build-essential,git,openssh-client,ccache,locales,procps,psmisc,libxext-dev,libasound2-dev,libdbus-1-dev,libssl-dev,libts-dev,libbluetooth-dev,libxtst-dev,libpng12-dev,libjpeg8-dev,libv4l-dev,libspeexdsp-dev,libglib2.0-dev,libsqlite3-dev,quilt,libgstreamer0.10-dev,libgstreamer-plugins-base0.10-dev squeeze ../qtmoko-chroot http://cdn.debian.net/debian/; do
+until cdebootstrap --flavour=minimal --include=build-essential,git,openssh-client,ccache,locales,procps,psmisc,libxext-dev,libasound2-dev,libdbus-1-dev,libssl-dev,libts-dev,libbluetooth-dev,libxtst-dev,libpng12-dev,libjpeg8-dev,libv4l-dev,libspeexdsp-dev,libglib2.0-dev,libsqlite3-dev,quilt,libgstreamer0.10-dev,libgstreamer-plugins-base0.10-dev,libpulse-dev squeeze ../qtmoko-chroot http://cdn.debian.net/debian/; do
 	:
 done
 fi
@@ -80,7 +80,7 @@ apt-get install g++-4.4-arm-linux-gnueabi
 
 echo Installing xapt and ARM qtmoko dependencies
 apt-get install xapt
-xapt -a armel -m libxext-dev libasound2-dev libdbus-1-dev libssl-dev libts-dev libbluetooth-dev libxtst-dev libpng12-dev libjpeg8-dev libv4l-dev libspeexdsp-dev libglib2.0-dev libsqlite3-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libvorbis-dev
+xapt -a armel -m libxext-dev libasound2-dev libdbus-1-dev libssl-dev libts-dev libbluetooth-dev libxtst-dev libpng12-dev libjpeg8-dev libv4l-dev libspeexdsp-dev libglib2.0-dev libsqlite3-dev libgstreamer0.10-dev libgstreamer-plugins-base0.10-dev libvorbis-dev libpulse-dev
 
 echo export PATH=/usr/lib/ccache:\$PATH  /root/.bashrc
 echo PS1='qtmoko-chroot:\w\\\$ '  /root/.bashrc
-- 
1.7.10.4

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


QtMoko email composition patch

2012-11-22 Thread Neil Jerram
If you compose or forward email, on the recipients/subject page, you can
click on the CC entry field to type in an email address, but you can't
do that with the To entry field.  The attached patch fixes that.

Thanks,
Neil

From 424743d249ae098a0dc405adcee030d1b0e74e88 Mon Sep 17 00:00:00 2001
From: Neil Jerram n...@ossau.homelinux.net
Date: Tue, 16 Oct 2012 19:42:50 +0100
Subject: [PATCH] Enable typing in the To field, when sending an email

---
 src/libraries/qtopiamail/detailspage.cpp |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libraries/qtopiamail/detailspage.cpp b/src/libraries/qtopiamail/detailspage.cpp
index 40f035c..5c46902 100644
--- a/src/libraries/qtopiamail/detailspage.cpp
+++ b/src/libraries/qtopiamail/detailspage.cpp
@@ -371,7 +371,7 @@ DetailsPage::DetailsPage( QWidget *parent, const char *name )
 m_toFieldLabel-setText( tr( To ) );
 m_toBox = new QHBoxLayout( );
 m_toField = new RecipientEdit( this );
-setFocusProxy(m_toField);
+//setFocusProxy(m_toField);
 m_toBox-addWidget( m_toField );
 m_toFieldLabel-setBuddy(m_toField);
 connect( m_toField, SIGNAL(textChanged(QString)), this, SIGNAL(changed()) );
-- 
1.7.10.4

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