debian/ 0000755 0000000 0000000 00000000000 12230702401 007155 5 ustar debian/gplanarity.sgml 0000644 0000000 0000000 00000007725 11572265076 012252 0 ustar 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/ 0000755 0000000 0000000 00000000000 12161544077 010624 5 ustar debian/patches/makefile.patch 0000644 0000000 0000000 00000001021 11572265076 013420 0 ustar 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.patch 0000644 0000000 0000000 00000001711 11757647216 014012 0 ustar 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.patch 0000644 0000000 0000000 00000001540 12161544077 015444 0 ustar 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/series 0000644 0000000 0000000 00000000103 11756746222 012040 0 ustar nls.patch
makefile.patch
fix_makefile_flags.patch
fontconfig.patch
debian/patches/nls.patch 0000644 0000000 0000000 00000000630 11572265076 012444 0 ustar 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.manpages 0000644 0000000 0000000 00000000015 11572265076 013064 0 ustar gplanarity.6
debian/compat 0000644 0000000 0000000 00000000002 11733371705 010373 0 ustar 9
debian/gplanarity.desktop 0000644 0000000 0000000 00000000303 11572265076 012742 0 ustar [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/menu 0000644 0000000 0000000 00000000244 12230701423 010047 0 ustar ?package(gplanarity):needs="X11" \
section="Games/Puzzles"\
title="gplanarity" \
command="/usr/games/gplanarity" \
icon="/usr/share/pixmaps/gplanarity.xpm"
debian/gplanarity.install 0000644 0000000 0000000 00000000155 12230676677 012751 0 ustar debian/gplanarity.desktop usr/share/applications
gPicon.png usr/share/icons
gplanarity.xpm usr/share/pixmaps
debian/rules 0000755 0000000 0000000 00000002735 12230677121 010256 0 ustar #!/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/clean 0000644 0000000 0000000 00000000047 12230676663 010207 0 ustar gplanarity.6
gplanarity
gplanarity.xpm
debian/copyright 0000644 0000000 0000000 00000002255 11572265076 011140 0 ustar 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/ 0000755 0000000 0000000 00000000000 11572265076 010501 5 ustar debian/source/format 0000644 0000000 0000000 00000000014 11572265076 011707 0 ustar 3.0 (quilt)
debian/control 0000644 0000000 0000000 00000002442 12230676546 010606 0 ustar 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/changelog 0000644 0000000 0000000 00000007500 12230701715 011040 0 ustar 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