aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/packages/deb
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2019-01-18 15:42:46 +0100
committerPierre Ossman <ossman@cendio.se>2019-01-21 16:33:22 +0100
commite5605485ddd16df2f932f8ed7024f2768eefd8ad (patch)
tree3ef2d54906961783f1862724a9ca83518ecac34a /contrib/packages/deb
parent14ca2d62356e5b1335cc8cd2f3e6d1e4046acf69 (diff)
downloadtigervnc-e5605485ddd16df2f932f8ed7024f2768eefd8ad.tar.gz
tigervnc-e5605485ddd16df2f932f8ed7024f2768eefd8ad.zip
Use Xorg source from distribution
Diffstat (limited to 'contrib/packages/deb')
-rw-r--r--contrib/packages/deb/ubuntu-trusty/debian/changelog6
-rw-r--r--contrib/packages/deb/ubuntu-trusty/debian/control2
-rwxr-xr-xcontrib/packages/deb/ubuntu-trusty/debian/get-orig-source.sh14
-rw-r--r--contrib/packages/deb/ubuntu-trusty/debian/patches/series8
-rwxr-xr-xcontrib/packages/deb/ubuntu-trusty/debian/rules14
-rw-r--r--contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/100_rethrow_signals.patch (renamed from contrib/packages/deb/ubuntu-trusty/debian/patches/100_rethrow_signals.patch)0
-rw-r--r--contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/516_tigervnc-xorg-manpages.patch (renamed from contrib/packages/deb/ubuntu-trusty/debian/patches/516_tigervnc-xorg-manpages.patch)0
-rw-r--r--contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/debian_libtool.patch (renamed from contrib/packages/deb/ubuntu-trusty/debian/patches/debian_libtool.patch)0
8 files changed, 19 insertions, 25 deletions
diff --git a/contrib/packages/deb/ubuntu-trusty/debian/changelog b/contrib/packages/deb/ubuntu-trusty/debian/changelog
index 28fc3c92..9d37a27a 100644
--- a/contrib/packages/deb/ubuntu-trusty/debian/changelog
+++ b/contrib/packages/deb/ubuntu-trusty/debian/changelog
@@ -1,3 +1,9 @@
+tigervnc (1.9.80-1) trusty; urgency=low
+
+ * Build Xvnc against distro xorg sources.
+
+ -- Pierre Ossman <ossman@cendio.se> Fri, 18 Jan 2019 15:42:46 +0100
+
tigervnc (1.3.0-3ubuntu1) precise; urgency=low
* Build Xvnc against native upstream xorg sources, using native config
diff --git a/contrib/packages/deb/ubuntu-trusty/debian/control b/contrib/packages/deb/ubuntu-trusty/debian/control
index f1cf906a..480a3ca5 100644
--- a/contrib/packages/deb/ubuntu-trusty/debian/control
+++ b/contrib/packages/deb/ubuntu-trusty/debian/control
@@ -3,7 +3,7 @@ Section: x11
Priority: optional
Maintainer: Brian P. Hinz <bphinz@users.sourceforge.net>
Standards-Version: 3.8.4
-Build-Depends: debhelper (>> 7.1), zlib1g-dev, libjpeg-turbo8-dev, libxaw7-dev (>> 4.1.0), perl-modules, xfonts-base, xutils-dev, libx11-dev, libxau-dev, libxext-dev, libxi-dev, libxkbfile-dev, libxmu-dev, libxt-dev, x11proto-core-dev, cmake (>> 2.8), libgnutls28-dev, libpam0g-dev, libpng-dev, automake, autoconf, libtool, pkg-config, libpixman-1-dev, x11proto-bigreqs-dev, x11proto-composite-dev, x11proto-damage-dev, x11proto-dri2-dev, x11proto-fixes-dev, x11proto-fonts-dev, x11proto-gl-dev, x11proto-input-dev, x11proto-kb-dev, x11proto-randr-dev, x11proto-render-dev, x11proto-resource-dev, x11proto-scrnsaver-dev, x11proto-video-dev, x11proto-xext-dev, x11proto-xf86bigfont-dev, x11proto-xf86dga-dev, x11proto-xf86dri-dev, x11proto-xf86vidmode-dev, x11proto-xinerama-dev, libosmesa6-dev, libgl1-mesa-dev, libgl1-mesa-dri, libgl1-mesa-glx, libxfont-dev, x11proto-record-dev, default-jdk, libxtst-dev, libxft-dev, libexpat1-dev, libfontconfig1-dev, libxrender-dev, libt1-dev, libpciaccess-dev, curl, bzip2, quilt, libglu1-mesa-dev, libxcursor-dev, libxinerama-dev, libxfixes-dev, libcairo2-dev, x11proto-dri3-dev, libgcrypt20-dev, x11proto-xcmisc-dev, x11proto-present-dev, libtasn1-dev
+Build-Depends: debhelper (>> 7.1), zlib1g-dev, libjpeg-turbo8-dev, libxaw7-dev (>> 4.1.0), perl-modules, xfonts-base, xutils-dev, libx11-dev, libxau-dev, libxext-dev, libxi-dev, libxkbfile-dev, libxmu-dev, libxt-dev, x11proto-core-dev, cmake (>> 2.8), libgnutls28-dev, libpam0g-dev, libpng-dev, automake, autoconf, libtool, pkg-config, libpixman-1-dev, x11proto-bigreqs-dev, x11proto-composite-dev, x11proto-damage-dev, x11proto-dri2-dev, x11proto-fixes-dev, x11proto-fonts-dev, x11proto-gl-dev, x11proto-input-dev, x11proto-kb-dev, x11proto-randr-dev, x11proto-render-dev, x11proto-resource-dev, x11proto-scrnsaver-dev, x11proto-video-dev, x11proto-xext-dev, x11proto-xf86bigfont-dev, x11proto-xf86dga-dev, x11proto-xf86dri-dev, x11proto-xf86vidmode-dev, x11proto-xinerama-dev, libosmesa6-dev, libgl1-mesa-dev, libgl1-mesa-dri, libgl1-mesa-glx, libxfont-dev, x11proto-record-dev, default-jdk, libxtst-dev, libxft-dev, libexpat1-dev, libfontconfig1-dev, libxrender-dev, libt1-dev, libpciaccess-dev, curl, bzip2, quilt, libglu1-mesa-dev, libxcursor-dev, libxinerama-dev, libxfixes-dev, libcairo2-dev, x11proto-dri3-dev, libgcrypt20-dev, x11proto-xcmisc-dev, x11proto-present-dev, libtasn1-dev, xorg-server-source
Homepage: http://www.tigervnc.com
Package: tigervncserver
diff --git a/contrib/packages/deb/ubuntu-trusty/debian/get-orig-source.sh b/contrib/packages/deb/ubuntu-trusty/debian/get-orig-source.sh
index 64b26155..d79a7242 100755
--- a/contrib/packages/deb/ubuntu-trusty/debian/get-orig-source.sh
+++ b/contrib/packages/deb/ubuntu-trusty/debian/get-orig-source.sh
@@ -16,20 +16,6 @@ pushd fltk-*
sh ../../debian/patch_fltk.sh
find . -name "*.orig" -exec rm {} \;
popd
-curl -L -o xorg-server-1.11.4-0ubuntu10.3.tar.gz 'http://anonscm.debian.org/gitweb/?p=pkg-xorg/xserver/xorg-server.git;a=snapshot;h=cbf435a091906484112f5c4cf35b17738e779ce9;sf=tgz'
-tar xzf xorg-server-*.tar.gz
-rm xorg-server-*.tar.gz
-pushd xorg-server-*
-QUILT_PATCHES=debian/patches quilt push -a
-popd
-cp -r xorg-server-*/* unix/xserver
-rm -rf xorg-server-*
-pushd unix/xserver
-for all in `find . -type f -perm -001`; do
- chmod -x "$all"
-done
-patch -p1 -b --suffix .vnc < ../xserver111.patch
-popd
popd
if [ -e tigervnc_1.3.80.orig.tar.gz ] ; then
rm tigervnc_1.3.80.orig.tar.gz
diff --git a/contrib/packages/deb/ubuntu-trusty/debian/patches/series b/contrib/packages/deb/ubuntu-trusty/debian/patches/series
deleted file mode 100644
index b57b12ad..00000000
--- a/contrib/packages/deb/ubuntu-trusty/debian/patches/series
+++ /dev/null
@@ -1,8 +0,0 @@
-## Patches with a number < 100 are applied in debian.
-## Ubuntu patches start with 100.
-
-# Ubuntu patches
-100_rethrow_signals.patch
-
-# Upstream patches
-516_tigervnc-xorg-manpages.patch
diff --git a/contrib/packages/deb/ubuntu-trusty/debian/rules b/contrib/packages/deb/ubuntu-trusty/debian/rules
index ea9f1437..6c270a69 100755
--- a/contrib/packages/deb/ubuntu-trusty/debian/rules
+++ b/contrib/packages/deb/ubuntu-trusty/debian/rules
@@ -50,8 +50,18 @@ get-orig-source: $(SOURCE_NAME)_$(SOURCE_VERSION).orig.tar.gz
$(SOURCE_NAME)_$(SOURCE_VERSION).orig.tar.gz:
$(CURDIR)/get-orig-source.sh
+# use xorg sources as shipped in xorg-server-source package
+XORG_SOURCE_ARCHIVE = /usr/src/xorg-server.tar.xz
+
+xorg-source-stamp: $(XORG_SOURCE_ARCHIVE)
+ tar -C unix/xserver -axf $(XORG_SOURCE_ARCHIVE) --strip-components=1
+ cd unix/xserver && patch -p1 < ../xserver115.patch
+ patch -p1 < debian/xorg-source-patches/100_rethrow_signals.patch
+ patch -p1 < debian/xorg-source-patches/516_tigervnc-xorg-manpages.patch
+ touch xorg-source-stamp
+
configure: config-stamp
-config-stamp:
+config-stamp: xorg-source-stamp
dh_testdir
# Add here commands to configure the package.
(cd fltk-*;DSOFLAGS="$(filter-out -fPIE -pie,$(LDFLAGS))" \
@@ -65,7 +75,7 @@ config-stamp:
(cd unix/xserver; \
export PIXMANINCDIR=/usr/include/pixman-1; \
autoreconf -fiv; \
- patch -p1 -i ../../debian/patches/debian_libtool.patch; \
+ patch -p1 -i ../../debian/xorg-source-patches/debian_libtool.patch; \
./configure --prefix=/usr \
--disable-silent-rules \
--disable-static \
diff --git a/contrib/packages/deb/ubuntu-trusty/debian/patches/100_rethrow_signals.patch b/contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/100_rethrow_signals.patch
index b40b1483..b40b1483 100644
--- a/contrib/packages/deb/ubuntu-trusty/debian/patches/100_rethrow_signals.patch
+++ b/contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/100_rethrow_signals.patch
diff --git a/contrib/packages/deb/ubuntu-trusty/debian/patches/516_tigervnc-xorg-manpages.patch b/contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/516_tigervnc-xorg-manpages.patch
index 4575f6a9..4575f6a9 100644
--- a/contrib/packages/deb/ubuntu-trusty/debian/patches/516_tigervnc-xorg-manpages.patch
+++ b/contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/516_tigervnc-xorg-manpages.patch
diff --git a/contrib/packages/deb/ubuntu-trusty/debian/patches/debian_libtool.patch b/contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/debian_libtool.patch
index 7be0ba2b..7be0ba2b 100644
--- a/contrib/packages/deb/ubuntu-trusty/debian/patches/debian_libtool.patch
+++ b/contrib/packages/deb/ubuntu-trusty/debian/xorg-source-patches/debian_libtool.patch