Browse Source

Add default configuration files

Install some example files to make things more easily discoverable.
tags/v1.10.90
Pierre Ossman 5 years ago
parent
commit
ebaa948e46

+ 1
- 0
CMakeLists.txt View File

@@ -27,6 +27,7 @@ set(VERSION 1.10.80)
set(RCVERSION 1,10,80,0)

# Installation paths
set(SYSCONF_DIR "${CMAKE_INSTALL_PREFIX}/etc")
set(BIN_DIR "${CMAKE_INSTALL_PREFIX}/bin")
set(DATA_DIR "${CMAKE_INSTALL_PREFIX}/share")
set(MAN_DIR "${DATA_DIR}/man")

+ 2
- 1
contrib/packages/deb/ubuntu-bionic/debian/rules View File

@@ -56,7 +56,8 @@ config-stamp: xorg-source-stamp
# Add here commands to configure the package.
cmake -G"Unix Makefiles" \
-DBUILD_STATIC=off \
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DSYSCONF_DIR:PATH=/etc
(cd unix/xserver; \
export PIXMANINCDIR=/usr/include/pixman-1; \
autoreconf -fiv; \

+ 2
- 1
contrib/packages/deb/ubuntu-xenial/debian/rules View File

@@ -57,7 +57,8 @@ config-stamp: xorg-source-stamp
# Add here commands to configure the package.
cmake -G"Unix Makefiles" \
-DBUILD_STATIC=off \
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DSYSCONF_DIR:PATH=/etc
(cd unix/xserver; \
export PIXMANINCDIR=/usr/include/pixman-1; \
autoreconf -fiv; \

+ 4
- 1
contrib/packages/rpm/el7/SPECS/tigervnc.spec View File

@@ -147,7 +147,8 @@ export CMAKE_EXE_LINKER_FLAGS=$LDFLAGS

%{cmake} -G"Unix Makefiles" \
-DBUILD_STATIC=off \
-DCMAKE_INSTALL_PREFIX=%{_prefix}
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DSYSCONF_DIR=%{_sysconfdir}
make %{?_smp_mflags}

pushd unix/xserver
@@ -245,6 +246,8 @@ fi
%files server
%defattr(-,root,root,-)
%config(noreplace) %{_sysconfdir}/sysconfig/vncservers
%config(noreplace) %{_sysconfdir}/tigervnc/vncserver-config-defaults
%config(noreplace) %{_sysconfdir}/tigervnc/vncserver-config-mandatory
%{_unitdir}/vncserver@.service
%{_bindir}/x0vncserver
%{_bindir}/vncserver

+ 1
- 3
unix/CMakeLists.txt View File

@@ -2,7 +2,5 @@ add_subdirectory(tx)
add_subdirectory(common)
add_subdirectory(vncconfig)
add_subdirectory(vncpasswd)
add_subdirectory(vncserver)
add_subdirectory(x0vncserver)

install(PROGRAMS vncserver DESTINATION ${BIN_DIR})
install(FILES vncserver.man DESTINATION ${MAN_DIR}/man1 RENAME vncserver.1)

+ 3
- 0
unix/vncserver/CMakeLists.txt View File

@@ -0,0 +1,3 @@
install(PROGRAMS vncserver DESTINATION ${BIN_DIR})
install(FILES vncserver.man DESTINATION ${MAN_DIR}/man1 RENAME vncserver.1)
install(FILES vncserver-config-defaults vncserver-config-mandatory DESTINATION ${SYSCONF_DIR}/tigervnc)

unix/vncserver → unix/vncserver/vncserver View File


+ 15
- 0
unix/vncserver/vncserver-config-defaults View File

@@ -0,0 +1,15 @@
## Default settings for VNC servers started by the vncserver service
#
# Any settings given here will override the builtin defaults, but can
# also be overriden by ~/.vnc/config and vncserver-config-mandatory.
#
# See the following manpages for more details: vncserver(1) Xvnc(1)
#
# Several common settings are shown below. Uncomment and modify to your
# liking.

# securitytypes=vncauth,tlsvnc
# desktop=sandbox
# geometry=2000x1200
# localhost
# alwaysshared

+ 15
- 0
unix/vncserver/vncserver-config-mandatory View File

@@ -0,0 +1,15 @@
## Mandatory settings for VNC servers started by the vncserver service
#
# Any settings given here will override the builtin defaults and
# settings specified in ~/.vnc/config or vnc-config-defaults.
#
# See the following manpages for more details: vncserver(1) Xvnc(1)
#
# Several common settings are shown below. Uncomment and modify to your
# liking.

# securitytypes=vncauth,tlsvnc
# desktop=sandbox
# geometry=2000x1200
# localhost
# alwaysshared

unix/vncserver.man → unix/vncserver/vncserver.man View File


Loading…
Cancel
Save