Mageia Bugzilla – Attachment 13978 Details for
Bug 28938
Lyx:The first ten options from top in Help menu don't work
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
Second patch
lyx-2.3.6-python3.patch (text/plain), 9.39 KB, created by
katnatek
on 2023-09-09 06:46:30 CEST
(
hide
)
Description:
Second patch
Filename:
MIME Type:
Creator:
katnatek
Created:
2023-09-09 06:46:30 CEST
Size:
9.39 KB
patch
obsolete
>Index: lyx-2.3.6/development/cmake/po/cat.py >=================================================================== >--- lyx-2.3.6/development/cmake/po/cat.py >+++ lyx-2.3.6/development/cmake/po/cat.py 2020-12-30 14:26:33.702869622 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > > from __future__ import print_function > >Index: lyx-2.3.6/development/cmake/po/unix2dos.py >=================================================================== >--- lyx-2.3.6/development/cmake/po/unix2dos.py >+++ lyx-2.3.6/development/cmake/po/unix2dos.py 2020-12-30 14:26:33.702869622 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > > ############### > import sys >Index: lyx-2.3.6/development/cmake/doc/ReplaceValues.py >=================================================================== >--- lyx-2.3.6/development/cmake/doc/ReplaceValues.py >+++ lyx-2.3.6/development/cmake/doc/ReplaceValues.py 2020-12-30 14:26:33.702869622 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > > from __future__ import print_function > >Index: lyx-2.3.6/development/tools/gen_lfuns.py >=================================================================== >--- lyx-2.3.6/development/tools/gen_lfuns.py >+++ lyx-2.3.6/development/tools/gen_lfuns.py 2020-12-30 14:26:33.701869627 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > > # file gen_lfuns.py >Index: lyx-2.3.6/development/tools/generate_symbols_images.py >=================================================================== >--- lyx-2.3.6/development/tools/generate_symbols_images.py >+++ lyx-2.3.6/development/tools/generate_symbols_images.py 2020-12-30 14:26:33.702869622 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > > # file generate_symbols_images.py >Index: lyx-2.3.6/development/tools/generate_symbols_list.py >=================================================================== >--- lyx-2.3.6/development/tools/generate_symbols_list.py >+++ lyx-2.3.6/development/tools/generate_symbols_list.py 2020-12-30 14:26:33.702869622 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > > # file generate_symbols_images.py >Index: lyx-2.3.6/development/tools/mergepo.py >=================================================================== >--- lyx-2.3.6/development/tools/mergepo.py >+++ lyx-2.3.6/development/tools/mergepo.py 2020-12-30 14:26:33.702869622 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > > # file mergepo.py >Index: lyx-2.3.6/development/tools/unicodesymbols.py >=================================================================== >--- lyx-2.3.6/development/tools/unicodesymbols.py >+++ lyx-2.3.6/development/tools/unicodesymbols.py 2020-12-30 14:26:33.702869622 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > > # file unciodesymbols.py >Index: lyx-2.3.6/development/tools/updatedocs.py >=================================================================== >--- lyx-2.3.6/development/tools/updatedocs.py >+++ lyx-2.3.6/development/tools/updatedocs.py 2020-12-30 14:26:33.701869627 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > > # file updatedocs.py >Index: lyx-2.3.6/development/tools/updatelayouts.py >=================================================================== >--- lyx-2.3.6/development/tools/updatelayouts.py >+++ lyx-2.3.6/development/tools/updatelayouts.py 2020-12-30 14:26:33.702869622 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > > # file updatelayouts.py >Index: lyx-2.3.6/development/autotests/keytest.py >=================================================================== >--- lyx-2.3.6/development/autotests/keytest.py >+++ lyx-2.3.6/development/autotests/keytest.py 2020-12-30 14:27:40.508551901 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/python >+#!/usr/bin/python3 > # -*- coding: utf-8 -*- > # This script generates hundreds of random keypresses per second, > # and sends them to the lyx window >Index: lyx-2.3.6/development/keystest/cache-bisect.py >=================================================================== >--- lyx-2.3.6/development/keystest/cache-bisect.py >+++ lyx-2.3.6/development/keystest/cache-bisect.py 2020-12-30 14:27:40.508551901 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/python >+#!/usr/bin/python3 > # -*- coding: utf-8 -*- > > import os >Index: lyx-2.3.6/development/keystest/keytest.py >=================================================================== >--- lyx-2.3.6/development/keystest/keytest.py >+++ lyx-2.3.6/development/keystest/keytest.py 2020-12-30 14:27:40.508551901 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/python >+#!/usr/bin/python3 > # -*- coding: utf-8 -*- > # This script generates hundreds of random keypresses per second, > # and sends them to the lyx window >Index: lyx-2.3.6/development/keystest/make_screenshot_html.py >=================================================================== >--- lyx-2.3.6/development/keystest/make_screenshot_html.py >+++ lyx-2.3.6/development/keystest/make_screenshot_html.py 2020-12-30 14:27:40.508551901 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/python >+#!/usr/bin/python3 > # -*- coding: utf-8 -*- > import re > import os >Index: lyx-2.3.6/po/Makefile.in >=================================================================== >--- lyx-2.3.6/po/Makefile.in >+++ lyx-2.3.6/po/Makefile.in 2020-12-30 14:27:40.508551901 +0100 >@@ -14,7 +14,7 @@ > PACKAGE_BUGREPORT = lyx-devel@lists.lyx.org > > # ADDED FOR LYX >-PYTHON = /usr/bin/python >+PYTHON = /usr/bin/python3 > > SED = /usr/bin/sed > SHELL = /bin/sh >Index: lyx-2.3.6/po/lyx_pot.py >=================================================================== >--- lyx-2.3.6/po/lyx_pot.py >+++ lyx-2.3.6/po/lyx_pot.py 2020-12-30 14:26:33.701869627 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/env python >+#!/usr/bin/python3 > # -*- coding: utf-8 -*- > > # file lyx_pot.py >Index: lyx-2.3.6/src/graphics/GraphicsConverter.cpp >=================================================================== >--- lyx-2.3.6/src/graphics/GraphicsConverter.cpp >+++ lyx-2.3.6/src/graphics/GraphicsConverter.cpp 2020-12-30 14:26:33.701869627 +0100 >@@ -287,7 +287,7 @@ > LYXERR(Debug::GRAPHICS, "build_script ... "); > typedef Graph::EdgePath EdgePath; > >- script << "#!/usr/bin/env python\n" >+ script << "#!/usr/bin/python3\n" > "# -*- coding: utf-8 -*-\n" > "import os, shutil, sys\n\n" > "def unlinkNoThrow(file):\n" >Index: lyx-2.3.6/src/tex2lyx/test/runtests.py >=================================================================== >--- lyx-2.3.6/src/tex2lyx/test/runtests.py >+++ lyx-2.3.6/src/tex2lyx/test/runtests.py 2020-12-30 14:26:33.701869627 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > > # file src/tex2lyx/test/runtests.py >Index: lyx-2.3.6/lib/configure.py >=================================================================== >--- lyx-2.3.6/lib/configure.py >+++ lyx-2.3.6/lib/configure.py 2020-12-30 14:27:40.507551905 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > # > # file configure.py >Index: lyx-2.3.6/lib/examples/listerrors.lyx >=================================================================== >--- lyx-2.3.6/lib/examples/listerrors.lyx >+++ lyx-2.3.6/lib/examples/listerrors.lyx 2020-12-30 14:27:40.508551901 +0100 >@@ -347,7 +347,7 @@ > > \begin_layout Plain Layout > >-#!/usr/bin/python -tt >+#!/usr/bin/python3 -tt > \end_layout > > \begin_layout Plain Layout >Index: lyx-2.3.6/lib/scripts/gnuplot2pdf.py >=================================================================== >--- lyx-2.3.6/lib/scripts/gnuplot2pdf.py >+++ lyx-2.3.6/lib/scripts/gnuplot2pdf.py 2020-12-30 14:27:40.507551905 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/python >+#!/usr/bin/python3 > > from subprocess import Popen, PIPE > from sys import argv, stderr, exit >Index: lyx-2.3.6/lib/scripts/listerrors >=================================================================== >--- lyx-2.3.6/lib/scripts/listerrors >+++ lyx-2.3.6/lib/scripts/listerrors 2020-12-30 14:26:33.700869631 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/env python >+#!/usr/bin/python3 > > # file listerrors > # This file is part of LyX, the document processor. >Index: lyx-2.3.6/lib/scripts/svg2pdftex.py >=================================================================== >--- lyx-2.3.6/lib/scripts/svg2pdftex.py >+++ lyx-2.3.6/lib/scripts/svg2pdftex.py 2020-12-30 14:26:33.701869627 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/env python >+#!/usr/bin/python3 > # -*- coding: utf-8 -*- > > # file svg2pdftex.py >Index: lyx-2.3.6/lib/scripts/svg2pstex.py >=================================================================== >--- lyx-2.3.6/lib/scripts/svg2pstex.py >+++ lyx-2.3.6/lib/scripts/svg2pstex.py 2020-12-30 14:26:33.700869631 +0100 >@@ -1,4 +1,4 @@ >-#!/usr/bin/env python >+#!/usr/bin/python3 > # -*- coding: utf-8 -*- > > # file svg2pstex.py >Index: lyx-2.3.6/lib/lyx2lyx/lyx2lyx >=================================================================== >--- lyx-2.3.6/lib/lyx2lyx/lyx2lyx >+++ lyx-2.3.6/lib/lyx2lyx/lyx2lyx 2020-12-30 14:26:33.700869631 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > # Copyright (C) 2002-2011 The LyX Team > # Copyright (C) 2002-2007 José Matos <jamatos@lyx.org> >Index: lyx-2.3.6/lib/lyx2lyx/profiling.py >=================================================================== >--- lyx-2.3.6/lib/lyx2lyx/profiling.py >+++ lyx-2.3.6/lib/lyx2lyx/profiling.py 2020-12-30 14:26:33.701869627 +0100 >@@ -1,4 +1,4 @@ >-#! /usr/bin/env python >+#! /usr/bin/python3 > # -*- coding: utf-8 -*- > # Copyright (C) 2004 José Matos <jamatos@lyx.org> > #
Index: lyx-2.3.6/development/cmake/po/cat.py =================================================================== --- lyx-2.3.6/development/cmake/po/cat.py +++ lyx-2.3.6/development/cmake/po/cat.py 2020-12-30 14:26:33.702869622 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 from __future__ import print_function Index: lyx-2.3.6/development/cmake/po/unix2dos.py =================================================================== --- lyx-2.3.6/development/cmake/po/unix2dos.py +++ lyx-2.3.6/development/cmake/po/unix2dos.py 2020-12-30 14:26:33.702869622 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 ############### import sys Index: lyx-2.3.6/development/cmake/doc/ReplaceValues.py =================================================================== --- lyx-2.3.6/development/cmake/doc/ReplaceValues.py +++ lyx-2.3.6/development/cmake/doc/ReplaceValues.py 2020-12-30 14:26:33.702869622 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 from __future__ import print_function Index: lyx-2.3.6/development/tools/gen_lfuns.py =================================================================== --- lyx-2.3.6/development/tools/gen_lfuns.py +++ lyx-2.3.6/development/tools/gen_lfuns.py 2020-12-30 14:26:33.701869627 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # file gen_lfuns.py Index: lyx-2.3.6/development/tools/generate_symbols_images.py =================================================================== --- lyx-2.3.6/development/tools/generate_symbols_images.py +++ lyx-2.3.6/development/tools/generate_symbols_images.py 2020-12-30 14:26:33.702869622 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # file generate_symbols_images.py Index: lyx-2.3.6/development/tools/generate_symbols_list.py =================================================================== --- lyx-2.3.6/development/tools/generate_symbols_list.py +++ lyx-2.3.6/development/tools/generate_symbols_list.py 2020-12-30 14:26:33.702869622 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # file generate_symbols_images.py Index: lyx-2.3.6/development/tools/mergepo.py =================================================================== --- lyx-2.3.6/development/tools/mergepo.py +++ lyx-2.3.6/development/tools/mergepo.py 2020-12-30 14:26:33.702869622 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # file mergepo.py Index: lyx-2.3.6/development/tools/unicodesymbols.py =================================================================== --- lyx-2.3.6/development/tools/unicodesymbols.py +++ lyx-2.3.6/development/tools/unicodesymbols.py 2020-12-30 14:26:33.702869622 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # file unciodesymbols.py Index: lyx-2.3.6/development/tools/updatedocs.py =================================================================== --- lyx-2.3.6/development/tools/updatedocs.py +++ lyx-2.3.6/development/tools/updatedocs.py 2020-12-30 14:26:33.701869627 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # file updatedocs.py Index: lyx-2.3.6/development/tools/updatelayouts.py =================================================================== --- lyx-2.3.6/development/tools/updatelayouts.py +++ lyx-2.3.6/development/tools/updatelayouts.py 2020-12-30 14:26:33.702869622 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # file updatelayouts.py Index: lyx-2.3.6/development/autotests/keytest.py =================================================================== --- lyx-2.3.6/development/autotests/keytest.py +++ lyx-2.3.6/development/autotests/keytest.py 2020-12-30 14:27:40.508551901 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # This script generates hundreds of random keypresses per second, # and sends them to the lyx window Index: lyx-2.3.6/development/keystest/cache-bisect.py =================================================================== --- lyx-2.3.6/development/keystest/cache-bisect.py +++ lyx-2.3.6/development/keystest/cache-bisect.py 2020-12-30 14:27:40.508551901 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 -*- import os Index: lyx-2.3.6/development/keystest/keytest.py =================================================================== --- lyx-2.3.6/development/keystest/keytest.py +++ lyx-2.3.6/development/keystest/keytest.py 2020-12-30 14:27:40.508551901 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # This script generates hundreds of random keypresses per second, # and sends them to the lyx window Index: lyx-2.3.6/development/keystest/make_screenshot_html.py =================================================================== --- lyx-2.3.6/development/keystest/make_screenshot_html.py +++ lyx-2.3.6/development/keystest/make_screenshot_html.py 2020-12-30 14:27:40.508551901 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 # -*- coding: utf-8 -*- import re import os Index: lyx-2.3.6/po/Makefile.in =================================================================== --- lyx-2.3.6/po/Makefile.in +++ lyx-2.3.6/po/Makefile.in 2020-12-30 14:27:40.508551901 +0100 @@ -14,7 +14,7 @@ PACKAGE_BUGREPORT = lyx-devel@lists.lyx.org # ADDED FOR LYX -PYTHON = /usr/bin/python +PYTHON = /usr/bin/python3 SED = /usr/bin/sed SHELL = /bin/sh Index: lyx-2.3.6/po/lyx_pot.py =================================================================== --- lyx-2.3.6/po/lyx_pot.py +++ lyx-2.3.6/po/lyx_pot.py 2020-12-30 14:26:33.701869627 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # file lyx_pot.py Index: lyx-2.3.6/src/graphics/GraphicsConverter.cpp =================================================================== --- lyx-2.3.6/src/graphics/GraphicsConverter.cpp +++ lyx-2.3.6/src/graphics/GraphicsConverter.cpp 2020-12-30 14:26:33.701869627 +0100 @@ -287,7 +287,7 @@ LYXERR(Debug::GRAPHICS, "build_script ... "); typedef Graph::EdgePath EdgePath; - script << "#!/usr/bin/env python\n" + script << "#!/usr/bin/python3\n" "# -*- coding: utf-8 -*-\n" "import os, shutil, sys\n\n" "def unlinkNoThrow(file):\n" Index: lyx-2.3.6/src/tex2lyx/test/runtests.py =================================================================== --- lyx-2.3.6/src/tex2lyx/test/runtests.py +++ lyx-2.3.6/src/tex2lyx/test/runtests.py 2020-12-30 14:26:33.701869627 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # file src/tex2lyx/test/runtests.py Index: lyx-2.3.6/lib/configure.py =================================================================== --- lyx-2.3.6/lib/configure.py +++ lyx-2.3.6/lib/configure.py 2020-12-30 14:27:40.507551905 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # # file configure.py Index: lyx-2.3.6/lib/examples/listerrors.lyx =================================================================== --- lyx-2.3.6/lib/examples/listerrors.lyx +++ lyx-2.3.6/lib/examples/listerrors.lyx 2020-12-30 14:27:40.508551901 +0100 @@ -347,7 +347,7 @@ \begin_layout Plain Layout -#!/usr/bin/python -tt +#!/usr/bin/python3 -tt \end_layout \begin_layout Plain Layout Index: lyx-2.3.6/lib/scripts/gnuplot2pdf.py =================================================================== --- lyx-2.3.6/lib/scripts/gnuplot2pdf.py +++ lyx-2.3.6/lib/scripts/gnuplot2pdf.py 2020-12-30 14:27:40.507551905 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/python3 from subprocess import Popen, PIPE from sys import argv, stderr, exit Index: lyx-2.3.6/lib/scripts/listerrors =================================================================== --- lyx-2.3.6/lib/scripts/listerrors +++ lyx-2.3.6/lib/scripts/listerrors 2020-12-30 14:26:33.700869631 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # file listerrors # This file is part of LyX, the document processor. Index: lyx-2.3.6/lib/scripts/svg2pdftex.py =================================================================== --- lyx-2.3.6/lib/scripts/svg2pdftex.py +++ lyx-2.3.6/lib/scripts/svg2pdftex.py 2020-12-30 14:26:33.701869627 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # file svg2pdftex.py Index: lyx-2.3.6/lib/scripts/svg2pstex.py =================================================================== --- lyx-2.3.6/lib/scripts/svg2pstex.py +++ lyx-2.3.6/lib/scripts/svg2pstex.py 2020-12-30 14:26:33.700869631 +0100 @@ -1,4 +1,4 @@ -#!/usr/bin/env python +#!/usr/bin/python3 # -*- coding: utf-8 -*- # file svg2pstex.py Index: lyx-2.3.6/lib/lyx2lyx/lyx2lyx =================================================================== --- lyx-2.3.6/lib/lyx2lyx/lyx2lyx +++ lyx-2.3.6/lib/lyx2lyx/lyx2lyx 2020-12-30 14:26:33.700869631 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # Copyright (C) 2002-2011 The LyX Team # Copyright (C) 2002-2007 José Matos <jamatos@lyx.org> Index: lyx-2.3.6/lib/lyx2lyx/profiling.py =================================================================== --- lyx-2.3.6/lib/lyx2lyx/profiling.py +++ lyx-2.3.6/lib/lyx2lyx/profiling.py 2020-12-30 14:26:33.701869627 +0100 @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/python3 # -*- coding: utf-8 -*- # Copyright (C) 2004 José Matos <jamatos@lyx.org> #
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 28938
:
12715
|
12716
|
13976
|
13977
| 13978 |
13979
|
13980
|
13981
|
13982
|
14139
|
14140
|
14193