diff --git a/x11-fm/doublecmd/files/patch-components_kascrypt_kascpu.pas b/x11-fm/doublecmd/files/patch-components_kascrypt_kascpu.pas new file mode 100644 index 000000000000..1b9d79d96f50 --- /dev/null +++ b/x11-fm/doublecmd/files/patch-components_kascrypt_kascpu.pas @@ -0,0 +1,11 @@ +--- components/kascrypt/kascpu.pas.orig 2026-07-18 09:01:48 UTC ++++ components/kascrypt/kascpu.pas +@@ -111,7 +111,7 @@ initialization + end; + + initialization +- Initialize; ++// Initialize; + + {$ELSEIF DEFINED(CPUX86_64)} + diff --git a/x11-fm/doublecmd/files/patch-doublecmd.lpg b/x11-fm/doublecmd/files/patch-doublecmd.lpg new file mode 100644 index 000000000000..3e8712c18ac6 --- /dev/null +++ b/x11-fm/doublecmd/files/patch-doublecmd.lpg @@ -0,0 +1,11 @@ +--- doublecmd.lpg.orig 2026-07-20 09:29:55 UTC ++++ doublecmd.lpg +@@ -6,7 +6,7 @@ + + + +- ++ + + + diff --git a/x11-fm/doublecmd/files/patch-plugins_wlx_WlxMplayer_src_wlxMplayer.lpr b/x11-fm/doublecmd/files/patch-plugins_wlx_WlxMplayer_src_wlxMplayer.lpr deleted file mode 100644 index e04d25aaf1b7..000000000000 --- a/x11-fm/doublecmd/files/patch-plugins_wlx_WlxMplayer_src_wlxMplayer.lpr +++ /dev/null @@ -1,11 +0,0 @@ ---- plugins/wlx/WlxMplayer/src/wlxMplayer.lpr.orig 2025-01-18 20:01:52 UTC -+++ plugins/wlx/WlxMplayer/src/wlxMplayer.lpr -@@ -263,7 +263,7 @@ begin - sPlayerPath: String; - p: TMPlayer; - begin -- pf:= TExProcess.Create('which mplayer'); -+ pf:= TExProcess.Create('%%LOCALBASE%%/bin/mplayer'); - try - pf.Execute; - if (pf.RezList.Count <> 0) then diff --git a/x11-fm/doublecmd/files/patch-plugins_wlx_wlxmplayer_src_wlxMplayer.lpr b/x11-fm/doublecmd/files/patch-plugins_wlx_wlxmplayer_src_wlxMplayer.lpr new file mode 100644 index 000000000000..9ba0c1003ac3 --- /dev/null +++ b/x11-fm/doublecmd/files/patch-plugins_wlx_wlxmplayer_src_wlxMplayer.lpr @@ -0,0 +1,11 @@ +--- plugins/wlx/wlxmplayer/src/wlxMplayer.lpr.orig 2026-07-18 09:01:48 UTC ++++ plugins/wlx/wlxmplayer/src/wlxMplayer.lpr +@@ -194,7 +194,7 @@ var + function ListLoad(ParentWin: HWND; FileToLoad: PAnsiChar; ShowFlags: Integer): HWND; dcpcall; + var + Player: TMPlayer; +- PlayerPath: String = 'mplayer'; ++ PlayerPath: String = '%%LOCALBASE%%/bin/mplayer'; + begin + if not CheckParent(ParentWin) then + Exit(wlxInvalidHandle); diff --git a/x11-fm/doublecmd/files/patch-src_dmhelpmanager.pas b/x11-fm/doublecmd/files/patch-src_dmhelpmanager.pas index b0c15f9744ca..6d30f25700b5 100644 --- a/x11-fm/doublecmd/files/patch-src_dmhelpmanager.pas +++ b/x11-fm/doublecmd/files/patch-src_dmhelpmanager.pas @@ -1,22 +1,31 @@ ---- src/dmhelpmanager.pas.orig 2021-10-17 08:37:18 UTC +--- src/dmhelpmanager.pas.orig 2026-07-20 08:31:44 UTC +++ src/dmhelpmanager.pas -@@ -106,7 +106,7 @@ begin - gHelpLang:= 'en' - else begin - gHelpLang:= ExtractDelimited(2, gPOFileName, ['.']); -- if not mbDirectoryExists(gpExePath + 'doc' + PathDelim + gHelpLang) then -+ if not mbDirectoryExists(gpDocsDir + 'doc' + PathDelim + gHelpLang) then - begin - ATranslations:= TStringListEx.Create; +@@ -104,7 +104,7 @@ var + + function CheckHelp(const HelpLang: String): Boolean; + begin +- Result:= mbDirectoryExists(gpExePath + 'doc' + PathDelim + HelpLang); ++ Result:= mbDirectoryExists(gpDocsDir + 'doc' + PathDelim + HelpLang); + if not Result then Result:= ATranslations.IndexOf(HelpLang) >= 0; + end; + +@@ -116,7 +116,7 @@ begin + try + gHelpLang:= ExtractDelimited(2, gPOFileName, ['.']); try -@@ -119,8 +119,8 @@ begin +- ATranslations.LoadFromFile(gpExePath + 'doublecmd.help'); ++ ATranslations.LoadFromFile(gpDocsDir + 'doublecmd.help'); + except + // Ignore + end; +@@ -134,8 +134,8 @@ begin end; end; - if mbDirectoryExists(gpExePath + 'doc' + PathDelim + gHelpLang) then - HTMLHelpDatabase.BaseURL:= 'file://' + gpExePath + 'doc' + PathDelim + gHelpLang + if mbDirectoryExists(gpDocsDir + 'doc' + PathDelim + gHelpLang) then + HTMLHelpDatabase.BaseURL:= 'file://' + gpDocsDir + 'doc' + PathDelim + gHelpLang else begin HTMLHelpDatabase.BaseURL:= 'https://doublecmd.github.io/doc/' + gHelpLang; end;