~ubuntu-branches/ubuntu/lucid/jhbuild/lucid

« back to all changes in this revision

Viewing changes to scripts/upgrade-module-set.xsl

  • Committer: Bazaar Package Importer
  • Author(s): Emilio Pozuelo Monfort, Loic Minier, Emilio Pozuelo Monfort
  • Date: 2009-11-09 20:28:48 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20091109202848-m9ec7dmzptqtchtj
Tags: 2.28.0-1
[ Loic Minier ]
* Cleanups.
* Ship scripts.
* Don't set GNOME_MODULE as it equals the name of the source package.

[ Emilio Pozuelo Monfort ]
* New upstream release. Closes: #524504.
  - Use 'git rev-parse' rather than 'git-rev-parse'. Closes: #544642.
* Ship install-check. Closes: #441008.
* Uploaders list regenerated. Closes: #523542, #554071.
* debian/control.in,
  debian/rules:
  - Stop shipping a copy of subprocess.py. Require python >= 2.4.
  - Switch to python-support.
* debian/control.in:
  - Bump Standards-Version to 3.8.3, no changes needed.
  - Build depend on intltool >= 0.35.0.
  - Build depend on pkg-config, gnome-doc-utils and rarian-compat to build
    the documentation.
  - Make jhbuild arch any since install-check is a binary. Depend on
    ${shlibs:Depends}.
  - Recommend, and not suggest, git-core. Also recommend mercurial.
* debian/watch:
  - Added.
* debian/patches/01_import_from_pkgdatadir.patch:
  - Added, import jhbuild from pkgdatadir if everything else fails.
    This way we can ship the jhbuild private modules in /usr/sharejhbuild.
* debian/jhbuild.docs:
  - Removed, the necessary docs are now installed by the upstream Makefile.
* debian/rules:
  - Include autotools.mk and gnome.mk.
  - Remove all the manual build process, autotools.mk does everything now.
  - Install the jhbuild modules in /usr/share/jhbuild.
* debian/install:
  - Install the modulesets and patches from here since the upstream build
    system doesn't install them.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<?xml version="1.0"?><!--*- mode: nxml -*-->
2
 
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
3
 
 
4
 
  <xsl:template match="cvsroot">
5
 
    <repository type="cvs" name="{@name}" cvsroot="{@root}">
6
 
      <xsl:if test="@password"><xsl:copy-of select="@password" /></xsl:if>
7
 
      <xsl:if test="@default"><xsl:copy-of select="@default" /></xsl:if>
8
 
    </repository>
9
 
  </xsl:template>
10
 
 
11
 
  <xsl:template match="svnroot">
12
 
    <repository type="svn" name="{@name}" href="{@href}">
13
 
      <xsl:if test="@default"><xsl:copy-of select="@default" /></xsl:if>
14
 
    </repository>
15
 
  </xsl:template>
16
 
 
17
 
  <xsl:template match="arch-archive">
18
 
    <repository type="arch" name="{@name}" href="{@href}">
19
 
      <xsl:if test="@default"><xsl:copy-of select="@default" /></xsl:if>
20
 
    </repository>
21
 
  </xsl:template>
22
 
 
23
 
  <xsl:template match="cvsmodule">
24
 
    <autotools>
25
 
      <xsl:attribute name="id">
26
 
        <xsl:choose>
27
 
          <xsl:when test="@id">
28
 
            <xsl:value-of select="@id"/>
29
 
          </xsl:when>
30
 
          <xsl:when test="@checkoutdir">
31
 
            <xsl:value-of select="@id"/>
32
 
          </xsl:when>
33
 
          <xsl:otherwise>
34
 
            <xsl:value-of select="@module"/>
35
 
          </xsl:otherwise>
36
 
        </xsl:choose>
37
 
      </xsl:attribute>
38
 
      <xsl:if test="@autogenargs">
39
 
        <xsl:copy-of select="@autogenargs" />
40
 
      </xsl:if>
41
 
      <xsl:if test="@makeargs">
42
 
        <xsl:copy-of select="@makeargs" />
43
 
      </xsl:if>
44
 
      <xsl:if test="@supports-non-srcdir-builds">
45
 
        <xsl:copy-of select="@supports-non-srcdir-builds" />
46
 
      </xsl:if>
47
 
      <xsl:text>&#x0a;    </xsl:text>
48
 
      <branch>
49
 
        <xsl:if test="@cvsroot">
50
 
          <xsl:attribute name="repo">
51
 
            <xsl:value-of select="@cvsroot"/>
52
 
          </xsl:attribute>
53
 
        </xsl:if>
54
 
        <xsl:if test="@root">
55
 
          <xsl:attribute name="repo">
56
 
            <xsl:value-of select="@root"/>
57
 
          </xsl:attribute>
58
 
        </xsl:if>
59
 
        <xsl:if test="@module"><xsl:copy-of select="@module" /></xsl:if>
60
 
        <xsl:if test="@revision"><xsl:copy-of select="@revision" /></xsl:if>
61
 
        <xsl:if test="@checkoutdir"><xsl:copy-of select="@checkoutdir" /></xsl:if>
62
 
      </branch>
63
 
      <xsl:apply-templates select="node()"/>
64
 
    </autotools>
65
 
  </xsl:template>
66
 
 
67
 
  <xsl:template match="svnmodule">
68
 
    <autotools id="{@id}">
69
 
      <xsl:if test="@autogenargs">
70
 
        <xsl:copy-of select="@autogenargs" />
71
 
      </xsl:if>
72
 
      <xsl:if test="@makeargs">
73
 
        <xsl:copy-of select="@makeargs" />
74
 
      </xsl:if>
75
 
      <xsl:if test="@supports-non-srcdir-builds">
76
 
        <xsl:copy-of select="@supports-non-srcdir-builds" />
77
 
      </xsl:if>
78
 
      <xsl:text>&#x0a;    </xsl:text>
79
 
      <branch>
80
 
        <xsl:if test="@root">
81
 
          <xsl:attribute name="repo">
82
 
            <xsl:value-of select="@root"/>
83
 
          </xsl:attribute>
84
 
        </xsl:if>
85
 
        <xsl:if test="@module"><xsl:copy-of select="@module" /></xsl:if>
86
 
        <xsl:if test="@checkoutdir"><xsl:copy-of select="@checkoutdir" /></xsl:if>
87
 
      </branch>
88
 
      <xsl:apply-templates select="node()"/>
89
 
    </autotools>
90
 
  </xsl:template>
91
 
 
92
 
  <xsl:template match="archmodule">
93
 
    <autotools id="{@id}">
94
 
      <xsl:if test="@autogenargs">
95
 
        <xsl:copy-of select="@autogenargs" />
96
 
      </xsl:if>
97
 
      <xsl:if test="@makeargs">
98
 
        <xsl:copy-of select="@makeargs" />
99
 
      </xsl:if>
100
 
      <xsl:if test="@supports-non-srcdir-builds">
101
 
        <xsl:copy-of select="@supports-non-srcdir-builds" />
102
 
      </xsl:if>
103
 
      <xsl:text>&#x0a;    </xsl:text>
104
 
      <branch>
105
 
        <xsl:if test="@root">
106
 
          <xsl:attribute name="repo">
107
 
            <xsl:value-of select="@root"/>
108
 
          </xsl:attribute>
109
 
        </xsl:if>
110
 
        <xsl:if test="@version">
111
 
          <xsl:attribute name="module">
112
 
            <xsl:value-of select="@version"/>
113
 
          </xsl:attribute>
114
 
        </xsl:if>
115
 
        <xsl:if test="@checkoutdir"><xsl:copy-of select="@checkoutdir" /></xsl:if>
116
 
      </branch>
117
 
      <xsl:apply-templates select="node()"/>
118
 
    </autotools>
119
 
  </xsl:template>
120
 
 
121
 
  <xsl:template match="suggests">
122
 
    <after>
123
 
      <xsl:apply-templates select="node()"/>
124
 
    </after>
125
 
  </xsl:template>
126
 
 
127
 
  <xsl:template match="node()" priority="-1">
128
 
    <xsl:copy>
129
 
      <xsl:copy-of select="@*" />
130
 
      <xsl:apply-templates select="node()"/>
131
 
    </xsl:copy>
132
 
  </xsl:template>
133
 
 
134
 
</xsl:stylesheet>