Blame skychart-4.3-satmessage.patch
|
|
30875b4 |
diff -U 3 -dHrN -- a/skychart/u_satellite.pas b/skychart/u_satellite.pas
|
|
|
30875b4 |
--- a/skychart/u_satellite.pas 2020-01-26 16:24:19.000000000 +0100
|
|
|
30875b4 |
+++ b/skychart/u_satellite.pas 2020-02-01 11:46:01.224703002 +0100
|
|
|
30875b4 |
@@ -100,36 +100,8 @@
|
|
|
30875b4 |
end;
|
|
|
30875b4 |
|
|
|
30875b4 |
function CheckWine: boolean;
|
|
|
30875b4 |
-var
|
|
|
30875b4 |
- cmd, buf, msg: string;
|
|
|
30875b4 |
- i, j: integer;
|
|
|
30875b4 |
- r: TStringList;
|
|
|
30875b4 |
begin
|
|
|
30875b4 |
- r := TStringList.Create;
|
|
|
30875b4 |
- cmd := 'wine --version';
|
|
|
30875b4 |
- i := execprocess(cmd, r);
|
|
|
30875b4 |
- Result := (i = 0);
|
|
|
30875b4 |
-
|
|
|
30875b4 |
- if not Result then
|
|
|
30875b4 |
- begin
|
|
|
30875b4 |
-
|
|
|
30875b4 |
- if r.Count > 0 then
|
|
|
30875b4 |
- begin
|
|
|
30875b4 |
- buf := '';
|
|
|
30875b4 |
- for j := 0 to r.Count - 1 do
|
|
|
30875b4 |
- buf := buf + r[j];
|
|
|
30875b4 |
- end
|
|
|
30875b4 |
- else
|
|
|
30875b4 |
- buf := '';
|
|
|
30875b4 |
-
|
|
|
30875b4 |
- msg := rsPleaseInstWine;
|
|
|
30875b4 |
- {$ifdef linux}
|
|
|
30875b4 |
- msg := msg + crlf + rsIfItIsNotIns + crlf + 'apt-get install wine' +
|
|
|
30875b4 |
- crlf + 'yum install wine';
|
|
|
30875b4 |
- {$endif}
|
|
|
30875b4 |
- ShowMessage(msg + crlf + 'wine return: ' + buf);
|
|
|
30875b4 |
- end;
|
|
|
30875b4 |
- r.Free;
|
|
|
30875b4 |
+ ShowMessage('Artificial satellites calculation has been removed due to Fedora policies.'+crlf+'If you need it, please uninstall Skychart provided by Fedora repositories and download Skychart rpms from the author site.');
|
|
|
30875b4 |
end;
|
|
|
30875b4 |
|
|
|
30875b4 |
procedure SatelliteList(y, m, startd, endd, maglimit, tle, tmpdir,
|