[gnome-color-manager] Generate the NEWS file automatically
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Generate the NEWS file automatically
- Date: Thu, 5 Feb 2015 09:58:42 +0000 (UTC)
commit 93d09e49bbb99edacc0ab8bc01f6bbe35e74a2fe
Author: Richard Hughes <richard hughsie com>
Date: Thu Feb 5 09:55:34 2015 +0000
Generate the NEWS file automatically
Makefile.am | 12 +-
NEWS | 1426 --------------------------------
RELEASE | 11 +-
configure.ac | 1 +
data/appdata/Makefile.am | 6 +-
data/appdata/gcm-viewer.appdata.xml.in | 14 +
6 files changed, 31 insertions(+), 1439 deletions(-)
---
diff --git a/Makefile.am b/Makefile.am
index 36e2820..89b5d42 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,6 +26,7 @@ MAINTAINERCLEANFILES = \
ltmain.sh \
missing \
mkinstalldirs \
+ NEWS \
test-driver
CLEANFILES = \
@@ -47,6 +48,7 @@ DISTCHECK_CONFIGURE_FLAGS = \
distclean-local:
if test $(srdcir) = .; then :; else \
rm -f ChangeLog; \
+ rm -f NEWS; \
fi
ChangeLog:
@@ -63,6 +65,14 @@ ChangeLog:
echo A git checkout and git-log is required to generate this file >> $@); \
fi
-.PHONY: ChangeLog
+NEWS: data/appdata/gcm-viewer.appdata.xml
+ $(AM_V_GEN) \
+ if test -e $(APPSTREAM_UTIL); then \
+ $(APPSTREAM_UTIL) appdata-to-news $^ > $@; \
+ else \
+ touch $@; \
+ fi
+
+.PHONY: ChangeLog NEWS
-include $(top_srcdir)/git.mk
diff --git a/RELEASE b/RELEASE
index 3468fd3..9d95a2f 100644
--- a/RELEASE
+++ b/RELEASE
@@ -2,15 +2,8 @@ PackageKit Release Notes
1. Write NEWS entries for gnome-color-manager in the same format as usual.
-Version 3.15.5
-~~~~~~~~~~~~~~~
-Released: 2015-xx-xx
-
-* Translations
-* New Features:
-* Bugfix:
-
-git shortlog GNOME_COLOR_MANAGER_3_15_4.. | grep -i -v trivial | grep -v Merge | uniq > NEWS.new
+git log --format="%s" GNOME_COLOR_MANAGER_3_15_4.. | grep -i -v trivial | grep -v Merge | uniq
+Add any user visible changes into data/appdata/gcm-viewer.appdata.xml.in
3. Commit changes in gnome-color-manager git:
diff --git a/configure.ac b/configure.ac
index 45c0f60..978c9fb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,6 +85,7 @@ PKG_CHECK_MODULES(GLIB, glib-2.0 >= 2.31.10 gobject-2.0 gthread-2.0 gio-2.0 >= 2
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 2.91.0)
PKG_CHECK_MODULES(LCMS, lcms2 >= 2.2)
PKG_CHECK_MODULES(COLORD, colord >= 0.1.34 colord-gtk >= 0.1.20)
+AC_PATH_PROG(APPSTREAM_UTIL, [appstream-util], [unfound])
dnl **** Check for VTE ****
PKG_CHECK_MODULES(VTE, vte-2.91 >= 0.25.1, has_vte=yes, has_vte=no)
diff --git a/data/appdata/Makefile.am b/data/appdata/Makefile.am
index ff12910..9f18978 100644
--- a/data/appdata/Makefile.am
+++ b/data/appdata/Makefile.am
@@ -1,8 +1,8 @@
- APPSTREAM_XML_RULES@
@INTLTOOL_XML_RULE@
-appstream_XML = $(appdata_in_files:.xml.in=.xml)
+appdatadir = $(datadir)/appdata
+appdata_DATA = $(appdata_in_files:.xml.in=.xml)
appdata_in_files = gcm-viewer.appdata.xml.in
EXTRA_DIST = $(appdata_in_files)
-CLEANFILES = $(appstream_XML)
+CLEANFILES = gcm-viewer.appdata.xml
-include $(top_srcdir)/git.mk
diff --git a/data/appdata/gcm-viewer.appdata.xml.in b/data/appdata/gcm-viewer.appdata.xml.in
index 66ed139..ab2ff21 100644
--- a/data/appdata/gcm-viewer.appdata.xml.in
+++ b/data/appdata/gcm-viewer.appdata.xml.in
@@ -23,6 +23,20 @@
<screenshot>https://git.gnome.org/browse/gnome-color-manager/plain/data/appdata/ss-calibrate.png</screenshot>
<screenshot>https://git.gnome.org/browse/gnome-color-manager/plain/data/appdata/ss-picker.png</screenshot>
</screenshots>
+ <!--
+ Validate with `appstream-util validate *.appdata.xml`
+ Use `date -d "2010-10-02" "+%s"` to get the timestamp.
+ -->
+ <releases>
+ <release version="3.15.4" timestamp="1421625600">
+ <description>
+ <p>This release fixes the following bug:</p>
+ <ul>
+ <li>Make the color profile viewer visible in the software center</li>
+ </ul>
+ </description>
+ </release>
+ </releases>
<url type="homepage">https://projects.gnome.org/gnome-color-manager/</url>
<updatecontact>richard_at_hughsie.com</updatecontact>
</application>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]