Updated Slovenian translation
[banshee.git] / extras / create-release-notes
blobbfe0816dd2e308645fae70db05b9a92e58eb1d57
1 #!/usr/bin/env perl
3 open (IN, '../NEWS');
4 $news = '';
5 while (my $line = readline(IN)) {
6 $news .= $line;
8 close (IN);
10 # Parse various bits out of NEWS
11 $news =~ m/Banshee ([\S]+) - ([^\n]+)$/ms;
12 $version = $1;
13 $release_date = $2;
15 $version =~ m/(\d+\.\d+)\./;
16 $series = $1;
18 $news =~ m/[=]+\n\n(.+)New Features[^:]*:(.+)Enhancements/ms;
19 $desc = $1;
21 $features = $2;
22 $features =~ s!\*([^\n]+)\n([^\*]+)!<h4>$1</h4>\n<p>$2</p>\n!g;
24 $news =~ m/Enhancements:(.+)Notable Bugs/ms;
25 $enhancements = $1;
26 $enhancements =~ s/ \*/ <li>/g;
28 $news =~ m/Notable Bugs Fixed \(([^\)]+)\):\n([^=]+)\n\n/ms;
29 $bugs_since = $1;
30 $bugs = $2;
31 $bugs =~ s! bgo#(\d+): ([^\n]+)\n! <a href="http://bugzilla.gnome.org/show_bug.cgi?id=$1">bgo#$1</a>: $2\n!g;
32 $bugs =~ s/ \*/ <li>/g;
34 $news =~ m/there would be no release!(.+)The following people.+much more limited.(.+)/ms;
35 $contributors = $1;
36 $translators = $2;
38 $html = <<END;
39 <ul>
40 <li><strong>Release Date:</strong> $release_date</li>
41 <li><strong>Source Tarball:</strong> <a href="http://ftp.gnome.org/pub/GNOME/sources/banshee/$series/banshee-$version.tar.xz">banshee-$version.tar.xz</a></li>
42 <li><strong>Release Information:</strong>
43 <a href="http://ftp.gnome.org/pub/GNOME/sources/banshee/$series/banshee-$version.news">NEWS</a>,
44 <a href="http://ftp.gnome.org/pub/GNOME/sources/banshee/$series/banshee-$version.sha256sum">sha256sum</a></li>
45 </ul>
46 <p style="margin-left: 1.5em"><a href="/download"><img title="Download the latest Banshee!" src="/theme/css/images/download-button.png" alt="Download Now" /></a></p>
48 <p>
49 $desc
50 </p>
52 $features
53 <h3>Other Enhancements</h3>
54 <ul>
55 $enhancements
56 </ul>
58 <h3>Notable Bug Fixes ($bugs_since!)</h3>
59 <ul>
60 $bugs
61 </ul>
62 <br>
63 <h4>Banshee has a lot more to offer! Check out the previous major release notes...</h4>
64 <ul>
65 <li><a href="/download/archives/2.2.0">Read about features added in Banshee 2.2.0</a></li>
66 <li><a href="/download/archives/2.0.0">Read about features added in Banshee 2.0.0</a></li>
67 <li><a href="/download/archives/1.8.0">Read about features added in Banshee 1.8.0</a></li>
68 <li><a href="/download/archives/1.6.0">Read about features added in Banshee 1.6.0</a></li>
69 <li><a href="/download/archives/1.4.0">Read about features added in Banshee 1.4.0</a></li>
70 </ul>
71 <h3>Dependencies</h3>
72 <ul>
73 <li>Mono 2.4.3 (.NET 2.0 Profile / gmcs)</li>
74 <li>SQlite 3.4</li>
75 <li>Gtk# 2.12.10</li>
76 <li>GStreamer 0.10.26</li>
77 <li>GLib 2.22</li>
78 <li>dbus-sharp 0.7</li>
79 <li>dbus-sharp-glib 0.5</li>
80 <li>Mono.Addins (mono-addins) 0.6.2</li>
81 <li>TagLib# (taglib-sharp) &gt;= 2.0.3.7</li>
82 <li>Required to build default feature stack:
83 <ul>
84 <li>libmtp &gt;= 0.3.0</li>
85 <li>mono-zeroconf &gt;= 0.8.0</li>
86 <li>boo &gt;= 0.8.1</li>
87 <li>webkit-1.0 &gt;= 1.2.2</li>
88 <li>gdata-sharp-youtube &gt;= 1.4</li>
89 <li>gio-sharp &gt;= 2.22.3, gtk-sharp-beans &gt;= 2.14.1, gudev-sharp and gkeyfile-sharp</li>
90 <li>libgpod-sharp &gt;= 0.7.95</li>
91 <li>Mono.Upnp &gt;= 0.1</li>
92 </ul>
93 </li>
94 <li>Run-time requirements for default feature stack:
95 <ul>
96 <li>udev</li>
97 <li>media-player-info</li>
98 <li>Brasero &gt;= 0.8.1</li>
99 <li>Avahi</li>
100 <li>gst-plugins-bad (providing the bpmdetect GStreamer plugin)</li>
101 </ul>
102 </li>
103 </ul>
104 <h3>Community</h3>
105 <a name="contributors"></a>
106 <h4>Contributors For This Release</h4>
107 The following people directly contributed to the release of this version of Banshee. Without their help, there would be no release!
108 <blockquote>
109 $contributors
110 </blockquote>
111 The following people contributed updated translations to this release. Without them, our project's reach would be much more limited.
112 <blockquote>
113 $translators
114 </blockquote>
115 <h4>Contributors In Past Releases</h4>
116 <blockquote>
118 </blockquote>
120 <h4>Reporting Bugs, Joining the Community</h4>
121 If you encounter any bad behavior with this release, please do not hesitate to <a href="/contribute/file-bugs/">file bugs</a>!
123 We welcome new contributors - developers, translators, artists, writers, support gurus - to join our community. <a href="/contribute">Join us!</a>
126 print $html;