icon.patch revision 1124
--- java/src/com/tigervnc/vncviewer/Makefile 2009-10-30 00:10:31.496797111 -0700
+++ java/src/com/tigervnc/vncviewer/Makefile.icon 2009-10-30 00:10:14.375398782 -0700
@@ -9,6 +9,7 @@
ARCHIVE = VncViewer.jar
MANIFEST = MANIFEST.MF
PAGES = index.vnc index.html
+ICON = tigervnc_16.gif
INSTALL_DIR = /usr/local/vnc/classes
CLASSES = VncViewer.class RfbProto.class AuthPanel.class VncCanvas.class \
@@ -44,8 +45,11 @@ $(ARCHIVE): $(CLASSES) $(MANIFEST)
com/tigervnc/decoder/*.class \
com/tigervnc/decoder/common/*.class
-install: $(CLASSES) $(ARCHIVE)
- $(CP) $(CLASSES) $(ARCHIVE) $(PAGES) $(INSTALL_DIR)
+$(ICON):
+ convert -background transparent ../../media/tigervnc_16.svg $@
+
+install: $(CLASSES) $(ARCHIVE) $(ICON)
+ $(CP) $(CLASSES) $(ARCHIVE) $(ICON) $(PAGES) $(INSTALL_DIR)
export:: $(CLASSES) $(ARCHIVE) $(PAGES)
@$(ExportJavaClasses)
--- java/src/com/tigervnc/vncviewer/index.html 2009-10-30 00:12:27.490801957 -0700
+++ java/src/com/tigervnc/vncviewer/index.html.icon 2009-10-30 00:26:29.413918281 -0700
@@ -19,12 +19,13 @@
<TITLE>
TigerVNC desktop
</TITLE>
+<link rel="icon" type="image/gif" href="tigervnc_16.gif">
</HEAD><BODY>
<APPLET CODE="com.tigervnc.vncviewer.VncViewer" ARCHIVE="VncViewer.jar"
WIDTH="800" HEIGHT="632">
<PARAM NAME="PORT" VALUE="5901">
</APPLET>
<BR>
-<A href="http://www.tigervnc.org/">TigerVNC site</A>
+<A href="http://www.tigervnc.org/"><IMG border="0" hspace="4" src="tigervnc_16.gif">TigerVNC site</A>
</BODY>
</HTML>
--- java/src/com/tigervnc/vncviewer/index.vnc 2009-10-30 00:12:40.622099898 -0700
+++ java/src/com/tigervnc/vncviewer/index.vnc.icon 2009-10-30 00:28:45.392640755 -0700
@@ -14,6 +14,7 @@
<TITLE>
$USER's $DESKTOP desktop ($DISPLAY)
</TITLE>
+<link rel="icon" type="image/gif" href="tigervnc_16.gif">
</HEAD><BODY>
<APPLET CODE="com.tigervnc.vncviewer.VncViewer.class" ARCHIVE="VncViewer.jar"
WIDTH="$APPLETWIDTH" HEIGHT="$APPLETHEIGHT">
@@ -21,6 +22,6 @@
$PARAMS
</APPLET>
<BR>
-<A href="http://www.tigervnc.org/">TigerVNC site</A>
+<A href="http://www.tigervnc.org/"><IMG border="0" hspace="4" src="tigervnc_16.gif">TigerVNC site</A>
</BODY>
</HTML>