RE: Patch to gnome-system-tools for ubuntu-mobile support

2008-06-10 Thread Brandt, Todd E
The ordering of Settings before System is purely for moblin 1.0. When it's the 
former way, a new group called System is created in addition to settings with 
only one entry, date&time. With the new ordering, date&time shows up where it's 
supposed to in the Settings category. It's all about how mobile-basic-flash 
handles reading in the desktop files.

-Original Message-
From: Sebastien Bacher [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, June 10, 2008 1:09 PM
To: Martin Pitt
Cc: Brandt, Todd E; [EMAIL PROTECTED]; [EMAIL PROTECTED]; 
ubuntu-mobile@lists.ubuntu.com; Moblin Devel
Subject: Re: Patch to gnome-system-tools for ubuntu-mobile support

Le jeudi 08 mai 2008 à 09:59 +0200, Martin Pitt a écrit :
> Hi Todd,
> 
> CC'ing Sebastien, our GNOME master, keeping patch attached for him.

Hello and sorry for the delay to reply there, I've been lagging on mails
due to uds, etc

> | -Categories=GNOME;GTK;System;Settings;
> | +Categories=GNOME;GTK;Settings;System;
> 
> Does that actually make a difference? If so, I guess it would move the
> menu entry into a different menu, which we don't want to do (even less
> so in stables).

right, the order should make no difference there, any reason to do this
change?

> | +OnlyShowIn=GNOME;Mobile
> 
> That looks like the relevant change here? Show time-admin in mobile,
> too?

the change seems fine to me, do you guys need that uploaded as an hardy
update?

Sebastien Bacher


-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Patch to gnome-system-tools for ubuntu-mobile support

2008-05-07 Thread Brandt, Todd E
Hi all, I have removed the date and time applet from moblin-applets as
our implementation doesn't appear capable of operating alongside
policykit/consolkit until its usage bugs are ironed out (command line
programs don't seem capable of logging in with policy kit). So for
hardy, the time applet in ubuntu-mobile will be installed with the
gnome-system-tools package. I made one very small change to to the
2.22.0-0ubuntu9 code which upgrades the time.desktop file so that the
tool is visible on the desktop (in the same place where moblin-time was
before). I've attached this patch to the email and have built version
2.22.0-0ubuntu10 on the ubuntu-mobile PPA (
https://launchpad.net/~ubuntu-mobile/+archive). I saw the three emails
in the To list as developers in the debian/changelog so I was hoping
that one of you could help me push this change upstream into the ubuntu
version. Would that be possible?



30_mobile_desktop.dpatch
Description: 30_mobile_desktop.dpatch
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


UPDATE: ubuntu-mobile PPA Release Script

2008-05-06 Thread Brandt, Todd E
Hi all, I updated the ppaprepare script to do a little more processing
if the git repo has a debian directory. Basically it checks to see if
the git source tree, the current PPA tree, and the newly created (by
uupdate) tree all have debian directories. If so, it scans the git's
debian/changelog to make sure there's an entry for the current ppa
version. If not, then it assumes the git's debian directory is
completely out of date and does nothing. If it's found, it deletes the
changelog that uupdate created (which always gets the version and
platform wrong) and creates a new one with all the new data from your
git/debian/changelog appended to the ppa/debian/changelog. 

So basically this is about as close as you can safely get to running a
single command that does everything for you for a new upstream ppa
release. The git repo doesn't have to be moblin, btw, it can be any Git
URL supplied as the "project" argument.

I have this script (and all my other scripts) in this repo on
moblin.org:
ssh://@moblin.org/home/repos/users/tebrandt/todds-tools.git

-Original Message-
From: Brandt, Todd E 
Sent: Wednesday, April 30, 2008 5:04 AM
To: Moblin Devel; ubuntu-mobile@lists.ubuntu.com
Subject: ubuntu-mobile PPA Release Script

Hi all, per my AR in this week's ubuntu-mobile meeting I've created a
script that extends what Inuka's script does to automate as much of the
process of pushing to the PPA as possible. The script is run as such:

Usage: ppaprepare [-d outdir] [-u user] project tag
Required Arguments:
   project: repo name (as full URL or just a project name)
   tag: git tag identifying source you want to release
Options:
   -d: outdir is the directory to place the source tree
   -u: user is the login id for the git repo

You can provide a project name and optional username to construct the
moblin.org git repo path for the project, or the project argument can
just be the full URL to the repo (this is important if you're not using
moblin.org). Then you supply the tag for your git repo that you want to
upload to the ppa. The script takes care of the rest. The following is
the output of a run for moblin-applets with comments inlined.

[/platform]> ppaprepare -d /tmp
ssh://[EMAIL PROTECTED]/home/repos/projects/moblin-applets.git
hardy-v0.60

### First it clones the repo, moves to your tag, and creates a source
tarball minus the debian and .git folders. This was lifted more or less
intact from Inuka's script. ###

Initialized empty Git repository in /tmp/moblin-applets/.git/
remote: Generating pack...
remote: Done counting 3790 objects.
remote: Deltifying 3790 objects...
remote:  100% (3790/3790) done
Indexing 3790 objects...
remote: Total 3790 (delta 2464), reused 1002 (delta 477)
 100% (3790/3790) done
Resolving 2464 deltas...
 100% (2464/2464) done

Note: moving to "hardy-v0.60" which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
  git checkout -b 
HEAD is now at 57d6653... preincrement release for test

GIT source tree is at /tmp/moblin-applets-0.60
GIT source tarball is /tmp/moblin-applets-0.60.tar.gz

### The script then pings the ppa.launchpad.net site and determines the
latest version of your package. If your git repo is the same version it
fails and tells you to up your version. If your version is newer it then
grabs the source with dget -x and assembles it locally ###

dget: retrieving
http://ppa.launchpad.net/ubuntu-mobile/ubuntu/pool/main/m/moblin-applets
//moblin-applets_0.59-0ubuntu1.dsc
  % Total% Received % Xferd  Average Speed   TimeTime Time
Current
 Dload  Upload   Total   SpentLeft
Speed
100  1717  100  17170 0   4378  0 --:--:-- --:--:-- --:--:--
0
dget: retrieving
http://ppa.launchpad.net/ubuntu-mobile/ubuntu/pool/main/m/moblin-applets
//moblin-applets_0.59.orig.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time
Current
 Dload  Upload   Total   SpentLeft
Speed
100 2913k  100 2913k0 0   359k  0  0:00:08  0:00:08 --:--:--
400k
dget: retrieving
http://ppa.launchpad.net/ubuntu-mobile/ubuntu/pool/main/m/moblin-applets
//moblin-applets_0.59-0ubuntu1.diff.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time
Current
 Dload  Upload   Total   SpentLeft
Speed
100 22247  100 222470 0   118k  0 --:--:-- --:--:-- --:--:--
3869k
dpkg-source: extracting moblin-applets in moblin-applets-0.59
dpkg-source: unpacking moblin-applets_0.59.orig.tar.gz
dpkg-source: applying ./moblin-applets_0.59-0ubuntu1.diff.gz

### I added in a couple diffs for quick access to what's changed from
the ppa version to your new git version. There's one diff for the source
tree minus the debian directory, and one for just the deb

RE: [Moblin Dev] ubuntu-mobile PPA Release Script

2008-04-30 Thread Brandt, Todd E
Ahh, sounds good. This is why I didn't want to make any assumptions, because 
things aren't yet complete on the build server side here.

Here's another little script that does just a part of what ppaprepare does, 
ppaget just takes in a project name and fetches the source for you from 
ppa.launchpad.net. 

Inuka and Loic, we should agree on a set of formal scripts for ubuntu-mobile 
PPA usage. We should post these scripts somewhere so that people who don't read 
the instructions (like me typically :P ) can still safely use the ppa. This way 
nobody will accidentally use the wrong URL or what have you.

-Original Message-
From: Gunawardana, Inuka 
Sent: Wednesday, April 30, 2008 5:01 PM
To: Brandt, Todd E; Loïc Minier
Cc: ubuntu-mobile@lists.ubuntu.com; Moblin Devel
Subject: RE: [Moblin Dev] ubuntu-mobile PPA Release Script

HI Loic,
  I have already created a git hook which will create a release tarball, copy 
it to Moblin.org/releases/repos/ and e-mails to to a new list 
([EMAIL PROTECTED]). The user will needs to tag the release point in GIT as 
RELEASE_ to activate the hook (we already use that tag for releases). We 
can then use the second half off Todd's script to complete the loop. 

  I am waiting for approval to integrate the hook into the projects. Hopefully 
it will be in place this week. 

Inuka




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brandt, Todd E
Sent: Wednesday, April 30, 2008 4:46 PM
To: Loïc Minier
Cc: ubuntu-mobile@lists.ubuntu.com; Moblin Devel
Subject: RE: [Moblin Dev] ubuntu-mobile PPA Release Script

I could do that. Where would the tarballs be located? Would you get them via a 
wget and a URL?

-Original Message-
From: Loïc Minier [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 30, 2008 6:51 AM
To: Brandt, Todd E
Cc: Moblin Devel; ubuntu-mobile@lists.ubuntu.com
Subject: Re: [Moblin Dev] ubuntu-mobile PPA Release Script

On Wed, Apr 30, 2008, Brandt, Todd E wrote:
> Hi all, per my AR in this week's ubuntu-mobile meeting I've created a
> script that extends what Inuka's script does to automate as much of the
> process of pushing to the PPA as possible.

 Cool!

 It would be nice if instead of grabbing from git you'd grab from
 released tarballs instead.  The first part of the script actually
 creating the tarballs could be split out into a standalone script for
 preparing tarball releases at moblin.org.  What do you think?

-- 
Loïc Minier

___
dev mailing list
[EMAIL PROTECTED]
https://www.moblin.org/mailman/listinfo/dev


ppaget
Description: ppaget
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: [Moblin Dev] ubuntu-mobile PPA Release Script

2008-04-30 Thread Brandt, Todd E
I could do that. Where would the tarballs be located? Would you get them via a 
wget and a URL?

-Original Message-
From: Loïc Minier [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, April 30, 2008 6:51 AM
To: Brandt, Todd E
Cc: Moblin Devel; ubuntu-mobile@lists.ubuntu.com
Subject: Re: [Moblin Dev] ubuntu-mobile PPA Release Script

On Wed, Apr 30, 2008, Brandt, Todd E wrote:
> Hi all, per my AR in this week's ubuntu-mobile meeting I've created a
> script that extends what Inuka's script does to automate as much of the
> process of pushing to the PPA as possible.

 Cool!

 It would be nice if instead of grabbing from git you'd grab from
 released tarballs instead.  The first part of the script actually
 creating the tarballs could be split out into a standalone script for
 preparing tarball releases at moblin.org.  What do you think?

-- 
Loïc Minier

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


ubuntu-mobile PPA Release Script

2008-04-30 Thread Brandt, Todd E
Hi all, per my AR in this week's ubuntu-mobile meeting I've created a
script that extends what Inuka's script does to automate as much of the
process of pushing to the PPA as possible. The script is run as such:

Usage: ppaprepare [-d outdir] [-u user] project tag
Required Arguments:
   project: repo name (as full URL or just a project name)
   tag: git tag identifying source you want to release
Options:
   -d: outdir is the directory to place the source tree
   -u: user is the login id for the git repo

You can provide a project name and optional username to construct the
moblin.org git repo path for the project, or the project argument can
just be the full URL to the repo (this is important if you're not using
moblin.org). Then you supply the tag for your git repo that you want to
upload to the ppa. The script takes care of the rest. The following is
the output of a run for moblin-applets with comments inlined.

[/platform]> ppaprepare -d /tmp
ssh://[EMAIL PROTECTED]/home/repos/projects/moblin-applets.git
hardy-v0.60

### First it clones the repo, moves to your tag, and creates a source
tarball minus the debian and .git folders. This was lifted more or less
intact from Inuka's script. ###

Initialized empty Git repository in /tmp/moblin-applets/.git/
remote: Generating pack...
remote: Done counting 3790 objects.
remote: Deltifying 3790 objects...
remote:  100% (3790/3790) done
Indexing 3790 objects...
remote: Total 3790 (delta 2464), reused 1002 (delta 477)
 100% (3790/3790) done
Resolving 2464 deltas...
 100% (2464/2464) done

Note: moving to "hardy-v0.60" which isn't a local branch
If you want to create a new branch from this checkout, you may do so
(now or later) by using -b with the checkout command again. Example:
  git checkout -b 
HEAD is now at 57d6653... preincrement release for test

GIT source tree is at /tmp/moblin-applets-0.60
GIT source tarball is /tmp/moblin-applets-0.60.tar.gz

### The script then pings the ppa.launchpad.net site and determines the
latest version of your package. If your git repo is the same version it
fails and tells you to up your version. If your version is newer it then
grabs the source with dget -x and assembles it locally ###

dget: retrieving
http://ppa.launchpad.net/ubuntu-mobile/ubuntu/pool/main/m/moblin-applets
//moblin-applets_0.59-0ubuntu1.dsc
  % Total% Received % Xferd  Average Speed   TimeTime Time
Current
 Dload  Upload   Total   SpentLeft
Speed
100  1717  100  17170 0   4378  0 --:--:-- --:--:-- --:--:--
0
dget: retrieving
http://ppa.launchpad.net/ubuntu-mobile/ubuntu/pool/main/m/moblin-applets
//moblin-applets_0.59.orig.tar.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time
Current
 Dload  Upload   Total   SpentLeft
Speed
100 2913k  100 2913k0 0   359k  0  0:00:08  0:00:08 --:--:--
400k
dget: retrieving
http://ppa.launchpad.net/ubuntu-mobile/ubuntu/pool/main/m/moblin-applets
//moblin-applets_0.59-0ubuntu1.diff.gz
  % Total% Received % Xferd  Average Speed   TimeTime Time
Current
 Dload  Upload   Total   SpentLeft
Speed
100 22247  100 222470 0   118k  0 --:--:-- --:--:-- --:--:--
3869k
dpkg-source: extracting moblin-applets in moblin-applets-0.59
dpkg-source: unpacking moblin-applets_0.59.orig.tar.gz
dpkg-source: applying ./moblin-applets_0.59-0ubuntu1.diff.gz

### I added in a couple diffs for quick access to what's changed from
the ppa version to your new git version. There's one diff for the source
tree minus the debian directory, and one for just the debian directory.
This is helpful in ensuring that your changes are in and that you
haven't made any unnecesary edits to the debian directory ###

PPA source tree is at /tmp/ppa-moblin-applets/moblin-applets-0.59
PPA vs GIT source diff is
/tmp/ppa-moblin-applets/moblin-applets-ppa0.59-git0.60.diff
PPA vs GIT debian dir diff is
/tmp/ppa-moblin-applets/moblin-applets-ppa0.59-git0.60-debian.diff

### Last, the script calls uupdate to create a new source tree that has
the ppa version as the base with the git changes on top. This is the
tree that you need to tar up and send to the PPA once you're sure
everything looks good ###

New Release will be 0.60-1.
Symlinking to pristine source from moblin-applets_0.60.orig.tar.gz...
-- Untarring the new sourcecode archive /tmp/moblin-applets-0.60.tar.gz
Success!  The diffs from version 0.59-0ubuntu1 worked fine.
Remember: Your current directory is the OLD sourcearchive!
Do a "cd ../moblin-applets-0.60" to see the new package

### The script stops after uupdate. You have to merge in any patches and
run debuild yourself before commiting to the PPA. Also, remember that
the version in debian/changelog has to conform to the ubuntu format or
uupdate won't function. Basically project-version-0ubuntu1,2,3... if
that -0ubuntu# isn't there, uupdate will complain and quit. ###

New PPA src di

Weekly status update for moblin-applets

2008-04-17 Thread Brandt, Todd E
Spent this week mostly trying to get a working image of Hardy so as to
test and debug moblin-applets. I finally resorted to using an image I
made last month and upgrading the packages I needed for compatibility.
With this setup all but one of the Hardy PPA bugs against moblin-applets
is fixed.

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Weekly Status Update for moblin-applets (0.55)

2008-04-11 Thread Brandt, Todd E
This week has been dedicated to touchscreen calibration and background
applet upgrades.

 

moblin-applets (0.55)

 

  * Vast improvement of the load time for the backgrounds applet

it now takes 29 seconds to load 3275 images, which means that

the average user's 200 images would take's under 2 seconds.

  * Changed the background loading scheme. It no longer looks at

thumbnails from moblin-media, it looks at the media/photo

path independantly and reads in the images from scratch. This

has proven to be much faster.

  * Image loading now happens in two phases: first the directories

are read and a list of images created. This takes about 1/5 of

the total load time. Then the window's treeview is populated 

with text only so that the user can immediately see something.

Then the thumbnails are loaded in a background thread. In theory

the user should be able to see thumbnails as they're populating

but that part isn't working yet.

 

 -- Todd Brandt <[EMAIL PROTECTED]>  Fri Apr 11 03:03:18 PDT 2008

 

moblin-applets (0.54)

 

  * disabled the moblin-system-daemon logging functionality, this

is important since it could slow down the boot process as it

tries to create a file in /var/log

 

 -- Todd Brandt <[EMAIL PROTECTED]>  Wed Apr  9 04:59:17 PDT 2008

 

moblin-applets (0.53)

 

  * Changed the background applet behavior

  * Fixed the color picker dialog to automatically update the

"Solid Color Background" entry to reflect the new color, select

its entry, and switch the background to the solid color. 

  * If Solid Color Background was last set, reopening the dialog

will select and scroll to its item.

 

  * Added stricter parsing rules for the xorg.conf file.

  * The touchscreen values are now only accessed in an InputDevice

section with the Identifier set to touchscreen. 

  * Duplicate values of the calibration parameters are ignored.

 

  * BUGS FIXED

 

  * BUG: "Cannot add photos into wallpaper list"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/213238

FIX: The package now installs a
/desktop/moblin/background/thumbpaths 

folder in gconf and adds keys for every thumbnail cache folder the 

backgrounds applet should traverse looking for images. It installs 

two now, one for .moblin-media/thumbnails/largest and one for 

.realplayer/thumbnails/largest. It looks for them in /home/ume and 

pulls in any images named in the expected format. If there are 

duplicates it only takes the first found.

 

  * BUG: "Starting Touchscreen banner still exists when do nothing after


launch touch screen till time out or exit calibration by ESC"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/214380

FIX: I changed the behavior of the calibrator to always leave the 

min and max values in logical order (i.e. MaxX > MinX and MaxY >
MinY) 

and to employ the use of SwapX and SwapY to handle inverted axes.
The 

read_calibration and apply_calibration apis both still take five 

arguments, but instead of the last arg being rotation, it's a
"flags" 

argument with 4 bits used: b0=SwapX, b1=SwapY, b2=RotateCCW, 

b4=RotateCW. The moblin-dbustest program has also been updated to 

read in this new data.

 

 -- Todd Brandt <[EMAIL PROTECTED]>  Mon Apr  7 14:55:20 PDT 2008

 

moblin-applets (0.52)

 

  * Added the read_calibration function to the moblin-system-daemon

API in order to allow users to retrieve the xorg.conf data for

the touchscreen. It returns xmin, xmax, ymin, ymax, and rotation.

  * Added read_calibration to the list of commands supported by

moblin-dbustest.

 

  * BUGS FIXED

 

  * BUG: Touchscreen applet: if calibration wrongly and save the 

configuration, stylus will keep inaccurate even after correct 

calibration again

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/199065

FIX: There are 8 possible layouts for the touchscreen, all of 

which have now been tested. These are the possible ways that 

the touchscreen can be mapped to the display. These can be 

simulated on the samsung by pressing the buttons in different 

orders.

 

Screen points:

0  1

2  3

 

1) No Rotation, X Aligned, Y Aligned

press 0 1 2 3

2) No Rotation, X Inverted, Y Aligned

press 1 0 3 2

3) No Rotation, X Aligned, Y Inverted

press 2 3 0 1

4) No Rotation, X Inverted, Y Inverted

press 3 2 1 0

5) ClockWise Rotation, X Aligned, Y Aligned

press 2 0 3 1

6) ClockWise Rotation, X Inverted, Y Aligned

press 0 2 1 3

7) ClockWise Rotation, X Aligned, Y Inverted

press 3 1 2 0

8) CounterClockWise Rotation, X Aligned, Y Aligned

press 1 3 0 2

 

The touchscreen calibration algorithm assumes the screen is rotated 

if the x coordinates of points 0, 1 and 2, 3 are within 100 of each 

other. This way

Weekly Status Update for moblin-applets (0.51)

2008-04-03 Thread Brandt, Todd E
  * Easier access for backgrounds applet: If there are 10 or more

photos in the backgrounds applet I added a slider to the right

of the dialog that allows the user to quickly move through them

all. It has a button on top that jumps to the first photo and a

button on bottom that jumps to the last photo. This way the user

doesn't have to flick the moko finger scroller a hundred times

trying to get at their photo near the end of the list.

 

  * BUG: "Time on marquee doesn't sync with time on moblin-applets when

changing timezone"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/208167

FIX: Fixed in 0.51, I added a read of the utc time before the

timezone change, and a write of that utc time after the timezone

change. The time now jumps before or ahead by the difference in

timezone hours just like the marquee clock applet.

 

  * BUG: "Horizontal/Vertical Gradient configuration on wallpaper

doesn't take effect"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/197918

FIX: Fixed in 0.51. I removed the selector for solid/horiz/vert.

The color picker button is now on the bottom of the dialog and is

always solid.

 

  * BUG: "Duplicate pick color button exists for "Horizontal Gradient"

and "Vertical Gradient" selection"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/188283

FIX: Fixed in 0.51. I removed the selector for solid/horiz/vert.

The color picker button is now on the bottom of the dialog and is

always solid.

 

  * Changed the /etc/init.d/moblin-system-daemon script to actually

Start and stop the daemon (wasn't working previously)

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Weekly Status Update for moblin-applets (0.50)

2008-03-27 Thread Brandt, Todd E
All but a handful of medium and low bugs are fixed in moblin-applets for
gaston, and all but one of the bugs in hardy moblin-applets has to do
with the Moko Finger Scroller class malfunctioning. The following is
what's changed since 0.46:

 

  * Added in the gconf key callbacks and xsettings triggers to

moblin-settings-xsettings.c. This is from my AR in the ubuntu
meeting

 

  * Fixed the moblin-keybindings .desktop file

 

  * BUG: "Cannot launch Keyboard/Sound/Screen resolution/About Device 

applets again if close them by ESC"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/196851

FIX: I added support for GTK_RESPONSE_CLOSE, GTK_RESPONSE_CANCEL,
and 

GTK_RESPONSE_DELETE_EVENT for every dialog's message handler in
moblin 

applets.

 

  * Major upgrade to moblin-system-daemon, the touchscreen and time

applets. The system daemon now supports six functions.

  CaptureTouch: Starts the process of capturing a touch point. The

data is returned asynchronously via the
TouchScreenData

signal

  ApplyCalibration: Applies a calibration change to xorg.conf

  SetTime: Sets the current date&time via oobs

  GetTime: Gets the current date&time via oobs

  SetTimezone: Sets the current timezone via oobs

  GetTimezone: Gets the curent timezone via oobs

These functions allow the touchscreen and time applets to function

without the need for root access.

 

  * Added two test utilities for debugging the moblin-system-daemon. 

  moblin-touchdump: Displays raw touchscreen input data and also

simulates CaptureTouch Logic in the case of

errors

  moblin-dbustest: Accesses 4 of the DBUS API functions for testing

   purposes: get_time, set_time, get_timezone, and

   capture_touch.

 

  * Changed all the .desktop files to use OnlyShowIn=GNOME;Mobile and

Categories=Settings

 

  * BUG: "mouse cursor change from clock to arrow slowly"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/156531

FIX: gksu is no longer called by the touchscreen or time applets, so
the 

mouse clock shouldn't get stuck anymore.

 

  * BUG: "Date/time dialog blocks all other areas except the dialog 

itself if it is not the first time to launch date/time applet from 

settings"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179153

FIX: the dialog is non-modal on each load now

 

  * BUG: "time and date settings has wrong theme and leaves busy cursor 

showing"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/203311

FIX: the time applet is no longer called with gksu as it uses 

moblin-system-daemon to get/set the time and timezone.

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


weekly status update for moblin-applets (0.46)

2008-03-20 Thread Brandt, Todd E
I sent a request for clarification to Kyle wrt the gtk_theme and
icon_theme gconf key changes I've been asked to add to
moblin-settings-daemon. I haven't modified moblin-settings-daemon yet as
we have a code freeze tomorrow and I've been focusing entirely on bugs.

 

  * BUG: "Click ESC to abort calibration, the calibration window doesn't


close quickly while need wait 25 seconds"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/203412

FIX: I accidentally introduced this bug by adding a touch_disconnect

call to moblin-system-daemon which was intended to discontinue

the capture_touch call when the user aborts. Unfortunately DBUS

doesn't allow simultaneous calls, so it sat waiting for
capture-touch

to return. I removed this functionality.

 

  * BUG: "The calibration window doesn't close quickly after the read 

calibration line disappears, need wait more time"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/203414

FIX: See bug 203412

 

  * BUG: "Mute shortcut key doesnot realy mute audio"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/191846

FIX: the new behavior is that the mute shortcut mutes all the
playback 

tracks that have mute buttons.

 

  * Changed all the .desktop.in.in files to just .desktop.in since

there was no processing between .in.in to .in

  * Changed the format of the control panel .desktop files to

include "OnlyShowIn=Settings".

  * All applets are now run as separate processes with the libraries

spawning and monitoring those processes.

 

  * BUG: "The keyboard shotcuts can launch applications with more than 

one instances"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/153509

FIX: I added code to moblin-settings-daemon to have it monitor any 

processes it spawns as a result of shortcut calls and to prevent 

relaunching an app if an instance already exists.

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Weekly status update for moblin-applets (0.44)

2008-03-13 Thread Brandt, Todd E
This week is bug fixes mostly:

 

  * Changed all the .desktop.in.in files to just .desktop.in since

there was no processing between .in.in to .in

 

  * BUG: "The keyboard shotcuts can launch applications with more than 

one instances"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/153509

FIX: I added code to moblin-settings-daemon to have it monitor any 

processes it spawns as a result of shortcut calls and to prevent 

relaunching an app if an instance already exists.

 

  * Removed All the NTP support features from the Date&Time Applet

  * Upgraded the touchscreen calibration utility to function properly

on the crown beach

 

  * BUG: "It's hard to calibrate touch screen on CB+LCD kit"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/197925

FIX: The hardware layer of the calibration utility was listening 

for packets which contain all the necessary data to establish a 

point touched. This means the X and Y coordinates as well as a 

button press notification in the form of either LEFT or TOUCH, 

followed by a REPORT tag. The problem is that the crown beach 

doesn't include all this info in a single packaet like the samsung 

and most other platform touchscreen modules, it spreads it accross 

several packets. So the calibrator was missing most of the finger  

presses. I changed the algorithm to span across multiple packets, 

collecting the data as it goes.

 

  * BUG: "os is not install NTP package to support date synchronization"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/156929

FIX: I removed all the NTP time server stuff from our version of 

the date&time applet. It now only functions as a manual setting.

 

  * BUG: "Scroll bar exists in select time server UI when keep 

synchronize with Internet server"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/193196

FIX: all the ntp stuff has been removed so this dialog no longer

exists

 

  * BUG: "Launching soft keyboard made applets especially for About 

Device and Proxy dialog layout disordered"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/197923

FIX: mokos added

 

  * BUG: "Select time server doesn't take effect when keep synchronized 

with internet server"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/193197

FIX: removed ntp support

 

  * BUG: "Proxy setting and DateTime setting UI are not well layout for 

800x480 resolution"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/198624

FIX: the date&time dialog is much smaller now and the network proxy 

dialog has a moko surrounding the first tab.

 

  * BUG: "Suggest to remove help button on Time&Date dialog due it shows


error message"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179034

FIX: the help buton was removed since we build moblin-time now 

ourselves instead of using gnome-system-tools' time-admin.

 

  * BUG: "moblin-applets cannot launch control panel applet by manual"

BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/196906

FIX: The problem was that with the new mobile-basic-flash calling 

convention all the applets create their dialogs and return 

immediately. I changed the behavior to return immediately only when 

the user_activated argument to execute is TRUE. If it's FALSE, the 

applets run a gtk_main and don't return until the dialog is
destroyed 

and gtk_main_quit is called.

 

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Weekly status update for moblin-applets (0.42)

2008-03-06 Thread Brandt, Todd E
Hi all, this week was spent largely on documentation. The latest and
greatest moblin-applets documentation can be found here:

http://moblin.org/projects/projects_moblin-applets.php

I'm also in the process of providing a sample control panel applet which
demonstrates the following (as part of Lilli Szafranski's Moblin SDK):

* Developing a Basic Control Panel Applet
o C file shows the execute function, what headers are needed, and
how to handle memory on exit
o Makefile shows how to load in the libraries and how to install all
the files
* Proper Dialog Use
o C file shows how to generate a non-modal dialog dynamically with a
single close button and a text box.
* Adjusting for UI resolution: 800X480, 800X600, & 1024X600
o C file shows how to read in all the screen resolutions and
rotations and how to use that info for adjusting the dialog size
* Working with the On-screen Keyboard
o C file shows how to add a moko scroller to compensate for the
smaller screen height when the keyboard is enabled
* Adding Mobile Finger Widgets (Moko Scroll
o Same as above
* Using the Gconf Configuration Database
o C file shows how to read in a gconf key and display it.

I also added in Jason Caseeza's latest status bar icon images along with
Bob Spencer's versions with the background removed; then fixed the look
of the volume, brightness, and mixer sliders by editting the mobilebasic
theme's gtkrc (and committed the changes to hildon-theme-mobile-basic
package).


-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets Project Page Redesign

2008-02-29 Thread Brandt, Todd E
Hi all, the moblin-applets project page is now completely up to date
with developer level documentation on all the applets:

 

http://moblin.org/projects/projects_moblin-applets.php

 

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Weekly status update for moblin-applets (0.41)

2008-02-27 Thread Brandt, Todd E
This week I added all the internationalization support back into
moblin-applets and enabled mobile-basic-flash to display multi-language
icon texts. Essentially I regenerated a new po/POTFILES.in and
po/POTFILES.skip with all the files that have and don't have
translatable strings. About 50% of them haven't changed since th
gnome-control-center fork, but that leaves quite a few with either fuzzy
or no translations in all the languages available. The following
language files are available in the po directory:

 

af.po  bg.po ca.po dz.po es.po  fr.po  hi.po  it.po  lt.po  mn.po  nl.po
pl.po rw.po  sr.po  tr.po  zh_CN.po am.po  bn_IN.po  cs.po el.po et.po
ga.po  hr.po  ja.po  lv.po  mr.po  nn.po   pt_BR.po  sk.po sv.po  uk.po
zh_HK.po ar.po  bn.po cy.po  en_CA.po  eu.po  gl.po  hu.po  ka.po
mg.po  ms.po  nso.po  pt.po sl.po ta.po  vi.po  zh_TW.po az.po  br.po
da.po  en_GB.po  fa.po  gu.po  id.po  ko.po  mk.po  nb.po  or.po   ro.po
sq.po te.po  wa.po  zu.po be.po  bs.po de.po  en_US.po  fi.po  he.po
is.po  ku.po  ml.po  ne.po  pa.po   ru.po  [EMAIL PROTECTED] th.po  xh.po

 

Basically the translatables for moblin-applets break down into 4 groups:

 

[Source code]

* Dialogs that aren't designed in glade use gettext (#defined as _() )
to retrieve the translated string

* This is in place in all the source which creates items with text
visible by the user, but I haven't seen the translation actually work

 

[Desktop config files]

* The .desktop files which are pulled in by mobile-basic-flash have a
field called "Name". This field can duplicated for each possible
language translation. E.g. Name[de]=Persnliche Angaben. 

* modified mobile-basic-flash to read in the value of the LANG
environment variable and to first query the .desktop file to see if a
language specific version of Name exists, if not, it uses the default.
This has been verified to work quite well with both application icons
and applet icons.

 

[Glade GUI descriptor files]

* This is where the bulk of the translatable material resides. I see
that the glade files are indeed processed by intltool, but I have yet to
see any of my glade dialogs show translated language strings when the
LANg env var is switched to de for instance.

 

[Schema files]

* This is for any of the gconf comments or human readable key values
that will be going on the system. At the moment moblin-applets doesn't
use gconf for anything human readable so no schema files are
internationalized.

 

So the tasks that remain to get moblin-applets 100% up to snuff with
i18n are as follows:

 

1)   Need to fix or at least find the proper way to verify that the
source code based translations are working

2)   Need to fix or at least find the proper way to verify that the
glade based translations are working

3)   Need to fill in all the blanks wrt all the translatable
strings. Each string has 79 languages to translate into, and I don't
know how we will be handling this.

 

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Status update for moblin applets

2008-02-20 Thread Brandt, Todd E
February Status update for Moblin Applets

Moblin Applets Documentation:

Created a 37 page document describing the 10 control panel and 3 status
bar applets. I will be adding this to the moblin-applets project page on
moblin.org now that John has given me access to the svn repository. 
 
Touchscreen Calibration Utility:

Split the utility into two pieces, one for the GUI portion, the other
for the low level touchscreen driver access and xorg.conf configuration
portion. The low level version now resides in a new system daemon called
moblin-system-daemon which is started as root via init.d. The gui
remains in the moblin-touchscreen executable. The two communicate via
DBUS functions so that all the actions requiring root are carried out by
the daemon. Thus there is no longer a need to log in as administrator to
configure the touchscreen 

The touchscreen config utility now has the ability to determine the name
of the xorg.conf file by scanning the /etc/event.d/session file and
reading the option passed to the -config argument. This means that the
samsungQ1 config file is no longer hardcoded and the applet should be
more extensible to unknown platforms 

added the capability to add in a completely new touchscreen config
section to the target xorg.conf file if it doesn't have one. This should
allow any system to be configured from scratch without the need for any
default config or prior knowledge of the touchscreen characteristics. 

removed the filter placed on the points touched on the screen which
prevented users from going too far from the illuminated points. This was
causing problems on the crown beach. 
 
Background Applet:

Changed the background applet to no longer use an XML database to save
files. It scans the moblin-media thumbnail cache for photos and
populates those instead. Photos can no longer be added or removed from
the background applet, they are managed from the moblin-media photo
viewer exclusively. 
 
Sound Mixer Applet:

The sound applet is redesigned to dynamically present volume sliders and
mute buttons for every playback or capture track the sound hardware
supports. It presents a notebook where each tab represents a different
"track", e.g. Master, PCM, CD, Aux, Line in, etc. Within each notebook
tab there are a series of controller elements instantiated for each
channel available in the track. For instance if a track is mono is will
have one controller element, if it's stereo it will have two, one for
left and one for right. If a track is 5.1 dolby it will have 6
controller elements: front left, front right, front center, rear left,
rear right, and woofer. 
 
Hardy Package Builds:

Created hardy versions of moblin-applets and moblin-keyboard-manager for
upload into the ubuntu-mobile repo. Moblin Applets only required a small
change to the liboobs functions being used by the date & time applet as
their prototypes have changed in the hardy platform's version. 
 

25 Bugs Fixed this month:

BUG: No Way to set one photo to wallpaper 
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/192851 
FIX: The moblin-media package changed both the thumbnail format and
folder so the background applet couldn't find the images. It's been
updated. 

BUG: "Click Background applet cause hildon desktop restart" 
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/191481 
FIX: Added default gconf settings for /desktop/moblin/background 

BUG: "Terminal font size is not consistent by different opening  ways:
keyboard shortcut and GUI." 
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/172478 
FIX: This file configures the desktop shortcut for the terminal:
/usr/share/mobile-basic-flash/applications/90-terminal.desktop Gconf
key: /apps/moblin_settings_daemon/keybindings/term_cmd New value: uxterm
-fa Monospace -fs 12 

BUG: "Launching soft keyboard made control panel applets dialog window
layout disordered." 
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/164632 
FIX: About Me dialog is encased in a moko now 

BUG: "Cannot launch Email with keyboard shortcut" 
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/186550 
FIX: The problem I think is with the alt being a toggle rather than a
control key on the samsung. I changed all the default shortcuts to use
ctrl+shift+char now and they all seem to work great. 

BUG: "The About Me UI is disordered after input multiple lines strings
in Address edit entry" 
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/186955 
FIX: I tried instantiating a moko finger scroller around the address
text box and it behaved just as I expected, the larger moko (for the
entire dialog) overrode the smaller moko and the box was unusable. So
this is a catch 22, I need the entire box to be in a moko so none of the
component elements can be moko (unless Frank can figure something out).
Instead I changed the behavior of the scrolled window around the address
box to not allow the box to be resized. If you type too many lines you
get horizontal and vertica

RE: i18n (gettextization) of moblin-applets

2008-02-15 Thread Brandt, Todd E
Hi Kyle, the internationalization support is in there, it's just
switched off. Do you have like a team that will translate strings into
the various languages?

-Original Message-
From: Kyle Nitzsche [mailto:[EMAIL PROTECTED] 
Sent: Friday, February 15, 2008 8:43 AM
To: Brandt, Todd E
Cc: mobile list
Subject: i18n (gettextization) of moblin-applets

Hi Todd,

At the #ubuntu-mobile meeting this week we discussed the status of  
Moblin software respecting implementing gettext internationalization.

I got the action to follow up with you respecting moblin-applets i18n  
status.

Thanks,
Kyle



-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets update

2008-01-17 Thread Brandt, Todd E
  * BUGS FIXED

  * BUG: "Make default for this ..." checkbox on screen resolution 
dialog doesn't take effect
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179795
FIX: That checkbox just affected where the settings were stored in 
the gconf tree. It was pretty much useless for MID so I completely 
removed it from the dialog.

  * BUG: "Cannot save resolution change after restart hildon-desktop or 
system"
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179792
FIX: The fix is in 0.25, basically I changed the gconf keys over to 
moblin specific settings. Then I added a reader into 
moblin-settings-daemon which picks up the last resolution and
rotation 
settings and applies them during moblin-settings-daemon launch.

  * BUG: "Cannot show battery life status by clicking Battery life icon 
on status bar"
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/176829
FIX: I added a pulldown which shows the percent charged, and if the 
device supports the battery.charge_level.rate ACPI event and 
corresponding HAL property, the remaining charge time or remaining 
battery time. 

  * BUG: "Usability: can edit keyboard shortcut with symbol such as : ,"
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179004
FIX: I don't want to filter on what a user *can* use, since there 
may be unknown hardware buttons mapped into part of the ascii 
range of the keycode space, but I think it may be prudent to 
filter out the whole range of printable ascii characters. 
i.e. whatever passes g_ascii_isprint can't be bound. 

  * BUG: "Usability: Suggest to change Background dialog "Finish" button

to "Close" to be consistent with other applets dialog"
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/179788
FIX: Done

-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: moblin applets status update

2007-12-13 Thread Brandt, Todd E
I tend to favor having as much control as possible, but was overruled
since having both the PCM and Front controls confuses the "average"
user.  Thanks for the note though, I'll keep an eye on the media app to
be sure there are no conflicts.

 



From: Tobin Davis [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 13, 2007 9:45 AM
To: Brandt, Todd E
Cc: ubuntu-mobile@lists.ubuntu.com
Subject: Re: moblin applets status update

 

On Thu, 2007-12-13 at 08:52 -0800, Brandt, Todd E wrote:



  * Mixer Applet - Fixed the Volume applet to incorporate the UDS 
and Bob Spencer's suggestions
*  Removed the PCM tab. The PCM volume is now set behind the 
   scenes to 98% high so as to prevent distortion, and the 
   user can now only control the speakers, microphone, and
headphones. 

A word of caution on this.  Some apps use the default PCM device to play
audio, and they control their volume settings via the PCM control, which
is a softvol plugin in alsa.  Hardcoding it in the mixer and removing
the controls may allow a program to leave audio in an unusable state.




-- Tobin Davis 

 
It is all right to hold a conversation, but you should let go of it
now and then.
   -- Richard Armour

 

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


moblin applets status update

2007-12-13 Thread Brandt, Todd E
Pushed version 0.21 Gaston to the apt repo, the changes are as follows:

  * Added Danny Varner's additions to the touchscreen applet
  * About Me Applet - Completey tore down the about-me dialog 
to just include a single pane with the following information
  Username - the nickname or username for login purposes
  First Name - Given Name
  Last Name - Family Name
  Home Phone
  Mobile Phone
  Address
  Street Address
  P.O. Box
  Country
  State
  City
  Zip Code
  Email - the primary email account
These all still transmit to the evolution data server
and so stil function as before, just with less of them.
  * Help Buttons - Removed all the Help buttons from the applets 
since there is no globale help insfrastructure in place.
  * Network Proxy - Changed the port entry boxes in the network proxy 
dialog from spinbuggon widgets to standard text entry widgets.
  * Applet Names - Renamed all the remaining applets to 
  Keyboard - formerly Keyboard Properties
  Sound - formerly Sound Mixer
  Buttons - formerly Keybindings
  Proxy - formerly Network Proxy
  Background - formerly Backgroun Properties
  About Me - stayed the same
  * Mixer Applet - Fixed the Volume applet to incorporate the UDS 
and Bob Spencer's suggestions
*  Removed the PCM tab. The PCM volume is now set behind the 
   scenes to 98% high so as to prevent distortion, and the 
   user can now only control the speakers, microphone, and
headphones.
*  Removed all the Volume buttons and replaced the them with just
the
   two sliders, set apart widely for easy scrolling of left and
right.
*  Removed the left and right channel mute buttons and replaced them
   with a single mute button per tab

  * BUGS FIXED

  * BUG: "re-launch control panel applets (Background Properties) 
 will cause control panel exist unexpectedly."
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/155679
FIX: I tried this using the latest target image on a samsung using 
 moblin-applets 0.20 and was able to successfully open, select, 
 close over and over again more than 10 times without fail. I 
 believe I fixed this when I removed all the superflous
background 
 settings like "for all users or just this one" and "stretch, 
 tiles, center, etc".

  * BUG: "change network configuration applet settings cause application
launch issue"
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/156545
FIX: For beta2 we have removed the network configuration applet
since 
 it was more powerful than your average user will ever need.
Also 
 it was apparantly more trouble than it was worth.

  * BUG: "the dialog display is not correct"
BUGLINK: https://bugs.launchpad.net/moblin-applets/+bug/156528
FIX: In the latest build, the control panel has been removed and all

 the control panel apps are actually called by hildon-desktop
from 
 the desktop. So none of the control panel menu functions exist 
 anymore - Restore original Settings, Clear user data, and
Mobile 
 Operator Setup Wizard. Since these functions don't exist, this 
 bug is no longer reproducable and is tacitly fixed.

  * BUG: "Cannot open Control Panel->Tools->Moblile operator setup
wizard submenu"
BUGLINK: https://bugs.launchpad.net/moblin-ui-framework/+bug/164246
FIX: In the latest build, the control panel has been removed and all

 the control panel apps are actually called by hildon-desktop
from 
 the desktop. So none of the control panel menu functions exist 
 anymore - Restore original Settings, Clear user data, and
Mobile 
 Operator Setup Wizard. Since these functions don't exist, this 
 bug is no longer reproducable and is tacitly fixed.

  * BUG: "Control Panel->Tools->Restore original settings doesn't take
effect"
BUGLINK: https://bugs.launchpad.net/moblin-ui-framework/+bug/164251
FIX: In the latest build, the control panel has been removed and all

 the control panel apps are actually called by hildon-desktop
from 
 the desktop. So none of the control panel menu functions exist 
 anymore - Restore original Settings, Clear user data, and
Mobile 
 Operator Setup Wizard. Since these functions don't exist, this 
 bug is no longer reproducable and is tacitly fixed.

  * BUG: "Control Panel->Tools->Clear user data doesn't take effect"
BUGLINK: https://bugs.launchpad.net/moblin-ui-framework/+bug/164255
FIX: In the latest build, the control panel has been removed and all

 the control panel apps are actually called by hildon-desktop
from 
 the desktop. So none of the control panel menu functions exist 
 anymore - Restore original Settings, Clear user data, and
Mobile 
 Operator Setup Wizard. Since these 

RE: Question about battery-applet, acpid VS gnome-power-manager

2007-12-06 Thread Brandt, Todd E
Hi Michael, sorry again for missing the meeting this morning, I was
pulling an all-nighter and my brain got back at me by incorporating the
sound of my alarm clock into a dream. 

First and foremost, the reason to not use GPM was made because we had
our own plans to build a mobile specific power manager called PPM:

http://moblin.org/projects_ppm.php

Initially we didn't know what license we were approved for so we began
writing everything from scratch. I actually still don't know if the
license is compatible with GPLv2, so that rules out merging with GPM.
Eventually there will be some nifty LPIA specific power optimizations in
there that will make the jump from GPM worth it in the mobile domain.

I actually just pulled out the code for the battery and brightness
applets from GPM to make the moblin-applets versions (giving credit in
the copyright file of course), and hacked them way way down to run in a
hildon environment. The GPM code natively uses libbonobo and the
PanelApplet class to instantiate applets, and neither or those will work
in a hildon environment. To convert them to hildon status bar applets I
tore out all the PanelApplet stuff and based gave the applet objects
GtkButton parents and then made them conform to the Hildon status bar
API spec.

So basically the GPM battery and brightness applets are this big: 
|---|, 
and I made them this big for moblin: 
|---|.

Hope that helps, the caffeine is slowly kicking in.

-Original Message-
From: Michael Frey [mailto:[EMAIL PROTECTED] 
Sent: Thursday, December 06, 2007 10:10 AM
To: ubuntu-mobile@lists.ubuntu.com
Cc: Brandt, Todd E
Subject: Question about battery-applet, acpid VS gnome-power-manager

Todd,

I was just wondering if you could explain the decision to use acpid / 
custom battery applet instead of using the existing gnome-power-manager?


The gnome-power-manager already has a status bar applet that works quite

well and would avoid duplicate code and less maintenance.  
Gnome-power-manager already also handles listening to hal events for 
things like power button etc.. for suspend / shutoff tasks.

It might be worth looking into.

Thanks,
Michael

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: moblin-applets changes

2007-11-29 Thread Brandt, Todd E
I just applied the patch and updated moblinapplets to 0.18, so it should
be in gaston now and you should be able t5o pull it in about 30 minutes.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Kowalik
Sent: Sunday, November 25, 2007 8:14 PM
To: ubuntu-mobile@lists.ubuntu.com
Subject: moblin-applets changes

Hey Guys,

I've been looking at why ubuntu-mobile is uninstallable under
Hardy,
and have discovered why, and what needs to happen to correct it.

The core of the problem is moblin-applets, which depends on
libgnomekbd1. libgnomekbd1 depends on a particular version of
libgnomekbd-common which doesn't exist any more, so it all falls over.

This is a normal occurrence, since libgnomekbd has undergone an
API and
ABI change, and as such the package name has changed from libgnomekbd1
to libgnomekbd2.

The problem now is that the moblin-applets in Hardy is 0.9,
which
doesn't build against the new libgnomekbd. Neither does the current git
tree, so I am attaching a patch that corrects cause of the build
failure. I've also test-built a moblin-applets against Gutsy, and it
builds fine as well, so I suspect the code in question wasn't needed.

Todd, can you apply this patch to git and liaise directly with
me in
terms of getting a new moblin-applets to land in Hardy as soon as
possible?

Thanks,
-- 
Steve
Ubuntu Mobile Developer
Canonical, Ltd

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets Update

2007-11-28 Thread Brandt, Todd E
This is what we're going to have ready in terms of moblin applets by end
of next week.

Date&Time:
* No changes for Beta2
* Beta3 changes are:
 * remove password prompt
 * Remove Date&Time change from drop-down calendar
 * Timezone = finger scrollable list
 * Time = popup dialog to set time
 * remove configuration fields
 * Remove: Help btn, Synchronize Now
Keybindings:
* renamed to "buttons"
* will use moko finger scroller
* better organization for the shortcuts 
* will support: Home, Web Browser, Photos, Videos, Music, 
  Chat, Email, Calculator, screen brightness up, down, and
minmax
  Toggle, and volume up, down, and mute.
Keyboard properties:
* renamed to "Keyboard"
* all tabes removed except virtual keyboard settings tab
* will focus entirely on the virtual keyboard
* will use moko finger scroller to select layouts
Screen Resolution:
* removed for beta2
Font:
* removed for beta2
Network Configuration:
* removed for beta2 
System Monitor:
* renamed to "About Device"
* will have only one tab, showing the hardware characteristics
Sound Mixer:
* renamed to "volume" 
* will have 3 tabs: speakers, headphones, and microphone
* each tab will have two sliders for left and right with a sync
button
* each tab will have a mute
Touchscreen:
* should no longer need root access 
* should have better looking UI
* will have a prompt for X restart and restart X
* will have cross-platform xorg file support 
Network Proxy: 
* renamed to "Proxy"
* will have better scroll buttons for the port numbers.
About Me:
* will have one tab for purely personal info, name, address, and
phone
Background:
* will have a moko finger scroller for selecting the pictures
* will be organized better for 1024x600 resolution
Battery Indicator:
* will will have a battery level indicator in the status bar


-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin-applets Status

2007-11-15 Thread Brandt, Todd E
Hi all, If you get a chance, try rebuilding a new target, or at least
upgrade to 0.13 moblin-applets. I've added a mixer control which uses
ALSA to populate a list of the most useful tracks on simple sound cards.
It's a single dialog that uses notebook pages for each track instead of
just displaying them all messily from left to right. I've also added
HUGE buttons because I'm tired of scrounging for my pen to tap the
little volume buttons in the status bar. I want the user to be able to
just smack away at this with their fingers and have no issues. Also, all
of the tracks have independent left and right controls for volume and
mute, so I added a sync button for each to allow the user to control
left/right in unison (just like in the ubuntu version but in a different
style).

The code uses ALSA to populate a list of all the tracks that have
playback volume or switch controls, then scans for 4 key tracks which I
think will make the most sense to provide to the user: Master (PCM),
Speakers (Front), Microphone (Mic), and Headphones (Headphone):

To see a full list of the tracks the system supports just install
alsa-utils, and run amixer, it will show all the tracks which fall into
three primary types: playback, capture, and input source. For now I've
just included the playback tracks because the devices we currently have
aren't that complex, but we can easily add on other tracks in the
future.

The Samsung has the following:

PCM: 
I call this "Master" because it has the widest range and no mute
switches, it seems designed to control the underlying volume that gets
channeled to the other tracks like spearkers and headphones.

Front: 
This guy I call "Speakers" because it just controls the two front
speakers on the Samsung, and it has both volume and mute controls

Microphone: 
I included the Micrphone playback track which includes both volume and
mute capability, it seems to work ok as the input to the mic gets sent
out over the speakers and headphones just fine, however I still haven't
gotten arecord to function yet. 

Headphones: 
The included a headphone track which has no volume slider (the Fron
volume slider seems to also affect headphones, but it does have
independent mute switches. Ideally I'd like to get PPM to control the
Front and Headphone Mute buttons manually whenever the "Headphone
plugged" ACPI event is received. That way it will react as a normal
devidce does when using headphones.

I have compiled all the basic functions I use for controlling the sound
via ALSA into a library called libvolumecontrol.so and it's placed in
/usr/share/moblin-applets. So if the PPM guys want to try to load it in
and do some tests, have at it. The header file is in the moblin-applets
source tree at libvolumecontrol/volume.h. If anyone makes the request I
can turn this library into a standard runtime library with a dev version
with header files for easy programming and use since ALSA is a pain in
the butt to understand with so little documentation.

I still have to make some small glade cosmetic improvements like
disabling the volume controls if ALSA determines that the track doesn't
have them. For instance the Headphones tab has volume controls but they
just don't do anything at the moment.

-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

___
dev mailing list
[EMAIL PROTECTED]
https://www.moblin.org/mailman/listinfo/dev

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


moblin applets status

2007-11-08 Thread Brandt, Todd E
Have held an informal review of the features in the control panel and
have implemented many of the comments, most having to do with removal of
the clutter and simplification of the UI. Have been focusing primarily
on bug fixing and code upgrades, and I'm currently in the process of
finalizing the mixer applet and will be adding in theme switching next.

-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin-applets status

2007-11-01 Thread Brandt, Todd E
Very short update:

Held a review of the moblin-applets feature set through the moblin
mailing list and the overwhelming response was that we have way more
features than we need. Thus, this week I've been chopping the applets
down to the bare minimum of features for use on a mobile device.

Also am working on the creation of a ventral libmoblin-dev and libmoblin
runtime library that applications and applets can use to get the
up-to-date list of all the gconf keys and their settings that we use,
and am working to add in macros for icon and desktop theme functions
that mirror their gtk equivalents.
 
-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: Moblin-applets

2007-10-15 Thread Brandt, Todd E
Bob, the behavior I've seen is that without the line in statusbar.conf,
the applet won't show up at all even with a desktop file in
/usr/lib/hildon-status-bar. You brought up a good point though, perhaps
the resolution of this issue is a simple fix to hildon-desktop to load
applets regardless of whether they're in statusbar.conf or not. Maybe
just stick them at the end of the bar after the ordered ones are loaded.

-Original Message-
From: Spencer, Bob 
Sent: Monday, October 15, 2007 12:10 PM
To: Tollef Fog Heen; ubuntu-mobile@lists.ubuntu.com; Brandt, Todd E
Subject: RE: Moblin-applets



Tollef Fog Heen wrote:
> * Matthew Garrett
> 
>> There's a couple of issues with moblin-applets that I'd prefer to
>> discuss before getting it into the archive. The first of these is the
>> modification of the hildon-desktop statusbar config. Shipping a copy
>> in hildon-desktop and then modifying it in the moblin-applets
>> postinst would result in a conflict every time the file changes in
>> the hildon-desktop package. Diversions work badly with conffiles, so
>> I'd be interested in opinions on how to handle this situation.
> 
> The usual way would be to make hildon-desktop have a statusbar.d with
> configuration file fragments it assembles. 
> 
> [...]

All of the statusbar plugins already have .desktop files in
/usr/share/applications/hildon-desktop/statusbar .  The file
/etc/hildon-desktop/statusbar.conf seems mostly useful for dictating the
order.  Perhaps they could add an entry for [*] to get anything not
explicitely listed, then we wouldn't need to edit hildon-desktop when we
add a new statusbar plugin.

We have similar problems with the other configuration files, such as
marquee.conf.  The /etc/hildon-desktop/desktop.conf file references
"marquee.conf" and marquee.conf is part of hildon-desktop, but its
contents are controled by a separate package.  If we want to change the
layout we have to change hildon-desktop.

> 
>> A better solution would involve separation of privileges, with the
>> privileged operations being carried out by a suid backend with
>> careful validation of all input. However, I appreciate that
>> implementing this before gutsy is probably unrealistic. What do
>> other people think? 
> 
> Agreed on both counts.  Would it be possible to make it use gksu and
> not modify sudoers, for now? 

"For now" I we removed sudoers editing and I believe thereby disallow
the user to change the date/time using the UI dialog.  Todd, can you
confirm?
We'll look into gksu.
Bob

> 
> --
> Tollef Fog Heen
> UNIX is user friendly, it's just picky about who its friends are

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: Moblin-applets

2007-10-15 Thread Brandt, Todd E
The sudoers and status bar edits have been removed temporarily from the
latest build pending a resolution.

-Original Message-
From: Spencer, Bob 
Sent: Monday, October 15, 2007 12:10 PM
To: Tollef Fog Heen; ubuntu-mobile@lists.ubuntu.com; Brandt, Todd E
Subject: RE: Moblin-applets



Tollef Fog Heen wrote:
> * Matthew Garrett
> 
>> There's a couple of issues with moblin-applets that I'd prefer to
>> discuss before getting it into the archive. The first of these is the
>> modification of the hildon-desktop statusbar config. Shipping a copy
>> in hildon-desktop and then modifying it in the moblin-applets
>> postinst would result in a conflict every time the file changes in
>> the hildon-desktop package. Diversions work badly with conffiles, so
>> I'd be interested in opinions on how to handle this situation.
> 
> The usual way would be to make hildon-desktop have a statusbar.d with
> configuration file fragments it assembles. 
> 
> [...]

All of the statusbar plugins already have .desktop files in
/usr/share/applications/hildon-desktop/statusbar .  The file
/etc/hildon-desktop/statusbar.conf seems mostly useful for dictating the
order.  Perhaps they could add an entry for [*] to get anything not
explicitely listed, then we wouldn't need to edit hildon-desktop when we
add a new statusbar plugin.

We have similar problems with the other configuration files, such as
marquee.conf.  The /etc/hildon-desktop/desktop.conf file references
"marquee.conf" and marquee.conf is part of hildon-desktop, but its
contents are controled by a separate package.  If we want to change the
layout we have to change hildon-desktop.

> 
>> A better solution would involve separation of privileges, with the
>> privileged operations being carried out by a suid backend with
>> careful validation of all input. However, I appreciate that
>> implementing this before gutsy is probably unrealistic. What do
>> other people think? 
> 
> Agreed on both counts.  Would it be possible to make it use gksu and
> not modify sudoers, for now? 

"For now" I we removed sudoers editing and I believe thereby disallow
the user to change the date/time using the UI dialog.  Todd, can you
confirm?
We'll look into gksu.
Bob

> 
> --
> Tollef Fog Heen
> UNIX is user friendly, it's just picky about who its friends are

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: Moblin-applets

2007-10-15 Thread Brandt, Todd E
I would gladly make the change to the hildon-desktop code to pull in a
statusbar.d directory, however I'm not sure the owner would agree to
accept it and it may take a while to push upstream. I can take the AR to
ping the maemo folks about it though.

As for the sudoers issue, there are currently three "applications" that
need to be granted root access to be run by ume: network-admin and
time-admin from the gnome-system-tools package, and moblin-touchscreen
which edits the xorg conf file. All three are executed by a call to
g_spawn_async with gksu as the command and the argument as one of the
aforementioned three apps.

Without the sudoers edit they cause the password request screen to pop
up, which, while a minor inconvenience on desktop environments, is a
major hassle on a mobile device, particularly as most mobile users won't
even be aware of or care about accounts or passwords.

If editing /etc/sudoers directly is unacceptable, perhaps we can work to
upgrade the sudo package to provide a safe, standard infrastructure for
allowing specific users to execute specific processes as root without a
password. Maybe a sudoers.d directory which includes more complex data
files that tie user ids to executables as well as the packages they're
installed in.

I'm just hesitant to create some sort of moblin-applets root settings
daemon which will require intimate knowledge of packages we don't
control (gnome-system-tools for instance).

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Tollef Fog
Heen
Sent: Monday, October 15, 2007 4:29 AM
To: ubuntu-mobile@lists.ubuntu.com
Subject: Re: Moblin-applets

* Matthew Garrett 

| There's a couple of issues with moblin-applets that I'd prefer to 
| discuss before getting it into the archive. The first of these is the 
| modification of the hildon-desktop statusbar config. Shipping a copy
in 
| hildon-desktop and then modifying it in the moblin-applets postinst 
| would result in a conflict every time the file changes in the 
| hildon-desktop package. Diversions work badly with conffiles, so I'd
be 
| interested in opinions on how to handle this situation.

The usual way would be to make hildon-desktop have a statusbar.d with
configuration file fragments it assembles.

[...]

| A better solution would involve separation of privileges, with the 
| privileged operations being carried out by a suid backend with careful

| validation of all input. However, I appreciate that implementing this 
| before gutsy is probably unrealistic. What do other people think?

Agreed on both counts.  Would it be possible to make it use gksu and
not modify sudoers, for now?

-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at:
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: Is there any plan of adding screen saver feature for moblin?

2007-10-11 Thread Brandt, Todd E
Hi Peter, that's probably a ppm function since it depends on factors
such as remaining power and the current use case (for instance if you're
listening to music then the screen should be toggled off quickly, vs
watching video where it must remain on). PPM could then export these
settings to a control panel applet.

 



From: Zhu, Peter J 
Sent: Wednesday, October 10, 2007 11:30 PM
To: GrueMaster; ubuntu-mobile@lists.ubuntu.com; Lynch, Rusty; Brandt,
Todd E
Subject: RE: Is there any plan of adding screen saver feature for
moblin?

 

Tobin,

 

Sounds reasonable. What I want to get is event of no touch for a while
from user and touch after a while, like screen saver. I believe it
should be a system event. So I don't want to write my specific code to
deal with it. 

 

Rusty/Todd,

 

I believe it should be scope of nm or ppm. Is there any comments from
you? 

 

Thanks,

Peter

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of GrueMaster
Sent: Thursday, October 11, 2007 8:08 AM
To: Moblin Devel; ubuntu-mobile@lists.ubuntu.com
Subject: Re: Is there any plan of adding screen saver feature for
moblin?

On Wed, 2007-10-10 at 17:40 +0800, Zhu, Peter J wrote: 

Specially a saver implementing org.gnome.ScreenSaver?
 
Thanks,
Peter

Oops.  Somehow the text of my reply got stripped.

Question:  wouldn't having a screen saver be counter-productive to low
power/long battery life that the MID is going for?

-- Tobin Davis 

What the large print giveth, the small print taketh away.

 

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


moblin-applets status update

2007-10-11 Thread Brandt, Todd E
Volume status bar applet:
Added a volume status bar icon and slider based on the mixer applet from
the gnome-applets package. Removed the bonobo and PanelApplet interfaces
and replaced them with the Hildon status bar API. Also removed all
dependencies on gstreamer and replaced it with direct calls to the
/dev/mixer device.

Screen Brightness status bar applet:
Added a screen brightness status bar icon and slider based on the
brightness applet from the gnome-power-manager package. Removed the
bonobo and PanelApplet interfaces and replaced them with the Hildon
status bar API. Also removed any dependencies on the gnome power manager
and replaced the low level brightness calls with DBUS calls directly to
HAL.

Touchscreen configuration control panel applet:
Danny Varner has been working on adding a touchscreen configuration
utility to moblin-applets. He has identified the evtouch calibration
utility as the best source base and has adapted it for use on moblin.
The utility will make changes to xorg-samsungq1ultra.conf and control
the /dev/touchscreen driver.

Soft Keyboard support in the keyboard control panel applet:
Jian Han has added a new tab to the keyboard configuration applet which
allows for configuration of the soft keyboard. The user can select
whether or not to autolaunch the soft keyboard and can select its
layout.

-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets (moblin-utilities) Status Update

2007-10-04 Thread Brandt, Todd E
[General]
* three remaining plugins expected before  Oct 12: volume status bar,
brightness status bar, and touchscreen calibration applets. The first
two will be taken from gnome-applets with all the bonobo interface code
stripped out, the last will come from gnome-control-center's mouse
caplet combined with evtouch code. 

[Applet Updates]
Network:
* Network and Date/Time are now just links to the gnome-system-tools
executables.


-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: Moblin and Gnome

2007-10-03 Thread Brandt, Todd E
The network and date&time applets were special cases since they need to
run as root. The rest of the applets come from gnome-control-center and
are already being edited pretty heavily. I think we've achieved a good
balance.

-Original Message-
From: Bill Filler [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 03, 2007 7:37 AM
To: ubuntu-mobile@lists.ubuntu.com
Cc: Brandt, Todd E
Subject: Re: Moblin and Gnome

I believe for Network Admin and Date/Time settings, Todd was planning  
on providing a patch to gnome-system-tools for the UI changes  
necessary for running in the hildon environment. But I'm not sure  
about all of the other control panel applets. Todd, does it make  
sense to do this for all the control-panel applets so that it's  
easier to stay in sync with upstream, rather than forking and having  
the code live in moblin?


On Oct 3, 2007, at 8:17 AM, Matt Zimmerman wrote:

> On Fri, Sep 21, 2007 at 02:36:04PM -0400, Pat McGowan wrote:
>>
>>
>> When custom versions of gnome based components are created, is it the
>> intention to manage these as patches upstream in gnome, for  
>> example in the
>> gnome mobile project?
>>
>>
>>
>> If not, what is the plan to sync these customizations with  
>> upstream changes?
>
> As far as development in Ubuntu goes, our intention is to merge  
> upstream
> anything which can be reasonably generalized.
>
> Regarding the Moblin components derived from GNOME, I believe Todd  
> Brandt is
> the person to ask about their plans.  Hopefully the changes can be  
> merged
> upstream (maybe with a --with-hildon configure option or similar).
>
>
> -- 
>  - mdz
>
> -- 
> Ubuntu-mobile mailing list
> Ubuntu-mobile@lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/ 
> listinfo/ubuntu-mobile

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets (moblin-utilities) Status Update

2007-09-27 Thread Brandt, Todd E
[General]
* moblin-applets inclusion in ubuntu: John V and I have been cleaning up
the moblin-applets package in order to get it moved into ubuntu gutsy.
Major changes include moving binaries around, renaming libraries,
cleaning up the debian scripts, and adding a man page. Alexander Sack
will be looking over the package tomorrow and will decide if it's ready
to go.
* moblin-settings-daemon: is now started up automatically, so
keybindings work immediately.
* added a new launcher application which can execute any of the control
panel applets individually without having to open the control panel.
It's named /usr/bin/moblin-applets.
* gconf dbus: spoke with Bob about whether or not we should try to
upgrade gconf to the dbus enabled version in order to eliminate the need
for CORBA. We decided it can wait until we're using the gconf settings a
little more aggressively so that we can compare the speeds.

[Applet Updates]
Keybindings:
* changed the default keybindings to -key to --key
since the former ones were interfering with some apps, e.g. emacs.

Theme Switcher:
* currently investigating how much needs to be changed from the
gnome-control-center version of theme switcher (which used
gnome-desktop) to be able to function under hildon-desktop.

Network:
* added /usr/bin/network-customize to the build so that nm-applet can
launch the network configuration dialog when "manual configuration" is
selected.

-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Patch to nm-applet for custom net config exec

2007-09-25 Thread Brandt, Todd E
Hi Alex, this is my attempt to add a customizable network configuration
call to nm-applet. Basically it first checks for
/usr/bin/network-customize, and if it exists, it executes it. If it
doesn't exist it calls network-admin.

I changed moblin-applets to install two new files:

/usr/bin/moblin-applets: this is the wrapper binary which can call any
control panel application given its name. e.g. "moblin-applets network"
pops up the network configuration dialog.

/usr/bin/network-customize: this is just a 1 line executable text file
with the line "moblin-applets network" in it. 

I've tested it here and it seems to work great. Let me know if this is
an acceptable change or not, thanks!

-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-



13_custom-network-admin.diff
Description: 13_custom-network-admin.diff
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets (moblin-utilities) Status Update

2007-09-20 Thread Brandt, Todd E
[General]
Package upgrade to v0.5.
Replaced gnome-settings-daemon with a customized version called 
moblin-settings-daemon. This daemon is based on the gnome version's
code but will have all the pieces moblin doesn't need stripped out.
It currently functions only to support the keybindings functionality
using a new set of gconf keys edittable by the keybindings applet.

[Applet Updates]
Keybindings:
* moblin-settings-daemon added to support capture and application of
  keybindings.
* New gconf keys added for support of moblin-specific shortcuts and
  applications.
* The only remaining issue is that moblin-settings-daemon doesn't
  start automatically. You have to open the keybindings dialog
  first which implicitly launches the daemon. Once this is fixed
  I'll close out the keybindings bug.
* The following is the list of new gconf keys supported:
MUTE_KEY/apps/moblin-settings-daemon/keybindings "/volume_mute"
VOLUME_DOWN_KEY /apps/moblin-settings-daemon/keybindings "/volume_down" 
VOLUME_UP_KEY   /apps/moblin-settings-daemon/keybindings "/volume_up" 
POWER_KEY   /apps/moblin-settings-daemon/keybindings "/power" 
EJECT_KEY   /apps/moblin-settings-daemon/keybindings "/eject" 
EJECT_KEY_CMD   /apps/moblin-settings-daemon/keybindings "/eject_cmd"
HOME_KEY/apps/moblin-settings-daemon/keybindings "/home" 
HOME_KEY_CMD/apps/moblin-settings-daemon/keybindings "/home_cmd"
SEARCH_KEY  /apps/moblin-settings-daemon/keybindings "/search" 
SEARCH_KEY_CMD  /apps/moblin-settings-daemon/keybindings "/search_cmd"
EMAIL_KEY   /apps/moblin-settings-daemon/keybindings "/email" 
EMAIL_KEY_CMD   /apps/moblin-settings-daemon/keybindings "/email_cmd"
SLEEP_KEY   /apps/moblin-settings-daemon/keybindings "/sleep" 
SCREENSAVER_KEY /apps/moblin-settings-daemon/keybindings "/screensaver" 
default: ctrl-alt-l
SCREENSAVER_KEY_CMD /apps/moblin-settings-daemon/keybindings "/screensaver_cmd"
HELP_KEY/apps/moblin-settings-daemon/keybindings "/help" 
HELP_KEY_CMD/apps/moblin-settings-daemon/keybindings "/help_cmd"
WWW_KEY /apps/moblin-settings-daemon/keybindings "/www" 
default: ctrl-w
WWW_KEY_CMD /apps/moblin-settings-daemon/keybindings "/www_cmd"
default: /bin/sh /usr/lib/midbrowser/run-mozilla.sh 
/usr/lib/midbrowser/midbrowser-bin
PLAY_KEY/apps/moblin-settings-daemon/keybindings "/play" 
PAUSE_KEY   /apps/moblin-settings-daemon/keybindings "/pause" 
STOP_KEY/apps/moblin-settings-daemon/keybindings "/stop" 
PREVIOUS_KEY/apps/moblin-settings-daemon/keybindings "/previous" 
NEXT_KEY/apps/moblin-settings-daemon/keybindings "/next" 
CALC_KEY/apps/moblin-settings-daemon/keybindings "/calc" 
default: ctrl-g
CALC_KEY_CMD/apps/moblin-settings-daemon/keybindings "/calc_cmd"
default: /usr/bin/galculator
TERM_KEY/apps/moblin-settings-daemon/keybindings "/term" 
default: ctrl-t
TERM_KEY_CMD/apps/moblin-settings-daemon/keybindings "/term_cmd"
default: xterm -class UXTerm -title uxterm -u8
CHAT_KEY/apps/moblin-settings-daemon/keybindings "/chat" 
CHAT_KEY_CMD/apps/moblin-settings-daemon/keybindings "/chat_cmd"
MEMO_KEY/apps/moblin-settings-daemon/keybindings "/memo" 
default: ctrl-m
MEMO_KEY_CMD/apps/moblin-settings-daemon/keybindings "/memo_cmd"
default: /usr/bin/mousepad

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: GConf settings for moblin

2007-09-14 Thread Brandt, Todd E
Thanks Sebastien, this helps, I'm in the process of replicating the schemas for 
gnome-control-center with mods and additions for hildon/moblin.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sebastien Bacher
Sent: Monday, September 10, 2007 5:28 AM
To: ubuntu-mobile@lists.ubuntu.com
Subject: Re: GConf settings for moblin


Le jeudi 06 septembre 2007 à 18:04 -0700, Brandt, Todd E a écrit :

> The default values for all of these are installed with gconf2-common
> from the feisty build. The gutsy version of gconf2-common seems to have
> many of these removed, which is why some of the applets don't populate
> as expected when started (for instance the keyboard shortcuts applet has
> nothing in it because it seems the gnome-settings-daemon section of the
> gutsy gconf default database has been removed).

> I think in the short term we may want to fork a version of gconf2-common
> that installs our own defaults, then push our changes back upstream when
> the database has been pretty well established.

> Of course I'm not a gconf expert so please feel free to chime in with
> corrections/comments.

Hi,

The default values are coming from the .schemas shipped with the
packages. The multimedia keyboard shorcuts come from
apps_gnome_settings_daemon_keybindings.schemas in capplets-data for
example. The schemas are not used directly by gconf but applied during
the package installation. 

On Debian and Ubuntu the easier way to modify the default value of a key
is to create gconf-defaults, you can read the gconf2 README.Debian which
has some details or look to the gnome-control-center libgnome or
nautilus packages if you want examples. The format is simple enough, you
just have to list the keys and their values


Cheers,

Sebastien Bacher




-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets Status Update

2007-09-13 Thread Brandt, Todd E
[General]
Removed all conflicts between moblin-applets and any of the existing
packages it draws code from: gnome-control-center, gnome-system-tools,
and gnome-system-monitor. It can now be installed along side any of
these packages. Also removed the gnome-settings-daemon build as this is
not changed in moblin-applets and was conflicting with
gnome-control-center install. Am in the process of completely removing
any dependencies on gnome-settings-daemon within any of our applets.

[New Applets]
System Monitor applet: 
* Added in the code from gnome-system-monitor into moblin applets. 
* Made the necessary changes to hildonize the code and enable multiple
dialog calls within a single process call.
* Altered the dialog images to display the moblin logo instead of gnome.
* Updated the debian package info with the gnome-system-monitor author,
license, and copyright information.

[Existing Applet Updates]
Network Proxy:
About Me: 
* bugs 151 and 152 verified, they have to do with the g_module_symbol
call in libglade failing to see the "creation_function" symbol defined
in about-me.glade. 
Background:
* bug 159 filed, not yet verified
Font 
* bug 155 verified, this has existed for a while and is caused by
mismatched gconf keys between the font applet and the hildon
environment.
Screen Resolution:
Sound Properties:
* sound devices not yet detected, still root causing
Keybindings:
* bug 160 verified, this has to do with the gconf settings, still root
causing.
Keyboard Properties:
* bug 157 filed, not yet verified.
Menu & Toolbars:
Network Admin:
Date and Time:
* fixed issues with crash, dialog can now be run multiple times without
fail
* fixed Mercator projection image in time zones
* appears to function well now but needs QA verification.

[Anticipated Applets]
Volume Control status bar applet 
This code doesn't yet conform to the hildon status bar applet format,
and so is not yet being displayed. Waiting for an update from Tariq. 
Screen Brightness control panel applet: 
Not yet received from Tariq

-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


GConf settings for moblin

2007-09-06 Thread Brandt, Todd E
Attached is an open office spreadsheet with a list of the gconf keys
that the control panel applets are known to use; meaning if you want
some of these settings to affect your application now, attach a callback
for the given key and it should work. If there are keys you already have
and want the control panel to configure, or you want to change some of
the ones listed, please speak up.

The default values for all of these are installed with gconf2-common
from the feisty build. The gutsy version of gconf2-common seems to have
many of these removed, which is why some of the applets don't populate
as expected when started (for instance the keyboard shortcuts applet has
nothing in it because it seems the gnome-settings-daemon section of the
gutsy gconf default database has been removed).

I think in the short term we may want to fork a version of gconf2-common
that installs our own defaults, then push our changes back upstream when
the database has been pretty well established.

Of course I'm not a gconf expert so please feel free to chime in with
corrections/comments.

-
|  Todd Brandt - Intel Oregon   |
|Linux for Mobile Internet Devices (MID)|
| 2111 W NE 25th Ave|
|Hillsboro, OR 97124 JF1-235|
|---|
| "Of all the things I've lost, I miss  |
|my mind the most" - Mark Twain |
-


gconfkeys.ods
Description: gconfkeys.ods
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets Status Update

2007-09-06 Thread Brandt, Todd E
Gconf settings enablement: I'm in the process of creating a spreadsheet
which lists all of the gconf keys; their paths, values, and
descriptions; that moblin uses. This will serve as a starting point for
decisions on what keys need to be added or changed, and will also enable
application owners to tie into what the control panel configures. I will
have this out by tomorrow.

 

Network Manager bug fix: The network manager's inclusion into the
ubuntu-mobile meta package has caused a failure during fset
installation. This was root caused to a fault in the lsb-base-logging.sh
function log_daemon_msg, which wasn't handling border cases properly and
was crashing. I sent a patch to the Ubuntu mailing list and Tollef has
agreed to have it pushed upstream into lsb-base. John V has also
provided a patch which allows for inhibiting whether the network
services are restarted after the package is installed.

 

Existing Applets Updates

*   Network Proxy
*   About Me 
*   Background 
*   Font 
*   Screen Resolution 
*   Sound Properties 
*   Keybindings 

*   Keyboard Properties 
*   Menu & Toolbars 
*   Network Admin
*   Date and Time

1.  Still buggy, can only run the dialog a few times before
crash, and the mercator projection for time zones doesn't draw
correctly.

Anticipated Applets

*   Volume Control status bar applet

1.  This code doesn't yet conform to the hildon status bar
applet format, and so is not yet being displayed. Waiting for an update
from Tariq.

*   Screen Brightness control panel applet:

1.  Not yet received from Tariq

 

 

 

 

 

Todd Brandt  -  Intel Oregon

Linux for Mobile Internet Devices (MID)

 

2111 W NE 25th Ave Hillsboro, OR 97124

MS: JF1-235  Tel: (503) 264-4035

 

 

 

<><>-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: [Moblin Dev] Patch to fix network-manager bug

2007-09-05 Thread Brandt, Todd E
Hi Dandan, I've just attached a slightly modified version of the patch
which can be applied directly to the lsb-base package's files after
they've already been installed on a target (this happens automatically
when you create a target).

First create a target, then before you install any fsets, run these
commands:

> cd /usr/src/projects//targets//fs/etc
> cat /lsb-target-fix.patch | patch

This will patch the file: /etc/lsb-base-logging.sh, which is the
installed version of the file lsbfix.patch fixes (the lsb-base install
just changes the name from lsb-base-logging-ubuntu.sh to
lsb-base-logging.sh and copies it to /etc)

In order to apply lsbfix.patch you have to get the lib-base package
source:

> apt-get source lib-base
> cd lsb-3.1
> cat /lsbfix.patch | patch -p1

Then you would rebuild the lsb-base package and install it on the
target. Lsbfix.patch was just meant to be used upstream, sorry for the
confusion.


-Original Message-
From: Hong, Dandan 
Sent: Wednesday, September 05, 2007 6:33 PM
To: Brandt, Todd E
Subject: RE: [Moblin Dev] Patch to fix network-manager bug

Hi,Todd
I am a new QA ,who reported the bug 105 at moblin bugzilla.I'm
very delighted to your patch.But there is a problem that I don't know
how to use the patch,in order to test it.Would you give me some
information?Thank you very much.

Best wishes.
Hong,Dandan.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf
Of Brandt, Todd E
Sent: Wednesday, September 05, 2007 7:29 PM
To: ubuntu-mobile@lists.ubuntu.com; [EMAIL PROTECTED]
Subject: [Moblin Dev] Patch to fix network-manager bug

This is a patch to the lsb-base package. It's the cause of the error in
the network-manager installation with moblin-image-creator. 

 

Basically when you install the ubuntu mobile fset, it tries to install
the ubuntu-mobile meta package which points to network-manager and
network-manager-gnome. When network-manager is installed it runs a post
install script that restarts the NetworkManager service. This script
calls the log_daemon_msg function to print out a little message to the
effect of "restarting network manager service... ". Log_daemon_msg is a
function defined in /etc/lsb-base-logging.sh and it attempts to display
the message in a fancy way on the terminal screen. To do this it gathers
info on how many columns there are by calling "tput cols", which it just
assumes returns a valid number. This is the bug. For some reason, "tput
cols" returns -1 when it's called from apt-get from within a
moblin-image-creator target root. This ends up getting processed and
given back to tput as an argument later on and the "-" causes tput to
barf because it thinks the number is an option that doesn't exist. 

 

This patch adds a check to ensure that the column value is usable. The
script already defaults to 80 columns if "tput cols" returns nothing, so
I just expanded that case to include returns of 6 columns or less.

 

 

 

Todd Brandt  -  Intel Oregon

Linux for Mobile Internet Devices (MID)

 

2111 W NE 25th Ave Hillsboro, OR 97124

MS: JF1-235  Tel: (503) 264-4035

 

 

 



lsb-target-fix.patch
Description: lsb-target-fix.patch
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Patch to fix network-manager bug

2007-09-05 Thread Brandt, Todd E
This is a patch to the lsb-base package. It's the cause of the error in
the network-manager installation with moblin-image-creator. 

 

Basically when you install the ubuntu mobile fset, it tries to install
the ubuntu-mobile meta package which points to network-manager and
network-manager-gnome. When network-manager is installed it runs a post
install script that restarts the NetworkManager service. This script
calls the log_daemon_msg function to print out a little message to the
effect of "restarting network manager service... ". Log_daemon_msg is a
function defined in /etc/lsb-base-logging.sh and it attempts to display
the message in a fancy way on the terminal screen. To do this it gathers
info on how many columns there are by calling "tput cols", which it just
assumes returns a valid number. This is the bug. For some reason, "tput
cols" returns -1 when it's called from apt-get from within a
moblin-image-creator target root. This ends up getting processed and
given back to tput as an argument later on and the "-" causes tput to
barf because it thinks the number is an option that doesn't exist. 

 

This patch adds a check to ensure that the column value is usable. The
script already defaults to 80 columns if "tput cols" returns nothing, so
I just expanded that case to include returns of 6 columns or less.

 

 

 

Todd Brandt  -  Intel Oregon

Linux for Mobile Internet Devices (MID)

 

2111 W NE 25th Ave Hillsboro, OR 97124

MS: JF1-235  Tel: (503) 264-4035

 

 

 

<><>

lsbfix.patch
Description: lsbfix.patch
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


RE: Moblin Applets Status Update

2007-08-30 Thread Brandt, Todd E
Actually this brings up a great point, we should define a minimum screen
resolution and font size that the moblin UI should function within. Is
800x480 as small as we'll ever go?

 



From: Len Kawell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, August 30, 2007 2:57 PM
To: Brandt, Todd E
Cc: ubuntu-mobile@lists.ubuntu.com
Subject: Re: Moblin Applets Status Update

 

Todd,

 

I noticed you said that you modifed the About Me GUI to fit on a
1024x600 screen. We are working with some device makers who are building
devices with 800x480 screens. Can the applet GUIs be made to fit on
those smaller screens?

 

Len

 

 

On Aug 30, 2007, at 2:51 PM, Brandt, Todd E wrote:





Hi all, sorry I missed the weekly meeting this morning, here's my status
update:

 

Existing Applets

*   Network Proxy - online and functional
*   About Me - online and functional, modified the GUI to fit more
easily on 1024x600 screen

... snip ...

 

-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Moblin Applets Status Update

2007-08-30 Thread Brandt, Todd E
Hi all, sorry I missed the weekly meeting this morning, here's my status
update:

 

Existing Applets

*   Network Proxy - online and functional
*   About Me - online and functional, modified the GUI to fit more
easily on 1024x600 screen 
*   Background Properties - online and functional
*   Font - online and functional
*   Screen Resolution - online and functional
*   Sound Properties - online and functional, however hasn't been
tested for ALSA driver compliance
*   Keybindings - online, but currently can't see all the keys, this
is being root caused

Applets Added Since Last Week

*   Keyboard Properties - Taken from gnome control center, Jian Han
is the new owner of this applet and will be adding in soft keyboard
support
*   Menu & Toolbars - online, but currently the settings don't take,
this is being root caused
*   Network Admin - online but not yet functional, this is the GUI
front end for the NetworkManager daemon and hasn't yet been tested on
real hardware. Raji Bommaraju is the new owner of network management on
moblin and is in the process of testing these tools.
*   Date and Time - online but not yet functional, both this and the
Network Admin applet come from the gnome-system-tools package which,
like gnome-control-center, was designed to support applets as separate
processes. The Gnome-system-tools code has taken the extra step of
consolidating all the process instantiation code into a common library,
making it harder to convert to the hildon-contol-panel framework, but
I'm making good progress.

Applets Expected For Next Week

*   Volume Control status bar applet: This is Tariq Shureih's code
which will be added in to a new directory alongside capplets in the
moblin-applets tree: sapplets.
*   Screen Brightness control panel applet: This is also Tariq's
code and will be merged into moblin applets.

 

 

 

 

Todd Brandt  -  Intel Oregon

Linux for Mobile Internet Devices (MID)

 

2111 W NE 25th Ave Hillsboro, OR 97124

MS: JF1-235  Tel: (503) 264-4035

 

 

 

<><>-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Patch for ControlPanel

2007-08-16 Thread Brandt, Todd E
Hi all, this is regarding the bug in the control panel in the moblin
environment.

 



From: Brandt, Todd E 
Sent: Wednesday, August 15, 2007 11:58 PM
To: Han, Jian; Spencer, Bob; Li, Horace; Li, Frank; Xu, Bo B;
'[EMAIL PROTECTED]'
Subject: RE: Patch for ControlPanel

 

Jian, I found an easier way to produce the same results your patch
provided. First, for those on the list unfamiliar with the bug, here's
an intro:

 

When running the hildon-desktop environment either in Xephyr or on a
Samsung device the hildon-control-panel can be accessed by double
clicking the control panel icon. The control panel window will appear
but looks empty because it's not being properly allocated. So even if
you have cp applets installed, they won't appear and are unusable.
Applying this patch fixes the problem. To create a fixed version of
hildon-control-panel perform the following steps in a moblin project
root environment:

 

%> cp /hcp-fix.patch .

%> apt-get source hildon-control-panel

%> cd hildon-control-panel-1.9.5

%> cat ../hcp-fix.patch | patch -p1

%> ./autogen.sh

%> ./configure prefix=/usr

%> make

%> make DESTDIR=/targets//fs install

 

Now you should be able to run the GUI in your target root and the
control panel should now function properly.

 

The issue seems to be in src/hcp-grid.c where the size_request member
function of the control panel's window widget is overwritten from its
default. The default for this member function is GTK's
gtk_icon_view_size_request, but is redirected to the custom function
hcp_grid_size_request. The purpose of this function seems to be to
calculate the height and width needed for the widget and write it to the
requisition variable as output. hcp_grid_size_request seems to try to
optimize how much space is taken but misses the mark, where the default
gtk_icon_view_size_request just gives the caller exactly what they asked
for. So the fix is just to revert back to the GTK's default function,
and voila, the entire control panel window displays normally.

 



From: Han, Jian 
Sent: Monday, August 13, 2007 11:37 PM
To: Spencer, Bob; Brandt, Todd E; Li, Horace; Li, Frank; Xu, Bo B
Subject: Patch for ControlPanel

 

Hi, All



 I have created a patch for control panel. Fix the problem of
conflict between control panel and gtk 2.11.

 This patch follows the thought of Frank which avoid the implement
of one line in gtk_icon_view. 

 For the method I use in the patch is something like a hacker, I am
not sure whether I should push it into moblin.org. 

 I hope someone help me to check the code before I submit the patch.

 

 The attachment contains three objects: patch , the whole project
tar ball and the compiled control panel. 

 I have test the code with Bo's sampleapplet and nokia's hello world
applet. It seems work well. 

 Any problem, Please let me know!

 

Thanks

Han Jian

   



hcp-fix.patch
Description: hcp-fix.patch
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile