diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-03 22:56:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2019-04-03 22:56:40 +0900 |
commit | 11394aecd1f906fee2ebd2b90412aeba4651fbff (patch) | |
tree | bcf750380e6d9fc7dbe524e16bbe2afde25dcfa0 /ubuntu/_base/applications/qalculate-tde | |
parent | d24bd898174453b586ac90f2ef7a60165fa26fde (diff) | |
download | tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.tar.gz tde-packaging-11394aecd1f906fee2ebd2b90412aeba4651fbff.zip |
DEB: use _base folder for a distro instead of specific distros (squeeze
and maverick).
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'ubuntu/_base/applications/qalculate-tde')
17 files changed, 617 insertions, 0 deletions
diff --git a/ubuntu/_base/applications/qalculate-tde/debian/cdbs/debian-qt-kde.mk b/ubuntu/_base/applications/qalculate-tde/debian/cdbs/debian-qt-kde.mk new file mode 100644 index 000000000..60310a01a --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/cdbs/debian-qt-kde.mk @@ -0,0 +1,119 @@ +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 + +# 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 debian/cdbs/kde.mk$(_cdbs_makefile_suffix) + +ifndef _cdbs_rules_patchsys_quilt +DEB_PATCHDIRS := debian/patches/common debian/patches +endif + +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) + +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 + +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 ) + +clean:: + rm -rf debian/man/out + -rmdir debian/man + rm -f debian/stamp-man-pages + rm -rf debian/shlibs-check + +$(patsubst %,binary-install/%,$(DEB_PACKAGES)) :: binary-install/%: + 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 + +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 debian/stamp-cvs-make + +endif diff --git a/ubuntu/_base/applications/qalculate-tde/debian/cdbs/kde.mk b/ubuntu/_base/applications/qalculate-tde/debian/cdbs/kde.mk new file mode 100644 index 000000000..80176d63e --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/cdbs/kde.mk @@ -0,0 +1,91 @@ +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2003 Christopher L Cheney <ccheney@debian.org> +# Description: A class for KDE packages; sets KDE 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. + +_cdbs_scripts_path ?= /usr/lib/cdbs +_cdbs_rules_path ?= /usr/share/cdbs/1/rules +_cdbs_class_path ?= /usr/share/cdbs/1/class + +ifndef _cdbs_class_kde +_cdbs_class_kde := 1 + +# for dh_icons +CDBS_BUILD_DEPENDS := $(CDBS_BUILD_DEPENDS), debhelper (>= 5.0.7ubuntu4) + +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 + +export kde_cgidir = \$${libdir}/cgi-bin +export kde_confdir = \$${sysconfdir}/trinity +export kde_htmldir = \$${datadir}/doc/tde/HTML + +ifeq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + cdbs_kde_enable_final = $(if $(DEB_KDE_ENABLE_FINAL),--enable-final,) +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 + +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" +DEB_COMPRESS_EXCLUDE = .dcl .docbook -license .tag .sty .el + +$(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 + +cleanbuilddir:: + -$(if $(call cdbs_streq,$(DEB_BUILDDIR),$(DEB_SRCDIR)),,rm -rf $(DEB_BUILDDIR)) + +common-build-arch common-build-indep:: debian/stamp-kde-apidox +debian/stamp-kde-apidox: + $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) apidox) + touch $@ + +common-install-arch common-install-indep:: common-install-kde-apidox +common-install-kde-apidox:: + $(if $(DEB_KDE_APIDOX),+$(DEB_MAKE_INVOKE) install-apidox DESTDIR=$(DEB_DESTDIR)) + +clean:: + rm -f debian/stamp-kde-apidox + +# This is a convenience target for calling manually. It's not part of +# the build process. +buildprep: clean apply-patches + $(MAKE) -f admin/Makefile.common dist + debian/rules clean + +endif diff --git a/ubuntu/_base/applications/qalculate-tde/debian/cdbs/versions.pl b/ubuntu/_base/applications/qalculate-tde/debian/cdbs/versions.pl new file mode 100644 index 000000000..1b110f7af --- /dev/null +++ b/ubuntu/_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/ubuntu/_base/applications/qalculate-tde/debian/changelog b/ubuntu/_base/applications/qalculate-tde/debian/changelog new file mode 100644 index 000000000..d322cc29b --- /dev/null +++ b/ubuntu/_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 <slavek.banko@axis.cz> 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 <vincent@legout.info> 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 <vincent@legout.info> 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 <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> Thu, 29 Jun 2006 22:58:51 +0200 + +qalculate-kde (0.9.3.1-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> Sun, 25 Dec 2005 19:42:37 +0100 + +qalculate-kde (0.9.0-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> Sun, 20 Mar 2005 19:01:50 +0100 + +qalculate (0.7.2-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> Mon, 22 Nov 2004 21:25:04 +0100 + +qalculate (0.7.0-2) unstable; urgency=low + + * Link with libreadline4 + + -- Martin Waitz <tali@debian.org> Sun, 7 Nov 2004 21:10:26 +0100 + +qalculate (0.7.0-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> Sat, 7 Aug 2004 15:04:44 +0200 + +qalculate-gtk (0.6.2-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> Tue, 20 Jul 2004 23:48:38 +0200 + +qalculate-gtk (0.6.1-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> Fri, 9 Jul 2004 13:30:45 +0200 + +qalculate-gtk (0.5.1-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> Fri, 16 Apr 2004 20:26:57 +0200 + +qalculate-gtk (0.5-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> 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 <tali@debian.org> Sun, 28 Mar 2004 23:58:12 +0200 + +qalculate-gtk (0.4.2a-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> Thu, 18 Mar 2004 20:23:37 +0100 + +qalculate-gtk (0.4.1-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> 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 <tali@debian.org> Thu, 19 Feb 2004 23:29:13 +0100 + +qalculate-gtk (0.4-1) unstable; urgency=low + + * New upstream release + + -- Martin Waitz <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> Sat, 31 Jan 2004 01:07:27 +0100 + +qalculate-gtk (0.3.1-4) unstable; urgency=low + + * rebuild against new libcln + + -- Martin Waitz <tali@debian.org> 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 <tali@debian.org> 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 <tali@debian.org> Sun, 16 Nov 2003 21:27:58 +0100 + +qalculate-gtk (0.3.1-1) unstable; urgency=low + + * Initial Release. (Closes: #217565) + + -- Martin Waitz <tali@debian.org> Sun, 2 Nov 2003 17:39:58 +0100 diff --git a/ubuntu/_base/applications/qalculate-tde/debian/compat b/ubuntu/_base/applications/qalculate-tde/debian/compat new file mode 100644 index 000000000..7f8f011eb --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/compat @@ -0,0 +1 @@ +7 diff --git a/ubuntu/_base/applications/qalculate-tde/debian/control b/ubuntu/_base/applications/qalculate-tde/debian/control new file mode 100644 index 000000000..68346e3d9 --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/control @@ -0,0 +1,20 @@ +Source: qalculate-trinity +Section: math +Priority: optional +Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net> +X-Original-Maintainer: Vincent Legout <vincent@legout.info> +Build-Depends: cdbs, debhelper (>= 7.0.50~), 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/ubuntu/_base/applications/qalculate-tde/debian/copyright b/ubuntu/_base/applications/qalculate-tde/debian/copyright new file mode 100644 index 000000000..7c32b7295 --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/copyright @@ -0,0 +1,24 @@ +This package was debianized by Martin Waitz <tali@debian.org> on +Sat, 25 Oct 2003 21:54:01 +0200. + +It was downloaded from http://qalculate.sourceforge.net/ + +Upstream Author: Niklas Knutsson <nq@altern.org> + +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/ubuntu/_base/applications/qalculate-tde/debian/patches/series b/ubuntu/_base/applications/qalculate-tde/debian/patches/series new file mode 100644 index 000000000..8b1378917 --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/patches/series @@ -0,0 +1 @@ + diff --git a/ubuntu/_base/applications/qalculate-tde/debian/qalculate-tde.1 b/ubuntu/_base/applications/qalculate-tde/debian/qalculate-tde.1 new file mode 100644 index 000000000..90682e55b --- /dev/null +++ b/ubuntu/_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 <nq@altern.org>. +.PP +This manual page was originally written by Vincent Legout <vincent@legout.info>, +for the Debian system (but may be used by others). diff --git a/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.manpages b/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.manpages new file mode 100644 index 000000000..f3d6ef522 --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.manpages @@ -0,0 +1 @@ +debian/qalculate-tde.1 diff --git a/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.menu b/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.menu new file mode 100644 index 000000000..e6339a3d8 --- /dev/null +++ b/ubuntu/_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/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.postinst b/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.postinst new file mode 100644 index 000000000..399ab32a3 --- /dev/null +++ b/ubuntu/_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/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.prerm b/ubuntu/_base/applications/qalculate-tde/debian/qalculate-trinity.prerm new file mode 100644 index 000000000..8777b6c35 --- /dev/null +++ b/ubuntu/_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/ubuntu/_base/applications/qalculate-tde/debian/rules b/ubuntu/_base/applications/qalculate-tde/debian/rules new file mode 100755 index 000000000..cb93a99e3 --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/rules @@ -0,0 +1,20 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include debian/cdbs/debian-qt-kde.mk +#include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/utils.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/ubuntu/_base/applications/qalculate-tde/debian/source/format b/ubuntu/_base/applications/qalculate-tde/debian/source/format new file mode 100644 index 000000000..163aaf8d8 --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/ubuntu/_base/applications/qalculate-tde/debian/source/options b/ubuntu/_base/applications/qalculate-tde/debian/source/options new file mode 100644 index 000000000..72f1f5450 --- /dev/null +++ b/ubuntu/_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/ubuntu/_base/applications/qalculate-tde/debian/watch b/ubuntu/_base/applications/qalculate-tde/debian/watch new file mode 100644 index 000000000..c98cd4d96 --- /dev/null +++ b/ubuntu/_base/applications/qalculate-tde/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/qalculate/ qalculate-kde-(.*).tar.gz |