--- graphthing-1.3.2.orig/debian/rules +++ graphthing-1.3.2/debian/rules @@ -0,0 +1,24 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/patchsys-quilt.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +# Don't strip, dh_strip will do The Right Thing. +DEB_MAKE_ENVVARS = STRIP="" + + +# dh_install doesn't allow renaming logo.xpm into graphthing.xpm so we cp/rm it + +clean:: + rm -f graphthing.xpm + rm -f config.log config.status + +build/graphthing:: + cp src/logo.xpm graphthing.xpm + + +# run dh_desktop after the appropriate file has been installed + +binary-post-install/graphthing:: + dh_desktop -pgraphthing --- graphthing-1.3.2.orig/debian/docs +++ graphthing-1.3.2/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- graphthing-1.3.2.orig/debian/watch +++ graphthing-1.3.2/debian/watch @@ -0,0 +1,3 @@ +version=3 + +http://graph.seul.org/graphthing-([\d\.]+)\.tar\.gz --- graphthing-1.3.2.orig/debian/menu +++ graphthing-1.3.2/debian/menu @@ -0,0 +1,5 @@ +?package(graphthing):needs="X11" section="Applications/Science/Mathematics"\ + title="GraphThing" command="/usr/bin/graphthing"\ + icon="/usr/share/pixmaps/graphthing.xpm"\ + hints="Graphs theory"\ + longtitle="Create, manipulate and study graphs." --- graphthing-1.3.2.orig/debian/copyright +++ graphthing-1.3.2/debian/copyright @@ -0,0 +1,38 @@ +This package was debianized by Cyril Brulebois +on Tue, 25 Oct 2005 03:22:06 +0200. + +It was downloaded from http://graph.seul.org/ + +Upstream author: David Symonds + +License: + + 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 package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL'. + + +Note on source files: + + The copyright statements are missing in each source file, which has been + reported upstream. The COPYING file applies to all of them anyway, they are + all GPL-licensed. + + +The Debian packaging is: + (C) 2006, Cyril Brulebois + +and is licensed under the GPL, see above. --- graphthing-1.3.2.orig/debian/compat +++ graphthing-1.3.2/debian/compat @@ -0,0 +1 @@ +5 --- graphthing-1.3.2.orig/debian/graphthing.desktop +++ graphthing-1.3.2/debian/graphthing.desktop @@ -0,0 +1,15 @@ +[Desktop Entry] +Version=1.0 +Terminal=false +Icon=graphthing +Exec=graphthing +Name=GraphThing +GenericName=Graph analysis +GenericName[en]=Graph analysis +GenericName[fr]=Analyse de graphes +Comment=Create, manipulate and study graphs. +Comment[en]=Create, manipulate and study graphs. +Comment[fr]=Création, manipulation et étude de graphes. +Type=Application +Categories=Math;Science;Education; + --- graphthing-1.3.2.orig/debian/control +++ graphthing-1.3.2/debian/control @@ -0,0 +1,32 @@ +Source: graphthing +Section: math +Priority: optional +Maintainer: Cyril Brulebois +Build-Depends: debhelper (>= 5), cdbs, patchutils, flex, bison, libwxgtk2.6-dev, quilt +Standards-Version: 3.8.4 +Vcs-Git: git://git.debian.org/git/collab-maint/graphthing.git +Vcs-Browser: http://git.debian.org/?p=collab-maint/graphthing.git +Homepage: http://graph.seul.org/ + +Package: graphthing +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: tool to create, manipulate and study graphs + Some of the features of GraphThing are: + . + * Adding, deleting and moving of vertices and edges. + * Loading and saving of graphs. + * Graph complements, induced subgraphs and line graphs. + * Quick creation of many common graphs (complete, cycle, null, star, etc.). + * Determination of shortest path, connectivity and Eulericity. + * BFS, DFS and Minimum Spanning Tree. + * Adjacency matrix (including exponents) and degree sequence. + * Chromatic polynomial and chromatic number. + * Network algorithms: Maximum network flow. + . + These `graphs' are mathematical objects that describe relationships between + sets; they are not 2D plots, charts, or anything similar to that. + . + At the moment, only simple graphs and digraphs are supported; that is, + no multiple edges or loops. Other than this, GraphThing can handle + every type of graph. --- graphthing-1.3.2.orig/debian/install +++ graphthing-1.3.2/debian/install @@ -0,0 +1,2 @@ +graphthing.xpm usr/share/pixmaps +debian/graphthing.desktop usr/share/applications --- graphthing-1.3.2.orig/debian/changelog +++ graphthing-1.3.2/debian/changelog @@ -0,0 +1,103 @@ +graphthing (1.3.2-3) unstable; urgency=low + + * Fix desktop file encoding (Closes: #460325). + * Bump Standards-Version to 3.8.4 (no changes needed). + * Update my mail address. + + -- Cyril Brulebois Sun, 21 Feb 2010 23:13:46 +0100 + +graphthing (1.3.2-2) unstable; urgency=low + + * Menu transition: moved section from “Apps/Math” to + “Applications/Science/Mathematics”. + * Switch to quilt: + - debian/control: Added a B-D on quilt. + - debian/rules: Switched from simple-patchsys.mk to patchsys-quilt.mk. + - debian/patches: 10_GNUmakefile.in_DESTDIR.patch renamed to + Makefile_DESTDIR_addition, and refreshed (offset: 1). + - debian/patches/series: Added. + * Added “nostrip” option handling (Closes: #437082): + - Added debian/patches/Makefile_STRIP_addition, which adds a STRIP + variable to src/GNUmakefile.in, defaulting to “-s”. + - Added “DEB_MAKE_ENVVARS = STRIP=""” to debian/rules, so that the + binary isn't stripped by default, letting dh_strip do the job. + * Removed unneeded (and deprecated) “Encoding=UTF-8” from the desktop + file, thanks to lintian. + * Added Vcs-(Git|Browser) fields. + * Moved the Homepage from the description to a source field. + + -- Cyril Brulebois Fri, 02 Nov 2007 19:33:50 +0100 + +graphthing (1.3.2-1) unstable; urgency=low + + * New upstream release: + - New Chinese (Simplified) translation thanks to Guo Yixuan + + - Fixed missing ``prefix = @prefix@'' line in GNUmakefile.in + [ Thus adjusting 10_GNUmakefile.in_DESTDIR ] + - Fixed script extension (sh VS pl) + [ Thus deleting the 20_GNUmakefile_shellscript_extension patch ] + * Adjusted homepage folding in the long description. + * Improved copyright file: + - Fixed GPL notice; + - Added Debian packaging license. + + -- Cyril Brulebois Tue, 26 Dec 2006 22:58:46 +0100 + +graphthing (1.3.1-2) unstable; urgency=low + + * Thanks to Charles Plessy : + - Added a FreeDesktop menu. + - Added an icon for the Debian and FreeDesktop menus. + - Bumped debhelper compatibility from 4 to 5 (no change needed). + * Thanks to Enrico Zini : (Closes: #390621) + - Updated description so that it really says what graphthing does. + * Added the removal of config.{log,status} in the clean target. + * Removed useless DEB_INSTALL_DIRS_ALL setting in 'debian/rules'. + * Added watch file. + + -- Cyril Brulebois Sun, 19 Nov 2006 07:55:01 +0000 + +graphthing (1.3.1-1) unstable; urgency=low + + * Initial release (Closes: #388176). + * New upstream release: + - Should fix FTBFS on 64 bits arch. + * Now use simple-patchsys.mk to handle source patching: + - 10_GNUmakefile.in_DESTDIR: Add $(DESTDIR) where needed; + - 20_GNUmakefile_shellscript_extension: Fix s/.sh/.pl/ typo. + * Fix Build-Depends: add flex, bison, libwxgtk2.6-dev. + * Add a note about missing copyright statements in source files. + + -- Cyril Brulebois Tue, 19 Sep 2006 12:55:34 +0000 + +graphthing (1.3-1) UNRELEASED; urgency=low + + * New upstream release: + - Fixed up loading graphs from the command-line + - Adjacency matrix reflects edge weights + - New icons (thanks to Christian Brown) + + -- Cyril Brulebois Thu, 7 Sep 2006 02:38:20 +0000 + +graphthing (1.2.1-1) UNRELEASED; urgency=low + + * New upstream (bug-fix) release. + * Exclusively solves some problems writing vertex labels to files. + + -- Cyril Brulebois Mon, 14 Nov 2005 02:53:47 +0100 + +graphthing (1.2-1) UNRELEASED; urgency=low + + * New upstream (mainly bug-fix) release. + * Better Unicode and non-Unicode support. + * Added and improved translations. + + -- Cyril Brulebois Fri, 28 Oct 2005 08:59:22 +0200 + +graphthing (1.1+svn+1.2-1) UNRELEASED; urgency=low + + * Initial release + + -- Cyril Brulebois Tue, 25 Oct 2005 03:22:06 +0200 + --- graphthing-1.3.2.orig/debian/patches/Makefile_STRIP_addition +++ graphthing-1.3.2/debian/patches/Makefile_STRIP_addition @@ -0,0 +1,21 @@ +Index: graphthing-1.3.2/src/GNUmakefile.in +=================================================================== +--- graphthing-1.3.2.orig/src/GNUmakefile.in 2007-08-28 05:41:11.000000000 +0000 ++++ graphthing-1.3.2/src/GNUmakefile.in 2007-08-28 05:41:57.000000000 +0000 +@@ -12,6 +12,7 @@ + @WX_CXXFLAGS@ + LDFLAGS = @LDFLAGS@ @EXTRA_LDFLAGS@ + INSTALL = @INSTALL@ ++STRIP ?= -s + + LIBS = @LIBS@ @WX_LIBS@ + #LIBS = @LIBS@ @WX_LIBS@ -lefence +@@ -38,7 +39,7 @@ + + install: + @INSTALL@ -d $(DESTDIR)@prefix@/bin/ +- @INSTALL@ -s -m 755 $(PROGNAME) $(DESTDIR)@prefix@/bin/ ++ @INSTALL@ $(STRIP) -m 755 $(PROGNAME) $(DESTDIR)@prefix@/bin/ + + clean: + rm -f $(ALL_OBJS) unit_test.o chrom.o --- graphthing-1.3.2.orig/debian/patches/Makefile_DESTDIR_addition +++ graphthing-1.3.2/debian/patches/Makefile_DESTDIR_addition @@ -0,0 +1,26 @@ +--- graphthing-1.3.2.orig/src/GNUmakefile.in 2007-08-28 05:42:58.000000000 +0000 ++++ graphthing-1.3.2/src/GNUmakefile.in 2007-08-28 05:43:50.000000000 +0000 +@@ -37,8 +37,8 @@ + all: $(PROGNAME) $(addsuffix @EXEEXT@,@EXTRA_PROGS@) + + install: +- @INSTALL@ -d @prefix@/bin/ +- @INSTALL@ -s -m 755 $(PROGNAME) @prefix@/bin/ ++ @INSTALL@ -d $(DESTDIR)@prefix@/bin/ ++ @INSTALL@ -s -m 755 $(PROGNAME) $(DESTDIR)@prefix@/bin/ + + clean: + rm -f $(ALL_OBJS) unit_test.o chrom.o +--- graphthing-1.3.2.orig/GNUmakefile.in 2007-08-28 05:42:58.000000000 +0000 ++++ graphthing-1.3.2/GNUmakefile.in 2007-08-28 05:43:38.000000000 +0000 +@@ -33,8 +33,8 @@ + for subdir in $$dlist ; do \ + (cd $$subdir && $(MAKE) install) ; \ + done +- @INSTALL@ -d @mandir@/man1/ +- @INSTALL@ -c -m 644 graphthing.1 @mandir@/man1/ ++ @INSTALL@ -d $(DESTDIR)@mandir@/man1/ ++ @INSTALL@ -c -m 644 graphthing.1 $(DESTDIR)@mandir@/man1/ + @echo "---------------------------------------------------" + @echo " GraphThing is now installed. It can be executed" + @echo " by running:" --- graphthing-1.3.2.orig/debian/patches/series +++ graphthing-1.3.2/debian/patches/series @@ -0,0 +1,2 @@ +Makefile_DESTDIR_addition +Makefile_STRIP_addition