diff options
author | Pietro Cerutti <gahr@FreeBSD.org> | 2008-05-15 15:30:14 +0000 |
---|---|---|
committer | Pietro Cerutti <gahr@FreeBSD.org> | 2008-05-15 15:30:14 +0000 |
commit | 1ae738ea3c8e3940074243d85929b6be7fee6d76 (patch) | |
tree | e1e1e63d27c93718ebd8376e4183cfbe38eb9586 /net/jrdesktop | |
parent | 88b45a62b89f97b3f63972c726635cb4bdfb82c0 (diff) | |
download | ports-1ae738ea3c8e3940074243d85929b6be7fee6d76.tar.gz ports-1ae738ea3c8e3940074243d85929b6be7fee6d76.zip |
Notes
Diffstat (limited to 'net/jrdesktop')
-rw-r--r-- | net/jrdesktop/Makefile | 4 | ||||
-rw-r--r-- | net/jrdesktop/distinfo | 6 | ||||
-rw-r--r-- | net/jrdesktop/files/patch-src-jrdesktop_SysTray.java | 14 | ||||
-rw-r--r-- | net/jrdesktop/files/patch-src-src-jrdesktop_SysTray.java | 10 |
4 files changed, 19 insertions, 15 deletions
diff --git a/net/jrdesktop/Makefile b/net/jrdesktop/Makefile index 81422debd932..52c479d305ac 100644 --- a/net/jrdesktop/Makefile +++ b/net/jrdesktop/Makefile @@ -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 \ diff --git a/net/jrdesktop/distinfo b/net/jrdesktop/distinfo index 9e225d171c61..56989b140d04 100644 --- a/net/jrdesktop/distinfo +++ b/net/jrdesktop/distinfo @@ -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 diff --git a/net/jrdesktop/files/patch-src-jrdesktop_SysTray.java b/net/jrdesktop/files/patch-src-jrdesktop_SysTray.java new file mode 100644 index 000000000000..c27c52555807 --- /dev/null +++ b/net/jrdesktop/files/patch-src-jrdesktop_SysTray.java @@ -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); diff --git a/net/jrdesktop/files/patch-src-src-jrdesktop_SysTray.java b/net/jrdesktop/files/patch-src-src-jrdesktop_SysTray.java deleted file mode 100644 index e8c0cd281709..000000000000 --- a/net/jrdesktop/files/patch-src-src-jrdesktop_SysTray.java +++ /dev/null @@ -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); - } - |