debian/0000755000000000000000000000000012230702401007155 5ustar debian/gplanarity.sgml0000644000000000000000000000772511572265076012252 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. 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 docbook-to-man in your Build-Depends control field. --> Franz"> Pletz"> June 2, 2006"> 6"> fpletz@franz-pletz.org"> GPLANARITY"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2006 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; simple puzzle game involving untangling planar graphs &dhpackage; DESCRIPTION This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhpackage; is a simple puzzle game involving untangling planar graphs for fun and prizes. If you tend to get addicted to cute little math puzzles, this one is a doozy. It is a super-clone of the flash Planarity game written by John Tantalo. The original Planarity ran well in IE and Firefox on other platforms, but was slow and liked to lock up or abort under Linux browsers. &dhpackage; implements gameplay identical to the original Planarity but adds some UI and game extras around the basic game such as multiple board generation algorithms, puzzle boards, complete backing state, group select/drag and so on. OPTIONS This program does not take any command line options. AUTHOR This manual page was written by &dhusername; &dhemail; for the &debian; system (but 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 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.
debian/patches/0000755000000000000000000000000012161544077010624 5ustar debian/patches/makefile.patch0000644000000000000000000000102111572265076013420 0ustar Description: Fix install directories Author: Vincent Legout Index: gplanarity/Makefile =================================================================== --- gplanarity.orig/Makefile 2010-06-15 14:56:26.065300002 +0200 +++ gplanarity/Makefile 2010-06-15 15:00:00.389300000 +0200 @@ -6,8 +6,8 @@ CC = gcc LD = gcc export INSTALL = install -PREFIX = /usr/local -BINDIR = $(PREFIX)/bin +PREFIX = $(DESTDIR)/usr +BINDIR = $(PREFIX)/games ETCDIR = /etc/$(TARGET) MANDIR = $(PREFIX)/man debian/patches/fontconfig.patch0000644000000000000000000000171111757647216014012 0ustar Description: Fix crash with current fontconfig fontconfig no longer allows the last parameter of FcFontMatch to be zero, an assert has been added to prevent this. Author: Vincent Legout Last-Update: 2012-05-25 Bug-Debian: http://bugs.debian.org/673968 Index: gplanarity/main.c =================================================================== --- gplanarity.orig/main.c 2012-05-22 19:28:21.000000000 +0200 +++ gplanarity/main.c 2012-05-22 19:40:41.267366470 +0200 @@ -124,6 +124,7 @@ char *fontface; FcPattern *fc_pattern; FcBool scalable; + FcResult res; fc_pattern = FcNameParse((unsigned char *)list); @@ -140,7 +141,7 @@ // fill in missing defaults FcDefaultSubstitute(fc_pattern); // find a font face on our list if possible - fc_pattern = FcFontMatch(0, fc_pattern, 0); + fc_pattern = FcFontMatch(0, fc_pattern, &res); if(!fc_pattern){ fprintf(stderr,_("\nUnable to find any suitable %s fonts!\n" debian/patches/fix_makefile_flags.patch0000644000000000000000000000154012161544077015444 0ustar Description: Correctly set CFLAGS an LDFLAGS Author: Vincent Legout Last-Update: 2012-03-24 Index: gplanarity/Makefile =================================================================== --- gplanarity.orig/Makefile 2013-06-22 17:26:00.487059272 +0200 +++ gplanarity/Makefile 2013-06-22 17:26:38.559059372 +0200 @@ -57,7 +57,7 @@ all-local: pkg-config --cflags "gtk+-2.0 $(GTKVER) cairo $(CAIROVER) freetype2" 1>/dev/null - $(MAKE) target CFLAGS='-O2 -ffast-math $(GCF) $(ADD_DEF)' + $(MAKE) target CFLAGS='$(CFLAGS) -ffast-math $(GCF) $(ADD_DEF)' all-recursive: for D in $(SUBDIRS); do make -C $$D || exit 1; done @@ -91,7 +91,7 @@ target: $(OBJ) ./touch-version - $(LD) $(OBJ) $(CFLAGS) -o $(TARGET) $(LIBS) $(LDF) + $(LD) $(OBJ) $(LDFLAGS) -o $(TARGET) $(LIBS) $(LDF) -lm install: install-local install-recursive debian/patches/series0000644000000000000000000000010311756746222012040 0ustar nls.patch makefile.patch fix_makefile_flags.patch fontconfig.patch debian/patches/nls.patch0000644000000000000000000000063011572265076012444 0ustar Description: Fix FTBFS, gettext.h does not exist Author: Vincent Legout Index: gplanarity/nls.h =================================================================== --- gplanarity.orig/nls.h 2010-06-10 17:29:04.795622001 +0200 +++ gplanarity/nls.h 2010-06-10 17:29:07.727622001 +0200 @@ -1,5 +1,4 @@ #ifdef ENABLE_NLS -#include "gettext.h" #include #include debian/gplanarity.manpages0000644000000000000000000000001511572265076013064 0ustar gplanarity.6 debian/compat0000644000000000000000000000000211733371705010373 0ustar 9 debian/gplanarity.desktop0000644000000000000000000000030311572265076012742 0ustar [Desktop Entry] Version=1.0 Name=gPlanarity Comment=Puzzle game involving untangling planar graphs Exec=gplanarity Icon=gPicon Terminal=false Type=Application Categories=Game; StartupNotify=true debian/menu0000644000000000000000000000024412230701423010047 0ustar ?package(gplanarity):needs="X11" \ section="Games/Puzzles"\ title="gplanarity" \ command="/usr/games/gplanarity" \ icon="/usr/share/pixmaps/gplanarity.xpm" debian/gplanarity.install0000644000000000000000000000015512230676677012751 0ustar debian/gplanarity.desktop usr/share/applications gPicon.png usr/share/icons gplanarity.xpm usr/share/pixmaps debian/rules0000755000000000000000000000273512230677121010256 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_auto_configure: [ -e version.h.orig ] || cp -p version.h version.h.orig [ -e po/ca.po.orig ] || cp -p po/ca.po po/ca.po.orig [ -e po/cs.po.orig ] || cp -p po/cs.po po/cs.po.orig [ -e po/de.po.orig ] || cp -p po/de.po po/de.po.orig [ -e po/es_ES.po.orig ] || cp -p po/es_ES.po po/es_ES.po.orig [ -e po/fr_FR.po.orig ] || cp -p po/fr_FR.po po/fr_FR.po.orig [ -e po/gPlanarity.pot.orig ] || cp -p po/gPlanarity.pot \ po/gPlanarity.pot.orig docbook-to-man debian/gplanarity.sgml > gplanarity.6 convert -monitor -resize 32x32 gPicon.png gplanarity.xpm dh_auto_configure override_dh_auto_install: dh_auto_install mv $(CURDIR)/debian/gplanarity/usr/games/gPlanarity \ $(CURDIR)/debian/gplanarity/usr/games/gplanarity override_dh_auto_clean: dh_auto_clean [ ! -e version.h.orig ] || mv version.h.orig version.h [ ! -e po/ca.po.orig ] || mv po/ca.po.orig po/ca.po [ ! -e po/cs.po.orig ] || mv po/cs.po.orig po/cs.po [ ! -e po/de.po.orig ] || mv po/de.po.orig po/de.po [ ! -e po/es_ES.po.orig ] || mv po/es_ES.po.orig po/es_ES.po [ ! -e po/fr_FR.po.orig ] || mv po/fr_FR.po.orig po/fr_FR.po [ ! -e po/gPlanarity.pot.orig ] || mv po/gPlanarity.pot.orig \ po/gPlanarity.pot version=17906 get-orig-source: svn export -r $(version) http://svn.xiph.org/trunk/planarity/ gplanarity-$(version) tar czf gplanarity_$(version).orig.tar.gz gplanarity-$(version) rm -rf gplanarity-$(version) debian/clean0000644000000000000000000000004712230676663010207 0ustar gplanarity.6 gplanarity gplanarity.xpm debian/copyright0000644000000000000000000000225511572265076011140 0ustar This package was debianized by Franz Pletz on Fri, 2 Jun 2006 12:26:26 +0200. It was downloaded from http://web.mit.edu/xiphmont/Public/gPlanarity.html Copyright Holder: 2005 Monty License: gPlanarity 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, or (at your option) any later version. gPlanarity 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 Postfish; see the file COPYING. 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, version 2, can be found in /usr/share/common-licenses/GPL-2. The Debian packaging is Copyright (C) 2006, Franz Pletz and is licensed under the GPL, see above. debian/source/0000755000000000000000000000000011572265076010501 5ustar debian/source/format0000644000000000000000000000001411572265076011707 0ustar 3.0 (quilt) debian/control0000644000000000000000000000244212230676546010606 0ustar Source: gplanarity Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Vincent Legout Build-Depends: debhelper (>= 9), libgtk2.0-dev, libcairo2-dev, libfreetype6-dev, docbook-to-man, libtiff-dev, libjasper-dev, imagemagick Standards-Version: 3.9.4 Homepage: http://web.mit.edu/xiphmont/Public/gPlanarity.html Vcs-Git: git://anonscm.debian.org/pkg-games/gplanarity.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-games/gplanarity.git Package: gplanarity Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: simple puzzle game involving untangling planar graphs gPlanarity is a puzzle game with the goal to untangle planar graphs for fun and prizes. If you tend to get addicted to cute little math puzzles, this one is a doozy. . gPlanarity is a super-clone of the flash Planarity game written by John Tantalo. The original Planarity ran well in IE and Firefox on other platforms, but was slow and liked to lock up or abort under Linux browsers. . gPlanarity implements gameplay identical to the original Planarity but adds some UI and game extras around the basic game such as multiple board generation algorithms, puzzle boards, complete backing state, group select/drag and so on. debian/changelog0000644000000000000000000000750012230701715011040 0ustar gplanarity (17906-5) unstable; urgency=low * Add icon in menu file (Closes: #726359) - Build-Depends on imagemagick to generate the xpm file -- Vincent Legout Sun, 20 Oct 2013 08:48:07 +0200 gplanarity (17906-4) unstable; urgency=low * debian/patches/fix_makefile_flags.patch: Updated, pass -lm to fix FTBFS (Closes: #713486) * debian/control: - Use canonical URI in VCS fields - Standards-Version 3.9.4 (No changes needed) -- Vincent Legout Sun, 23 Jun 2013 11:17:35 +0200 gplanarity (17906-3) unstable; urgency=low * debian/patches/fontconfig.patch: Fix crash with current fontconfig (Closes: #673968) -- Vincent Legout Fri, 25 May 2012 11:09:57 +0200 gplanarity (17906-2) unstable; urgency=low * Update my email address * Remove the DM-Upload-Allowed field * debian/rules: Enable all hardening flags * Use debhelper 9 (debian/compat, debhelper Build-Depends) * fix_makefile_flags.patch: Added, fix how CFLAGS and LDFLAGS and handled * Standards-Version 3.9.3 (No changes needed) -- Vincent Legout Sat, 24 Mar 2012 18:22:05 +0100 gplanarity (17906-1) unstable; urgency=low * New upstream release - Drop fix_blank_window.patch, fixed upstream * debian/rules: - clean new po files updated during build time - get-orig-source: Use svn export instead of svn checkout * gplanarity.desktop: Value for key "Icon" should not have an extension * Add DM-Upload-Allowed: yes * Bump Standards-Version to 3.9.2 (No changes needed) -- Vincent Legout Mon, 25 Apr 2011 20:46:50 +0200 gplanarity (16723-3) unstable; urgency=low * Upload to unstable * Switch to debhelper 8 -- Vincent Legout Tue, 15 Mar 2011 19:18:25 +0100 gplanarity (16723-2) experimental; urgency=low * debian/patches/fix_blank_window.patch: Added. (Closes: #553500, LP: #428373) * Bump Standards-Version to 3.9.1 (No changes needed) * Remove debian/dirs -- Vincent Legout Sat, 04 Dec 2010 20:54:28 +0100 gplanarity (16723-1) unstable; urgency=low * New upstream release * Set Debian Games Team as Maintainer and add myself in Uploaders (Closes: #579368) * debian/control: - Add ${misc:Depends} - Update Standards-Version to 3.8.4 - Add Homepage field - Add Vcs-Git and Vcs-Browser fields * Set debhelper compatibility level to 7 * Add debian/source/format: Switch to 3.0 (quilt) format * debian/gplanarity.desktop: Remove Encoding key and update Categories (Closes: #447475) * debian/copyright: Fix copyright-with-old-dh-make-debian-copyright * debian/rules: Use dh7 - Add debian/clean and debian/gplanarity.manpages - Build-Depends on debhelper 7.0.50~ * debian/patches/nls.patch: Added, Fix FTBFS * debian/patches/makefile.patch: Added, Fix install directories -- Vincent Legout Thu, 17 Jun 2010 10:20:56 +0200 gplanarity (11496-2.2) unstable; urgency=low * Non-maintainer upload. * Add missing build dependency on libjasper-dev. Fix FTBFS. Thanks to Peter Green for the bug triage. (Closes: #521937) -- Stefano Zacchiroli Tue, 01 Sep 2009 17:24:31 +0200 gplanarity (11496-2.1) unstable; urgency=low * Non-maintainer upload. * Adding libtiff-dev to build-depends as suggested by Cédric Boutillier (Closes: #453174) -- Alexander Schmehl Thu, 21 Feb 2008 01:42:52 +0100 gplanarity (11496-2) unstable; urgency=low * Added desktop file. (Closes: #396040) * Only use debhelper commands. -- Franz Pletz Sun, 29 Jul 2007 15:00:59 +0200 gplanarity (11496-1) unstable; urgency=low * Initial release. (Closes: #369932) * Wrote manpage. -- Franz Pletz Sun, 25 Jun 2006 14:16:49 +0200