With the current setup, OpenBSD 6.0's g++4 on a VM with 4GB ram can't even
build Mumble, because the generated .cpp file from mumble_flags.qrc is
32MB.
This commit attempts to work around that by splitting our SVG flags into
separate resource files.
To make it easier to work with from the qmake build, we now also generate
a mumble_flags.pri file that will automatically add all necessary .qrc
files to RESOURCES.
This removes a lot of very hacky stuff. Its own job was to
let the manual plugin be a separate DLL.
Now that the manual plugin is built into Mumble itself, all
these dirty tricks can be removed.
Since we don't have to export a lot of symbols that we don't
use anymore, the linker can remove a lot of unused code for us:
mumble_app.dll before (1.3.0~969): 40.345 KB
mumble_app.dll after: 36.819 KB
Difference: -3.526 KB
As-is, the murmur.ini.system used by our PPA builds
(and Debian-based distros) are broken because the
script doesn't set the "logfile" and "pidfile"
options.
The email capture group accidently captured
the whole email part of the contact, including
angle brackets.
Update the capture group to only capture the
actual email address.
We have no use for this script that converts
.ts files to .html for easier human consumption.
We now use Transifex for even easier localization.
Delete the file.
Previously, qt.conf was used to sepecify the runtime
plugin path for Qt in our dynamic Windows and OS X
builds.
Now that those builds use static Qt, the file is
unused.
Delete it.
My own rule of thumb for scripts in our repo is to keep the
number dependencies down. In practice, this means I always
strive to only use the standard library.
In this case, it's not that easy.
The existing code sorted sufficiently on Windows.
However, when run on Unix-like systems, it produces odd, and
to my mind, unexpected sorting behavior. (Such as ignoring spaces,
and sorting 'Hey You' after 'Heyh You'.)
I suppose the sort order is a matter of preference.
But the non-determinism of the script's output isn't.
If we don't fix this, we'll get noisy diffs once in a while,
which isn't very nice.
This commit changes the script to use 'pyuca' to
do the sorting. This is a pure Python module, so
it's easy to install via pip on all OSes.