From: Thomas V. S. <tho...@us...> - 2003-12-18 20:38:42
|
CVS Root: /cvsroot/gstreamer Module: www Changes by: thomasvs Date: Thu Dec 18 2003 12:38:36 PST Log message: adding a real task Modified files: tasks : Makefile tasks.xsl Added files: tasks : gnome.xml Links: http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/www/tasks/Makefile.diff?r1=1.1&r2=1.2 http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/www/tasks/gnome.xml?rev=1.1&content-type=text/vnd.viewcvs-markup http://cvs.sf.net/cgi-bin/viewcvs.cgi/gstreamer/www/tasks/tasks.xsl.diff?r1=1.1&r2=1.2 ====Begin Diffs==== Index: Makefile =================================================================== RCS file: /cvsroot/gstreamer/www/tasks/Makefile,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- Makefile 18 Dec 2003 19:04:56 -0000 1.1 +++ Makefile 18 Dec 2003 20:38:24 -0000 1.2 @@ -1,9 +1,9 @@ -all: tasks.php +all: tasks.php gnome.php -%.php: %.xsl %.xml - echo "<?php include ('../lib/template.php');" > $@ - echo " echo get_header ('GStreamer Tasks', '..'); ?>" >> $@ - xsltproc $^ >> $@ - echo "<?php echo get_footer (); ?>" >> $@ +%.php: tasks.xsl %.xml + @echo "<?php include ('../lib/template.php');" > $@ + @echo " echo get_header ('GStreamer Tasks', '..'); ?>" >> $@ + @xsltproc $^ >> $@ + @echo "<?php echo get_footer (); ?>" >> $@ --- NEW FILE: gnome.xml --- <?xml-stylesheet href="tasks.xsl" type="text/xsl"?> <tasks> <task> <title>Port volume-applet to use GStreamer mixer interface</title> <description> GStreamer exports a new mixer interface for hardware mixers for output. GNOME's mixer already uses this new interface and API. The mixer applet should be ported to it. </description> <why> This makes volume-applet work for any hardware output type in GStreamer that supports this interface. This means that at this point it will add instant ALSA support, and that it's easy to add support for Solaris, MAS, ... by updating the respective GStreamer plug-in to support the interface. </why> <how> GStreamer has a mixer interface which is implemented by output plug-ins (like OSS, ALSA, ...) The API is listed in mixer.h GNOME's volume control already uses this, and is a reference implementation that can be used as a base. All important functions (getting a mixer element from GStreamer, functions, UI) are used in this application. volume-applet is the application to port to this API. </how> <where> <B>GStreamer mixer API :</B> GNOME CVS, gst-plugins/gst-libs/gst/mixer <BR/> <B>GNOME mixer :</B> GNOME CVS, gnome-media/gst-mixer <BR/> <B>volume-applet :</B> GNOME CVS, gnome-applets/mixer </where> <notes> The mixer API in GStreamer has been fixated for GNOME 2.6 and GStreamer 0.8 </notes> <see> <person>BBB</person> </see> </task> </tasks> Index: tasks.xsl =================================================================== RCS file: /cvsroot/gstreamer/www/tasks/tasks.xsl,v retrieving revision 1.1 retrieving revision 1.2 diff -u -d -r1.1 -r1.2 --- tasks.xsl 18 Dec 2003 19:04:56 -0000 1.1 +++ tasks.xsl 18 Dec 2003 20:38:24 -0000 1.2 @@ -5,38 +5,30 @@ <xsl:output method="html"/> <xsl:template match="tasks"> - - <style> - .task-heading { - background: lightblue; - margin: 2px; - min-width: 100%; - padding: 3px; - } - - .task-footer { - font-size: small; - } - - .task { - padding-bottom: 12pt; - } - </style> - - <xsl:apply-templates/> + + <xsl:apply-templates/> </xsl:template> <xsl:template match="task"> <div class="task"> - <div class="task-heading"><b>Task: </b> <xsl:value-of select="title/text()"/></div> + <div class="task-header"> +<H3><xsl:value-of select="title/text()"/></H3> + </div> <div class="task-body"> + <div class="task-word">What</div> <xsl:copy-of select="description/node()"/> + <div class="task-word">Why</div> + <xsl:copy-of select="why/node()"/> + <div class="task-word">How</div> + <xsl:copy-of select="how/node()"/> + <div class="task-word">Where</div> + <xsl:copy-of select="where/node()"/> </div> <div class="task-footer"> <xsl:if test="count(see/*) > 0"> - See: + People to bother: <xsl:for-each select="see/*"> <xsl:value-of select="."/> <xsl:if test="position() != last()">, </xsl:if> |