summaryrefslogtreecommitdiffstats
path: root/multimedia/winff/patches
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia/winff/patches')
-rw-r--r--multimedia/winff/patches/unit1-pas.patch43
-rw-r--r--multimedia/winff/patches/unit2-pas.patch13
-rw-r--r--multimedia/winff/patches/unit3-lfm.patch58
-rw-r--r--multimedia/winff/patches/unit3-pas.patch77
-rw-r--r--multimedia/winff/patches/unit4-pas.patch13
-rw-r--r--multimedia/winff/patches/unit5-pas.patch13
-rw-r--r--multimedia/winff/patches/unit6-pas.patch13
-rw-r--r--multimedia/winff/patches/winff-1.patch17
-rw-r--r--multimedia/winff/patches/winff-en.patch37
-rw-r--r--multimedia/winff/patches/winff-lpi.patch32
-rw-r--r--multimedia/winff/patches/winff-lpr.patch12
-rw-r--r--multimedia/winff/patches/winff-po.patch31
-rw-r--r--multimedia/winff/patches/winff-pot.patch31
13 files changed, 390 insertions, 0 deletions
diff --git a/multimedia/winff/patches/unit1-pas.patch b/multimedia/winff/patches/unit1-pas.patch
new file mode 100644
index 0000000000..402e4634a9
--- /dev/null
+++ b/multimedia/winff/patches/unit1-pas.patch
@@ -0,0 +1,43 @@
+--- unit1.pas 2023-10-03 19:20:47.000000000 +0530
++++ unit1n.pas 2024-01-10 22:26:54.221464261 +0530
+@@ -1,8 +1,8 @@
+ unit Unit1;
+
+-// WInFF 1.0 Copyright 2006-2012 Matthew Weatherford
++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford
+ // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru>
+-// http://winff.org
++// https://github.com/WinFF/winff
+ // Licensed under the GPL v3 or any later version
+ //
+ // This program is free software: you can redistribute it and/or modify
+@@ -1988,16 +1988,16 @@
+ language:=leftstr(lang,2);
+ {$ifdef unix}
+ s :='';
+- if fileexists('/usr/share/doc/winff/WinFF.' + language + '.pdf.gz') then s:='/usr/share/doc/winff/WinFF.' + language + '.pdf.gz';
+- if fileexists('/usr/share/doc/winff/WinFF.' + language + '.pdf') then s:='/usr/share/doc/winff/WinFF.' + language + '.pdf';
++ if fileexists('/usr/share/doc/winff/WinFF.' + language + '.pdf.gz') then s:='/usr/doc/winff-20231003_31b79e3/WinFF.' + language + '.pdf.gz';
++ if fileexists('/usr/share/doc/winff/WinFF.' + language + '.pdf') then s:='/usr/doc/winff-20231003_31b79e3/WinFF.' + language + '.pdf';
+ if fileexists('/usr/share/winff/WinFF.' + language + '.pdf') then s:='/usr/share/winff/WinFF.' + language + '.pdf';
+ if fileexists('/usr/share/winff/WinFF.' + language + '.pdf.gz') then s:='/usr/share/winff/WinFF.' + language + '.pdf.gz';
+ if fileexists('/usr/share/doc/packages/winff/WinFF.' + language + '.pdf.gz') then s:='/usr/share/doc/packages/winff/WinFF.' + language + '.pdf.gz';
+ if fileexists('/usr/share/doc/packages/winff/WinFF.' + language + '.pdf') then s:='/usr/share/doc/packages/winff/WinFF.' + language + '.pdf';
+ if s='' then
+ begin
+- s := '/usr/share/doc/winff/WinFF.en.pdf.gz';
+- if fileexists('/usr/share/doc/winff/WinFF.en.pdf') then s:='/usr/share/doc/winff/WinFF.en.pdf';
++ s := '/usr/doc/winff-20231003_31b79e3/WinFF.en.pdf.gz';
++ if fileexists('/usr/doc/winff-20231003_31b79e3/WinFF.en.pdf') then s:='/usr/doc/winff-20231003_31b79e3/WinFF.en.pdf';
+ if fileexists('/usr/share/winff/WinFF.en.pdf') then s:='/usr/share/winff/WinFF.en.pdf';
+ if fileexists('/usr/share/winff/WinFF.en.pdf.gz') then s:='/usr/share/winff/WinFF.en.pdf.gz';
+ if fileexists('/usr/share/doc/packages/winff/WinFF.en.pdf.gz') then s:='/usr/share/doc/packages/winff/WinFF.en.pdf.gz';
+@@ -2015,7 +2015,7 @@
+ procedure TfrmMain.mitForumsClick(Sender: TObject);
+
+ begin
+- launchbrowser('https://groups.google.com/g/winff');
++ launchbrowser('https://github.com/WinFF/winff/issues');
+ end;
+
+ procedure TfrmMain.mitRestoreDefaultsClick(Sender: TObject);
diff --git a/multimedia/winff/patches/unit2-pas.patch b/multimedia/winff/patches/unit2-pas.patch
new file mode 100644
index 0000000000..7addd19cb0
--- /dev/null
+++ b/multimedia/winff/patches/unit2-pas.patch
@@ -0,0 +1,13 @@
+--- unit2.pas 2023-10-03 19:20:47.000000000 +0530
++++ unit2n.pas 2024-01-10 22:27:47.257969107 +0530
+@@ -1,8 +1,8 @@
+ unit Unit2;
+
+-// WinFF Copyright 2006-2012 Matthew Weatherford
++// WinFF Copyright 2006-2024 Matthew Weatherford
+ // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru>
+-// http://winff.org
++// hhttps://github.com/WinFF/winff
+ // Licensed under the GPL v3 or any later version
+ //
+ // This program is free software: you can redistribute it and/or modify
diff --git a/multimedia/winff/patches/unit3-lfm.patch b/multimedia/winff/patches/unit3-lfm.patch
new file mode 100644
index 0000000000..29e8045a1c
--- /dev/null
+++ b/multimedia/winff/patches/unit3-lfm.patch
@@ -0,0 +1,58 @@
+--- unit3.lfm 2023-10-03 19:20:47.000000000 +0530
++++ unit3n.lfm 2024-01-11 20:09:24.951994073 +0530
+@@ -341,7 +341,9 @@
+ BorderSpacing.Top = 2
+ BorderSpacing.Bottom = 2
+ Caption = 'Trademark Fabrice Bellard'
++ Font.Color = clBlue
+ ParentColor = False
++ ParentFont = False
+ OnClick = lblBellardClick
+ end
+ object lblURLffmpeg: TLabel
+@@ -354,18 +356,21 @@
+ BorderSpacing.Left = 5
+ BorderSpacing.Top = 2
+ BorderSpacing.Bottom = 5
+- Caption = 'http://ffmpeg.org'
++ Caption = 'https://ffmpeg.org'
+ Font.Color = clBlue
+ ParentColor = False
+ ParentFont = False
+ OnClick = lblURLffmpegClick
+ end
+ object lblWindowsBuilds: TLabel
+- Left = 0
+- Height = 20
+- Top = 69
++ Left = 5
++ Height = 25
++ Top = 75
+ Width = 376
+ Align = alTop
++ BorderSpacing.Left = 5
++ BorderSpacing.Top = 2
++ BorderSpacing.Bottom = 5
+ Caption = 'Windows Builds by'
+ ParentColor = False
+ ShowAccelChar = False
+@@ -373,12 +378,15 @@
+ end
+ object lblwinbuilds: TLabel
+ Cursor = crHandPoint
+- Left = 0
+- Height = 16
+- Top = 89
++ Left = 5
++ Height = 30
++ Top = 95
+ Width = 376
+ Align = alTop
+- Caption = 'Kyle Schwarz'
++ BorderSpacing.Left = 5
++ BorderSpacing.Top = 2
++ BorderSpacing.Bottom = 7
++ Caption = 'Gyan Doshi'
+ Font.CharSet = ANSI_CHARSET
+ Font.Color = clBlue
+ Font.Height = -13
diff --git a/multimedia/winff/patches/unit3-pas.patch b/multimedia/winff/patches/unit3-pas.patch
new file mode 100644
index 0000000000..1d99d96642
--- /dev/null
+++ b/multimedia/winff/patches/unit3-pas.patch
@@ -0,0 +1,77 @@
+--- unit3.pas 2024-02-19 19:19:13.000000000 +0530
++++ unit3n.pas 2024-02-27 18:15:24.377843083 +0530
+@@ -1,8 +1,8 @@
+ unit Unit3;
+
+-// WInFF 1.0 Copyright 2006-2013 Matthew Weatherford
++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford
+ // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru>
+-// http://winff.org
++// https://github.com/WinFF/winff
+ // Licensed under the GPL v3 or any later version
+ //
+ // This program is free software: you can redistribute it and/or modify
+@@ -62,7 +62,6 @@
+ procedure lblBellardClick(Sender: TObject);
+ procedure lblGeversClick(Sender: TObject);
+ procedure lblStoffbergClick(Sender: TObject);
+- procedure lblGmaqClick(Sender: TObject);
+ procedure lblURLZeranoClick(Sender: TObject);
+ procedure lblWeatherfordClick(Sender: TObject);
+ procedure lblURLWinffOrgClick(Sender: TObject);
+@@ -132,27 +131,22 @@
+
+ procedure TfrmAbout.lblBellardClick(Sender: TObject);
+ begin
+-
++ frmMain.LaunchBrowser('https://bellard.org/');
+ end;
+
+ procedure TfrmAbout.lblGeversClick(Sender: TObject);
+ begin
+- frmMain.LaunchBrowser('https://launchpad.net/~paul-climbing/+archive/ppa/');
++ frmMain.LaunchBrowser('https://tracker.debian.org/pkg/winff');
+ end;
+
+ procedure TfrmAbout.lblStoffbergClick(Sender: TObject);
+ begin
+-frmMain.LaunchBrowser('http://istoff.blogspot.com');
+-end;
+-
+-procedure TfrmAbout.lblGmaqClick(Sender: TObject);
+-begin
+- frmMain.LaunchBrowser('http://www.bandshed.net/');
++frmMain.LaunchBrowser('https://istoff.blogspot.com');
+ end;
+
+ procedure TfrmAbout.lblURLZeranoClick(Sender: TObject);
+ begin
+- frmMain.LaunchBrowser('http://ffmpeg.zeranoe.com');
++ frmMain.LaunchBrowser('https://www.gyan.dev/ffmpeg/builds');
+ end;
+
+ procedure TfrmAbout.btnOkClick(Sender: TObject);
+@@ -162,7 +156,7 @@
+
+ procedure TfrmAbout.lblWeatherfordClick(Sender: TObject);
+ begin
+- frmMain.LaunchBrowser('http://www.biggmatt.com');
++ frmMain.LaunchBrowser('https://www.biggmatt.com/p/winff.html');
+ end;
+
+ procedure TfrmAbout.lblURLWinffOrgClick(Sender: TObject);
+@@ -172,12 +166,12 @@
+
+ procedure TfrmAbout.lblURLffmpegClick(Sender: TObject);
+ begin
+- frmMain.LaunchBrowser('http://ffmpeg.org/');
++ frmMain.LaunchBrowser('https://ffmpeg.org/');
+ end;
+
+ procedure TfrmAbout.lblwinbuildsClick(Sender: TObject);
+ begin
+- frmMain.LaunchBrowser('http://ffmpeg.zeranoe.com/builds/');
++ frmMain.LaunchBrowser('https://www.gyan.dev/ffmpeg/builds');
+ end;
+
+ procedure TfrmAbout.lblWindowsBuildsClick(Sender: TObject);
diff --git a/multimedia/winff/patches/unit4-pas.patch b/multimedia/winff/patches/unit4-pas.patch
new file mode 100644
index 0000000000..c375713c30
--- /dev/null
+++ b/multimedia/winff/patches/unit4-pas.patch
@@ -0,0 +1,13 @@
+--- unit4.pas 2023-10-03 19:20:47.000000000 +0530
++++ unit4n.pas 2024-01-10 22:36:28.191304129 +0530
+@@ -1,8 +1,8 @@
+ unit Unit4;
+
+-// WInFF 1.0 Copyright 2006-2009 Matthew Weatherford
++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford
+ // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru>
+-// http://winff.org
++// https://github.com/WinFF/winff
+ // Licensed under the GPL v3 or any later version
+ //
+ // This program is free software: you can redistribute it and/or modify
diff --git a/multimedia/winff/patches/unit5-pas.patch b/multimedia/winff/patches/unit5-pas.patch
new file mode 100644
index 0000000000..b9d25f828e
--- /dev/null
+++ b/multimedia/winff/patches/unit5-pas.patch
@@ -0,0 +1,13 @@
+--- unit5.pas 2023-10-03 19:20:47.000000000 +0530
++++ unit5n.pas 2024-01-10 22:37:47.134755906 +0530
+@@ -1,8 +1,8 @@
+ unit Unit5;
+
+-// WInFF 1.0 Copyright 2006-2009 Matthew Weatherford
++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford
+ // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru>
+-// http://winff.org
++// https://github.com/WinFF/winff
+ // Licensed under the GPL v3 or any later version
+ //
+ // This program is free software: you can redistribute it and/or modify
diff --git a/multimedia/winff/patches/unit6-pas.patch b/multimedia/winff/patches/unit6-pas.patch
new file mode 100644
index 0000000000..dfe5700f9f
--- /dev/null
+++ b/multimedia/winff/patches/unit6-pas.patch
@@ -0,0 +1,13 @@
+--- unit6.pas 2023-10-03 19:20:47.000000000 +0530
++++ unit6n.pas 2024-01-10 22:38:34.727540276 +0530
+@@ -1,8 +1,8 @@
+ unit unit6;
+
+-// WInFF 1.0 Copyright 2006-2009 Matthew Weatherford
++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford
+ // WinFF 1.3.2 Copyright 2011 Alexey Osipov <lion-simba@pridelands.ru>
+-// http://winff.org
++// https://github.com/WinFF/winff
+ // Licensed under the GPL v3 or any later version
+ //
+ // This program is free software: you can redistribute it and/or modify
diff --git a/multimedia/winff/patches/winff-1.patch b/multimedia/winff/patches/winff-1.patch
new file mode 100644
index 0000000000..e4a97761e6
--- /dev/null
+++ b/multimedia/winff/patches/winff-1.patch
@@ -0,0 +1,17 @@
+--- winff.1 2023-10-03 19:20:47.000000000 +0530
++++ winffn.1 2024-01-11 20:22:53.045991752 +0530
+@@ -29,6 +29,7 @@
+ .SH "SEE ALSO"
+ .PP
+ For more details, you should have a look at the pdf manual, available at /usr/share/doc/winff/winff\.pdf
++In Slackware Linux the Manual is available at /usr/doc/winff-20231003_31b79e3/winff\.pdf
+ .SH "AUTHOR"
+ .PP
+ This manual page was written by Paul Gevers
+@@ -41,5 +42,5 @@
+ .PP
+ On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\.
+ .SH "COPYRIGHT"
+-Copyright \(co 2008 Paul Gevers
++Copyright \(co 2008-2024 Paul Gevers
+ .br
diff --git a/multimedia/winff/patches/winff-en.patch b/multimedia/winff/patches/winff-en.patch
new file mode 100644
index 0000000000..1eccc92691
--- /dev/null
+++ b/multimedia/winff/patches/winff-en.patch
@@ -0,0 +1,37 @@
+--- winff.en_GB.po 2023-10-03 19:20:47.000000000 +0530
++++ winff.en_GBn.po 2024-01-10 22:50:33.016503273 +0530
+@@ -73,8 +73,8 @@
+
+ #: tfrmabout.lblschwarz.caption
+ msgctxt "TFRMABOUT.LBLSCHWARZ.CAPTION"
+-msgid "Kyle Schwarz"
+-msgstr "Kyle Schwarz"
++msgid "Gyan Doshi"
++msgstr "Gyan Doshi"
+
+ #: tfrmabout.lblstoffberg.caption
+ msgid "Ian Stoffberg"
+@@ -82,17 +82,17 @@
+
+ #: tfrmabout.lblurlffmpeg.caption
+ msgctxt "TFRMABOUT.LBLURLFFMPEG.CAPTION"
+-msgid "http://ffmpeg.org"
+-msgstr "http://ffmpeg.org"
++msgid "https://ffmpeg.org"
++msgstr "https://ffmpeg.org"
+
+ #: tfrmabout.lblurlwinfforg.caption
+ msgctxt "TFRMABOUT.LBLURLWINFFORG.CAPTION"
+-msgid "http://www.winff.org"
+-msgstr "http://www.winff.org"
++msgid "https://github.com/WinFF/winff"
++msgstr "https://github.com/WinFF/winff"
+
+ #: tfrmabout.lblurlzeranoe.caption
+-msgid "http://ffmpeg.zeranoe.com"
+-msgstr "http://ffmpeg.zeranoe.com"
++msgid "https://www.gyan.dev/ffmpeg/"
++msgstr "https://www.gyan.dev/ffmpeg/"
+
+ #: tfrmabout.lblweatherford.caption
+ msgid "Matthew Weatherford"
diff --git a/multimedia/winff/patches/winff-lpi.patch b/multimedia/winff/patches/winff-lpi.patch
new file mode 100644
index 0000000000..663bce1c32
--- /dev/null
+++ b/multimedia/winff/patches/winff-lpi.patch
@@ -0,0 +1,32 @@
+--- winff.lpi 2023-10-03 19:20:47.000000000 +0530
++++ winffn.lpi 2024-01-10 22:47:30.406244263 +0530
+@@ -20,7 +20,7 @@
+ <MajorVersionNr Value="1"/>
+ <MinorVersionNr Value="6"/>
+ <RevisionNr Value="0"/>
+- <StringTable CompanyName="WinFF.org" FileDescription="WinFF Video Converter" InternalName="winff" LegalCopyright="Copyright 2006-2023 Matthew Weatherford" OriginalFilename="winff.exe" ProductVersion=""/>
++ <StringTable CompanyName="WinFF.org" FileDescription="WinFF Video Converter" InternalName="winff" LegalCopyright="Copyright 2006-2024 Matthew Weatherford" OriginalFilename="winff.exe" ProductVersion=""/>
+ </VersionInfo>
+ <BuildModes Count="1">
+ <Item1 Name="default" Default="True"/>
+@@ -117,6 +117,11 @@
+ <UseAnsiStrings Value="False"/>
+ </SyntaxOptions>
+ </Parsing>
++ <CodeGeneration>
++ <Optimizations>
++ <OptimizationLevel Value="2"/>
++ </Optimizations>
++ </CodeGeneration>
+ <Linking>
+ <Debugging>
+ <DebugInfoType Value="dsStabs"/>
+@@ -124,7 +129,7 @@
+ <LinkSmart Value="True"/>
+ <Options>
+ <PassLinkerOptions Value="True"/>
+- <LinkerOptions Value="--as-needed"/>
++ <LinkerOptions Value="--as-needed -zrelro -znow -zdefs -pie"/>
+ <Win32>
+ <GraphicApplication Value="True"/>
+ </Win32>
diff --git a/multimedia/winff/patches/winff-lpr.patch b/multimedia/winff/patches/winff-lpr.patch
new file mode 100644
index 0000000000..6344dba0ab
--- /dev/null
+++ b/multimedia/winff/patches/winff-lpr.patch
@@ -0,0 +1,12 @@
+--- winff.lpr 2023-10-03 19:20:47.000000000 +0530
++++ winffn.lpr 2024-01-10 22:48:22.389222629 +0530
+@@ -1,7 +1,7 @@
+ program winff;
+
+-// WInFF 1.0 Copyright 2006-2009 Matthew Weatherford
+-// http://winff.org
++// WInFF 1.0 Copyright 2006-2024 Matthew Weatherford
++// https://github.com/WinFF/winff
+ // Licensed under the GPL v3 or any later version
+ //
+ // This program is free software: you can redistribute it and/or modify
diff --git a/multimedia/winff/patches/winff-po.patch b/multimedia/winff/patches/winff-po.patch
new file mode 100644
index 0000000000..075eae8d18
--- /dev/null
+++ b/multimedia/winff/patches/winff-po.patch
@@ -0,0 +1,31 @@
+--- winff.po 2023-10-03 19:20:47.000000000 +0530
++++ winffn.po 2024-01-10 22:53:57.565726188 +0530
+@@ -69,7 +69,7 @@
+
+ #: tfrmabout.lblschwarz.caption
+ msgctxt "TFRMABOUT.LBLSCHWARZ.CAPTION"
+-msgid "Kyle Schwarz"
++msgid "Gyan Doshi"
+ msgstr ""
+
+ #: tfrmabout.lblstoffberg.caption
+@@ -78,16 +78,16 @@
+
+ #: tfrmabout.lblurlffmpeg.caption
+ msgctxt "TFRMABOUT.LBLURLFFMPEG.CAPTION"
+-msgid "http://ffmpeg.org"
++msgid "https://ffmpeg.org"
+ msgstr ""
+
+ #: tfrmabout.lblurlwinfforg.caption
+ msgctxt "TFRMABOUT.LBLURLWINFFORG.CAPTION"
+-msgid "http://www.winff.org"
++msgid "https://github.com/WinFF/winff"
+ msgstr ""
+
+ #: tfrmabout.lblurlzeranoe.caption
+-msgid "http://ffmpeg.zeranoe.com"
++msgid "https://www.gyan.dev/ffmpeg/"
+ msgstr ""
+
+ #: tfrmabout.lblweatherford.caption
diff --git a/multimedia/winff/patches/winff-pot.patch b/multimedia/winff/patches/winff-pot.patch
new file mode 100644
index 0000000000..da2e826656
--- /dev/null
+++ b/multimedia/winff/patches/winff-pot.patch
@@ -0,0 +1,31 @@
+--- winff.pot 2023-10-03 19:20:47.000000000 +0530
++++ winffn.pot 2024-01-10 22:52:29.128529940 +0530
+@@ -69,7 +69,7 @@
+
+ #: tfrmabout.lblschwarz.caption
+ msgctxt "TFRMABOUT.LBLSCHWARZ.CAPTION"
+-msgid "Kyle Schwarz"
++msgid "Gyan Doshi"
+ msgstr ""
+
+ #: tfrmabout.lblstoffberg.caption
+@@ -78,16 +78,16 @@
+
+ #: tfrmabout.lblurlffmpeg.caption
+ msgctxt "TFRMABOUT.LBLURLFFMPEG.CAPTION"
+-msgid "http://ffmpeg.org"
++msgid "https://ffmpeg.org"
+ msgstr ""
+
+ #: tfrmabout.lblurlwinfforg.caption
+ msgctxt "TFRMABOUT.LBLURLWINFFORG.CAPTION"
+-msgid "http://www.winff.org"
++msgid "https://github.com/WinFF/winff"
+ msgstr ""
+
+ #: tfrmabout.lblurlzeranoe.caption
+-msgid "http://ffmpeg.zeranoe.com"
++msgid "https://www.gyan.dev/ffmpeg/"
+ msgstr ""
+
+ #: tfrmabout.lblweatherford.caption