Add a redshift desktop file (#158)
This should fix the fact that redshift cannot query its location using geoclue 2
This commit is contained in:
@@ -54,6 +54,7 @@ src/redshift-gtk/__pycache__/
|
||||
/data/systemd/redshift.service
|
||||
/data/systemd/redshift-gtk.service
|
||||
/data/appdata/redshift-gtk.appdata.xml
|
||||
/data/applications/redshift.desktop
|
||||
/data/applications/redshift-gtk.desktop
|
||||
|
||||
*.su
|
||||
|
||||
@@ -28,6 +28,7 @@ _UBUNTU_MONO_LIGHT_FILES = \
|
||||
data/icons/ubuntu-mono-light/scalable/apps/redshift-status-off.svg
|
||||
|
||||
DESKTOP_IN_FILES = \
|
||||
data/applications/redshift.desktop.in \
|
||||
data/applications/redshift-gtk.desktop.in
|
||||
|
||||
SYSTEMD_USER_UNIT_IN_FILES = \
|
||||
|
||||
@@ -51,6 +51,7 @@ make %{?_smp_mflags} V=1
|
||||
rm -rf %{buildroot}
|
||||
make DESTDIR=%{buildroot} install INSTALL="install -p"
|
||||
%find_lang %{name}
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/redshift.desktop
|
||||
desktop-file-validate %{buildroot}%{_datadir}/applications/redshift-gtk.desktop
|
||||
|
||||
%post -n %{name}-gtk
|
||||
|
||||
Executable
+12
@@ -0,0 +1,12 @@
|
||||
[Desktop Entry]
|
||||
Version=1.0
|
||||
_Name=Redshift
|
||||
_GenericName=Color temperature adjustment
|
||||
_Comment=Color temperature adjustment tool
|
||||
Exec=redshift
|
||||
Icon=redshift
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;
|
||||
StartupNotify=true
|
||||
Hidden=true
|
||||
@@ -1,6 +1,7 @@
|
||||
# List of source files containing translatable strings
|
||||
|
||||
data/appdata/redshift-gtk.appdata.xml.in
|
||||
data/applications/redshift.desktop.in
|
||||
data/applications/redshift-gtk.desktop.in
|
||||
|
||||
src/redshift.c
|
||||
|
||||
Reference in New Issue
Block a user