--- graphthing-1.3.2.orig/debian/patches/10_GNUmakefile.in_DESTDIR.patch +++ graphthing-1.3.2/debian/patches/10_GNUmakefile.in_DESTDIR.patch @@ -0,0 +1,26 @@ +--- graphthing-1.3.1~/src/GNUmakefile.in 2006-09-19 13:07:00.892559232 +0000 ++++ graphthing-1.3.1/src/GNUmakefile.in 2006-09-19 13:08:13.438530568 +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.1~/GNUmakefile.in 2006-09-19 13:54:12.346112864 +0000 ++++ graphthing-1.3.1/GNUmakefile.in 2006-09-19 13:53:02.465736296 +0000 +@@ -32,8 +32,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/menu +++ graphthing-1.3.2/debian/menu @@ -0,0 +1,5 @@ +?package(graphthing):needs="X11" section="Apps/Math"\ + 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/control +++ graphthing-1.3.2/debian/control @@ -0,0 +1,31 @@ +Source: graphthing +Section: math +Priority: optional +Maintainer: Cyril Brulebois +Build-Depends: debhelper (>= 5), cdbs, patchutils, flex, bison, libwxgtk2.6-dev +Standards-Version: 3.7.2 + +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. + . + Homepage: http://graph.seul.org/ --- graphthing-1.3.2.orig/debian/changelog +++ graphthing-1.3.2/debian/changelog @@ -0,0 +1,73 @@ +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/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/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/docs +++ graphthing-1.3.2/debian/docs @@ -0,0 +1,2 @@ +README +TODO --- graphthing-1.3.2.orig/debian/graphthing.desktop +++ graphthing-1.3.2/debian/graphthing.desktop @@ -0,0 +1,16 @@ +[Desktop Entry] +Version=1.0 +Encoding=UTF-8 +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/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/rules +++ graphthing-1.3.2/debian/rules @@ -0,0 +1,21 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + + +# 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