Jenkins build is back to normal : Build branch "master" » ubuntu-latest-qt5-cmake #2320

2020-11-14 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-latest-qt5-cmake/2320/
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] DocBook: implement European CV.

2020-11-14 Thread Kornel Benko
Am Sat, 14 Nov 2020 17:32:30 +0100
schrieb Thibaut Cuvelier :

> > > This must be a mistake. Please revert, we do not want to have Windows 
> > > settings on
> > > other platforms.
> > >
> > >       Kornel
> > 
> > Never mind, done at c6e6b6de.
> > 
> Indeed, this was a mistake, thanks for dealing with it! (And sorry about 
> that…)
> 

You could try to write a module, say 
development/cmake/modules/LyxInitWindows.cmake
and in the CMakeLists.txt use
if(WIN32)
include(LyxInitWindows)
endif()

Kornel


pgpuLGENQJ7lh.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] DocBook: implement European CV.

2020-11-14 Thread Thibaut Cuvelier
On Sat, 14 Nov 2020 at 12:58, Kornel Benko  wrote:

> Am Sat, 14 Nov 2020 09:55:12 +0100
> schrieb Kornel Benko :
>
> > Am Sat, 14 Nov 2020 05:17:20 +0100 (CET)
> > schrieb Thibaut Cuvelier :
> >
> > > index c9bde3e..dcc05da 100644
> > > --- a/CMakeLists.txt
> > > +++ b/CMakeLists.txt
> > > @@ -6,9 +6,37 @@
> > >
> > >  cmake_minimum_required(VERSION 3.1.0)
> > >
> > > +## set PATH=C:/Strawberry/perl/bin/;%PATH%
> > > +## set PATH=C:\Users\Thibaut\Anaconda3;%PATH%
> > > +## set PATH=C:\Program Files\CMake\bin;%PATH%
> > > +## D:
> > > +## cd LyX\lyx-unstable\cmake-build-debug
> > > +## ctest -j4 -R .*docbook5
> > > +
> > > +set(CMAKE_CXX_STANDARD 17)
> > >  set(GNUWIN32_DIR D:/LyX/lyx-unstable/lyx-windows-deps-msvc2017)
> > > +set(LYX_USE_QT "QT5")
> > > +set(LYX_REQUIRE_SPELLCHECK true)
> > > +set(LYX_ENABLE_EXPORT_TESTS 1)
> > > +
> > > +set(QT_DIR D:/Qt/5.15.0/msvc2019_64)
> > > +set(QT5_DIR D:/Qt/5.15.0/msvc2019_64)
> > > +set(QT_MKSPECS_DIR D:/Qt/5.15.0/msvc2019_64/mkspecs)
> > > +set(Qt5Concurrent_DIR
> D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Concurrent)
> > > +set(Qt5Core_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Core)
> > > +set(Qt5Gui_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Gui)
> > > +set(Qt5Svg_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Svg)
> > > +set(Qt5Widgets_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Widgets)
> > > +set(Qt5WinExtras_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5WinExtras)
> > > +
> > and so on ...
> >
> > This must be a mistake. Please revert, we do not want to have Windows
> settings on other
> > platforms.
> >
> >   Kornel
>
> Never mind, done at c6e6b6de.
>

Indeed, this was a mistake, thanks for dealing with it! (And sorry about
that…)
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [Patch] Test suite for compare function

2020-11-14 Thread Richard Kimberly Heck
On 11/13/20 8:24 PM, Scott Kostyshak wrote:
> On Sat, Nov 14, 2020 at 01:43:08AM +0100, Kornel Benko wrote:
>> Am Sat, 14 Nov 2020 13:22:39 +1300
>> schrieb "Sam Crawley" :
>>
>>> On Sat, 14 Nov 2020, at 12:36, Kornel Benko wrote:
> Defined at development/checkurls/CMakeLists.txt:8
> find_package(Perl REQUIRED)
>
> Apparently you do not have '-DLYX_ENABLE_URLTESTS:BOOL=ON'. We should 
> move the
> find_package() call to different place, maybe to the main CMakeLists.txt.
>
> Kornel  
 Hm, done at 5680a4d3.  
>>> Thanks, that fixed it!
>>>
>>> Updated patchset attached.
>>>
>>> Thanks,
>>> Sam.
>> Thanks, test works.
>> From my side, it can be committed. Any objections?
>> Pavel, Jean-Marc, Riki, Scott?
> I did not take a look, but I do not have any objection. If it's fine
> with you it's fine with me.

+1

Riki


-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Continue Bahasa Indonesia id.po

2020-11-14 Thread Pavel Sanda
On Sat, Nov 14, 2020 at 12:09:23PM +0700, Waluyo Adi Siswanto wrote:
> Please give me both, 2.4 and 2.3. I will have look, if possible complete 2.3
> then 2.4, however if not possible I will do 2.4 first as the priority.

Up-to-date .po files can be always downloaded from here:
branch 2.3.x: https://www.lyx.org/I18n
master (to be 2.4): https://www.lyx.org/I18n-trunk

Just click on your language and download the file.
Pavel
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] DocBook: implement European CV.

2020-11-14 Thread Kornel Benko
Am Sat, 14 Nov 2020 09:55:12 +0100
schrieb Kornel Benko :

> Am Sat, 14 Nov 2020 05:17:20 +0100 (CET)
> schrieb Thibaut Cuvelier :
> 
> > index c9bde3e..dcc05da 100644
> > --- a/CMakeLists.txt
> > +++ b/CMakeLists.txt
> > @@ -6,9 +6,37 @@
> >  
> >  cmake_minimum_required(VERSION 3.1.0)
> >  
> > +## set PATH=C:/Strawberry/perl/bin/;%PATH%
> > +## set PATH=C:\Users\Thibaut\Anaconda3;%PATH%
> > +## set PATH=C:\Program Files\CMake\bin;%PATH%
> > +## D:
> > +## cd LyX\lyx-unstable\cmake-build-debug
> > +## ctest -j4 -R .*docbook5
> > +
> > +set(CMAKE_CXX_STANDARD 17)
> >  set(GNUWIN32_DIR D:/LyX/lyx-unstable/lyx-windows-deps-msvc2017)
> > +set(LYX_USE_QT "QT5")
> > +set(LYX_REQUIRE_SPELLCHECK true)
> > +set(LYX_ENABLE_EXPORT_TESTS 1)
> > +
> > +set(QT_DIR D:/Qt/5.15.0/msvc2019_64)
> > +set(QT5_DIR D:/Qt/5.15.0/msvc2019_64)
> > +set(QT_MKSPECS_DIR D:/Qt/5.15.0/msvc2019_64/mkspecs)
> > +set(Qt5Concurrent_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Concurrent)
> > +set(Qt5Core_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Core)
> > +set(Qt5Gui_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Gui)
> > +set(Qt5Svg_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Svg)
> > +set(Qt5Widgets_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Widgets)
> > +set(Qt5WinExtras_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5WinExtras)
> > +  
> and so on ...
> 
> This must be a mistake. Please revert, we do not want to have Windows 
> settings on other
> platforms.
> 
>   Kornel

Never mind, done at c6e6b6de.

Kornel


pgpgVj2Gc_dZy.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Build failed in Jenkins: Build branch "master" » ubuntu-latest-qt5-cmake #2319

2020-11-14 Thread Kornel Benko
Am Sat, 14 Nov 2020 11:12:16 +0100 (CET)
schrieb ci-...@inria.fr:

> https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-latest-qt5-cmake/2319/--
> [...truncated 122 lines...]
> -- Looking for include file aspell.h
> -- Looking for include file aspell.h - not found

...

Fixed at c6e6b6de

Kornel


pgpqIhYUtPJ35.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Build failed in Jenkins: Build branch "master" » ubuntu-latest-qt5-cmake #2319

2020-11-14 Thread ci-lyx
https://ci.inria.fr/lyx/job/build-master-head/job/ubuntu-latest-qt5-cmake/2319/--
[...truncated 122 lines...]
-- Looking for include file aspell.h
-- Looking for include file aspell.h - not found
-- Looking for include file aspell/aspell.h
-- Looking for include file aspell/aspell.h - not found
-- Looking for include file limits.h
-- Looking for include file limits.h - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for include file stdlib.h
-- Looking for include file stdlib.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/utime.h
-- Looking for include file sys/utime.h - not found
-- Looking for include file sys/socket.h
-- Looking for include file sys/socket.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file utime.h
-- Looking for include file utime.h - found
-- Looking for include file string.h
-- Looking for include file string.h - found
-- Looking for include file argz.h
-- Looking for include file argz.h - found
-- Looking for C++ include regex
-- Looking for C++ include regex - found
-- Looking for alloca
-- Looking for alloca - not found
-- Looking for __argz_count
-- Looking for __argz_count - found
-- Looking for __argz_next
-- Looking for __argz_next - found
-- Looking for __argz_stringify
-- Looking for __argz_stringify - found
-- Looking for chmod
-- Looking for chmod - found
-- Looking for close
-- Looking for close - found
-- Looking for _close
-- Looking for _close - not found
-- Looking for dcgettext
-- Looking for dcgettext - found
-- Looking for fcntl
-- Looking for fcntl - found
-- Looking for fork
-- Looking for fork - found
-- Looking for __fsetlocking
-- Looking for __fsetlocking - found
-- Looking for getcwd
-- Looking for getcwd - found
-- Looking for getegid
-- Looking for getegid - found
-- Looking for getgid
-- Looking for getgid - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for _getpid
-- Looking for _getpid - not found
-- Looking for gettext
-- Looking for gettext - found
-- Looking for getuid
-- Looking for getuid - found
-- Looking for lstat
-- Looking for lstat - found
-- Looking for lockf
-- Looking for lockf - found
-- Looking for mempcpy
-- Looking for mempcpy - found
-- Looking for mkdir
-- Looking for mkdir - found
-- Looking for _mkdir
-- Looking for _mkdir - not found
-- Looking for mkfifo
-- Looking for mkfifo - found
-- Looking for open
-- Looking for open - found
-- Looking for _open
-- Looking for _open - not found
-- Looking for pclose
-- Looking for pclose - found
-- Looking for _pclose
-- Looking for _pclose - not found
-- Looking for popen
-- Looking for popen - found
-- Looking for _popen
-- Looking for _popen - not found
-- Looking for putenv
-- Looking for putenv - found
-- Looking for readlink
-- Looking for readlink - found
-- Looking for setenv
-- Looking for setenv - found
-- Looking for setlocale
-- Looking for setlocale - found
-- Looking for strcasecmp
-- Looking for strcasecmp - found
-- Looking for stpcpy
-- Looking for stpcpy - found
-- Looking for strdup
-- Looking for strdup - found
-- Looking for strerror
-- Looking for strerror - found
-- Looking for strtoul
-- Looking for strtoul - found
-- Looking for tsearch
-- Looking for tsearch - found
-- Looking for unsetenv
-- Looking for unsetenv - found
-- Looking for wcslen
-- Looking for wcslen - found
-- Looking for alloca
-- Looking for alloca - not found
-- Looking for asprintf
-- Looking for asprintf - not found
-- Looking for wprintf
-- Looking for wprintf - not found
-- Looking for snprintf
-- Looking for snprintf - found
-- Looking for printf
-- Looking for printf - found
-- Looking for pid_t
-- Looking for pid_t - not found
-- Looking for intmax_t
-- Looking for intmax_t - not found
-- Looking for uintmax_t
-- Looking for uintmax_t - not found
-- Looking for LC_MESSAGES
-- Looking for LC_MESSAGES - found
-- Looking for PATH_MAX
-- Looking for PATH_MAX - found
-- Check size of intmax_t
-- Check size of intmax_t - done
-- Check size of long double
-- Check size of long double - done
-- Check size of long long
-- Check size of long long - done
-- Check size of wchar_t
-- Check size of wchar_t - done
-- Check size of wint_t
-- Check size of wint_t - failed
-- HAVE_HUNSPELL_CXXABI = FALSE
-- Performing Test HAVE_ICONV_CONST
-- Performing Test HAVE_ICONV_CONST - Failed
-- Performing Test SIZEOF_WCHAR_T_IS_2
-- Performing Test SIZEOF_WCHAR_T_IS_2 - Failed
-- Performing Test SIZEOF_WCHAR_T_IS_4
-- Performing Test SIZEOF_WCHAR_T_IS_4 - Success
-- Performing Test SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG
-- Performing Test SIZEOF_LONG_LONG_GREATER_THAN_SIZEOF_LONG - 

Re: macos-xcode-cmake build fails with --std=c++17 SOLVED

2020-11-14 Thread pdv

On 13/11/2020 17:14, Kornel Benko wrote:

Am Fri, 13 Nov 2020 17:04:18 +0100
schrieb Kornel Benko :


Am Fri, 13 Nov 2020 15:27:36 +0100
schrieb pdv :


I suppose HAVE_DEF_MAKE_UNIQUE should have been set to one but it wasn't.
Removing HAVE_DEF_MAKE_UNIQUE from cmake's cache didn't help.
The check_cxx_source_compiles() in ConfigureChecks.cmake was never
executed and HAVE_DEF_MAKE_UNIQUE was never set.

In the end I started from scratch and then the check ran and
HAVE_DEF_MAKE_UNIQUE=1.

P. De Visschere


You should remove CMakeCache.txt, so that cmake is forced to recheck everything.

It can also be that while checking, some other header files are used than at 
compile
time. Possible are also different compiler settings.

Kornel


I had a similar problem with some left-over header files in the _build_ 
directory.
So starting from scratch has to mean 'with empty build dir'.

Kornel




Yes, that's what I did: out-of-source build in an empty dir.

But I found out that this was not really needed: when emptying 
cmakecache.txt as much as possible (removing all 'internal cache 
entries' and 'external cache entries' generated by cmake) the problem is 
also solved.

In this way I could have saved my manual settings.

P. De Visschere
--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: [LyX/master] DocBook: implement European CV.

2020-11-14 Thread Kornel Benko
Am Sat, 14 Nov 2020 05:17:20 +0100 (CET)
schrieb Thibaut Cuvelier :

> index c9bde3e..dcc05da 100644
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -6,9 +6,37 @@
>  
>  cmake_minimum_required(VERSION 3.1.0)
>  
> +## set PATH=C:/Strawberry/perl/bin/;%PATH%
> +## set PATH=C:\Users\Thibaut\Anaconda3;%PATH%
> +## set PATH=C:\Program Files\CMake\bin;%PATH%
> +## D:
> +## cd LyX\lyx-unstable\cmake-build-debug
> +## ctest -j4 -R .*docbook5
> +
> +set(CMAKE_CXX_STANDARD 17)
>  set(GNUWIN32_DIR D:/LyX/lyx-unstable/lyx-windows-deps-msvc2017)
> +set(LYX_USE_QT "QT5")
> +set(LYX_REQUIRE_SPELLCHECK true)
> +set(LYX_ENABLE_EXPORT_TESTS 1)
> +
> +set(QT_DIR D:/Qt/5.15.0/msvc2019_64)
> +set(QT5_DIR D:/Qt/5.15.0/msvc2019_64)
> +set(QT_MKSPECS_DIR D:/Qt/5.15.0/msvc2019_64/mkspecs)
> +set(Qt5Concurrent_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Concurrent)
> +set(Qt5Core_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Core)
> +set(Qt5Gui_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Gui)
> +set(Qt5Svg_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Svg)
> +set(Qt5Widgets_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5Widgets)
> +set(Qt5WinExtras_DIR D:/Qt/5.15.0/msvc2019_64/lib/cmake/Qt5WinExtras)
> +
and so on ...

This must be a mistake. Please revert, we do not want to have Windows settings 
on other
platforms.

Kornel


pgpGkvkUGuh3S.pgp
Description: Digitale Signatur von OpenPGP
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel