Skip to content

Commit 2e98a96

Browse files
committed
Merge branch 'master' into multicastvnc
2 parents b8d99af + 94a22e6 commit 2e98a96

262 files changed

Lines changed: 86470 additions & 13774 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.appveyor.yml

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
2+
environment:
3+
matrix:
4+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
5+
DEVENV_EXE: C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\Common7\IDE\devenv.exe
6+
VSDEVCMD_BAT: C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\Common7\Tools\VsDevCmd.bat
7+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
8+
DEVENV_EXE: C:\"Program Files (x86)"\"Microsoft Visual Studio"\2017\Community\Common7\IDE\devenv.exe
9+
VSDEVCMD_BAT: C:\"Program Files (x86)"\"Microsoft Visual Studio"\2017\Community\Common7\Tools\VsDevCmd.bat
10+
11+
install:
12+
- if not exist deps mkdir deps
13+
- cd deps
14+
# zlib
15+
- curl -fsSL -o zlib.tar.gz https://github.com/madler/zlib/archive/v1.2.8.tar.gz
16+
- 7z x zlib.tar.gz -so | 7z x -si -ttar > nul
17+
- move zlib-1.2.8 zlib
18+
- cd zlib
19+
- cmake .
20+
- cmake --build .
21+
- cd ..
22+
# libPNG
23+
- curl -fsSL -o libpng.tar.gz http://prdownloads.sourceforge.net/libpng/libpng-1.6.28.tar.gz?download
24+
- 7z x libpng.tar.gz -so | 7z x -si -ttar > nul
25+
- move libpng-1.6.28 libpng
26+
- cd libpng
27+
- cmake . -DZLIB_INCLUDE_DIR=..\zlib -DZLIB_LIBRARY=..\zlib\debug\zlibstaticd.lib
28+
- cmake --build .
29+
- cd ..
30+
# Berkeley DB - required by SASL
31+
- curl -fsSL -o db-4.1.25.tar.gz http://download.oracle.com/berkeley-db/db-4.1.25.tar.gz
32+
- 7z x db-4.1.25.tar.gz -so | 7z x -si -ttar > nul
33+
- move db-4.1.25 db
34+
- cd db\build_win32
35+
- echo using devenv %DEVENV_EXE%
36+
- '%DEVENV_EXE% db_dll.dsp /upgrade'
37+
- msbuild /p:Configuration=Release db_dll.vcxproj
38+
- cd ..\..
39+
# Cyrus SASL
40+
- curl -fsSL -o cyrus-sasl-2.1.26.tar.gz https://www.cyrusimap.org/releases/cyrus-sasl-2.1.26.tar.gz
41+
- 7z x cyrus-sasl-2.1.26.tar.gz -so | 7z x -si -ttar > nul
42+
- move cyrus-sasl-2.1.26 sasl
43+
- cd sasl
44+
- patch -p1 -i ..\sasl-fix-snprintf-macro.patch
45+
- echo using vsdevcmd %VSDEVCMD_BAT%
46+
- '%VSDEVCMD_BAT%'
47+
- nmake /f NTMakefile OPENSSL_INCLUDE=c:\OpenSSL-Win32\include OPENSSL_LIBPATH=c:\OpenSSL-Win32\lib DB_INCLUDE=c:\projects\libvncserver\deps\db\build_win32 DB_LIBPATH=c:\projects\libvncserver\deps\db\build_win32\release DB_LIB=libdb41.lib install
48+
- cd ..
49+
# go back to source root
50+
- cd ..
51+
52+
build_script:
53+
- mkdir build
54+
- cd build
55+
- cmake --version
56+
- cmake .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibstaticd.lib -DPNG_PNG_INCLUDE_DIR=..\deps\libpng -DPNG_LIBRARY=..\deps\libpng\debug\libpng16_staticd.lib -D SASL2_INCLUDE_DIR=c:\cmu\include -D LIBSASL2_LIBRARIES=c:\cmu\lib\libsasl.lib ..
57+
- cmake --build .
58+
- ctest -C Debug --output-on-failure
59+
60+

.gitignore

Lines changed: 7 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -2,44 +2,24 @@
22
*~
33
Makefile
44
Makefile.in
5-
compile
6-
configure
7-
configure.lineno
8-
config.status
9-
config.log
105
LibVNCServer.spec.in
116
LibVNCServer.spec
12-
x11vnc.spec.in
13-
.deps
14-
.libs
15-
aclocal.m4
16-
autom4te.cache
177
libvncserver-config
188
*.pc
19-
_configs.sed
20-
config.h
219
LibVNCServer*.tar.gz
22-
upload_beta.sh
23-
stamp-*
24-
x11vnc*.tar.gz
2510
config.h.in
2611
rfbconfig.h
2712
rfbconfig.h.in
28-
install-sh
29-
missing
30-
mkinstalldirs
31-
depcomp
32-
description-pak
33-
libvncserver*.deb
3413
*.o
35-
*.lo
36-
CVS
14+
*.a
15+
*.so
16+
*.so.*
3717
client_examples/SDLvncviewer
3818
client_examples/backchannel
3919
client_examples/gtkvncviewer
4020
client_examples/ppmtest
41-
config.guess
42-
config.sub
21+
client_examples/vnc2mpg
22+
build/
4323
examples/zippy
4424
examples/backchannel
4525
examples/blooptest
@@ -58,29 +38,23 @@ examples/simple
5838
examples/simple15
5939
examples/storepasswd
6040
examples/vncev
61-
libtool
62-
libvncclient/libvncclient.la
63-
libvncserver/libvncserver.la
6441
test/blooptest
6542
test/cargstest
6643
test/copyrecttest
6744
test/cursortest
6845
test/encodingstest
46+
test/wstest
6947
/test/tjbench
7048
/test/tjunittest
7149
vncterm/LinuxVNC
7250
vncterm/VNCommand
7351
vncterm/example
7452
/vncterm/linuxvnc
7553
/vncterm/vncommand
76-
x11vnc.spec
77-
x11vnc/x11vnc
7854
CMakeCache.txt
79-
cmake_install.cmake
55+
*.cmake
8056
/CMakeFiles
8157
/rfbproto.pdf
8258
/rfbproto.rst
8359
/vencrypt.txt
8460
/INSTALL
85-
.dirstamp
86-
/ltmain.sh

.travis.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
language: c
2+
dist: trusty
3+
sudo: required
24

35
os:
46
- linux
@@ -9,7 +11,20 @@ compiler:
911
- clang
1012

1113
before_install:
12-
- 'if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then export CFLAGS="-I/usr/local/opt/openssl/include $CFLAGS" LDFLAGS="-L/usr/local/opt/openssl/lib $LDFLAGS"; fi'
14+
- |
15+
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
16+
CMAKE_URL="http://www.cmake.org/files/v3.7/cmake-3.7.2-Linux-x86_64.tar.gz"
17+
mkdir -p ${TRAVIS_BUILD_DIR}/deps/cmake && travis_retry wget --quiet -O - ${CMAKE_URL} | tar --strip-components=1 -xz -C ${TRAVIS_BUILD_DIR}/deps/cmake
18+
export PATH=${TRAVIS_BUILD_DIR}/deps/cmake/bin:${PATH}
19+
fi
20+
21+
# Build steps
22+
script:
23+
- mkdir build
24+
- cd build
25+
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then sudo apt-get update; sudo apt-get --no-install-suggests --no-install-recommends install libsdl2-dev liblzo2-dev; fi
26+
- if [[ "${TRAVIS_OS_NAME}" == "osx" ]]; then brew update; brew install sdl2; fi
27+
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then cmake .. -DOPENSSL_ROOT_DIR=/usr/local/opt/openssl; else cmake ..; fi
28+
- cmake --build .
29+
- ctest --output-on-failure
1330

14-
# before build script, run autoreconf
15-
before_script: autoreconf -fiv

0 commit comments

Comments
 (0)