commit:     45192091bbd71fb6daae6c8029d5395cf3af78ab
Author:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 14 09:48:33 2025 +0000
Commit:     Michael Mair-Keimberger <mm1ke <AT> gentoo <DOT> org>
CommitDate: Sun Dec 14 09:48:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=45192091

app-office/lyx: remove unused patches

Signed-off-by: Michael Mair-Keimberger <mm1ke <AT> gentoo.org>

 .../lyx/files/lyx-2.4.0-prefer-xdg-open.patch      | 54 ----------------------
 app-office/lyx/files/lyx-2.4.3-fix-gcc15.patch     | 21 ---------
 2 files changed, 75 deletions(-)

diff --git a/app-office/lyx/files/lyx-2.4.0-prefer-xdg-open.patch 
b/app-office/lyx/files/lyx-2.4.0-prefer-xdg-open.patch
deleted file mode 100644
index b5a8ef5ced6b..000000000000
--- a/app-office/lyx/files/lyx-2.4.0-prefer-xdg-open.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-From: Arthur Zamarin <[email protected]>
-Date: Fri, 5 Apr 2024 16:05:46 +0300
-Add xdg-open as the first choice whenever this seems to  be useful
-
---- a/lib/configure.py
-+++ b/lib/configure.py
-@@ -716,7 +716,7 @@ def checkModule(module):
-       return False
-
-
--texteditors = ['xemacs', 'gvim', 'kedit', 'kwrite', 'kate',
-+texteditors = ['xdg-open', 'xemacs', 'gvim', 'kedit', 'kwrite', 'kate',
-                'nedit', 'gedit', 'geany', 'leafpad', 'mousepad',
-                'xed', 'notepad', 'WinEdt', 'WinShell', 'PSPad']
-
-@@ -731,7 +731,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'],
-@@ -756,9 +756,9 @@ 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])
-@@ -815,7 +815,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"
-@@ -826,7 +826,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', 'Skim.app',
-                  'gv', 'ghostview', 'AcroRd32', 'gsview64', 'gsview32'],

diff --git a/app-office/lyx/files/lyx-2.4.3-fix-gcc15.patch 
b/app-office/lyx/files/lyx-2.4.3-fix-gcc15.patch
deleted file mode 100644
index 2724f3cbdfe8..000000000000
--- a/app-office/lyx/files/lyx-2.4.3-fix-gcc15.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://src.fedoraproject.org/rpms/lyx/blob/rawhide/f/0002-Fix-compilation-on-gcc-15.patch
-From: =?UTF-8?q?Jos=C3=A9=20Matos?= <[email protected]>
-Date: Fri, 17 Jan 2025 07:39:51 +0000
-Subject: [PATCH] Fix compilation on gcc-15
-
-Suggested by gcc itself. :-)
-
-(cherry picked from commit 527d3d669cf60d306f6c6a08a880fa4609df2262)
---- a/src/mathed/MathParser.cpp
-+++ b/src/mathed/MathParser.cpp
-@@ -78,6 +78,7 @@ following hack as starting point to write some macros:
- #include "support/debug.h"
- #include "support/docstream.h"
- 
-+#include <cstdint>
- #include <sstream>
- 
- //#define FILEDEBUG
--- 
-2.48.1
-

Reply via email to