Commit fe3b80d6 authored by Michael Henning's avatar Michael Henning

desktop: Install the appdata file and also make it translatable.

parent 5152e106
......@@ -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
......
......@@ -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>
......
......@@ -3,6 +3,7 @@
[encoding: UTF-8]
desktop/gimp.appdata.xml.in
desktop/gimp.desktop.in.in
app/about.h
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment