debian/0000755000000000000000000000000012262272451007171 5ustar debian/patches/0000755000000000000000000000000012161336221010612 5ustar debian/patches/remove-stray-comma.patch0000644000000000000000000000070712161336221015366 0ustar --- a/src/printpreview.h +++ b/src/printpreview.h @@ -86,7 +86,7 @@ bool viewType, hasScale; QRectF graph, sheetRect, graphRect, topLeft, topRight, top, left, right, bottom, bottomLeft, bottomRight; double sheetHeight, graphHeightCm, sheetWidth, graphWidthCm, relativeXposCm, relativeYposCm, xscale, yscale; - QPointF lastMousePos, ; + QPointF lastMousePos; short moveType; QPrinterInfo printerInfo; QPrinter *printer; debian/patches/series0000644000000000000000000000010012161336151012020 0ustar Makefile.patch zegrapher.desktop.patch remove-stray-comma.patch debian/patches/Makefile.patch0000644000000000000000000000065012120147155013352 0ustar --- /dev/null +++ b/Makefile @@ -0,0 +1,18 @@ +DESTDIR = + +all: + cd src; \ + qmake -config release; \ + make + # preparing the installation for debian. + # See debian/zegrapher.install + cp -a src/ZeGrapher src/zegrapher + cp src/icons/logoLogiciel.png src/icons/zegrapher.png +clean: + cd src; \ + [ ! -f Makefile ] || make distclean + rm -f src/zegrapher src/icons/zegrapher.png + +install: + +.PHONY: all clean install debian/patches/zegrapher.desktop.patch0000644000000000000000000000072012120155001015257 0ustar --- /dev/null +++ b/zegrapher.desktop @@ -0,0 +1,13 @@ +[Desktop Entry] +Encoding=UTF-8 +Version=1.0 +Type=Application +Exec=/usr/bin/zegrapher +Icon=zegrapher.png +Terminal=false +Name=ZeGrapher +GenericName=Plots of functions and series +GenericName[fr_FR]=Graphiques de fonctions et de suites +Comment=Interactive tool plot mathematic objects +Comment[fr_FR]=Outil interactif pour tracer des courbes mathématiques +Categories=GNOME;Application;Education;Math; debian/control0000644000000000000000000000602312117444055010575 0ustar Source: zegrapher Section: science Priority: extra Maintainer: Georges Khaznadar Build-Depends: debhelper (>= 9.0.0), qt4-qmake, libqt4-dev, hardening-wrapper Standards-Version: 3.9.4 Homepage: http://zegrapher.com/ Package: zegrapher Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: plotting mathematical functions and sequences on the plane ZeGrapheris developed with the idea that it must be as easy to use as possible, suitable for high school students. Here are features offered by Zegrapher: . * Visualize up to six functions simultaneously. All the usual functions can be called, They're all written on the virtual keyboard of the program. The name of these must be followed by an open parenthesis. Ex : cos(3x), sqrt(x) and not cos 3x or sqrt x. On a given function, others can be called, and so it's possible to associate or compose functions. * Numerical sequence plotting, they can be defined by recurrent relation, or explicitly. On the recurrent definition, you can put as much first values as you need to. * Parametric equation plotting, with the possibility to use a second parameter, which is "k". The curves can be animated, with adjustable smoothness (frame rate) and speed (ms per step). * Parametric function and sequence plotting. The parameter to use is "k", once you put it on an function's expression, new widgets will appear on which you'll enter the range and the step of "k". You can also choose two colors and each curve would take a color between to two. * Draw tangents, they can be moved and resized simply with the mouse. * Draw derivatives and antiderivatives of functions. * Print the graph, with these options : ** Choose the basis scale in centimeters, so you can measure the graph on the sheet with a ruler. ** Choose the size and the position of the graph on the sheet. ** Print in color or gray-scale. ** Export on a PDF file. * Exporting, it's possible to use all the known formats (png, jpeg, tiff, gif...). * Display a table of values, you can do it with three different options: ** From current graph view, the program will display the different functions ,sequences and parametric equation values from the graph's scale. And if you move the graph, the table would update itself automatically. ** Manual, you choose a number of empty boxes, then you'll enter by yourself the values that you want to know. ** Semi-automatic, with a given start value, step and number of values to display. * Navigate on the graph : ** Select a curve to display the coordinates of its points. ** Zoom/unzoom on each axis separately or together, with the mouse on a point, or on a rectangular region. ** Move the graph. * Customize the presentation : ** Change all the colors: axes, background, functions... ** Adjust curves displaying precision, it'll also affect rendering speed. ** Show/hide the grid. ** Activate/deactivate curves' smoothing. ** Display the graph on an orthonormal basis. debian/compat0000644000000000000000000000000212117415327010367 0ustar 9 debian/--param0000644000000000000000000000000012117444653010340 0ustar debian/watch0000644000000000000000000000027512262270010010213 0ustar version=3 #http://zegrapher.com/download/ .*/download/ZeGrapher_v([.0-9]+)_Sources.7z http://zegrapher.com/download/ .*_v([.0-9]+)_Sources.* \ debian /bin/sh debian/get_newest_source.sh debian/zegrapher.install0000644000000000000000000000014712120147243012543 0ustar src/zegrapher usr/bin src/icons/zegrapher.png usr/share/icons zegrapher.desktop usr/share/applications debian/zegrapher.10000644000000000000000000000437212117445101011241 0ustar '\" t .\" Title: ZEGRAPHER .\" Author: Georges KHAZNADAR .\" Generator: DocBook XSL Stylesheets v1.76.1 .\" Date: 03/11/2013 .\" Manual: zegrapher User Manual .\" Source: zegrapher .\" Language: English .\" .TH "ZEGRAPHER" "1" "03/11/2013" "zegrapher" "zegrapher User Manual" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" zegrapher \- program for plotting mathematical functions\&. .SH "SYNOPSIS" .HP \w'\fBzegrapher\fR\ 'u \fBzegrapher\fR .SH "DESCRIPTION" .PP \fBzegrapher\fR is a program for plotting mathematical functions and sequences on the plane\&. This software is developed with the idea that it must be as easy to use as possible, suitable for high school students\&. .PP You can find more information from the homepage http://zegrapher\&.com/ .SH "AUTHOR" .PP \fBGeorges KHAZNADAR\fR <\&georgesk@debian\&.org\&> .RS 4 Wrote this manpage for the Debian system\&. .RE .SH "COPYRIGHT" .br Copyright \(co 2013 Georges Khaznadar .br .PP This manual page was written for the Debian system (and may be used by others)\&. .PP 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\&. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common\-licenses/GPL\&. .sp debian/copyright0000644000000000000000000000345012120155503011115 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: zegrapher Source: http://sourceforge.net/projects/zegrapher/files/ZeGrapher%20v2.0/Sources/ZeGrapher_v2.0_Sources.7z/download Files: * Copyright: 2011 Adel Kara Slimane License: GPL-3 This package 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 as version 3 of the License. . This package 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, see . On Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". Files: debian/* Copyright: 2013 Georges Khaznadar License: GPL-2+ This package 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 package 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, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/source/0000755000000000000000000000000012117411645010470 5ustar debian/source/format0000644000000000000000000000001412117411645011676 0ustar 3.0 (quilt) debian/manpage.xml0000644000000000000000000001057012117445072011326 0ustar .
will be generated. You may view the manual page with: nroff -man .
| less'. A typical entry in a Makefile or Makefile.am is: DB2MAN = /usr/share/sgml/docbook/stylesheet/xsl/docbook-xsl/manpages/docbook.xsl XP = xsltproc -''-nonet -''-param man.charmap.use.subset "0" manpage.1: manpage.xml $(XP) $(DB2MAN) $< The xsltproc binary is found in the xsltproc package. The XSL files are in docbook-xsl. A description of the parameters you can use can be found in the docbook-xsl-doc-* packages. 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 xsltproc and docbook-xsl in your Build-Depends control field. Alternatively use the xmlto command/package. That will also automatically pull in xsltproc and docbook-xsl. Notes for using docbook2x: docbook2x-man does not automatically create the AUTHOR(S) and COPYRIGHT sections. In this case, please add them manually as ... . To disable the automatic creation of the AUTHOR(S) and COPYRIGHT sections read /usr/share/doc/docbook-xsl/doc/manpages/authors.html. This file can be found in the docbook-xsl-doc-html package. Validation can be done using: `xmllint -''-noout -''-valid manpage.xml` General documentation about man-pages and man-page-formatting: man(1), man(7), http://www.tldp.org/HOWTO/Man-Page/ --> ]> &dhtitle; &dhpackage; &dhfirstname; &dhsurname; Wrote this manpage for the Debian system.
&dhemail;
2013 &dhusername; This manual page was written for the Debian system (and 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. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
&dhucpackage; &dhsection; &dhpackage; program for plotting mathematical functions. &dhpackage; DESCRIPTION &dhpackage; is a program for plotting mathematical functions and sequences on the plane. This software is developed with the idea that it must be as easy to use as possible, suitable for high school students. You can find more information from the homepage http://zegrapher.com/
debian/zegrapher.manpages0000644000000000000000000000002312117445203012664 0ustar debian/zegrapher.1 debian/README.source0000644000000000000000000000042212117415752011350 0ustar zegrapher for Debian -------------------- The source come from sourceforge.net, it is distributed under the name ZeGrapher_v2.0_Linux_32bit.7z The script to download sources is: xxxxxxxxxxxxxxxxx Modifications are managed as patches under debian/patches, by quilt. debian/get_newest_source.sh0000644000000000000000000000066012262271151013247 0ustar #! /bin/sh package=zegrapher version=$2 debian_orig_tgz=${package}_${version}.orig.tar.gz debian_newdir=${package}-${version} upstream_archive=ZeGrapher_v${version}_Sources.7z upstream_newdir="ZeGrapher v${version} Sources" cd .. 7z x ${upstream_archive} mv "${upstream_newdir}" ${debian_newdir} tar czf ${debian_orig_tgz} ${debian_newdir} echo "Created the archive ../${debian_orig_tgz} and unrolled it to ../${debian_newdir}" debian/menu0000644000000000000000000000017512117416121010054 0ustar ?package(zegrapher):needs="X11" section="Applications/Science/Mathematics"\ title="zegrapher" command="/usr/bin/zegrapher" debian/changelog0000644000000000000000000000132712262272442011046 0ustar zegrapher (2.0-4) unstable; urgency=medium * improved the file debian/watch and wrote a debian/get_newest_source.sh script -- Georges Khaznadar Sun, 05 Jan 2014 15:32:56 +0100 zegrapher (2.0-3) unstable; urgency=low * created a watch file -- Georges Khaznadar Wed, 07 Aug 2013 11:53:54 +0200 zegrapher (2.0-2) unstable; urgency=low * removed a stray comma; Closes: #713732 -- Georges Khaznadar Sat, 22 Jun 2013 17:02:54 +0200 zegrapher (2.0-1) unstable; urgency=low * Initial release (Closes: #702995) * added a Makefile, an manpage and a .desktop file -- Georges Khaznadar Mon, 11 Mar 2013 18:25:56 +0100 debian/rules0000755000000000000000000000073012117444017010247 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. # This special exception was added by Craig Small in version 0.37 of dh-make. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_HARDENING=1 %: dh $@