Package: lyx / 2.3.2-1

Metadata

Package Version Patches format
lyx 2.3.2-1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Prefer xdg open.patch | (download)

lib/configure.py | 12 6 + 6 - 0 !
1 file changed, 6 insertions(+), 6 deletions(-)

 prefer xdg-open

Add xdg-open as the first choice whenever this seems to be useful.

0002 Prefer python3 over python2.patch | (download)

config/lyxpython.m4 | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 prefer python3 over python2


0003 Replace shebang line with python3.patch | (download)

lib/configure.py | 2 1 + 1 - 0 !
lib/lyx2lyx/lyx2lyx | 2 1 + 1 - 0 !
lib/lyx2lyx/profiling.py | 2 1 + 1 - 0 !
lib/scripts/gnuplot2pdf.py | 2 1 + 1 - 0 !
lib/scripts/listerrors | 2 1 + 1 - 0 !
lib/scripts/svg2pdftex.py | 2 1 + 1 - 0 !
lib/scripts/svg2pstex.py | 2 1 + 1 - 0 !
src/tex2lyx/test/runtests.py | 2 1 + 1 - 0 !
8 files changed, 8 insertions(+), 8 deletions(-)

 replace shebang line with python3

To find all affected files, the following
two commands have been used:

grep -r --files-with-matches "^#\!\s*/usr/bin.*python" src/ | xargs sed -i -e "1 s/^\(#\!.*python[^3]\?\)/\13/"
grep -r --files-with-matches "^#\!\s*/usr/bin.*python" lib/ | xargs sed -i -e "1 s/^\(#\!.*python[^3]\?\)/\13/"

0004 Use python3 internally in the C code as well.patch | (download)

src/support/os.cpp | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 use python3 internally in the c code as well


0005 Fix failing configuration of a fresh LyX installatio.patch | (download)

lib/configure.py | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 fix failing configuration of a fresh lyx installation.

A fresh install of LyX results in the same /usr/share/lyx/configure.py
failure, and removing ~/.lyx/ on an existing install reproduces the
issue. It does not occur when ~/.lyx/ is already setup. Problem is
related to the move to Python 3 and comparisons of bytes and strings.

Closes: #909995
Thanks: Jonathan McDowell <noodles@earth.li>