X-Git-Url: https://git.proxmox.com/?p=vncterm.git;a=blobdiff_plain;f=Makefile;h=5576560d2a0f0ec4832e8b3c001c55cd40c567f6;hp=c5523fb4d42aea980b643efe842565e284fe3511;hb=3188947176ff2135c4347711335c00167829c351;hpb=d4dcc66ebcafe23296e291c806296cf58c48910a diff --git a/Makefile b/Makefile index c5523fb..5576560 100644 --- a/Makefile +++ b/Makefile @@ -2,14 +2,15 @@ RELEASE=4.0 PACKAGE=vncterm # Note: also change version in debian/control and debian/changelog -VERSION=1.2 +VERSION=1.3 PACKAGERELEASE=1 ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH) CDATE:=$(shell date +%F) -VNCVER=0.9.7 -VNCDIR=LibVNCServer-${VNCVER} -VNCSRC=${VNCDIR}.tar.gz +VNCVER=0.9.11 +VNCREL=LibVNCServer-${VNCVER} +VNCDIR=libvncserver-${VNCREL} +VNCSRC=${VNCREL}.tar.gz VNCLIB=${VNCDIR}/libvncserver/.libs/libvncserver.a TIGERVNCSRC=tigervnc-1.1.0.tgz @@ -35,11 +36,11 @@ ${VNCLIB} vnc: ${VNCSRC} tar xf ${VNCSRC} ln -s ../vncpatches ${VNCDIR}/patches cd ${VNCDIR}; quilt push -a - cd ${VNCDIR}; ./configure; + cd ${VNCDIR}; ./autogen.sh --without-ssl --without-websockets --without-tightvnc-filetransfer; cd ${VNCDIR}; make vncterm: vncterm.c glyphs.h ${VNCLIB} - gcc -O2 -g -o $@ vncterm.c -Wall -Wno-deprecated-declarations -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 -lpng jar: tigervnc.org if test ! -f /usr/share/icedtea-web/plugin.jar; then echo "please install package icedtea-netx-common"; exit 1; fi @@ -82,7 +83,8 @@ vncterm.1: vncterm.pod pod2man -n $< -s 1 -r ${VERSION} <$< >$@ .PHONY: deb -${DEB} deb: +deb: $(DEB) +${DEB}: make clean rm -rf dest mkdir dest @@ -103,13 +105,7 @@ ${DEB} deb: .PHONY: upload upload: ${DEB} - umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw - mkdir -p /pve/${RELEASE}/extra - rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb - rm -f /pve/${RELEASE}/extra/Packages* - cp ${DEB} /pve/${RELEASE}/extra - cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz - umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro + tar cf - ${DEB} | ssh repoman@repo.proxmox.com upload .PHONY: clean clean: