diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-07 12:24:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-07 12:24:47 +0100 |
commit | 5d8ffbc273ca664e15618d557ced3e02de1a884b (patch) | |
tree | bc22fbc6a07790fd70dc8b5148de3089a1c4db3e /app-office/lyx | |
parent | 4187bba080530c5ca1c7dae9c233e88f3fc8f535 (diff) |
gentoo auto-resync : 07:07:2024 - 12:24:46
Diffstat (limited to 'app-office/lyx')
-rw-r--r-- | app-office/lyx/Manifest | 2 | ||||
-rw-r--r-- | app-office/lyx/files/lyx-2.3.6.1-python.patch | 50 | ||||
-rw-r--r-- | app-office/lyx/files/lyx-prefer-xdg-open.patch | 60 |
3 files changed, 0 insertions, 112 deletions
diff --git a/app-office/lyx/Manifest b/app-office/lyx/Manifest index b3dec6c017a8..572ce1843b54 100644 --- a/app-office/lyx/Manifest +++ b/app-office/lyx/Manifest @@ -1,7 +1,5 @@ -AUX lyx-2.3.6.1-python.patch 2294 BLAKE2B 1980fe19607577d6b7462aaa4a049a41cbc329e881889cdee673df1bf57d7ab0dbfb8bd9aa705e23a88b1c195bd660f04efb519c9371167939e946c099b7784d SHA512 6f41de389bce14d8ef1c695268f6d6540276fe44d4871a14458f7ef38e6b4f4cb90877310d82df5550d537f39f65eded489722de24eb99ea6d83d8ec92dd7b71 AUX lyx-2.4.0-fix-hunspell.patch 780 BLAKE2B 04c8373fa29e7a1d40901d83104832fe01ca96fca25a99f19d472cfb0387145b14c124fa44a6d2710f0d35e4dc7061c8935b1e03378154de85c2e4c4079269f9 SHA512 992c21e8d3e30bf2c14c006e19c969e93f447a12f0080bf59238ccc66967938fd10fa35387ab3943f0d39ab132b330876e7cf207e49c6ab174a731a2dc4f4ef3 AUX lyx-2.4.0-prefer-xdg-open.patch 3138 BLAKE2B 95dd25064876a6ab58649249f0a42035bfdb6c91524dc7b6031017eb911efe7534c267e178b0dac26d0090409245962d153f81db3dd28785b11576e988ecef12 SHA512 e2f5a0484742af079bc69aff3056dd2d3afe8f952fd342f3e5da8445894bd8d6c60a575079bdee61a378ce20adba7e31e1e6a5cb6c2b00ba3b7d0b161c55ef12 -AUX lyx-prefer-xdg-open.patch 3470 BLAKE2B f989c3455d4cfb332d36edbca9b3bcc0208709d361696f04bdd565ea455104d1809877bdb85a362e950c2d48159c52d9a1a69c92d79f075269cfc9ccfceee4d7 SHA512 d17a2af0d75b6dcca06c1d31e615b814df3e75c3039c7ff5a14ab270b7cb75ab6f42ec851db7c804c90b7724a95eeec02d74de5c7511523c8400f0d50c2c0ce3 DIST lyx-2.4.0.tar.xz 17823824 BLAKE2B 924425bbbbc50c1e1b03e493a021be4f9b56344712407b46dc1ec75bd583f0f9803592d3fbdca70fdefdbb60056f0275ab4a25e251f728ed710ef796b50f711e SHA512 b52724a7f544f190c93b948c11b835057f73e417115cf67a5e586f6872816b3a4df7429d24b5323410a34a79f725052db57105649ff6c275141f97d391a2091b DIST lyx-2.4.1.tar.xz 17848700 BLAKE2B 5e9d9530610149a1b0f6a7d536068ff0da97e261a6069a9efc3c45a892c653e7accadcd0bde96bf3ffad9d936fef4a4b88ee7b5233f875bbc568044376a5b37e SHA512 80d57d46dab61ecb655c9d54ba1d20203ad943db5249ed16dbeb5b78b7845896a79224c8032213cc861fd943629fbe87ef8ac9155cc9b34da9be2f59eb087071 EBUILD lyx-2.4.0.ebuild 3832 BLAKE2B c4ef34eaef2db18605cfa75ff5c86153b18ed3100c4486bbff504e836a0378b22ef5c92d28a22a66ffbdf016ec096d3b3521c5624243093a16c68ef80aed66eb SHA512 ce81366f6416af9fdcb3d1c64bd46e7f930c7a30daf1a8be19e892fe81c189bf330e6565aec481afe44a9b84d005ae8b0b0e2c484da2199a5209652f07d7b6ac diff --git a/app-office/lyx/files/lyx-2.3.6.1-python.patch b/app-office/lyx/files/lyx-2.3.6.1-python.patch deleted file mode 100644 index 666d82c06bf8..000000000000 --- a/app-office/lyx/files/lyx-2.3.6.1-python.patch +++ /dev/null @@ -1,50 +0,0 @@ -https://src.fedoraproject.org/rpms/lyx/raw/054d18eb79a8ec3d4480ab4449b3c62b12770d2d/f/lyx-2.3.6-layout2layout.patch ---- a/lib/scripts/layout2layout.py -+++ b/lib/scripts/layout2layout.py -@@ -256,7 +256,7 @@ - - def trim_bom(line): - " Remove byte order mark." -- if line[0:3] == "\357\273\277": -+ if line[0:3] == b"\357\273\277": - return line[3:] - else: - return line -@@ -345,8 +345,8 @@ - # for categories - re_Declaration = re.compile(b'^#\\s*\\Declare\\w+Class.*$') - re_ExtractCategory = re.compile(b'^(#\\s*\\Declare\\w+Class(?:\\[[^]]*?\\])?){([^(]+?)\\s+\\(([^)]+?)\\)\\s*}\\s*$') -- ConvDict = {"article": "Articles", "book" : "Books", "letter" : "Letters", "report": "Reports", \ -- "presentation" : "Presentations", "curriculum vitae" : "Curricula Vitae", "handout" : "Handouts"} -+ ConvDict = {b"article": b"Articles", b"book" : b"Books", b"letter" : b"Letters", b"report": b"Reports", \ -+ b"presentation" : b"Presentations", b"curriculum vitae" : b"Curricula Vitae", b"handout" : b"Handouts"} - # Arguments - re_OptArgs = re.compile(b'^(\\s*)OptionalArgs(\\s+)(\\d+)\\D*$', re.IGNORECASE) - re_ReqArgs = re.compile(b'^(\\s*)RequiredArgs(\\s+)(\\d+)\\D*$', re.IGNORECASE) -@@ -485,7 +485,7 @@ - continue - col = match.group(2) - if col == "collapsable": -- lines[i] = match.group(1) + "collapsible" -+ lines[i] = match.group(1) + b"collapsible" - i += 1 - continue - -@@ -703,7 +703,7 @@ - # Insert the required number of arguments at the end of the style definition - match = re_End.match(lines[i]) - if match: -- newarg = [''] -+ newarg = [b''] - # First the optionals (this is the required order pre 2.1) - if opts > 0: - if opts == 1: -@@ -1153,7 +1153,7 @@ - if latextype == b"item_environment" and label.lower() == b"counter_enumi": - lines[labeltype_line] = re_LabelType.sub(b'\\1\\2\\3Enumerate', lines[labeltype_line]) - # Don't add the LabelCounter line later -- counter = "" -+ counter = b"" - - # Replace - # diff --git a/app-office/lyx/files/lyx-prefer-xdg-open.patch b/app-office/lyx/files/lyx-prefer-xdg-open.patch deleted file mode 100644 index 5e12f6c2e699..000000000000 --- a/app-office/lyx/files/lyx-prefer-xdg-open.patch +++ /dev/null @@ -1,60 +0,0 @@ -From: "Dr. Tobias Quathamer" <toddy@debian.org> -Date: Wed, 31 Jan 2018 23:27:37 +0100 -Subject: Prefer xdg-open - -Add xdg-open as the first choice whenever this seems to be useful. ---- - lib/configure.py | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/lib/configure.py b/lib/configure.py -index 7fee68d..abc4d53 100644 ---- a/lib/configure.py -+++ b/lib/configure.py -@@ -657,7 +657,7 @@ def checkFormatEntries(dtl_tools): - checkViewerEditor('a Dia viewer and editor', ['dia'], - rc_entry = [r'\Format dia dia DIA "" "%%" "%%" "vector,zipped=native", "application/x-dia-diagram"']) - # -- checkViewerEditor('an OpenDocument drawing viewer and editor', ['libreoffice', 'lodraw', 'ooffice', 'oodraw', 'soffice'], -+ checkViewerEditor('an OpenDocument drawing viewer and editor', ['xdg-open', 'libreoffice', 'lodraw', 'ooffice', 'oodraw', 'soffice'], - rc_entry = [r'\Format odg "odg, sxd" "OpenDocument drawing" "" "%%" "%%" "vector,zipped=native" "application/vnd.oasis.opendocument.graphics"']) - # - checkViewerEditor('a Grace viewer and editor', ['xmgrace'], -@@ -682,16 +682,16 @@ def checkFormatEntries(dtl_tools): - \Format xbm xbm XBM "" "%s" "%s" "" "image/x-xbitmap" - \Format xpm xpm XPM "" "%s" "%s" "" "image/x-xpixmap"''' - path, iv = checkViewerNoRC('a raster image viewer', -- ['xv', 'gwenview', 'kview', -+ ['xdg-open', 'xv', 'gwenview', 'kview', - 'eog', 'xviewer', 'ristretto', 'gpicview', 'lximage-qt', -- 'xdg-open', 'gimp-remote', 'gimp'], -+ 'gimp-remote', 'gimp'], - rc_entry = [imageformats]) - path, ie = checkEditorNoRC('a raster image editor', - ['gimp-remote', 'gimp'], rc_entry = [imageformats]) - addToRC(imageformats % ((iv, ie)*10)) - # - checkViewerEditor('a text editor', -- ['xemacs', 'gvim', 'kedit', 'kwrite', 'kate', -+ ['xdg-open', 'xemacs', 'gvim', 'kedit', 'kwrite', 'kate', - 'nedit', 'gedit', 'geany', 'leafpad', 'mousepad', 'xed', 'notepad'], - rc_entry = [r'''\Format asciichess asc "Plain text (chess output)" "" "" "%%" "" "" - \Format docbook sgml DocBook B "" "%%" "document,menu=export" "" -@@ -745,7 +745,7 @@ def checkFormatEntries(dtl_tools): - #checkProg('a Postscript interpreter', ['gs'], - # rc_entry = [ r'\ps_command "%%"' ]) - checkViewer('a Postscript previewer', -- ['kghostview', 'okular', 'qpdfview --unique', -+ ['xdg-open', 'kghostview', 'okular', 'qpdfview --unique', - 'evince', 'xreader', - 'gv', 'ghostview -swap', 'gsview64', 'gsview32'], - rc_entry = [r'''\Format eps eps EPS "" "%%" "" "vector" "image/x-eps" -@@ -756,7 +756,7 @@ def checkFormatEntries(dtl_tools): - # maybe use "bestApplication()" from https://github.com/jleclanche/python-mime - # the MIME type is set for pdf6, because that one needs to be autodetectable by libmime - checkViewer('a PDF previewer', -- ['pdfview', 'kpdf', 'okular', 'qpdfview --unique', -+ ['xdg-open', 'pdfview', 'kpdf', 'okular', 'qpdfview --unique', - 'evince', 'xreader', 'kghostview', 'xpdf', 'SumatraPDF', - 'acrobat', 'acroread', 'mupdf', - 'gv', 'ghostview', 'AcroRd32', 'gsview64', 'gsview32'], |