papirus-icon-theme/tools/missing_flathub_apps.sh

93 lines
2.6 KiB
Bash
Raw Normal View History

#!/usr/bin/env bash
#
# Before running this script make sure that Flathub repo is added:
#
# flatpak remote-add --user --if-not-exists \
# flathub https://flathub.org/repo/flathub.flatpakrepo
set -euo pipefail
IFS=$'\n\t'
SCRIPT_DIR="$(dirname "$(readlink -f "${BASH_SOURCE[0]}")")"
GIT_ROOT="$SCRIPT_DIR/.."
XDG_DATA_DIRS="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share/}"
IGNORED_APPS=(
# apps without icons:
2023-05-29 06:57:23 -04:00
cc.nift.nsm
com.github.nihui.waifu2x-ncnn-vulkan
Add 129 symlinks for Flatpak apps hosted on Flathub #2007 * 010 Editor * Akregator * Alpine Linux * Apache Directory Studio * AssaultCube * Atomix * Authy Desktop * Beekeeper Studio * Betterbird * Bisq * BlueMail * Boxy SVG * Cantor * Chocolate Doom * Choqok * Converseen * Cura * CutePeaks * Cutter * DB Browser for SQLite * Emby Server * Epson Scan 2 * Falkon * fheroes2 * FileBot * Filelight * Frogatto & Friends * Gargoyle * Git Cola * Grapejuice * GTKWave * guiscrcpy * iaito * JADX * JuK * Kaffeine * KAlgebra * Kamoso * KBibTeX * KBreakOut * KDevelop * KDiskMark * Kega Fusion * KFind * KFourInLine * KGet * KGraphViewer * Kile * Kiriki * Kleopatra * KMahjongg * KMines * KMPlayer * KmPlot * KNights * Kolf * Kollision * KPhotoAlbum * KRDC * Krename * KReversi * Kronometer * KRuler * KsirK * KSnakeDuel * KStars * KTeaTime * KTimeTracker * KUIViewer * KVIrc * KWalletManager * LDView * LibreCAD * LosslessCut * LSkat * Lunar Client * Lutris * MComix * ModernDeck * NCSA Mosaic * Notesnook * OpenLieroX * OpenTyrian * Osmo * Parley * Pekka Kana 2 * Pix * Pragha * PuTTY * q4wine * Qalculate! (Qt UI) * QMPlay2 * Qsynth * Qt Designer * Qt Linguist * Qt QDBusViewer * Racket * Rare * ReText * Rocks'n'Diamonds * Rocs * SDRangel * Seafile Client * Solarus Launcher * suanPan * Synology Assistant * Synology Drive * Tennix * TLPUI * Umbrello * UMLet * Urban Terror * Vieb * vokoscreenNG * War Thunder * Warsow * Wavebox * WebCord * Wine * Wolfenstein: Blade of Agony * World of PADMAN * Wyrmsun * XMind * YACReader * Ymuse * Zaz * Zrythm
2023-01-04 12:18:43 -05:00
com.riverbankcomputing.PyQt.BaseApp
2021-03-06 09:11:51 -05:00
dev.paullee.scraterpreter.Scrape
dev.paullee.scraterpreter.Scrapec
io.atom.electron.BaseApp
io.elementary.BaseApp
io.elementary.Loki.BaseApp
2021-03-06 09:11:51 -05:00
io.github.erkin.ponysay
io.gitlab.sdl_jstest.sdl2_jstest
io.gitlab.sdl_jstest.sdl_jstest
2021-03-06 09:11:51 -05:00
io.liri.BaseApp
io.qt.qtwebengine.BaseApp
io.qt.qtwebkit.BaseApp
2021-03-06 09:11:51 -05:00
net.sourceforge.fspclient
Add 129 symlinks for Flatpak apps hosted on Flathub #2007 * 010 Editor * Akregator * Alpine Linux * Apache Directory Studio * AssaultCube * Atomix * Authy Desktop * Beekeeper Studio * Betterbird * Bisq * BlueMail * Boxy SVG * Cantor * Chocolate Doom * Choqok * Converseen * Cura * CutePeaks * Cutter * DB Browser for SQLite * Emby Server * Epson Scan 2 * Falkon * fheroes2 * FileBot * Filelight * Frogatto & Friends * Gargoyle * Git Cola * Grapejuice * GTKWave * guiscrcpy * iaito * JADX * JuK * Kaffeine * KAlgebra * Kamoso * KBibTeX * KBreakOut * KDevelop * KDiskMark * Kega Fusion * KFind * KFourInLine * KGet * KGraphViewer * Kile * Kiriki * Kleopatra * KMahjongg * KMines * KMPlayer * KmPlot * KNights * Kolf * Kollision * KPhotoAlbum * KRDC * Krename * KReversi * Kronometer * KRuler * KsirK * KSnakeDuel * KStars * KTeaTime * KTimeTracker * KUIViewer * KVIrc * KWalletManager * LDView * LibreCAD * LosslessCut * LSkat * Lunar Client * Lutris * MComix * ModernDeck * NCSA Mosaic * Notesnook * OpenLieroX * OpenTyrian * Osmo * Parley * Pekka Kana 2 * Pix * Pragha * PuTTY * q4wine * Qalculate! (Qt UI) * QMPlay2 * Qsynth * Qt Designer * Qt Linguist * Qt QDBusViewer * Racket * Rare * ReText * Rocks'n'Diamonds * Rocs * SDRangel * Seafile Client * Solarus Launcher * suanPan * Synology Assistant * Synology Drive * Tennix * TLPUI * Umbrello * UMLet * Urban Terror * Vieb * vokoscreenNG * War Thunder * Warsow * Wavebox * WebCord * Wine * Wolfenstein: Blade of Agony * World of PADMAN * Wyrmsun * XMind * YACReader * Ymuse * Zaz * Zrythm
2023-01-04 12:18:43 -05:00
org.chromium.Chromium.BaseApp
org.electronjs.Electron2.BaseApp
org.flathub.flatpak-external-data-checker
org.flatpak.Builder
2021-03-06 09:11:51 -05:00
org.flatpak.flat-manager-client
Add 129 symlinks for Flatpak apps hosted on Flathub #2007 * 010 Editor * Akregator * Alpine Linux * Apache Directory Studio * AssaultCube * Atomix * Authy Desktop * Beekeeper Studio * Betterbird * Bisq * BlueMail * Boxy SVG * Cantor * Chocolate Doom * Choqok * Converseen * Cura * CutePeaks * Cutter * DB Browser for SQLite * Emby Server * Epson Scan 2 * Falkon * fheroes2 * FileBot * Filelight * Frogatto & Friends * Gargoyle * Git Cola * Grapejuice * GTKWave * guiscrcpy * iaito * JADX * JuK * Kaffeine * KAlgebra * Kamoso * KBibTeX * KBreakOut * KDevelop * KDiskMark * Kega Fusion * KFind * KFourInLine * KGet * KGraphViewer * Kile * Kiriki * Kleopatra * KMahjongg * KMines * KMPlayer * KmPlot * KNights * Kolf * Kollision * KPhotoAlbum * KRDC * Krename * KReversi * Kronometer * KRuler * KsirK * KSnakeDuel * KStars * KTeaTime * KTimeTracker * KUIViewer * KVIrc * KWalletManager * LDView * LibreCAD * LosslessCut * LSkat * Lunar Client * Lutris * MComix * ModernDeck * NCSA Mosaic * Notesnook * OpenLieroX * OpenTyrian * Osmo * Parley * Pekka Kana 2 * Pix * Pragha * PuTTY * q4wine * Qalculate! (Qt UI) * QMPlay2 * Qsynth * Qt Designer * Qt Linguist * Qt QDBusViewer * Racket * Rare * ReText * Rocks'n'Diamonds * Rocs * SDRangel * Seafile Client * Solarus Launcher * suanPan * Synology Assistant * Synology Drive * Tennix * TLPUI * Umbrello * UMLet * Urban Terror * Vieb * vokoscreenNG * War Thunder * Warsow * Wavebox * WebCord * Wine * Wolfenstein: Blade of Agony * World of PADMAN * Wyrmsun * XMind * YACReader * Ymuse * Zaz * Zrythm
2023-01-04 12:18:43 -05:00
org.freedesktop.appstream.cli
org.freedesktop.appstream-glib
org.freedesktop.GlxInfo
org.freedesktop.LinuxAudio.BaseExtension
org.freedesktop.Platform.ClInfo
org.freedesktop.Platform.GlxInfo
org.freedesktop.Platform.VaInfo
org.freedesktop.Platform.VulkanInfo
org.genivi.DLTViewer
2021-03-06 09:11:51 -05:00
org.godotengine.godot.BaseApp
org.gnome.NautilusPreviewer
2021-03-06 09:11:51 -05:00
org.mosh.mosh
org.mozilla.firefox.BaseApp
2021-03-06 09:11:51 -05:00
org.nuspell.Nuspell
org.sugarlabs.BaseApp
radio.k0swe.Kel_Agent
se.emijoh.mpw
# apps with icons that do not match with App ID:
2021-03-06 09:11:51 -05:00
cat.xtec.clic.JClic
com.github.utsushi.Utsushi
com.wps.Office
net.openra.OpenRA
2021-03-06 09:11:51 -05:00
org.freeorion.FreeOrion
org.homelinuxserver.vance.biblereader
Add 129 symlinks for Flatpak apps hosted on Flathub #2007 * 010 Editor * Akregator * Alpine Linux * Apache Directory Studio * AssaultCube * Atomix * Authy Desktop * Beekeeper Studio * Betterbird * Bisq * BlueMail * Boxy SVG * Cantor * Chocolate Doom * Choqok * Converseen * Cura * CutePeaks * Cutter * DB Browser for SQLite * Emby Server * Epson Scan 2 * Falkon * fheroes2 * FileBot * Filelight * Frogatto & Friends * Gargoyle * Git Cola * Grapejuice * GTKWave * guiscrcpy * iaito * JADX * JuK * Kaffeine * KAlgebra * Kamoso * KBibTeX * KBreakOut * KDevelop * KDiskMark * Kega Fusion * KFind * KFourInLine * KGet * KGraphViewer * Kile * Kiriki * Kleopatra * KMahjongg * KMines * KMPlayer * KmPlot * KNights * Kolf * Kollision * KPhotoAlbum * KRDC * Krename * KReversi * Kronometer * KRuler * KsirK * KSnakeDuel * KStars * KTeaTime * KTimeTracker * KUIViewer * KVIrc * KWalletManager * LDView * LibreCAD * LosslessCut * LSkat * Lunar Client * Lutris * MComix * ModernDeck * NCSA Mosaic * Notesnook * OpenLieroX * OpenTyrian * Osmo * Parley * Pekka Kana 2 * Pix * Pragha * PuTTY * q4wine * Qalculate! (Qt UI) * QMPlay2 * Qsynth * Qt Designer * Qt Linguist * Qt QDBusViewer * Racket * Rare * ReText * Rocks'n'Diamonds * Rocs * SDRangel * Seafile Client * Solarus Launcher * suanPan * Synology Assistant * Synology Drive * Tennix * TLPUI * Umbrello * UMLet * Urban Terror * Vieb * vokoscreenNG * War Thunder * Warsow * Wavebox * WebCord * Wine * Wolfenstein: Blade of Agony * World of PADMAN * Wyrmsun * XMind * YACReader * Ymuse * Zaz * Zrythm
2023-01-04 12:18:43 -05:00
org.kde.kcolorchooser
2021-03-06 09:11:51 -05:00
org.kde.okteta
Add 129 symlinks for Flatpak apps hosted on Flathub #2007 * 010 Editor * Akregator * Alpine Linux * Apache Directory Studio * AssaultCube * Atomix * Authy Desktop * Beekeeper Studio * Betterbird * Bisq * BlueMail * Boxy SVG * Cantor * Chocolate Doom * Choqok * Converseen * Cura * CutePeaks * Cutter * DB Browser for SQLite * Emby Server * Epson Scan 2 * Falkon * fheroes2 * FileBot * Filelight * Frogatto & Friends * Gargoyle * Git Cola * Grapejuice * GTKWave * guiscrcpy * iaito * JADX * JuK * Kaffeine * KAlgebra * Kamoso * KBibTeX * KBreakOut * KDevelop * KDiskMark * Kega Fusion * KFind * KFourInLine * KGet * KGraphViewer * Kile * Kiriki * Kleopatra * KMahjongg * KMines * KMPlayer * KmPlot * KNights * Kolf * Kollision * KPhotoAlbum * KRDC * Krename * KReversi * Kronometer * KRuler * KsirK * KSnakeDuel * KStars * KTeaTime * KTimeTracker * KUIViewer * KVIrc * KWalletManager * LDView * LibreCAD * LosslessCut * LSkat * Lunar Client * Lutris * MComix * ModernDeck * NCSA Mosaic * Notesnook * OpenLieroX * OpenTyrian * Osmo * Parley * Pekka Kana 2 * Pix * Pragha * PuTTY * q4wine * Qalculate! (Qt UI) * QMPlay2 * Qsynth * Qt Designer * Qt Linguist * Qt QDBusViewer * Racket * Rare * ReText * Rocks'n'Diamonds * Rocs * SDRangel * Seafile Client * Solarus Launcher * suanPan * Synology Assistant * Synology Drive * Tennix * TLPUI * Umbrello * UMLet * Urban Terror * Vieb * vokoscreenNG * War Thunder * Warsow * Wavebox * WebCord * Wine * Wolfenstein: Blade of Agony * World of PADMAN * Wyrmsun * XMind * YACReader * Ymuse * Zaz * Zrythm
2023-01-04 12:18:43 -05:00
org.kde.kdiff3
org.libreoffice.LibreOffice
org.vranki.spectral
)
flathub_apps_list="$(mktemp -u)"
papirus_icons_list="$(mktemp -u)"
_cleanup() {
rm -f "$flathub_apps_list" "$papirus_icons_list"
}
trap _cleanup EXIT HUP INT TERM
2020-11-22 06:49:53 -05:00
env XDG_DATA_DIRS="$HOME/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:$XDG_DATA_DIRS" \
flatpak remote-ls --app --columns app flathub | sort -u > "$flathub_apps_list"
git -C "$GIT_ROOT" ls-tree master:Papirus/64x64/apps --name-only |
sed 's/\.svg$//' | sort > "$papirus_icons_list"
while read -r app_id; do
[[ "${IGNORED_APPS[*]//$app_id/}" == "${IGNORED_APPS[*]}" ]] || continue
if [ -n "${MARKDOWN:-}" ]; then
# shellcheck disable=SC2016
printf ' - [ ] `%s` <kbd>[GitHub](%s)</kbd> <kbd>[Flathub](%s)</kbd>\n' \
"$app_id" "https://github.com/flathub/$app_id" "https://flathub.org/apps/details/$app_id"
else
printf '%s\n' "$app_id"
fi
done < <(comm -23 "$flathub_apps_list" "$papirus_icons_list")