summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-01-21 10:39:59 (GMT)
committerRichard Hughes <richard@hughsie.com>2015-01-21 10:39:59 (GMT)
commit4849f3000d4c4e95129fa76aaa3b13488aff133a (patch)
tree2938ec66fadf27a75d3b2607dd4444941e418d7d
parent2d7a78cfa6a40ec8d73be218de35cdd5cdaf68f4 (diff)
downloadgnome-multi-writer-4849f3000d4c4e95129fa76aaa3b13488aff133a.zip
gnome-multi-writer-4849f3000d4c4e95129fa76aaa3b13488aff133a.tar.xz
Generate the NEWS file automatically
-rw-r--r--Makefile.am13
-rw-r--r--NEWS68
-rw-r--r--configure.ac1
-rw-r--r--data/appdata/org.gnome.MultiWriter.appdata.xml.in60
4 files changed, 73 insertions, 69 deletions
diff --git a/Makefile.am b/Makefile.am
index 5ddd62a..b719f3d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -33,12 +33,14 @@ MAINTAINERCLEANFILES = \
$(srcdir)/mkinstalldirs \
$(srcdir)/omf.make \
$(srcdir)/ChangeLog \
+ $(srcdir)/NEWS \
$(srcdir)/gnome-multi-writer-*.tar.* \
`find "$(srcdir)" -type f -name Makefile.in -print`
distclean-local:
if test $(srdcir) = .; then :; else \
rm -f ChangeLog; \
+ rm -f NEWS; \
fi
ChangeLog:
@@ -55,6 +57,15 @@ ChangeLog:
echo A git checkout and git-log is required to generate this file >> $@); \
fi
-.PHONY: ChangeLog
+NEWS: data/appdata/org.gnome.MultiWriter.appdata.xml
+ $(AM_V_GEN) \
+ if test -e $(APPSTREAM_UTIL); then \
+ echo $^; \
+ $(APPSTREAM_UTIL) appdata-to-news $^ > $@; \
+ else \
+ touch $@; \
+ fi
+
+.PHONY: ChangeLog NEWS
-include $(top_srcdir)/git.mk
diff --git a/NEWS b/NEWS
deleted file mode 100644
index ffbb029..0000000
--- a/NEWS
+++ /dev/null
@@ -1,68 +0,0 @@
-Version 3.15.4
-~~~~~~~~~~~~~~
-Released: 2015-01-19
-
-* Translations:
- - Added Serbian translation (Мирослав Николић)
- - Added Ukranian translation (Daniel Korostil)
- - Updated Brazilian Portuguese translation (Enrico Nicoletto)
- - Updated Brazilian Portuguese translation (Rafael Ferreira)
- - Updated Czech translation (Marek Černocký)
- - Updated Hungarian translation (Balázs Úr)
- - Updated Polish translation (Piotr Drąg)
- - Updated Slovak translation (Dušan Kazik)
-
-* New Features:
- - Show the size next to the device name when the device is idle (Richard Hughes)
-
-* Bugfix:
- - Add a translatable version of a generic flash drive (Richard Hughes)
- - Add quirks for the 36 port MegaHub (Richard Hughes)
- - Don't proceed to the copy phase if unmounting failed (Richard Hughes)
- - Fix crash when libusb context creation fails (Richard Hughes)
- - Never use the USB platform ID for the hub label (Richard Hughes)
- - Support root hubs with bus numbers >= 8 (Richard Hughes)
- - Try to get the icon name hint from UDisks (Richard Hughes)
- - Unmount all partitions when a device is inserted (Richard Hughes)
-
-Version 3.15.2
-~~~~~~~~~~~~~~
-Released: 2015-01-09
-
-Notes:
- - Reads and writes are spread over root hubs to increase throughput.
- - If you've got a hub with more than 7 ports and the port numbers don't match
- the decals on the device please contact me for more instructions.
-
-New Features:
- - Completely wipe devices by default (Richard Hughes)
- - Make the verification and wipe optional (Richard Hughes)
- - Show a warning dialog before copying for the first time (Richard Hughes)
- - Show some global read/write stats in the title bar (Richard Hughes)
- - Use GUsb to renumber composite hubs (Richard Hughes)
-
-Bugfixes:
- - Do not attempt to unmount filesystems that are not mounted (Richard Hughes)
- - Queue the device writes according to the connected root hub (Richard Hughes)
- - Show ten devices per column to better use the space (Richard Hughes)
- - Unmount filesystems before starting to copy (Richard Hughes)
-
-Version 3.15.1
-~~~~~~~~~~~~~~
-Released: 2015-01-05
-
-Notes:
- - Initial tarball release
-
-New Features:
- - 16 translations, see https://www.transifex.com/projects/p/gnome-multi-writer/
- - Copy an ISO image to an unlimited number of devices (Richard Hughes)
- - Inhibit suspend when copying data (Richard Hughes)
- - Play a sound when all the images have been written (Richard Hughes)
- - Show an image when there are no suitable drives plugged in (Richard Hughes)
-
-Bugfixes:
- - Show the USB connection address in the UI (Richard Hughes)
- - Update example spec file (Igor Gnatenko)
- - Use a progressbar and smaller icons in the main UI (Richard Hughes)
- - Use a thread pool to allocate threads (Richard Hughes)
diff --git a/configure.ac b/configure.ac
index 8e99aa0..98ae409 100644
--- a/configure.ac
+++ b/configure.ac
@@ -92,6 +92,7 @@ PKG_CHECK_MODULES(GUSB, gusb >= 0.2.2)
PKG_CHECK_MODULES(UDISKS, udisks2)
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.11.2)
PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk3 >= 0.10)
+AC_PATH_PROG(APPSTREAM_UTIL, [appstream-util], [unfound])
dnl ---------------------------------------------------------------------------
dnl - Is docbook2man available?
diff --git a/data/appdata/org.gnome.MultiWriter.appdata.xml.in b/data/appdata/org.gnome.MultiWriter.appdata.xml.in
index f757132..f3cdb0f 100644
--- a/data/appdata/org.gnome.MultiWriter.appdata.xml.in
+++ b/data/appdata/org.gnome.MultiWriter.appdata.xml.in
@@ -57,6 +57,66 @@
<_caption>All devices have been written</_caption>
</screenshot>
</screenshots>
+ <!--
+ Unstable releases: Untranslated
+ Stable releases: Translated, but only include user-visible changes.
+ ASK YOURSELF: Does the end user really need to know this?
+
+ Validate with `appstream-util validate foo.appdata.xml`
+ Use `date -d "2010-10-02" "+%s"` to get the timestamp.
+ -->
+ <releases>
+ <release version="3.15.4" timestamp="1390089600">
+ <description>
+ <p>This unstable release fixes the following bugs:</p>
+ <ul>
+ <li>Add quirks for the 36 port MegaHub</li>
+ <li>Don't proceed to the copy phase if unmounting failed</li>
+ <li>Never use the USB platform ID for the hub label</li>
+ <li>Support root hubs with bus numbers greater than 8</li>
+ <li>Unmount all partitions when a device is inserted</li>
+ </ul>
+ <p>This release also adds the following new feature:</p>
+ <ul>
+ <li>Show the size next to the device name when the device is idle</li>
+ </ul>
+ </description>
+ </release>
+ <release version="3.15.2" timestamp="1389225600">
+ <description>
+ <p>This unstable release fixes the following bugs:</p>
+ <ul>
+ <li>Queue the device writes according to the connected root hub</li>
+ <li>Show ten devices per column to better use the space</li>
+ <li>Unmount filesystems before starting to copy</li>
+ </ul>
+ <p>This release also adds the following new feature:</p>
+ <ul>
+ <li>Reads and writes are now spread over root hubs to increase throughput</li>
+ <li>Completely wipe devices by default</li>
+ <li>Make the verification and wipe optional</li>
+ <li>Show a warning dialog before copying for the first time</li>
+ <li>Show some global read/write stats in the title bar</li>
+ </ul>
+ </description>
+ </release>
+ <release version="3.15.1" timestamp="1388880000">
+ <description>
+ <p>This initial release fixes the following bugs:</p>
+ <ul>
+ <li>Show the USB connection address in the UI</li>
+ <li>Use a progressbar and smaller icons in the main UI</li>
+ </ul>
+ <p>This release also adds the following new feature:</p>
+ <ul>
+ <li>Copy an ISO image to an unlimited number of devices</li>
+ <li>Inhibit suspend when copying data</li>
+ <li>Play a sound when all the images have been written</li>
+ <li>Show an image when there are no suitable drives plugged in</li>
+ </ul>
+ </description>
+ </release>
+ </releases>
<url type="homepage">https://wiki.gnome.org/Apps/MultiWriter</url>
<url type="bugtracker">https://bugzilla.gnome.org/browse.cgi?product=gnome-multi-writer</url>
<update_contact>richard_at_hughsie.com</update_contact>