Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add normally available app logo icons to linux pkgs #95

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion linux/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@ nfpm.yaml: portmaster-start
build: icons nfpm.yaml gen-scripts gen-pkgbuild

icons:
for res in 16 32 48 96 128 ; do \
for res in 16 22 24 32 48 64 96 128 256 ; do \
mkdir -p icons/$${res}x$${res} ; \
convert ./portmaster_logo.png -resize "$${res}x$${res}" "icons/$${res}x$${res}/portmaster.png" ; \
done
mkdir -p icons/symbolic/apps
cp ./portmaster_logo.svg icons/symbolic/apps/portmaster-symbolic.svg

portmaster-start:
curl --fail --user-agent GitHub -o portmaster-start $(STARTURL)
Expand Down
20 changes: 15 additions & 5 deletions linux/nfpm.yaml.template
Original file line number Diff line number Diff line change
Expand Up @@ -48,18 +48,28 @@ contents:
#
# Icons
#
- src: icons/32x32/portmaster.png
- src: icons/32x32/portmaster.png
dst: /usr/share/pixmaps/portmaster.png
- src: icons/16x16/portmaster.png
- src: icons/16x16/portmaster.png
dst: /usr/share/icons/hicolor/16x16/apps/portmaster.png
- src: icons/32x32/portmaster.png
- src: icons/22x22/portmaster.png
dst: /usr/share/icons/hicolor/22x22/apps/portmaster.png
- src: icons/24x24/portmaster.png
dst: /usr/share/icons/hicolor/24x24/apps/portmaster.png
- src: icons/32x32/portmaster.png
dst: /usr/share/icons/hicolor/32x32/apps/portmaster.png
- src: icons/48x48/portmaster.png
- src: icons/48x48/portmaster.png
dst: /usr/share/icons/hicolor/48x48/apps/portmaster.png
- src: icons/96x96/portmaster.png
- src: icons/64x64/portmaster.png
dst: /usr/share/icons/hicolor/64x64/apps/portmaster.png
- src: icons/96x96/portmaster.png
dst: /usr/share/icons/hicolor/96x96/apps/portmaster.png
- src: icons/128x128/portmaster.png
dst: /usr/share/icons/hicolor/128x128/apps/portmaster.png
- src: icons/256x256/portmaster.png
dst: /usr/share/icons/hicolor/256x256/apps/portmaster.png
- src: icons/symbolic/apps/portmaster-symbolic.svg
dst: /usr/share/icons/hicolor/symbolic/apps/portmaster-symbolic.svg
scripts:
preinstall: ./scripts/preinstall.sh
postinstall: ./scripts/postinstall.sh
Expand Down
8 changes: 8 additions & 0 deletions linux/portmaster_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.