Rakefiles: install icon and `.desktop` for Smalltalk/X stx-8.0.0
authorJan Vrany <jan.vrany@fit.cvut.cz>
Tue, 29 May 2018 22:04:08 +0100
branchstx-8.0.0
changeset 239 387a9f13f1aa
parent 235 52aceb57d976
child 240 c002a607e884
child 242 88110510dfc9
Rakefiles: install icon and `.desktop` for Smalltalk/X ...so running Smalltalk/X IDE has a nice(ish) icon and windows are properly grouped in task manager. So far this has only been tested under GNOME Shell. https://swing.fit.cvut.cz/projects/stx-jv/ticket/66
rakelib/dist-jv.rake
--- a/rakelib/dist-jv.rake	Tue May 29 21:17:28 2018 +0100
+++ b/rakelib/dist-jv.rake	Tue May 29 22:04:08 2018 +0100
@@ -110,6 +110,8 @@
         install BUILD_DIR / 'stx' / 'projects' / 'smalltalk'/ 'smalltalk.ps1', bin_dir / 'smalltalk.ps1'
         install BUILD_DIR / 'stx' / 'projects' / 'smalltalk'/ 'smalltalk.cfg', bin_dir / 'smalltalk.cfg'
       when unix?
+        install BUILD_DIR / 'stx' / 'projects' / 'smalltalk'/ 'smalltalkx.desktop', bin_dir / 'stx'
+        install BUILD_DIR / 'stx' / 'projects' / 'smalltalk'/ 'smalltalkx.svg', bin_dir / 'stx'
         install BUILD_DIR / 'stx' / 'projects' / 'smalltalk'/ 'smalltalk', bin_dir / 'stx'
         sed 'STX_VERSION=$STX_VERSION_DEFAULT', "STX_VERSION=#{version}", bin_dir / 'stx', true
       else