--- gnudoq-0.94.orig/debian/gnudoq.menu +++ gnudoq-0.94/debian/gnudoq.menu @@ -0,0 +1,7 @@ +?package(gnudoq):\ + needs="x11"\ + section="Games/Board"\ + title="GNUDoQ"\ + longtitle="GNUDoQ, Su Doku generator and solver."\ + icon="/usr/share/pixmaps/gnudoq-icon.xpm"\ + command="/usr/games/GNUDoQ" --- gnudoq-0.94.orig/debian/gnudoq.links +++ gnudoq-0.94/debian/gnudoq.links @@ -0,0 +1,2 @@ +usr/games/GNUDoQ usr/games/gnudoq +usr/share/man/man6/gnudoq.6.gz usr/share/man/man6/GNUDoQ.6.gz --- gnudoq-0.94.orig/debian/copyright +++ gnudoq-0.94/debian/copyright @@ -0,0 +1,31 @@ +This package was debianized by Arnaud Cornet on +Tue, 24 May 2005 11:46:12 +0200. + +I removed Windows/ and OSX/ subdirs from the tarball. Those subdirs contained +files used to build or package this software for other operating systems. + +It was downloaded from http://www.thelemmings.net/static.php?page=GNUDoQ + +Upstream Authors: + +Luc Vo Van + +Copyright: + + 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; version 2 dated June, 1991. + + 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 Street, Fifth Floor, Boston, MA + 02110-1301, USA. + +On Debian GNU/Linux systems, the complete text of the GNU General +Public License can be found in `/usr/share/common-licenses/GPL-2'. + --- gnudoq-0.94.orig/debian/gnudoq-icon.xpm +++ gnudoq-0.94/debian/gnudoq-icon.xpm @@ -0,0 +1,188 @@ +/* XPM */ +static char * gnudoq_icon_xpm[] = { +"32 32 153 2", +" c None", +". c #D0C9C1", +"+ c #CDC5BD", +"@ c #CDC6BE", +"# c #D2CCC4", +"$ c #CEC7BE", +"% c #CFC9C0", +"& c #CCC5BD", +"* c #D1CBC3", +"= c #CFC7BF", +"- c #FAF9F8", +"; c #FDFCFC", +"> c #FBFAF9", +", c #BEB5AB", +"' c #E1DCD7", +") c #E6E3DF", +"! c #BDB3A9", +"~ c #F8F6F4", +"{ c #FCFBFB", +"] c #D3CDC6", +"^ c #CFC8C0", +"/ c #FDFDFC", +"( c #FFFFFF", +"_ c #BDB4AA", +": c #E4E0DB", +"< c #FCFCFC", +"[ c #F5F5F5", +"} c #FEFEFE", +"| c #EAE7E4", +"1 c #BCB2A8", +"2 c #FCFAFA", +"3 c #FDFDFD", +"4 c #F6F6F6", +"5 c #FBFBFB", +"6 c #D4CFC8", +"7 c #E5E0DC", +"8 c #DBDBDB", +"9 c #717171", +"0 c #F3F3F3", +"a c #C5C5C5", +"b c #939393", +"c c #B8B8B8", +"d c #F9F9F9", +"e c #868686", +"f c #EFEFEF", +"g c #858585", +"h c #E3E3E3", +"i c #7E7E7E", +"j c #8E8E8E", +"k c #A3A3A3", +"l c #8A8A8A", +"m c #4C4C4C", +"n c #BDB5AA", +"o c #F1F1F1", +"p c #767676", +"q c #CBCBCB", +"r c #F8F8F8", +"s c #E3E2E1", +"t c #BFBFBF", +"u c #949494", +"v c #D4CEC8", +"w c #EBEBEB", +"x c #ACACAC", +"y c #F5F5F4", +"z c #DFDFDF", +"A c #C0C0C0", +"B c #DCDCDC", +"C c #CFC7C0", +"D c #F9F9F8", +"E c #BFB6AC", +"F c #E0DCD7", +"G c #E3E1DD", +"H c #BDB4A9", +"I c #F7F7F6", +"J c #D2CCC6", +"K c #BCB3A8", +"L c #BAB1A6", +"M c #DCD7D0", +"N c #C8C1B8", +"O c #C9C2B8", +"P c #E3DEDA", +"Q c #DFDBD6", +"R c #CAC2BA", +"S c #D5CFC8", +"T c #D7D2CB", +"U c #C9C1B8", +"V c #DED9D3", +"W c #E1DDD8", +"X c #D0CAC2", +"Y c #E4DFDB", +"Z c #ECECEC", +"` c #F7F7F7", +" . c #A4A4A4", +".. c #9C9C9C", +"+. c #D6D6D6", +"@. c #5E5E5E", +"#. c #8D8D8D", +"$. c #CFCFCF", +"%. c #999999", +"&. c #A6A6A6", +"*. c #E5E2DE", +"=. c #E9E6E2", +"-. c #E3E0DC", +";. c #D7D2CC", +">. c #D9D5D0", +",. c #C8C0B7", +"'. c #E2DFDA", +"). c #D2CBC3", +"!. c #B9AFA4", +"~. c #C7C0B6", +"{. c #CEC6BE", +"]. c #F7F6F4", +"^. c #F7F5F4", +"/. c #DFDAD4", +"(. c #E3DFDA", +"_. c #F3F1EF", +":. c #F9F7F6", +"<. c #D2CCC5", +"[. c #C4C4C3", +"}. c #BABABA", +"|. c #DBDBDA", +"1. c #BDBDBD", +"2. c #E1E0DF", +"3. c #797979", +"4. c #B9B9B9", +"5. c #929292", +"6. c #7B7B7B", +"7. c #C6C6C6", +"8. c #E8E8E8", +"9. c #7C7C7C", +"0. c #848484", +"a. c #AEAEAE", +"b. c #888888", +"c. c #B0B0B0", +"d. c #C7C7C7", +"e. c #8C8C8C", +"f. c #F8F7F6", +"g. c #9B9B9B", +"h. c #9A9A99", +"i. c #909090", +"j. c #FBFBFA", +"k. c #B1B1B1", +"l. c #969696", +"m. c #CDCDCD", +"n. c #F9F8F8", +"o. c #E2DED9", +"p. c #E7E4E0", +"q. c #F9F8F7", +"r. c #D3CDC7", +"s. c #D1CBC4", +"t. c #D1CCC5", +"u. c #D0CAC3", +"v. c #D1CCC4", +". + @ @ @ @ @ @ @ @ # $ @ @ @ @ @ @ @ @ % # & @ @ @ @ @ @ @ @ * ", +"= - ; ; ; ; ; ; ; > , ' ; ; ; ; ; ; ; ; ) ! ~ ; ; ; ; ; ; ; { ] ", +"^ / ( ( ( ( ( ( ( ( _ : ( ( < [ } ( ( ( | 1 2 ( ( 3 4 5 ( ( ( 6 ", +"^ / ( ( ( ( ( ( ( ( _ 7 ( ( 8 9 0 ( ( ( | 1 2 ( ( a b c ( ( ( 6 ", +"^ / ( ( ( ( ( ( ( ( _ 7 ( ( d e f ( ( ( | 1 2 ( < g h i ( ( ( 6 ", +"^ / ( ( ( ( ( ( ( ( _ : ( ( ( j f ( ( ( | 1 2 ( } k l m ( ( ( 6 ", +"^ / ( ( ( ( ( ( ( ( n : ( ( o p q r ( ( | 1 > ( ( s t u ( ( ( v ", +"^ / ( ( ( ( ( ( ( ( n 7 ( ( w x a y ( ( | 1 > ( ( z A B ( ( ( v ", +"^ / ( ( ( ( ( ( ( ( n 7 ( ( ( ( ( ( ( ( | 1 > ( ( ( ( ( ( ( ( v ", +"C > ( ( ( ( ( ( ( D E F ( ( ( ( ( ( ( ( G H I ( ( ( ( ( ( ( < J ", +"# K L L L L L L L _ M N L L L L L L L L O M _ L L L L L L L K # ", +"$ F P P P P P P P Q R S P P P P P P P P T U V P P P P P P P W X ", +"^ / ( ( ( ( ( ( ( ( _ Y ( ( ( ( ( ( ( ( | 1 2 ( ( ( ( ( ( ( ( 6 ", +"^ / ( ( d Z ` ( ( ( _ : ( ( ( ( ( ( ( ( | 1 2 ( ( ( ( ( ( ( ( 6 ", +"^ / ( ( ...+.( ( ( _ 7 ( ( ( ( ( ( ( ( | 1 > ( ( ( ( ( ( ( ( 6 ", +"^ / ( ( @.#.$.( ( ( _ 7 ( ( ( ( ( ( ( ( | 1 > ( ( ( ( ( ( ( ( 6 ", +"^ / ( ( i z l ( ( ( _ Y ( ( ( ( ( ( ( ( | 1 2 ( ( ( ( ( ( ( ( 6 ", +"^ / ( ( %.b &.( ( ( n : ( ( ( ( ( ( ( ( | 1 > ( ( ( ( ( ( ( ( 6 ", +"^ / ( ( ` Z 5 ( ( } _ 7 ( ( ( ( ( ( ( ( | 1 > ( ( ( ( ( ( ( ( 6 ", +"^ / ( ( ( ( ( ( ( } , 7 ( ( ( ( ( ( ( ( | 1 2 ( ( ( ( ( ( ( ( 6 ", +". *.=.=.=.=.=.=.=.-.R ;.=.=.=.=.=.=.=.=.>.,.'.=.=.=.=.=.=.=.) # ", +").L !.!.!.!.!.!.!.K M ~.!.!.!.!.!.!.!.!.,.M K !.!.!.!.!.!.!.L ).", +"{.].> > > > > > > ^.E /.> > > > > > > > (.H _.> > > > > > > :.<.", +"^ / ( ( ( ( ( ( ( ( n 7 ( ( ( ( ( ( ( ( | 1 > ( ( ( ( ( ( ( ( 6 ", +"^ / ( ( [.}.|.( ( ( n 7 ( ( ( ( ( ( ( ( | 1 2 ( ( t 1.2.( ( ( 6 ", +"^ / ( ( 3.4.5.( ( ( n : ( ( ( ( ( ( ( ( | 1 2 ( ( 6.7.8.( ( ( 6 ", +"^ / ( } 9.0.&.( ( ( _ : ( ( ( ( ( ( ( ( | 1 > ( ( a.b.c.( ( ( 6 ", +"^ ; ( r 6.d.e.( ( ( n 7 ( ( ( ( ( ( ( ( | 1 > ( } f.+.g.( ( ( 6 ", +"^ ; ( ( h.i.a ( ( ( _ Y ( ( ( ( ( ( ( ( | 1 j.( 4 k.l.m.( ( ( v ", +"^ / ( ( n.[ 3 ( ( ( _ : ( ( ( ( ( ( ( ( | 1 > ( } r 4 3 ( ( ( v ", +"^ { ( ( ( ( ( ( ( < , o.( ( ( ( ( ( ( ( p.! q.( ( ( ( ( ( ( 3 r.", +"* s.<.<.<.<.<.<.<.t.# X <.<.<.<.<.<.<.<.s.# u.<.<.<.<.<.<.<.v.# "}; --- gnudoq-0.94.orig/debian/watch +++ gnudoq-0.94/debian/watch @@ -0,0 +1,2 @@ +version=3 +opts=dversionmangle=s/\.dfsg\.\d+$// http://www.thelemmings.net/static.php?page=GNUDoQ .*/GNUDoQ-(.*)\.tar\.bz2 --- gnudoq-0.94.orig/debian/control +++ gnudoq-0.94/debian/control @@ -0,0 +1,18 @@ +Source: gnudoq +Section: games +Priority: optional +Maintainer: Arnaud Cornet +Standards-Version: 3.7.3 +Build-Depends: cdbs, libqt4-dev, qt4-dev-tools, g++ (>= 4.0.2-2), debhelper (>= 5.0.37), quilt +Homepage: http://www.thelemmings.net/static.php?page=GNUDoQ + +Package: gnudoq +Architecture: any +Section: games +Depends: ${shlibs:Depends} +Description: An open source, graphical Su Doku generator and solver with printer support + GNUDoQ is an open source, graphical Su Doku generator and solver that features + a powerful Su Doku generator, a Su Doku solver a Puzzle printouts or PDF + exports. + This program is based on the excellent work of the GNUDoku team, which + developed the Su Doku engine behind GNUDoQ. --- gnudoq-0.94.orig/debian/gnudoq.desktop +++ gnudoq-0.94/debian/gnudoq.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Encoding=UTF-8 +Name=GNUDoQ +GenericName=Board Game +Type=Application +Categories=Application;Game;BoardGame; +Terminal=0 +Exec=gnudoq +Icon=/usr/share/pixmaps/gnudoq-icon.xpm +Comment=GNUDoQ, Su Doku generator and solver. --- gnudoq-0.94.orig/debian/gnudoq.install +++ gnudoq-0.94/debian/gnudoq.install @@ -0,0 +1,3 @@ +GNUDoQ usr/games +debian/gnudoq-icon.xpm usr/share/pixmaps/ +debian/gnudoq.desktop usr/share/applications/ --- gnudoq-0.94.orig/debian/gnudoq.6 +++ gnudoq-0.94/debian/gnudoq.6 @@ -0,0 +1,17 @@ +.TH GNUDOQ 6 "6 February 2006" + +.SH NAME + +GNUDoQ \- GNUDoQ A Qt Sudoku game with a sudoku solver and printer support. + +.SH SYNOPSIS + +\fBgnudoq\fP + +.SH DESCRIPTION + +gnudoq is a program for creating, solving and printing Su Doku puzzles. + +.SH AUTHOR + +Luc Vo Van --- gnudoq-0.94.orig/debian/gnudoq.manpages +++ gnudoq-0.94/debian/gnudoq.manpages @@ -0,0 +1 @@ +debian/gnudoq.6 --- gnudoq-0.94.orig/debian/compat +++ gnudoq-0.94/debian/compat @@ -0,0 +1 @@ +4 --- gnudoq-0.94.orig/debian/changelog +++ gnudoq-0.94/debian/changelog @@ -0,0 +1,64 @@ +gnudoq (0.94-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Add fix-643396-format-security.patch. Fix FTBFS: error: format not a + string literal and no format arguments [-Werror=format-security]. + (Closes: #643396). + + -- Salvatore Bonaccorso Fri, 25 Nov 2011 18:50:05 +0100 + +gnudoq (0.94-2) unstable; urgency=low + + * Move binary to /usr/games. + * Move man page to section 6. + * Bump standards version (no change needed). + * Change my e-mail address. + * Add Homepage tag. + * Use quilt. + * Add patches/gnudoq-gcc-4.3.diff to allow building with gcc 4.3 (Closes: + #455655). + + -- Arnaud Cornet Sun, 03 Feb 2008 12:23:02 +0100 + +gnudoq (0.94-1) unstable; urgency=low + + * New upstream release + * Drop patches/02-times-roman.diff, merged upstream. + * No need for dfsg as upstream cleaned-up his source. + + -- Arnaud Cornet Sat, 12 May 2007 13:12:09 +0200 + +gnudoq (0.93.dfsg.1-5) unstable; urgency=low + + * patches/02-times-roman.diff: Use a more standard font (Closes: #369571). + * Updated standards version to 3.7.2. No change required. + + -- Arnaud Cornet Sun, 10 Sep 2006 13:13:29 +0200 + +gnudoq (0.93.dfsg.1-4) unstable; urgency=low + + * Added menu entry and desktop file. + + -- Arnaud Cornet Thu, 13 Apr 2006 17:12:43 +0200 + +gnudoq (0.93.dfsg.1-3) unstable; urgency=low + + * Triturate the CONFIG variable to have qmake-qt4 behave correctly. + Just another attempt to actually fix #355932. + * Add a watch file (Closes: #357854). + + -- Arnaud Cornet Sun, 26 Mar 2006 19:51:17 +0200 + +gnudoq (0.93.dfsg.1-2) unstable; urgency=low + + * Fix to build against lates libqt4 (Closes: #355932). + + -- Arnaud Cornet Thu, 9 Mar 2006 11:11:00 +0100 + +gnudoq (0.93.dfsg.1-1) unstable; urgency=low + + * Initial debian package + + -- Arnaud Cornet Mon, 06 Feb 2006 16:22:37 +0100 + + --- gnudoq-0.94.orig/debian/rules +++ gnudoq-0.94/debian/rules @@ -0,0 +1,11 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/qmake.mk +include /usr/share/cdbs/1/rules/patchsys-quilt.mk + +QMAKE=qmake-qt4 + +binary-install:: + dh_desktop -pgnudoq + --- gnudoq-0.94.orig/debian/patches/01-config-fix.diff +++ gnudoq-0.94/debian/patches/01-config-fix.diff @@ -0,0 +1,13 @@ +Index: gnudoq/GNUDoQ.pro +=================================================================== +--- gnudoq.orig/GNUDoQ.pro 2008-02-03 12:17:42.000000000 +0100 ++++ gnudoq/GNUDoQ.pro 2008-02-03 12:17:55.000000000 +0100 +@@ -2,6 +2,8 @@ + # Automatically generated by qmake (2.00a) Mon Dec 19 16:14:47 2005 + ###################################################################### + ++CONFIG -= debug ++CONFIG += qt release + TEMPLATE = app + TARGET += + DEPENDPATH += . --- gnudoq-0.94.orig/debian/patches/fix-643396-format-security.patch +++ gnudoq-0.94/debian/patches/fix-643396-format-security.patch @@ -0,0 +1,20 @@ +--- a/sudoku.C ++++ b/sudoku.C +@@ -48,14 +48,14 @@ + grid[stack[i].index] = '1' + stack[i].value; + } + +- printf(top); +- printf(across); ++ printf("%s", top); ++ printf("%s", across); + for(int i = 0; i < 9; ++i) { + printf(lines, i + 1, + grid[i * 9], grid[i*9+1], grid[i*9+2], + grid[i*9+3], grid[i*9+4], grid[i*9+5], + grid[i*9+6], grid[i*9+7], grid[i*9+8]); +- printf(i % 3 == 2 ? boss : across); ++ printf("%d", i % 3 == 2 ? boss : across); + } + + return 0; --- gnudoq-0.94.orig/debian/patches/gnudoq-gcc-4.3.diff +++ gnudoq-0.94/debian/patches/gnudoq-gcc-4.3.diff @@ -0,0 +1,12 @@ +Index: gnudoq/sudoku.C +=================================================================== +--- gnudoq.orig/sudoku.C 2008-02-03 12:20:26.000000000 +0100 ++++ gnudoq/sudoku.C 2008-02-03 12:20:34.000000000 +0100 +@@ -10,6 +10,7 @@ + #include + #include + #include ++#include + + #include + namespace sudoku --- gnudoq-0.94.orig/debian/patches/series +++ gnudoq-0.94/debian/patches/series @@ -0,0 +1,3 @@ +01-config-fix.diff +gnudoq-gcc-4.3.diff +fix-643396-format-security.patch