Skip to content
Snippets Groups Projects
Unverified Commit a04ca4ca authored by Newbyte's avatar Newbyte :snowflake: Committed by Oliver Smith
Browse files

main/postmarketos-hidden-desktop-entries: remove (MR 4086)

GNOME Console can now launch command-line applications from .desktop
files, so they are no longer "useless" in Phosh.

gnome-extensions-app hasn't been pulled in automatically in Phosh for
long. If users install this manually, it would be confusing for it to
not show up. The app itself has an error message that explains they
need to be logged into GNOME for it to work when launched in e.g.
Phosh, so I think that should take care of UX concerns. Additionally,
this package is installed in gnome-mobile as well, where
gnome-extensions-app actually is useful.

firefox-safe-mode has been removed in Alpine:
 - https://git.alpinelinux.org/aports/commit/community/firefox?id=438ee43621e1a83c8309bf7e5e14ba9fce0532ff
 - https://git.alpinelinux.org/aports/commit/community/firefox-esr?id=0f324c8b39ab08cc3f504e4ae959425bec472791

Considering all of this, postmarketos-hidden-desktop-entries no longer
serves a purpose, so let's remove it.
parent 9f15da8d
Branches
No related tags found
No related merge requests found
# Maintainer: Oliver Smith <ollieparanoid@postmarketos.org>
pkgname=postmarketos-hidden-desktop-entries
pkgver=2.2
pkgrel=1
pkgdesc="Hide useless .desktop icons (vim, htop, Firefox safe mode, ...)"
url="https://postmarketos.org"
arch="noarch"
license="GPL-3.0-or-later"
source="nodisplay.desktop"
options="!check"
replaces="
firefox
firefox-esr
gnome-shell
gvim
htop
neovim
vim
"
# Find original .desktop files in /usr/share/applications. Add original
# providers of the .desktop file to replaces="" above. They can be found here:
# https://pkgs.alpinelinux.org/contents?file=htop.desktop
_hidden="
firefox-esr-safe
firefox-safe
htop
nvim
org.gnome.Extensions
vim
"
package() {
local dir="$pkgdir/usr/share/applications/"
local i
install -Dm644 "$srcdir/nodisplay.desktop" -t "$dir"
cd "$dir"
for i in $_hidden; do
ln -vs "nodisplay.desktop" "$i.desktop"
done
}
sha512sums="97b7aff6ff8f8451a654ae002500a4a56f289a2318ece759aa7705836e246a7fd33602a21bee48a8b2a1f6f513ac9835c039d75eb6c031cceea9b58dd2aeaea9 nodisplay.desktop"
[Desktop Entry]
NoDisplay=true
Version=1.0
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment