summaryrefslogtreecommitdiffstats
path: root/debian/_base/applications
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2020-09-07 23:32:33 +0900
committerMichele Calgaro <[email protected]>2020-09-07 23:32:33 +0900
commit812e1d04d2d8598717cf119f10ca779cfb79fbbd (patch)
tree1ce168c10be4ac568e6cbaab9c2ed67535b5d503 /debian/_base/applications
parenteaeaf24bfb9f7e598c1f9245531e5c041b44b8ad (diff)
downloadtde-packaging-812e1d04d2d8598717cf119f10ca779cfb79fbbd.tar.gz
tde-packaging-812e1d04d2d8598717cf119f10ca779cfb79fbbd.zip
DEB: added qalculate-tde packaging files.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/_base/applications')
-rw-r--r--debian/_base/applications/qalculate-tde/debian/cdbs/debian-tde.mk227
-rw-r--r--debian/_base/applications/qalculate-tde/debian/cdbs/versions.pl19
-rw-r--r--debian/_base/applications/qalculate-tde/debian/changelog276
-rw-r--r--debian/_base/applications/qalculate-tde/debian/compat1
-rw-r--r--debian/_base/applications/qalculate-tde/debian/control20
-rw-r--r--debian/_base/applications/qalculate-tde/debian/copyright24
-rw-r--r--debian/_base/applications/qalculate-tde/debian/patches/series1
-rw-r--r--debian/_base/applications/qalculate-tde/debian/qalculate-tde.116
-rw-r--r--debian/_base/applications/qalculate-tde/debian/qalculate-trinity.manpages1
-rw-r--r--debian/_base/applications/qalculate-tde/debian/qalculate-trinity.menu5
-rw-r--r--debian/_base/applications/qalculate-tde/debian/qalculate-trinity.postinst8
-rw-r--r--debian/_base/applications/qalculate-tde/debian/qalculate-trinity.prerm7
-rwxr-xr-xdebian/_base/applications/qalculate-tde/debian/rules18
-rw-r--r--debian/_base/applications/qalculate-tde/debian/source/format1
-rw-r--r--debian/_base/applications/qalculate-tde/debian/source/options6
-rw-r--r--debian/_base/applications/qalculate-tde/debian/watch2
16 files changed, 632 insertions, 0 deletions
diff --git a/debian/_base/applications/qalculate-tde/debian/cdbs/debian-tde.mk b/debian/_base/applications/qalculate-tde/debian/cdbs/debian-tde.mk
new file mode 100644
index 000000000..24191b2cd
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/cdbs/debian-tde.mk
@@ -0,0 +1,227 @@
+# -*- mode: makefile; coding: utf-8 -*-
+# Copyright © 2003 Christopher L Cheney <[email protected]>
+# Copyright © 2019 TDE Team
+# Description: A class for TDE packages; sets TDE environment variables, etc
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License as
+# published by the Free Software Foundation; either version 2, or (at
+# your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+# 02111-1307 USA.
+
+ifndef _cdbs_bootstrap
+_cdbs_scripts_path ?= /usr/lib/cdbs
+_cdbs_rules_path ?= /usr/share/cdbs/1/rules
+_cdbs_class_path ?= /usr/share/cdbs/1/class
+endif
+
+ifndef _cdbs_class_debian-qt-kde
+_cdbs_class_debian-qt-kde := 1
+
+# for dh_icons
+CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4)
+
+# 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
+endif
+ifneq "$(wildcard /usr/share/libtool/build-aux/ltmain.sh)" ""
+ 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 $(_cdbs_rules_path)/buildcore.mk$(_cdbs_makefile_suffix)
+
+ifdef _cdbs_tarball_dir
+DEB_BUILDDIR = $(_cdbs_tarball_dir)/obj-$(DEB_BUILD_GNU_TYPE)
+else
+DEB_BUILDDIR = obj-$(DEB_BUILD_GNU_TYPE)
+endif
+
+ifndef _cdbs_class_cmake
+include $(_cdbs_class_path)/autotools.mk$(_cdbs_makefile_suffix)
+endif
+
+ifndef _cdbs_rules_patchsys_quilt
+DEB_PATCHDIRS := debian/patches/common debian/patches
+endif
+
+export kde_cgidir = \$${libdir}/cgi-bin
+export kde_confdir = \$${sysconfdir}/trinity
+export kde_htmldir = \$${datadir}/doc/tde/HTML
+
+DEB_KDE_ENABLE_FINAL := yes
+DEB_INSTALL_DOCS_ALL :=
+
+DEB_DH_MAKESHLIBS_ARGS_ALL := -V
+DEB_SHLIBDEPS_INCLUDE = $(foreach p,$(PACKAGES_WITH_LIBS),debian/$(p)/usr/lib)
+
+DEB_AC_AUX_DIR = $(DEB_SRCDIR)/admin
+DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/include"
+DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el
+
+ifeq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ cdbs_treat_me_gently_arches := arm m68k alpha ppc64 armel armeb
+ ifeq (,$(filter $(DEB_HOST_ARCH_CPU),$(cdbs_treat_me_gently_arches)))
+ cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,)
+ else
+ cdbs_kde_enable_final =
+ endif
+endif
+
+ifneq (,$(filter nostrip,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_final =
+ cdbs_kde_enable_debug = --enable-debug=yes
+else
+ cdbs_kde_enable_debug = --disable-debug
+endif
+
+ifneq (,$(filter debug,$(DEB_BUILD_OPTIONS)))
+ cdbs_kde_enable_debug = --enable-debug=full
+endif
+
+DEB_BUILD_PARALLEL ?= true
+
+cdbs_configure_flags += \
+ --with-qt-dir=/usr/share/qt3 \
+ --disable-rpath \
+ --with-xinerama \
+ $(cdbs_kde_enable_final) \
+ $(cdbs_kde_enable_debug)
+
+
+# This is a convenience target for calling manually.
+# It's not part of the build process.
+buildprep: clean apply-patches
+ifndef _cdbs_class_cmake
+ $(MAKE) -f admin/Makefile.common dist
+endif
+ debian/rules clean
+
+.tdepkginfo:
+ echo "# TDE package information" >.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Source: |Name: |p" >>.tdepkginfo
+ dpkg-parsechangelog | sed -n "s|^Version: |Version: |p" >>.tdepkginfo
+ date +"DateTime: %m/%d/%Y %H:%M" -d "$$(dpkg-parsechangelog | sed -n 's|^Date: ||p')" >>.tdepkginfo
+
+post-patches:: .tdepkginfo
+
+common-build-arch:: debian/stamp-man-pages
+debian/stamp-man-pages:
+ if ! test -d debian/man/out; then mkdir -p debian/man/out; fi
+ for f in $$(find debian/man -name '*.sgml'); do \
+ docbook-to-man $$f > debian/man/out/`basename $$f .sgml`.1; \
+ done
+ for f in $$(find debian/man -name '*.man'); do \
+ soelim -I debian/man $$f \
+ > debian/man/out/`basename $$f .man`.`head -n1 $$f | awk '{print $$NF}'`; \
+ done
+ touch debian/stamp-man-pages
+
+common-binary-indep::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_INDEP_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+
+common-binary-arch::
+ ( set -e; \
+ tmpf=`mktemp debian/versions.XXXXXX`; \
+ perl debian/cdbs/versions.pl >$$tmpf; \
+ for p in $(DEB_ARCH_PACKAGES); do \
+ cat $$tmpf >>debian/$$p.substvars; \
+ done; \
+ rm -f $$tmpf )
+ # update multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ -d $$a ] || [ -f $$a.arch ] || \
+ ! grep -q "\$$(DEB_HOST_MULTIARCH)" $$a || \
+ sed -i.arch "s|\$$(DEB_HOST_MULTIARCH)|$(DEB_HOST_MULTIARCH)|g" $$a; \
+ done
+
+clean::
+ rm -rf debian/man/out
+ -rmdir debian/man
+ rm -f debian/stamp-man-pages
+ rm -rf debian/shlibs-check
+ # revert multi-arch path in install files
+ ls -d debian/* | \
+ grep -E "(install|links)$$" | \
+ while read a; do \
+ [ ! -f $$a.arch ] || \
+ mv $$a.arch $$a; \
+ done
+
+$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%:
+ if test -x /usr/bin/dh_icons; then dh_icons -p$(cdbs_curpkg) $(DEB_DH_ICONCACHE_ARGS); fi
+ if test -x /usr/bin/dh_desktop; then dh_desktop -p$(cdbs_curpkg) $(DEB_DH_DESKTOP_ARGS); fi
+ if test -e debian/$(cdbs_curpkg).lintian; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).lintian \
+ debian/$(cdbs_curpkg)/usr/share/lintian/overrides/$(cdbs_curpkg); \
+ fi
+ if test -e debian/$(cdbs_curpkg).presubj; then \
+ install -p -D -m644 debian/$(cdbs_curpkg).presubj \
+ debian/$(cdbs_curpkg)/usr/share/bug/$(cdbs_curpkg)/presubj; \
+ fi
+
+binary-install/$(DEB_SOURCE_PACKAGE)-doc-html::
+ set -e; \
+ for doc in `cd $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en; find . -name index.docbook`; do \
+ pkg=$${doc%/index.docbook}; pkg=$${pkg#./}; \
+ echo Building $$pkg HTML docs...; \
+ mkdir -p $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ cd $(CURDIR)/debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ /opt/trinity/bin/meinproc $(DEB_DESTDIR)/opt/trinity/share/doc/tde/HTML/en/$$pkg/index.docbook; \
+ done
+ for pkg in $(DOC_HTML_PRUNE) ; do \
+ rm -rf debian/$(DEB_SOURCE_PACKAGE)-doc-html/opt/trinity/share/doc/tde/HTML/en/$$pkg; \
+ done
+
+common-build-indep:: debian/stamp-kde-apidox
+debian/stamp-kde-apidox:
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox)
+ touch $@
+
+common-install-indep:: common-install-kde-apidox
+common-install-kde-apidox::
+ $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR))
+
+cleanbuilddir::
+ -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR))
+
+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 | \
+ xargs --no-run-if-empty rm -f; \
+ rm -f Makefile.am acinclude.m4 aclocal.m4 config.h.in \
+ configure configure.files configure.in stamp-h.in \
+ subdirs; \
+ fi
+endif
+ rm -f .tdepkginfo
+ rm -f debian/stamp-kde-apidox
+ rm -f debian/stamp-cvs-make
+
+endif
diff --git a/debian/_base/applications/qalculate-tde/debian/cdbs/versions.pl b/debian/_base/applications/qalculate-tde/debian/cdbs/versions.pl
new file mode 100644
index 000000000..1b110f7af
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/cdbs/versions.pl
@@ -0,0 +1,19 @@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+my $version = `dpkg-parsechangelog | awk '/^Version/ {print \$2}'`;
+my ($version3, $version3_next);
+my ($version2, $version2_next);
+
+($version3 = $version) =~ s/^(([^.]+\.){2}[^.+~-]+)[.+~-]?[^-]*-[^-]+$/$1/;
+($version2 = $version3) =~ s/\.[^.]+$//;
+
+($version3_next = $version3) =~ s/(?<=\.)(\d+)[a-z]?$/($1+1)/e;
+($version2_next = $version2) =~ s/(?<=\.)(\d+)$/($1+1)/e;
+
+print "TDE-Version3=$version3\n";
+print "TDE-Version2=$version2\n";
+print "TDE-Next-Version3=$version3_next\n";
+print "TDE-Next-Version2=$version2_next\n";
diff --git a/debian/_base/applications/qalculate-tde/debian/changelog b/debian/_base/applications/qalculate-tde/debian/changelog
new file mode 100644
index 000000000..d322cc29b
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/changelog
@@ -0,0 +1,276 @@
+qalculate-trinity (0.9.7-1debian7.0.0+0) wheezy; urgency=low
+
+ * Initial Release for TDE
+
+ -- Slávek Banko <[email protected]> Sat, 09 Apr 2016 16:30:50 +0200
+
+qalculate-kde (0.9.7-1) unstable; urgency=low
+
+ * New upstream version
+ * debian/control:
+ - Update Standards-Version to 3.8.4
+ - Add Build-Depends on autotools-dev to update config.guess and config.sub
+ - Update libqalculate-dev Build-Depends to 0.9.7
+ * debian/copyright: Use GPL-2 instead of GPL
+ * debian/rules: Use chrpath to remove the RPATH in /usr/bin/qalculate-kde
+ * Switch to 3.0 (quilt) source format:
+ - debian/README.source: Removed
+ - Remove patching/unpatching code in debian/rules
+ - Switch from simple-patchsys to quilt
+
+ -- Vincent Legout <[email protected]> Tue, 02 Feb 2010 22:59:47 +0800
+
+qalculate-kde (0.9.6-3) unstable; urgency=low
+
+ * New maintainer (Closes: #509913)
+ * Bump debhelper compat to 5.
+ * debian/control:
+ - Update Standards-Version to 3.8.0.
+ - Remove Vcs-Git and Vcs-Browser fields.
+ - Fix debhelper-but-no-misc-depends lintian warning by adding
+ ${misc:Depends} to the Depends field of the binary package.
+ * 01_qalculate_kde_desktop.patch: remove Encoding key in desktop file.
+ * Add README.source.
+ * Add manpage.
+ * Fix watch file.
+
+ -- Vincent Legout <[email protected]> Mon, 29 Dec 2008 15:41:15 +0100
+
+qalculate-kde (0.9.6-2) unstable; urgency=low
+
+ * rebuild against newer cln version
+ * update Standards-Version
+
+ -- Martin Waitz <[email protected]> Thu, 24 Jan 2008 22:52:05 +0100
+
+qalculate-kde (0.9.6-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control: add new Homepage: and Vcs-*: fields
+ * debian/qalculate-kde.menu: update section names
+
+ -- Martin Waitz <[email protected]> Sun, 25 Nov 2007 19:39:46 +0100
+
+qalculate-kde (0.9.4-2) unstable; urgency=low
+
+ * debian/control: build depend on libqalculate-0.9.4
+
+ -- Martin Waitz <[email protected]> Fri, 30 Jun 2006 02:21:54 +0200
+
+qalculate-kde (0.9.4-1) unstable; urgency=low
+
+ * New upstream release
+ * New Standards-Version
+
+ -- Martin Waitz <[email protected]> Thu, 29 Jun 2006 22:58:51 +0200
+
+qalculate-kde (0.9.3.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Wed, 29 Mar 2006 23:34:19 +0200
+
+qalculate-kde (0.9.2-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/watch: fix tarball name
+
+ -- Martin Waitz <[email protected]> Wed, 11 Jan 2006 00:11:29 +0100
+
+qalculate-kde (0.9.0-2) unstable; urgency=low
+
+ * Use CDBS kde.mk to fix documentation location (Closes: #344683)
+
+ -- Martin Waitz <[email protected]> Sun, 25 Dec 2005 19:42:37 +0100
+
+qalculate-kde (0.9.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Tue, 29 Nov 2005 22:02:15 +0100
+
+qalculate-kde (0.8.2-2) unstable; urgency=low
+
+ * debian/control: use versioned build dependency on libqalculate-dev
+ (Closes: #334675)
+
+ -- Martin Waitz <[email protected]> Thu, 20 Oct 2005 18:54:25 +0200
+
+qalculate-kde (0.8.2-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: drop wget dependency
+
+ -- Martin Waitz <[email protected]> Tue, 18 Oct 2005 01:01:01 +0200
+
+qalculate-kde (0.8.1.1-1) unstable; urgency=low
+
+ * New upstream version
+ * Split source packages according to new upstream packaging
+ * Add new qalculate-kde package
+
+ -- Martin Waitz <[email protected]> Tue, 19 Jul 2005 14:23:03 +0200
+
+qalculate (0.7.2-3) unstable; urgency=low
+
+ * Recompile using atk 1.8 (Closes: #300662)
+
+ -- Martin Waitz <[email protected]> Fri, 25 Mar 2005 20:07:35 +0100
+
+qalculate (0.7.2-2) unstable; urgency=low
+
+ * debian/control: qalc Replaces: qalculate (Closes: #300240)
+
+ -- Martin Waitz <[email protected]> Sun, 20 Mar 2005 19:01:50 +0100
+
+qalculate (0.7.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Thu, 3 Feb 2005 21:40:50 +0100
+
+qalculate (0.7.1-2) unstable; urgency=low
+
+ * Split command line version into a new package. (Closes: #287331)
+
+ -- Martin Waitz <[email protected]> Wed, 29 Dec 2004 18:10:41 +0100
+
+qalculate (0.7.1-1) unstable; urgency=low
+
+ * New upstream release
+ - can convert number base without loosing precision (Closes: #278973)
+ - only uses available Unicode characters (Closes: #281096)
+
+ -- Martin Waitz <[email protected]> Mon, 22 Nov 2004 21:25:04 +0100
+
+qalculate (0.7.0-2) unstable; urgency=low
+
+ * Link with libreadline4
+
+ -- Martin Waitz <[email protected]> Sun, 7 Nov 2004 21:10:26 +0100
+
+qalculate (0.7.0-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Thu, 21 Oct 2004 22:56:06 +0200
+
+qalculate-gtk (0.6.3-1) unstable; urgency=low
+
+ * New upstream release
+ * debian/control: use policy version 3.6.1.0
+
+ -- Martin Waitz <[email protected]> Wed, 25 Aug 2004 12:58:50 +0200
+
+qalculate-gtk (0.6.2-3) unstable; urgency=low
+
+ * update libtool to reduce dependencies.
+ * debian/watch: use ftp instead of http
+
+ -- Martin Waitz <[email protected]> Tue, 10 Aug 2004 20:07:55 +0200
+
+qalculate-gtk (0.6.2-2) unstable; urgency=low
+
+ * debian/control: Build depend on libgnome using gnutls11 (Closes: #263657)
+ * debian/watch: add
+
+ -- Martin Waitz <[email protected]> Sat, 7 Aug 2004 15:04:44 +0200
+
+qalculate-gtk (0.6.2-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Tue, 20 Jul 2004 23:48:38 +0200
+
+qalculate-gtk (0.6.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Fri, 9 Jul 2004 13:30:45 +0200
+
+qalculate-gtk (0.5.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Fri, 16 Apr 2004 20:26:57 +0200
+
+qalculate-gtk (0.5-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Mon, 29 Mar 2004 21:20:32 +0200
+
+qalculate-gtk (0.4.2a-2) unstable; urgency=low
+
+ * debian/control: once again add more build depends...
+ libgnome2-dev, scrollkeeper
+
+ -- Martin Waitz <[email protected]> Sun, 28 Mar 2004 23:58:12 +0200
+
+qalculate-gtk (0.4.2a-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Thu, 18 Mar 2004 20:23:37 +0100
+
+qalculate-gtk (0.4.1-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Mon, 1 Mar 2004 21:39:48 +0100
+
+qalculate-gtk (0.4-2) unstable; urgency=low
+
+ * debian/control: Build-depend on libxml-parser-perl
+
+ -- Martin Waitz <[email protected]> Thu, 19 Feb 2004 23:29:13 +0100
+
+qalculate-gtk (0.4-1) unstable; urgency=low
+
+ * New upstream release
+
+ -- Martin Waitz <[email protected]> Thu, 19 Feb 2004 00:02:07 +0100
+
+qalculate-gtk (0.3.1.1-2) unstable; urgency=low
+
+ * data/qalculate.desktop.in: fix command name again (Closes: #231631)
+
+ -- Martin Waitz <[email protected]> Sun, 8 Feb 2004 00:49:55 +0100
+
+qalculate-gtk (0.3.1.1-1) unstable; urgency=low
+
+ * New upstream release
+ - fixes 1/sqrt 4 bug (Closes: #228517)
+ - src/calclib/util.[ch] patches applied upstream
+ * debian/control: don't do a versioned build-dep on libcln
+ * debian/{rules,control}: convert packaging to cdbs
+
+ -- Martin Waitz <[email protected]> Sat, 31 Jan 2004 01:07:27 +0100
+
+qalculate-gtk (0.3.1-4) unstable; urgency=low
+
+ * rebuild against new libcln
+
+ -- Martin Waitz <[email protected]> Thu, 22 Jan 2004 22:16:21 +0100
+
+qalculate-gtk (0.3.1-3) unstable; urgency=low
+
+ * src/calclib/util.{h,cc}: remove gcd_d function
+ it is not used and fails to compile on many arches
+ * debian/copyright: add more info about GPL
+
+ -- Martin Waitz <[email protected]> Wed, 21 Jan 2004 00:18:26 +0100
+
+qalculate-gtk (0.3.1-2) unstable; urgency=low
+
+ * add libgmp3-dev build dependency (Closes: #221091)
+ * fix command name in menu entry (Closes: #220335)
+ * fix command name in desktop file
+
+ -- Martin Waitz <[email protected]> Sun, 16 Nov 2003 21:27:58 +0100
+
+qalculate-gtk (0.3.1-1) unstable; urgency=low
+
+ * Initial Release. (Closes: #217565)
+
+ -- Martin Waitz <[email protected]> Sun, 2 Nov 2003 17:39:58 +0100
diff --git a/debian/_base/applications/qalculate-tde/debian/compat b/debian/_base/applications/qalculate-tde/debian/compat
new file mode 100644
index 000000000..ec635144f
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/_base/applications/qalculate-tde/debian/control b/debian/_base/applications/qalculate-tde/debian/control
new file mode 100644
index 000000000..3fce63ca0
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/control
@@ -0,0 +1,20 @@
+Source: qalculate-trinity
+Section: math
+Priority: optional
+Maintainer: Timothy Pearson <[email protected]>
+X-Original-Maintainer: Vincent Legout <[email protected]>
+Build-Depends: cdbs, debhelper (>= 9~), quilt, automake, libtool, libqalculate-dev (>= 0.9.6), libcln-dev, libgmp3-dev, libxml2-dev, tdelibs-trinity-dev
+Standards-Version: 3.8.4
+Homepage: http://qalculate.sourceforge.net/
+
+Package: qalculate-trinity
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, qalc, gnuplot
+Description: Powerful and easy to use desktop calculator - TDE version
+ Qalculate! is small and simple to use but with much power and versatility
+ underneath. Features include customizable functions, units, arbitrary
+ precision, plotting, and a graphical interface that uses a one-line
+ fault-tolerant expression entry (although it supports optional traditional
+ buttons).
+ .
+ This package contains the TDE user interface of qalculate.
diff --git a/debian/_base/applications/qalculate-tde/debian/copyright b/debian/_base/applications/qalculate-tde/debian/copyright
new file mode 100644
index 000000000..7c32b7295
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/copyright
@@ -0,0 +1,24 @@
+This package was debianized by Martin Waitz <[email protected]> on
+Sat, 25 Oct 2003 21:54:01 +0200.
+
+It was downloaded from http://qalculate.sourceforge.net/
+
+Upstream Author: Niklas Knutsson <[email protected]>
+
+Copyright (c) 2003 Niklas Knutsson
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 2 of the License, or
+(at your option) any later version.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program; if not, write to the Free Software
+Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
+
+A copy of the GPL can be found in /usr/share/common-licenses/GPL-2.
diff --git a/debian/_base/applications/qalculate-tde/debian/patches/series b/debian/_base/applications/qalculate-tde/debian/patches/series
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/patches/series
@@ -0,0 +1 @@
+
diff --git a/debian/_base/applications/qalculate-tde/debian/qalculate-tde.1 b/debian/_base/applications/qalculate-tde/debian/qalculate-tde.1
new file mode 100644
index 000000000..90682e55b
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/qalculate-tde.1
@@ -0,0 +1,16 @@
+.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 <[email protected]>.
+.PP
+This manual page was originally written by Vincent Legout <[email protected]>,
+for the Debian system (but may be used by others).
diff --git a/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.manpages b/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.manpages
new file mode 100644
index 000000000..f3d6ef522
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.manpages
@@ -0,0 +1 @@
+debian/qalculate-tde.1
diff --git a/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.menu b/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.menu
new file mode 100644
index 000000000..e6339a3d8
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.menu
@@ -0,0 +1,5 @@
+?package(qalculate-trinity):\
+ needs="X11"\
+ section="Applications/Science/Mathematics" \
+ title="Qalculate"\
+ command="/opt/trinity/bin/qalculate-tde"
diff --git a/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.postinst b/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.postinst
new file mode 100644
index 000000000..399ab32a3
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+update-alternatives --install /usr/bin/qalculate qalculate \
+ /opt/trinity/bin/qalculate-tde 10
diff --git a/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.prerm b/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.prerm
new file mode 100644
index 000000000..8777b6c35
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/qalculate-trinity.prerm
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -e
+
+#DEBHELPER#
+
+update-alternatives --remove qalculate /opt/trinity/bin/qalculate-tde
diff --git a/debian/_base/applications/qalculate-tde/debian/rules b/debian/_base/applications/qalculate-tde/debian/rules
new file mode 100755
index 000000000..fb9daa940
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/rules
@@ -0,0 +1,18 @@
+#!/usr/bin/make -f
+
+include /usr/share/cdbs/1/rules/debhelper.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)
+
+install/qalculate-trinity::
+ rm debian/qalculate-trinity/opt/trinity/bin/qalculate
+
+clean::
+ rm -f po/*.gmo
diff --git a/debian/_base/applications/qalculate-tde/debian/source/format b/debian/_base/applications/qalculate-tde/debian/source/format
new file mode 100644
index 000000000..163aaf8d8
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/_base/applications/qalculate-tde/debian/source/options b/debian/_base/applications/qalculate-tde/debian/source/options
new file mode 100644
index 000000000..72f1f5450
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/source/options
@@ -0,0 +1,6 @@
+# Use xz instead of gzip
+compression = "xz"
+compression-level = 9
+
+# Don't run differences
+diff-ignore = .*
diff --git a/debian/_base/applications/qalculate-tde/debian/watch b/debian/_base/applications/qalculate-tde/debian/watch
new file mode 100644
index 000000000..c98cd4d96
--- /dev/null
+++ b/debian/_base/applications/qalculate-tde/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://sf.net/qalculate/ qalculate-kde-(.*).tar.gz