Re: [Ubuntu-phone] Getting ubuntu_stamp file

2013-07-29 Thread Matthew Fischer
I've updated the wiki with this note, please double check that my new text
is accurate.


On Sun, Jul 28, 2013 at 5:07 PM, Sergio Schvezov <
sergio.schve...@canonical.com> wrote:

> On Sun, Jul 28, 2013 at 12:30 PM, John Kim 
> wrote:
> > Hello,
> >
> > I would like to help reporting bugs. After reading the Contribute wiki
> page,
> > I will need an Ubuntu_stamp file and the output of a command that shows
> the
> > model.
> >
> > I know my model is grouper, but the page didn't clearly state where I can
> > find the file. I figured it's from the device, as /system/ubuntu_stamp is
> > not found on my computer.
> >
> > Now, the question is: how I can send my file from the device to my
> computer?
> > I used scp and it worked, but is there another, more simple way to do
> this
> > at this time?
>
> ubuntu_stamp is deprecated in favor /var/log/installer/media-info for
> images downloaded from Ubuntu Touch from cdimage (not the preview
> project). That is, if you phablet-flash, you want to use this instead.
>
> Cheers
> Sergio
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] image customization

2013-09-26 Thread Matthew Fischer
tl;dr - We are testing mechanisms for downstreams to be able to customize
Ubuntu.

I'm part of a team that's working on Ubuntu image customization.  Image
customization is the process by which a downstream[1] can add things or
change default values for a device.

Some examples of what could be customized are:

   - Default wallpaper
   - Default ringtones
   - Additional applications
   - Additional scopes
   - Sample content
   - Additional fonts
   - Launcher icons reordering, added, removed, etc

The customization tarball that we build is the mechanism that we will use
to do this. Customization does not entail modifying the core OS bundle,
although we do have some hooks in the core bundle that enable
customization. All customization files live in /custom and are installed
using the same process that the rest of the system is installed.
Customization will only work on ubuntu-system (system-image update) images,
not the legacy builds.

In order to begin testing customization we've made a fake carrier called
"RingTel". You can make your Ubuntu phone look like a device from RingTel
by installing the saucy-customized or saucy-proposed-customized channels.
Everything we have in that bundle is sample stuff, just for us to test the
customization methods and it's not intended to resemble anything like a
shipping device. We expect things in there to frequently change and
probably break as we continue experimenting, but if you find a problem,
please file a bug against
sevilerow or
ping mfisch, cwayne, or ssweeny in #ubuntu-touch.

1: A common downstream use case would be an OEM or carrier, but really,
anyone wanting to do a respin would use the same mechanism
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] image customization

2013-09-26 Thread Matthew Fischer
The browser stuff is already in, but it's just example sites for now. We
are in the process of working on our wiki which will explain how it all
works and how you can roll your own image or change this one. Since the
images are signed, rolling your own requires a few tricks for now but it is
doable. As soon as the wiki is ready, we'll follow-up here.


On Thu, Sep 26, 2013 at 3:24 PM, Aaron  wrote:

> Oh great! So Browser and homepage will be part of the customization
> tarball as well?
>
> Do I have to use the code, or is this documented somewhere?
>
> Thanks again!
>
>
> On Thu, Sep 26, 2013 at 2:20 PM, Chris Wayne wrote:
>
>> Browser bookmarks + homepage are already in, as is UI widget theming
>> (well, at least the mechanism for doing the theming.  the actual colors
>> haven't been changed much, but they could be very easily).  As for the
>> bootloader animation, the current customization images have no plan for
>> that quite yet
>>
>>
>> On Thu, Sep 26, 2013 at 5:17 PM, Aaron  wrote:
>>
>>> Will the customization also include browser bookmarks, contacts (i.e.
>>> Voicemail, Customer Service), bootloader animation, UI widget look and feel
>>> (i.e. buttons, progress bar, spinners, selectors, menu items)?
>>>
>>> Thanks,
>>>
>>> Aaron
>>>
>>>
>>> On Thu, Sep 26, 2013 at 1:53 PM, Matthew Fischer <
>>> matthew.fisc...@canonical.com> wrote:
>>>
>>>> tl;dr - We are testing mechanisms for downstreams to be able to
>>>> customize Ubuntu.
>>>>
>>>> I'm part of a team that's working on Ubuntu image customization.  Image
>>>> customization is the process by which a downstream[1] can add things or
>>>> change default values for a device.
>>>>
>>>> Some examples of what could be customized are:
>>>>
>>>>- Default wallpaper
>>>>- Default ringtones
>>>>- Additional applications
>>>>- Additional scopes
>>>>- Sample content
>>>>- Additional fonts
>>>>- Launcher icons reordering, added, removed, etc
>>>>
>>>> The customization tarball that we build is the mechanism that we will
>>>> use to do this. Customization does not entail modifying the core OS bundle,
>>>> although we do have some hooks in the core bundle that enable
>>>> customization. All customization files live in /custom and are installed
>>>> using the same process that the rest of the system is installed.
>>>> Customization will only work on ubuntu-system (system-image update) images,
>>>> not the legacy builds.
>>>>
>>>> In order to begin testing customization we've made a fake carrier
>>>> called "RingTel". You can make your Ubuntu phone look like a device from
>>>> RingTel by installing the saucy-customized or saucy-proposed-customized
>>>> channels. Everything we have in that bundle is sample stuff, just for us to
>>>> test the customization methods and it's not intended to resemble anything
>>>> like a shipping device. We expect things in there to frequently change and
>>>> probably break as we continue experimenting, but if you find a problem,
>>>> please file a bug against 
>>>> sevilerow<https://bugs.launchpad.net/sevilerow/+filebug> or
>>>> ping mfisch, cwayne, or ssweeny in #ubuntu-touch.
>>>>
>>>> 1: A common downstream use case would be an OEM or carrier, but really,
>>>> anyone wanting to do a respin would use the same mechanism
>>>>
>>>> --
>>>> Mailing list: https://launchpad.net/~ubuntu-phone
>>>> Post to : ubuntu-phone@lists.launchpad.net
>>>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>>>> More help   : https://help.launchpad.net/ListHelp
>>>>
>>>>
>>>
>>> --
>>> Mailing list: https://launchpad.net/~ubuntu-phone
>>> Post to : ubuntu-phone@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Library dependency support in click packages?

2013-09-27 Thread Matthew Fischer
On Fri, Sep 27, 2013 at 4:04 PM, Ted Gould  wrote:

> **
> On Fri, 2013-09-27 at 17:37 -0400, Scott Sweeny wrote:
>
> One thing click could do is look (at build time) at what external libraries an
> application makes use of and if those libraries aren't included in the system
> image include them in the click package itself, then at runtime ensure that
> those libraries are properly linked into the application.
>
> Is this something we'd like to pursue?
>
>
> Why wouldn't you just statically link them?  Seems like roughly the same
> for most applications that have a single binary.
>
> Ted
>


In this specific instance we ended up in a black hole of static linking, I
had about 4-5 libs specified before I found some for which we don't ship
static stuff. Neither Scott nor I could figure out how to make Qt allow us
to statically link some thing and dynamically link others. That would have
also solved this specific issue. Is that possible?
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Image 77 automated testing summary

2013-10-02 Thread Matthew Fischer
I would love to have these. So either to the list or ... well I hate to
suggest another list, so here works for me.


On Wed, Oct 2, 2013 at 8:50 PM, Paul Larson wrote:

> Here's a summary of interesting things going on in the automated results
> I've been sending to Didier every night.  If others find it useful, I can
> send them here as well.
>
> Maguro:
>
> unity 8 crash
> Failed test: shell.tests.test_hud.TestHud.test_show_hud_appears
> http://reports.qa.ubuntu.com/smokeng/saucy/touch_ro/4525/unity8-autopilot/
>
> Music app found a crash in url-dispatcher again, so that still seems to be
> a random failure we see:
>
> http://reports.qa.ubuntu.com/smokeng/saucy/touch_ro/4525/music-app-autopilot/
>
> Mako:
>
> lots of failures on ui-toolkit:
>
> http://reports.qa.ubuntu.com/smokeng/saucy/touch_ro/4526/ubuntu-ui-toolkit-autopilot/
> I reran it once so far, and all passed except:
> ubuntuuitoolkit.tests.test_emulators.ToolbarTestCase.test_close_toolbar
>
> mediaplayer still fails/crashes on both, but according to rsalveti that
> fix hasn't landed just yet.
> Continuing failures in music-app, rssreader, weather-app.
>
> Thanks,
> Paul Larson
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] [language] east-Asian language support problem

2013-10-03 Thread Matthew Fischer
We are working to officially support this but here is a solution that I
know works for Chinese and hopefully will work for the other ones you
mentioned. It requires making the image r/w and is not supported in any
way. This will also make your image non-updateable, so you'll have to
reflash to get newer images. Additionally there are many non-translated
items still, but if you want to try it, here is what you can do:

1) Modify /etc/environment and /etc/default/locale to change the locale. In
/etc/environment, change LANG and LANGUAGE. You can use sed if you want
like this (example for Chinese): "sed -e s/en_US/zh_CN/ -i.orig
/etc/default/locale && sed -e s/en_US/zh_CN/ -i.orig /etc/environment"
2) Run locale-gen   for example, "locale-gen zh_CN
zh_CN.UTF-8"
3) Reboot the device

If you have issues with some bad characters then you've run into the font
fallback bug . You can
work-around it by doing the following:

1) rm -f /etc/fonts/conf.d/65-droid-sans-fonts.conf
2) fc-cache -f -v -s
3) Reboot


On Thu, Oct 3, 2013 at 5:41 AM, Michal Suchanek  wrote:

> probably language-pack-* should depend on a font required for rendering
> the locale in question.
>
> Actually it seems they do but maybe it would be good idea to double-check.
>
> Thanks
>
> Michal
>
>
> On 3 October 2013 12:58, Joey Chan  wrote:
>
>> I don't think this bug is from locale, environment, setting, conf, etc..
>>  I just add some *.ttf files to make the language support available
>>
>>
>> 2013/10/3 Penk Chen 
>>
>>> Hi,
>>>
>>> FYI, I've created one (seemly related) bug here:
>>> https://bugs.launchpad.net/ubuntu-ui-toolkit/+bug/1189352
>>>
>>> Best,
>>> penk
>>>
>>>
>>>
>>> On Thu, Oct 3, 2013 at 6:48 PM, Joey Chan  wrote:
>>>
 Hi Ladies and Gentlemen,

 For those who are living in east-Asian countries(China, Korea, Japan),
 pls have a test about your native language support in Ubuntu-Touch, e.g.
 use webbrowser to see a native website.

 1. Release Notes
 The Release Notes website
 https://wiki.ubuntu.com/Touch/ReleaseNotes#Language  has a sulotion
 for installing fonts-droid, but in latest version of
 Ubuntu-Touch, fonts-droid is already the latest version;

 2. choose language in setting
 Flick the list to the end, all east-Asian languages are broken, include
 Japanese,   Simplified Chinese, Traditional Chinese and Korean;
  screenshot 
 7.png

 3. use the webbrowser to test language support

 * 4. manually add fonts to Touch
 I tried copy all my fonts from /usr/share/fonts/truetype/  to the same
 directory in Touch, then I saw different fonts shown all-in-one sentence

  screenshot 
 6.png



 ** Suggestion from David:*
 to help improve Ubuntu-Touch, pls follow:
 1. copy your desktop fonts to phone one by one, until your native
 language is supported;
 2. collect enough info (font file name, desktop version, which
 language, etc..);
 3. reply this email or report to Canonical directly (I'm not an
 official, but David is) ;


 BR,
 Joey from China

 --
 Mailing list: https://launchpad.net/~ubuntu-phone
 Post to : ubuntu-phone@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~ubuntu-phone
 More help   : https://help.launchpad.net/ListHelp


>>>
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to : ubuntu-phone@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] [PATCH] fix exif dates in zoomed in images on mako (LP:1234102)

2013-10-11 Thread Matthew Fischer
On Mako (N4) when you zoom in and take a picture the exif data is not
properly written and the images all get the date of Dec 8, 2002. This was
fixed in April upstream. I had to modify the patch because the directory
structure is different or the original can be applied with -p2.

Tested on my N4.

Links to the upstream issue and original commit are in the launchpad bug:
https://bugs.launchpad.net/ubuntu/+source/camera-app/+bug/1234102


0001-camera-updating-correct-exif-data.patch
Description: Binary data
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] [DEVELOPMENT] seg fault on powerd

2013-11-17 Thread Matthew Fischer
You can help debug powerd by enabling the debug mode. Look at
/etc/init/powerd.conf and follow the directions in there, then reboot your
phone. This will give us a more detailed log which is critical to
diagnosing issues with powerd.


On Sun, Nov 17, 2013 at 1:30 PM, France3  wrote:

>
> Hello
>
> Since I switch to flipped mode I've segmentation fault on powerd, no
> graphics (black screen) and some other troubles
>
> I use trusty-preinstalled-touch-armhf.zip 15-Nov-2013, I put system.img on
> /var/lib/lxc/android/system.img
>
> Phone start, I can use adb and init recognize phone...
>
> Kernel used don't have apparmor patch yet.
>
> -Does someone have trouble too with powerd ?
>
> -Must I install more files than system.img?
>
> -Can this trouble due to missing apparmor kernel patch?
>
> Any help will be appreciate,
>
> Thank you
> François
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] powerd and Class 0 SMS

2013-06-05 Thread Matthew Fischer
>From the ofono documentation it looks like there is a separate signal that
we will get when a Class 0 SMS is received. We've added support for this
signal today (to turn the screen on when one is received), but I cannot
figure out how to generate one. I've tried several Android apps all without
success. I know it won't work on CDMA and  perhaps not at all in the US? If
anyone can send Class 0 SMS messages (sometimes called immediate or flash
SMSes), please either test it on your phone with the powerd that lands
tonight in saucy or email me and I can test it and you can send me the SMS.

Thanks
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] powerd and Class 0 SMS

2013-06-06 Thread Matthew Fischer
I've been unable to send or receive them here in the US on either a GSM or
CDMA device, running several operating systems (although I do not have a
Nokia or iPhone). If anyone can generate one and send it to your Ubuntu
Phone can you do so and then check /var/log/upstart/powerd.log?  You should
see something like this:

** (process:37): DEBUG: we get signal from :1.22: ImmediateMessage
** (process:37): DEBUG: Waking up the device - Incoming SMS

You will need a powerd dated June 5 or later. I know that there was a hold
on new releases for a bit, so it may not be pushed yet.

Thanks



On Thu, Jun 6, 2013 at 12:14 AM, Zsombor Egri wrote:

> Yann is right, delivery receipts are also Class 0 messages, so you could
> test them by sending a message from Ubuntu to either iPhone or Nokia one,
> where both have delivery message/read receipt sending set.
>
> What comes to the MMI responsibility and whether to save or when to save
> the message, here's what ETSI sais:
>
> "When a mobile terminated message is class 0 and the MS has the capability
> of displaying short
> messages, the MS shall display the message immediately and send an
> acknowledgement to the SC when
> the message has successfully reached the MS irrespective of whether there
> is memory available in the
> SIM or ME. The message shall not be automatically stored in the SIM or ME.
> The ME may make provision through MMI for the user to selectively prevent
> the message from being
> displayed immediately.
> If the ME is incapable of displaying short messages or if the immediate
> display of the message has been
> disabled through MMI then the ME shall treat the short message as though
> there was no message class,
> i.e. it will ignore bits 0 and 1 in the TP-DCS and normal rules for memory
> capacity exceeded shall apply."
>
> Source:
> https://www.google.fi/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CCkQFjAA&url=http%3A%2F%2Fwww.etsi.org%2Fdeliver%2Fetsi_gts%2F03%2F0338%2F05.00.00_60%2Fgsmts_0338v05p.pdf&ei=eyawUZ5jxcngBJjMgeAO&usg=AFQjCNF2GJRCBtn9qNtG3a0vxkdu1wZvjw&bvm=bv.47534661,d.bGE
>
>
> Cheers,
> Zsombor
>
>
>
> On Wed, Jun 5, 2013 at 10:49 PM, Yann Brelière wrote:
>
>> Hi, I've read you can send flash SMS (class 0 SMS) with an app like
>> "iPhone Delivery SMS" on a jailbroken iPhone, or ZeroSMS on an Android with
>> CyanogenMod (http://stackoverflow.com/a/12873325/358532).
>>
>> About the interface, I've read somewhere that iphone's UI only displays
>> it, without offering to save it in the SMS inbox, which has led to some
>> phishing (as it displays like a native notification, with no clue that it's
>> an SMS, and no way to know the sender). Sorry, it was in French (
>> http://skyduino.wordpress.com/2012/08/16/sms-classe-0-un-bon-moyen-de-faire-peur-a-vos-amis/
>> ).
>>
>> --
>> Yann Dìnendal
>> Le 5 juin 2013 21:22, "Matthew Fischer" 
>> a écrit :
>>
>>>  From the ofono documentation it looks like there is a separate signal
>>> that we will get when a Class 0 SMS is received. We've added support for
>>> this signal today (to turn the screen on when one is received), but I
>>> cannot figure out how to generate one. I've tried several Android apps all
>>> without success. I know it won't work on CDMA and  perhaps not at all in
>>> the US? If anyone can send Class 0 SMS messages (sometimes called immediate
>>> or flash SMSes), please either test it on your phone with the powerd that
>>> lands tonight in saucy or email me and I can test it and you can send me
>>> the SMS.
>>>
>>> Thanks
>>>
>>> --
>>> Mailing list: https://launchpad.net/~ubuntu-phone
>>> Post to : ubuntu-phone@lists.launchpad.net
>>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to : ubuntu-phone@lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Call notification design

2013-06-07 Thread Matthew Fischer
I'm actually okay with this design. I personally find it annoying when a
call takes over my screen, especially when I'm doing something more
important, using maps, for example. And over the past few years it has
become more clear to me that the primary purpose of my "phone" is no longer
for making phone calls. I spend far more time using email, web, maps, and
SMS.

I do of course hope that your concern about "difficult to quickly accept"
is unfounded, there are occasionally some calls that I really don't want to
miss, but I think that the notification is there long enough to catch it.


On Thu, Jun 6, 2013 at 7:24 PM, Josh Leverette  wrote:

> I recently watched this demo[0] of the new notification OSD, and I have
> some concerns about how not-prioritized a phone call is in the current
> design. This was the comment I left on the Google+ thread about this video.
>
> "I don't know... I feel like the incoming phone call needs to take over
> the screen fully and completely, in much the same way as happens with iOS
> and  Android. A phone call is too important for a small notification, and
> placing notifications at the top of the screen places them in the least
> optimal position for quick response. I can easily reach all around my 4.65"
> Galaxy Nexus's screen, but the top is the least convenient place to reach
> right before trying to put it up to my head to answer a call, I believe.
> Especially with such small buttons.
>
> The aesthetics are coming along nicely though, so congratulations on that,
> and for normal notifications that should be fine."
>
> Essentially, since the driving purpose behind a phone is to make and
> receive calls, I feel like we should give ultimate priority to incoming
> phone calls. If a user misses a phone call because of an easy-to-miss or
> difficult-to-quickly-accept phone notification, then the device has,
> effectively, failed at its intended purpose. Smartphones have expanded the
> vision of what the device is able to do, but real time communication is
> still not something to be diminished, is it?
>
> These are just my thoughts of course, and I'd love to hear opinions from
> people who are more involved in the project than I am.
>
> [0] http://www.youtube.com/watch?v=zQMIf1cOyHc
>
> --
> Sincerely,
> Josh
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Call notification design

2013-06-07 Thread Matthew Fischer
Actually that's perfect. If we wake the phone for the call like we do in
powerd, then fullscreen would be great, otherwise, do the notification!


On Fri, Jun 7, 2013 at 9:30 AM, Sergio Schvezov <
sergio.schve...@canonical.com> wrote:

> On Fri, Jun 7, 2013 at 12:19 PM, Matthew Fischer <
> matthew.fisc...@canonical.com> wrote:
>
>> I'm actually okay with this design. I personally find it annoying when a
>> call takes over my screen, especially when I'm doing something more
>> important, using maps, for example. And over the past few years it has
>> become more clear to me that the primary purpose of my "phone" is no longer
>> for making phone calls. I spend far more time using email, web, maps, and
>> SMS.
>>
>> I do of course hope that your concern about "difficult to quickly accept"
>> is unfounded, there are occasionally some calls that I really don't want to
>> miss, but I think that the notification is there long enough to catch it.
>>
>
> I do find that if I'm doing something the notification is great, but if
> the phone was in my pocket (locked), taking over the screen and making it
> actionable through a swipe would be nice as I struggle to take the phone
> out of my pocket and try not to drop it :-)
>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] a couple powerd updates

2013-07-02 Thread Matthew Fischer
There are a few updates to powerd that landed yesterday and will land today
that will impact people who are using it to keep the screen on or cancel
suspend.

1) powerd now listens for processes exiting dbus and cancels out standing
requests when they do. This means that the powerd-cli app will now pause()
until you hit control-c if you are holding the active request or have made
a display request. After you end the pause() with control-C the active
request/display request is dropped. If this is annoying to you, just
background powerd-cli.

2) The API had changed and no longer takes any PID arguments or returns any
PID info. This should not impact anyone since only the CLI currently uses
the API.

3) We've had some reports that the settings are not working for changing
timeouts. We plan on working on this next week after the US holiday, If you
can shed some light on the issue, please add some comments to this bug
#1195803. I've been unable to reproduce it so far.

4) If anyone wants to assist in powerd development, but #1195800 would be
an easy place to start. You can ping me on IRC (mfisch) if you want to help.

Thanks
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


Re: [Ubuntu-phone] Compiling armhf binaries for a phone target - toolchain from where?

2013-07-15 Thread Matthew Fischer
This is by no means an official answer, but when I work on powerd and the
openclipart scope example I just use a pbuilder. I usually use
pbuilder-scripts (apt-get install pbuilder-scripts), which makes setting up
a pbuilder easier. I don't see any online docs for it from a brief search,
so here's my 10 second overview:

pcreate -a armhf -d saucy saucy-armhf

Add any PPAs that you need when the terminal opens up.  I have the
phablet-team and daily-build-next in mine.

Then enter the pbuilder shell, I think it will bind mount ~/Projects by
default, so I usually put my code there. (You can add extra mounts in
~/.pbuilderrc)

ptest -p saucy-armhf

Once at this shell, install whatever build-deps you need, for example:
apt-get build-dep powerd

And compile away...

When it's time to test, I then install openssh-client in my pbuilder so I
can scp binaries to the phone.  (Note: you can also just add openssh-client
to the EXTRAPACKAGES= line in your ~/.pbuilderrc). Once you're done, just
close the terminal and it will set your pbuilder back to a pristine state.

There's a full howto on pbuilder here, but it does not cover the scripts:
https://wiki.ubuntu.com/PbuilderHowto




On Mon, Jul 15, 2013 at 5:59 AM, Josh Leverette  wrote:

> If the size of the program makes compiling the code on the device
> practical, then that would be my personally recommended place to compile
> it. But, cross compilation *should* work.
>
> This is what I found:
> http://askubuntu.com/questions/250696/cross-compile-for-arm
> On Jul 15, 2013 5:20 AM, "John McAleely" 
> wrote:
>
>> Hi,
>>
>> I have some C/C++ code that (eventually) I want to run on an Ubuntu Touch
>> phone or tablet.
>>
>> This may be some sort of interim step before achieving Qt/QML nirvana, or
>> this may be a subsystem a Qt app will depend on (I'm doing some early
>> experimentation, and may yet be chasing the wrong ideas).
>>
>> I'm not (for the sake of this question) planning to build the Android
>> underpinnings, so one of my start points has been not to assume I have that
>> source tree available (I understand it may have some toolchains in it). Is
>> that wise?
>>
>> I believe I need a toolchain to compile this code, and I have (at least)
>> three options presented in chats/wikis/docs I've googled/assumed might work:
>>
>>  (1) Compile on the device itself
>>  (2) Install the Ubuntu SDK
>>  (3) Install a cross-compilation toolchain on my (amd64) Ubuntu dev
>> machine
>>
>> I can succeed at (1), by installing whatever defaults build-essential
>> requires.
>>
>> I'm not sure if (2) should succeed - it's not clear to me if the Ubuntu
>> SDK does or will recommend/install a c/c++ toolchain. The one I installed
>> today doesn't appear to. Will it at some point? Did I just not see the one
>> it did install?
>>
>> for (3), if I try:
>>
>> # apt-get install crossbuild-essential-armhf
>>
>> I get:
>>
>> Reading package lists... Done
>> Building dependency tree
>> Reading state information... Done
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies.
>>  crossbuild-essential-armhf : Depends: libc6-dev:armhf but it is not
>> installable
>> E: Unable to correct problems, you have held broken packages.
>>
>> My initial troubleshooting (I'm definitely inexperienced in Ubuntu
>> package matters) hasn't turned up a way to proceed past that error yet.
>>
>> So, which is the most pragmatic way to proceed? I'm keen to get a cross
>> compilation toolchain working. Should I be?
>>
>> In the future, what will the options be to compile C/C++ for touch
>> devices?
>>
>> Thanks!
>>
>> J
>>
>> --
>> Mailing list: 
>> https://launchpad.net/~ubuntu-**phone
>> Post to : 
>> ubuntu-phone@lists.launchpad.**net
>> Unsubscribe : 
>> https://launchpad.net/~ubuntu-**phone
>> More help   : 
>> https://help.launchpad.net/**ListHelp
>>
>
> --
> Mailing list: https://launchpad.net/~ubuntu-phone
> Post to : ubuntu-phone@lists.launchpad.net
> Unsubscribe : https://launchpad.net/~ubuntu-phone
> More help   : https://help.launchpad.net/ListHelp
>
>
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp


[Ubuntu-phone] powerd testing

2013-07-15 Thread Matthew Fischer
Sean Feole has developed a test plan for powerd. We'd love to get some
feedback from people using different devices since we've primarily used the
Nexus4 and Nexus7. The plan is available here:
https://wiki.ubuntu.com/powerd

If you plan on running through the tests, please post the results to the
wikipage. We are especially curious if you find failures on your device. I
estimate that the testing will take 10-15 minutes.
-- 
Mailing list: https://launchpad.net/~ubuntu-phone
Post to : ubuntu-phone@lists.launchpad.net
Unsubscribe : https://launchpad.net/~ubuntu-phone
More help   : https://help.launchpad.net/ListHelp