debian/0000775000000000000000000000000012150305566007173 5ustar debian/rules0000775000000000000000000000017112150305375010250 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ --with autoreconf override_dh_auto_test: debian/watch0000664000000000000000000000007512150305341010215 0ustar version=3 http://sf.net/qalculate/ qalculate-gtk-(.*).tar.gz debian/changelog0000664000000000000000000003005612150305545011046 0ustar qalculate-gtk (0.9.7-5ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - debian/patches/02_desktop_file_category.patch: Move to Education/Science category. -- Logan Rosen Sun, 26 May 2013 00:10:58 -0400 qalculate-gtk (0.9.7-5) unstable; urgency=low * Add wformat-security.patch, fix build with -Werror=format-security. Thanks to Simon Ruderich (Closes: #709530) * Enable all hardening flags -- Vincent Legout Fri, 24 May 2013 18:22:02 +0200 qalculate-gtk (0.9.7-4ubuntu1) saucy; urgency=low * Merge from Debian unstable. Remaining changes: - debian/patches/02_desktop_file_category.patch: Move to Education/Science category. -- Logan Rosen Sun, 19 May 2013 16:52:46 -0400 qalculate-gtk (0.9.7-4) unstable; urgency=low * Standards-Version 3.9.4, no changes needed * Use dh-autoreconf to update config.{guess,sub} files * Build with hardening flags * Set debhelper compatibility to 9 -- Vincent Legout Sat, 18 May 2013 16:53:13 +0200 qalculate-gtk (0.9.7-3ubuntu1) quantal; urgency=low * Merge from Debian Unstable (LP: #1014199). Remaining Changes: - 02_desktop_file_category.patch: Move to Education/Science category (LP: #246565) -- Vibhav Pant Sun, 17 Jun 2012 11:12:17 +0530 qalculate-gtk (0.9.7-3) unstable; urgency=low * 01_desktop_file.patch: DEP3 lines should not start with a '#' * debian/qalculate-gtk.docs: NEWS, README and TODO are not useful, do not install them * Use my debian.org email address * Remove the DM-Upload-Allowed field * Update Standards-Version to 3.9.2 (No changes needed) * qalculate is a transitional package, set its priority to extra and put it in the oldlibs section. -- Vincent Legout Sat, 03 Dec 2011 14:37:58 +0100 qalculate-gtk (0.9.7-2) unstable; urgency=low * Build-depend on libgmp-dev instead of libgmp3-dev * Update Standards-Version to 3.9.1: - Use Breaks instead of Conflicts to declare that qalculate-gtk breaks qalculate. Fix conflicts-with-version lintian warning * Update to debhelper 8 (debian/compat, debian/control) * Add DM-Upload-Allowed field -- Vincent Legout Fri, 25 Mar 2011 06:50:15 +0100 qalculate-gtk (0.9.7-1ubuntu2) precise; urgency=low * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. -- Adam Conrad Fri, 02 Dec 2011 21:05:34 -0700 qalculate-gtk (0.9.7-1ubuntu1) maverick; urgency=low * Merge from Debian unstable (LP: #602742), remaining changes: - 02_desktop_file_category.patch: Move to Education/Science category (LP: #246565) -- Marcel Stimberg Mon, 12 Jul 2010 22:18:22 +0200 qalculate-gtk (0.9.7-1) unstable; urgency=low * New upstream version * debian/compat: Bumped to 7 * debian/copyright: Use GPL-2 instead of GPL * debian/control: - Update Standards-Version to 3.8.4 - Remove Build-Depends on intltool and cdbs - Add Build-Depends on libxml-parser-perl - Update debhelper Build-Depends to 7.0.50~ - Update libqalculate-dev Build-Depends to 0.9.7 * Switch to 3.0 (quilt) source format: - debian/README.source: Removed * debian/docs: Add AUTHORS * debian/rules: Rewrite using dh * debian/clean: Added -- Vincent Legout Tue, 02 Feb 2010 22:51:59 +0800 qalculate-gtk (0.9.6-3ubuntu1) lucid; urgency=low * 01_qalculate-gtk_desktop.patch: Move to Education/Science category (LP: #246565) * Rebuild for libcln5 -> libcln6 transition (LP: #534001) -- David Futcher Sun, 07 Mar 2010 20:39:44 +0000 qalculate-gtk (0.9.6-3) unstable; urgency=low * New maintainer (Closes: #509914) * Bump debhelper compat to 5. * debian/control: - Update Standards-Version to 3.8.0. - Remove Vcs-Git and Vcs-Browser fields. - Fix build-depends-on-1-revision lintian warning by adjusting version of libgnome2-dev. - Fix debhelper-but-no-misc-depends lintian warning by adding ${misc:Depends} to the Depends field of each binary package. - Fix spelling-error-in-description lintian warning in the description. * 01_qalculate-gtk_desktop.patch: remove Encoding key in desktop file. * Add README.source. * Add manpage. * Fix watch file. -- Vincent Legout Mon, 29 Dec 2008 15:09:53 +0100 qalculate-gtk (0.9.6-2) unstable; urgency=low * rebuild against newer libcln - tighten build depend on libqalculate to force this * Update Standards-Version -- Martin Waitz Thu, 24 Jan 2008 20:34:42 +0100 qalculate-gtk (0.9.6-1) unstable; urgency=low * New upstream release (Closes: #426530, #446314) - includes many upstream fixes (Closes: #419909, #447046, #404241, #421989, #449450) * debian/control: depend on gnuplot-x11 instead of gnuplot meta package. (Closes: #407623) * debian/control: add Homepage: and Vcs-{Git,Browser}: fields. * debian/qalculate-gtk.menu: use section name of new menu spec * data/qalculate-gtk.desktop.in: use official category Calculator -- Martin Waitz Sun, 25 Nov 2007 16:08:37 +0100 qalculate-gtk (0.9.4-2) unstable; urgency=low * debian/control: add libgnomeui-dev to build depends (Closes: #378254) -- Martin Waitz Fri, 30 Jun 2006 02:18:52 +0200 qalculate-gtk (0.9.4-1) unstable; urgency=low * New upstream release - ignores thousand separator in input (Closes #345415) * New Standards-Version -- Martin Waitz Wed, 28 Jun 2006 18:38:49 +0200 qalculate-gtk (0.9.3-1) unstable; urgency=low * New upstream release -- Martin Waitz Wed, 29 Mar 2006 23:15:39 +0200 qalculate-gtk (0.9.2-1) unstable; urgency=low * New upstream release -- Martin Waitz Tue, 10 Jan 2006 23:56:04 +0100 qalculate-gtk (0.9.0-2) unstable; urgency=low * debian/control: fix build dependency again, hmpf. -- Martin Waitz Tue, 29 Nov 2005 22:41:30 +0100 qalculate-gtk (0.9.0-1) unstable; urgency=low * New upstream release -- Martin Waitz Mon, 28 Nov 2005 23:59:51 +0100 qalculate-gtk (0.8.2.1-2) unstable; urgency=low * debian/control: use versioned build dependency on libqalculate-dev (Closes: #334674) -- Martin Waitz Thu, 20 Oct 2005 18:51:39 +0200 qalculate-gtk (0.8.2.1-1) unstable; urgency=low * New upstream release * debian/control: drop wget dependency -- Martin Waitz Tue, 18 Oct 2005 00:47:14 +0200 qalculate-gtk (0.8.1-5) unstable; urgency=low * debian/control: conflict with old qalculate, remove unnecessary recommends on qalc * debian/copyright: update FSF address -- Martin Waitz Tue, 6 Sep 2005 23:17:03 +0200 qalculate-gtk (0.8.1-4) unstable; urgency=low * Build-Depend on libgmp3-dev (this finally closes: #323119 hopefully) -- Martin Waitz Sat, 20 Aug 2005 19:47:10 +0200 qalculate-gtk (0.8.1-3) unstable; urgency=low * Add a transitional package for qalculate->qalculate-gtk (Closes: #323783) * Recommend qalc from qalculate -- Martin Waitz Sat, 20 Aug 2005 15:00:57 +0200 qalculate-gtk (0.8.1-2) unstable; urgency=low * Build-Depend on libcln-dev (Closes: #323119) -- Martin Waitz Mon, 15 Aug 2005 23:21:12 +0200 qalculate-gtk (0.8.1-1) unstable; urgency=low * New upstream version * Split source packages according to new upstream packaging * Rebuild with new C++ ABI -- Martin Waitz Tue, 19 Jul 2005 14:22:44 +0200 qalculate (0.7.2-3) unstable; urgency=low * Recompile using atk 1.8 (Closes: #300662) -- Martin Waitz 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 Sun, 20 Mar 2005 19:01:50 +0100 qalculate (0.7.2-1) unstable; urgency=low * New upstream release -- Martin Waitz 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 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 Mon, 22 Nov 2004 21:25:04 +0100 qalculate (0.7.0-2) unstable; urgency=low * Link with libreadline4 -- Martin Waitz Sun, 7 Nov 2004 21:10:26 +0100 qalculate (0.7.0-1) unstable; urgency=low * New upstream release -- Martin Waitz 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 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 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 Sat, 7 Aug 2004 15:04:44 +0200 qalculate-gtk (0.6.2-1) unstable; urgency=low * New upstream release -- Martin Waitz Tue, 20 Jul 2004 23:48:38 +0200 qalculate-gtk (0.6.1-1) unstable; urgency=low * New upstream release -- Martin Waitz Fri, 9 Jul 2004 13:30:45 +0200 qalculate-gtk (0.5.1-1) unstable; urgency=low * New upstream release -- Martin Waitz Fri, 16 Apr 2004 20:26:57 +0200 qalculate-gtk (0.5-1) unstable; urgency=low * New upstream release -- Martin Waitz 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 Sun, 28 Mar 2004 23:58:12 +0200 qalculate-gtk (0.4.2a-1) unstable; urgency=low * New upstream release -- Martin Waitz Thu, 18 Mar 2004 20:23:37 +0100 qalculate-gtk (0.4.1-1) unstable; urgency=low * New upstream release -- Martin Waitz 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 Thu, 19 Feb 2004 23:29:13 +0100 qalculate-gtk (0.4-1) unstable; urgency=low * New upstream release -- Martin Waitz 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 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 Sat, 31 Jan 2004 01:07:27 +0100 qalculate-gtk (0.3.1-4) unstable; urgency=low * rebuild against new libcln -- Martin Waitz 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 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 Sun, 16 Nov 2003 21:27:58 +0100 qalculate-gtk (0.3.1-1) unstable; urgency=low * Initial Release. (Closes: #217565) -- Martin Waitz Sun, 2 Nov 2003 17:39:58 +0100 debian/qalculate-gtk.prerm0000664000000000000000000000013612150305341012767 0ustar #!/bin/sh set -e #DEBHELPER# update-alternatives --remove qalculate /usr/bin/qalculate-gtk debian/compat0000664000000000000000000000000212150305341010360 0ustar 9 debian/qalculate-gtk.install0000664000000000000000000000006612150305341013312 0ustar debian/tmp/usr/bin/qalculate-gtk debian/tmp/usr/share debian/copyright0000664000000000000000000000173412150305341011122 0ustar This package was debianized by Martin Waitz on Sat, 25 Oct 2003 21:54:01 +0200. It was downloaded from http://qalculate.sourceforge.net/ Upstream Author: Niklas Knutsson 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. debian/source/0000775000000000000000000000000012150305564010471 5ustar debian/source/format0000664000000000000000000000001412150305341011670 0ustar 3.0 (quilt) debian/qalculate-gtk.postinst0000664000000000000000000000017012150305341013523 0ustar #!/bin/sh set -e #DEBHELPER# update-alternatives --install /usr/bin/qalculate qalculate \ /usr/bin/qalculate-gtk 20 debian/qalculate-gtk.docs0000664000000000000000000000001012150305341012561 0ustar AUTHORS debian/qalculate-gtk.10000664000000000000000000000116712150305341012007 0ustar .TH QALC 1 "28 December 2008" .SH NAME qalculate-gtk \- Powerful and easy to use desktop calculator .SH SYNOPSIS .B qalculate-gtk .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-gtk\fP is the GTK version of Qalculate!. .SH AUTHORS qalculate-gtk was written by Niklas Knutsson . .PP This manual page was originally written by Vincent Legout , for the Debian system (but may be used by others). debian/qalculate-gtk.manpages0000664000000000000000000000002712150305341013434 0ustar debian/qalculate-gtk.1 debian/qalculate-gtk.menu0000664000000000000000000000022012150305341012600 0ustar ?package(qalculate-gtk):\ needs="X11"\ section="Applications/Science/Mathematics" \ title="Qalculate"\ command="/usr/bin/qalculate-gtk" debian/clean0000664000000000000000000000011312150305341010162 0ustar intltool-extract intltool-merge intltool-update data/qalculate-gtk.desktop debian/control0000664000000000000000000000314712150305341010572 0ustar Source: qalculate-gtk Section: math Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Vincent Legout Build-Depends: debhelper (>= 9), libqalculate-dev (>= 0.9.7), libcln-dev, libgmp-dev, libgnome2-dev (>= 2.6.1.1), libgtk2.0-dev, libglade2-dev, libxml2-dev, scrollkeeper, libxml-parser-perl, dh-autoreconf, intltool Standards-Version: 3.9.4 Homepage: http://qalculate.sourceforge.net/ Package: qalculate-gtk Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends}, qalc, gnuplot-x11 Breaks: qalculate (<< 0.8) Replaces: qalculate Description: Powerful and easy to use desktop calculator - GTK+ 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 GTK+ user interface of qalculate. Package: qalculate Architecture: all Section: oldlibs Priority: extra Depends: ${misc:Depends}, qalculate-gtk Description: Powerful and easy to use desktop calculator - transitional 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 is a transitional package that can be removed once you installed qalculate-gtk. debian/patches/0000775000000000000000000000000012150305564010620 5ustar debian/patches/wformat-security.patch0000664000000000000000000000367012150305375015173 0ustar Description: Fix build with -Werror=format-security Author: Simon Ruderich Index: qalculate-gtk/src/callbacks.cc =================================================================== --- qalculate-gtk.orig/src/callbacks.cc 2013-05-18 17:06:45.000000000 +0200 +++ qalculate-gtk/src/callbacks.cc 2013-05-24 18:23:45.073397091 +0200 @@ -388,12 +388,12 @@ } void show_message(const gchar *text, GtkWidget *win) { - GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, text); + GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, "%s", text); gtk_dialog_run(GTK_DIALOG(edialog)); gtk_widget_destroy(edialog); } bool ask_question(const gchar *text, GtkWidget *win) { - GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_YES_NO, text); + GtkWidget *edialog = gtk_message_dialog_new(GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_YES_NO, "%s", text); int question_answer = gtk_dialog_run(GTK_DIALOG(edialog)); gtk_widget_destroy(edialog); return question_answer == GTK_RESPONSE_YES; @@ -654,7 +654,7 @@ GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_INFO, GTK_BUTTONS_CLOSE, - CALCULATOR->message()->message().c_str()); + "%s", CALCULATOR->message()->message().c_str()); gtk_dialog_run(GTK_DIALOG(edialog)); gtk_widget_destroy(edialog); } @@ -667,14 +667,14 @@ GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE, - str.c_str()); + "%s", str.c_str()); } else { edialog = gtk_message_dialog_new( GTK_WINDOW(win), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_MESSAGE_WARNING, GTK_BUTTONS_CLOSE, - str.c_str()); + "%s", str.c_str()); } gtk_dialog_run(GTK_DIALOG(edialog)); debian/patches/02_desktop_file_category.patch0000664000000000000000000000067412150305341016507 0ustar Index: qalculate-gtk/data/qalculate-gtk.desktop.in =================================================================== --- qalculate-gtk.orig/data/qalculate-gtk.desktop.in 2010-07-12 22:15:00.402418024 +0200 +++ qalculate-gtk/data/qalculate-gtk.desktop.in 2010-07-12 22:15:21.772778685 +0200 @@ -6,5 +6,5 @@ Terminal=false Type=Application StartupNotify=true -Categories=GNOME;Application;Utility; +Categories=Education;Science;Calculator; debian/patches/series0000664000000000000000000000011412150305435012026 0ustar 01_desktop_file.patch wformat-security.patch 02_desktop_file_category.patch debian/patches/01_desktop_file.patch0000664000000000000000000000101212150305341014574 0ustar Description: Remove Encoding field in desktop file Author: Vincent Legout Index: qalculate-gtk/data/qalculate-gtk.desktop.in =================================================================== --- qalculate-gtk.orig/data/qalculate-gtk.desktop.in 2010-01-12 22:33:25.081917355 +0800 +++ qalculate-gtk/data/qalculate-gtk.desktop.in 2010-01-12 22:33:26.913914393 +0800 @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 _Name=Qalculate! _Comment=Powerful and easy to use calculator Exec=qalculate-gtk