Commit Graph

3741 Commits

Author SHA1 Message Date
Stephan Witt
ddc29fbdbf Correct copy of hunspell dictionary to bundle with internal hunspell w/o framework 2024-05-07 13:05:03 +02:00
Richard Kimberly Heck
b360b9ebf7 Update update-po.sh script 2024-04-04 17:09:16 -04:00
Scott Kostyshak
dee5eec15f cat.py: fix Python deprecation warning
This commit fixes the following warning:

  DeprecationWarning: 'U' mode is deprecated

Removing 'U' has no effect with Python 3 [1]:

  There is an additional mode character permitted, 'U', which no
  longer has any effect, and is considered deprecated. It previously
  enabled universal newlines in text mode, which became the default
  behaviour in Python 3.0.

[1] https://docs.python.org/3/library/functions.html?highlight=open#open

(cherry picked from commit 9715d3504c)
2023-08-25 12:19:33 -04:00
Pavel Sanda
a5e689eee5 Adding binary path for Homebrew on MacOS-arm64 (bug 12619).
Patch from Koji.
2023-07-18 22:24:06 +02:00
Stephan Witt
95bd9e5b45 Pass Qt library location as link option for frameworks on Mac
(cherry picked from commit c518c57a78)
2022-12-15 22:43:50 +01:00
Stephan Witt
fa5320c910 Add the option build with different compiler and linker flag extensions.
(cherry picked from commit d4f51e6ed0)
2022-12-15 22:43:50 +01:00
Stephan Witt
f4cd2e863b Add macOS 11 to SDK detection for builds on Mac
(cherry picked from commit 187a9d6439)
2022-12-15 22:43:49 +01:00
Stephan Witt
9956d3fb43 care for optional brackets around version string
(cherry picked from commit b0a73c0dfd)
2022-12-15 22:43:49 +01:00
Richard Kimberly Heck
a9338e796a Update build script 2022-12-11 11:13:44 -05:00
Stephan Witt
c22119eb1c Use real path names for buffer lookup by name of temporary external files.
In case of path names for external files containing symbolic links the real path
and the logical path name may be different for the same file or directory.
LyX is using QDir::tempPath() to create the path name of the temporary directory.
The Qt implementation is free to return the logical or the real path name here and
it happens to be different for various platforms and versions.
The most stable and clean solution is to use the real path name consistently.

(cherry picked from commit f2f861f017)
2022-02-20 14:18:26 +01:00
Stephan Witt
4455585608 #12150 don't set the directory file permissions of LyX app bundle to 444 anymore
(cherry picked from commit c38e759b28)

plus status entry
2021-10-31 10:39:27 +01:00
Stephan Witt
beac25f08e #12305 Correct typo in library name QtDBus - fatal error with case sensitive file systems
(cherry picked from commit 15d1f2c76d)
2021-06-16 07:53:50 +02:00
Eugene Chornyi
daa32db3bc Fix bug 9961
remove the error message for not finding a pdf viewer (apparently empty string is returned by FindExecutable if the executable is a Windows Store app). If there is really no pdf viewer, let the Windows itself decide what to do (produce error or not and which one).
2021-01-04 10:29:44 +01:00
Scott Kostyshak
3611c09f39 CMake deb: support "python2 | python3" dependency
The latest debian-based distributions have moved away from
the "python" package dependency to "python2" and "python3".

(cherry picked from commit fe1cbc06c3)
2020-10-29 21:55:45 -04:00
Scott Kostyshak
012bca0b05 CMake deb: update python2 requirement
Synchronize with README: >= 2.7.

(cherry picked from commit 334552ade5)
2020-10-29 21:55:07 -04:00
Eugene Chornyi
43ccceda39 Wininstaller, remove the option to run LyX from the finish page 2020-07-12 19:00:44 +02:00
Eugene Chornyi
beb69bcf9a Amend c93b3a24 2020-07-08 08:06:25 +02:00
Eugene Chornyi
c93b3a24a0 Wininstaller, fix bug where previous installations, with emergency version greater than 1, could not be seen in registry on overinstall 2020-07-07 21:51:23 +02:00
Juergen Spitzmueller
8d6d403873 WinInstaller: assure configure.py is run in the user dir, by Eugene
(cherry picked from commit c680d0360a)
2020-06-10 12:17:17 -04:00
Kornel Benko
59006b3f51 Cmake build: Add trailing '.'
Cpack in the cmake 3.18-version creates invalid control file
containg empty line. 'dpkg' chokes on this control file.

(cherry picked from commit 392aaa11ac)
2020-06-10 17:16:10 +02:00
Stephan Witt
1467d12290 Allow externally provided list of components to skip for Qt framework builds on macOS
(cherry picked from commit 2817439ddd)
2020-06-07 20:33:39 +02:00
Stephan Witt
d2c179a0b0 More flexible definition of Qt libraries to include as frameworks for macOS
(cherry picked from commit 6e54c86a86)
2020-06-07 20:33:27 +02:00
Stephan Witt
d75fdd6e47 Care for Qt library source directory rename for 5.12.x
(cherry picked from commit a3e14fe6cd)
2020-06-07 20:33:18 +02:00
Stephan Witt
3b65a4056e Enhanced version string extraction for 3rd party libraries.
(cherry picked from commit 6b48c45c54)
2020-06-07 20:33:02 +02:00
Stephan Witt
ee5b6cc0b5 use path to developer tools for SetFile utility as fallback
(cherry picked from commit 38ba0ea240)
2020-06-07 19:37:14 +02:00
Richard Kimberly Heck
06c98e906b Better variable name 2020-06-07 12:39:04 -04:00
Richard Kimberly Heck
2cfb62c892 Unused option 2020-06-07 12:37:54 -04:00
Richard Kimberly Heck
08fb6dce64 Fix up lyx-build script. 2020-06-07 12:36:53 -04:00
Kornel Benko
a56c3d2621 Cmake installs: Clean up some installs 2020-06-05 21:57:50 +02:00
Richard Kimberly Heck
58411fe033 Notes for build script. Will fix later. 2020-06-03 17:17:38 -04:00
Kornel Benko
1c2ce5e903 Cmake build: Add some missing language-specific files for installation
(Language files of the form pt_PT, or zh_CN were not handled)
2020-06-03 21:21:04 +02:00
Richard Kimberly Heck
446b795c15 Remove duplicate file 2020-06-03 00:52:15 -04:00
Richard Kimberly Heck
092bc93903 Update lyx-build script and add header file for Windows. 2020-06-01 16:10:47 -04:00
Stephan Witt
27825f7cbe Add template for MacOS private frameworks to distribution
(cherry picked from commit faeb8d745e)
2020-06-01 21:49:09 +02:00
Richard Kimberly Heck
75b3de3335 Prepare for 2.3.5 2020-06-01 14:10:09 -04:00
Stephan Witt
6cd1088251 Add command line option for code sign identity to help message
(cherry picked from commit 544e5859d3)
2020-05-22 07:24:01 +02:00
Stephan Witt
56004e6d3a Make the directories in LyX application bundle read only.
Python produces files with cached on-the-fly compiled code on disk inside the bundle.
This should be avoided in case of a signed application bundle.

(cherry picked from commit ca7defab45)
2020-05-22 07:24:01 +02:00
Stephan Witt
07e3f92b62 Cleanup code signing of the LyX application bundle
(cherry picked from commit a47412b9de)
2020-05-22 07:24:01 +02:00
Stephan Witt
10f6836b56 Cleanup internal structure of embedded Qt frameworks
(cherry picked from commit 6b9b07e6dc)
2020-05-22 07:24:01 +02:00
Stephan Witt
794eab134d Improved standard conformance of private frameworks naming scheme
(cherry picked from commit 5ccb7da134)
2020-05-22 07:24:01 +02:00
Stephan Witt
957192d7f3 Add packaging option to code sign the LyX application
(cherry picked from commit d2257bb0ff)
2020-05-22 07:24:01 +02:00
Stephan Witt
29d2e997b8 Create private frameworks on Mac with standard conforming internal structure
(cherry picked from commit dc5221852c)
2020-05-22 07:24:01 +02:00
Stephan Witt
498e4dcd04 #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected - corrected shell syntax
(cherry picked from commit dfb33eb569)
2020-05-19 10:26:27 +02:00
Stephan Witt
95f18d1c04 #11742 use Inkscape 0.92.x converter from Resources of application bundle if detected
(cherry picked from commit 813cd1765c)
2020-05-19 10:26:19 +02:00
Stephan Witt
ebf85e52d2 #11742 correct pre 1.0 inkscape wrapper script path
(cherry picked from commit aec981bf41)
2020-05-18 13:20:41 +02:00
Stephan Witt
38829ea517 #11742 adapt inkscape start utility to Inkscape 1.0
(cherry picked from commit 4552d1c75f)
2020-05-18 13:20:24 +02:00
Juergen Spitzmueller
1dbc2f30d5 Address #9368
pdfview creates a temp pdf file to determine the standard pdf viewer,
code simplification, reducing dll dependencies

Patch by Eugene.
2020-04-09 16:01:35 +02:00
Richard Kimberly Heck
1bd2e72d5a Download dictionaries and thesauri from SVN.
Patch from Eugene.

(cherry picked from commit 36a1f365f0)
2020-04-05 14:50:24 -04:00
Richard Kimberly Heck
3fc90f6b6f Updates to build script. 2020-03-17 01:57:46 -04:00
Richard Kimberly Heck
235a1034c6 Minor updates to distribution creation script. 2020-02-24 19:27:22 -05:00