Mobile-media

2007-10-08 Thread Matthew Garrett
I chatted to Bob about this briefly on Friday, but thought I'd mail the 
list to make sure that I don't end up doing anything unexpected.

I've been looking into uploading gstreamer-dbus-media-service and 
mobile-player. I've got everything working and building happily, but 
there's a few changes I'd like to make:

1) Rename org.gnome.MobileMediaService to org.moblin.MobileMediaService 
- using Gnome's namespace for an interface that isn't part of Gnome 
doesn't sound like the best plan to me.

2) Adapt mobile-player to use directories in ~ rather than /usr/share 
for user information. Right now it wants to write files to /usr/share, 
which isn't going to work now that we're not running as root. Either it 
needs to be able to deal with the concept of merging multiple data 
sources (one read-only and another read-write) or we can just move 
everything into the user home directory. The downside of the simple 
approach is that it makes it harder to provide example data. I'm not 
much of a Python person, so I'm not so keen on implementing the more 
difficult side of things. If that can get worked out, it would be great.

3) Possibly rename mobile-player to moblin-player or moblin-media? This 
would be more consistent with the naming of the other packages.

Other than that, I don't see any showstoppers. As long as there's 
agreement on these, I'll get it into gutsy this week.
-- 
Matthew Garrett | [EMAIL PROTECTED]

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


Re: xserver configuration

2007-10-08 Thread Matt Zimmerman
On Fri, Oct 05, 2007 at 06:35:38PM -0700, Spencer, Bob wrote:
 In order to view clutter/OpenGL-based home screen's inside Xephyr, we
 need Xephyr compiled to support 3D/glx.  Has someone on this list done
 that or have any pointers?  I pulled the xorg-server code and will be
 trying to do this.  Any tips would be great.

Bryce may know something about this; CCing him.

-- 
 - mdz

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


Re: Theme and button images question

2007-10-08 Thread Kenneth Wimer
On Monday 08 October 2007 17:18:00 Zhu, Peter J wrote:
 Kenneth Wimer wrote:
  On Monday 08 October 2007 07:54:57 Spencer, Bob wrote:
  Ken / Peter,
  Due to my not having spent much time of late on theming, I'm still
  uncertain whether the theme contains all the pieces necessary for our
  first release.  Namely, does the theme include all the pieces in the
  marquee?  What about applicaitons like the media viewer -- do the
  graphics for its toolbars and buttons go in the theme or in a
  separate media-viewer-specfic package?
 
  No, none of these pieces are included in the template.png file but
  they probably should be. Because the theme-tools downloads the
  information from a maemo server it has been impossible to create a
  theme package based on a new layout. As I have menioned in the past,
  we need an installable theme package based on our own info in order
  to ever really test this stuff - it is imperative that we get this
  done in order to test the theme *before* we include it in the release.
 
  Buttons:  I'm confused as to the right way to handle various button
  images and whether they are part of the theme.  I know how to change
  the gtkrc file to register an object to show different images on
  normal, active, preselect, etc.  What about a normal application
  that has buttons with images that are not part of the theme?  For
  example, if the media viewer has a few buttons in the UI and a few
  buttons on the toolbar, which of these go in the theme and for those
  that do not go in the theme, what is the right approach to
  programatically alter the button images and where do these images
  reside?   These may or may not be standard square icons.
 
  These button pics should also be in the template.png file I think.

 Hi Ken

 Since they are application specific, they should NOT be in template.png
 from my point. We never can predict what applications want to have. So
 why not leave them determined by application author?

The buttons themselves are part of the widget theme and should therefor look 
the same as the rest of the widget theme. The icons displayed on top of them 
are part of the icon theme and/or the app can proved them. Maybe there is a 
good reason for doing it differently but this is the way that pretty much 
every OS does it.

--
Ken

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


Re: [Bug 147792] Re: UME: psb.ko module missing from lpia kernels.

2007-10-08 Thread Charles Johnson
So when can we expect this to be in the linux-ubuntu-modules-2.6.22 package
and available for a daily build ?

--Charlie

On 10/7/07, Amit Kucheria [EMAIL PROTECTED] wrote:

 ** Changed in: linux-ubuntu-modules-2.6.22 (Ubuntu)
Status: Fix Committed = Fix Released

 --
 UME: psb.ko module missing from lpia kernels.
 https://bugs.launchpad.net/bugs/147792
 You received this bug notification because you are a direct subscriber
 of the bug.




-- 
Charles Johnson
Intel Corporation, Inc.
[EMAIL PROTECTED]
[EMAIL PROTECTED]
-- 
Ubuntu-mobile mailing list
Ubuntu-mobile@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile


Re: Mobile-media

2007-10-08 Thread Rusty Lynch

On Mon, 2007-10-08 at 07:07 +0100, Matthew Garrett wrote:
 I chatted to Bob about this briefly on Friday, but thought I'd mail the 
 list to make sure that I don't end up doing anything unexpected.
 
 I've been looking into uploading gstreamer-dbus-media-service and 
 mobile-player. I've got everything working and building happily, but 
 there's a few changes I'd like to make:
 
 1) Rename org.gnome.MobileMediaService to org.moblin.MobileMediaService 
 - using Gnome's namespace for an interface that isn't part of Gnome 
 doesn't sound like the best plan to me.

I thought we did this already... yea, this needs to be fixed.

 
 2) Adapt mobile-player to use directories in ~ rather than /usr/share 
 for user information. Right now it wants to write files to /usr/share, 
 which isn't going to work now that we're not running as root. Either it 
 needs to be able to deal with the concept of merging multiple data 
 sources (one read-only and another read-write) or we can just move 
 everything into the user home directory. The downside of the simple 
 approach is that it makes it harder to provide example data. I'm not 
 much of a Python person, so I'm not so keen on implementing the more 
 difficult side of things. If that can get worked out, it would be great.

I meant to write a bug on this but never followed through.  Perhaps the
right approach for providing some minimal sample media would be to
install the files in /usr/share, but then have the player copy over the
sample media when it runs for the first time as a given user (i.e. when
it constructs the media database in ~/.something-or-another.)

 
 3) Possibly rename mobile-player to moblin-player or moblin-media? This 
 would be more consistent with the naming of the other packages.

I like moblin-media. Anyone else?

 
 Other than that, I don't see any showstoppers. As long as there's 
 agreement on these, I'll get it into gutsy this week.
 -- 
 Matthew Garrett | [EMAIL PROTECTED]
 

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


RE: Mobile-media

2007-10-08 Thread Spencer, Bob
Rusty Lynch wrote:
 On Mon, 2007-10-08 at 07:07 +0100, Matthew Garrett wrote:
 I chatted to Bob about this briefly on Friday, but thought I'd mail
 the list to make sure that I don't end up doing anything unexpected.
 
 I've been looking into uploading gstreamer-dbus-media-service and
 mobile-player. I've got everything working and building happily, but
 there's a few changes I'd like to make:
 
 1) Rename org.gnome.MobileMediaService to
 org.moblin.MobileMediaService
 - using Gnome's namespace for an interface that isn't part of Gnome
 doesn't sound like the best plan to me.
 
 I thought we did this already... yea, this needs to be fixed.

Got it.
...and I believe moblin-media doesn't yet have MobileMediaService as an
install dependency.

 
 
 2) Adapt mobile-player to use directories in ~ rather than /usr/share
 for user information. Right now it wants to write files to
 /usr/share, which isn't going to work now that we're not running as
 root. Either 
 it needs to be able to deal with the concept of merging multiple data
 sources (one read-only and another read-write) or we can just move
 everything into the user home directory. The downside of the simple
 approach is that it makes it harder to provide example data. I'm not
 much of a Python person, so I'm not so keen on implementing the more
 difficult side of things. If that can get worked out, it would be
 great. 
 
 I meant to write a bug on this but never followed through.  Perhaps
 the right approach for providing some minimal sample media would be
 to install the files in /usr/share, but then have the player copy
 over the sample media when it runs for the first time as a given user
 (i.e. when it constructs the media database in
 ~/.something-or-another.) 

Sounds like a simple solution.  So to recap:
1) moblin-media package will contain a few samples (recommend: 2
pics, 1 song (short), 1 video)
2) when run, moblin-media will check for ~/media/ folder (any
reason to hide it with .media?)
  2a) if no ~/media folder, then create ~/media/photo,
~/media/video, ~/media/music and copy over sample content

Question:  If we were to create a separate moblin-media-sample-content
package, where would it install its contents?  How would these get into
~/media for the installing user given that installation is always done
as root?  (noob question)

 
 
 3) Possibly rename mobile-player to moblin-player or moblin-media?
 This would be more consistent with the naming of the other packages.
 
 I like moblin-media. Anyone else?
 
moblin-media   Already in the works.

 
 Other than that, I don't see any showstoppers. As long as there's
 agreement on these, I'll get it into gutsy this week. --
 Matthew Garrett | [EMAIL PROTECTED]

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


Re: [Bug 147792] Re: UME: psb.ko module missing from lpia kernels.

2007-10-08 Thread Matt Zimmerman
It is already in the current daily build (I tested the 20071007 q1 ultra
build, though I see it in the manifest for menlow).  The fixes are in
linux-ubuntu-modules-2.6.22 version 2.6.22-13.33.

On Mon, Oct 08, 2007 at 09:19:47AM -0700, Charles Johnson wrote:
 So when can we expect this to be in the linux-ubuntu-modules-2.6.22 package
 and available for a daily build ?
 
 --Charlie
 
 On 10/7/07, Amit Kucheria [EMAIL PROTECTED] wrote:
 
  ** Changed in: linux-ubuntu-modules-2.6.22 (Ubuntu)
 Status: Fix Committed = Fix Released
 
  --
  UME: psb.ko module missing from lpia kernels.
  https://bugs.launchpad.net/bugs/147792
  You received this bug notification because you are a direct subscriber
  of the bug.
 
 
 
 
 -- 
 Charles Johnson
 Intel Corporation, Inc.
 [EMAIL PROTECTED]
 [EMAIL PROTECTED]

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


-- 
 - mdz

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


Re: Mobile-media

2007-10-08 Thread Matt Zimmerman
On Mon, Oct 08, 2007 at 10:33:08AM -0700, Spencer, Bob wrote:
 Rusty Lynch wrote:
  I meant to write a bug on this but never followed through.  Perhaps
  the right approach for providing some minimal sample media would be
  to install the files in /usr/share, but then have the player copy
  over the sample media when it runs for the first time as a given user
  (i.e. when it constructs the media database in
  ~/.something-or-another.) 
 
 Sounds like a simple solution.  So to recap:
   1) moblin-media package will contain a few samples (recommend: 2
 pics, 1 song (short), 1 video)
   2) when run, moblin-media will check for ~/media/ folder (any
 reason to hide it with .media?)
 2a) if no ~/media folder, then create ~/media/photo,
 ~/media/video, ~/media/music and copy over sample content
 
 Question:  If we were to create a separate moblin-media-sample-content
 package, where would it install its contents?  How would these get into
 ~/media for the installing user given that installation is always done
 as root?  (noob question)

I think it would be wise to keep this in a separate package, even if they're
small, so that it's possible to strip them out.  example-content provides an
example of how we do this for the desktop.  They should be stored in
/usr/share/whatever, and publishing in the user's home directory could be
done by way of a symlink, as we do in the live CD.

-- 
 - mdz

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


RE: Mobile-media

2007-10-08 Thread Rusty Lynch

On Mon, 2007-10-08 at 10:33 -0700, Spencer, Bob wrote:
snip
  2) Adapt mobile-player to use directories in ~ rather than /usr/share
  for user information. Right now it wants to write files to
  /usr/share, which isn't going to work now that we're not running as
  root. Either 
  it needs to be able to deal with the concept of merging multiple data
  sources (one read-only and another read-write) or we can just move
  everything into the user home directory. The downside of the simple
  approach is that it makes it harder to provide example data. I'm not
  much of a Python person, so I'm not so keen on implementing the more
  difficult side of things. If that can get worked out, it would be
  great. 
  
  I meant to write a bug on this but never followed through.  Perhaps
  the right approach for providing some minimal sample media would be
  to install the files in /usr/share, but then have the player copy
  over the sample media when it runs for the first time as a given user
  (i.e. when it constructs the media database in
  ~/.something-or-another.) 
 
 Sounds like a simple solution.  So to recap:
   1) moblin-media package will contain a few samples (recommend: 2
 pics, 1 song (short), 1 video)
   2) when run, moblin-media will check for ~/media/ folder (any
 reason to hide it with .media?)

Not really.  Just as long as the media database (i.e. both media files
and metadata) is in the user's home directory.

 2a) if no ~/media folder, then create ~/media/photo,
 ~/media/video, ~/media/music and copy over sample content

Eventually we will need more then just a directory of files, but a
database of additional information (metadata) that we associate with the
files (like play list, ratings, etc.)

This copying task will also initialize the media database.

 
 Question:  If we were to create a separate moblin-media-sample-content
 package, where would it install its contents?  

I would think that /usr/share/moblin-media/sample-content/ would be a
good location to install the content.

 How would these get into
 ~/media for the installing user given that installation is always done
 as root?  (noob question)

The application (running as the given user) would copy over the content
into it's own media database.  This would only happen the first time the
user ran the media application.

But... didn't you cover this on 2a?  Maybe I didn't get the question?

--rusty

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


RE: [Bug 147792] Re: UME: psb.ko module missing from lpia kernels.

2007-10-08 Thread Rusty Lynch

On Mon, 2007-10-08 at 13:56 -0700, Johnson, Charles F wrote:
 It is there now, but you have to jump through some hoops to get the UI
 up.
 
 Specifically:
 
 1. Boot single user and copy /etc/X11/xorg-crownbeach.conf over
 /etc/X11/xorg.conf

This is odd.  Are we not installing a session startup script from
ume-config-crownbeach?

Could you write a bug on this?


 2. To avoid loading the wrong drm.ko, go to
 /lib/modules/2.6.22-13-lpia/kernel/drivers/char/drm
and remove drm.ko and i915.ko
 
You want it to pick drm.ko and psb.ko out of
 /lib/modules/2.6.22-13-lpia/ubuntu/media/drm-poulsbo

Has anyone root caused why this is happening?  

--rusty

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


Issues as converting a old project to lpia compatible.

2007-10-08 Thread Zhu, Peter J
Hi,

I update with latest MIC and have a project existing for a long while. I
modified some project configure info so that new MIC can launch with the
old project. Then I modified source.list in /etc/apt and tried do a
apt-get update but failed with following info:

Failed to fetch
http://ports.ubuntu.com/ubuntu-ports/dists/gutsy/main/binary-i386/Packag
es.gz 404 Not Found. 

It still tried to find i386 arch. I must have miss somthing. Anyone can
help? Thanks

Best Regards
Peter 

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