Skip to content
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
2 changes: 1 addition & 1 deletion linux.d/debian
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FOUND_GTK3=$(dpkg -l libgtk* | grep gtk-3)
FOUND_GTK3=$(dpkg -l libgtk* | grep gtk-3 || true)

REQUIRED_DEV_PACKAGES=(
autoconf
Expand Down
8 changes: 8 additions & 0 deletions src/platform/unix/BuildLinuxImage.sh.in
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,14 @@ echo -n "[9/9] Generating Linux app..."
# remove unneeded po from resources
## find package/resources/localization -name "*.po" -type f -delete ## FIXME: DD - do we need this?

# copy .desktop file and hicolor icons needed by system package builds
cp -f ../src/platform/unix/@SLIC3R_APP_KEY@.desktop package/@SLIC3R_APP_KEY@.desktop
for PNG_SIZE in 32 128 192; do
mkdir -p package/usr/share/icons/hicolor/${PNG_SIZE}x${PNG_SIZE}/apps
cp -f package/resources/images/@SLIC3R_APP_KEY@_${PNG_SIZE}px.png \
package/usr/share/icons/hicolor/${PNG_SIZE}x${PNG_SIZE}/apps/@SLIC3R_APP_KEY@.png
done

# create bin
cat << EOF >@SLIC3R_APP_CMD@
#!/bin/bash
Expand Down