X-Git-Url: https://git.proxmox.com/?p=vncterm.git;a=blobdiff_plain;f=Makefile;h=abb85a68b6e19b05a86c74c33f86b49a990a5e73;hp=72514b5ac889747016711549064a3bfd187023ec;hb=ee05330200649d6e7067f92d8f960c12ea527a8a;hpb=c9e46b9a7d167336b77c73c102eb6eb1c25b141c diff --git a/Makefile b/Makefile index 72514b5..abb85a6 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,9 @@ -RELEASE=2.0 +RELEASE=4.0 PACKAGE=vncterm -VERSION=1.0 -PACKAGERELEASE=2 +# Note: also change version in debian/control and debian/changelog +VERSION=1.2 +PACKAGERELEASE=1 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) CDATE:=$(shell date +%F) @@ -12,11 +13,12 @@ VNCSRC=${VNCDIR}.tar.gz VNCLIB=${VNCDIR}/libvncserver/.libs/libvncserver.a TIGERVNCSRC=tigervnc-1.1.0.tgz +#TIGERVNCSRC=tigervnc-1.2.0.tgz DEB=${PACKAGE}_${VERSION}-${PACKAGERELEASE}_${ARCH}.deb SNAP=${PACKAGE}-${VERSION}-${CDATE}.tar.gz -KEYSTORE=/home/dietmar/pve2-proxdev/proxmox-dev/proxmox-java.keystore +KEYSTORE=/home/dietmar/pve2-proxdev/proxmox-dev/comodo-for-java.keystore all: vncterm @@ -36,21 +38,27 @@ ${VNCLIB} vnc: ${VNCSRC} cd ${VNCDIR}; make vncterm: vncterm.c glyphs.h ${VNCLIB} - gcc -O2 -g -o $@ vncterm.c -Wall -D_GNU_SOURCE -I ${VNCDIR} ${VNCLIB} -lnsl -lpthread -lz -ljpeg -lutil -lgnutls + gcc -O2 -g -o $@ vncterm.c -Wall -Wno-deprecated-declarations -D_GNU_SOURCE -I ${VNCDIR} ${VNCLIB} -lnsl -lpthread -lz -ljpeg -lutil -lgnutls jar: tigervnc.org + if test ! -f /usr/share/icedtea-web/plugin.jar; then echo "please install package icedtea-netx-common"; exit 1; fi rm -rf tigervnc VncViewer.jar rsync -av --exclude .svn --exclude .svnignore tigervnc.org/ tigervnc ln -s ../tigerpatches tigervnc/patches cd tigervnc; quilt push -a cd tigervnc/java/src/com/tigervnc/vncviewer; make clean; make - jarsigner -keystore ${KEYSTORE} -signedjar VncViewer.jar tigervnc/java/src/com/tigervnc/vncviewer/VncViewer.jar proxmox + jarsigner -keystore ${KEYSTORE} -signedjar VncViewer.jar tigervnc/java/src/com/tigervnc/vncviewer/VncViewer.jar "dc475d72-124a-11e4-a53f-005056c00008" + +# this is for version 1.2 +# ln -s ../newtigerpatches tigervnc/patches +# cd tigervnc/java;cmake -G "Unix Makefiles"; make +# jarsigner -keystore ${KEYSTORE} -signedjar VncViewer.jar tigervnc/java/VncViewer.jar proxmox tigervnc.org: ${TIGERVNCSRC} rm -rf tigervnc.org tar xf ${TIGERVNCSRC} -downlaod: +download: rm -rf tigervnc.org svn co https://tigervnc.svn.sourceforge.net/svnroot/tigervnc/tags/1_1_0 tigervnc.org tar cf ${TIGERVNCSRC} tigervnc.org @@ -118,4 +126,4 @@ ${SNAP} dist: distclean .PHONY: uploaddist uploaddist: ${SNAP} - scp ${SNAP} pve.proxmox.com:/home/ftp/sources/ \ No newline at end of file + scp ${SNAP} pve.proxmox.com:/home/ftp/sources/