debian/0000755000000000000000000000000012146177022007170 5ustar debian/patches/0000755000000000000000000000000011702222342010610 5ustar debian/patches/series0000644000000000000000000000013711702222342012026 0ustar 10-wxgeometrie.desktop.patch 20-setup.py.patch 30-add-launcher.patch 40-personnaliser.py.patch debian/patches/40-personnaliser.py.patch0000644000000000000000000000120611702222252015364 0ustar Index: wxgeometrie-0.133.1/wxgeometrie/param/personnaliser.py =================================================================== --- wxgeometrie-0.133.1.orig/wxgeometrie/param/personnaliser.py 2012-01-08 06:07:35.726982283 +0100 +++ wxgeometrie-0.133.1/wxgeometrie/param/personnaliser.py 2012-01-08 06:07:43.910879396 +0100 @@ -30,7 +30,7 @@ from math import pi -# Placez ici les modifications que vous souhaitez apporter au fichier de paramétrage. - -debug = False -#install = True \ No newline at end of file +# Placez ici les modifications que vous souhaitez apporter au fichier de paramétrage. + +debug = False +install = True debian/patches/10-wxgeometrie.desktop.patch0000644000000000000000000000130511702221312016051 0ustar Index: wxgeometrie-0.133.1/wxgeometrie.desktop =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ wxgeometrie-0.133.1/wxgeometrie.desktop 2012-01-08 05:59:43.188914737 +0100 @@ -0,0 +1,17 @@ +##!/usr/bin/env xdg-open + +[Desktop Entry] +Type=Application +Version=1.0 +Name=WxGeometrie +GenericName=Mathematical software +GenericName[fr]=Logiciel de mathématiques +Comment=Swiss army knife for math teachers +Comment[fr]=Le couteau suisse du prof de maths +Icon=wxgeometrie +Exec=wxgeom %U +Terminal=false +MimeType=application/x-wxgeometrie-geo;application/x-wxgeometrie-geoz; +X-MultipleArgs=false + +Categories=Education;Science;Math; debian/patches/20-setup.py.patch0000644000000000000000000001013311702175720013644 0ustar Index: wxgeometrie-0.133.1/setup.py =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ wxgeometrie-0.133.1/setup.py 2012-01-08 03:12:10.819298676 +0100 @@ -0,0 +1,67 @@ +# -*- coding: utf-8 -*- +### setup.py ### + +from distutils.core import setup + +setup (name='wxgeometrie', + version='0.131.2', + description=u"Swiss army knife for the math teacher", + author='Nicolas Pourcelot', + author_email='nicolas.pourcelot@gmail.com', + url='http://wxgeo.free.fr/', + license='GPLv2 or next', + packages=['wxgeometrie', + 'wxgeometrie.param', + 'wxgeometrie.geolib', + 'wxgeometrie.GUI', + 'wxgeometrie.mathlib', + 'wxgeometrie.modules', + 'wxgeometrie.modules.calculatrice', + 'wxgeometrie.modules.calculatrice._param_', + 'wxgeometrie.modules.cryptographie', + 'wxgeometrie.modules.cryptographie._param_', + 'wxgeometrie.modules.geometre', + 'wxgeometrie.modules.geometre._param_', + 'wxgeometrie.modules.graphes', + 'wxgeometrie.modules.graphes._param_', + 'wxgeometrie.modules.probabilites', + 'wxgeometrie.modules.probabilites._param_', + 'wxgeometrie.modules.statistiques', + 'wxgeometrie.modules.statistiques._param_', + 'wxgeometrie.modules.surfaces', + 'wxgeometrie.modules.surfaces._param_', + 'wxgeometrie.modules.tablatex', + 'wxgeometrie.modules.tablatex._param_', + 'wxgeometrie.modules.traceur', + 'wxgeometrie.modules.traceur._param_', + 'wxgeometrie.pylib', + 'wxgeometrie.tools', + 'wxgeometrie.API'], + package_dir={'wxgeometrie': 'wxgeometrie', + 'wxgeometrie.param': 'wxgeometrie/param', + 'wxgeometrie.geolib': 'wxgeometrie/geolib', + 'wxgeometrie.GUI': 'wxgeometrie/GUI', + 'wxgeometrie.mathlib': 'wxgeometrie/mathlib', + 'wxgeometrie.modules': 'wxgeometrie/modules', + 'wxgeometrie.modules.calculatrice' : 'wxgeometrie/modules/calculatrice', + 'wxgeometrie.modules.calculatrice._param_' : 'wxgeometrie/modules/calculatrice/_param_', + 'wxgeometrie.modules.cryptographie' : 'wxgeometrie/modules/cryptographie', + 'wxgeometrie.modules.cryptographie._param_' : 'wxgeometrie/modules/cryptographie/_param_', + 'wxgeometrie.modules.geometre' : 'wxgeometrie/modules/geometre', + 'wxgeometrie.modules.geometre._param_' : 'wxgeometrie/modules/geometre/_param_', + 'wxgeometrie.modules.graphes' : 'wxgeometrie/modules/graphes', + 'wxgeometrie.modules.graphes._param_' : 'wxgeometrie/modules/graphes/_param_', + 'wxgeometrie.modules.probabilites' : 'wxgeometrie/modules/probabilites', + 'wxgeometrie.modules.probabilites._param_' : 'wxgeometrie/modules/probabilites/_param_', + 'wxgeometrie.modules.statistiques' : 'wxgeometrie/modules/statistiques', + 'wxgeometrie.modules.statistiques._param_' : 'wxgeometrie/modules/statistiques/_param_', + 'wxgeometrie.modules.surfaces' : 'wxgeometrie/modules/surfaces', + 'wxgeometrie.modules.surfaces._param_' : 'wxgeometrie/modules/surfaces/_param_', + 'wxgeometrie.modules.tablatex' : 'wxgeometrie/modules/tablatex', + 'wxgeometrie.modules.tablatex._param_' : 'wxgeometrie/modules/tablatex/_param_', + 'wxgeometrie.modules.traceur' : 'wxgeometrie/modules/traceur', + 'wxgeometrie.modules.traceur._param_' : 'wxgeometrie/modules/traceur/_param_', + 'wxgeometrie.pylib': 'wxgeometrie/pylib', + 'wxgeometrie.tools': 'tools', + 'wxgeometrie.API': 'wxgeometrie/API'} +) debian/patches/30-add-launcher.patch0000644000000000000000000000365011702222106014402 0ustar Index: wxgeometrie-0.133.1/wxgeom =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ wxgeometrie-0.133.1/wxgeom 2012-01-08 06:06:03.452142164 +0100 @@ -0,0 +1,43 @@ +#!/usr/bin/env python +# -*- coding: iso-8859-1 -*- +from __future__ import division # 1/2 == .5 (par defaut, 1/2 == 0) + +##--------------------------------------## +# WxGeometrie # +# main program # +##--------------------------------------## +# WxGeometrie +# Dynamic geometry, graph plotter, and more for french mathematic teachers. +# Copyright (C) 2005-2010 Nicolas Pourcelot +# +# 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 + +# choisit comme répertoire courant le repertoire d'execution du script (pour Linux) +from codecs import getwriter +import sys, os +from os.path import dirname, join, realpath + +if sys.platform == 'win32': + sys.stdout = getwriter('cp850')(sys.stdout) +else: + sys.stdout = getwriter('utf8')(sys.stdout) + +path = join(dirname(realpath(sys._getframe().f_code.co_filename)), 'wxgeometrie') +sys.path.insert(0, path) + +from wxgeometrie.initialisation import initialiser + +if __name__ == '__main__': + initialiser() debian/control0000644000000000000000000000111312146176552010576 0ustar Source: wxgeometrie Section: math Priority: extra Maintainer: Georges Khaznadar Build-Depends: debhelper (>= 9), python-all, quilt XS-Python-Version: >= 2.6 Standards-Version: 3.9.4 Homepage: http://sourceforge.net/projects/wxgeometrie/ Package: wxgeometrie Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-numpy, python-sympy (>= 0.7.1), python-matplotlib, python-wxgtk2.8 Description: Swiss army knife for the math teacher this application contains every tool you would like to find when preparing math courses, exercises or their keys. debian/wxgeometrie.sharedmimeinfo0000644000000000000000000000121011675671444014452 0ustar Raw GEO File (WxGeometrie) Fichier GEO (WxGeometrie) Compressed GEO file (WxGeometrie) Fichier GEO compressé (WxGeometrie) debian/compat0000644000000000000000000000000212146176755010402 0ustar 9 debian/wxgeometrie.manpages0000644000000000000000000000001711572454477013260 0ustar debian/wxgeom.1debian/wxgeometrie.install0000644000000000000000000000030511646043177013124 0ustar wxgeometrie/developpeurs/* usr/share/pyshared/wxgeometrie/developpeurs wxgeometrie/doc/* usr/share/pyshared/wxgeometrie/doc wxgeometrie/images/* usr/share/pyshared/wxgeometrie/imagesdebian/watch0000644000000000000000000000007611774027600010226 0ustar version=3 http://sf.net/wxgeometrie/wxgeometrie_(.+)\.tar\.gz debian/copyright0000644000000000000000000000622611646052307011133 0ustar Format: http://dep.debian.net/deps/dep5 Upstream-Name: wxgeometrie Source: https://github.com/wxgeo/wxgeometrie.git Files: * Copyright: 2005-2011 Nicolas Pourcelot License: GPL-2+ 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. . see "/usr/share/common-licenses/GPL-2". Files: wxgeometrie/images/* Copyright: 2005-2011 Nicolas Pourcelot License: GFDL-1.3, with no Invariant Sections The purpose of this License is to make a manual, textbook, or other functional and useful document "free" in the sense of freedom: to assure everyone the effective freedom to copy and redistribute it, with or without modifying it, either commercially or noncommercially. Secondarily, this License preserves for the author and publisher a way to get credit for their work, while not being considered responsible for modifications made by others. . see "/usr/share/common-licenses/GFDL-1.3". Files: wxgeometrie/pylib/decorator.py Copyright: 2005 Michele Simionato License: BSD-like Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in bytecode form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. Files: debian/* Copyright: 2011 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/0000755000000000000000000000000011674214044010471 5ustar debian/source/format0000644000000000000000000000001411674171313011700 0ustar 3.0 (quilt) debian/manpage.xml0000644000000000000000000001024211572454272011330 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;
2011 &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; Swiss army knife for the math teacher &dhpackage; DESCRIPTION &dhpackage; contains every tool you would like to find when preparing math courses, exercises or their keys.
debian/wxgeom.10000644000000000000000000000403711572454334010572 0ustar '\" t .\" Title: WXGEOM .\" Author: Georges Khaznadar .\" Generator: DocBook XSL Stylesheets v1.75.2 .\" Date: 06/04/2011 .\" Manual: wxgeom User Manual .\" Source: wxgeom .\" Language: English .\" .TH "WXGEOM" "1" "06/04/2011" "wxgeom" "wxgeom 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" wxgeom \- Swiss army knife for the math teacher .SH "SYNOPSIS" .HP \w'\fBwxgeom\fR\ 'u \fBwxgeom\fR .SH "DESCRIPTION" .PP \fBwxgeom\fR contains every tool you would like to find when preparing math courses, exercises or their keys\&. .SH "AUTHOR" .PP \fBGeorges Khaznadar\fR <\&georgesk@ofset\&.org\&> .RS 4 Wrote this manpage for the Debian system\&. .RE .SH "COPYRIGHT" .br Copyright \(co 2011 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/newUpstream.sh0000755000000000000000000000072511634604203012042 0ustar #!/bin/sh date=$(date +%Y%m%d) if [ ! -d ../wxgeometrie-upstream ]; then echo "../wxgeometrie-upstream should contain a clone of https://github.com/wxgeo/wxgeometrie.git" else (cd ../wxgeometrie-upstream; git pull) rsync -a --delete --exclude .git --exclude .gitignore ../wxgeometrie-upstream/* ./ dch --newversion 0.1.0+git${date}-1 "upgraded to the new upstream version" echo "Synchronized to the new upstream version, see debian/changelog" fi debian/README.source0000644000000000000000000000044211634604667011362 0ustar wxgeometrie for Debian ---------------------- The source is synchronized with upstream thanks to the script debian/newUpstream.sh modifications are handled with quilt, see /usr/share/doc/quilt/README.source -- Georges Khaznadar , Fri, 16 Sep 2011 10:32:55 +0200 debian/docs0000644000000000000000000000000011504347571010036 0ustar debian/menu0000644000000000000000000000017611572453754010076 0ustar ?package(wxgeometrie):needs="X11" section="Applications/Science/Mathematics"\ title="wxgeometrie" command="/usr/bin/wxgeom" debian/changelog0000644000000000000000000000614012146177003011042 0ustar wxgeometrie (0.133.2-2) unstable; urgency=low * Upgraded Standards-Version to 3.9.4 * Upgraded compat level to 9 * Dropped the outdated build-dependency on python-central (Closes: #708887) -- Georges Khaznadar Sun, 19 May 2013 18:27:30 +0200 wxgeometrie (0.133.2-1) unstable; urgency=low * Modified my DEBEMAIL * Upgraded to the newest upstream version * Upgraded Standards-Version to 3.9.3 -- Georges Khaznadar Fri, 18 Jan 2013 18:20:45 +0100 wxgeometrie (0.133.1-2) unstable; urgency=low * modified the watch file to fit sf.net's download area -- Georges Khaznadar Sun, 01 Jul 2012 13:08:12 +0200 wxgeometrie (0.133.1-1) unstable; urgency=low [ Nicolas Pourcelot ] * wxgeometrie updated to version 0.133.1 * fix incorrect desktop icon name [ Georges Khaznadar ] * reviewed the package -- Georges Khaznadar Thu, 12 Jan 2012 12:31:13 +0100 wxgeometrie (0.133-3) unstable; urgency=low * changed the desktop icon -- Georges Khaznadar Mon, 02 Jan 2012 18:29:23 +0100 wxgeometrie (0.133-2) unstable; urgency=low * added files for mime's type management and for the desktop -- Georges Khaznadar Sun, 25 Dec 2011 20:14:57 +0100 wxgeometrie (0.133-1) unstable; urgency=low [ Nicolas Pourcelot ] * wxgeometrie updated to version 0.133 * additional fix for setup.py to install modules correctly [ Georges Khaznadar ] * polished a few details: changed the version number to make a non-native package, restored the shell script wxgeom, which still had its manpage in the debian/ directory. [ Nicolas Pourcelot ] * further fixes for setup.py [ Georges Khaznadar ] * cleaned a file pubkey.txt which was not useful -- Georges Khaznadar Wed, 21 Dec 2011 20:12:24 +0100 wxgeometrie (0.1.0+git20111014-4) unstable; urgency=low * modified setup.py to install modules correctly * first publication. Closes:#649260 * added a versioned dependency on python-sympy -- Georges Khaznadar Sat, 19 Nov 2011 15:18:06 +0100 wxgeometrie (0.1.0+git20111014-3) unstable; urgency=low * added dependencies: python-matplotlib, python-wxgtk2.8 -- Georges Khaznadar Mon, 17 Oct 2011 07:49:56 +0200 wxgeometrie (0.1.0+git20111014-2) unstable; urgency=low * updated debian/copyright about decorator.py, the removal of sympy derivatives, and the images. -- Georges Khaznadar Fri, 14 Oct 2011 17:18:03 +0200 wxgeometrie (0.1.0+git20111014-1) unstable; urgency=low * upgraded to the new upstream version -- Georges Khaznadar Fri, 14 Oct 2011 15:20:27 +0200 wxgeometrie (0.1.0+git20110916-1) unstable; urgency=low * upgraded to the new upstream version -- Georges Khaznadar Fri, 16 Sep 2011 10:28:27 +0200 wxgeometrie (0.1.0+git20110720-1) unstable; urgency=low * added a "requires python >=2.6" * added a minimal manpage and a menu file -- Georges Khaznadar Wed, 20 Jul 2011 19:22:55 +0200 debian/rules0000755000000000000000000000247311701074230010247 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 PACKAGE = wxgeometrie %: dh $@ --with python2 override_dh_clean: rm -rf build session/* log/* preferences/* find . -name "*.pyc" -o -name "*~" | xargs rm -f rm -rf wxgeometrie/sympy/* rm -f wxgeometrie/doc/license.txt # dh_clean override_dh_auto_build: python setup.py build override_dh_auto_install: python setup.py install --root $(CURDIR)/debian/$(PACKAGE) install -d $(CURDIR)/debian/$(PACKAGE)/usr/bin install -m 755 wxgeom $(CURDIR)/debian/$(PACKAGE)/usr/bin install -d $(CURDIR)/debian/$(PACKAGE)/usr/share/applications install -m 644 wxgeometrie.desktop \ $(CURDIR)/debian/$(PACKAGE)/usr/share/applications install -d $(CURDIR)/debian/$(PACKAGE)/usr/share/icons install -m 644 ./wxgeometrie/images/archives/wxgeometrie-icone-small-no-background-2.svg \ $(CURDIR)/debian/$(PACKAGE)/usr/share/icons/wxgeometrie.svg override_dh_compress: dh_compress -X.xhtml debian/wxgeometrie.mime0000644000000000000000000000012311675671444012411 0ustar application/x-wxgeometrie-geo; wxgeom %s application/x-wxgeometrie-geoz; wxgeom %s