-RELEASE=3.2
+RELEASE=4.0
PACKAGE=vncterm
# Note: also change version in debian/control and debian/changelog
-VERSION=1.1
-PACKAGERELEASE=7
+VERSION=1.2
+PACKAGERELEASE=1
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
CDATE:=$(shell date +%F)
all: vncterm
glyphs.h: genfont
- ./genfont > glyphs.h
+ ./genfont > glyphs.h.tmp
+ mv glyphs.h.tmp glyphs.h
genfont: genfont.c
gcc -g -O2 -o $@ genfont.c -Wall -D_GNU_SOURCE -lz
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
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 server solutions gmbh's comodo ca limited id"
+ 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
.PHONY: clean
clean:
- rm -rf vncterm vncterm.1 vncterm_*.deb tigervnc *~ ${VNCDIR} vncterm-*.tar.gz
+ rm -rf vncterm vncterm.1 vncterm_*.deb tigervnc *~ ${VNCDIR} vncterm-*.tar.gz glyph.h.tmp
.PHONY: distclean
distclean: clean
.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/