Commit Graph

3729 Commits

Author SHA1 Message Date
Stephan Witt
f7dfb8eb0c 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)
2021-01-07 12:08:36 -05: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
Kornel Benko
153817a0fe Amend cad0ec3e 2020-02-15 12:23:42 +01:00
Kornel Benko
cad0ec3e54 Cmake build: Remove left-over files left after cherry-pick 2020-02-15 10:06:42 +01:00
Kornel Benko
a47dec6b4a Cmake build: Remove cmake warnings about mismatched values of FindPackageHandleStandardArgs()
(cherry picked from commit 9fdc00fe2a)
2020-02-08 22:13:04 +01:00
Richard Kimberly Heck
e887bbc544 Windows installer info. 2020-01-26 17:57:33 -05:00
Kornel Benko
d537d55b69 Cmake config: Respect the patch-level while creating package from tar/zip-source
Rename some variables to match the ones used by automake
Slightly modified patch from Eugene Chornyi <technikmagma@gmail.com>
2020-01-18 10:40:31 +01:00
Kornel Benko
a99dc05e18 Cmake tests: Make foreach() command robust
Cmake's foreach command includes forms
  foreach(<loop_var> IN LISTS <lists>)
  foreach(<loop_var> IN ITEMS <items>)
  foreach(<loop_var> RANGE ...)
We get the lines to be parsed by
  file(STRINGS "${filepath}" lines)
If in the parsed lyx-file there is a line
containing only the single word 'IN',  or 'RANGE', then
the command
  foreach(_l ${lines})
can create a syntax error (at least with cmake1.16)

In fact, in file pl_Additional.lyx:12913 happens to have
such a beast.

(cherry picked from commit 7b44280da4)
2019-12-31 11:35:54 +01:00
Kornel Benko
87672a1d07 Cmake build: Install executables as programms
Patch from Patrick (pdvisschere@edpnet.be)

(cherry picked from commit 58ed976dd3)
2019-11-27 15:11:23 +01:00
Uwe Stöhr
54acc050f6 Win installer: fix registry issue
- when installing LyX 2.3.x over a previous 2.3.x installation a registry key was not deleted
- also fix some hardcoded occurrences of "lyx"
2019-10-20 23:06:21 +02:00
Uwe Stöhr
cbaf5e70f8 development/Makefile.am: fix compilation error
see also my message on the list
2019-10-20 21:20:55 +02:00
Juergen Spitzmueller
ee1a4855ac Updated Dutch installer l7n by Niko. 2019-07-06 15:25:19 +02:00
Richard Kimberly Heck
c614d81e8d Add blank status file for easier resets. 2019-06-18 18:14:58 -04:00
Richard Kimberly Heck
64539c8e71 Notes. 2019-06-18 17:51:09 -04:00