There is a misconfiguration in cmake.
On start  the installed lyx searches for files like lyx1.6.mo, but in the 
created files
are named lyx16.mo.

The correcting patch (tested!) is attached. Not commiting now, as Pavel 
requested.

        Kornel
Index: development/cmake/po/CMakeLists.txt
===================================================================
--- development/cmake/po/CMakeLists.txt	(Revision 34985)
+++ development/cmake/po/CMakeLists.txt	(Arbeitskopie)
@@ -9,7 +9,7 @@
 
 include_directories(${TOP_SRC_DIR}/po)
 
-SET(_lyxname ${LYX_PROJECT})
+SET(_lyxname ${PACKAGE})
 SET(_py_sources)
 macro(add_gettext_python  _par _dir)
   set(_sources)
@@ -128,7 +128,7 @@
 endforeach(_pofile)
 
 # ALL omitted here, to prevent from automatic creation
-if(LYX_CPACK)
+if(LYX_CPACK OR LYX_INSTALL)
   set(_addALLOption ALL)
 endif()
 GETTEXT_CREATE_TRANSLATIONS(${CMAKE_CURRENT_BINARY_DIR}/${_lyxname}.pot ${_addALLOption} ${LYX_PO_FILES})

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to