From 043013da1e53f52edc386c0dbbb8758690e779c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Tue, 26 May 2020 14:50:25 +0200 Subject: DEB kscope: Switch to cmake. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- ubuntu/_base/applications/kscope/debian/control | 3 +- ubuntu/_base/applications/kscope/debian/kscope.xml | 124 --------------------- ubuntu/_base/applications/kscope/debian/manpages | 1 - ubuntu/_base/applications/kscope/debian/rules | 48 ++------ ubuntu/_base/applications/kscope/debian/watch | 2 - 5 files changed, 13 insertions(+), 165 deletions(-) delete mode 100644 ubuntu/_base/applications/kscope/debian/kscope.xml delete mode 100644 ubuntu/_base/applications/kscope/debian/manpages delete mode 100644 ubuntu/_base/applications/kscope/debian/watch (limited to 'ubuntu') diff --git a/ubuntu/_base/applications/kscope/debian/control b/ubuntu/_base/applications/kscope/debian/control index aec6b40e3..d691af356 100644 --- a/ubuntu/_base/applications/kscope/debian/control +++ b/ubuntu/_base/applications/kscope/debian/control @@ -4,8 +4,7 @@ Priority: optional Maintainer: Timothy Pearson XSBC-Original-Maintainer: Debian KDE Extras Team Uploaders: Fathi Boudra , Mark Purcell -Build-Depends: cdbs, debhelper (>= 9~), quilt, automake, libtool, bison, flex, - tdebase-trinity-dev, docbook2x, docbook-xml +Build-Depends: cdbs, debhelper (>= 9~), quilt, cmake, intltool, bison, flex, tdebase-trinity-dev Standards-Version: 3.8.0 Homepage: http://kscope.sourceforge.net Vcs-Browser: http://svn.debian.org/wsvn/pkg-kde/kde-extras/kscope/?op=log diff --git a/ubuntu/_base/applications/kscope/debian/kscope.xml b/ubuntu/_base/applications/kscope/debian/kscope.xml deleted file mode 100644 index a70b1be45..000000000 --- a/ubuntu/_base/applications/kscope/debian/kscope.xml +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - Jonathan Patrick - Davies - jpatrick@ubuntu.com - - - 2006 - Jonathan Patrick Davies - - - - 2006-02-18 - - - - kscope - 1 - - - kscope - a source browsing and editing environment - - - - kscope - - - - - - - - - - DESCRIPTION - - KScope is a source browsing and editing environment for large projects written - in C (such as the Linux kernel). - - - KScope uses the Cscope code analysis engine to provide valuable information to - coders. - - - KScope also provides call-tree and call-graph views that can help developers - by visualising the relationships between different functions in the code base. - - - - OPTIONS - - All TDE and Qt - programs accept a some common command-line options. KScope has no - application-specific options. - - - - Generic options: - - - Show help about options - - - - Show Qt specific options - - - - Show TDE specific options - - - - Show all options - - - - Show author information - - - , - Show version information - - - - Show license information - - - - Indicates end of options - - - - - - - AUTHOR - - KScope was written by Elad Lahav elad_lahav@users.sf.net. - - - - COPYRIGHT - - This manual page was written by Jonathan Patrick Davies - jpatrick@ubuntu.com for the - Ubuntu system (but may be used by others). - Permission is granted to copy, distribute and/or modify this document - under the terms of the GNU General Public License, - Version 2 or any later version published by the Free Software Foundation. - - - On Debian systems, the complete text of the GNU General Public - License can be found in - /usr/share/common-licenses/GPL. - - - diff --git a/ubuntu/_base/applications/kscope/debian/manpages b/ubuntu/_base/applications/kscope/debian/manpages deleted file mode 100644 index 03ff43b50..000000000 --- a/ubuntu/_base/applications/kscope/debian/manpages +++ /dev/null @@ -1 +0,0 @@ -kscope.1 diff --git a/ubuntu/_base/applications/kscope/debian/rules b/ubuntu/_base/applications/kscope/debian/rules index 51dc02120..18aa16b96 100755 --- a/ubuntu/_base/applications/kscope/debian/rules +++ b/ubuntu/_base/applications/kscope/debian/rules @@ -1,43 +1,19 @@ #!/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 - DEB_DH_BUILDDEB_ARGS += -- -Z$(shell dpkg-deb --help | grep -q ":.* xz[,.]" \ && echo xz || echo bzip2) -post-patches:: debian/stamp-bootstrap - -debian/stamp-bootstrap: - dh_testdir - - # Regenerate build system -ifneq "$(wildcard /usr/share/libtool/ltmain.sh)" "" - cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh -endif -ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" "" - cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh -endif -ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" "" - cp -f /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh -endif - cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in - - autoreconf --install && automake -f && \ - $(MAKE) -f admin/Makefile.common && \ - touch debian/stamp-bootstrap - -build/kscope-trinity:: - /usr/bin/docbook2x-man debian/kscope.xml - -binary-install/kscope-trinity:: - mv debian/$(cdbs_curpkg)/usr/share/man debian/$(cdbs_curpkg)/opt/trinity/share/ - -clean:: - rm -f kscope.1 - rm -f debian/stamp-bootstrap +DEB_CMAKE_EXTRA_FLAGS := \ + -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/kscope/debian/watch b/ubuntu/_base/applications/kscope/debian/watch deleted file mode 100644 index 6825f61dd..000000000 --- a/ubuntu/_base/applications/kscope/debian/watch +++ /dev/null @@ -1,2 +0,0 @@ -version=3 -http://sf.net/kscope/kscope-(.*)\.tar\.gz debian svn-upgrade -- cgit v1.2.1