aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
AgeCommit message (Collapse)Author
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>
2012-01-03More Mac improvementsGravatar Henrik Brautaset Aronsen
The startup shell script workaround isn't needed anymore. The preferences hotkey didn't work. Remove left-over menu separators. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
2012-01-01Turn subsurface into a real Mac applicationGravatar Dirk Hohndel
To do this a few things needed to move into the os specific files, but the overall change is fairly small and the difference on the Mac is amazing. Subsurface now becomes a Mac app with Mac toolbar and useful default fonts. Changed the CFBundleIdentifier to be the reverse DNS of the subsurface site (sadly, 'torvalds' is not yet a TLD). 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-11-05Use XSLT file to open JDiveLog logsGravatar Miika Turkia
Open JDiveLog files by translating them to subsurface format using XSLT. These files are identified by the name of the first element (JDiveLog) and transform is applied to only these. The XSLT feature is compiled in only if libxslt is installed. The transformation files are installed globally in Linux under /usr/share/subsurface/xslt. Windows and OSX still need appropriate Makefile changes and testing. Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.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-31Merge branch 'macosx-app-bundle-1' of git://github.com/henrik242/subsurfaceGravatar Linus Torvalds
* 'macosx-app-bundle-1' of git://github.com/henrik242/subsurface: Use the new packaging directory for MacOSX specific files, and provide shell script workaround to make the svg icon reachable. Ignore process serial number argument when run as native MacOSX app Add basic MacOSX app bundle install target
2011-10-31Add Debian packagingGravatar Roland Dreier
Add support for building .deb packages; to use, one can do $ cp -r packaging/debian debian $ dpkg-buildpackage -b This of course requires a libdivecomputer package as a build prerequisite. Signed-off-by: Roland Dreier <roland@digitalvampire.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-10-31Use the new packaging directory for MacOSX specific files, and provide shell ↵Gravatar Henrik Brautaset Aronsen
script workaround to make the svg icon reachable. - Make use of the new packaging directory. - Set a current directory for subsurface to find the svg icon. There might be a pretter solution to this. - Somehow subsurface doesn't behave properly in the Dock. Running it in the background without Dock integration until we figure out why. Signed-Off-By: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
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>
2011-10-24Updated changes fileGravatar Dirk Hohndel
Turns out that I forgot the -a in the last commit. Sorry Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-10-24Create packaging directory and add spec and changes fileGravatar Dirk Hohndel
These work for me on OBS Signed-off-by: Dirk Hohndel <dirk@hohndel.org>