Kornel Benko
419f32df91
Cmake build:
...
Creating LYX_DATE dynamically at configure-time caused unwanted recompilation
of the whole directories (src + src/tex2lyx) because all the relevant objects
were dependent of a common file (flags.make in case of "Unix makefiles") which changed
accordingly.
There is now a new include (lyx_date.h, with only one definition)
Nothing changes for automake, since in this case LYX_DATE is defined in config.h
2012-10-15 22:50:39 +02:00
Kornel Benko
24206e2c67
Cmake build:
...
Partially revert 75d63ad1f2
It caused recompiling everything at each commit.
Now use definition of LYX_DATE only when compiling version.cpp
2012-10-15 13:16:08 +02:00
Kornel Benko
20359572ed
Patch from Benjamin Piwowarski
...
Just some comments on the patch:
- The executable name has to match the information in Info.plist (development/MacOSX/Info.plist.in and CMakeLists.txt). The autoconf config/lyxinclude.m4 file has been modified to make it work with autotools.
- The process to build OS X bundle is to first add all the files to be included to the bundle when calling add_executable (src/CMakeLists.txt) and then by calling setting the source file property of each of these files (development/cmake/Install.cmake, l.14) so that the files are properly located into the bundle. This is also why Install.cmake has to be included two times in src/CMakeLists.txt (once to build the list of files, once to set the location of the list of files).
- in CMakeLists.txt there is a line
install(CODE "set(BU_CHMOD_BUNDLE_ITEMS 1)")
What it does is to fix the owner permissions within the bundle - this is necessary because some libraries are copied within the bundle and might be owned by root
- An empty qt.conf is included in the bundle so that QT does not try to link to other QT libraries (which will not be included in the bundle)
- In development/cmake/Install.cmake, some OS X specific files (*.sdef, qt.conf, *.icns) have to be included in the bundle
Benjamin
2012-10-13 09:53:20 +02:00
Kornel Benko
fdc2f0c78d
Cmake build: Define for 'USE_ENCHANT' already done in development/cmake/config.h.cmake
2012-10-09 22:42:06 +02:00
Kornel Benko
8217df8a68
Cmake build:
...
Handle option "LYX_DEVEL_VERSION" to add the preprocesor definition of DEVEL_VERSION
The effect should be alike the configure parameter "--enable-build-type=dev"
2012-10-09 21:52:17 +02:00
Kornel Benko
b1a409be97
Make package name be platform dependent
2012-09-21 15:09:46 +02:00
Kornel Benko
d67bd17b34
cmake build: Add msgfmt po-checking
2012-08-22 13:57:43 +02:00
Juergen Spitzmueller
b6a63bfce8
An IPA toolbar
...
Translators: sorry ;-)
2012-08-21 14:56:34 +02:00
Uwe Stöhr
3b6bf1ee06
cmake/build.bat: correct a path proposal
2012-05-27 02:15:18 +02:00
Uwe Stöhr
eeda1c099e
- INSTALL.Win32: revise and update the description because since Qt 4.8 it mustn't be compiled (and can currently also not without a lot of hacking). Moreover we have now a build script that does all the configuration in one step and we can benefit from the fast Ninja compilation
...
Signed-off-by: Uwe Stöhr <uwestoehr@lyx.org>
2012-03-18 23:59:03 +01:00
Uwe Stöhr
a4503bc1b4
cmake/build.bat: don't mention SVN anymore as it would only lead to confusion
2012-03-16 02:23:25 +01:00
Kornel Benko
35370b8aa5
fix file permissions of lib/scripts/ -files in cmake build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40906 a592a061-630c-0410-9148-cb99ea01b6c8
2012-03-10 14:23:33 +00:00
Kornel Benko
77a31ee0f2
Check for needed magic functions before using libmagic
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40795 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-25 13:07:17 +00:00
Kornel Benko
f5daafc02b
Added libmagic to cmake build. Should to be also adapted to windows
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40791 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-22 10:07:04 +00:00
Uwe Stöhr
220cbe0fd8
cmake/build.bat: disable merged build be default, can be re-enabled for a final build (as suggested by Peter)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40764 a592a061-630c-0410-9148-cb99ea01b6c8
2012-02-15 23:17:34 +00:00
Kornel Benko
28b401b40e
Adapt support for distributing desktop files and icons also in cmake build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40532 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-20 13:49:55 +00:00
Kornel Benko
4f03d21a94
Do not install _any_ hidden file in cmake build
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40518 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-18 12:56:38 +00:00
Peter Kümmel
15bf2b58aa
cmake: remember path
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40399 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 20:23:26 +00:00
Peter Kümmel
0ed63f028d
don't hard code private pathes
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40398 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 20:03:14 +00:00
Kornel Benko
8e396ceb1c
Correct the list of needed cmake-files for building a tarball
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40395 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 13:05:05 +00:00
Kornel Benko
a5e8db71ae
Install desktop file in cmake-build too
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40394 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-06 11:48:33 +00:00
Uwe Stöhr
b7e2e68a64
cmake/build.bat: remove unnecessary flags and add some to get a console in debug mode
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40383 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 21:13:02 +00:00
Uwe Stöhr
465166c882
cmake/build.bat: explicitly compile with the console window in debug mode
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40369 a592a061-630c-0410-9148-cb99ea01b6c8
2011-12-05 01:12:13 +00:00
Uwe Stöhr
ca7607fcde
cmake/build.bat: make the script compilable (fix a syntax error) and add a "" pair for security reasons
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40303 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-28 23:50:20 +00:00
Uwe Stöhr
3f15978509
cmake/build.bat: fix a typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40299 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-28 00:46:47 +00:00
Uwe Stöhr
43939f7487
cmake/build.bat: this should not have gone in in my last commit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40191 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 20:19:03 +00:00
Uwe Stöhr
b50f96bdfa
cmake/build.bat: MSVC 2010 is required to build LyX on Windows for releaes; for install the console must be turned off; the PATH must no contain quotes
...
(But even with these fixes, the script fails, see my mail.)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@40190 a592a061-630c-0410-9148-cb99ea01b6c8
2011-11-13 20:05:08 +00:00
Peter Kümmel
bb53335350
cmake fix po generation/update: msguniq.exe doesn't like dos line endings (produces broken pot files)
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39914 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-21 23:22:58 +00:00
Peter Kümmel
668ef9c365
cmake: build and install lyx by calling one batch script
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39879 a592a061-630c-0410-9148-cb99ea01b6c8
2011-10-17 20:42:02 +00:00
Vincent van Ravesteijn
2ba3007e4b
CMake: Simplify the fix for the path to gettext-tools. The problem was that the first " was in the wrong place.
...
see r39491 and thanks Kornel.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39505 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-22 11:01:41 +00:00
Vincent van Ravesteijn
1dfac5ccaa
CMake: Fix the path to gettext-tools. The deps20 folder was already included in GNUWIN32. Besides, the construction with the hints variable did not seem to work.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39491 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 14:05:51 +00:00
Vincent van Ravesteijn
9ade016a90
CMake: Add the same path hint for ICONV_DLL as for ICONV_DLL_HELP. Without this hint, the former could not be found while the latter could.
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39490 a592a061-630c-0410-9148-cb99ea01b6c8
2011-08-19 14:04:51 +00:00
Kornel Benko
90f3c110c7
Added springer and attic templates-subdirectories to install
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39274 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-10 20:49:04 +00:00
Peter Kümmel
f8c077adfc
cmake: create .bat with cmake command and options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39261 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-08 21:30:13 +00:00
Peter Kümmel
62ee3c8291
cmake: create shell script with used options
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39260 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-08 20:53:59 +00:00
Kornel Benko
6c23b48fec
LFUNs.lyx was erroneously installed as "doc/LFUNs.lyx/LFUNs.lyx" instead
...
as "doc/LFUNs.lyx"
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39244 a592a061-630c-0410-9148-cb99ea01b6c8
2011-07-04 18:27:50 +00:00
Kornel Benko
20d3484075
Compile fix for Qt 4.5 and earlier.
...
Update for cmake build.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38996 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-08 20:22:27 +00:00
Peter Kümmel
afad4dc1ea
cmake: more to do
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38952 a592a061-630c-0410-9148-cb99ea01b6c8
2011-06-05 10:37:42 +00:00
Kornel Benko
b9f6d8999c
Added also dependency on python to debian packaging
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38882 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-29 13:19:41 +00:00
Kornel Benko
e1d17fd599
Generate package dependences for debian
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38881 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-29 12:20:23 +00:00
Kornel Benko
12cecb196d
Some more patterns for files which should not be included in source tar
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38836 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-25 15:22:00 +00:00
Kornel Benko
f2e437f6b8
Prepare cmake-build for debian multiarch implementation
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38830 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-24 06:58:40 +00:00
Kornel Benko
91a5a3360b
Zlib search adapted for ubuntu 11.4, 64 bit
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38825 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 16:51:58 +00:00
Kornel Benko
4e67cdb038
Typo
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38824 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 10:40:50 +00:00
Kornel Benko
4ed0b6cd53
Creat source package with 'make package_source' from inside the build directory
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38823 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-23 08:44:32 +00:00
Kornel Benko
6551ff4a39
Creation of LFUNs.lyx added
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38812 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 12:45:12 +00:00
Kornel Benko
b0716b0f13
Cpack variables and package creation transfered to LyxPackaging.cmake
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38808 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 09:33:53 +00:00
Peter Kümmel
1924463981
cmake: update TODO list, move svnrvison code, remove duplicated code
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38806 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-22 08:18:54 +00:00
Kornel Benko
9190519e98
1.) Run in place feature: If everything fails, try with source path
...
2.) Read the PATCH_VERSION from configure.ac too
3.) Ident-text in script
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38804 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 13:48:45 +00:00
Peter Kümmel
883c7d7be9
master cmakefile "What a mess!"
...
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@38803 a592a061-630c-0410-9148-cb99ea01b6c8
2011-05-21 12:26:05 +00:00