aboutsummaryrefslogtreecommitdiffstats
path: root/packaging/windows
AgeCommit message (Collapse)Author
2013-05-14Fix Windows cross buildGravatar Dirk Hohndel
commit 59294029f3d1 ("Capitalize package name and add capitalized tar-ball prefix") had an unintended side effect: the cross build for Windows on Linux no longer worked (as it set NAME=subsurface.exe). Fixed this by introducing a TARGET variable that is derived from $(NAME). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Try to add required dependencies to get https working on WindowsGravatar Dirk Hohndel
This clearly isn't enough. But I simply can't seem to get this to work... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-11Report error string for libsoup connection to divelogs.deGravatar Dirk Hohndel
Just reporting a default string that something went wrong is kind of pointless... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-03Matching build fixes for cross built WindowsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-09Make Qt branch cross-build for WindowsGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-04-03Windows installer needs libsqliteGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-22Windows: add libzip dll to installer packageGravatar Dirk Hohndel
This was missing in the first set of Subsurface 3.0 binaries Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-21Some small changes to the Windows NSI scriptGravatar Lubomir I. Ivanov
- on uninstall, delete all XSLT files and the "$instdir\xslt" folder itself - manage a desktop icon (i believe we had that before?) - ignore SVG files, as we are now embedding them as static resources Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-20Add missing library to Windows installerGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Force recreation of the Windows .nsi file when cross buildingGravatar Dirk Hohndel
This way we make sure that the version number for the installer is correct. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-15Update the NSI installer script for WindowsGravatar Dirk Hohndel
This grabs the whole XSLT directory, adds osm-gps-map and removes the OpenSSL dependency. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-02Rename subsurface.svg to subsurface-icon.svgGravatar Henrik Brautaset Aronsen
In preparation for a subsurface-icon.h, this should avoid confusion about whether "subsurface.h" is a core header file. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
2013-01-24Try to automate the version number used in the windows installerGravatar Dirk Hohndel
This adds a Makefile target to create the .nsi file from a template and to hopefully create the right strings to magically get the correct version strings in the Windows installer Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-01-18Add libsoup to Windows installerGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-12-11Add crypto library to Windows installer fileGravatar Dirk Hohndel
This dependency was brought in by commit 3e51d56f87a3 "Improve on divecomputer data handling". Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-22Bump version to 2.1v2.1Gravatar Dirk Hohndel
Getting ready for the release Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-21Bump version to 2.1-rc3Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-18Bumped version to 2.1-rc2Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16Fix typo and make variable name more logicalGravatar Dirk Hohndel
[the macos/macosx typo was also found and a patch submitted by Henrik Brautaset Aronsen <subsurface@henrik.synth.no>] Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16Update version to 2.1-rc1Gravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16Improved packaging for WindowsGravatar Dirk Hohndel
This commit adds an install-cross-windows target to the Makefile that creates a staging directory for us under packaging/windows that contains the required .mo files. This currently fails for the Norwegian translation because of the no_NO.UTF-8 vs nb issue - right now we just use the first component of our own localization filename to find the matching Windows localization and that fails. The subsurface.nsi file is updated accordingly and this now appears to create working installers with sane paths for the localization files. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-16subsurface.nsi: call RMDir for the 'share' and 'locale' subfoldersGravatar Lubomir I. Ivanov
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-15Better Windows installer .nsi fileGravatar Dirk Hohndel
This still requires on carefully staged files in the packaging/windows directory. Specifically: - the dll directory (or symlink) points to the installed gtk Windows DLLs - the mydll directory (or symlink) contains six other DLLs (where the cross built DLLs from Fedora for some reason file, but can be transparently replaced with the ones from the upstream binary package - the share directory contains the Windows gtk locale files (but only for the locales that we support, anyway) Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-12Add translation files to the Windows installer packageGravatar Dirk Hohndel
A lot more needs to happen for localization on Windows, but this is the first step. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-09subsurface.nsi: install program shortcuts for all usersGravatar Lubomir I. Ivanov
http://nsis.sourceforge.net/Docs/Chapter4.html#4.9.7.7: "Sets the context of $SMPROGRAMS and other shell folders. If set to 'current' (the default), the current user's shell folders are used. If set to 'all', the 'all users' shell folder is used" Specific to the Windows installer. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-07Bump version to 2.0.1v2.0.1Gravatar Dirk Hohndel
That crash is far too easy to hit for people just trying out subsurface. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-09-26Getting ready for the 2.0 releaseGravatar Dirk Hohndel
Changing the version to 2.0-rc1 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-09-18Cosmetic changes to the NSIS installer scriptGravatar Ivan Habunek
Removed redundant /oname settings when copying files. This is not required since the file name is not changed. Signed-off-by: Ivan Habunek <ivan.habunek@gmail.com>
2012-09-18Fixed permissions in NSIS installerGravatar Ivan Habunek
Windows Vista and later require admin privileges to install to the Program Files folder. Updated RequestExecutionLevel accordingly. Signed-off-by: Ivan Habunek <ivan.habunek@gmail.com>
2012-09-13Minor improvements to the NSIS installer scriptGravatar Ivan Habunek
VIProductVersion requires to have the version number in x.x.x.x format so I added a separate constant SUBSURFACE_VIPRODUCTVERSION for that purpose. Also renamed VERSION to SUBSURFACE_VERSION for consistency. As Lubomir suggested on the mailing list, the installer will now delete any DLL files found in the target folder to prevent buildup of old versions of libraries when upgrading subsurface. Signed-Off-By: Ivan Habunek <ivan.habunek@gmail.com> Cleaned up whitespace issues Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-09-13Minor fix for the NSIS installer scriptGravatar Ivan Habunek
Forgot to add "Uninstall.exe" to the uninstaller section, so the file and the installation folder weren't being deleted on uninstall. Signed-Off-By: Ivan Habunek <ivan.habunek@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-09-13Added version info to NSI installer script.Gravatar Ivan Habunek
Also bumped version number to 1.2 (current release). Signed-Off-By: Ivan Habunek <ivan.habunek@gmail.com> More whitespace cleanup Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-09-13Created a modern windows installer scriptGravatar Ivan Habunek
The existing windows installer looks very archaic and offers very few configuration options. This script offers the following benefits: * A modern appearence using NSIS Modern UI 2.0 * Shows the GPL license before install * User can choose the target install folder * Stores chosen installation folder in registry * When installing a newer version on top of existing one, the existing installation folder is offered by default * It is possible to opt out of creating start menu shortcuts Additional bug fixes: * Added iconv.dll which was missing from the installer * Replaced all path separators with backwars slashes, so that the script works on both linux and windows Signed-Off-By: Ivan Habunek <ivan.habunek@gmail.com> Cleaned up whitespace Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-12-26Fixes for the Windows installerGravatar Dirk Hohndel
Add missing files and update a library version number. The library version thing seems to indicate that this is much more fragile than I'd want it to be... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-12-12Add libxslt to Windows packaging fileGravatar Dirk Hohndel
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-11-27Fix mingw-make.sh to find correct xslt-configGravatar Dirk Hohndel
I hadn't noticed that xslt was available as cross built library as well. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-11-25Update the Windows installer creation scriptGravatar Dirk Hohndel
This now works with a straight out of the box MinGW install on OpenSUSE. A simple shell script that shows how to invoke the cross build is included. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-10-31win32/nsi: added confirmation to store registry settingsGravatar Lubomir I. Ivanov
a yes/no dialog to clear or store data in HKCU "SOFTWARE\subsurface" "Do you wish to store subsurface's settings?" fixed small whitespace issue Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-10-29Fix Windows install destinationGravatar Dirk Hohndel
I used Desktop for trying things out and forgot to switch back to the more traditional "Program Files" Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-10-29Add first cut of the mingw cross build spec file + nsi fileGravatar Dirk Hohndel
These need more work but I'd rather have them here under version control. The spec file appears to successfully build the Windows binaries, given the right tar file to start with. Those binaries are then packed into an rpm file (extermely useless to Windows users). Once the rpm is unpacked one can then use the NSIS compiler and the .nsi file to create a Windows installer. This all is still extremely fragile, but it worked at least once... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-10-29Get icons working correctly under WindowsGravatar Dirk Hohndel
With this we are able to include both a separate .ico file that the program can load at runtime and a .res file (that is created from the .rc file, both in the packaging/windows directory) that is linked into the executable and makes the Windows Explorer show the correct icon for subsurface. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>