aboutsummaryrefslogtreecommitdiff
path: root/www/index.html.in
blob: 80804ba7e36647e635cb3c04676c1b0987513066 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
<!DOCTYPE html>
<html>

<head>
<meta charset="utf-8">
<style>
body {
  text-align: center;
  font: 100% sans-serif;
  color: #000;
  background-color: white;
}

h1 {
  color: #333;
  font: 90%;
  font-weight: 900;
  font-style: bold;
  text-align: center;
}

#Content {
  width: 80%;
  margin: 0px auto;
  text-align: left;
  padding: 15px;
  border: 1px dashed #333;
  background-color: #ddd;
}

hr {
  width: 80%;
  border: 0;
  height: 1px;
  color:  #333;
  background-color:  #333;
}

pre {
  background-color:  #eee;
}
</style>
</head>

<body>

  <div id="Content">
    
    <h1>Backported Debian packages for Praat (APT repository)</h1>

    <hr>

    <p><a href="http://praat.org">Praat</a>, the famous GUI program for
    doing speech analysis and synthesis
    <a href="https://packages.debian.org/source/sid/praat">is part</a> of
    Debian. This website provides an APT repository with the
    Debian packages for Praat that works in the stable (a.k.a “@DISTRIB@”)
    distribution, for recent upstream versions and for the amd64 and i386
    architectures.</p>

    <p>Available versions (only shown below in Javascript-enabled browsers):</p>

    <table>
        <tr>
            <td>amd64:</td><td><span id="amd64">???</span></td>
        </tr>
        <tr>
            <td>i386:</td><td><span id="i386">???</span></td>
        </tr>
    </table>

    <script>
        function get_version(arch) {
            return fetch(
                'dists/trixie/main/binary-' + arch + '/Packages',
                {cache: "reload"}
            ).then(response => {
                return response.text();
            })
            .then(content => {
                const lines = content.split('\n');
                for (const line of lines) {
                    const fields = line.split(':');
                    if (fields[0] == 'Version') {
                        document.getElementById(arch).textContent =fields[1];
                    }
                }
            });
        }

        get_version('amd64');
        get_version('i386');

    </script>

    <p>For installing the package, run the following command:</p>

<pre>
  echo "deb http://@WWWHOST@/ @DISTRIB@ main" | sudo tee /etc/apt/sources.list.d/praat.list
</pre>

    <p>This repository is signed. You should add the public GPG key to your
      APT configuration, as follows:</p>

<pre>
  wget -O - http://@WWWHOST@/@GPGKEY@ | sudo tee /etc/apt/trusted.gpg.d/praat-cefala.asc
</pre>

    <p>Once this is done, run the following commands:</p>

<pre>
  sudo apt update
  sudo apt install praat/@DISTRIB@ praat-doc/@DISTRIB@
</pre>

    <hr>

    <p>Problems? Suggestions? Contact rafael AT debian DOT org.</p>
    <p>Last updated on @TODAY@</p>

</body>
</html>