[X2Go-Commits] [pyhoca-gui] 01/01: Windows: Reduce size of NSIS installer by switching to lzma solid compression
git-admin at x2go.org
git-admin at x2go.org
Sun Jul 6 22:58:27 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository pyhoca-gui.
commit a79d458dddd2bd45c94045fe11eb6cfb07659bc6
Author: Mike DePaulo <mikedep333 at gmail.com>
Date: Sun Jul 6 16:58:20 2014 -0400
Windows: Reduce size of NSIS installer by switching to lzma solid compression
---
debian/changelog | 1 +
nsis_template.py | 4 ++++
2 files changed, 5 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 9730daa..9eaead3 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -78,6 +78,7 @@ pyhoca-gui (0.5.0.0-0x2go1) UNRELEASED; urgency=low
- Windows: Upgrade from VcXsrv 1.14.2.0 to VcXsrv-xp 1.14.3.2
- Windows: Use Unicode NSIS instead of regular NSIS.
See x2goclient bug #528 for reasoning.
+ - Windows: Reduce size of NSIS installer by switching to lzma solid compression
-- Mike Gabriel <mike.gabriel at das-netzwerkteam.de> Wed, 08 Jan 2014 21:28:37 +0100
diff --git a/nsis_template.py b/nsis_template.py
index 42daf46..5574e95 100644
--- a/nsis_template.py
+++ b/nsis_template.py
@@ -40,6 +40,10 @@ OutFile "..\\{program_name}_${{VERSION}}_win32-setup.exe"
; The default installation directory
InstallDir $PROGRAMFILES\\{program_name}
+; NSIS 2.46 defaults to zlib. Setting this reduces the size of current
+; builds (which include no fonts for the X server) by about 27%
+SetCompressor /SOLID lzma
+
; Registry key to check for directory (so if you install again, it will
; overwrite the old one automatically)
InstallDirRegKey HKLM "Software\\{program_name}" "Install_Dir"
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/pyhoca-gui.git
More information about the x2go-commits
mailing list