Moritz Bunkus
7e600c7e70
build system: centralize runq output
...
That way adjusting to a uniform width is easier.
2016-03-26 12:34:52 +01:00
Moritz Bunkus
535a188255
build system: remove outdated rule for wxWidgets help books
2016-03-26 12:32:46 +01:00
Moritz Bunkus
8af78d72fc
build system: add targets for pushing to Transifex
2016-03-26 12:15:11 +01:00
Moritz Bunkus
63b07980a7
build system: only pull from Transifex if no unstaged changes exist
2016-03-26 11:58:44 +01:00
Moritz Bunkus
0ad5131eba
build system: add target for verifying there are no unstaged changes
2016-03-26 11:56:40 +01:00
KonaBlend
cee1debeaf
add explicit pch support
...
- convert gcc to use -include
- add clang support for -include
- new target namespace: pch (invoke rake -T or pch:overview for details)
- move pch logic into rake.d/pch.rb
- convert a few troublesome source files from ISO-8859-1 -> UTF-8
- add persistent config: config.pch.json
- add TTY support for running commands with filters (keeps pretty
color diagnostics even when filtering compiler stdout/stderr)
- for fun try:
drake "pch[pretty]"
drake -j4
drake pch:status
2016-03-26 03:52:21 -04:00
KonaBlend
64ac7cd981
fix gcc precompiled headers
...
- gcc will disqualify candidate .gch files with incorrect language
2016-03-20 15:09:09 -04:00
Moritz Bunkus
64d6ad3c40
build system: add targets for pulling & merging from Transifex
2016-02-28 11:47:01 +01:00
Moritz Bunkus
9bb97976d6
build system: add target for normalizing all .po files to one format
...
Pulling and integrating the translation updates from Transifex
will need automation. In order to keep the resulting diffs as
small as possible all files will have to use a unified format.
This code re-writes all po files in that format.
2016-02-28 11:08:00 +01:00
Moritz Bunkus
5d38913181
build system: helper target for pulling from Transifex
2016-02-21 15:19:28 +01:00
Moritz Bunkus
da264ffc6c
build system: preliminary support for context-aware translations
2016-01-18 21:37:52 +01:00
Moritz Bunkus
01e6695b8c
build system: remove superfluous bin2h functions
...
This function and the associated rules are leftovers from the
mmg/wxWidgets days.
2016-01-18 21:12:49 +01:00
Moritz Bunkus
98fce862fd
build system: speed up dependency calculation for the GUI
...
The build system dynamically calculates the dependencies of the .cpp/.h
files regarding the QtCreator form files. This is done by reading the
content of the .cpp/.h files and analyzing their #include directives.
The prior implementation was pretty inefficient: for each existing form
file all lines from all .cpp/.h files were matched against that regular
expression. This has been changed: first all .cpp/.h lines are scanned
for #include exactly once and the result is stored in a hash. Then for
each #include found one dependancy is generated.
This cuts down the time of "./drake -T" from ~1.8 seconds to ~0.3
seconds.
2016-01-15 22:17:00 +01:00
Moritz Bunkus
e56f474163
build sys: add target for verifying only staged format strings
2016-01-15 11:57:32 +01:00
Moritz Bunkus
260e1fb93a
GUI: escape tool tip strings properly
...
The function Util::setToolTip() HTML-escapes the tool tip if it doesn't
start with a <. Otherwise it assumes the caller has taken care of
escaping. So far not all callers did, though; some were inserting
non-escaped translated strings into formatting strings like
"<p>%1</p><p>%2</p>" resulting in invalid HTML and cut-off tool tips
during display.
2015-12-24 10:11:10 +01:00
Moritz Bunkus
cd26a118b2
build system: build ebml_validator tool when not cross-compiling
...
The tests using mkvpropedit run ebml_validator afterwards. Therefore the
tool should be built if there's a chance the tests are run.
2015-11-21 15:07:39 +01:00
Moritz Bunkus
4efd21e83b
build system: improve clean task
2015-11-04 19:37:26 +01:00
Moritz Bunkus
ea006b4a5b
Build system: target for HTML versions of man pages for a single language
2015-10-25 10:29:56 +01:00
Moritz Bunkus
583e529698
build system: better header generation for translations:new-po
...
gettext already creates a header in the .pot. So adjust that one instead
of prepending another one, especially one that's incomplete (it was
missing the character set and the plural forms).
2015-09-29 21:37:44 +02:00
Moritz Bunkus
8c5d97b69d
build system: use -fsanitize=undefined if UBSAN is set
2015-09-16 10:01:37 +02:00
Moritz Bunkus
bace4539fd
translations: rename sr to sr_RS@latin
...
Done in preparation for additional Cyrillic Serbian translation.
2015-08-29 19:26:02 +02:00
Moritz Bunkus
eb21731592
Revert "Use -fPIE instead of -fPIC"
...
This reverts commit 66cdb89842
. The reason
is that building with -fPIE seems to fail on openSUSE Tumbleweed:
http://forum.doom9.org/showthread.php?p=1734734#post1734734
See #1361 .
2015-08-18 14:45:40 +02:00
Moritz Bunkus
20e26c840b
build system: remove option --without-mkvtoolnix-gui
2015-08-15 20:33:46 +02:00
Moritz Bunkus
64465ce72b
all: remove support for wxWidgets; remove mmg
2015-08-15 20:33:46 +02:00
Moritz Bunkus
541cbfe3ec
build system: use -fstack-protector… during linking, too
2015-08-11 16:39:20 +02:00
Moritz Bunkus
94eb9af366
build system: enable gcc's stack protection
...
Implements #1370 .
2015-08-11 15:02:58 +02:00
Moritz Bunkus
25d6ac48ce
build system: compile with ASLR and DEP for mingw
...
Implements #1370 .
2015-08-10 22:39:28 +02:00
Moritz Bunkus
65b8e83f3e
build system: use -march=i686 for 32bit mingw builds
...
Boost is built with the same optimizations. And if they're not used then
the linker will spill annoying (but harmless) warnings about »data
section size mismatch«.
2015-08-10 22:38:44 +02:00
Moritz Bunkus
8da73666c7
cosmetics
2015-08-10 22:08:45 +02:00
darealshinji
66cdb89842
Use -fPIE instead of -fPIC
2015-07-20 12:35:03 +02:00
Moritz Bunkus
9042b3ebf8
GUI: show progress in Windows on task bar button
...
Implements #1335 .
2015-07-04 18:21:26 +02:00
Moritz Bunkus
28caec76f3
move qtcreator project file to src/mkvtoolnix-gui directory
2015-06-06 12:14:34 +02:00
Moritz Bunkus
479f5d3670
build system: build Qt translation files on MingW
2015-06-03 20:06:34 +02:00
Moritz Bunkus
83ae247671
build system: fix rule for installing the mkvtoolnix-gui man page
2015-05-30 11:11:08 +02:00
Moritz Bunkus
3b8458f38d
build system: compile without maybe-uninitialized warnings for gcc
...
See e.g.
http://stackoverflow.com/questions/21755206/how-to-get-around-gcc-void-b-4-may-be-used-uninitialized-in-this-funct
2015-05-23 19:45:35 +02:00
Moritz Bunkus
bbe126e06f
build system: install desktop files and icons if Qt is enabled
...
Fixes #1188 .
2015-05-11 19:25:19 +02:00
Moritz Bunkus
b13c83b1bc
rename mkvmergeGUI.* icons to mkvtoolnix-gui.*
2015-05-09 09:41:04 +02:00
Moritz Bunkus
57434e271f
build system: fix windres flags for 32bit compilation
...
This was accidentally introduced in e3a2743
and resulted in the 32bit
binaries not running.
2015-05-03 17:51:22 +02:00
Moritz Bunkus
e3a274386b
build system: make flag declarations a bit easier to read and understand
2015-04-28 20:44:11 +02:00
Moritz Bunkus
afb6472d6d
build system: use correct order for linker flags for internal libEBML/libMatroska
...
Should fix #1177 .
2015-04-28 13:55:10 +02:00
Moritz Bunkus
7425b66ef8
build system: recognize translation macros returning Qt strings
2015-04-14 21:55:11 +02:00
Moritz Bunkus
afef02ff0a
common: refactor fs_sys_helpers to separate files depending on OS; also namespaces
2015-04-10 22:24:20 +02:00
Moritz Bunkus
817ef47276
Merge pull request #1153 from rathann/master
...
build system: use system version of UTF8-CPP if present
2015-04-07 19:06:25 +02:00
Moritz Bunkus
9f084bde5b
build system: ignore SIGALRM
...
For some obscure reason (d)rake sometimes abort due to receiving a
SIGALRM when it's run inside Emacs.
2015-04-05 13:36:50 +02:00
Moritz Bunkus
9f1142f0cd
build system: target for updating the GUI's Qt project file
2015-04-03 15:07:27 +02:00
Moritz Bunkus
093dcb09ae
GUI: refactor HeaderEditor* classes to mtx::gui::HeaderEditor namespace
2015-04-02 21:02:08 +02:00
Moritz Bunkus
be197f383f
build system: don't include src/{tools,scripts} in $all_sources
...
Otherwise those directories will be searched for strings to translate,
too, and that's currently not desired.
2015-04-01 09:14:23 +02:00
Moritz Bunkus
577cc0f7cc
build system: build pre-compiled headers before MKVToolNix GUI sources
2015-03-31 21:47:11 +02:00
Moritz Bunkus
47eb5f8167
GUI: implement update checks
2015-03-31 21:47:11 +02:00
Dominik 'Rathann' Mierzejewski
fcd92036b4
build system: use system version of UTF8-CPP if present
2015-03-31 01:35:23 +02:00
Moritz Bunkus
6050a1674b
tools: new hevc_dump utility
2015-03-27 11:42:32 +01:00
Moritz Bunkus
0c78856868
build system: build tools if called from src/tools directory
2015-03-27 10:04:33 +01:00
Moritz Bunkus
c2a74a8ebe
build system: don't build tools by default but provide configure option
2015-03-25 20:21:59 +01:00
Moritz Bunkus
2fcc79b00c
build system: check for and turn off some new warnings from clang++ 3.6
...
These warnings include -Winconsistent-missing-override and
-Wpotentially-evaluated-expression which are both triggered by code out
of my control (Qt and wxWidgets).
2015-03-25 17:51:30 +01:00
Moritz Bunkus
4f116a93b5
build system: test for -std=c++14
2015-03-24 17:04:35 +01:00
Moritz Bunkus
0bad8270cb
build system: fix Ruby warnings
...
These include:
- assigned but unused local variable
- & interpreted as argument prefix
- ambiguous first argument
- shadowed variables
2015-03-24 13:20:18 +01:00
Moritz Bunkus
8b22523e55
build system: multiple sources in one line in Swedish translation file
2015-03-24 13:14:55 +01:00
Moritz Bunkus
fd720e5cf1
Merge remote-tracking branch 'refs/remotes/ubicastteam/static-compile'
2015-02-25 21:57:33 +01:00
Moritz Bunkus
7b569ea97b
build system: add targets for file names of HTMLized man pages
2015-02-25 20:49:50 +01:00
Moritz Bunkus
f22a504aaa
build system: build the tools by default
2015-02-23 21:05:43 +01:00
Florent Thiéry
6696fe004a
Merge branch 'master' of https://github.com/mbunkus/mkvtoolnix into static-compile
2015-02-19 13:31:29 +01:00
Moritz Bunkus
fff7f90859
Build system: always build the mkvtoolnix-gui
2015-02-18 14:32:01 +01:00
Anthony Violo
1e6b546cd1
Added option to compile static binaries
2015-02-18 11:44:45 +01:00
Moritz Bunkus
d17e29af00
build system: use PACKAGE_NAME/_VERSION instead of self-defined variables
2015-02-12 14:35:48 +01:00
Moritz Bunkus
a5581ae7ef
Translations: added a Serbian translation by Danko
2015-01-23 14:51:10 +01:00
Moritz Bunkus
4d8243bc02
build system: use pandoc's markdown_strict format instead of --strict
...
Recent versions of pandoc have --strict removed. Instead the
markdown_strict input format must be used.
2015-01-23 12:29:18 +01:00
Moritz Bunkus
f5fdf8a2f8
mkvmerge refactoring: split pr_generic.* in single files per class
2015-01-07 17:21:34 +01:00
Moritz Bunkus
4a252c4b0f
tools: add a file checksum tool
...
Useful for testing purposes of the implementation of MKVToolNix'
checksum code.
2015-01-03 16:54:53 +01:00
Moritz Bunkus
cf93e81228
checkums: complete re-write of the checksum code
...
Also fixes the implementation of the Adler32 algorithm.
2015-01-03 16:52:27 +01:00
Moritz Bunkus
b47ae1ee4b
build system: use libEBML/libMatroska via pkg-config
2014-12-21 10:50:26 +01:00
Moritz Bunkus
61e9e36592
build sys: use system version of pugixml if present
...
Fixes #1090 .
2014-12-05 12:35:39 +01:00
Moritz Bunkus
8d32a62b9b
Translations: enable Catalan translation
2014-11-05 09:50:02 +01:00
Moritz Bunkus
3451843c0b
Build system: don't warn about missing field initializers
2014-10-07 19:06:46 +02:00
Moritz Bunkus
4a610ce9c1
Build system: Qt: link against and load platform plugin on Windows
2014-09-07 21:30:50 +02:00
Moritz Bunkus
291890ca30
Build system: rake target for building a source tarball
2014-09-01 15:38:44 +02:00
Moritz Bunkus
7ce1885173
Build system: don't word-wrap Turkish .po file
2014-08-24 14:40:12 +02:00
Moritz Bunkus
fb88e463f2
build system: add target for stripping executables
2014-07-26 19:15:18 +02:00
Moritz Bunkus
2c553f944d
build system: always make target 'apps:tools' available
2014-07-15 20:16:14 +02:00
Moritz Bunkus
6cbbab537f
build system: fix function call args for translations:update:manpages
2014-05-24 20:14:10 +02:00
Moritz Bunkus
1ea5a2f8c9
Build system: adjust po settings for Polish translator's poedit
2014-04-18 09:16:29 +02:00
Moritz Bunkus
d7381b93b3
build system: don't word-wrap Dutch translation file
2014-03-23 20:05:34 +01:00
Moritz Bunkus
2f97945b15
build system: adjust Ukrainian translation files format
2014-03-22 09:25:27 +01:00
Moritz Bunkus
108e5dbe71
Merge branch 'master' into mkvtoolnix-gui
2014-02-07 22:30:44 +01:00
Moritz Bunkus
8546756f7a
mpls_dump: a new tool for dumping MPLS file structures
2014-02-05 07:53:34 +01:00
Moritz Bunkus
2fc478d78e
Merge remote-tracking branch 'refs/remotes/mosu/master' into mkvtoolnix-gui
2014-02-01 23:57:33 +01:00
Moritz Bunkus
234975b965
build system: don't scan file system twice for mkvtoolnix-gui .cpp files
2014-02-01 23:43:58 +01:00
Moritz Bunkus
2d3be2275f
build system: use tighter dependencies for Qt files
2014-02-01 23:43:57 +01:00
Moritz Bunkus
69d9820d30
build system: don't add -fPIC on Windows
...
…as that flag is ignored for the platform and causes warnings
2014-02-01 23:43:17 +01:00
Moritz Bunkus
5596af7235
build system: don't wrap Basque translation file
2014-01-25 12:42:36 +01:00
Moritz Bunkus
c151f2043b
build system: move format string verification into Rakefile
2014-01-25 12:42:36 +01:00
Moritz Bunkus
9d2c49f860
Rakefile: add -fPIC to CXXFLAGS if compiling with Qt
2014-01-16 12:16:05 +01:00
Moritz Bunkus
69d16da4e7
build system: require Ruby 1.9.x or newer
2014-01-08 14:20:15 +01:00
Moritz Bunkus
cd13fb900f
build system: use correct processor architecture for 64bit Windows builds
2014-01-02 21:23:13 +01:00
Moritz Bunkus
afd81c7bb6
build system: only depend on .png header for files actually using them
2014-01-01 22:37:28 +01:00
Moritz Bunkus
3d015db49b
build system: convert bin2h call from Ruby executable to built-in function
2014-01-01 21:41:01 +01:00
Moritz Bunkus
a77be987e3
build system: don't store generated icon .h in the repo
2014-01-01 21:33:22 +01:00
Moritz Bunkus
89c1eb68a3
mmg: show sort indicators in »scanned files« list box
...
See #954 .
2014-01-01 21:33:21 +01:00
Moritz Bunkus
17562886a6
build system: reformat certain po files to match poedit's current output
2013-12-29 00:29:28 +01:00
Moritz Bunkus
46829f6d9b
build system: let target 'clean' remove unit test object/lib files
2013-12-25 19:59:37 +01:00
Moritz Bunkus
2670e2e168
build system: use gtest system installation if present
2013-12-25 13:00:28 +01:00
Moritz Bunkus
03011e08f9
build system: install PNG images for the guides as well
...
Fixes #941 .
2013-12-15 12:42:43 +01:00
Moritz Bunkus
953aa7e4f2
build system: fix missing space in compiler options if optimizations are enabled
2013-11-27 22:00:00 +01:00
Moritz Bunkus
5b887990ca
build system: use -std=c++11 instead of -std=c++0x if the compiler supports it
2013-10-26 18:50:15 +02:00
Moritz Bunkus
da654e7ea7
build system: add -Wlogical-op warning flag for gcc 4.8.x
2013-10-26 12:52:22 +02:00
Moritz Bunkus
5de88ec536
build system: move compiler warning flag checks to their own file
2013-10-26 12:52:22 +02:00
Moritz Bunkus
4f91fa0b30
build system: define WINVER and _WIN32_WINNT from the Rakefile
2013-10-19 12:08:17 +02:00
Moritz Bunkus
fa8d3b4f3f
Rakefile: accept xx_YY style LANGUAGE when creating new translation file
2013-09-19 11:01:05 +02:00
Moritz Bunkus
06c07a0906
Rakefile: task for cleaning just the unit tests
2013-07-04 23:11:44 +02:00
Moritz Bunkus
aeeac1c5fd
Cosmetics: no tabs!
2013-04-27 13:00:58 +02:00
Moritz Bunkus
8af42f2a85
build system: avoid certain warnings with clang & libstdc++
2013-04-13 19:38:06 +02:00
Moritz Bunkus
94b2632a1f
build system: avoid certain warnings with Qt and clang
2013-04-04 09:21:23 +02:00
Moritz Bunkus
2daf658edc
All: remove support for BZ2 and LZO compression
2013-03-03 21:04:19 +01:00
Moritz Bunkus
29597e8383
Output builder name (saxon-he), not interpreter (java)
2013-01-21 22:50:04 +01:00
Moritz Bunkus
23e633a765
Build system: fix HTML man pages target for XSLT 2.0 stylesheets
2013-01-06 22:20:17 +01:00
Moritz Bunkus
a199c99508
Build system: add -mno-ms-bitfields when compiling with mingw
...
gcc 4.7.0 changed from "-mno-ms-bitfields" to "-mms-bitfields" (which
is how Microsoft's compilers do it). This means that even structures
with __attribute__((packed)) are sometimes padded. As MKVToolNix uses
padded structures solely inside itself without handing them over to
Windows APIs or external DLLs (assuming static compilation with MXE)
this is safe.
2012-12-31 17:42:39 +01:00
Moritz Bunkus
41da46b5d5
Fix compiler flags (missing space)
2012-09-30 21:12:56 +02:00
Moritz Bunkus
3be6bf725b
Abort compilation on the first error (-Wfatal-errors)
2012-09-30 18:05:03 +02:00
Moritz Bunkus
78fa9e04cf
Always build unit tests if gtest is available
2012-08-26 12:36:14 +02:00
Moritz Bunkus
cd770a8808
Test and use '-Qunused-arguments' with clang
...
Otherwise clang will complain about all the -I directives it doesn't
use.
2012-08-19 23:31:38 +02:00
Moritz Bunkus
1cd37eb212
Common init code for test cases; start of unit tests for propedit
2012-08-15 09:16:52 +02:00
Moritz Bunkus
dc225ba8d6
Build static library for each executable (except mmg)
...
Helps unit tests for those
2012-08-13 21:20:50 +02:00
Moritz Bunkus
4a831ecd94
Fix building with Ruby 1.8.x
2012-08-13 08:46:37 +02:00
Moritz Bunkus
79421eaa6f
Build framework for unit tests based on Google's test framework
2012-08-07 23:08:40 +02:00
Moritz Bunkus
c9883826bb
Add rake tasks for running tests
2012-08-02 11:26:54 +02:00
Moritz Bunkus
41f65932cf
New icons by Ben Humpert
2012-06-17 19:11:57 +02:00
Moritz Bunkus
ef33f4c603
Fix icon installation directory
2012-05-27 15:30:27 +02:00
Moritz Bunkus
8e90651697
Make Rakefile's comments compatible with Ruby 1.9.3's changes to "-c"
2012-04-25 23:47:51 +02:00
Moritz Bunkus
cf2557fb36
Don't try to remove files twice
2012-04-25 23:41:21 +02:00
Moritz Bunkus
255b2a4c56
Use Qt Creator's FancyTabWidget for the tool selection
2012-04-25 20:18:02 +02:00
Moritz Bunkus
4d80171a8f
Split MainWindow class into MainWindow and MergeWidget
2012-04-22 19:13:47 +02:00
Moritz Bunkus
4f957054ff
Add mkvtoolnix-gui to $applications
2012-04-16 20:41:59 +02:00
Moritz Bunkus
1628511e91
Add target for automatic updating of qt_resources.qrc
2012-04-11 12:45:18 +02:00
Moritz Bunkus
1542a6bac7
Only install application icons
2012-04-11 12:00:48 +02:00
Moritz Bunkus
406d8843f5
Move main_window files into their own sub-directory
2012-04-11 01:53:43 +02:00
Moritz Bunkus
75cd192440
Rename mmg-qt to mkvtoolnix-gui
2012-04-10 23:22:29 +02:00
Moritz Bunkus
3411067f23
Always build mmg-qt if in mmg-qt dir
2012-04-10 22:17:53 +02:00
Moritz Bunkus
6bfd09e054
Build Qt resource files; fix clean target
2012-04-10 17:37:55 +02:00
Moritz Bunkus
bb155cc1dd
Implement/fix build system for mmg-qt
2012-04-09 17:48:38 +02:00
Moritz Bunkus
f4721c599c
Don't shell out for :clean target
2012-04-09 16:32:46 +02:00
Moritz Bunkus
69442d2d24
Remove element_{mapping,parser,writer} and all occurrences of expat
2012-03-29 21:04:42 +02:00
Moritz Bunkus
48cc8862c5
Generate BROWSE file for Emacs
2012-03-26 20:19:14 +02:00
Moritz Bunkus
5d86c3ef26
Link the tools against all common libraries
2012-03-24 11:45:52 +01:00
Moritz Bunkus
fc9a7cb379
Add src/common/compression to the list of source directories
...
Otherwise common_pch.h won't depend on the files in said directory.
2012-03-23 18:02:48 +01:00
Moritz Bunkus
3e22c4a4bf
Refactoring: split compression.{h,cpp} into multiple files
2012-03-20 06:52:22 +01:00
Moritz Bunkus
e1a499f3a2
Move temporary dependency files to a temporary directory
2012-03-18 10:57:43 +01:00
Moritz Bunkus
f39cbdd042
Add the pugixml library
2012-03-17 01:10:46 +01:00
Moritz Bunkus
5f8795c2e2
Simplify library link list
2012-03-17 01:07:45 +01:00
Moritz Bunkus
c7f6519355
Re-build resources.o if resources.rc changes
2012-03-15 17:53:42 +01:00
Moritz Bunkus
45adfd4e4f
Use PNG icons instead of XPM icons on non-Windows
2012-03-15 17:17:57 +01:00
Moritz Bunkus
49091c5411
Add test tool for the new AC3 parser
2012-02-25 19:23:02 +01:00
Moritz Bunkus
9cc37dd272
Abort drake if xsltproc finds a logical error (like wrong link targets)
2012-02-25 15:05:14 +01:00
Moritz Bunkus
ab96199b68
Fix for building the tools
2012-02-22 13:22:09 +01:00
Moritz Bunkus
aa7b2b4dec
Possibility to override available languages
2012-02-06 12:39:59 +01:00
Andriy Bilous'ko
32e2acb544
Add Ukrainian translation for mkvextract's man page
2011-12-14 22:18:54 +01:00
KonaBlend
2ecf2e2f46
optimize rake deps to exclude absolute paths
...
- exclude absolute pathnames from rake.d/dependency.d/ content
- improve readability of content files: 1 file per line
- content size and dependencies reduced from 3.3MB --> 0.9MB
- time to perform rake on built tree reduced from 2200ms to 500ms
2011-12-10 17:41:24 +01:00
Moritz Bunkus
16784dade6
Fix building with precompiled headers
2011-12-05 13:43:36 +01:00
Moritz Bunkus
dbd69f832c
Remove dependency files on "rake clean" instead of "clean:dist"
2011-12-04 17:08:16 +01:00
Moritz Bunkus
b9104f2f99
Make resource files depend on the icons
2011-12-03 20:41:38 +01:00
Moritz Bunkus
afd858a675
Declare explicit dependency on manifest.xml for resources.rc
2011-11-24 00:50:00 +01:00
Moritz Bunkus
288f68e65c
Rename mmg-resources.rc to resources.rc
...
Now the file name matches for all executables.
2011-11-24 00:49:44 +01:00
Nils Maier
0ed70ebbb4
Rake: Fix missing end_if calls
...
Fixes mingw builds sans GUI
2011-11-23 20:44:11 +01:00
Moritz Bunkus
f6ac546fbb
Fix building mkvinfo's resource file if GUIs are disabled
2011-11-23 20:30:00 +01:00
Moritz Bunkus
9df51e5dd9
Compile with "-Wextra" and fix all warnings from that
2011-11-19 22:32:46 +01:00
Moritz Bunkus
6e3798589c
More warnings
2011-11-17 21:40:32 +01:00
Moritz Bunkus
6e17266c49
Remove more traces of the DLL build process for libmtxcommon
2011-11-05 23:50:33 +01:00
Moritz Bunkus
639498ab76
Remove the ability to build "libmtxcommon" as a DLL
...
This feature has literally not been tested by me in years.
2011-11-05 22:19:41 +01:00
Moritz Bunkus
0e29699e8a
Use ngettext for translating texts with plural forms
2011-11-05 14:45:35 +01:00
Moritz Bunkus
da718b01c6
Rake task for creating a new "po" file
2011-11-04 00:34:05 +01:00
Moritz Bunkus
13aacdf0c0
Pass flag "-std=c++0x" if the compiler supports it
2011-10-23 14:03:37 +02:00
Moritz Bunkus
3723e46a32
Add Rake target for all command line applications
2011-10-16 19:43:10 +02:00
Moritz Bunkus
be8f62c66c
Build system: Only install the guide if wxWidgets is enabled
2011-10-12 23:19:11 +02:00
Moritz Bunkus
365efd0c01
Translations: Always use poedit style
...
Most translators use poedit as their application. poedit always writes
one file name per comment line, while normal msgmerge writes up to
80 (or so) chars per line often fitting more than one file name. This
change, while inflating the number of lines once, should cut down on
future number of changes that only differ in file name comment lines.
2011-10-12 21:57:08 +02:00
Moritz Bunkus
f06fa024fd
Build system: Always process source files in alphabetical order
...
Background is that the po files contain the file names in the order
they're given to xgettext. Unfortunately that order depends on the
order in which Ruby (via Rake) finds the files in the file
system. That again depends on the OS and file system involved.
All this leads to the situation that, even though no translation or
translatable string has changed, almost all of a po file changes just
because the file names are ordered differently.
This can be avoided by always handing xgettext a list of file names
that's already sorted.
2011-10-12 21:53:35 +02:00
Moritz Bunkus
52a5c57f32
Recognize Boost format strings in translatable strings
2011-09-17 16:43:56 +02:00
Moritz Bunkus
3bddf19d58
Run msgfmt with the "-c" parameter
2011-09-17 16:36:51 +02:00
Moritz Bunkus
da161a432b
CSS & build rules for the developer documentation
2011-08-03 22:32:47 +02:00
Moritz Bunkus
df335cb415
Only build the TAGS file if the "etags" tool has been found
...
Don't rely on the existence of "TAGS" alone.
2011-05-11 21:40:41 +02:00
Moritz Bunkus
cc43e1d322
Fix mkvpropedit task description
2011-03-23 12:08:30 +01:00
Moritz Bunkus
9cb8a50c96
Depend on the .h produced from the .ui, not the .ui itself
...
Another fix for bug 576.
2011-03-08 00:16:21 +01:00
Moritz Bunkus
868edce381
Put lib/lib{ebml,matroska} first in include/library paths during compilation if internal libs are to be used
2011-02-06 12:54:56 +01:00
Moritz Bunkus
fa9fc31e5f
Include libebml & libmatroska in the sources & compilation system
...
Further commits will make this optional so that the system libs are
used if they're new enough.
2011-01-31 10:28:38 +01:00
Moritz Bunkus
78ad167b77
Use explicit dependency information for XML to man page transformation
2010-12-26 01:50:21 +01:00
Moritz Bunkus
259d2dbb95
Use curl-config for the CFLAGS and LIBS
2010-12-25 23:23:22 +01:00
Moritz Bunkus
5d3d24c8f3
Added task for calling the format verification script for translations
2010-12-25 21:16:50 +01:00
Moritz Bunkus
6549317870
Link against libcurl if found
2010-12-23 16:04:23 +01:00
Moritz Bunkus
fd451fca7e
Don't wrap long lines in man po output; poedit style comments for zh_CN man po
2010-12-21 11:52:57 +01:00
Moritz Bunkus
edff1163cd
Build moc files properly
2010-12-20 23:32:37 +01:00
Moritz Bunkus
b686e2b1c2
Install mmg's guide into the "docdir" location
...
Patch by Christian Morales Vega
2010-11-09 14:41:06 +01:00
Moritz Bunkus
dc5608d4da
Only build .1 from .xml if xsltproc & DocBook are available
...
Fix for bug 575.
2010-10-31 15:41:13 +01:00
Moritz Bunkus
c65f181eb9
Better detection if require_relative is known by the current Ruby version
2010-10-28 09:09:32 +02:00
Moritz Bunkus
6d4969eefc
Don't disable warnings about alias breaking
2010-09-08 20:04:49 +02:00
Moritz Bunkus
65d868b1d3
Compile the correct header file for precompiled headers
2010-09-04 22:04:59 +02:00
Moritz Bunkus
7967e294f3
Use "require_relative" for Ruby 1.9.2
2010-09-04 17:14:50 +02:00
Moritz Bunkus
0ae2a02937
Output make-style chdir messages
...
Helps Emacs locate the files errors and warnings refer to
2010-08-05 22:18:29 +02:00
Moritz Bunkus
67769eb6df
Use the proper name for pre-compiled header files
2010-08-01 22:41:19 +02:00
Moritz Bunkus
e7f89447be
Allow to specify the name of mmg's executable upon installation
...
Also affects the man pages
2010-08-01 20:04:47 +02:00
Moritz Bunkus
6b849d54f0
Don't let env vars override the required {c,cxx,ld}flags
2010-08-01 12:53:34 +02:00
Moritz Bunkus
dde97d8f4b
Missing dependency for creating translated .xml files for man pages
2010-08-01 12:28:24 +02:00
Moritz Bunkus
70b6d33b8c
Fixes for compilation with mingw
2010-08-01 11:12:45 +02:00
Moritz Bunkus
76288e2201
Fix for Ruby 1.8
2010-08-01 11:12:45 +02:00