diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2019-09-20 17:28:58 +0200 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2019-09-20 17:28:58 +0200 |
commit | a7e299ee4ef14356e1758d2421c498402080a9ae (patch) | |
tree | 77d22465edb1101c39b3aedc228b442aa8d3ab27 /ubuntu/_base/applications | |
parent | 5efc93b08b19f9942cf616311b05cf1b18538dd2 (diff) | |
download | tde-packaging-a7e299ee4ef14356e1758d2421c498402080a9ae.tar.gz tde-packaging-a7e299ee4ef14356e1758d2421c498402080a9ae.zip |
DEB kdiff3: Switch to cmake.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'ubuntu/_base/applications')
-rw-r--r-- | ubuntu/_base/applications/kdiff3/debian/control | 2 | ||||
-rw-r--r-- | ubuntu/_base/applications/kdiff3/debian/kdiff3-trinity.sgml | 258 | ||||
-rwxr-xr-x | ubuntu/_base/applications/kdiff3/debian/rules | 65 | ||||
-rw-r--r-- | ubuntu/_base/applications/kdiff3/debian/watch | 6 |
4 files changed, 12 insertions, 319 deletions
diff --git a/ubuntu/_base/applications/kdiff3/debian/control b/ubuntu/_base/applications/kdiff3/debian/control index e97c8b697..63cdb9bdc 100644 --- a/ubuntu/_base/applications/kdiff3/debian/control +++ b/ubuntu/_base/applications/kdiff3/debian/control @@ -3,7 +3,7 @@ Section: tde Priority: optional Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net> XSBC-Original-Maintainer: Eike Sauer <eike@debian.org> -Build-Depends: debhelper (>= 7.0.50~), cdbs, tdelibs14-trinity-dev, libkonq4-trinity-dev, docbook-to-man, libacl1-dev, libattr1-dev, automake, autoconf, libtool, libltdl-dev +Build-Depends: debhelper (>= 7.0.50~), cdbs, quilt, cmake, tdelibs14-trinity-dev, libkonq4-trinity-dev Standards-Version: 3.8.4 Package: kdiff3-trinity diff --git a/ubuntu/_base/applications/kdiff3/debian/kdiff3-trinity.sgml b/ubuntu/_base/applications/kdiff3/debian/kdiff3-trinity.sgml deleted file mode 100644 index eaf1d947e..000000000 --- a/ubuntu/_base/applications/kdiff3/debian/kdiff3-trinity.sgml +++ /dev/null @@ -1,258 +0,0 @@ -<!doctype refentry PUBLIC "-//OASIS//DTD DocBook V4.1//EN" [ - -<!-- Process this file with docbook-to-man to generate an nroff manual - page: `docbook-to-man manpage.sgml > manpage.1'. You may view - the manual page with: `docbook-to-man kdiff3.sgml | nroff -man | less'. - A typical entry in a Makefile or Makefile.am is: - -manpage.1: manpage.sgml - docbook-to-man $< > $@ - - - The docbook-to-man binary is found in the docbook-to-man package. - Please remember that if you create the nroff version in one of the - debian/rules file targets (such as build), you will need to include - docbook-to-man in your Build-Depends control field. - - --> - - <!-- Fill in your name for FIRSTNAME and SURNAME. --> - <!ENTITY dhfirstname "<firstname>EIKE</firstname>"> - <!ENTITY dhsurname "<surname>SAUER</surname>"> - <!-- Please adjust the date whenever revising the manpage. --> - <!ENTITY dhdate "<date>Oktober 2, 2006</date>"> - <!-- SECTION should be 1-8, maybe w/ subsection other parameters are - allowed: see man(7), man(1). --> - <!ENTITY dhsection "<manvolnum>1</manvolnum>"> - <!ENTITY dhemail "<<email>eikes@cs.tu-berlin.de</email>>"> - <!ENTITY dhusername "Eike Sauer"> - <!ENTITY dhucpackage "<refentrytitle>KDIFF3</refentrytitle>"> - <!ENTITY dhpackage "KDiff3"> - - <!ENTITY debian "<productname>Debian</productname>"> - <!ENTITY gnu "<acronym>GNU</acronym>"> - <!ENTITY gpl "&gnu; <acronym>GPL</acronym>"> -]> - -<refentry> - <refentryinfo> - <address> - &dhemail; - </address> - <author> - &dhfirstname; - &dhsurname; - </author> - <copyright> - <year>2003, 2006</year> - <holder>&dhusername;</holder> - </copyright> - &dhdate; - </refentryinfo> - <refmeta> - &dhucpackage; - - &dhsection; - </refmeta> - <refnamediv> - <refname>&dhpackage;</refname> - - <refpurpose>compares two or three input files or directories</refpurpose> - </refnamediv> - <refsynopsisdiv> - <cmdsynopsis> - <command>&dhpackage;</command> - - <arg><option>QT options</option></arg> - <arg><option>TDE options</option></arg> - <arg><option>KDiff3 options</option></arg> - <arg><option><replaceable>File1/base</replaceable></option></arg> - <arg><option><replaceable>File2</replaceable></option></arg> - <arg><option><replaceable>File3</replaceable></option></arg> - - </cmdsynopsis> - </refsynopsisdiv> - <refsect1> - <title>DESCRIPTION</title> - - <para>This manual page documents briefly the - <command>&dhpackage;</command> tool.</para> - - <para>This manual page was written for the &debian; distribution - because the original program does not have a manual page. - For comprehensive help, please see <command>khelpcenter help:/kdiff3</command>. - </para> - - <para><command>&dhpackage;</command> is a program that - <ItemizedList SPACING="compact"> - <ListItem><para>compares or merges two or three text input files or directories</para></ListItem> - <ListItem><para>shows the differences line by line and character by character</para></ListItem> - <ListItem><para>provides an automatic merge-facility and</para></ListItem> - <ListItem><para>an integrated editor for comfortable solving of merge-conflicts</para></ListItem> - <ListItem><para>supports Unicode, UTF-8 and other codecs</para></ListItem> - <ListItem><para>supports TDEIO on TDE (allows accessing ftp, sftp, fish, smb etc.)</para></ListItem> - <ListItem><para>Printing of differences</para></ListItem> - <ListItem><para>Manual alignment of lines</para></ListItem> - <ListItem><para>Automatic merging of version control history ($Log$)</para></ListItem> - </ItemizedList> - </para> - - </refsect1> - <refsect1> - <title>OPTIONS</title> - - <para>This program follows the usual &gnu; command line syntax, - with long options starting with two dashes (`-'). A summary of - options is included below. For a full summary of options, run - <command>&dhpackage; --help</command>. - </para> - - <variablelist> - <varlistentry> - <term><option>-m, --merge</option> - </term> - <listitem> - <para>Merge the input.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-b, --base file</option> - </term> - <listitem> - <para>Explicit base file. For compatibility with certain tools.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-o, --output file</option> - </term> - <listitem> - <para>Output file. Implies -m. E.g.: -o newfile.txt</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--out file</option> - </term> - <listitem> - <para>Output file, again. (For compatibility with certain tools.)</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--auto</option> - </term> - <listitem> - <para>No GUI if all conflicts are auto-solvable. (Needs -o file)</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--qall</option> - </term> - <listitem> - <para>Don't solve conflicts automatically. (For compatibility...)</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-L1 alias</option> - </term> - <listitem> - <para>Visible name replacement for first file/base file.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-L2 alias</option> - </term> - <listitem> - <para>Visible name replacement for second file.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-L3 alias</option> - </term> - <listitem> - <para>Visible name replacement for third file.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-L, --fname alias</option> - </term> - <listitem> - <para>Visible name replacement. May by supplied for each input.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--cs string</option> - </term> - <listitem> - <para>Change a setting, e. g. --cs "AutoAdvance=1".</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--confighelp</option> - </term> - <listitem> - <para>Show a list of all settings and their values.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--config file </option> - </term> - <listitem> - <para>Use a different settings file.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--author</option> - </term> - <listitem> - <para>Show author of program.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>-v, --version</option> - </term> - <listitem> - <para>Show version of program.</para> - </listitem> - </varlistentry> - <varlistentry> - <term><option>--license</option> - </term> - <listitem> - <para>Show license of program.</para> - </listitem> - </varlistentry> - </variablelist> - </refsect1> - <refsect1> - <title>AUTHOR</title> - - <para>This manual page was written by &dhusername; &dhemail; for - the &debian; 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, at your option, any later version published by the Free - Software Foundation). - </para> - <para> - On Debian systems, the complete text of the GNU General Public - License can be found in /usr/share/common-licenses/GPL. - </para> - - </refsect1> -</refentry> - -<!-- Keep this comment at the end of the file -Local variables: -mode: sgml -sgml-omittag:t -sgml-shorttag:t -sgml-minimize-attributes:nil -sgml-always-quote-attributes:t -sgml-indent-step:2 -sgml-indent-data:t -sgml-parent-document:nil -sgml-default-dtd-file:nil -sgml-exposed-tags:nil -sgml-local-catalogs:nil -sgml-local-ecat-files:nil -End: ---> diff --git a/ubuntu/_base/applications/kdiff3/debian/rules b/ubuntu/_base/applications/kdiff3/debian/rules index 7eea3fbd6..18aa16b96 100755 --- a/ubuntu/_base/applications/kdiff3/debian/rules +++ b/ubuntu/_base/applications/kdiff3/debian/rules @@ -1,62 +1,19 @@ #!/usr/bin/make -f -# -*- makefile -*- - -# Uncomment this to turn on verbose mode. -#export DH_VERBOSE=1 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/tde -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/kdiff3-trinity:: - dh_testdir - /usr/bin/docbook-to-man debian/kdiff3.sgml > doc/en/kdiff3.1 - -install/kdiff3-trinity:: - dh_testdir - # move kdiff3.desktop to freedesktop.org conforming place - mkdir --parents debian/tmp/opt/trinity/share/applications/tde/ - mv debian/tmp/opt/trinity/share/applnk/Development/kdiff3.desktop debian/tmp/opt/trinity/share/applications/tde/ - rmdir debian/tmp/opt/trinity/share/applnk/Development - -install/kdiff3-trinity-doc:: - dh_testdir - # that's not where we want to have a man page - rm -rf debian/tmp/opt/trinity/share/doc/tde/HTML/en/kdiff3/kdiff3.1 - # move HTML help /opt/trinity/share/doc/kdiff3/html/ - rm -rf debian/tmp/opt/trinity/share/doc/tde/HTML/kdiff3 - mkdir --parents debian/tmp/opt/trinity/share/doc/kdiff3/html/ - mv debian/tmp/opt/trinity/share/apps/kdiff3/doc/*.html debian/tmp/opt/trinity/share/doc/kdiff3/html/ - rmdir debian/tmp/opt/trinity/share/apps/kdiff3/doc - -clean:: - dh_testdir - 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/kdiff3/debian/watch b/ubuntu/_base/applications/kdiff3/debian/watch deleted file mode 100644 index 1f8b23456..000000000 --- a/ubuntu/_base/applications/kdiff3/debian/watch +++ /dev/null @@ -1,6 +0,0 @@ -# As version numbering of KDiff3 has changed from 0.93, 0.931, ... to 0.9.50, 0.9.60, -# we have to dump the former ones. They would be considered to have a higher version -# number by uscan. Addition: Ignore a x.y.zz-QT version as well. - -version=3 -http://sf.net/kdiff3/kdiff3-(.\..\...)\.tar.gz debian uupdate |