diff options
author | gahr <gahr@FreeBSD.org> | 2008-05-15 23:30:14 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2008-05-15 23:30:14 +0800 |
commit | fd611a82febbcdcc188422f7a2c706c6a7f7691f (patch) | |
tree | 4831a89b1b3308e8086be45a6779251d6514ff6d /net | |
parent | a014118c83f7c3daa2eb3a041b7c32bfe702a091 (diff) | |
download | freebsd-ports-gnome-fd611a82febbcdcc188422f7a2c706c6a7f7691f.tar.gz freebsd-ports-gnome-fd611a82febbcdcc188422f7a2c706c6a7f7691f.tar.zst freebsd-ports-gnome-fd611a82febbcdcc188422f7a2c706c6a7f7691f.zip |
- Update to 0.2.0012
Approved by: miwi (mentor)
Diffstat (limited to 'net')
-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); - } - |