Commit 47136ec9 authored by Nick Richards's avatar Nick Richards

Improve appdata and rename assets to app-id

parent c27ed271
...@@ -46,7 +46,7 @@ header_DATA = \ ...@@ -46,7 +46,7 @@ header_DATA = \
# Appdata files # Appdata files
appdatadir = $(datadir)/metainfo appdatadir = $(datadir)/metainfo
appdata_in_files = evince.appdata.xml.in appdata_in_files = org.gnome.Evince.appdata.xml.in
nodist_appdata_DATA = $(appdata_in_files:.xml.in=.xml) nodist_appdata_DATA = $(appdata_in_files:.xml.in=.xml)
@INTLTOOL_XML_RULE@ @INTLTOOL_XML_RULE@
......
...@@ -953,8 +953,8 @@ cut-n-paste/unarr/Makefile ...@@ -953,8 +953,8 @@ cut-n-paste/unarr/Makefile
cut-n-paste/unarr/common/Makefile cut-n-paste/unarr/common/Makefile
cut-n-paste/unarr/lzmasdk/Makefile cut-n-paste/unarr/lzmasdk/Makefile
cut-n-paste/unarr/rar/Makefile cut-n-paste/unarr/rar/Makefile
data/evince.desktop.in data/org.gnome.Evince.desktop.in
data/evince-previewer.desktop.in data/org.gnome.Evince-previewer.desktop.in
data/Makefile data/Makefile
data/icons/Makefile data/icons/Makefile
data/icons/16x16/Makefile data/icons/16x16/Makefile
......
...@@ -23,7 +23,7 @@ ui_DATA = \ ...@@ -23,7 +23,7 @@ ui_DATA = \
@INTLTOOL_DESKTOP_RULE@ @INTLTOOL_DESKTOP_RULE@
DESKTOP_IN_FILES= evince.desktop.in.in evince-previewer.desktop.in.in DESKTOP_IN_FILES= org.gnome.Evince.desktop.in.in org.gnome.Evince-previewer.desktop.in.in
DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop) DESKTOP_FILES= $(DESKTOP_IN_FILES:.desktop.in.in=.desktop)
desktopdir = $(datadir)/applications desktopdir = $(datadir)/applications
...@@ -37,7 +37,7 @@ servicedir = $(datadir)/dbus-1/services ...@@ -37,7 +37,7 @@ servicedir = $(datadir)/dbus-1/services
service_in_files = org.gnome.evince.Daemon.service.in service_in_files = org.gnome.evince.Daemon.service.in
service_DATA = $(service_in_files:.service.in=.service) service_DATA = $(service_in_files:.service.in=.service)
systemd_user_in_files = evince.service.in systemd_user_in_files = org.gnome.Evince.service.in
if WITH_SYSTEMD_USER_UNITS if WITH_SYSTEMD_USER_UNITS
systemd_user_DATA = $(systemd_user_in_files:.service.in=.service) systemd_user_DATA = $(systemd_user_in_files:.service.in=.service)
......
...@@ -5,7 +5,7 @@ context = apps ...@@ -5,7 +5,7 @@ context = apps
iconsdir = $(themedir)/$(size)/$(context) iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = \ icons_DATA = \
evince.png org.gnome.Evince.png
noinst_DATA = noinst_DATA =
......
...@@ -5,7 +5,7 @@ context = apps ...@@ -5,7 +5,7 @@ context = apps
iconsdir = $(themedir)/$(size)/$(context) iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = \ icons_DATA = \
evince.png org.gnome.Evince.png
noinst_DATA = noinst_DATA =
......
...@@ -5,7 +5,7 @@ context = apps ...@@ -5,7 +5,7 @@ context = apps
iconsdir = $(themedir)/$(size)/$(context) iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = \ icons_DATA = \
evince.png org.gnome.Evince.png
noinst_DATA = noinst_DATA =
......
...@@ -5,7 +5,7 @@ context = apps ...@@ -5,7 +5,7 @@ context = apps
iconsdir = $(themedir)/$(size)/$(context) iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = \ icons_DATA = \
evince.png org.gnome.Evince.png
noinst_DATA = noinst_DATA =
......
...@@ -5,7 +5,7 @@ context = apps ...@@ -5,7 +5,7 @@ context = apps
iconsdir = $(themedir)/$(size)/$(context) iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = \ icons_DATA = \
evince.png org.gnome.Evince.png
noinst_DATA = noinst_DATA =
......
...@@ -5,7 +5,7 @@ context = apps ...@@ -5,7 +5,7 @@ context = apps
iconsdir = $(themedir)/$(size)/$(context) iconsdir = $(themedir)/$(size)/$(context)
icons_DATA = \ icons_DATA = \
evince-symbolic.svg org.gnome.Evince-symbolic.svg
noinst_DATA = noinst_DATA =
......
...@@ -7,7 +7,7 @@ Exec=evince %U ...@@ -7,7 +7,7 @@ Exec=evince %U
StartupNotify=true StartupNotify=true
Terminal=false Terminal=false
Type=Application Type=Application
Icon=evince Icon=org.gnome.Evince
X-GNOME-DocPath= X-GNOME-DocPath=
X-GNOME-Bugzilla-Bugzilla=GNOME X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=evince X-GNOME-Bugzilla-Product=evince
......
[D-BUS Service] [D-BUS Service]
Name=org.gnome.evince.Daemon Name=org.gnome.evince.Daemon
Exec=@libexecdir@/evinced Exec=@libexecdir@/evinced
@if_systemd_service@SystemdService=evince.service @if_systemd_service@SystemdService=org.gnome.Evince.service
...@@ -15,25 +15,31 @@ ...@@ -15,25 +15,31 @@
You should have received a copy of the GNU General Public License You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. along with this program. If not, see <http://www.gnu.org/licenses/>.
--> -->
<!-- FIXME: the xmlns for appdata is made-up --> <component type="desktop-application">
<application <id>org.gnome.Evince</id>
xmlns="https://www.freedesktop.org/standards/appdata/1.0" <launchable type="desktop-id">org.gnome.Evince.desktop</launchable>
xmlns:xi="http://www.w3.org/2001/XInclude"
xmlns:its="http://www.w3.org/2005/11/its">
<id type="desktop">evince.desktop</id>
<metadata_license>GPL-2.0+</metadata_license> <metadata_license>GPL-2.0+</metadata_license>
<project_license>GPL-2.0+</project_license> <project_license>GPL-2.0+</project_license>
<_name>Evince</_name> <_name>Evince</_name>
<_summary>Document viewer for popular document formats</_summary> <_summary>Document viewer for popular document formats</_summary>
<description> <description>
<_p>This is a document viewer for the GNOME desktop.</_p> <_p>A document viewer for the GNOME desktop. You can view, search or annotate documents in many different formats.</_p>
<_p>It supports the following document formats: PDF, PS, EPS, XPS, DjVu, TIFF, DVI (with SyncTeX), and Comic Books archives (CBR, CBT, CBZ, CB7).</_p> <_p>Evince supports documents in: PDF, PS, EPS, XPS, DjVu, TIFF, DVI (with SyncTeX), and Comic Books archives (CBR, CBT, CBZ, CB7).</_p>
</description> </description>
<!-- <screenshots> <screenshots>
<screenshot type="default">https://</screenshot> <screenshot type="default">
<image>https://gitlab.gnome.org/evince/raw/master/data/screenshots/evince-1.png</image>
<_caption>A clear, simple UI</_caption>
</screenshot>
<screenshot>
<image>https://gitlab.gnome.org/evince/raw/master/data/screenshots/evince-2.png</image>
<_caption>Advanced highlighting and annotation</_caption>
</screenshot>
</screenshots> </screenshots>
-->
<url type="homepage">https://wiki.gnome.org/Apps/Evince</url> <url type="homepage">https://wiki.gnome.org/Apps/Evince</url>
<url type="bugtracker">https://wiki.gnome.org/Apps/Evince/ReportingBugs</url>
<url type="translate">https://wiki.gnome.org/TranslationProject</url>
<url type="donation">https://www.gnome.org/support-gnome/</url>
<project_group>GNOME</project_group> <project_group>GNOME</project_group>
<compulsory_for_desktop>GNOME</compulsory_for_desktop> <compulsory_for_desktop>GNOME</compulsory_for_desktop>
<updatecontact>https://wiki.gnome.org/Apps/Evince/ReportingBugs</updatecontact> <updatecontact>https://wiki.gnome.org/Apps/Evince/ReportingBugs</updatecontact>
...@@ -43,4 +49,33 @@ ...@@ -43,4 +49,33 @@
<kudo>UserDocs</kudo> <kudo>UserDocs</kudo>
</kudos> </kudos>
<translation type="gettext">evince</translation> <translation type="gettext">evince</translation>
</application> <content_rating type="oars-1.1">
<content_attribute id="violence-cartoon">none</content_attribute>
<content_attribute id="violence-fantasy">none</content_attribute>
<content_attribute id="violence-realistic">none</content_attribute>
<content_attribute id="violence-bloodshed">none</content_attribute>
<content_attribute id="violence-sexual">none</content_attribute>
<content_attribute id="violence-desecration">none</content_attribute>
<content_attribute id="violence-slavery">none</content_attribute>
<content_attribute id="violence-worship">none</content_attribute>
<content_attribute id="drugs-alcohol">none</content_attribute>
<content_attribute id="drugs-narcotics">none</content_attribute>
<content_attribute id="drugs-tobacco">none</content_attribute>
<content_attribute id="sex-nudity">none</content_attribute>
<content_attribute id="sex-themes">none</content_attribute>
<content_attribute id="sex-homosexuality">none</content_attribute>
<content_attribute id="sex-prostitution">none</content_attribute>
<content_attribute id="sex-adultery">none</content_attribute>
<content_attribute id="sex-appearance">none</content_attribute>
<content_attribute id="language-profanity">none</content_attribute>
<content_attribute id="language-humor">none</content_attribute>
<content_attribute id="language-discrimination">none</content_attribute>
<content_attribute id="social-chat">none</content_attribute>
<content_attribute id="social-info">none</content_attribute>
<content_attribute id="social-audio">none</content_attribute>
<content_attribute id="social-location">none</content_attribute>
<content_attribute id="social-contacts">none</content_attribute>
<content_attribute id="money-purchasing">none</content_attribute>
<content_attribute id="money-gambling">none</content_attribute>
</content_rating>
</component>
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