[gimp/gimp-2-8] desktop: Install the appdata file and also make it translatable.
- From: Michael Henning <mhenning src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-8] desktop: Install the appdata file and also make it translatable.
- Date: Sat, 16 Nov 2013 16:26:42 +0000 (UTC)
commit b4fe880e58f3b371c47b900dc46af07618cac386
Author: Michael Henning <drawoc darkrefraction com>
Date: Sat Nov 16 10:23:34 2013 -0500
desktop: Install the appdata file and also make it translatable.
(cherry picked from commit fe3b80d617646e4995626babe36fd3ced83d4671)
desktop/Makefile.am | 12 +++++++-----
desktop/{gimp.appdata.xml => gimp.appdata.xml.in} | 12 ++++++------
po/POTFILES.in | 1 +
3 files changed, 14 insertions(+), 11 deletions(-)
---
diff --git a/desktop/Makefile.am b/desktop/Makefile.am
index dc7985b..bd6be11 100644
--- a/desktop/Makefile.am
+++ b/desktop/Makefile.am
@@ -3,12 +3,16 @@
desktop_in_files = gimp.desktop.in.in
desktop_files = $(desktop_in_files:.desktop.in.in=.desktop)
+appdata_in_files = gimp.appdata.xml.in
+appdata_files = $(appdata_in_files:.appdata.xml.in=.appdata.xml)
if DESKTOP_DATADIR
applicationsdir = $(DESKTOP_DATADIR)/applications
applications_DATA = $(desktop_files)
+appdatadir = $(DESKTOP_DATADIR)/appdata
+appdata_DATA = $(appdata_files)
icons16dir = $(DESKTOP_DATADIR)/icons/hicolor/16x16/apps
icons16_DATA = 16x16/gimp.png
@@ -35,11 +39,8 @@ install-data-hook:
endif
-appdatadir = $(datadir)/appdata
-appdata_files = gimp.appdata.xml
-
EXTRA_DIST = \
- $(appdata_files) \
+ $(appdata_in_files) \
gimp.desktop.in.in \
16x16/gimp.png \
22x22/gimp.png \
@@ -50,8 +51,9 @@ EXTRA_DIST = \
256x256/gimp.png
-DISTCLEANFILES = $(desktop_files)
+DISTCLEANFILES = $(desktop_files) $(appdata_files)
+ INTLTOOL_XML_RULE@
gimp.desktop: gimp.desktop.in $(wildcard $(top_srcdir)/po/*.po)
$(INTLTOOL_MERGE) $(top_srcdir)/po $< $(@) -d -u -c $(top_builddir)/po/.intltool-merge-cache
diff --git a/desktop/gimp.appdata.xml b/desktop/gimp.appdata.xml.in
similarity index 96%
rename from desktop/gimp.appdata.xml
rename to desktop/gimp.appdata.xml.in
index f0246fc..78145dd 100644
--- a/desktop/gimp.appdata.xml
+++ b/desktop/gimp.appdata.xml.in
@@ -10,25 +10,25 @@
-->
<licence>CC0</licence>
<description>
- <p>
+ <_p>
GIMP is an acronym for GNU Image Manipulation Program. It is a
freely distributed program for such tasks as photo retouching,
image composition and image authoring.
- </p>
- <p>
+ </_p>
+ <_p>
It has many capabilities. It can be used as a simple paint
program, an expert quality photo retouching program, an online
batch processing system, a mass production image renderer, an
image format converter, etc.
- </p>
- <p>
+ </_p>
+ <_p>
GIMP is expandable and extensible. It is designed to be
augmented with plug-ins and extensions to do just about
anything. The advanced scripting interface allows everything
from the simplest task to the most complex image manipulation
procedures to be easily scripted. GIMP is also available for
Microsoft Windows and OS X.
- </p>
+ </_p>
</description>
<url type="homepage">http://www.gimp.org/</url>
<screenshots>
diff --git a/po/POTFILES.in b/po/POTFILES.in
index c2bc8a5..571bee1 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -501,4 +501,5 @@ app/xcf/xcf.c
data/tags/gimp-tags-default.xml.in
+desktop/gimp.appdata.xml.in
desktop/gimp.desktop.in.in
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]