aboutsummaryrefslogtreecommitdiffstats
path: root/packaging
AgeCommit message (Collapse)Author
2013-05-17Merge branch 'Qt'Gravatar Dirk Hohndel
After the 3.1 release it is time to shift the focus on the Qt effort - and the best way to do this is to merge the changes in the Qt branch into master. Linus was extremely nice and did a merge for me. I decided to do my own merge instead (which by accident actually based on a different version of the Qt branch) and then used his merge to double check what I was doing. I resolved a few things differently but overall what we did was very much the same (and I say this with pride since Linus is a professional git merger) Here's his merge commit message: This is a rough and tumble merge of the Qt branch into 'master', trying to sort out the conflicts as best as I could. There were two major kinds of conflicts: - the Makefile changes, in particular the split of the single Makefile into Rules.mk and Configure.mk, along with the obvious Qt build changes themselves. Those changes conflicted with some of the updates done in mainline wrt "release" targets and some helper macros ($(NAME) etc). Resolved by largely taking the Qt branch versions, and then editing in the most obvious parts of the Makefile updates from mainline. NOTE! The script/get_version shell script was made to just fail silently on not finding a git repository, which avoided having to take some particularly ugly Makefile changes. - Various random updates in mainline to support things like dive tags. The conflicts were mainly to the gtk GUI parts, which obviously looked different afterwards. I fixed things up to look like the newer code, but since the gtk files themselves are actually dead in the Qt branch, this is largely irrelevant. NOTE! This does *NOT* introduce the equivalent Qt functionality. The fields are there in the code now, but there's no Qt UI for the whole dive tag stuff etc. This seems to compile for me (although I have to force "QMAKE=qmake-qt4" on f19), and results in a Linux binary that seems to work, but it is otherwise largely untested. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-15Windows installer: append the package version to registryGravatar Lubomir I. Ivanov
On installation, set the "DisplayVersion" registry value to ${SUBSURFACE_VERSION}, so that a version is displayed when browsing the list of installed programs. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-05-14Windows installer: add an "Add/Remove Programs" entryGravatar Lubomir I. Ivanov
The NSIS script on installation will write a key to the registry that will be shown to the user as a "Subsurface" entry (with icon) in the list of installed programs that can be uninstalled (e.g. in the Control Panel). On uninstall, said registry key will be removed. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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-03-05Remove ancient (and unwanted) Debian packaging directoryGravatar Dirk Hohndel
The Debian maintainers prefer this to be separate from the upstream sources Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-23Mac bundle: include the XSLT filesGravatar 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-20Update MacOS make-package scriptGravatar Dirk Hohndel
The three digit number is needed for the Info.plist, not for the dmg and volume names. 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-16Consistent syntax.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless whitespace.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless curly brackets.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Remove useless quotes.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16Unified handling of version extraction.Gravatar Cristian Ionescu-Idbohrn
Removed oddly named and ridiculously outdated documentation text (scripts). Created new directory 'scripts'. Added unified version extraction script (scripts/get-version). Yes, it's more shell script code but faster and more maintainable than the sed commands and the swearwords/regexps repeated over and over again. Makefile and packaging/macosx/make-package.sh modified accordingly. I don't do windos neither macos but, AFAICS my tests show, it should be safe. Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-16No bashisms in this script, AFAICS.Gravatar Cristian Ionescu-Idbohrn
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-15Further automization of the Mac build processGravatar Dirk Hohndel
This improves the Plist.info and automates the version data that it uses utilizing the same git magic that the Makefile uses. It also makes the complete DMG creation a matter of simply running packaging/macosx/make-package.sh 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-15Add Mac DMG background fileGravatar Dirk Hohndel
This is actually used in commit b354a4d61d2a ("Update tools and instructions for building a signed Mac DMG") but I forgot to include it there. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2013-02-15Update tools and instructions for building a signed Mac DMGGravatar Dirk Hohndel
This updates the bundle to include the mime.cache and a library that somehow isn't picked up by the bundle tool. It also updates the README on how all this is supposed to work and puts some of the automation into the existing shell script. 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-02-01Bump version number to 2.9v2.9Gravatar Dirk Hohndel
This is intended as a visual sign that we are getting closer to 3.0. We should consider this a "soft" code freeze / string freeze - I'm still looking for a bunch of fixes, small additions and of course documentation, but no new major features. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
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-19Add modules file for building prerequisites on MacOS XGravatar Dirk Hohndel
This should allow the user to build osm-gps-map with jhbuild (all other required components are already build by the jhbuild default modules). 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-21Add quick script to automate Mac dmg creationGravatar Dirk Hohndel
This basically automates what is documented in the README 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-20Finally a fully working Mac dmgGravatar Dirk Hohndel
The Makefile change simply gets us the same setup with make install-macosx that we are getting from the gtk-mac-bundler - with the launcher script and subsurface installed as subsurface-bin. The changes in the README are what make the difference for getting a working dmg - there are a bunch of .so files that are part of gtk that didn't have their dependency load paths updated - and those made the application either crash or at least not display its own icon correctly. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2012-10-19Yet more changes to create localized builds for MacGravatar Dirk Hohndel
It turns out that we need aliases for all the languages. And more fiddling when creating the dmg. And a specialized MacPorts build with the install path as prefix. What this basically means is that our app will be correctly localized iff run as /Applications/Subsurface.app Otherwise the gtk default texts (on buttons for example) may or may not be translated. One remaining issue is that apparently Gtk's Mac integration triggers on the untranslated name Help the Menu tree in order to work. Yet we can't easily tell the app not to translate that word as the translations are done internally in gtk - we'd basicall have to build special subsurface.mo files for Mac that don't contain a translation of the word "Help" for this to work. 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-16Redoing the Mac bundlingGravatar Dirk Hohndel
With the right tools in place you can now create a bundle from the Makefile by calling "make create-macos-bundle" In the process of this I also moved the locale directory where we stage our .mo files to share/locale (which is much more logical). 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-15Merge branch 'gettext'Gravatar Dirk Hohndel
Bring all the localization changes into master in preparation for Subsurface 2.1
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-11More gtk-mac-bundler improvementsGravatar Henrik Brautaset Aronsen
Without "-headerpad_max_install_names", gtk-mac-bundler would complain with "changing install names or rpaths can't be redone for: /Applications/.subsurface.app/Contents/MacOS/subsurface-bin (for architecture x86_64) because larger updated load commands do not fit" Also, libdivecomputer needs to be configured with --with-prefix=/opt/local Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> 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-10-04Force subsurface.sh on Mac to use bashGravatar Dirk Hohndel
This was in a patch set from Henrik but got dropped at first while we explored a different solution. So now it comes back as maybe the most trivial commit, ever :-) Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>