aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-01-23 14:09:35 +0100
committerPierre Ossman <ossman@cendio.se>2020-03-12 09:48:17 +0100
commitebaa948e4685adce59e84242458fafb6f900bf0a (patch)
treee406d00e663c907198dff71f7e97400d0967ac10 /contrib/packages
parentbb8d82ad3c8ad7588217bdbcfa7fc5185bb3586a (diff)
downloadtigervnc-ebaa948e4685adce59e84242458fafb6f900bf0a.tar.gz
tigervnc-ebaa948e4685adce59e84242458fafb6f900bf0a.zip
Add default configuration files
Install some example files to make things more easily discoverable.
Diffstat (limited to 'contrib/packages')
-rw-r--r--contrib/packages/deb/ubuntu-bionic/debian/rules3
-rw-r--r--contrib/packages/deb/ubuntu-xenial/debian/rules3
-rw-r--r--contrib/packages/rpm/el7/SPECS/tigervnc.spec5
3 files changed, 8 insertions, 3 deletions
diff --git a/contrib/packages/deb/ubuntu-bionic/debian/rules b/contrib/packages/deb/ubuntu-bionic/debian/rules
index 70b4892d..e60413d3 100644
--- a/contrib/packages/deb/ubuntu-bionic/debian/rules
+++ b/contrib/packages/deb/ubuntu-bionic/debian/rules
@@ -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; \
diff --git a/contrib/packages/deb/ubuntu-xenial/debian/rules b/contrib/packages/deb/ubuntu-xenial/debian/rules
index 3d58d282..7fbde337 100644
--- a/contrib/packages/deb/ubuntu-xenial/debian/rules
+++ b/contrib/packages/deb/ubuntu-xenial/debian/rules
@@ -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; \
diff --git a/contrib/packages/rpm/el7/SPECS/tigervnc.spec b/contrib/packages/rpm/el7/SPECS/tigervnc.spec
index e16a1b73..110497e1 100644
--- a/contrib/packages/rpm/el7/SPECS/tigervnc.spec
+++ b/contrib/packages/rpm/el7/SPECS/tigervnc.spec
@@ -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