Merge pull request #2328 from bmiklautz/pkg_deb
initially add .deb packaging
This commit is contained in:
commit
b4a456a3ea
23
.gitignore
vendored
23
.gitignore
vendored
@ -27,16 +27,6 @@ include/freerdp/version.h
|
||||
*_dummy.c
|
||||
*_dummy.c.base
|
||||
|
||||
# Packages
|
||||
*.zip
|
||||
*.exe
|
||||
*.sh
|
||||
*.deb
|
||||
*.rpm
|
||||
*.dmg
|
||||
*.tar.Z
|
||||
*.tar.gz
|
||||
|
||||
# Eclipse
|
||||
*.project
|
||||
*.cproject
|
||||
@ -128,3 +118,16 @@ default.log
|
||||
|
||||
# etags
|
||||
TAGS
|
||||
|
||||
# generated packages
|
||||
*.zip
|
||||
*.exe
|
||||
*.sh
|
||||
*.deb
|
||||
*.rpm
|
||||
*.dmg
|
||||
*.tar.Z
|
||||
*.tar.gz
|
||||
|
||||
# packaging related files
|
||||
!packaging/scripts/prepare_deb_freerdp-nightly.sh
|
||||
|
5
packaging/deb/freerdp-nightly/changelog
Normal file
5
packaging/deb/freerdp-nightly/changelog
Normal file
@ -0,0 +1,5 @@
|
||||
freerdp-nightly (1.2.0) unstable; urgency=medium
|
||||
|
||||
* Initial version of freerdp-nightly
|
||||
|
||||
-- FreeRDP <team@freerdp.com> Wed, 07 Jan 2015 10:09:32 +0100
|
1
packaging/deb/freerdp-nightly/compat
Normal file
1
packaging/deb/freerdp-nightly/compat
Normal file
@ -0,0 +1 @@
|
||||
9
|
91
packaging/deb/freerdp-nightly/control
Normal file
91
packaging/deb/freerdp-nightly/control
Normal file
@ -0,0 +1,91 @@
|
||||
Source: freerdp-nightly
|
||||
Section: x11
|
||||
Priority: optional
|
||||
Maintainer: FreeRDP <team@freerdp.com>
|
||||
Build-Depends:
|
||||
debhelper (>= 9),
|
||||
cdbs,
|
||||
autotools-dev,
|
||||
cmake,
|
||||
pkg-config,
|
||||
xmlto,
|
||||
libssl-dev,
|
||||
docbook-xsl,
|
||||
xsltproc,
|
||||
libxkbfile-dev,
|
||||
libx11-dev,
|
||||
libwayland-dev,
|
||||
libxrandr-dev,
|
||||
libxi-dev,
|
||||
libxrender-dev,
|
||||
libxext-dev,
|
||||
libxinerama-dev,
|
||||
libxfixes-dev,
|
||||
libxcursor-dev,
|
||||
libxv-dev,
|
||||
libxdamage-dev,
|
||||
libxtst-dev,
|
||||
libcups2-dev,
|
||||
libpcsclite-dev,
|
||||
libasound2-dev,
|
||||
libpulse-dev,
|
||||
libavcodec-dev,
|
||||
libavutil-dev,
|
||||
libjpeg-dev,
|
||||
libgsm1-dev,
|
||||
libusb-1.0-0-dev,
|
||||
libudev-dev,
|
||||
libdbus-glib-1-dev,
|
||||
uuid-dev,
|
||||
libxml2-dev,
|
||||
libgstreamer1.0-dev | libgstreamer0.10-dev,
|
||||
libgstreamer-plugins-base1.0-dev | libgstreamer-plugins-base0.10-dev
|
||||
Standards-Version: 3.9.5
|
||||
Homepage: http://www.freerdp.com/
|
||||
Vcs-Browser: http://github.com/FreeRDP/FreeRDP.git
|
||||
Vcs-Git: git://github.com/FreeRDP/FreeRDP.git
|
||||
|
||||
Package: freerdp-nightly
|
||||
Architecture: any
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
||||
Provides: freerdp
|
||||
Description: RDP client for Windows Terminal Services (X11 client)
|
||||
FreeRDP is a libre client/server implementation of the Remote
|
||||
Desktop Protocol (RDP).
|
||||
.
|
||||
Currently, the FreeRDP client supports the following Windows Versions:
|
||||
.
|
||||
* Windows NT Server
|
||||
* Windows 2000 Terminal Server
|
||||
* Windows XP
|
||||
* Windows 2003 Server
|
||||
* Windows Vista
|
||||
* Windows 2008/2008r2/2011SBS Server
|
||||
* Windows 7
|
||||
* Windows 2012 Server
|
||||
* Windows 8
|
||||
.
|
||||
This package contains the X11 based client.
|
||||
|
||||
Package: freerdp-nightly-dev
|
||||
Section: libdevel
|
||||
Architecture: any
|
||||
Multi-Arch: same
|
||||
Depends: freerdp-nightly (= ${binary:Version}), ${misc:Depends}
|
||||
Description: Free Remote Desktop Protocol library (development files)
|
||||
FreeRDP is a libre client/server implementation of the Remote
|
||||
Desktop Protocol (RDP).
|
||||
.
|
||||
This package contains the FreeRDP development files.
|
||||
|
||||
Package: freerdp-nightly-dbg
|
||||
Section: debug
|
||||
Priority: extra
|
||||
Architecture: any
|
||||
Depends:
|
||||
freerdp-nightly (= ${binary:Version}), ${misc:Depends},
|
||||
Description: RDP client for Windows Terminal Services (X11 client, debug symbols)
|
||||
FreeRDP is a libre client/server implementation of the Remote
|
||||
Desktop Protocol (RDP).
|
||||
.
|
||||
This package contains the debug symbols of the xfreerdp executable.
|
0
packaging/deb/freerdp-nightly/copyright
Normal file
0
packaging/deb/freerdp-nightly/copyright
Normal file
@ -0,0 +1 @@
|
||||
freerdp-nightly-dbg: no-copyright-file new-package-should-close-itp-bug dir-or-file-in-opt package-name-doesnt-match-sonames
|
@ -0,0 +1,4 @@
|
||||
opt/freerdp-nightly/lib/*.so
|
||||
opt/freerdp-nightly/lib/pkgconfig
|
||||
opt/freerdp-nightly/lib/cmake
|
||||
opt/freerdp-nightly/include
|
@ -0,0 +1 @@
|
||||
freerdp-nightly-dev: no-copyright-file dir-or-file-in-opt
|
3
packaging/deb/freerdp-nightly/freerdp-nightly.install
Normal file
3
packaging/deb/freerdp-nightly/freerdp-nightly.install
Normal file
@ -0,0 +1,3 @@
|
||||
opt/freerdp-nightly/lib/*.so.*
|
||||
opt/freerdp-nightly/bin
|
||||
opt/freerdp-nightly/share/man/man1/xfreerdp.1*
|
@ -0,0 +1 @@
|
||||
freerdp-nightly: no-copyright-file new-package-should-close-itp-bug dir-or-file-in-opt package-name-doesnt-match-sonames
|
1
packaging/deb/freerdp-nightly/lintian-overrides
Normal file
1
packaging/deb/freerdp-nightly/lintian-overrides
Normal file
@ -0,0 +1 @@
|
||||
freerdp-nightly source: no-debian-copyright
|
53
packaging/deb/freerdp-nightly/rules
Executable file
53
packaging/deb/freerdp-nightly/rules
Executable file
@ -0,0 +1,53 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
DEB_HOST_ARCH=$(shell dpkg-architecture -qDEB_HOST_ARCH)
|
||||
ifneq (,$(filter armhf,$(DEB_HOST_ARCH)))
|
||||
ARM_FLOAT_ABI = -DARM_FP_ABI=hard
|
||||
else
|
||||
ARM_FLOAT_ABI =
|
||||
endif
|
||||
NULL =
|
||||
|
||||
DEB_CMAKE_EXTRA_FLAGS := -DCMAKE_SKIP_RPATH=FALSE \
|
||||
-DCMAKE_SKIP_INSTALL_RPATH=FALSE \
|
||||
-DWITH_PULSE=ON \
|
||||
-DWITH_CHANNELS=ON \
|
||||
-DSTATIC_CHANNELS=ON \
|
||||
-DWITH_CUPS=ON \
|
||||
-DWITH_PCSC=ON \
|
||||
-DWITH_JPEG=ON \
|
||||
-DWITH_GSTREAMER_0_10=ON \
|
||||
-DWITH_GSM=ON \
|
||||
-DCHANNEL_URBDRC=ON \
|
||||
-DCHANNEL_URBDRC_CLIENT=ON \
|
||||
-DWITH_SERVER=ON \
|
||||
-DBUILD_TESTING=OFF \
|
||||
-DCMAKE_BUILD_TYPE=RELWITHDEBINFO \
|
||||
-DCMAKE_INSTALL_PREFIX=/opt/freerdp-nightly/ \
|
||||
-DCMAKE_INSTALL_INCLUDEDIR=include \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib \
|
||||
$(ARM_FLOAT_ABI) \
|
||||
$(NULL)
|
||||
|
||||
%:
|
||||
dh $@ --parallel
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- $(DEB_CMAKE_EXTRA_FLAGS)
|
||||
|
||||
override_dh_shlibdeps:
|
||||
dh_shlibdeps -l /opt/freerdp-nightly/lib/
|
||||
|
||||
override_dh_strip:
|
||||
dh_strip --dbg-package=freerdp-nightly-dbg
|
||||
|
||||
override_dh_install:
|
||||
rm -f debian/tmp/opt/freerdp-nightly/lib/libwinpr-makecert-tool.a
|
||||
rm -f debian/tmp/opt/freerdp-nightly/lib/freerdp/*.a
|
||||
mkdir -p debian/tmp/opt/freerdp-nightly/lib/cmake/
|
||||
|
||||
dh_install --fail-missing
|
||||
|
||||
override_dh_clean:
|
||||
rm -f config.h
|
||||
dh_clean
|
1
packaging/deb/freerdp-nightly/source/format
Normal file
1
packaging/deb/freerdp-nightly/source/format
Normal file
@ -0,0 +1 @@
|
||||
3.0 (native)
|
3
packaging/scripts/prepare_deb_freerdp-nightly.sh
Executable file
3
packaging/scripts/prepare_deb_freerdp-nightly.sh
Executable file
@ -0,0 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
ln -s packaging/deb/freerdp-nightly debian
|
Loading…
Reference in New Issue
Block a user