~ubuntu-branches/ubuntu/precise/gdk-pixbuf/precise-proposed

« back to all changes in this revision

Viewing changes to debian/keep-png-only.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Michael Biebl, Steve Langasek, Michael Biebl
  • Date: 2011-07-16 01:25:32 UTC
  • mfrom: (4.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20110716012532-3kfeszwy4vpbiaz1
Tags: 2.23.5-2
[ Steve Langasek ]
* Multiarch support. (Closes: #632354)

[ Michael Biebl ]
* debian/libgdk-pixbuf2.0-dev.install:
  - Don't ship libtool .la file as this breaks multiarch.
* debian/control.in:
  - Change Build-Depends on libjpeg62-dev to libjpeg-dev in preparation of
    the libjpeg8 transition. (Closes: #633940)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<xsl:stylesheet version="1.0"
 
3
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
 
4
  xmlns:smi="http://www.freedesktop.org/standards/shared-mime-info">
 
5
 
 
6
<!--
 
7
Since a namespace is declared in the XML document, this stylesheet
 
8
needs to declare it as well to be able to match the various elements,
 
9
that's why there's xmlns:smi above, and smi:mime-* below.
 
10
-->
 
11
 
 
12
<!-- Identity template. -->
 
13
<xsl:template match="@*|node()">
 
14
 <xsl:copy>
 
15
  <xsl:apply-templates select="@*|node()"/>
 
16
 </xsl:copy>
 
17
</xsl:template>
 
18
 
 
19
<!-- Remove unneeded elements. -->
 
20
<xsl:template match='smi:mime-type[@type!="image/png"]' />
 
21
 
 
22
<!-- Avoid plenty of empty lines. -->
 
23
<xsl:strip-space elements="smi:mime-info" />
 
24
 
 
25
</xsl:stylesheet>