After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 592528 - version the desktop backgrounds xml file format
version the desktop backgrounds xml file format
Status: RESOLVED OBSOLETE
Product: gnome-desktop
Classification: Core
Component: Background
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Desktop Maintainers
Desktop Maintainers
Depends on:
Blocks: 592848
 
 
Reported: 2009-08-20 23:00 UTC by William Jon McCann
Modified: 2018-09-21 16:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
SMIL slideshow (1.66 KB, application/xml)
2009-09-17 23:35 UTC, William Jon McCann
Details

Description William Jon McCann 2009-08-20 23:00:17 UTC
We should probably version the backgrounds slideshow format somehow.  It would be nice to be able to include background themes in our meta-theme packages and we really need to be versioned for that to work.  Metacity theme versioning is an example here.
Comment 1 William Jon McCann 2009-09-17 04:15:11 UTC
And if we are going to do this it probably makes sense to try to make the format sane.

I took a look at a number of existing playlist/slideshow/presentation formats.

Some include:
 * http://en.wikipedia.org/wiki/Synchronized_Multimedia_Integration_Language
 * http://en.wikipedia.org/wiki/XML_Shareable_Playlist_Format
 * http://en.wikipedia.org/wiki/Cue_sheet_%28computing%29
 * http://en.wikipedia.org/wiki/Universal_Subtitle_Format
 * http://blog.forret.com/2005/06/rss-with-images-picture-podcasting/

None really have the ability to read from dynamic lists.  However, this does:
 * http://en.wikipedia.org/wiki/XProc
   See http://www.proxml.be/users/paul/weblog/1722f/Directory_listings_in_XProc.html

I think the basic parts of SMIL are quite nice.  I think we could write a slideshow that handles the existing capabilities like this:


<?xml version="1.0"?>
<smil>
  <head>
    <meta name="Publisher" content="W3C" />
    <meta name="Date" content="2007-01-03" />
    <meta name="Rights" content="Copyright 2007 John Smith" />
    <meta name="Title" content="Nature" />
    <meta name="Description" content="Natural scenes and landscapes" />
    <layout>
      <root-layout backgroundColor="black" backgroundOpacity="100%" />
      <region id="scaled-letterbox" fit="meet" regPoint="center" regAlign="center" />
      <region id="centered" fit="meetBest" />
      <region id="zoomed" fit="slice" />
      <region id="filled" fit="fill" />
    </layout>
  </head>
  <body>
    <transition id="xfade" type="fade" subtype="crossfade" dur="10s" />
    <seq>
      <switch>
        <img region="letterbox" systemScreenSize="1024X1280" begin="wallclock(00:00)" src="img1a.jpg" dur="30min" fill="transition" />
        <img region="letterbox" systemScreenSize="2560X1600" begin="wallclock(00:00)" src="img1b.jpg" dur="30min" fill="transition" />
      </switch>
      <switch>
        <img systemScreenSize="1024X1280" src="img2a.jpg" dur="30min" transIn="xfade" transOut="xfade" />
        <img systemScreenSize="2560X1600" src="img2b.jpg" dur="30min" transIn="xfade" transOut="xfade" />
      </switch>
    </seq>
  </body>
</smil>

And we could extend the format by stealing some ideas from XProc to add a dynamic content sequence with something like this:
    <bg:dyn-seq order="shuffle" begin="wallclock(00:00)" transIn="xfade" transOut="xfade">
      <switch>
        <bg:directory-list systemScreenSize="1024X1280" dur="30min">
          <bg:with-option name="path" value="1024X1280" />
          <bg:with-option name="include-filter" value=".*" />
          <bg:with-option name="exclude-filter" value="img4.jpg" />
        </bg:directory-list>
        <bg:directory-list systemScreenSize="2560x1600" dur="30min">
          <bg:with-option name="path" value="2560x1600" />
          <bg:with-option name="include-filter" value=".*" />
          <bg:with-option name="exclude-filter" value="img4.jpg" />
        </bg:directory-list>
      </switch>
      <bg:feed src="http://api.flickr.com/services/feeds/photos_public.gne" type="application/atom+xml" dur="30min" transIn="xfade" transOut="xfade" />
    </bg:dyn-seq>
Comment 2 William Jon McCann 2009-09-17 23:35:01 UTC
Created attachment 143412 [details]
SMIL slideshow

Here is an example of a SMIL slideshow that actually works.
Comment 3 GNOME Infrastructure Team 2018-09-21 16:28:47 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-desktop/issues/27.