Re: CMake fails on first configure

2023-09-16 Thread Yu Jin
Am So., 17. Sept. 2023 um 07:23 Uhr schrieb Yu Jin :

> When I configure for the first time (into an empty folder) I get this
> error:
>
> CMake Error at
> C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
> (include_directories):
>   Error evaluating generator expression:
>
> $
>
>   Target "Qt6::ZlibPrivate" not found.
>
> (full log attached)
>
Log

> If I ignore this error and click configure again it works. Looks like it
> only occurs with Qt6.
>
-- 
  Eugene
TOP_SRC_DIR = C:/lyx/master

Building out-of-source
Selecting Windows SDK version 10.0.22000.0 to target Windows 10.0.22621.
Selecting build type defaults from configure.ac
Found GNUWIN32: C:/lyx/lyx-windows-deps-msvc2023_64

CXX11_FLAG_DETECTED = "/std:c++20"
Compiler supports std_regex
Found CXX11Compiler: /std:c++20  
CMAKE_CXX_STANDARD set to 20
Performing Test CMAKE_HAVE_LIBC_PTHREAD
Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
Looking for pthread_create in pthreads
Looking for pthread_create in pthreads - not found
Looking for pthread_create in pthread
Looking for pthread_create in pthread - not found
Found Threads: TRUE  
Performing Test HAVE_STDATOMIC
Performing Test HAVE_STDATOMIC - Success
Found WrapAtomic: TRUE  
Could NOT find WrapVulkanHeaders (missing: Vulkan_INCLUDE_DIR) 
Found Qt-Version 6.5.2
Looking for magic_file
Looking for magic_file - not found
Function magic_file not found
Looking for magic_open
Looking for magic_open - not found
Function magic_open not found
Looking for magic_load
Looking for magic_load - not found
Function magic_load not found
Looking for magic_close
Looking for magic_close - not found
Function magic_close not found
Looking for magic_error
Looking for magic_error - not found
Function magic_error not found
Could NOT find Magic (missing: Magic_INCLUDE_DIR Magic_LIBRARY 
HAS_MAGIC_FUNCTIONS) 
  * Hunspell:
 - include: 
C:/lyx/master/3rdparty/hunspell/1.7.0/src/hunspell;C:/lyx/master/3rdparty/hunspell/1.7.0/src
 - library: hunspell
Could NOT find ASPELL (missing: ASPELL_LIBRARY ASPELL_INCLUDE_DIR) 
ASPELL not found, building without ASPELL support
Could NOT find ENCHANT (missing: ENCHANT_LIBRARY ENCHANT_INCLUDE_DIR) 
ENCHANT not found, building without ENCHANT support
Building with USE_HUNSPELL
Could NOT find LYX_PY_polib (missing: LYX_PY_POLIB) 
You will be unable to update layouttranslations file
Looking for sys/types.h
Looking for sys/types.h - found
Looking for stdint.h
Looking for stdint.h - found
Looking for stddef.h
Looking for stddef.h - found
Check size of ptrdiff_t
Check size of ptrdiff_t - done
Check size of sig_atomic_t
Check size of sig_atomic_t - done
Check size of size_t
Check size of size_t - done
Check size of wchar_t
Check size of wchar_t - done
Check size of wint_t
Check size of wint_t - done
Check size of long long int
Check size of long long int - done
Check size of unsigned long long int
Check size of unsigned long long int - done
Check size of _Bool
Check size of _Bool - done
Looking for include file alloca.h
Looking for include file alloca.h - not found
Looking for include file dlfcn.h
Looking for include file dlfcn.h - not found
Looking for include file inttypes.h
Looking for include file inttypes.h - found
Looking for include file mach-o/dyld.h
Looking for include file mach-o/dyld.h - not found
Looking for include file memory.h
Looking for include file memory.h - found
Looking for include file search.h
Looking for include file search.h - found
Looking for include file stdlib.h
Looking for include file stdlib.h - found
Looking for include file strings.h
Looking for include file strings.h - not found
Looking for include file string.h
Looking for include file string.h - found
Looking for include file sys/bitypes.h
Looking for include file sys/bitypes.h - not found
Looking for include file sys/inttypes.h
Looking for include file sys/inttypes.h - not found
Looking for include file sys/param.h
Looking for include file sys/param.h - not found
Looking for include file sys/socket.h
Looking for include file sys/socket.h - not 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 - not found
Looking for include file unistd.h
Looking for include file unistd.h - not found
Looking for include file wchar.h
Looking for include file wchar.h - found
Looking for include file winsock2.h
Looking for include file winsock2.h - found
Looking for canonicalize_file_name
Looking for canonicalize_file_name - not found
Looking for dcgettext
Looking for dcgettext - not found
Looking for gettext
Looking for gettext - not found
Looking for iconv
Looking for iconv - not found
Looking for lstat
Looking for lstat - not found
Looking for mbrtowc
Looking for mbrtowc - found
Looking for mbsinit
Looking for mbsinit - not found
Looking for memmove
Looking for memmove - found
Looking for atoll
Looking for atoll - found
Looking for chown
Looking for chown - not found

CMake fails on first configure

2023-09-16 Thread Yu Jin
When I configure for the first time (into an empty folder) I get this error:

CMake Error at
C:/lyx/master-build-64-qt6/CMakeFiles/CMakeScratch/TryCompile-re0snf/CMakeLists.txt:12
(include_directories):
  Error evaluating generator expression:

$

  Target "Qt6::ZlibPrivate" not found.

(full log attached)
If I ignore this error and click configure again it works. Looks like it
only occurs with Qt6.

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


[Bug Report] Encoding Problem on Windows 10 while Reconfiguring

2023-09-16 Thread Dai Longzhi 戴龙至
Bacis Info  Reproduce:

  System: Windows 10 22H2 64-bit System Language is Chinese (Simplified)


  Lyx: Fresh new installed LyX Version 2.3.7 with Texlive 
full-installed

  Path to Install: C:\Program Files\LyX 
2.3\ # (Non-Chinese Path)





Debug message:
11:09:54.257: (buffer-new: Ctrl+N)



11:09:59.180: Running configure...

11:09:59.248: python -tt "C:/Program Files/LyX 2.3/Resources/configure.py" 
--binary-dir="C:/Program Files/LyX 2.3/bin/"

11:09:59.838: checking for DVI to DTL converter...

11:09:59.839: +checking for "dv2dt"... yes

11:09:59.839: checking for DTL to DVI converter...

11:09:59.839: +checking for "dt2dv"... yes

11:09:59.839: checking for a Latex2e program...

11:09:59.840: +checking for "latex"... yes

11:09:59.840: checking for a DVI postprocessing program...

11:09:59.840: +checking for "pplatex"... no

11:09:59.840: checking for pLaTeX, the Japanese LaTeX...

11:09:59.841: +checking for "platex"... yes

11:09:59.841: Traceback (most recent call last):

11:09:59.841:  File "C:/Program Files/LyX 2.3/Resources/configure.py", 
line 1955, in -- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Re: Enable "Track changes" from the toolbar

2023-09-16 Thread Dan



> Currently, it is really cumbersome to enable "Track changes" from the toolbar 
> since it is impossible to start "Track changes" without changing the toolbar 
> visibility settings.
>
I agree with this


> Bug: > https://www.lyx.org/trac/ticket/12696
>
and also with what is said in the bug report linked: math toolbar button to 
toggle visibility seems useless to me. And I would bring in the tabular toolbar 
button as well, for the very same reason.

Don't know if Change Tracking is a feature so common that it deserves a place 
in the standard toolbar, but for me, it does. Let this reply be some sort of 
Popularity Contest "a la Debian".


Daniel.
--
Enviat amb Tutanota.
-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel


Enable "Track changes" from the toolbar

2023-09-16 Thread Daniel
Currently, it is really cumbersome to enable "Track changes" from the 
toolbar since it is impossible to start "Track changes" without changing 
the toolbar visibility settings.


What one has to do in order to enable "Track changes" from the toolbar 
(and not make any changes to the toolbar visibility):


1) Click on the "Show review toolbar" button (not exactly aptly named)
2) Set the visibility of the Review toolbar to "On"
3) Enable "Track changes"
4) Click on the "Show review toolbar" button
5) Set the visibility of the Review toolbar to "Automatic"

IMO, this is way to cumbersome and easy to forget to change back the 
visibility of the toolbar. Instead, I suggest that there should be just 
a button to turn "Track changes" on. This will also show the toolbar 
(already implemented).


Bug: https://www.lyx.org/trac/ticket/12696

Daniel

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