Skip to content

Commit

Permalink
Add appdata file
Browse files Browse the repository at this point in the history
Applications wishing to have long descriptions, screenshots and other useful things
are required to ship one or more files in /usr/share/appdata/%{id}.appdata.xml.
see pttp://people.freedesktop.org/~hughsient/appdata/
  • Loading branch information
jcome committed Nov 28, 2013
1 parent bb33bd4 commit cbf8b22
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 0 deletions.
9 changes: 9 additions & 0 deletions synfig-studio/Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ EXTRA_DIST = \
m4/ETL.m4 \
ChangeLog.old \
synfigstudio.desktop.in \
synfigstudio.appdata.xml.in \
synfigstudio.xml.in \
synfigstudio-thumbnailer.schemas.in

Expand All @@ -61,6 +62,14 @@ desktop_DATA = synfigstudio.desktop
mimeinfodir = $(prefix)/share/mime-info
mimeinfo_DATA = synfigstudio.keys synfigstudio.mime

# Appdata

This comment has been minimized.

Copy link
@morevnaproject

morevnaproject Nov 29, 2013

I'm not sure if this block is correct. Try to replace it with the following:

appdatadir = $(datadir)/appdata
appdata_DATA = synfigstudio.appdata.xml

@INTLTOOL_XML_RULE@

This comment has been minimized.

Copy link
@jcome

jcome Nov 29, 2013

Author Owner

thanks, it works just fine!

@INTLTOOL_XML_RULE@
appdata_in_files = synfigstudio.appdata.xml.in
app_data_files = $(app_data_in_files:.xml.in=.xml)

appdatadir = $(datadir)/appdata
appdata_DATA = $(app_data_files)

# Icon
icondir = $(datadir)/pixmaps
icon_DATA = images/synfig_icon.png images/sif_icon.png
Expand Down
1 change: 1 addition & 0 deletions synfig-studio/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ po/Makefile.in
synfigstudio.mime
synfigstudio.keys
synfigstudio.xml
synfigstudio.appdata.xml
synfigstudio-thumbnailer.schemas
src/Makefile
src/gui/Makefile
Expand Down
1 change: 1 addition & 0 deletions synfig-studio/po/POTFILES.in
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
synfigstudio.desktop.in
synfigstudio.appdata.xml.in
synfigstudio-thumbnailer.schemas.in
synfigstudio.keys.in
plugins/add-skeleton-simple/plugin.xml.in
Expand Down
27 changes: 27 additions & 0 deletions synfig-studio/synfigstudio.appdata.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2013 Yu Chen <jcomee@gmail.com> -->
<application>
<id type="desktop">synfigstudio.desktop</id>
<licence>CC0</licence>
<description>
<_p>
Synfig Studio is a free and open-source 2D animation software, designed as powerful industrial-strength solution for creating film-quality animation using a vector and bitmap artwork. It eliminates the need to create animation frame-by frame, allowing you to produce 2D animation of a higher quality with fewer people and resources.
</_p>
<_p>Features:</_p>
<ul>
<_li>Spatial resolution-independence</_li>
<_li>Temporal resolution independence</_li>
<_li>High Dynamic-Range Imaging (HDRI)</_li>
<_li>Pentablet-friendly tools</_li>
<_li>Artist-oriented design</_li>
<_li>Path-based Gradients</_li>
<_li>Multitude of layers of various types</_li>
</ul>
</description>
<screenshots>
<screenshot type="default" width="800" height="600">http://synfig.org/gallary/screenshots/interface.png</screenshot>
<screenshot width="800" height="600">http://synfig.org/gallary/screenshots/interface-2.png</screenshot>
</screenshots>
<url type="homepage">http://www.synfig.org</url>
<updatecontact>synfig-devl@lists.sourceforge.net</updatecontact>
</application>

0 comments on commit cbf8b22

Please sign in to comment.