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 [email protected] Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-mobile
