Commit aead8dda authored by Jason Rhinelander's avatar Jason Rhinelander
Browse files

Install desktop file and app icons

parent e89b2adc
ricochet-refresh (1.1.4-2) unstable; urgency=medium
* add desktop file and resized icons
-- Jason Rhinelander <> Tue, 31 Mar 2020 16:36:49 -0300
ricochet-refresh (1.1.4-1) unstable; urgency=medium
* deb package
......@@ -2,7 +2,7 @@ Source: ricochet-refresh
Section: net
Priority: optional
Maintainer: Jason Rhinelander <>
Build-Depends: debhelper (>= 9), pkg-config, libssl-dev, libprotobuf-dev, protobuf-compiler, qtdeclarative5-dev, qttools5-dev-tools
Build-Depends: debhelper (>= 9), pkg-config, libssl-dev, libprotobuf-dev, protobuf-compiler, qtdeclarative5-dev, qttools5-dev-tools, imagemagick
Standards-Version: 4.4.1
debian/ricochet-refresh.desktop usr/share/applications
debian/icons/1024x1024/ricochet-refresh.png usr/share/icons/hicolor/1024x1024/apps
debian/icons/512x512/ricochet-refresh.png usr/share/icons/hicolor/512x512/apps
debian/icons/256x256/ricochet-refresh.png usr/share/icons/hicolor/256x256/apps
debian/icons/192x192/ricochet-refresh.png usr/share/icons/hicolor/192x192/apps
debian/icons/128x128/ricochet-refresh.png usr/share/icons/hicolor/128x128/apps
debian/icons/96x96/ricochet-refresh.png usr/share/icons/hicolor/96x96/apps
debian/icons/64x64/ricochet-refresh.png usr/share/icons/hicolor/64x64/apps
debian/icons/48x48/ricochet-refresh.png usr/share/icons/hicolor/48x48/apps
debian/icons/32x32/ricochet-refresh.png usr/share/icons/hicolor/32x32/apps
debian/icons/24x24/ricochet-refresh.png usr/share/icons/hicolor/24x24/apps
debian/icons/16x16/ricochet-refresh.png usr/share/icons/hicolor/16x16/apps
set -e
set -x
for x in 1024 512 256 192 128 96 64 48 32 24 16; do
# Generate from the PNG. The SVG is fake (it just has an embedded png inside it).
mkdir -p debian/icons/${x}x${x}
convert -verbose -filter Catrom -resize ${x}x${x} icons/ricochet_refresh.png debian/icons/${x}x${x}/ricochet-refresh.png
......@@ -21,9 +21,11 @@ export QT_SELECT=qt5
dh_auto_configure -- DEFINES+=RICOCHET_NO_PORTABLE
# dh_make generated override targets
# This is example for Cmake (See )
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
# Remove the images that `make install` installs: the 1517x1517 png gets installed into 48x48
# is just wrong, and the "scalable" svg file is actually just the same PNG stuffed into
# an svg file because, um.
rm -f debian/ricochet-refresh/usr/share/icons/hicolor/48x48/apps/ricochet_refresh.png
rm -f debian/ricochet-refresh/usr/share/icons/hicolor/scalable/apps/ricochet_refresh.svg
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment