commit | 922380d150cd8ab4b2e400b7a10324f61ad01e50 | [log] [tgz] |
---|---|---|
author | Alexandre Lision <alexandre.lision@savoirfairelinux.com> | Tue Sep 15 10:25:17 2015 -0400 |
committer | Guillaume Roguez <guillaume.roguez@savoirfairelinux.com> | Wed Sep 16 11:48:09 2015 -0400 |
tree | cc64d056056a0732c57d6cf59a750ab41d55b8ab | |
parent | 46dc0c3f76f6dac64438c8cb214887f6ea0262a6 [diff] |
i18n: integrate translations to packaging This commit adds internationalization support We interface with Transifex as our web translation platform. Two new scripts: - generate-strings.sh: generates source files in English. We need one source file by UI file (Apple's law) + one Localizable.strings for strings in code. - update-translations.sh: pulls translations completes at 75% at least from transifex, and cleanup the files (UTF-16LE to UTF-8 encoding, and remove first line with corrupted char) Issue: #80347 Change-Id: Iefd297e424aaacefe6e867192e10dabd21bfb8d2
Ring Mac OSX
This is the official Mac port of Ring.
Ring can ship with the Sparkle framework to allow automatic app updates. This can be disabled for your custom build by specifying -DENABLE_SPARKLE=false in the cmake phase.
mkdir build && cd build
export CMAKE_PREFIX_PATH=<dir_to_qt5>
Now generate an Xcode project with CMake: 3. cmake ../ -DCMAKE_INSTALL_PREFIX=<libringclient_install_path> -G Xcode 4. open Ring.xcodeproj/ 5. Build and run it from Xcode. You can also generate the final Ring.app bundle.
You can also build it from the command line:
If you want to create the final app (self-containing .dmg):
Notes:
By default the client version is specified in CMakeLists.txt but it can be overriden by specifying -DRING_VERSION= in the cmake command line.
For now, the build type of the client is "Debug" by default, however it is useful to also have the debug symbols of libRingClient. To do this, specify this when compiling libRingClient with '-DCMAKE_BUILD_TYPE=Debug' in the cmake options.