Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Update AppStream metadata for redshift-gtk
The metadata was previously expressed in a legacy format, and installed in a legacy location.
  • Loading branch information
nicoonoclaste committed Dec 11, 2020
commit b43c064a26baa088021261ca3995c7429c01a6bd
4 changes: 2 additions & 2 deletions Makefile.am
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ SYSTEMD_USER_UNIT_IN_FILES = \
data/systemd/redshift-gtk.service.in

APPDATA_IN_FILES = \
data/appdata/redshift-gtk.appdata.xml.in
data/appdata/redshift-gtk.metainfo.xml.in

APPARMOR_IN_FILES = \
data/apparmor/usr.bin.redshift.in
Expand Down Expand Up @@ -95,7 +95,7 @@ $(systemduserunit_DATA): $(SYSTEMD_USER_UNIT_IN_FILES) Makefile

# Appdata file
if ENABLE_GUI
appdatadir = @datadir@/appdata
appdatadir = @datadir@/metainfo
appdata_DATA = $(APPDATA_IN_FILES:.xml.in=.xml)

# We would preferable use @INTLTOOL_XML_RULE@ here but
Expand Down
20 changes: 0 additions & 20 deletions data/appdata/redshift-gtk.appdata.xml.in

This file was deleted.

27 changes: 27 additions & 0 deletions data/appdata/redshift-gtk.metainfo.xml.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
<?xml version="1.0" encoding="UTF-8"?>
<!-- Copyright 2014 Jon Lund Steffensen <jonlst@gmail.com> -->
<component type="desktop-application">
<id>dk.jonls.redshift.gtk</id>
<name>Redshift</name>
<metadata_license>CC0</metadata_license>
<project_license>GPL-3.0+</project_license>
<url type="homepage">http://jonls.dk/redshift/</url>
<developer_name>Jon Lund Steffensen</developer_name>
<update_contact>jonlst@gmail.com</update_contact>
<launchable type="desktop-id">redshift-gtk.desktop</launchable>

<summary>Adjusts the color temperature of your screen according to your surroundings</summary>

<description>
<p>Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.</p>
<p>The color temperature is set according to the position of the sun. A different color temperature is set during night and daytime. During twilight and early morning, the color temperature transitions smoothly from night to daytime temperature to allow your eyes to slowly adapt.</p>
<p>This program provides a status icon that allows the user to control Redshift.</p>
</description>

<screenshots>
<screenshot type="default">
<image>http://jonls.dk/assets/screenshot1.png</image>
<caption>The Redshift information window overlaid with an example of the redness effect</caption>
</screenshot>
</screenshots>
</component>