- Update to 0.2.0012
Approved by: miwi (mentor)
This commit is contained in:
parent
88b45a62b8
commit
1ae738ea3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=213086
4 changed files with 19 additions and 15 deletions
|
@ -6,7 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= jrdesktop
|
||||
PORTVERSION= 0.2.0011
|
||||
PORTVERSION= 0.2.0012
|
||||
CATEGORIES= net java
|
||||
MASTER_SITES= SF
|
||||
DISTNAME= ${PORTNAME}-${PORTVERSION}.src
|
||||
|
@ -19,7 +19,7 @@ JAVA_VERSION= 1.6+
|
|||
USE_ANT= yes
|
||||
USE_ZIP= yes
|
||||
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}/src
|
||||
WRKSRC= ${WRKDIR}/src
|
||||
|
||||
PLIST_FILES= %%JAVAJARDIR%%/jrdesktop.jar \
|
||||
bin/jrdesktop-server \
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
MD5 (jrdesktop-0.2.0011.src.zip) = fa6752932ddf2e37675ac7f36dabef2e
|
||||
SHA256 (jrdesktop-0.2.0011.src.zip) = bc4678c395e64e1d82687c9ceda22e166e5ca5d3e88022df34b3466d3bcfea46
|
||||
SIZE (jrdesktop-0.2.0011.src.zip) = 90222
|
||||
MD5 (jrdesktop-0.2.0012.src.zip) = 122a8f863db6be2dd5bf88d1bc7fdf14
|
||||
SHA256 (jrdesktop-0.2.0012.src.zip) = 90f25b8b7156e5602a0509abf348694c1b8eecce29ab0bf88140c6fa91360e21
|
||||
SIZE (jrdesktop-0.2.0012.src.zip) = 90676
|
||||
|
|
14
net/jrdesktop/files/patch-src-jrdesktop_SysTray.java
Normal file
14
net/jrdesktop/files/patch-src-jrdesktop_SysTray.java
Normal file
|
@ -0,0 +1,14 @@
|
|||
--- src/jrdesktop/SysTray.java.orig 2008-05-15 17:22:10.000000000 +0200
|
||||
+++ src/jrdesktop/SysTray.java 2008-05-15 17:22:18.000000000 +0200
|
||||
@@ -51,6 +51,11 @@
|
||||
}
|
||||
|
||||
public static void displayViewer(String viewer, int size, boolean connected) {
|
||||
+ if (!SystemTray.isSupported()) {
|
||||
+ System.err.println("Tray unavailable");
|
||||
+ return;
|
||||
+ }
|
||||
+
|
||||
if (connected) {
|
||||
trayIcon.displayMessage("Viewer details", viewer + " connected !!",
|
||||
TrayIcon.MessageType.INFO);
|
|
@ -1,10 +0,0 @@
|
|||
--- src/jrdesktop/SysTray.java.orig 2008-05-08 17:04:24.000000000 +0200
|
||||
+++ src/jrdesktop/SysTray.java 2008-05-08 17:04:56.000000000 +0200
|
||||
@@ -51,6 +51,7 @@
|
||||
}
|
||||
|
||||
public static void displayMsg(String Title, String Msg) {
|
||||
+ if (!SystemTray.isSupported()) return;
|
||||
trayIcon.displayMessage(Title, Msg, TrayIcon.MessageType.INFO);
|
||||
}
|
||||
|
Loading…
Reference in a new issue