Skip to content

Commit

Permalink
Install icon to standard path, fix appstream-builder generation (#841)
Browse files Browse the repository at this point in the history
appstream-builder was failing to generate the appstream metainfo from
this package as it didn't provide an icon in a standard path.

appstream-builder states:
> Icons MUST be installed in /usr/share/pixmaps/*, /usr/share/icons/*,
> /usr/share/icons/hicolor/*/apps/*, or /usr/share/${app_name}/icons/*
  • Loading branch information
joebonrichie committed Jan 27, 2024
1 parent 8f79c25 commit f5151aa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data/input-remapper-autoload.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
Type=Application
Exec=bash -c "input-remapper-control --command stop-all && input-remapper-control --command autoload"
Name=input-remapper-autoload
Icon=/usr/share/input-remapper/input-remapper.svg

This comment has been minimized.

Copy link
@athanm013

athanm013 Apr 25, 2024

bro you gotta swap these

Icon=input-remapper
Comment=Starts injecting all presets that are set to automatically load for the user
2 changes: 1 addition & 1 deletion data/input-remapper-gtk.desktop
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Desktop Entry]
Type=Application
Name=Input Remapper
Icon=/usr/share/input-remapper/input-remapper.svg
Icon=input-remapper
Exec=input-remapper-gtk
Terminal=false
Categories=Settings
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ def make_lang():
"/usr/share/metainfo/",
["data/io.github.sezanzeb.input_remapper.metainfo.xml"],
),
("/usr/share/icons/hicolor/scalable/apps/", ["data/input-remapper.svg"]),
("/usr/share/polkit-1/actions/", ["data/input-remapper.policy"]),
("/usr/lib/systemd/system", ["data/input-remapper.service"]),
("/etc/dbus-1/system.d/", ["data/inputremapper.Control.conf"]),
Expand Down

0 comments on commit f5151aa

Please sign in to comment.