Le 23/04/2016 09:12, Kornel Benko a écrit :
Am Freitag, 22. April 2016 um 22:39:31, schrieb Jean-Pierre Chrétien
<jeanpierre.chret...@free.fr>
Le 22/04/2016 15:20, Kornel Benko a écrit :
Am Freitag, 22. April 2016 um 11:43:41, schrieb Jean-Pierre Chrétien
<jeanpierre.chret...@free.fr>
Le 22/04/2016 06:14, Georg Baum a écrit :
We really need to stop using two build systems. For now, I would suggest
that a remerge of all languages is done using cmake ASAP.
If this does not take place very soon, may I edit the French po file I built
locally and push it? I won't be able to submit changes from Sunday on.
No problem. Anyone can create .gmo files. If you are using cmake, is is as
simple as
calling 'make update-gmo' in the build dir.
I use make, not cmake, on a Debian Jessie, should I use cmake ?
I tried hard to not pollute source tree. So everything is generated in
build-tree, even the gmo-files
and remerged po-files. Also creating .deb package is easy.
From my POV, you should use cmake. OTOH, as long as we have two build systems,
we need developers
using them.
You could use cmake also in parallel to automake, simply use different build
dir.
Do you need a recipe?
I've got one already, that I used successfully to try to run the autotests:
http://article.gmane.org/gmane.editors.lyx.devel/160816
However, I try it on my master clone, I get this
<cite>
$ cd buildmastercmake
$cmake -DLYX_ENABLE_EXPORT_TESTS=ON -DLYX_RELEASE=ON -DLYX_INSTALL_PREFIX="git-"
../trunk
-- TOP_SRC_DIR = /ext/lyx/trunk
--
-- Building out-of-source
--
-- Using GCC version 4.9.2
-- Performing Test CXX11_FLAG_DETECTED
-- Performing Test CXX11_FLAG_DETECTED - Success
-- CXX11_FLAG_DETECTED = "--std=c++11"
CMake Error at development/cmake/modules/FindQt4.cmake:879 (message):
Qt libraries, includes, moc, uic or/and rcc NOT found!
Call Stack (most recent call first):
CMakeLists.txt:625 (find_package)
-- Configuring incomplete, errors occurred!
See also "/ext/lyx/buildmastercmake/CMakeFiles/CMakeOutput.log".
See also "/ext/lyx/buildmastercmake/CMakeFiles/CMakeError.log".
</cite>
Is there a pre-command needed in the TOP_SRC_DIR (similar to autogen)?
BTW, I committed fr.po yesterday night and I did not see a cvs message about the
commit, is there anything wrong ? I saw that Georg pushed the fr.gmo file.
Are the .mo and .gmo files identical ?
Seems to me that plain make and cmake sort differently the messages as I see a
msguniq call with cmake, is that correct ?
--
Jean-Pierre