From 54e69d536c992645ae2fd19dbb2e1c85034298c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 18 Aug 2021 01:26:06 +0200 Subject: [PATCH] DEB qalculate-tde: Switch to cmake. The man pages 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 --- .../utilities/qalculate-tde/debian/control | 2 +- .../qalculate-tde/debian/qalculate-tde.1 | 16 -------------- .../debian/qalculate-trinity.manpages | 1 - .../utilities/qalculate-tde/debian/rules | 22 ++++++++++--------- .../utilities/qalculate-tde/debian/watch | 2 -- .../utilities/qalculate-tde/debian/control | 2 +- .../qalculate-tde/debian/qalculate-tde.1 | 16 -------------- .../debian/qalculate-trinity.manpages | 1 - .../utilities/qalculate-tde/debian/rules | 22 ++++++++++--------- .../utilities/qalculate-tde/debian/watch | 2 -- 10 files changed, 26 insertions(+), 60 deletions(-) delete mode 100644 debian/_base/applications/utilities/qalculate-tde/debian/qalculate-tde.1 delete mode 100644 debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.manpages delete mode 100644 debian/_base/applications/utilities/qalculate-tde/debian/watch delete mode 100644 ubuntu/_base/applications/utilities/qalculate-tde/debian/qalculate-tde.1 delete mode 100644 ubuntu/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.manpages delete mode 100644 ubuntu/_base/applications/utilities/qalculate-tde/debian/watch diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/control b/debian/_base/applications/utilities/qalculate-tde/debian/control index 56889bd5c..dc6bfaba3 100644 --- a/debian/_base/applications/utilities/qalculate-tde/debian/control +++ b/debian/_base/applications/utilities/qalculate-tde/debian/control @@ -3,7 +3,7 @@ Section: math Priority: optional Maintainer: TDE Debian Team X-Original-Maintainer: Vincent Legout -Build-Depends: cdbs, debhelper (>= 9~), quilt, automake, libtool, libqalculate-dev (>= 0.9.6), libcln-dev, libgmp3-dev, libxml2-dev, tdelibs-trinity-dev +Build-Depends: cdbs, debhelper (>= 9~), quilt, cmake-trinity, ninja-build, tdelibs-trinity-dev, libqalculate-dev (>= 0.9.6) Standards-Version: 3.8.4 Homepage: http://qalculate.sourceforge.net/ diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-tde.1 b/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-tde.1 deleted file mode 100644 index 90682e55b..000000000 --- a/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-tde.1 +++ /dev/null @@ -1,16 +0,0 @@ -.TH QALC 1 "28 December 2008" -.SH NAME -qalculate-tde \- Powerful and easy to use desktop calculator -.SH SYNOPSIS -.B qalculate-tde -.SH DESCRIPTION -Qalculate! is a small and simple to use calculator but with much power and -versatility underneath. Features include customizable functions, units, -arbitrary precision using a one-line fault-tolerant expression entry. -.PP -\fBqalculate-tde\fP is the TDE version of Qalculate!. -.SH AUTHORS -Original qalculate-kde was written by Niklas Knutsson . -.PP -This manual page was originally written by Vincent Legout , -for the Debian system (but may be used by others). diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.manpages b/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.manpages deleted file mode 100644 index f3d6ef522..000000000 --- a/debian/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.manpages +++ /dev/null @@ -1 +0,0 @@ -debian/qalculate-tde.1 diff --git a/debian/_base/applications/utilities/qalculate-tde/debian/rules b/debian/_base/applications/utilities/qalculate-tde/debian/rules index d03dd383d..a6797f19a 100755 --- a/debian/_base/applications/utilities/qalculate-tde/debian/rules +++ b/debian/_base/applications/utilities/qalculate-tde/debian/rules @@ -1,15 +1,17 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk -DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include -DEB_CONFIGURE_MANDIR := /opt/trinity/share/man -DEB_CONFIGURE_PREFIX := /opt/trinity -DEB_CONFIGURE_INFODIR := /opt/trinity/share/info - -install/qalculate-trinity:: - rm debian/qalculate-trinity/opt/trinity/bin/qalculate - -clean:: - rm -f po/*.gmo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -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/utilities/qalculate-tde/debian/watch b/debian/_base/applications/utilities/qalculate-tde/debian/watch deleted file mode 100644 index c98cd4d96..000000000 --- a/debian/_base/applications/utilities/qalculate-tde/debian/watch +++ /dev/null @@ -1,2 +0,0 @@ -version=3 -http://sf.net/qalculate/ qalculate-kde-(.*).tar.gz diff --git a/ubuntu/_base/applications/utilities/qalculate-tde/debian/control b/ubuntu/_base/applications/utilities/qalculate-tde/debian/control index 56889bd5c..dc6bfaba3 100644 --- a/ubuntu/_base/applications/utilities/qalculate-tde/debian/control +++ b/ubuntu/_base/applications/utilities/qalculate-tde/debian/control @@ -3,7 +3,7 @@ Section: math Priority: optional Maintainer: TDE Debian Team X-Original-Maintainer: Vincent Legout -Build-Depends: cdbs, debhelper (>= 9~), quilt, automake, libtool, libqalculate-dev (>= 0.9.6), libcln-dev, libgmp3-dev, libxml2-dev, tdelibs-trinity-dev +Build-Depends: cdbs, debhelper (>= 9~), quilt, cmake-trinity, ninja-build, tdelibs-trinity-dev, libqalculate-dev (>= 0.9.6) Standards-Version: 3.8.4 Homepage: http://qalculate.sourceforge.net/ diff --git a/ubuntu/_base/applications/utilities/qalculate-tde/debian/qalculate-tde.1 b/ubuntu/_base/applications/utilities/qalculate-tde/debian/qalculate-tde.1 deleted file mode 100644 index 90682e55b..000000000 --- a/ubuntu/_base/applications/utilities/qalculate-tde/debian/qalculate-tde.1 +++ /dev/null @@ -1,16 +0,0 @@ -.TH QALC 1 "28 December 2008" -.SH NAME -qalculate-tde \- Powerful and easy to use desktop calculator -.SH SYNOPSIS -.B qalculate-tde -.SH DESCRIPTION -Qalculate! is a small and simple to use calculator but with much power and -versatility underneath. Features include customizable functions, units, -arbitrary precision using a one-line fault-tolerant expression entry. -.PP -\fBqalculate-tde\fP is the TDE version of Qalculate!. -.SH AUTHORS -Original qalculate-kde was written by Niklas Knutsson . -.PP -This manual page was originally written by Vincent Legout , -for the Debian system (but may be used by others). diff --git a/ubuntu/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.manpages b/ubuntu/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.manpages deleted file mode 100644 index f3d6ef522..000000000 --- a/ubuntu/_base/applications/utilities/qalculate-tde/debian/qalculate-trinity.manpages +++ /dev/null @@ -1 +0,0 @@ -debian/qalculate-tde.1 diff --git a/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules b/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules index d03dd383d..a6797f19a 100755 --- a/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules +++ b/ubuntu/_base/applications/utilities/qalculate-tde/debian/rules @@ -1,15 +1,17 @@ #!/usr/bin/make -f include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/cmake.mk include debian/cdbs/debian-tde.mk -DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include -DEB_CONFIGURE_MANDIR := /opt/trinity/share/man -DEB_CONFIGURE_PREFIX := /opt/trinity -DEB_CONFIGURE_INFODIR := /opt/trinity/share/info - -install/qalculate-trinity:: - rm debian/qalculate-trinity/opt/trinity/bin/qalculate - -clean:: - rm -f po/*.gmo +DEB_CMAKE_EXTRA_FLAGS := \ + -DCMAKE_EXPORT_COMPILE_COMMANDS="ON" \ + -DCMAKE_INSTALL_PREFIX="/opt/trinity" \ + -DCONFIG_INSTALL_DIR="/etc/trinity" \ + -DSYSCONF_INSTALL_DIR="/etc/trinity" \ + -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/ubuntu/_base/applications/utilities/qalculate-tde/debian/watch b/ubuntu/_base/applications/utilities/qalculate-tde/debian/watch deleted file mode 100644 index c98cd4d96..000000000 --- a/ubuntu/_base/applications/utilities/qalculate-tde/debian/watch +++ /dev/null @@ -1,2 +0,0 @@ -version=3 -http://sf.net/qalculate/ qalculate-kde-(.*).tar.gz