Debian Codegraph @

debian/patches/debian-hacks/Ignore-Apple-specific-check-from-apple-lib.patch

raw
1 From: Carsten Schoenert <[email protected]>
2 Date: Thu, 10 Dec 2020 18:00:07 +0100
3 Subject: Ignore Apple specific check from apple lib
4
5 Forwarded: not-needed
6
7 The check is using the apple Java library which isn't packaged yet (and
8 probably never will) in Debian. Ignore the one and only function in
9 Base.java which is simply checking if a MacOS specific menu is
10 available.
11 ---
12 app/src/processing/app/Base.java | 8 ++++----
13 1 file changed, 4 insertions(+), 4 deletions(-)
14
15 diff --git a/app/src/processing/app/Base.java b/app/src/processing/app/Base.java
16 index 411db1a..3e1e7b6 100644
17 --- a/app/src/processing/app/Base.java
18 +++ b/app/src/processing/app/Base.java
19 @@ -145,10 +145,10 @@ public class Base {
20 }
21 }
22
23 - @SuppressWarnings("deprecation")
24 - public static boolean isMacOsAboutMenuItemPresent() {
25 - return com.apple.eawt.Application.getApplication().isAboutMenuItemPresent();
26 - }
27 +// @SuppressWarnings("deprecation")
28 +// public static boolean isMacOsAboutMenuItemPresent() {
29 +// return com.apple.eawt.Application.getApplication().isAboutMenuItemPresent();
30 +// }
31
32 static public void initLogger() {
33 Handler consoleHandler = new ConsoleLogger();