diff options
Diffstat (limited to 'ubuntu/maverick/applications/knights/debian')
12 files changed, 678 insertions, 0 deletions
diff --git a/ubuntu/maverick/applications/knights/debian/changelog b/ubuntu/maverick/applications/knights/debian/changelog new file mode 100644 index 000000000..0d09733ee --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/changelog @@ -0,0 +1,162 @@ +knights-trinity (0.6-8.3ubuntu0) karmic; urgency=low + + * Karmic rebuild + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Thu, 02 July 2009 16:08:00 -0600 + +knights-trinity (0.6-8.2ubuntu3) intrepid; urgency=low + + * Moved KDE3 to /opt/trinity + * Integrated properly with KDE4.2+ + + -- Timothy Pearson <kb9vqf@pearsoncomputing.net> Fri, 06 March 2009 01:35:00 -0600 + +knights (0.6-8.2ubuntu1) intrepid; urgency=low + + * Merge from debian unstable, remaining changes: + - debian/kubuntu_01_fix_castle.diff + - Changed homepage and redid for new Debian spec. + - Added Original-Maintainer as per Ubuntu spec. + - debian/rules: Removed config.{sub,guess}. + - debian/rules: added dh_icons. + + -- Andreas Wenning <awen@awen.dk> Tue, 03 Jun 2008 21:43:51 +0200 + +knights (0.6-8.2) unstable; urgency=low + + * Non-maintainer upload. + * Drop obsolete QT compat headers, patch by Barry deFreese + (Closes: #464630) + + -- Moritz Muehlenhoff <jmm@debian.org> Wed, 02 Apr 2008 22:45:54 +0200 + +knights (0.6-8.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/rules: Fix bashism. (Closes: #459084) + + -- Marc 'HE' Brockschmidt <he@debian.org> Mon, 28 Jan 2008 00:00:08 +0100 + +knights (0.6-8ubuntu3) hardy; urgency=low + + * debian/rules: changed dh_iconcache to dh_icons - fixes build. + + -- Jonathan Patrick Davies <jpatrick@kubuntu.org> Thu, 6 Dec 2007 23:36:10 +0100 + +knights (0.6-8ubuntu2) hardy; urgency=low + + * Correct maintainer email. + + -- Jonathan Patrick Davies <jpatrick@kubuntu.org> Fri, 26 Oct 2007 20:36:30 +0200 + +knights (0.6-8ubuntu1) hardy; urgency=low + + * Merge from debian unstable. Remaining Ubuntu changes: + - debian/kubuntu_01_fix_castle.diff + - Changed homepage and redid for new Debian spec. + - Added Original-Maintainer as per Ubuntu spec. + * debian/rules: Removed config.{sub,guess}. + + -- Jonathan Patrick Davies <jpatrick@kubuntu.org> Fri, 26 Oct 2007 18:47:30 +0200 + +knights (0.6-8) unstable; urgency=low + + * New Mantainer. (Closes: #439531) + * debian/watch: Updated to version 3. + * debian/control: + - Build-Depends: debhelper (>= 5.0.0). + - Suggests: knights-themepack + * debian/compat: DH_COMPAT 5. + * debian/rules: copy updated config.guess and config.sub files to admin + directory. + + -- Jose Carlos Medeiros <debian@psabs.com.br> Thu, 06 Sep 2007 18:31:36 -0300 + +knights (0.6-7.1ubuntu2) feisty; urgency=low + + * Automated backport by prevu. No source changes + * Fixed if in rules to work properly + + -- Martin Meredith <mez@ubuntu.com> Wed, 8 Nov 2006 18:12:43 +0000 + +knights (0.6-7.1ubuntu2) edgy; urgency=low + + * Added kubuntu_01_fix_castle.dpatch to fix castling (Closes Malone #70424) + + -- Martin Meredith <mez@ubuntu.com> Wed, 8 Nov 2006 17:31:03 +0000 + +knights (0.6-7.1ubuntu1) edgy; urgency=low + + * Sync from debian unstable + * Added dh_iconcache + + -- Sarah Hobbs <hobbsee@ubuntu.com> Wed, 30 Aug 2006 03:20:17 -0500 + +knights (0.6-7.1) unstable; urgency=medium + + * Non-maintainer upload. + * Don't send the "st" (search time limit) command when using xboard to talk + to chess engines; it makes some chess engines confused wrt. how much time + they should spend on each move. Patch from Alex Midgley. (Closes: #366181) + + -- Steinar H. Gunderson <sesse@debian.org> Tue, 29 Aug 2006 00:41:44 +0200 + +knights (0.6-7) unstable; urgency=low + + * debian/control: added kdebase-kio-plugins to Depends field. + This allow users without kde installations to be able to load knights + themes. (Closes: #361451) + * Added a dpatch (courtesy of Claudio Moratti) to prevent knights from asking + to agree to GPL in order to install it. (Closes: #360847) + * debian/control: Standards-Version bumped to 3.7.2 (no changes required). + + -- Tommaso Moroni <moronito@debian.org> Sun, 28 May 2006 16:29:36 +0200 + +knights (0.6-6) unstable; urgency=low + + * Rebuild against kdelibs4c2a. (Closes: #338269) + * debian/control: build-depends on specific libraries instead of xlibs-dev. + + -- Tommaso Moroni <moronito@debian.org> Sun, 4 Dec 2005 11:55:42 +0100 + +knights (0.6-5) unstable; urgency=low + + * Installed a menu icon, thanks to Steffen Joeris + for the patch. (Closes: #333383) + * debian/rules: removes po/de.gmo during cleaning and restores original + doc/Makefile.in to allow multiple builds from the same source. + Thanks to Steffen Joeris for the help. (Closes: #333386) + + -- Tommaso Moroni <moronito@debian.org> Sun, 23 Oct 2005 17:51:37 +0200 + +knights (0.6-4) unstable; urgency=low + + * Rebuild for C++-4.0 ABI transition and for libjack0.80.0 removal. (Closes: #317207) + * debian/patches: added corrections to the German PO file, + thanks to Jens Seidel. (Closes: #314004) + * debian/control: Standards-Version bumped to 3.6.2 (no changes required). + + -- Tommaso Moroni <moronito@debian.org> Sun, 11 Sep 2005 16:53:42 +0200 + +knights (0.6-3) unstable; urgency=low + + * debian/patches: added a patch to allow compilation with g++-4.0, + thanks to Andreas Jochens. (Closes: #300362) + + -- Tommaso Moroni <moronito@debian.org> Sun, 20 Mar 2005 17:44:17 +0100 + +knights (0.6-2) unstable; urgency=low + + * debian/control: added xlibs-dev to the build-depends. (Closes: #300139) + * debian/rules: added --enable-libsuffix= to configure command, so on some archs + /lib64 isn't assumed as the only library directory suffix. + * debian/copyright: made distinction between license and copyright. + + -- Tommaso Moroni <moronito@debian.org> Fri, 18 Mar 2005 18:40:20 +0100 + +knights (0.6-1) unstable; urgency=low + + * Initial Release. (closes: #136271) + + -- Tommaso Moroni <moronito@debian.org> Thu, 23 Dec 2004 11:20:19 +0100 + diff --git a/ubuntu/maverick/applications/knights/debian/compat b/ubuntu/maverick/applications/knights/debian/compat new file mode 100644 index 000000000..7ed6ff82d --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/compat @@ -0,0 +1 @@ +5 diff --git a/ubuntu/maverick/applications/knights/debian/control b/ubuntu/maverick/applications/knights/debian/control new file mode 100644 index 000000000..a86c5632b --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/control @@ -0,0 +1,28 @@ +Source: knights-trinity +Section: games +Priority: optional +Maintainer: Timothy Pearson <kb9vqf@pearsoncomputing.net> +XSBC-Original-Maintainer: Jose Carlos Medeiros <debian@psabs.com.br> +Uploaders: Ola Lundqvist <opal@debian.org> +Build-Depends: debhelper (>= 5.0.0), kdelibs4-trinity-dev, poxml, dpatch, imagemagick, libx11-dev, libxext-dev, libxinerama-dev, libxpm-dev, x-dev | x11proto-core-dev | libx11-dev, libasound2-dev, automake, autoconf, libtool, libltdl-dev +Standards-Version: 3.8.4 +Homepage: http://knights.sourceforge.net/ + +Package: knights-trinity +Architecture: any +Depends: ${shlibs:Depends}, kdebase-kio-plugins-trinity +Suggests: gnuchess | crafty | sjeng, knights-themepack-trinity +Description: A chess interface for the K Desktop Environment [Trinity] + Knights aims to be the ultimate chess resource on your computer. + Written for the K Desktop Environment, it's designed to be both friendly + to new chess players and functional for Grand Masters. + . + Here's a quick list of Knights' key features: + . + * Play against yourself, against computer opponents, + or against others over the Internet. + * Customize your board and pieces with over 30 different themes, + or make your own! + * Audio cues help alert you to important events. + * Novice players can preview potential moves. + * Save your unfinished matches and play them again later. diff --git a/ubuntu/maverick/applications/knights/debian/copyright b/ubuntu/maverick/applications/knights/debian/copyright new file mode 100644 index 000000000..c8554f7b5 --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/copyright @@ -0,0 +1,15 @@ +This package was debianized by Tommaso Moroni <moronito@debian.org> on +Thu, 23 Dec 2004 11:20:19 +0100. + +It was downloaded from http://sourceforge.net/projects/knights + +Copyright: + +Copyright 2003, Troy Corbin Jr. + +Upstream Author: Troy Corbin Jr <tcorbin@users.sourceforge.net> + +License: + +This software is distributed under the GNU General Public License, +which can be found at /usr/share/common-licenses/GPL-2. diff --git a/ubuntu/maverick/applications/knights/debian/debiandirs b/ubuntu/maverick/applications/knights/debian/debiandirs new file mode 100644 index 000000000..d341195a1 --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/debiandirs @@ -0,0 +1,10 @@ +export kde_prefix=/usr +export sysconfdir=/etc +export kde_includedir=/usr/include/kde +export infodir=/usr/share/info +export mandir=/usr/share/man +export qtdir=/usr/share/qt3 +export kde_cgidir=/usr/lib/cgi-bin +export kde_confdir=/etc/trinity +export kde_htmldir=/usr/share/doc/kde/HTML +configkde=--disable-debug --disable-rpath --prefix=$(kde_prefix) --sysconfdir=$(sysconfdir) --includedir=$(kde_includedir) --infodir=$(infodir) --mandir=$(mandir) --with-qt-dir=$(qtdir) diff --git a/ubuntu/maverick/applications/knights/debian/docs b/ubuntu/maverick/applications/knights/debian/docs new file mode 100644 index 000000000..724e08449 --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/docs @@ -0,0 +1,2 @@ +README +TODO diff --git a/ubuntu/maverick/applications/knights/debian/knights.1 b/ubuntu/maverick/applications/knights/debian/knights.1 new file mode 100644 index 000000000..d66f50342 --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/knights.1 @@ -0,0 +1,154 @@ +.\" This file was generated by kdemangen.pl +.TH KNIGHTS 1 "Jun 2004" "K Desktop Environment" "The Knights Chess Interface" +.SH NAME +knights +- The Knights Chess Interface +.SH SYNOPSIS +knights [Qt-options] [KDE-options] [options] [filename] +.SH DESCRIPTION +The Knights Chess Interface +.SH OPTIONS +.SS +.SS Arguments: +.TP +.B filename +A .pgn file to be loaded. +.SS Options: +.B -d <path> +Specify the location of your Knights data directory. +.SS Generic options: +.TP +.B --help +Show help about options +.TP +.B --help-qt +Show Qt specific options +.TP +.B --help-kde +Show KDE specific options +.TP +.B --help-all +Show all options +.TP +.B --author +Show author information +.TP +.B -v, --version +Show version information +.TP +.B --license +Show license information +.TP +.B -- +End of options +.SS +.SS KDE options: +.TP +.B --caption <caption> +Use 'caption' as name in the titlebar. +.TP +.B --icon <icon> +Use 'icon' as the application icon. +.TP +.B --miniicon <icon> +Use 'icon' as the icon in the titlebar. +.TP +.B --config <filename> +Use alternative configuration file. +.TP +.B --dcopserver <server> +Use the DCOP Server specified by 'server'. +.TP +.B --nocrashhandler +Disable crash handler, to get core dumps. +.TP +.B --waitforwm +Waits for a WM_NET compatible windowmanager. +.TP +.B --style <style> +sets the application GUI style. +.TP +.B --geometry <geometry> +sets the client geometry of the main widget. +.SS +.SS Qt options: +.TP +.B --display <displayname> +Use the X-server display 'displayname'. +.TP +.B --session <sessionId> +Restore the application for the given 'sessionId'. +.TP +.B --cmap +Causes the application to install a private color +map on an 8-bit display. +.TP +.B --ncols <count> +Limits the number of colors allocated in the color +cube on an 8-bit display, if the application is +using the QApplication::ManyColor color +specification. +.TP +.B --nograb +tells Qt to never grab the mouse or the keyboard. +.TP +.B --dograb +running under a debugger can cause an implicit +-nograb, use -dograb to override. +.TP +.B --sync +switches to synchronous mode for debugging. +.TP +.B --fn, --font <fontname> +defines the application font. +.TP +.B --bg, --background <color> +sets the default background color and an +application palette (light and dark shades are +calculated). +.TP +.B --fg, --foreground <color> +sets the default foreground color. +.TP +.B --btn, --button <color> +sets the default button color. +.TP +.B --name <name> +sets the application name. +.TP +.B --title <title> +sets the application title (caption). +.TP +.B --visual TrueColor +forces the application to use a TrueColor visual on +an 8-bit display. +.TP +.B --inputstyle <inputstyle> +sets XIM (X Input Method) input style. Possible +values are onthespot, overthespot, offthespot and +root. +.TP +.B --im <XIM server> +set XIM server. +.TP +.B --noxim +disable XIM. +.TP +.B --reverse +mirrors the whole layout of widgets. +.SS + +.SH SEE ALSO +Full user documentation is available through the KDE Help Center. You can also enter the URL +.BR help:/knights/ +directly into konqueror or you can run +.BR "`khelpcenter help:/knights/'" +from the command-line. +.br +.SH AUTHORS +.nf +Troy Corbin Jr. <tcorbin@users.sourceforge.net> +.br +Alexander Wels <agpwels@adelphia.net> +.br + diff --git a/ubuntu/maverick/applications/knights/debian/knights.xpm b/ubuntu/maverick/applications/knights/debian/knights.xpm new file mode 100644 index 000000000..afbf1959a --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/knights.xpm @@ -0,0 +1,183 @@ +/* XPM */ +static char *knights[] = { +/* columns rows colors chars-per-pixel */ +"32 32 145 2", +" c #9C5D2E", +". c #9F602F", +"X c #9D6135", +"o c #A4622E", +"O c #AA642C", +"+ c #AC692D", +"@ c #A36434", +"# c #A56936", +"$ c #A56B3D", +"% c #AA6634", +"& c #AC6934", +"* c #AB6D3B", +"= c #B2672A", +"- c #B4692D", +"; c #BA6B2E", +": c #B16631", +"> c #B36B32", +", c #B96D30", +"< c #BC702D", +"1 c #B67032", +"2 c #B3723B", +"3 c #BB7231", +"4 c #BA753E", +"5 c #BC783A", +"6 c #8F755E", +"7 c #9D6B42", +"8 c #906E54", +"9 c #9E7858", +"0 c #997F6C", +"q c #A16C43", +"w c #AA6E44", +"e c #A4714B", +"r c #AD7145", +"t c #A97449", +"y c #A57C5C", +"u c #AA7752", +"i c #A87C5D", +"p c #B37343", +"a c #B57A47", +"s c #B37A4A", +"d c #B87542", +"f c #BA7942", +"g c #B97C4C", +"h c #B67F51", +"j c #A77F62", +"k c #C06F2C", +"l c #C3732E", +"z c #C6782F", +"x c #CC772B", +"c c #CA792E", +"v c #C17530", +"b c #C0753C", +"n c #C37830", +"m c #C37A3D", +"M c #CB7C30", +"N c #CB7F3D", +"B c #D07D2D", +"V c #C37D40", +"C c #8C827A", +"Z c #9F856C", +"A c #9A8271", +"S c #9A8779", +"D c #9F8A76", +"F c #A9805A", +"G c #BF814B", +"H c #B6845B", +"J c #BB875F", +"K c #BB885D", +"L c #A08164", +"P c #A2856D", +"I c #A4907E", +"U c #BE8D64", +"Y c #BD906B", +"T c #CB823E", +"R c #D3863D", +"E c #C08555", +"W c #C28B5D", +"Q c #C08E63", +"! c #C79263", +"~ c #CA9664", +"^ c #CEA176", +"/ c #8E8782", +"( c #8C8986", +") c #9E9D9B", +"_ c #AE9B8A", +"` c #A69F99", +"' c #BA9D87", +"] c #A4A19E", +"[ c #ADA095", +"{ c #ABA198", +"} c #B5A89C", +"| c #A0A0A0", +" . c #ACA7A2", +".. c #ADA9A6", +"X. c gray66", +"o. c #B5B0AC", +"O. c #BDB3AB", +"+. c #B2B2B2", +"@. c #BDB7B3", +"#. c #BBB8B6", +"$. c #BABAB9", +"%. c #C3A084", +"&. c #CAA383", +"*. c #CAAF9A", +"=. c #CAB09B", +"-. c #D4B59B", +";. c #C6B1A1", +":. c #CCBAAE", +">. c #C3BAB3", +",. c #C0BEBD", +"<. c #CFBEB1", +"1. c #D0B5A0", +"2. c #D5B8A3", +"3. c #D5BCA9", +"4. c #D8BAA1", +"5. c #DDBFA8", +"6. c #DCC2AC", +"7. c #D2C0B2", +"8. c #D2C5BB", +"9. c #D9C3B2", +"0. c #E2C4AB", +"q. c #E0C8B8", +"w. c #C2C2C2", +"e. c #CBC7C3", +"r. c #CDCDCD", +"t. c #D5CDC6", +"y. c #D9CDC3", +"u. c #D5D1CE", +"i. c #D4D4D4", +"p. c #D8D4D1", +"a. c #DFDBD7", +"s. c #DADADA", +"d. c #E5D5C9", +"f. c #E9DBCF", +"g. c #E2DAD4", +"h. c #E1DDD9", +"j. c #E8DCD3", +"k. c #E8E0DA", +"l. c #E4E4E4", +"z. c gray92", +"x. c #F3EFEA", +"c. c #F6F2EF", +"v. c #F4F4F4", +"b. c #F8F7F6", +"n. c #FDFDFD", +/* pixels */ +"w 2 p p r r e r p p p p w w a d a p p p p p w r r p p p p w p g ", +". & : : > > : : > > % # & > : & & & : : > > : : : > : & # & & p ", +"O : ; ; & & & : > > > 1 ; ; , d , : > ; - & % % : : > > ; ; , V ", +"= ; ; : % @ $ : 1 1 1 & @ % W 4.b k ; ; % % @ # > 3 1 2 % @ l R ", +"+ > ; , % % % > , > > g 3.k.n.n.v.8.d , > % # & 1 > > > : 1 > f ", +"X > > & X X @ # > - 4 1.n.n.n.n.n.n.&., @ X X @ & > > > > > 1 f ", +"O - > > 1 > > , K *.d.n.n.n.n.n.n.n.x.%.; > > 1 1 1 > , 3 v 5 V ", +"O 1 3 z 3 1 5 J f.b.n.n.n.n.n.n.n.n.n.g.1 3 5 3 v 3 3 3 c c M T ", +"< c c c c c g y.n.n.n.n.n.n.b.n.n.n.n.n.^ c z 5 v l v v z c z T ", +"+ z c c z v f 7.n.n.z.z.c.h.=.h.n.n.n.n.-.m , > 1 3 3 1 1 3 1 f ", +"# 1 1 1 1 1 > > Y H % # # : a y.n.n.n.n.6.5 > > > > & # # # > f ", +"+ < < < 1 ; , , ; & # @ & > h g.n.n.n.n.j.E , , > > & # % & 1 f ", +"o 1 , & & & > > > % @ @ % , 4.b.n.n.n.n.v.;.: > , : $ @ @ : l b ", +"= x l % @ & , 3 > > % % : J v.n.n.n.n.n.b.<.> 1 , > & & % : : V ", +". + > ; ; ; & > & : > > J j.n.n.n.n.n.n.v.3.> : > > : : : : : d ", +"o & & & & % % % # & % # *.b.n.n.n.n.n.n.v.t.# # % % % % & & : d ", +"@ : % @ @ @ % & % % @ % 9.n.n.n.n.n.n.n.c.l.e @ & & % % % @ % p ", +"X : : % @ % @ # % # % # q.n.n.n.n.n.n.n.c.l.j @ % % # # % % % d ", +". % ; : > > > - ; : - > p.n.n.n.n.n.b.v.z.i.t ; : : : > : : 2 p ", +"= : ; , : : > > ; ; > & ' :.0.0.0.5.2.1.1.' : % ; , , > : : , m ", +"O , , ; % @ @ & 1 > 1 > 7 P } #.w.w.w.@._ Z @ @ > > > 1 * # l T ", +"= , ; ; % # % & , , > > 1 q ] ,.i.i.r.$.S 7 $ % 1 1 1 > , > , f ", +"@ * : % @ X # & & & > , 2 I s.v.n.n.n.b.w.A @ # & > > > 1 < , f ", +"o % > > 1 & 1 1 1 > > 1 F +.z.b.n.n.n.b.i...* > 1 1 & 1 3 < < E ", +"- z x x < < < T 3 z v 5 { r.v.n.n.n.n.n.l.r.D 5 3 z 3 z c R R R ", +"- x R R T x < < l v 4 Z $.i.z.v.n.n.b.b.l.i...L 3 3 M 3 3 c x c ", +"+ 1 3 3 < 1 = - 1 2 9 | i.l.b.b.b.b.b.b.v.l.w.) * 1 1 & > 1 & f ", +"o 1 < 1 1 1 1 + > % 8 ( X.+.#.$.$.$.$.$.+.+.| / $ & # X X # & f ", +"+ ; > , 1 - 1 - , & C { >.e.p.g.s.s.k.a.u.e.O.[ 6 % & % % - 1 m ", +"+ l l > & 1 > 1 > : 7 e u i J U ! ! ~ U i y s a 2 > # @ % % > m ", +"= ; ; + + & > 1 % - = % % - - ; ; ; l > % % > > > > : % % : > d ", +" o @ O o o o o o o o % O O o . o @ o o o o o o o o O O O O * " +}; diff --git a/ubuntu/maverick/applications/knights/debian/menu b/ubuntu/maverick/applications/knights/debian/menu new file mode 100644 index 000000000..bfd8e2f01 --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/menu @@ -0,0 +1,6 @@ +?package(knights):\ +needs="X11"\ +section="Games/Board"\ +title="Knights"\ +command="/usr/bin/knights"\ +icon="/usr/share/pixmaps/knights.xpm" diff --git a/ubuntu/maverick/applications/knights/debian/patches/.gitignore b/ubuntu/maverick/applications/knights/debian/patches/.gitignore new file mode 100644 index 000000000..e69de29bb --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/patches/.gitignore diff --git a/ubuntu/maverick/applications/knights/debian/rules b/ubuntu/maverick/applications/knights/debian/rules new file mode 100755 index 000000000..d7e8330c7 --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/rules @@ -0,0 +1,115 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_CONFIGURE_INCLUDEDIR := /opt/trinity/include/kde +DEB_CONFIGURE_MANDIR := /opt/trinity/share/man +DEB_CONFIGURE_PREFIX := /opt/trinity +DEB_CONFIGURE_INFODIR := /opt/trinity/share/info + +cdbs_configure_flags := --with-qt-dir=/usr/share/qt3 --disable-rpath --with-xinerama $(cdbs_kde_enable_final) $(cdbs_kde_enable_debug) + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +include /usr/share/dpatch/dpatch.make + +CFLAGS = -Wall -g + +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif +ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) + INSTALL_PROGRAM += -s +endif + +-include debian/debiandirs + +debian/knights.xpm: media/hi32-app-knights.png + convert $< $@ + + +config.status: configure patch + dh_testdir + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + if [ -f doc/Makefile.in ]; then cp doc/Makefile.in doc/Makefile.in.backup; else mv doc/Makefile.in.backup doc/Makefile.in; fi + CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ + --disable-debug --disable-rpath --sysconfdir=/etc --includedir=/opt/trinity/include/kde --infodir=/opt/trinity/share/info --mandir=/opt/trinity/share/man --with-qt-dir=/usr/share/qt3 --prefix=/opt/trinity --with-extra-libs=/opt/trinity/lib + + +build: build-stamp + +build-stamp: config.status debian/knights.xpm + dh_testdir + $(MAKE) + touch build-stamp + +clean: clean-patched unpatch + +clean-patched: + dh_testdir + dh_testroot + rm -f po/de.gmo + rm -f build-stamp + + ! [ -f /usr/share/libtool/ltmain.sh ] || \ + cp -f /usr/share/libtool/ltmain.sh admin/ltmain.sh + ! [ -f /usr/share/libtool/config/ltmain.sh ] || \ + cp -f /usr/share/libtool/config/ltmain.sh admin/ltmain.sh + cp -f /usr/share/aclocal/libtool.m4 admin/libtool.m4.in + + make -f admin/Makefile.common cvs + touch debian/stamp-bootstrap + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) install DESTDIR=$(CURDIR)/debian/knights-trinity + dh_install debian/knights.xpm /opt/trinity/share/pixmaps/ + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_installmenu + dh_icons + dh_installman debian/knights.1 + dh_link + dh_strip + dh_compress -X.docbook + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install diff --git a/ubuntu/maverick/applications/knights/debian/watch b/ubuntu/maverick/applications/knights/debian/watch new file mode 100644 index 000000000..e3fef441b --- /dev/null +++ b/ubuntu/maverick/applications/knights/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/knights/knights-(\d\.\d\.\d.*)\.tar\.gz |