From 341e99631396ee1726693043dbbf5b49a1792c73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 29 Oct 2019 16:02:21 +0100 Subject: [PATCH] DEB tdenetworkmanager: Update CMake build. The man page has been moved to the main tree. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- .../tdenetworkmanager/debian/README.source | 3 - .../tdenetworkmanager/debian/manpages | 1 - .../tdenetworkmanager/debian/rules | 25 ++- .../debian/tdenetworkmanager.1 | 145 ------------------ .../tdenetworkmanager/debian/README.source | 3 - .../tdenetworkmanager/debian/manpages | 1 - .../tdenetworkmanager/debian/rules | 25 ++- .../debian/tdenetworkmanager.1 | 145 ------------------ 8 files changed, 22 insertions(+), 326 deletions(-) delete mode 100644 debian/_base/applications/tdenetworkmanager/debian/README.source delete mode 100644 debian/_base/applications/tdenetworkmanager/debian/manpages delete mode 100644 debian/_base/applications/tdenetworkmanager/debian/tdenetworkmanager.1 delete mode 100644 ubuntu/_base/applications/tdenetworkmanager/debian/README.source delete mode 100644 ubuntu/_base/applications/tdenetworkmanager/debian/manpages delete mode 100644 ubuntu/_base/applications/tdenetworkmanager/debian/tdenetworkmanager.1 diff --git a/debian/_base/applications/tdenetworkmanager/debian/README.source b/debian/_base/applications/tdenetworkmanager/debian/README.source deleted file mode 100644 index 96fb271ab..000000000 --- a/debian/_base/applications/tdenetworkmanager/debian/README.source +++ /dev/null @@ -1,3 +0,0 @@ -This package uses the quilt patch management system. - -Please refer to /usr/share/doc/quilt/README.source for further information. diff --git a/debian/_base/applications/tdenetworkmanager/debian/manpages b/debian/_base/applications/tdenetworkmanager/debian/manpages deleted file mode 100644 index 0707d198a..000000000 --- a/debian/_base/applications/tdenetworkmanager/debian/manpages +++ /dev/null @@ -1 +0,0 @@ -debian/tdenetworkmanager.1 diff --git a/debian/_base/applications/tdenetworkmanager/debian/rules b/debian/_base/applications/tdenetworkmanager/debian/rules index b2b440085..cee2a3058 100755 --- a/debian/_base/applications/tdenetworkmanager/debian/rules +++ b/debian/_base/applications/tdenetworkmanager/debian/rules @@ -1,22 +1,19 @@ #!/usr/bin/make -f -# Set LD_LIBRARY_PATH to the installed library directory to allow dh_shlibdeps to function -# Also include the main Trinity path -ifeq ("$(LD_LIBRARY_PATH)", "") -LD_LIBRARY_PATH=debian/tmp/opt/trinity/lib -else -LD_LIBRARY_PATH += :debian/tmp/opt/trinity/lib -endif -export LD_LIBRARY_PATH - include /usr/share/cdbs/1/rules/debhelper.mk include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk -DEB_CMAKE_EXTRA_FLAGS := -DLIB_SUFFIX="" -DCMAKE_INSTALL_PREFIX="/opt/trinity" -DCONFIG_INSTALL_DIR="/etc/trinity" -DSYSCONF_INSTALL_DIR="/etc/trinity" -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" -DCMAKE_LIBRARY_PATH="/opt/trinity/lib" -DCMAKE_INCLUDE_PATH="/opt/trinity/include/" -DAUTODETECT_QT_DIRS="ON" -DCMAKE_VERBOSE_MAKEFILE="ON" -DBUILD_ALL="ON" -DCMAKE_SKIP_RPATH="OFF" \ --DWITH_OPENVPN="ON" -DWITH_VPNC="ON" -DWITH_PPTP="ON" - -DEB_INSTALL_DOCS_ALL := -XNEWS -XTODO - DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) + +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc" \ + -DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_VERBOSE_MAKEFILE="ON" \ + -DCMAKE_SKIP_RPATH="OFF" \ + -DBUILD_ALL="ON" \ + -DWITH_ALL_OPTIONS="ON" diff --git a/debian/_base/applications/tdenetworkmanager/debian/tdenetworkmanager.1 b/debian/_base/applications/tdenetworkmanager/debian/tdenetworkmanager.1 deleted file mode 100644 index 0f1abef05..000000000 --- a/debian/_base/applications/tdenetworkmanager/debian/tdenetworkmanager.1 +++ /dev/null @@ -1,145 +0,0 @@ -.\" This file was generated by kdemangen.pl -.TH TDENETWORKMANAGER 1 "Feb 2006" "Trinity Desktop Environment" "A NetworkManager front-end for TDE" -.SH NAME -tdenetworkmanager -\- A NetworkManager front-end for TDE -.SH SYNOPSIS -tdenetworkmanager [Qt\-options] [TDE\-options] -.SH DESCRIPTION -A NetworkManager front-end for TDE -.SH OPTIONS -.SS Generic options: -.TP -.B \-\-help -Show help about options -.TP -.B \-\-help\-qt -Show Qt specific options -.TP -.B \-\-help\-tde -Show TDE specific options -.TP -.B \-\-help\-all -Show all options -.TP -.B \-\-author -Show author information -.TP -.B \-v, \-\-version -Show version information -.TP -.B \-\-license -Show license information -.TP -.B \-\- -End of options -.SS -.SS TDE options: -.TP -.B \-\-caption -Use 'caption' as name in the titlebar -.TP -.B \-\-icon -Use 'icon' as the application icon -.TP -.B \-\-miniicon -Use 'icon' as the icon in the titlebar -.TP -.B \-\-config -Use alternative configuration file -.TP -.B \-\-dcopserver -Use the DCOP Server specified by 'server' -.TP -.B \-\-nocrashhandler -Disable crash handler, to get core dumps -.TP -.B \-\-waitforwm -Waits for a WM_NET compatible windowmanager -.TP -.B \-\-style