Branch: master

96097b13 2019-04-12 10:58:24 Slávek Banko
DEB kasablanca: Switch to cmake.
The man page has been moved to the main tree.

Signed-off-by: Slávek Banko <slavek.banko@...>
M debian/_base/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
M debian/_base/applications/kasablanca/debian/cdbs/kde.mk
M debian/_base/applications/kasablanca/debian/control
M debian/_base/applications/kasablanca/debian/docs
M debian/_base/applications/kasablanca/debian/rules
M debian/lenny/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
M debian/lenny/applications/kasablanca/debian/cdbs/kde.mk
M debian/lenny/applications/kasablanca/debian/control
M debian/lenny/applications/kasablanca/debian/docs
M debian/lenny/applications/kasablanca/debian/rules
M ubuntu/_base/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
M ubuntu/_base/applications/kasablanca/debian/cdbs/kde.mk
M ubuntu/_base/applications/kasablanca/debian/control
M ubuntu/_base/applications/kasablanca/debian/docs
M ubuntu/_base/applications/kasablanca/debian/rules
R debian/_base/applications/kasablanca/debian/kasablanca.xml
R debian/_base/applications/kasablanca/debian/manpages
R debian/_base/applications/kasablanca/debian/source.lintian-overrides
R debian/lenny/applications/kasablanca/debian/kasablanca.xml
R debian/lenny/applications/kasablanca/debian/manpages
R debian/lenny/applications/kasablanca/debian/source.lintian-overrides
R ubuntu/_base/applications/kasablanca/debian/kasablanca.xml
R ubuntu/_base/applications/kasablanca/debian/manpages
R ubuntu/_base/applications/kasablanca/debian/source.lintian-overrides

debian/_base/applications/kasablanca/debian/cdbs/debian-qt-kde.mk

diff --git a/debian/_base/applications/kasablanca/debian/cdbs/debian-qt-kde.mk b/debian/_base/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
index 9f8f977..60310a0 100644
--- a/debian/_base/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
+++ b/debian/_base/applications/kasablanca/debian/cdbs/debian-qt-kde.mk
@@ -10,6 +10,7 @@
 # Note: This _must_ be included before autotools.mk, or it won't work.
 common-configure-arch common-configure-indep:: debian/stamp-cvs-make
 debian/stamp-cvs-make:
+ifndef _cdbs_class_cmake
 	cp -Rp /usr/share/aclocal/libtool.m4 admin/libtool.m4.in
 ifneq "$(wildcard /usr/share/libtool/config/ltmain.sh)" ""
 	cp -Rp /usr/share/libtool/config/ltmain.sh admin/ltmain.sh
@@ -18,6 +19,7 @@
 	cp -Rp /usr/share/libtool/build-aux/ltmain.sh admin/ltmain.sh
 endif
 	$(MAKE) -C $(DEB_SRCDIR) -f admin/Makefile.common dist;
+endif
 	touch debian/stamp-cvs-make
 
 include debian/cdbs/kde.mk$(_cdbs_makefile_suffix)
@@ -102,6 +104,7 @@
 	done
 
 clean::
+ifndef _cdbs_class_cmake
 	if test -n "$(DEB_KDE_CVS_MAKE)" && test -d $(DEB_SRCDIR); then \
 		cd $(DEB_SRCDIR); \
 		find . -name Makefile.in -print | \
@@ -110,6 +113,7 @@
 			configure configure.files configure.in stamp-h.in \
 			subdirs; \
 	fi
+endif
 	rm -f debian/stamp-cvs-make
 
 endif

debian/_base/applications/kasablanca/debian/cdbs/kde.mk

diff --git a/debian/_base/applications/kasablanca/debian/cdbs/kde.mk b/debian/_base/applications/kasablanca/debian/cdbs/kde.mk
index 1ac26c4..80176d6 100644
--- a/debian/_base/applications/kasablanca/debian/cdbs/kde.mk
+++ b/debian/_base/applications/kasablanca/debian/cdbs/kde.mk
@@ -35,7 +35,9 @@
 DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
 endif
 
+ifndef _cdbs_class_cmake
 include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
 
 export kde_cgidir  = \$${libdir}/cgi-bin
 export kde_confdir = \$${sysconfdir}/trinity
@@ -59,7 +61,7 @@
 cdbs_configure_flags += --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug)
 
 DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
-DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include/tde"
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
 DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
 
 $(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:

debian/_base/applications/kasablanca/debian/control

diff --git a/debian/_base/applications/kasablanca/debian/control b/debian/_base/applications/kasablanca/debian/control
index 7bb4561..0b67cb4 100644
--- a/debian/_base/applications/kasablanca/debian/control
+++ b/debian/_base/applications/kasablanca/debian/control
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian TDE Extras Team <pkg-tde-extras@...>
 Uploaders: Fathi Boudra <fboudra@...>, Mark Purcell <msp@...>
-Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, automake, libtool, tdelibs14-trinity-dev, docbook2x, docbook-xml, libssl-dev
+Build-Depends: cdbs, debhelper (>= 7.0.50~), quilt, cmake, tdelibs14-trinity-dev, libssl-dev
 Standards-Version: 3.8.3
 
 Package: kasablanca-trinity

debian/_base/applications/kasablanca/debian/docs

diff --git a/debian/_base/applications/kasablanca/debian/docs b/debian/_base/applications/kasablanca/debian/docs
index 1333ed7..c17f037 100644
--- a/debian/_base/applications/kasablanca/debian/docs
+++ b/debian/_base/applications/kasablanca/debian/docs
@@ -1 +1,4 @@
+AUTHORS
+NEWS
+README
 TODO

debian/_base/applications/kasablanca/debian/kasablanca.xml

diff --git a/debian/_base/applications/kasablanca/debian/kasablanca.xml b/debian/_base/applications/kasablanca/debian/kasablanca.xml
deleted file mode 100644
index 5f142fd..0000000
--- a/debian/_base/applications/kasablanca/debian/kasablanca.xml
+++ /dev/null
@@ -1,149 +0,0 @@
-<?xml version='1.0' encoding='ISO-8859-1'?>
-<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
-"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
-  <!ENTITY dhfirstname "<firstname>Fathi</firstname>">
-  <!ENTITY dhsurname   "<surname>Boudra</surname>">
-  <!ENTITY dhdate      "<date>mars 22, 2006</date>">
-  <!ENTITY dhsection   "<manvolnum>1</manvolnum>">
-  <!ENTITY dhemail     "<email>fboudra@...</email>">
-  <!ENTITY dhusername  "Fathi Boudra">
-  <!ENTITY dhucpackage "<refentrytitle>kasablanca</refentrytitle>">
-  <!ENTITY dhpackage   "kasablanca">
-  <!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>2006</year>
-      <holder>&dhusername;</holder>
-    </copyright>
-    &dhdate;
-  </refentryinfo>
-  <refmeta>
-    &dhucpackage;
-
-    &dhsection;
-  </refmeta>
-  <refnamediv>
-    <refname>&dhpackage;</refname>
-
-    <refpurpose>fast and free ftp client for TDE</refpurpose>
-  </refnamediv>
-  <refsynopsisdiv>
-    <cmdsynopsis>
-      <command>&dhpackage;</command>
-
-      <arg><option><replaceable>options</replaceable></option></arg>
-
-    </cmdsynopsis>
-  </refsynopsisdiv>
-  <refsect1>
-    <title>DESCRIPTION</title>
-
-    <para><command>&dhpackage;</command> is an ftp client, written in c++, using the tde libraries.</para>
-
-    <para>Features:
-      <simplelist>
-        <member>* ftps encryption via AUTH TLS</member>
-        <member>* fxp (direct server to server transfer), supporting alternative mode</member>
-        <member>* advanced bookmarking system</member>
-        <member>* fast responsive multithreaded engine</member>
-        <member>* concurrent connections to multiple hosts</member>
-        <member>* interactive transfer queue, movable by drag and drop</member>
-        <member>* small nifty features, like a skiplist</member>
-      </simplelist>
-    </para>
-
-  </refsect1>
-  <refsect1>
-    <title>OPTIONS</title>
-
-    <para>All TDE and Qt programs accept some common command-line options.
-    <command>&dhpackage;</command> has no application-specific options.</para>
-
-    <variablelist>
-      <varlistentry>
-        <term>
-          <option>--help</option>
-        </term>
-        <listitem>
-          <para>Show help about options</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>
-          <option>--help-qt</option>
-        </term>
-        <listitem>
-          <para>Show Qt specific options</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>
-          <option>--help-tde</option>
-        </term>
-        <listitem>
-          <para>Show TDE specific options</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>
-          <option>--help-all</option>
-        </term>
-        <listitem>
-          <para>Show all options</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>
-          <option>--author</option>
-        </term>
-        <listitem>
-          <para>Show author information</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term><option>-v</option>
-          <option>--version</option>
-        </term>
-        <listitem>
-          <para>Show version information</para>
-        </listitem>
-      </varlistentry>
-      <varlistentry>
-        <term>
-          <option>--license</option>
-        </term>
-        <listitem>
-          <para>Show license information</para>
-        </listitem>
-      </varlistentry>
-    </variablelist>
-  </refsect1>
-  <refsect1>
-    <title>AUTHOR</title>
-
-    <para>This manual page was written by &dhusername; &lt;&dhemail;&gt; 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 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>
-

debian/_base/applications/kasablanca/debian/manpages

diff --git a/debian/_base/applications/kasablanca/debian/manpages b/debian/_base/applications/kasablanca/debian/manpages
deleted file mode 100644
index 8ae2d25..0000000
--- a/debian/_base/applications/kasablanca/debian/manpages
+++ /dev/null
@@ -1 +0,0 @@
-kasablanca.1

debian/_base/applications/kasablanca/debian/rules

diff --git a/debian/_base/applications/kasablanca/debian/rules b/debian/_base/applications/kasablanca/debian/rules
index da587ae..e5c16cf 100755
--- a/debian/_base/applications/kasablanca/debian/rules
+++ b/debian/_base/applications/kasablanca/debian/rules
@@ -1,45 +1,20 @@
 #!/usr/bin/make -f
 
** Diff limit reached (max: 250 lines) **