Browse Source

Added KDE3 version of Knights


git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/knights@1091568 283d02a7-25f6-0310-bc7c-ecb5cbfe19
tags/v3.5.13
tpearson 9 years ago
commit
a8c9924456
100 changed files with 45047 additions and 0 deletions
  1. 10
    0
      AUTHORS
  2. 280
    0
      COPYING
  3. 30
    0
      ChangeLog
  4. 176
    0
      CreatingThemes
  5. 369
    0
      History
  6. 26
    0
      INSTALL
  7. 54
    0
      Makefile.am
  8. 14
    0
      Makefile.dist
  9. 44
    0
      README
  10. 48
    0
      TODO
  11. 10775
    0
      acinclude.m4
  12. 11308
    0
      aclocal.m4
  13. 1516
    0
      config.guess
  14. 169
    0
      config.h.in
  15. 300
    0
      config.log
  16. 1622
    0
      config.sub
  17. 2
    0
      configure.files
  18. 85
    0
      configure.in
  19. 8
    0
      configure.in.in
  20. 118
    0
      doc/Makefile.am
  21. 533
    0
      doc/Makefile.in.backup
  22. 795
    0
      doc/help_en.docbook
  23. 658
    0
      doc/help_fr.docbook
  24. 15
    0
      knights.lsm
  25. 95
    0
      knights.spec
  26. 61
    0
      knights/Makefile.am
  27. 60
    0
      knights/accel.cpp
  28. 59
    0
      knights/accel.h
  29. 177
    0
      knights/audio.cpp
  30. 64
    0
      knights/audio.h
  31. 807
    0
      knights/board_2d.cpp
  32. 99
    0
      knights/board_2d.h
  33. 125
    0
      knights/board_base.cpp
  34. 68
    0
      knights/board_base.h
  35. 37
    0
      knights/challenge_game.cpp
  36. 47
    0
      knights/challenge_game.h
  37. 460
    0
      knights/challenge_graph.cpp
  38. 93
    0
      knights/challenge_graph.h
  39. 112
    0
      knights/challenge_graph_view.cpp
  40. 50
    0
      knights/challenge_graph_view.h
  41. 34
    0
      knights/challenge_rectangle.cpp
  42. 36
    0
      knights/challenge_rectangle.h
  43. 195
    0
      knights/chessclock.cpp
  44. 75
    0
      knights/chessclock.h
  45. 98
    0
      knights/command.cpp
  46. 194
    0
      knights/command.h
  47. 264
    0
      knights/console.cpp
  48. 87
    0
      knights/console.h
  49. 892
    0
      knights/core.cpp
  50. 107
    0
      knights/core.h
  51. 292
    0
      knights/definitions.h
  52. 159
    0
      knights/dlg_challenge.cpp
  53. 69
    0
      knights/dlg_challenge.h
  54. 226
    0
      knights/dlg_engine.cpp
  55. 77
    0
      knights/dlg_engine.h
  56. 161
    0
      knights/dlg_login.cpp
  57. 73
    0
      knights/dlg_login.h
  58. 385
    0
      knights/dlg_newmatch.cpp
  59. 110
    0
      knights/dlg_newmatch.h
  60. 123
    0
      knights/dlg_promote.cpp
  61. 58
    0
      knights/dlg_promote.h
  62. 46
    0
      knights/dlg_selectemail.cpp
  63. 52
    0
      knights/dlg_selectemail.h
  64. 201
    0
      knights/dlg_selectengine.cpp
  65. 72
    0
      knights/dlg_selectengine.h
  66. 240
    0
      knights/dlg_server.cpp
  67. 92
    0
      knights/dlg_server.h
  68. 201
    0
      knights/dlg_settings.cpp
  69. 80
    0
      knights/dlg_settings.h
  70. 37
    0
      knights/idmanager.cpp
  71. 42
    0
      knights/idmanager.h
  72. 57
    0
      knights/io_base.cpp
  73. 68
    0
      knights/io_base.h
  74. 312
    0
      knights/io_engine.cpp
  75. 81
    0
      knights/io_engine.h
  76. 1138
    0
      knights/io_internet.cpp
  77. 138
    0
      knights/io_internet.h
  78. 1024
    0
      knights/knights.cpp
  79. 16
    0
      knights/knights.desktop
  80. 145
    0
      knights/knights.h
  81. 178
    0
      knights/knightsmap.h
  82. 156
    0
      knights/knightspixcache.cpp
  83. 104
    0
      knights/knightspixcache.h
  84. 238
    0
      knights/knightstextview.cpp
  85. 54
    0
      knights/knightstextview.h
  86. 145
    0
      knights/list_pgn.cpp
  87. 66
    0
      knights/list_pgn.h
  88. 1495
    0
      knights/logic.cpp
  89. 88
    0
      knights/logic.h
  90. 85
    0
      knights/main.cpp
  91. 1120
    0
      knights/match.cpp
  92. 133
    0
      knights/match.h
  93. 243
    0
      knights/match_param.cpp
  94. 100
    0
      knights/match_param.h
  95. 1464
    0
      knights/pgn.cpp
  96. 11
    0
      knights/pgn.desktop
  97. 153
    0
      knights/pgn.h
  98. 34
    0
      knights/proto_base.cpp
  99. 54
    0
      knights/proto_base.h
  100. 0
    0
      knights/proto_uci.cpp

+ 10
- 0
AUTHORS View File

@@ -0,0 +1,10 @@
1
+Authors of the Knights Project
2
+
3
+Project Leader & Lead Programmer
4
+   Troy Corbin Jr. <tcorbin@users.sourceforge.net>
5
+
6
+Communications Programmer
7
+   Alexander Wels <agpwels@adelphia.net>
8
+
9
+See the "About Knights" dialog for a complete and current list of
10
+those who have helped make Knights possible.

+ 280
- 0
COPYING View File

@@ -0,0 +1,280 @@
1
+		    GNU GENERAL PUBLIC LICENSE
2
+		       Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+                          675 Mass Ave, Cambridge, MA 02139, USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+			    Preamble
10
+
11
+  The licenses for most software are designed to take away your
12
+freedom to share and change it.  By contrast, the GNU General Public
13
+License is intended to guarantee your freedom to share and change free
14
+software--to make sure the software is free for all its users.  This
15
+General Public License applies to most of the Free Software
16
+Foundation's software and to any other program whose authors commit to
17
+using it.  (Some other Free Software Foundation software is covered by
18
+the GNU Library General Public License instead.)  You can apply it to
19
+your programs, too.
20
+
21
+  When we speak of free software, we are referring to freedom, not
22
+price.  Our General Public Licenses are designed to make sure that you
23
+have the freedom to distribute copies of free software (and charge for
24
+this service if you wish), that you receive source code or can get it
25
+if you want it, that you can change the software or use pieces of it
26
+in new free programs; and that you know you can do these things.
27
+
28
+  To protect your rights, we need to make restrictions that forbid
29
+anyone to deny you these rights or to ask you to surrender the rights.
30
+These restrictions translate to certain responsibilities for you if you
31
+distribute copies of the software, or if you modify it.
32
+
33
+  For example, if you distribute copies of such a program, whether
34
+gratis or for a fee, you must give the recipients all the rights that
35
+you have.  You must make sure that they, too, receive or can get the
36
+source code.  And you must show them these terms so they know their
37
+rights.
38
+
39
+  We protect your rights with two steps: (1) copyright the software, and
40
+(2) offer you this license which gives you legal permission to copy,
41
+distribute and/or modify the software.
42
+
43
+  Also, for each author's protection and ours, we want to make certain
44
+that everyone understands that there is no warranty for this free
45
+software.  If the software is modified by someone else and passed on, we
46
+want its recipients to know that what they have is not the original, so
47
+that any problems introduced by others will not reflect on the original
48
+authors' reputations.
49
+
50
+  Finally, any free program is threatened constantly by software
51
+patents.  We wish to avoid the danger that redistributors of a free
52
+program will individually obtain patent licenses, in effect making the
53
+program proprietary.  To prevent this, we have made it clear that any
54
+patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+  The precise terms and conditions for copying, distribution and
57
+modification follow.
58
+
59
+		    GNU GENERAL PUBLIC LICENSE
60
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+  0. This License applies to any program or other work which contains
63
+a notice placed by the copyright holder saying it may be distributed
64
+under the terms of this General Public License.  The "Program", below,
65
+refers to any such program or work, and a "work based on the Program"
66
+means either the Program or any derivative work under copyright law:
67
+that is to say, a work containing the Program or a portion of it,
68
+either verbatim or with modifications and/or translated into another
69
+language.  (Hereinafter, translation is included without limitation in
70
+the term "modification".)  Each licensee is addressed as "you".
71
+
72
+Activities other than copying, distribution and modification are not
73
+covered by this License; they are outside its scope.  The act of
74
+running the Program is not restricted, and the output from the Program
75
+is covered only if its contents constitute a work based on the
76
+Program (independent of having been made by running the Program).
77
+Whether that is true depends on what the Program does.
78
+
79
+  1. You may copy and distribute verbatim copies of the Program's
80
+source code as you receive it, in any medium, provided that you
81
+conspicuously and appropriately publish on each copy an appropriate
82
+copyright notice and disclaimer of warranty; keep intact all the
83
+notices that refer to this License and to the absence of any warranty;
84
+and give any other recipients of the Program a copy of this License
85
+along with the Program.
86
+
87
+You may charge a fee for the physical act of transferring a copy, and
88
+you may at your option offer warranty protection in exchange for a fee.
89
+
90
+  2. You may modify your copy or copies of the Program or any portion
91
+of it, thus forming a work based on the Program, and copy and
92
+distribute such modifications or work under the terms of Section 1
93
+above, provided that you also meet all of these conditions:
94
+
95
+    a) You must cause the modified files to carry prominent notices
96
+    stating that you changed the files and the date of any change.
97
+
98
+    b) You must cause any work that you distribute or publish, that in
99
+    whole or in part contains or is derived from the Program or any
100
+    part thereof, to be licensed as a whole at no charge to all third
101
+    parties under the terms of this License.
102
+
103
+    c) If the modified program normally reads commands interactively
104
+    when run, you must cause it, when started running for such
105
+    interactive use in the most ordinary way, to print or display an
106
+    announcement including an appropriate copyright notice and a
107
+    notice that there is no warranty (or else, saying that you provide
108
+    a warranty) and that users may redistribute the program under
109
+    these conditions, and telling the user how to view a copy of this
110
+    License.  (Exception: if the Program itself is interactive but
111
+    does not normally print such an announcement, your work based on
112
+    the Program is not required to print an announcement.)
113
+
114
+These requirements apply to the modified work as a whole.  If
115
+identifiable sections of that work are not derived from the Program,
116
+and can be reasonably considered independent and separate works in
117
+themselves, then this License, and its terms, do not apply to those
118
+sections when you distribute them as separate works.  But when you
119
+distribute the same sections as part of a whole which is a work based
120
+on the Program, the distribution of the whole must be on the terms of
121
+this License, whose permissions for other licensees extend to the
122
+entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+Thus, it is not the intent of this section to claim rights or contest
125
+your rights to work written entirely by you; rather, the intent is to
126
+exercise the right to control the distribution of derivative or
127
+collective works based on the Program.
128
+
129
+In addition, mere aggregation of another work not based on the Program
130
+with the Program (or with a work based on the Program) on a volume of
131
+a storage or distribution medium does not bring the other work under
132
+the scope of this License.
133
+
134
+  3. You may copy and distribute the Program (or a work based on it,
135
+under Section 2) in object code or executable form under the terms of
136
+Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+    a) Accompany it with the complete corresponding machine-readable
139
+    source code, which must be distributed under the terms of Sections
140
+    1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+    b) Accompany it with a written offer, valid for at least three
143
+    years, to give any third party, for a charge no more than your
144
+    cost of physically performing source distribution, a complete
145
+    machine-readable copy of the corresponding source code, to be
146
+    distributed under the terms of Sections 1 and 2 above on a medium
147
+    customarily used for software interchange; or,
148
+
149
+    c) Accompany it with the information you received as to the offer
150
+    to distribute corresponding source code.  (This alternative is
151
+    allowed only for noncommercial distribution and only if you
152
+    received the program in object code or executable form with such
153
+    an offer, in accord with Subsection b above.)
154
+
155
+The source code for a work means the preferred form of the work for
156
+making modifications to it.  For an executable work, complete source
157
+code means all the source code for all modules it contains, plus any
158
+associated interface definition files, plus the scripts used to
159
+control compilation and installation of the executable.  However, as a
160
+special exception, the source code distributed need not include
161
+anything that is normally distributed (in either source or binary
162
+form) with the major components (compiler, kernel, and so on) of the
163
+operating system on which the executable runs, unless that component
164
+itself accompanies the executable.
165
+
166
+If distribution of executable or object code is made by offering
167
+access to copy from a designated place, then offering equivalent
168
+access to copy the source code from the same place counts as
169
+distribution of the source code, even though third parties are not
170
+compelled to copy the source along with the object code.
171
+
172
+  4. You may not copy, modify, sublicense, or distribute the Program
173
+except as expressly provided under this License.  Any attempt
174
+otherwise to copy, modify, sublicense or distribute the Program is
175
+void, and will automatically terminate your rights under this License.
176
+However, parties who have received copies, or rights, from you under
177
+this License will not have their licenses terminated so long as such
178
+parties remain in full compliance.
179
+
180
+  5. You are not required to accept this License, since you have not
181
+signed it.  However, nothing else grants you permission to modify or
182
+distribute the Program or its derivative works.  These actions are
183
+prohibited by law if you do not accept this License.  Therefore, by
184
+modifying or distributing the Program (or any work based on the
185
+Program), you indicate your acceptance of this License to do so, and
186
+all its terms and conditions for copying, distributing or modifying
187
+the Program or works based on it.
188
+
189
+  6. Each time you redistribute the Program (or any work based on the
190
+Program), the recipient automatically receives a license from the
191
+original licensor to copy, distribute or modify the Program subject to
192
+these terms and conditions.  You may not impose any further
193
+restrictions on the recipients' exercise of the rights granted herein.
194
+You are not responsible for enforcing compliance by third parties to
195
+this License.
196
+
197
+  7. If, as a consequence of a court judgment or allegation of patent
198
+infringement or for any other reason (not limited to patent issues),
199
+conditions are imposed on you (whether by court order, agreement or
200
+otherwise) that contradict the conditions of this License, they do not
201
+excuse you from the conditions of this License.  If you cannot
202
+distribute so as to satisfy simultaneously your obligations under this
203
+License and any other pertinent obligations, then as a consequence you
204
+may not distribute the Program at all.  For example, if a patent
205
+license would not permit royalty-free redistribution of the Program by
206
+all those who receive copies directly or indirectly through you, then
207
+the only way you could satisfy both it and this License would be to
208
+refrain entirely from distribution of the Program.
209
+
210
+If any portion of this section is held invalid or unenforceable under
211
+any particular circumstance, the balance of the section is intended to
212
+apply and the section as a whole is intended to apply in other
213
+circumstances.
214
+
215
+It is not the purpose of this section to induce you to infringe any
216
+patents or other property right claims or to contest validity of any
217
+such claims; this section has the sole purpose of protecting the
218
+integrity of the free software distribution system, which is
219
+implemented by public license practices.  Many people have made
220
+generous contributions to the wide range of software distributed
221
+through that system in reliance on consistent application of that
222
+system; it is up to the author/donor to decide if he or she is willing
223
+to distribute software through any other system and a licensee cannot
224
+impose that choice.
225
+
226
+This section is intended to make thoroughly clear what is believed to
227
+be a consequence of the rest of this License.
228
+
229
+  8. If the distribution and/or use of the Program is restricted in
230
+certain countries either by patents or by copyrighted interfaces, the
231
+original copyright holder who places the Program under this License
232
+may add an explicit geographical distribution limitation excluding
233
+those countries, so that distribution is permitted only in or among
234
+countries not thus excluded.  In such case, this License incorporates
235
+the limitation as if written in the body of this License.
236
+
237
+  9. The Free Software Foundation may publish revised and/or new versions
238
+of the General Public License from time to time.  Such new versions will
239
+be similar in spirit to the present version, but may differ in detail to
240
+address new problems or concerns.
241
+
242
+Each version is given a distinguishing version number.  If the Program
243
+specifies a version number of this License which applies to it and "any
244
+later version", you have the option of following the terms and conditions
245
+either of that version or of any later version published by the Free
246
+Software Foundation.  If the Program does not specify a version number of
247
+this License, you may choose any version ever published by the Free Software
248
+Foundation.
249
+
250
+  10. If you wish to incorporate parts of the Program into other free
251
+programs whose distribution conditions are different, write to the author
252
+to ask for permission.  For software which is copyrighted by the Free
253
+Software Foundation, write to the Free Software Foundation; we sometimes
254
+make exceptions for this.  Our decision will be guided by the two goals
255
+of preserving the free status of all derivatives of our free software and
256
+of promoting the sharing and reuse of software generally.
257
+
258
+			    NO WARRANTY
259
+
260
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
262
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
266
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
267
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+REPAIR OR CORRECTION.
269
+
270
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+POSSIBILITY OF SUCH DAMAGES.
279
+
280
+		     END OF TERMS AND CONDITIONS

+ 30
- 0
ChangeLog View File

@@ -0,0 +1,30 @@
1
+Knights 0.6 -- Tuesday May 20th, 2003
2
+Troy Corbin Jr. <troy@knights-chess.com>
3
+
4
+* Changed version to 0.6
5
+* Added a new tab that displays details from a loaded PGN match.
6
+* Added a server selector to the Login dialog.
7
+* Added hyperlinks to the ICS Console.
8
+* Improved printed output.
9
+* Added printing capabilities to the ICS Console.
10
+- Reduced the time needed to resize the board by about 33%
11
+- Fixed bug where the New Match dialog sometimes defaulted to an unplayable
12
+  match.
13
+- Fixed a bug in our XBoard protocol implementation which caused some engines
14
+  ( like GNUChess ) to fail.
15
+- Fixed bug where some loaded matches wouldn't display the player's names.
16
+- Fixed a crash that occured when you closed an ICS related tab, then
17
+  disconnected from the ICS.
18
+- Fixed a crash that occured when you couldn't connect to your ICS.
19
+- Expanded the range of the "Opponent's Strength" slider so that it didn't
20
+  cripple some engines.
21
+- Fixed a bug where selecting the current board position from the Notation Bar
22
+  could erase the board.
23
+- Fixed a bug where an engine that does not implement the 'pause' feature could
24
+  have caused Knights' clocks to continue running during a pause.
25
+- Fixed a bug where the console could be displayed in doublespace.
26
+- Fixed the Match->Resign option.
27
+- Knights generated PGN files now save NAG, RAV, and Annotations.
28
+- Removed the ability to swap sides midgame. This will be reinstated later when
29
+  we can implement a more feature-rich and trouble free dialog box.
30
+- Potential memory leak fixed ( thanks to Jon Keating! )

+ 176
- 0
CreatingThemes View File

@@ -0,0 +1,176 @@
1
+====================
2
+  Creating Themes
3
+==================== 
4
+
5
+This document is your guide to creating themes for the Knights chess
6
+interface.
7
+
8
+-----------------------
9
+1. Anatomy of a Theme:
10
+-----------------------
11
+
12
+A theme is a collection of images, sounds, and settings which create a
13
+unique representation of a chess environment. Typically, this theme is in the
14
+form of a gzipped tarball.
15
+
16
+There are three types of themes for Knights: Chessboard themes, Chessmen
17
+themes, and Audio themes. 
18
+
19
+------------------------
20
+2. Tarball Information:
21
+------------------------
22
+
23
+Themes must be stored in tarballs. Knights will use any type of tarball that
24
+KDE supports. A good test is to try loading it in Konqueror using a
25
+tar://mytarball URL. Generaly speaking, using the standard gzipped tarball
26
+( with a '.tar.gz' extension ) will be fine.
27
+
28
+The first two letters of your filename must be 'KB', 'KC', or 'KS' depending on
29
+the type of theme it is. KB tells Knights that it is a Chessboard theme, 
30
+and KC represents Chessmen themes. KS is a sound theme. This is 
31
+case-sensitive.
32
+
33
+Between the prefix and the extension comes your theme's name. Write it exactly
34
+how you want it displayed in Knights, except use underscores instead of spaces.
35
+So if you want your theme to be called "My Uber Chessmen" within Knights, you'd
36
+have the following filename: KCMy_Uber_Chessmen.tar.gz
37
+
38
+As a general rule, you should remove write and execute permissions on the
39
+files, and either remove Owner/Group attributes, or make them something
40
+harmless ( like nobody:users )
41
+
42
+---------------------------
43
+3. theme.conf Information:
44
+---------------------------
45
+
46
+Every theme must contain a text file called 'theme.conf'. Here's a
47
+sample theme.conf file:
48
+
49
+################################
50
+# A Sample theme.conf file
51
+################################
52
+[General]
53
+Type=Board
54
+Name=Default
55
+Version=1.0
56
+Author=Troy Corbin Jr.
57
+AuthorEmail=tcorbin@users.sourceforge.net
58
+AuthorWWW=http://knights.sourceforge.net
59
+Notes=This is the default chessboard for Knights. It was made with the Gimp.
60
+
61
+[2DWhite]
62
+King=white.king.png
63
+Queen=white.queen.png
64
+Bishop=white.bishop.png
65
+Knight=white.knight.png
66
+Rook=white.rook.png
67
+Pawn=white.pawn.png
68
+
69
+[2DBlack]
70
+King=black.king.png
71
+Queen=black.queen.png
72
+Bishop=black.bishop.png
73
+Knight=black.knight.png
74
+Rook=black.rook.png
75
+Pawn=black.pawn.png
76
+
77
+[2DBoard]
78
+Light=square.light.png
79
+Dark=square.dark.png
80
+Motion=square.motion.png
81
+Select=square.select.png
82
+Danger=square.danger.png
83
+
84
+[Coordinates]
85
+TextColor=255,255,255
86
+ShadowColor=0,0,0
87
+
88
+[Audio]
89
+Select=select.wav
90
+Move=move.wav
91
+Check=check.wav
92
+MatchOver=matchover.wav
93
+Challenge=notify.wav
94
+Tell=tell.wav
95
+Notification=notify.wav
96
+DrawOffer=draw.wav
97
+Say=tell.wav
98
+Promote=promote.wav
99
+################################
100
+
101
+Nothing too tough to figure out. 'Type' must be one of the following:
102
+
103
+- Board
104
+- Chessmen
105
+- Audio
106
+- 3DBoard ( For future use )
107
+- 3DChessmen ( For future use )
108
+
109
+'Name' is your theme's name and 'Version' is the version of your theme. Author,
110
+AuthorEmail, and AuthorWWW should be self explanitory. Notes are any comments
111
+you want to add.
112
+
113
+The '2DWhite' and '2DBlack' sections are required in Chessman themes. Each line
114
+specifies the file to be used for each different piece type.
115
+
116
+'2DBoard' and 'Coordinates' are required in Chessboard themes. 'Light' and
117
+'Dark' specify the file to be used for each color square on the board. 'Motion'
118
+is the highlight used to indicate that a piece moved, 'Select' is the selection
119
+highlight, and 'Danger' indicates an attacked piece. The 'Coordinates' are
120
+standard 8bit RGB colors. These are the colors that Knights will use for board
121
+coordinates. Try to use colors that contrast with the board itself.
122
+
123
+New in Knights 0.5.6 are Chessboard borders. They are not required, but they
124
+can greatly enhance the appearance of your chessboard. If you'd like to use one
125
+then under '2DBoard' add the following lines:
126
+
127
+HaveBorder=true
128
+Border=border.png
129
+BorderLightOn=light_on.png
130
+BorderLightOff=light_off.png
131
+
132
+-----------------------
133
+4. Pixmap Information:
134
+-----------------------
135
+
136
+Your pixmaps can be in any format that Qt supports, as long as it supports an
137
+alpha channel. For this reason you are strongly encouraged to stick with PNG
138
+images. Note that there are a few exceptions to this in Chessboard themes. The
139
+'Light', 'Dark', and 'Border' pixmaps constitute the lowest layer of graphics,
140
+and so they will never be transparent. Therefore, for these items you can use
141
+non-transparent file types ( like JPEG ).
142
+
143
+Knights will scale your pixmaps to the current theme size. This means you can
144
+supply any sized images you want and Knights will make it work. However, when
145
+Knights has to enlarge a pixmap, the resulting image tends to be of poor
146
+quality. To keep this from happening to your themes, you should make all your
147
+pixmaps 144 pixels by 144 pixels. This ensures that your images will never be
148
+enlarged, and it's not so large that it's wasteful.
149
+
150
+Borders are an exception to the size rule. The 'Border' itself needs to be 9
151
+times the size of your other images. So if you use the recommended 144 pixel
152
+image size, the 'Border' needs to be 1296 pixels. Likewise, the 'BorderLightOn'
153
+and 'BorderLightOff' images need to be half the size of your other images. So
154
+a regular size image of 144 pixels required that the lights be 72 pixels.
155
+
156
+----------------------
157
+5. Audio Information:
158
+----------------------
159
+
160
+Like pixmaps, you can supply your audio using any file format that aRts
161
+supports. I recommend you stick with .wav and .ogg, although the last time
162
+I checked aRts' Ogg Vorbis support was flaky with short sounds. Also, for
163
+very short sounds, .wav files are actually smaller. It's best to try both
164
+and see which works best with your paticular sounds.
165
+
166
+----------------------
167
+6. Copyrights:
168
+----------------------
169
+
170
+If you're planning to share your themes with the Knights Project, you must be
171
+the copyright owner on all the material contained in the theme. As much as I'd
172
+love to see the heads of Neo and Agent Smith flying around the board, I don't
173
+want to recieve any nasty letters from Warner Brothers.
174
+
175
+Your material must also be released under a GNU or similar license. If you're
176
+in doubt, contact us and we'll work it out.

+ 369
- 0
History View File

@@ -0,0 +1,369 @@
1
+Knights 0.5.9 -- Friday January 17th, 2003
2
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
3
+
4
+* Changed version to 0.5.9
5
+* The console is now organized into 'Tabs', rather than using a splitter. These
6
+  tabs can be dynamicaly organized into different windows by simply dragging
7
+  them. Drag a tab onto the desktop to create another tab window.
8
+* Added the 'Seek Graph', which is a plotted chart of matches which people are
9
+  seeking. It behaves very much like the 'Sought Match List', but the graph
10
+  makes it easy to spot matches around your desired Rating / Time Controls.
11
+* Added movement animations.
12
+* Added a 'New Match' dialog that opens whenever you start a new match. It
13
+  allows you to set the time controls, players for each side, and more.
14
+* Moved theme installation to the 'Settings' menu.
15
+- Major speed improvments when selecting and dragging chessmen.
16
+* You can now install multiple themes at once.
17
+* Knights now handles keyboard input better. Don't worry about pressing
18
+  'Enter' before you start chatting, just begin.
19
+* Knights can now auto-configure the following additional chess engines:
20
+  Cilian, Faile, OliThink, Pepito, and Yace.
21
+- Fixed sloppy SAN disambiguation where it wasn't needed.
22
+- Fixed gcc 3.1 compilation errors.
23
+* Added Italian translations.
24
+* Added Finnish translations.
25
+- Fixed a bug where Knights would sometimes declare a draw too early.
26
+- Fixed a bug in which the King could castle even if an adjacent position was
27
+  being attacked.
28
+* Knights can now correctly read PGN files that contain FEN notation.
29
+* You can now right click on a match's button to access a mini-file menu.
30
+- XBoard is now the default engine protocol when you configure a new engine.
31
+* Added basic support for the UCI engine protocol.
32
+- Removed the listing for the Knights engine protocol.
33
+* New users must accept our license ( the GPL ) before they can continue.
34
+* Movement highlights now also work when reviewing a match.
35
+* You can choose to login to your ICS as a 'guest' from the Login Dialog.
36
+- Fixed a bug which sometimes kept audio from working.
37
+* The 'Help' button in the 'Configure Knights...' dialog will now display
38
+  context sensitive help, depending on what page you're viewing.
39
+* Knights can read and display images stored in the SCID *.img file format.
40
+- Fixed problem where the Console wouldn't redraw without focus.
41
+* You can now change the Console's text size using it's context menu.
42
+- The Retract menu option can now be used several times in a row.
43
+- Knights' main window is now raised to the top and given focus whenever a
44
+  new match starts, or whenever you select a different match.
45
+* You can now have multiple PGN files open at the same time.
46
+- Major rewrite of internal communications code.
47
+- Fixed bug that made en passant moves illegal when your king was in check.
48
+- Countless minor bugfixes.
49
+
50
+Knights 0.5.6 -- Friday June 21st, 2002
51
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
52
+
53
+* Changed version to 0.5.6
54
+- Fixed a bug in the setup wizard that makes every server but FICS the
55
+  current server.
56
+- Knights will now handle invalid ICS logins in a sane manner.
57
+- If you accept or counter-challenge a match offer from the
58
+  console, the Match Pop-up will go away.
59
+- Fixed a bug where Less-than and Pipe symbols wouldn't render in the console.
60
+- ( Possibily? ) Fixed a bug that caused Knights to repeat the final moves in a
61
+  match in the PGN game.
62
+- If your opponent on ICS resigns, Knights now handles it properly.( Redux )
63
+* Added a History file to Knights. It will contain all past ChangeLog entries
64
+  while ChangeLog will only contain entries for the current version.
65
+* Expanded error reporting for failed theme installation.
66
+- Fixed missing character bug in ICC play.
67
+* The "Auto Close Last ICS" option is now on by default.
68
+* You now setup Timeseal for each individual server.
69
+* Added a combobox that lets you select the level of profanity filtering your
70
+  ICS preforms on incomming messages.
71
+  ( Settings->Configure Knights->Chess Servers->Options->Profanity Filter )
72
+- Knights should now correctly use the "Clock Ticking" and "Lag Compensation"
73
+  data sent to it by FICS.
74
+* Added support for movelist retrieval from ICS ( experimental )
75
+- Fixed Knights' parsing of Recursive Annotation Variations. RAVs embedded
76
+  within one another are now recognised and kept track of.
77
+- Fixed the display of Numerical Annotation Glyphs
78
+* Added support for proposed NAGs #140-154 and #190-195
79
+- After loading a completed match, Knights now stops the clock and displays an
80
+  appropriate message on the Status Bar.
81
+* Knights now fills out the "Mode" PGN tag when it knows the correct value.
82
+- Fixed a bug where Knights looked for the "root" entry in a chessman
83
+  theme.conf rather than "rook".
84
+* Knights now reads and uses the Notation Coordinate Colors specified within
85
+  theme.conf files.
86
+- Fixed the time read from saved, unfinished PGN games.
87
+* Moved the "Seconds Between Seek Updates" and "Auto Close Last ICS" options
88
+  from the General Settings to the Server Options tab.
89
+- Rewrote the engine communications code to use KDE's KProcess instead of UNIX
90
+  pipes and signals. This should make Knights more portable, and should fix
91
+  some obscure errors.
92
+* Applied KDE3 compatability patch from Harald Fernengel
93
+- Made internal changes to the shutdown procedure. (KDE3)
94
+- Made internal changes to the console's stylesheet. (KDE3)
95
+* Made some minor changes with layout spacing.
96
+- Fixed the Status Bar so that it's alignment is automatic, based on the
97
+  current language.
98
+* Replaced the Default Board's 'Highlight' graphics with new images that
99
+  show off KDE3's true alpha-channel support. ( Blatant eye-candy, yum )
100
+- Disabled the back button in the Setup Wizard's last page so you can't go back
101
+  and set everything up multiple times.
102
+* When examining a match, manipulating the Notation List will now move you
103
+  back and forth through the match.
104
+* Moving the mouse wheel will now navigate the Notation List.
105
+* Added "Player History" to the right-click menu in the Sought Games List.
106
+- Fixed that annoying Console 'jump' you got whenever a match began.
107
+- Fixed the coloring of t-shouts and says.
108
+* You can now continue to drag your chessman even after your opponent has moved
109
+* The 'Show Last Move' option now uses the 'Movement' highlight to display the
110
+  appropriate positions. If a chessman was attacked as a part of the previous
111
+  move, then that position is shown with the 'Attack' highlight.
112
+* When you preform a 'Premove', it will be represented on the board using
113
+  transparent chessmen, rather than the old way ( which was represented with
114
+  nothing =).
115
+* You can now preform premoves during a match vs. a computer opponent.
116
+* Left clicking anywhere on the board will cancel a premove.
117
+* Added the "Assess" option to the right-click menu in the Sought Games List.
118
+* Improved handling of Disconnections during ICS play. Also improved handling
119
+  of "Illegal Move" messages.
120
+* "Play White" and "Play Black" menu options will now be disabled during an
121
+  ICS match.
122
+* Added the ability to Print the notation for the current Match.
123
+* Added translations to French, German, and Estonian.
124
+- Fixed shutdown crash that occured when console was still open.
125
+* Added 'Borders' to Chessboard themes.
126
+- Knights no longer requires OpenGL.
127
+* Added 'busy' cursor when waiting for opponent to move.
128
+* Added the "Bowron Abernethy Chess Engine" to the list of autodetected
129
+  engines in the Setup Wizard.
130
+- Fixed a bug in the Challenge Dialog Box that scrambled match parameters.
131
+* Expanded 'Notification' coloring.
132
+
133
+Knights 0.5.4.1 -- Wednesday February 6th, 2002
134
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
135
+
136
+* Changed version to 0.5.4.1
137
+- Fixed critical error which disabled your ability to capture pieces.
138
+
139
+Knights 0.5.4 -- Monday February 4th, 2002
140
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
141
+
142
+* Changed version to 0.5.4
143
+* All matches now use the same image cache, rather than creating it's own.
144
+  This will save you 2 meg of memory per concurrent match.
145
+- Fixed a bug which prevented some castling.
146
+* Added the 'Resign' option. ( Match->Resign )
147
+* Knights now automatically adjusts the display depending on which army you're
148
+  playing. If you're black, it will be displayed on the bottom. Of course, the
149
+  option 'Reverse Board Orientation' reverses this effect: the local player's
150
+  army will be displayed at the top.
151
+- Fixed problem with the display of the clocks while playing over an ICS.
152
+- Fixed a bug where Knights will send the resign command to an ICS whenever
153
+  an ICS match is closed. Now, resign is never sent to ICS unless you tell
154
+  Knights to do so.
155
+- If your opponent on ICS resigns, Knights now handles it properly.
156
+- Knights now writes the correct result of a resigned game in .pgn files.
157
+* Knights now fills out the PlayerType and Termination .pgn tags when it knows
158
+  the correct value.
159
+* Implemented "drag & drop" movement of chessmen.
160
+* Streamlined a lot of drawing code, making some operations ( like "Reverse
161
+  Board Orientation" ) much faster
162
+* Added initial support for examining games via ICS.
163
+* Added SOUND! ( Settings->Configure Knights->Audio )
164
+* Optimized various bits of ICS code
165
+* You can now call your opponent's flag ( Match->Call Flag )
166
+- Fixed some bugs concerning ambiguous SAN notation
167
+* Increased the width of the clock displays, making them more readable with
168
+  smaller boards.
169
+* Added an option to automatically close the previous ICS match when you
170
+  begin a new one. ( Settings->Configure Knights->General->Automatically
171
+  Close Previous ICS Match )
172
+* Knights can now begin with a match vs PC open, or it can begin connecting
173
+  to your ICS. ( Settings->Configure Knights->General->When Knights Begins
174
+  It Should: )
175
+* Added Premove support. ( Settings->Configure Knights->Chess Servers->
176
+  Options->enable Premove )
177
+* Added checkboxes for ICS Shouts, Unregistered Tells, Kibitzes, Seeks, and
178
+  Private Matches. ( Settings->Configure Knights->Chess Servers->Options )
179
+- Fixed the "Reject Draw" option for ICS games.
180
+- Fixed a bug where Channel Reply didn't work when the last channel message
181
+  came from an unregistered user.
182
+* The menu option "Match->Reverse Board Orientation F2" has been renamed to
183
+  "Match->Flip Board F2". This option now works independently of the original
184
+  option ( Settings->Configure Knights->Display->Reverse Board Orientation" ).
185
+  Where the original option effects every board ( and is saved between
186
+  sessions ), this new Match Menu option effects only the current match, and
187
+  is not saved in any way.
188
+* Now when you're challenged in ICS, a dialog will pop up with the details of
189
+  the challenge. From here you can accept or decline, or change the parameters
190
+  and make a counter offer.
191
+* Added a patch from Harald Fernengel that makes Knights compatable with KDE3.
192
+- Fixed bug where new ICS games began with garbage highlights.
193
+- Fixed a bug which disabled en Passant moves via ICS game.
194
+* Added extra error messages to detect theme loading problems.
195
+
196
+Knights 0.5.1 -- Friday December 21st, 2001
197
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
198
+
199
+- Fixed a compile bug for Tru64 users
200
+- Fixed a bug introduced in 0.5 that made all play over ICS impossible
201
+- Fixed a bug where Knights counted the opening position in an ICS match
202
+  as a move.
203
+- Fixed another ICS related bug where moves you made, which ICS echos back,
204
+  were counted twice.
205
+- Fixed yet another bug. This one wrote SAN for a pawn's captures in a way which
206
+  was incompatible with other programs.
207
+
208
+Knights 0.5 -- Monday December 17th, 2001
209
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
210
+
211
+* Changed version to 0.5
212
+- Some distros had a problem compiling 2 lines of the documentation. This
213
+  has been fixed.
214
+- Fixed a bug where recieving a position for a game we don't know about caused
215
+  Knights to crash.
216
+- Fixed a bug where Knights did not notify ICS when a game was closed.
217
+- In ICS matches where the local player was black, the chessmen were displayed
218
+  on the wrong coordinates on the board, making the match unplayable. This has
219
+  been fixed.
220
+- Incomming clock times from ICS matches where divided by 10, making a 2 minute
221
+  clock look like 12 seconds. This has been fixed.
222
+* Buffered the output of the Sought Games List to help remove the
223
+  "flashing" effect.
224
+- Fixed the ability to review games on an ICS.
225
+* Added ability to read .pgn files that contain multiple matches. Knights will
226
+  display a summary of the matches in a new window, and you simply click ( or
227
+  double-click based on your global KDE settings ) on a match to review it.
228
+- The Sought Games List required a double click to accept a match, regardless
229
+  of your global KDE preferences. This has been fixed.
230
+* Knights can now append all your saved games to a single .pgn file.
231
+* Added the "Accept Match", "Tell...", "Finger", and "Add to Friends List"
232
+  options to the Sought Games List right click menu.
233
+* Added "Reverse Board Orientation" option to the Match menu thanks to a patch
234
+  from Kunnar Klauks.
235
+- Knights now closes the connection to the ICS when you close the console.
236
+- Fixed a bug where a pawn promotion in a loaded game would prompt you to
237
+  choose the promotion.
238
+- Fixed the phantom button bug which could occur if you closed matches
239
+  out of sequence.
240
+* Added support for the XBoard commands "telluser" and "tellusererror".
241
+- Did some minor code cleanup throughout the project.
242
+
243
+Knights 0.4.9 -- Tuesday December 4th, 2001
244
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
245
+
246
+- Changed version number to 0.4.9
247
+* Added option to disable the splash screen
248
+* Added configuration for internet servers
249
+* The Game menu is now the File menu, and the Opponent menu is now the Match
250
+  menu.
251
+- The new game menu now dynamically enables or disables game types based on
252
+  your configuration. So, if you don't have any chess engines configured, you
253
+  can't play a vs. PC or PC vs PC game. Likewise for internet play and server
254
+  configuration.
255
+* Added the Console... which handles sending and receiving messages via chess
256
+  server, and any other online transactions that don't occur Over the Board.
257
+* Added "High Quality" mode, which displays a much smoother chessboard with
258
+  very little pixelation... even at the smallest board sizes. However, there
259
+  is a noticeable speed tradeoff.
260
+* Added a 2Meg cache which greatly offsets much of the speed loss in High
261
+  Quality mode ( At least on my 600 it does ). Still not as fast as regular,
262
+  which should be fine for lower-end machines.
263
+- Knights now displays an error message when you try playing with a bad book
264
+  engine configuration.
265
+- Fixed bug where Knights couldn't read a move from a .pgn file if it was the
266
+  last token on the line.
267
+* Knights will now read themes from two locations... The system-wide themes
268
+  directory ( usually /usr/share/apps/knights/themes ) and the media directory
269
+  so you can run Knights without installing it ( ../media )
270
+* Added the 'Ponder' option to the Opponent menu.
271
+* Added the 'Show Last Move' option to the Settings menu.
272
+* Added 'Pause/Resume' functions to the Game menu.
273
+* Separated themes into two - a board theme and a chessman theme.
274
+- Removed the Green Marble theme from the Knights distro.
275
+* Created the ThemePack distro. All themes ( except default ) will go here.
276
+- Fixed the 'Reverse Orientation' option... it now displays correctly.
277
+* Extended Knights' document handling to act like you would expect it: It
278
+  remembers URLs ( to resave, or save a loaded game ), and prompts whenever
279
+  an unsaved game is about to be destroyed.
280
+* Expanded .pgn support to include multiple games per file and propper
281
+  parsing of comments.
282
+* Added application/pgn mimetype
283
+* Knights now connects to FICS and will play chess there.
284
+* Added ALT-R to reply to the last private tell you recieved.
285
+* Added ALT-C to chat on the last channel you recieved a message on.
286
+* Knights now supports multiple matches at once.
287
+* Knights will now default Pawn Promotions to Queen if the user does not
288
+  select one.
289
+* Added ability to Retract or Undo a move while playing against an engine.
290
+* Added a "Install Themes" function in the Settings.
291
+* Added ability to modify the key bindings.
292
+* Added a setup wizard to get new users up and running faster.
293
+* Too many minor changes to document.
294
+
295
+Knights 0.4.6 -- Wednesday August 15th, 2001
296
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
297
+
298
+- Changed version to 0.4.6
299
+* Added en passant moves.
300
+* Added rules for 50 move rule.
301
+* Added rules for forced draws. ( 10.3 & 10.4 of F.I.D.E. Laws of Chess )
302
+* Knights now sends time & otim to engines that want it.
303
+- Fixed bug where Knights interpreted messages during a game into feature
304
+  commands. This occurred while playing Crafty. It sent "time control" during a
305
+  match, which Knights interpreted as "feature time=0" due to the way Knights
306
+  parses engine data as space separated tokens. A Timer was added to engineio
307
+  which keeps any feature commands from comming through after an initial two
308
+  seconds. This will probably become a problem again, however, and I should
309
+  look into making Knights read engine data as full lines rather than space
310
+  separated tokens.
311
+- Fixed bug where internal records, and therefore PGN output, did not reflect
312
+  engine names properly when the feature myname was used. Now internal
313
+  records are not initiated until after the engines have initiated.
314
+- Fixed bug where the last move of a game could result in an Illegal Move
315
+  error being printed on the status bar.
316
+* Knights now recognizes all PGN Tags.
317
+* Loaded games will now be displayed as it loads.
318
+* Added command line option -d <path> for specifying Knights' data directory
319
+- Fixed bug where the king could castle even after he moved
320
+- v 0.4.5 broke the Promotion Selection Dialog. It is now fixed.
321
+* Selecting previous moves from the notation combobox will let you review
322
+  the game. If someone makes a move while you're reviewing, you are returned
323
+  to the current position.
324
+* The up and down arrow keys will cycle you through your game's history.
325
+- You should now be able to continue a game if the engine thinks you've made
326
+  an illegal move.
327
+* Added "Force Move" command to force a computer opponent to make a move.
328
+* Added "Offer Draw" command to offer a draw to your opponent.
329
+* Experimental support for Book Engines
330
+- Fixed FEATURE delay for XBoard compatible engines
331
+- Fixed a bug where new installs had to create two engines and switch them once
332
+  before any engines would load.
333
+* Added "Reverse Board Orientation" option which, well, reverses the board's
334
+  orientation. =)
335
+* Added first draft of documentation.
336
+- Fixed minor bug in XBoard protocol's alternative move command
337
+- Fixed other minor XBoard compliance issues
338
+- Confirmed that KnightCap works with Knights
339
+- Confirmed that Sjeng works with Knights
340
+- Consolidated entries for GNUChess v4, XBoard v1, XBoard v2, and XBoard v3
341
+  protocols into XBoard
342
+* Engine configurator now sorts the engine list
343
+- Other minor tweaks that I can't remember
344
+
345
+Knights 0.4.5 -- Sunday July 29th, 2001
346
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
347
+
348
+* Re-rendered graphics
349
+* graphics are scalable... 14 different board sizes per theme
350
+* Themes now stored in tarballs
351
+* Knights recognizes and accepts most XBoard version 2 Features
352
+* Crafty v18.9 is confirmed to work!
353
+
354
+Knights 0.4.4 -- Friday July 20th, 2001
355
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
356
+
357
+* enabled engine setup from Settings
358
+* enabled engine vs. engine games
359
+* Knights now recognizes true time control periods
360
+* enabled playing as the black army
361
+* added work on supporting book engines
362
+* minor changes to the main interface
363
+
364
+Knights 0.4.2 -- Tuesday July 17th, 2001
365
+Troy Corbin Jr. <tcorbin@users.sourceforge.net>
366
+
367
+* Initial public offering via CVS
368
+
369
+

+ 26
- 0
INSTALL View File

@@ -0,0 +1,26 @@
1
+Dependencies:
2
+-------------
3
+
4
+- Qt 3.x
5
+- KDE 3.x
6
+- Autoconf 2.5
7
+- Automake 1.6
8
+
9
+You'll also need to have your $KDEDIR environment variable set correctly.
10
+
11
+
12
+Installing from Tarball Distribution:
13
+-------------------------------------
14
+
15
+	Type:		./configure
16
+			make
17
+			make install
18
+
19
+
20
+Installing from CVS:
21
+--------------------
22
+
23
+	Type:		make -f Makefile.dist
24
+			./configure
25
+			make
26
+			make install

+ 54
- 0
Makefile.am View File

@@ -0,0 +1,54 @@
1
+####### kdevelop will overwrite this part!!! (begin)##########
2
+
3
+SUBDIRS = admin doc knights media po 
4
+
5
+####### kdevelop will overwrite this part!!! (end)############
6
+# not a GNU package. You can remove this line, if 
7
+# have all needed files, that a GNU package needs
8
+AUTOMAKE_OPTIONS = foreign 
9
+
10
+$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
11
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;
12
+
13
+$(top_srcdir)/subdirs:
14
+	cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs
15
+
16
+$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
17
+	@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4
18
+
19
+MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files 
20
+
21
+package-messages:
22
+	$(MAKE) -f admin/Makefile.common package-messages
23
+	$(MAKE) -C po merge
24
+
25
+dist-hook:
26
+	cd $(top_distdir) && perl admin/am_edit -padmin
27
+	cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs
28
+
29
+rpm_prep: doc clean distclean-generic ${PACKAGE}.spec
30
+	rm -R -f /tmp/${PACKAGE}-@RPM_VERSION@
31
+	mkdir -p /tmp/${PACKAGE}-@RPM_VERSION@
32
+	(cd ${srcdir} ; cp -R -a ./* /tmp/${PACKAGE}-@RPM_VERSION@ )
33
+	(cd /tmp/ ; \
34
+	touch ${PACKAGE}-@RPM_VERSION@/doc/help_{en,de,fr,et}.docbook ; \
35
+	find ${SRC_PREFIX}-@RPM_VERSION@ -name CVS > \
36
+		/tmp/${PACKAGE}-tar-excludes.lst ; \
37
+	find ${SRC_PREFIX}-@RPM_VERSION@ -name Makefile \
38
+		-o -name Makefile.in >> \
39
+		/tmp/${PACKAGE}-tar-excludes.lst ; \
40
+	echo "${SRC_PREFIX}-@RPM_VERSION@/doc/api" >> \
41
+		/tmp/${PACKAGE}-tar-excludes.lst ; \
42
+	tar --exclude-from=/tmp/${PACKAGE}-tar-excludes.lst \
43
+		-chzf ${PACKAGE}-@RPM_VERSION@.tar.gz \
44
+		${SRC_PREFIX}-@RPM_VERSION@ ; \
45
+	rm -f /tmp/${PACKAGE}-tar-excludes.lst )
46
+	rm -R -f /tmp/${PACKAGE}-@RPM_VERSION@
47
+
48
+# does not work with original SuSE-6.4 rpm
49
+# you will need an update of the rpm package !
50
+rpm: rpm_prep
51
+	rpm -ta /tmp/${PACKAGE}-@RPM_VERSION@.tar.gz
52
+
53
+src.rpm: rpm_prep
54
+	rpm -ts /tmp/${PACKAGE}-@RPM_VERSION@.tar.gz

+ 14
- 0
Makefile.dist View File

@@ -0,0 +1,14 @@
1
+all: 
2
+	@echo "This Makefile is only for the CVS repository"
3
+	@echo "This will be deleted before making the distribution"
4
+	@echo ""
5
+	@if test ! -d admin; then \
6
+	   echo "Please recheckout this module!" ;\
7
+	   echo "for cvs: use checkout once and after that update again" ;\
8
+	   echo "for cvsup: checkout kde-common from cvsup and" ;\
9
+	   echo "   link kde-common/admin to ./admin" ;\
10
+	   exit 1 ;\
11
+	fi
12
+	$(MAKE) -f admin/Makefile.common cvs
13
+
14
+.SILENT:

+ 44
- 0
README View File

@@ -0,0 +1,44 @@
1
+Knights - A chess interface for the K Desktop Environment
2
+
3
+FOR INSTALLATION INSTRUCTIONS, SEE THE "INSTALL" FILE
4
+
5
+- What Is Knights?
6
+
7
+Knights is a graphical chess interface designed to work with KDE. Knights
8
+is called a chess 'interface' because it does not come with it's own computer
9
+players. There are several very good computer players ( Chess Engines )
10
+already. Unfortunatly, most chess engines do not include fully featured GUIs.
11
+Instead, they rely on other programs ( like Knights ) to fill the gap.
12
+
13
+- How can I learn more about Knights?
14
+
15
+If you're interested in learning more, you should visit our project's website
16
+at http://knights.sourceforge.net
17
+
18
+- What Chess Engines work with Knights?
19
+
20
+Knights should support any engine which uses the XBoard protocol developed by
21
+Tim Mann. Knights will also offer it's own protocol for future use. To date,
22
+the following chess engines have been confirmed to work with Knights. If you
23
+know of another, please let me know so I can update this list.
24
+
25
+	- GNUChess v4.0 patchlevel 80
26
+	- GNUChess v5.02
27
+	- Crafty v18.09
28
+	- Crafty v18.10
29
+	- KnightCap v3.3
30
+	- Sjeng v10.0
31
+	- BabyChess
32
+
33
+- What can I do to help Knights?
34
+
35
+Knights can always use help in a number of areas. The best way to get started
36
+would be to express your interests on the knights-devel mailing list. You can
37
+sign up from here:
38
+
39
+	http://sourceforge.net/mail/?group_id=31461
40
+
41
+Currently, we're very interested in talking to a graphics artist about
42
+designing some new themes, and we would like to talk to some advanced
43
+chess players about helping to develop the tutorials.
44
+

+ 48
- 0
TODO View File

@@ -0,0 +1,48 @@
1
+Knights TODO version 0.6
2
+
3
+- Server Selector in dlg_logic
4
+
5
+- Bughouse/Crazyhouse Support
6
+
7
+     o Add support for multiple boards viewed at once
8
+
9
+          - Convert the Main Window to use the TabManager
10
+
11
+               o Must find a way to replicate the top-menu
12
+
13
+               o Must move most of the knights class into the match class
14
+
15
+                    - Time to remove the knights class completely?!?!?!?
16
+
17
+               o Umm.. is the main window going to look OK with the menu BELOW the tabGrip and close button?
18
+
19
+               o We can remove the thinbutton class
20
+
21
+               o Must make game boards dynamically resizeable
22
+
23
+                    - Resizing is slow. How can we speed this up?
24
+
25
+     o Add support for a 'sideboard' which displays waiting chessmen
26
+
27
+          - Must use TabManager tabs
28
+
29
+               o Resizing will be slow. We must find a way to speed up resizing.
30
+
31
+- Add scratchboard support
32
+
33
+     o Must replace match's right-click code with a pop-up menu
34
+       or context sensitive actions
35
+
36
+- Implement io_email
37
+
38
+- Implement 'Online Player' option in New Match Dialog
39
+
40
+     o If player is not online at the time, begin connecting
41
+
42
+     o Once online, begin seeking a match w/ time controls set in New Match dialog
43
+
44
+- Implement audio speech which follows teh action on the board
45
+
46
+     o Must find someone with a great voice. :-)
47
+
48
+- Support hyperlinks in the console

+ 10775
- 0
acinclude.m4
File diff suppressed because it is too large
View File


+ 11308
- 0
aclocal.m4
File diff suppressed because it is too large
View File


+ 1516
- 0
config.guess
File diff suppressed because it is too large
View File


+ 169
- 0
config.h.in View File

@@ -0,0 +1,169 @@
1
+/* config.h.in.  Generated from configure.in by autoheader.  */
2
+
3
+/* Define if you have the CoreAudio API */
4
+#undef HAVE_COREAUDIO
5
+
6
+/* Define to 1 if you have the <crt_externs.h> header file. */
7
+#undef HAVE_CRT_EXTERNS_H
8
+
9
+/* Defines if your system has the crypt function */
10
+#undef HAVE_CRYPT
11
+
12
+/* Define to 1 if you have the <dlfcn.h> header file. */
13
+#undef HAVE_DLFCN_H
14
+
15
+/* Define to 1 if you have the <inttypes.h> header file. */
16
+#undef HAVE_INTTYPES_H
17
+
18
+/* Define if you have libjpeg */
19
+#undef HAVE_LIBJPEG
20
+
21
+/* Define if you have libpng */
22
+#undef HAVE_LIBPNG
23
+
24
+/* Define if you have a working libpthread (will enable threaded code) */
25
+#undef HAVE_LIBPTHREAD
26
+
27
+/* Define if you have libz */
28
+#undef HAVE_LIBZ
29
+
30
+/* Define to 1 if you have the <memory.h> header file. */
31
+#undef HAVE_MEMORY_H
32
+
33
+/* Define if your system needs _NSGetEnviron to set up the environment */
34
+#undef HAVE_NSGETENVIRON
35
+
36
+/* Define to 1 if you have the <pthread/linuxthreads/pthread.h> header file.
37
+   */
38
+#undef HAVE_PTHREAD_LINUXTHREADS_PTHREAD_H
39
+
40
+/* Define if you have the res_init function */
41
+#undef HAVE_RES_INIT
42
+
43
+/* Define to 1 if you have the `snprintf' function. */
44
+#undef HAVE_SNPRINTF
45
+
46
+/* Define to 1 if you have the <stdint.h> header file. */
47
+#undef HAVE_STDINT_H
48
+
49
+/* Define to 1 if you have the <stdlib.h> header file. */
50
+#undef HAVE_STDLIB_H
51
+
52
+/* Define to 1 if you have the <strings.h> header file. */
53
+#undef HAVE_STRINGS_H
54
+
55
+/* Define to 1 if you have the <string.h> header file. */
56
+#undef HAVE_STRING_H
57
+
58
+/* Define to 1 if you have the <sys/stat.h> header file. */
59
+#undef HAVE_SYS_STAT_H
60
+
61
+/* Define to 1 if you have the <sys/types.h> header file. */
62
+#undef HAVE_SYS_TYPES_H
63
+
64
+/* C++ compiler supports template repository */
65
+#undef HAVE_TEMPLATE_REPOSITORY
66
+
67
+/* Define to 1 if you have the <unistd.h> header file. */
68
+#undef HAVE_UNISTD_H
69
+
70
+/* Define to 1 if you have the `vsnprintf' function. */
71
+#undef HAVE_VSNPRINTF
72
+
73
+/* Define if you want Xinerama support */
74
+#undef HAVE_XINERAMA
75
+
76
+/* Suffix for lib directories */
77
+#undef KDELIBSUFF
78
+
79
+/* Name of package */
80
+#undef PACKAGE
81
+
82
+/* Define to the address where bug reports for this package should be sent. */
83
+#undef PACKAGE_BUGREPORT
84
+
85
+/* Define to the full name of this package. */
86
+#undef PACKAGE_NAME
87
+
88
+/* Define to the full name and version of this package. */
89
+#undef PACKAGE_STRING
90
+
91
+/* Define to the one symbol short name of this package. */
92
+#undef PACKAGE_TARNAME
93
+
94
+/* Define to the version of this package. */
95
+#undef PACKAGE_VERSION
96
+
97
+/* The size of a `char', as computed by sizeof. */
98
+#undef SIZEOF_CHAR
99
+
100
+/* The size of a `char *', as computed by sizeof. */
101
+#undef SIZEOF_CHAR_P
102
+
103
+/* The size of a `int', as computed by sizeof. */
104
+#undef SIZEOF_INT
105
+
106
+/* The size of a `long', as computed by sizeof. */
107
+#undef SIZEOF_LONG
108
+
109
+/* Define to 1 if you have the ANSI C header files. */
110
+#undef STDC_HEADERS
111
+
112
+/* Version number of package */
113
+#undef VERSION
114
+
115
+/*
116
+ * jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
117
+ * headers and I'm too lazy to write a configure test as long as only
118
+ * unixware is related
119
+ */
120
+#ifdef _UNIXWARE
121
+#define HAVE_BOOLEAN
122
+#endif
123
+
124
+
125
+
126
+/*
127
+ * AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
128
+ * that defines bzero.
129
+ */
130
+
131
+#if defined(_AIX)
132
+#include <strings.h>
133
+#endif
134
+
135
+
136
+
137
+/*
138
+ * On HP-UX, the declaration of vsnprintf() is needed every time !
139
+ */
140
+
141
+#if !defined(HAVE_VSNPRINTF) || defined(hpux)
142
+#if __STDC__
143
+#include <stdarg.h>
144
+#include <stdlib.h>
145
+#else
146
+#include <varargs.h>
147
+#endif
148
+#ifdef __cplusplus
149
+extern "C"
150
+#endif
151
+int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
152
+#ifdef __cplusplus
153
+extern "C"
154
+#endif
155
+int snprintf(char *str, size_t n, char const *fmt, ...);
156
+#endif
157
+
158
+
159
+
160
+#if defined(__SVR4) && !defined(__svr4__)
161
+#define __svr4__ 1
162
+#endif
163
+
164
+
165
+/* Compatibility define */
166
+#undef ksize_t
167
+
168
+/* Define the real type of socklen_t */
169
+#undef socklen_t

+ 300
- 0
config.log View File

@@ -0,0 +1,300 @@
1
+This file contains any messages produced by compilers while
2
+running configure, to aid debugging if configure makes a mistake.
3
+
4
+It was created by configure, which was
5
+generated by GNU Autoconf 2.57.  Invocation command line was
6
+
7
+  $ ./configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --enable-libsuffix --disable-debug --disable-rpath --sysconfdir=/etc --includedir=/opt/kde3/include/kde --infodir=/opt/kde3/share/info --mandir=/opt/kde3/share/man --with-qt-dir=/usr/share/qt3 --prefix=/opt/kde3 --with-extra-libs=/opt/kde3/lib
8
+
9
+## --------- ##
10
+## Platform. ##
11
+## --------- ##
12
+
13
+hostname = argus4
14
+uname -m = x86_64
15
+uname -r = 2.6.31-16-generic
16
+uname -s = Linux
17
+uname -v = #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009
18
+
19
+/usr/bin/uname -p = unknown
20
+/bin/uname -X     = unknown
21
+
22
+/bin/arch              = unknown
23
+/usr/bin/arch -k       = unknown
24
+/usr/convex/getsysinfo = unknown
25
+hostinfo               = unknown
26
+/bin/machine           = unknown
27
+/usr/bin/oslevel       = unknown
28
+/bin/universe          = unknown
29
+
30
+PATH: /opt/kde3/bin
31
+PATH: /opt/kde3/games
32
+PATH: /opt/kde3/bin
33
+PATH: /home/eldarion/bin
34
+PATH: /usr/local/sbin
35
+PATH: /usr/local/bin
36
+PATH: /usr/sbin
37
+PATH: /usr/bin
38
+PATH: /sbin
39
+PATH: /bin
40
+PATH: /usr/games
41
+
42
+
43
+## ----------- ##
44
+## Core tests. ##
45
+## ----------- ##
46
+
47
+configure:1509: checking build system type
48
+configure:1527: result: x86_64-pc-linux-gnu
49
+configure:1535: checking host system type
50
+configure:1549: result: x86_64-pc-linux-gnu
51
+configure:1557: checking target system type
52
+configure:1571: result: x86_64-pc-linux-gnu
53
+configure:1616: checking for a BSD-compatible install
54
+configure:1670: result: /usr/bin/install -c
55
+configure:1685: checking for -p flag to install
56
+configure:1698: result: yes
57
+configure:1709: checking whether build environment is sane
58
+
59
+## ---------------- ##
60
+## Cache variables. ##
61
+## ---------------- ##
62
+
63
+ac_cv_build=x86_64-pc-linux-gnu
64
+ac_cv_build_alias=x86_64-linux-gnu
65
+ac_cv_env_CC_set=
66
+ac_cv_env_CC_value=
67
+ac_cv_env_CFLAGS_set=set
68
+ac_cv_env_CFLAGS_value='-Wall -g -O2'
69
+ac_cv_env_CPPFLAGS_set=set
70
+ac_cv_env_CPPFLAGS_value=
71
+ac_cv_env_CPP_set=
72
+ac_cv_env_CPP_value=
73
+ac_cv_env_CXXCPP_set=
74
+ac_cv_env_CXXCPP_value=
75
+ac_cv_env_CXXFLAGS_set=set
76
+ac_cv_env_CXXFLAGS_value='-g -O2'
77
+ac_cv_env_CXX_set=
78
+ac_cv_env_CXX_value=
79
+ac_cv_env_LDFLAGS_set=set
80
+ac_cv_env_LDFLAGS_value=-Wl,-Bsymbolic-functions
81
+ac_cv_env_build_alias_set=set
82
+ac_cv_env_build_alias_value=x86_64-linux-gnu
83
+ac_cv_env_host_alias_set=set
84
+ac_cv_env_host_alias_value=x86_64-linux-gnu
85
+ac_cv_env_target_alias_set=
86
+ac_cv_env_target_alias_value=
87
+ac_cv_host=x86_64-pc-linux-gnu
88
+ac_cv_host_alias=x86_64-linux-gnu
89
+ac_cv_path_install='/usr/bin/install -c'
90
+ac_cv_target=x86_64-pc-linux-gnu
91
+ac_cv_target_alias=x86_64-linux-gnu
92
+
93
+## ----------------- ##
94
+## Output variables. ##
95
+## ----------------- ##
96
+
97
+ACLOCAL=''
98
+AMDEPBACKSLASH=''
99
+AMDEP_FALSE=''
100
+AMDEP_TRUE=''
101
+AMTAR=''
102
+ARTSCCONFIG=''
103
+AUTOCONF=''
104
+AUTODIRS=''
105
+AUTOHEADER=''
106
+AUTOMAKE=''
107
+AWK=''
108
+CC=''
109
+CCDEPMODE=''
110
+CFLAGS='-Wall -g -O2'
111
+CONF_FILES=''
112
+CPP=''
113
+CPPFLAGS=''
114
+CXX=''
115
+CXXCPP=''
116
+CXXDEPMODE=''
117
+CXXFLAGS='-g -O2'
118
+DCOPIDL2CPP=''
119
+DCOPIDL=''
120
+DCOP_DEPENDENCIES=''
121
+DEFS=''
122
+DEPDIR=''
123
+ECHO='echo'
124
+ECHO_C=''
125
+ECHO_N='-n'
126
+ECHO_T=''
127
+EGREP=''
128
+EXEEXT=''
129
+FRAMEWORK_COREAUDIO=''
130
+GMSGFMT=''
131
+INSTALL_DATA='${INSTALL} -m 644'
132
+INSTALL_PROGRAM='${INSTALL} $(INSTALL_STRIP_FLAG)'
133
+INSTALL_SCRIPT='${INSTALL}'
134
+INSTALL_STRIP_PROGRAM=''
135
+KDECONFIG=''
136
+KDE_EXTRA_RPATH=''
137
+KDE_INCLUDES=''
138
+KDE_LDFLAGS=''
139
+KDE_MT_LDFLAGS=''
140
+KDE_MT_LIBS=''
141
+KDE_PLUGIN=''
142
+KDE_RPATH=''
143
+KDE_USE_CLOSURE_FALSE=''
144
+KDE_USE_CLOSURE_TRUE=''
145
+KDE_USE_FINAL_FALSE=''
146
+KDE_USE_FINAL_TRUE=''
147
+KDE_XSL_STYLESHEET=''
148
+LDFLAGS='-Wl,-Bsymbolic-functions'
149
+LIBCOMPAT=''
150
+LIBCRYPT=''
151
+LIBDL=''
152
+LIBJPEG=''
153
+LIBOBJS=''
154
+LIBPNG=''
155
+LIBPTHREAD=''
156
+LIBRESOLV=''
157
+LIBS=''
158
+LIBSM=''
159
+LIBSOCKET=''
160
+LIBTOOL=''
161
+LIBUCB=''
162
+LIBUTIL=''
163
+LIBXINERAMA=''
164
+LIBZ=''
165
+LIB_KAB=''
166
+LIB_KABC=''
167
+LIB_KDECORE=''
168
+LIB_KDEPRINT=''
169
+LIB_KDEUI=''
170
+LIB_KFILE=''
171
+LIB_KFM=''
172
+LIB_KHTML=''
173
+LIB_KIO=''
174
+LIB_KPARTS=''
175
+LIB_KSPELL=''
176
+LIB_KSYCOCA=''
177
+LIB_POLL=''
178
+LIB_QPE=''
179
+LIB_QT=''
180
+LIB_SMB=''
181
+LIB_X11=''
182
+LIB_XEXT=''
183
+LN_S=''
184
+LTLIBOBJS=''
185
+MAKEINFO=''
186
+MCOPIDL=''
187
+MEINPROC=''
188
+MOC=''
189
+MSGFMT=''
190
+NOOPT_CFLAGS=''
191
+NOOPT_CXXFLAGS=''
192
+NOREPO=''
193
+OBJEXT=''
194
+PACKAGE=''
195
+PACKAGE_BUGREPORT=''
196
+PACKAGE_NAME=''
197
+PACKAGE_STRING=''
198
+PACKAGE_TARNAME=''
199
+PACKAGE_VERSION=''
200
+PATH_SEPARATOR=':'
201
+QTE_NORTTI=''
202
+QT_INCLUDES=''
203
+QT_LDFLAGS=''
204
+RANLIB=''
205
+REPO=''
206
+SET_MAKE=''
207
+SHELL='/bin/bash'
208
+STRIP=''
209
+TOPSUBDIRS=''
210
+UIC=''
211
+UIC_TR=''
212
+USER_INCLUDES=''
213
+USER_LDFLAGS=''
214
+USE_EXCEPTIONS=''
215
+USE_RTTI=''
216
+USE_THREADS=''
217
+VERSION=''
218
+WOVERLOADED_VIRTUAL=''
219
+XGETTEXT=''
220
+X_EXTRA_LIBS=''
221
+X_INCLUDES=''
222
+X_LDFLAGS=''
223
+X_PRE_LIBS=''
224
+ac_ct_CC=''
225
+ac_ct_CXX=''
226
+ac_ct_RANLIB=''
227
+ac_ct_STRIP=''
228
+all_includes=''
229
+all_libraries=''
230
+am__include=''
231
+am__quote=''
232
+bindir='${exec_prefix}/bin'
233
+build='x86_64-pc-linux-gnu'
234
+build_alias='x86_64-linux-gnu'
235
+build_cpu='x86_64'
236
+build_os='linux-gnu'
237
+build_vendor='pc'
238
+datadir='${prefix}/share'
239
+exec_prefix='NONE'
240
+host='x86_64-pc-linux-gnu'
241
+host_alias='x86_64-linux-gnu'
242
+host_cpu='x86_64'
243
+host_os='linux-gnu'
244
+host_vendor='pc'
245
+includedir='/opt/kde3/include/kde'
246
+infodir='/opt/kde3/share/info'
247
+install_sh=''
248
+kde_appsdir=''
249
+kde_bindir=''
250
+kde_confdir='/etc/kde3'
251
+kde_datadir=''
252
+kde_htmldir='/usr/share/doc/kde/HTML'
253
+kde_icondir=''
254
+kde_includes=''
255
+kde_libraries=''
256
+kde_libs_htmldir=''
257
+kde_libs_prefix=''
258
+kde_locale=''
259
+kde_mimedir=''
260
+kde_moduledir=''
261
+kde_qtver=''
262
+kde_servicesdir=''
263
+kde_servicetypesdir=''
264
+kde_sounddir=''
265
+kde_styledir=''
266
+kde_templatesdir=''
267
+kde_wallpaperdir=''
268
+kde_widgetdir=''
269
+libdir='${exec_prefix}/lib'
270
+libexecdir='${exec_prefix}/libexec'
271
+localstatedir='${prefix}/var'
272
+mandir='/opt/kde3/share/man'
273
+oldincludedir='/usr/include'
274
+prefix='/opt/kde3'
275
+program_transform_name='s,x,x,'
276
+qt_includes=''
277
+qt_libraries=''
278
+sbindir='${exec_prefix}/sbin'
279
+sharedstatedir='${prefix}/com'
280
+sysconfdir='/etc'
281
+target='x86_64-pc-linux-gnu'
282
+target_alias=''
283
+target_cpu='x86_64'
284
+target_os='linux-gnu'
285
+target_vendor='pc'
286
+x_includes='NONE'
287
+x_libraries='NONE'
288
+
289
+## ----------- ##
290
+## confdefs.h. ##
291
+## ----------- ##
292
+
293
+#define PACKAGE_BUGREPORT ""
294
+#define PACKAGE_NAME ""
295
+#define PACKAGE_STRING ""
296
+#define PACKAGE_TARNAME ""
297
+#define PACKAGE_VERSION ""
298
+
299
+configure: caught signal 2
300
+configure: exit 1

+ 1622
- 0
config.sub
File diff suppressed because it is too large
View File


+ 2
- 0
configure.files View File

@@ -0,0 +1,2 @@
1
+./admin/configure.in.min
2
+configure.in.in

+ 85
- 0
configure.in View File

@@ -0,0 +1,85 @@
1
+dnl    This file is part of the KDE libraries/packages
2
+dnl    Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
3
+ 
4
+dnl    This file is free software; you can redistribute it and/or
5
+dnl    modify it under the terms of the GNU Library General Public
6
+dnl    License as published by the Free Software Foundation; either
7
+dnl    version 2 of the License, or (at your option) any later version.
8
+ 
9
+dnl    This library is distributed in the hope that it will be useful,
10
+dnl    but WITHOUT ANY WARRANTY; without even the implied warranty of
11
+dnl    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12
+dnl    Library General Public License for more details.
13
+ 
14
+dnl    You should have received a copy of the GNU Library General Public License
15
+dnl    along with this library; see the file COPYING.LIB.  If not, write to
16
+dnl    the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
17
+dnl    Boston, MA 02110-1301, USA.
18
+
19
+# Original Author was Kalle@kde.org
20
+# I lifted it in some mater. (Stephan Kulow)
21
+# I used much code from Janos Farkas
22
+
23
+dnl Process this file with autoconf to produce a configure script.
24
+
25
+AC_INIT(acinclude.m4) dnl a source file from your sub dir
26
+
27
+dnl This is so we can use kde-common
28
+AC_CONFIG_AUX_DIR(admin)
29
+
30
+dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
31
+unset CDPATH
32
+
33
+dnl Checking host/target/build systems, for make, install etc.
34
+AC_CANONICAL_SYSTEM 
35
+dnl Perform program name transformation
36
+AC_ARG_PROGRAM
37
+
38
+dnl Automake doc recommends to do this only here. (Janos)
39
+AM_INIT_AUTOMAKE(knights, 0.6) dnl searches for some needed programs
40
+
41
+KDE_SET_PREFIX
42
+
43
+dnl generate the config header
44
+AM_CONFIG_HEADER(config.h) dnl at the distribution this done
45
+
46
+dnl Checks for programs.
47
+AC_CHECK_COMPILERS
48
+AC_ENABLE_SHARED(yes)
49
+AC_ENABLE_STATIC(no)
50
+KDE_PROG_LIBTOOL
51
+
52
+dnl for NLS support. Call them in this order!
53
+dnl WITH_NLS is for the po files
54
+AM_KDE_WITH_NLS
55
+
56
+KDE_USE_QT(3.0.0)
57
+AC_PATH_KDE
58
+#MIN_CONFIG(3.0.0)
59
+
60
+dnl PACKAGE set before
61
+AC_PREREQ(2.5)
62
+
63
+KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(meinproc)])
64
+AC_SUBST(MEINPROC)
65
+
66
+KDE_CREATE_SUBDIRSLIST
67
+AC_CONFIG_FILES([ Makefile ])
68
+AC_CONFIG_FILES([ admin/Makefile ])
69
+AC_CONFIG_FILES([ doc/Makefile ])
70
+AC_CONFIG_FILES([ knights/Makefile ])
71
+AC_CONFIG_FILES([ media/Makefile ])
72
+AC_CONFIG_FILES([ po/Makefile ])
73
+AC_OUTPUT
74
+if test "$all_tests" = "bad"; then
75
+  if test ! "$cache_file" = "/dev/null"; then
76
+    echo ""    
77
+    echo "Please remove the file $cache_file after changing your setup"
78
+    echo "so that configure will find the changes next time."
79
+    echo ""
80
+  fi
81
+else
82
+  echo ""
83
+  echo "Good - your configure finished. Start make now"
84
+  echo ""
85
+fi

+ 8
- 0
configure.in.in View File

@@ -0,0 +1,8 @@
1
+#MIN_CONFIG(3.0.0)
2
+
3
+AM_INIT_AUTOMAKE(knights,0.6)
4
+AC_PREREQ(2.5)
5
+
6
+KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(meinproc)])
7
+AC_SUBST(MEINPROC)
8
+

+ 118
- 0
doc/Makefile.am View File

@@ -0,0 +1,118 @@
1
+####### kdevelop will overwrite this part!!! (begin)##########
2
+
3
+
4
+EXTRA_DIST = help_en.docbook help_fr.docbook 
5
+
6
+####### kdevelop will overwrite this part!!! (end)############
7
+
8
+MAINTAINERCLEANFILES = ./*.html
9
+CLEANFILES = core *~ .deps/* doc/*~ *.orig changes.docbook
10
+DISTCLEANFILES = Makefile.in Makefile
11
+
12
+LANGUAGES = en fr de et it fi es ru
13
+SUFFIXES = .docbook .po .pot
14
+SGMLDIR=$(kde_datadir)/ksgmltools2
15
+DOCDIR = $(DESTDIR)${kde_htmldir}
16
+XML2POT = xml2pot
17
+PO2XML = po2xml
18
+MSGMERGE = msgmerge
19
+
20
+
21
+help_en.pot: help_en.docbook
22
+	$(XML2POT) help_en.docbook > help_en.pot
23
+
24
+# --- translated docbook online help ---
25
+
26
+help_fr.po: help_en.pot
27
+	$(MSGMERGE) -o help_fr.po help_fr.po help_en.pot
28
+
29
+help_fr.docbook: help_en.docbook help_en.pot
30
+	${MAKE} help_fr.po
31
+	@echo "converting french help"
32
+	@ $(PO2XML) help_en.docbook help_fr.po | \
33
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ French\ /g \
34
+	> help_fr.docbook
35
+
36
+help_de.po: help_en.pot
37
+	$(MSGMERGE) -o help_de.po help_de.po help_en.pot
38
+
39
+help_de.docbook: help_en.docbook help_en.pot
40
+	${MAKE} help_de.po
41
+	@echo "converting german help"
42
+	@ $(PO2XML) help_en.docbook help_de.po | \
43
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ German\ /g \
44
+	> help_de.docbook
45
+
46
+help_et.po: help_en.pot
47
+	$(MSGMERGE) -o help_et.po help_et.po help_en.pot
48
+
49
+help_et.docbook: help_en.docbook help_en.pot
50
+	${MAKE} help_et.po
51
+	@echo "converting estonian help"
52
+	@ $(PO2XML) help_en.docbook help_et.po | \
53
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Estonian\ /g \
54
+	> help_de.docbook
55
+
56
+help_it.po: help_en.pot
57
+	$(MSGMERGE) -o help_it.po help_it.po help_en.pot
58
+
59
+help_it.docbook: help_en.docbook help_en.pot
60
+	${MAKE} help_it.po
61
+	@echo "converting italian help"
62
+	@ $(PO2XML) help_en.docbook help_it.po | \
63
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Italian\ /g \
64
+	> help_it.docbook
65
+
66
+help_fi.po: help_en.pot
67
+	$(MSGMERGE) -o help_fi.po help_fi.po help_en.pot
68
+
69
+help_fi.docbook: help_en.docbook help_en.pot
70
+	${MAKE} help_fi.po
71
+	@echo "converting finnish help"
72
+	@ $(PO2XML) help_en.docbook help_fi.po | \
73
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Finnish\ /g \
74
+	> help_fi.docbook
75
+
76
+help_es.po: help_en.pot
77
+	$(MSGMERGE) -o help_es.po help_es.po help_en.pot
78
+
79
+help_es.docbook: help_en.docbook help_en.pot
80
+	${MAKE} help_es.po
81
+	@echo "converting spanish help"
82
+	@ $(PO2XML) help_en.docbook help_es.po | \
83
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Spanish\ /g \
84
+	> help_es.docbook
85
+
86
+help_ru.po: help_en.pot
87
+	$(MSGMERGE) -o help_ru.po help_ru.po help_en.pot
88
+
89
+help_ru.docbook: help_en.docbook help_en.pot
90
+	${MAKE} help_ru.po
91
+	@echo "converting russian help"
92
+	@ $(PO2XML) help_en.docbook help_ru.po | \
93
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Russian\ /g \
94
+	> help_ru.docbook
95
+
96
+# ---  ---
97
+
98
+install-data-local:
99
+	echo installing docs in $(DOCDIR)
100
+	for lang in ${LANGUAGES}; do \
101
+	{ \
102
+	    $(mkinstalldirs) ${DOCDIR}/$${lang}/$(PACKAGE); \
103
+	    $(INSTALL_DATA) help_$${lang}.docbook ${DOCDIR}/$${lang}/$(PACKAGE)/index.docbook; \
104
+	    if test ! -e ${DOCDIR}/$${lang}/$(PACKAGE)/common ; then \
105
+	    rm -f ${DOCDIR}/$${lang}/$(PACKAGE)/common ; fi ; \
106
+	    ( cd ${DOCDIR}/$${lang}/${PACKAGE} ; ln -sf ../common . ) ; \
107
+	}; done
108
+	cd ${DOCDIR} ; \
109
+	if test ! -e default/$(PACKAGE) -a -e default ; then ln -sf ../en/$(PACKAGE) default; fi;
110
+
111
+uninstall-local:
112
+	for lang in ${LANGUAGES}; do { \
113
+	    rm -R -f ${DOCDIR}/$${lang}/${PACKAGE} ; \
114
+	    rmdir -p --ignore-fail-on-non-empty $(DOCDIR)/$$lang >/dev/null 2>&1; \
115
+	    if test -L ${DOCDIR}/default/$(PACKAGE); then rm -f ${DOCDIR}/default/$(PACKAGE); fi; \
116
+	}; done
117
+
118
+all:

+ 533
- 0
doc/Makefile.in.backup View File

@@ -0,0 +1,533 @@
1
+# Makefile.in generated automatically by automake 1.5 from Makefile.am.
2
+# KDE tags expanded automatically by am_edit - $Revision: 1.7 $ 
3
+# Copyright 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001
4
+# Free Software Foundation, Inc.
5
+# This Makefile.in is free software; the Free Software Foundation
6
+# gives unlimited permission to copy and/or distribute it,
7
+# with or without modifications, as long as this notice is preserved.
8
+
9
+# This program is distributed in the hope that it will be useful,
10
+# but WITHOUT ANY WARRANTY, to the extent permitted by law; without
11
+# even the implied warranty of MERCHANTABILITY or FITNESS FOR A
12
+# PARTICULAR PURPOSE.
13
+
14
+@SET_MAKE@
15
+
16
+####### kdevelop will overwrite this part!!! (begin)##########
17
+
18
+SHELL = @SHELL@
19
+
20
+srcdir = @srcdir@
21
+top_srcdir = @top_srcdir@
22
+VPATH = @srcdir@
23
+prefix = @prefix@
24
+exec_prefix = @exec_prefix@
25
+
26
+bindir = @bindir@
27
+sbindir = @sbindir@
28
+libexecdir = @libexecdir@
29
+datadir = @datadir@
30
+sysconfdir = @sysconfdir@
31
+sharedstatedir = @sharedstatedir@
32
+localstatedir = @localstatedir@
33
+libdir = @libdir@
34
+infodir = @infodir@
35
+mandir = @mandir@
36
+includedir = @includedir@
37
+oldincludedir = /usr/include
38
+pkgdatadir = $(datadir)/@PACKAGE@
39
+pkglibdir = $(libdir)/@PACKAGE@
40
+pkgincludedir = $(includedir)/@PACKAGE@
41
+top_builddir = ..
42
+
43
+ACLOCAL = @ACLOCAL@
44
+AUTOCONF = @AUTOCONF@
45
+AUTOMAKE = @AUTOMAKE@
46
+AUTOHEADER = @AUTOHEADER@
47
+
48
+INSTALL = @INSTALL@
49
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
50
+INSTALL_DATA = @INSTALL_DATA@
51
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
52
+INSTALL_HEADER = $(INSTALL_DATA)
53
+transform = @program_transform_name@
54
+NORMAL_INSTALL = :
55
+PRE_INSTALL = :
56
+POST_INSTALL = :
57
+NORMAL_UNINSTALL = :
58
+PRE_UNINSTALL = :
59
+POST_UNINSTALL = :
60
+build_alias = @build_alias@
61
+build_triplet = @build@
62
+host_alias = @host_alias@
63
+host_triplet = @host@
64
+target_alias = @target_alias@
65
+target_triplet = @target@
66
+AMTAR = @AMTAR@
67
+ARTSCCONFIG = @ARTSCCONFIG@
68
+AS = @AS@
69
+AUTODIRS = @AUTODIRS@
70
+AWK = @AWK@
71
+CC = @CC@
72
+CONF_FILES = @CONF_FILES@
73
+CPP = @CPP@
74
+CXX = @CXX@
75
+CXXCPP = @CXXCPP@
76
+DCOPIDL = @DCOPIDL@
77
+DCOPIDL2CPP = @DCOPIDL2CPP@
78
+DCOP_DEPENDENCIES = @DCOP_DEPENDENCIES@
79
+DEPDIR = @DEPDIR@
80
+DLLTOOL = @DLLTOOL@
81
+DOXYGEN = @DOXYGEN@
82
+DOXYGEN_PROJECT_NAME = @DOXYGEN_PROJECT_NAME@
83
+DOXYGEN_PROJECT_NUMBER = @DOXYGEN_PROJECT_NUMBER@
84
+DPMSINC = @DPMSINC@
85
+DPMSLIB = @DPMSLIB@
86
+ECHO = @ECHO@
87
+EXEEXT = @EXEEXT@
88
+FRAMEWORK_COREAUDIO = @FRAMEWORK_COREAUDIO@
89
+GCJ = @GCJ@
90
+GCJFLAGS = @GCJFLAGS@
91
+GLINC = @GLINC@
92
+GLLIB = @GLLIB@
93
+GMSGFMT = @GMSGFMT@
94
+IDL = @IDL@
95
+IDL_DEPENDENCIES = @IDL_DEPENDENCIES@
96
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
97
+JAR = @JAR@
98
+JAVAC = @JAVAC@
99
+JAVAH = @JAVAH@
100
+JVMLIBS = @JVMLIBS@
101
+KDECONFIG = @KDECONFIG@
102
+KDE_EXTRA_RPATH = @KDE_EXTRA_RPATH@
103
+KDE_HAS_DOXYGEN = @KDE_HAS_DOXYGEN@
104
+KDE_HAVE_DOT = @KDE_HAVE_DOT@
105
+KDE_INCLUDES = @KDE_INCLUDES@
106
+KDE_LDFLAGS = @KDE_LDFLAGS@
107
+KDE_MT_LDFLAGS = @KDE_MT_LDFLAGS@
108
+KDE_MT_LIBS = @KDE_MT_LIBS@
109
+KDE_PLUGIN = @KDE_PLUGIN@
110
+KDE_RPATH = @KDE_RPATH@
111
+KDE_USE_CLOSURE_FALSE = @KDE_USE_CLOSURE_FALSE@
112
+KDE_USE_CLOSURE_TRUE = @KDE_USE_CLOSURE_TRUE@
113
+KDE_USE_FINAL_FALSE = @KDE_USE_FINAL_FALSE@
114
+KDE_USE_FINAL_TRUE = @KDE_USE_FINAL_TRUE@
115
+KDE_XSL_STYLESHEET = @KDE_XSL_STYLESHEET@
116
+LEX = @LEX@
117
+LEXLIB = @LEXLIB@
118
+LIBBZ2 = @LIBBZ2@
119
+LIBCOMPAT = @LIBCOMPAT@
120
+LIBCRYPT = @LIBCRYPT@
121
+LIBDL = @LIBDL@
122
+LIBGEN = @LIBGEN@
123
+LIBJPEG = @LIBJPEG@
124
+LIBMICO = @LIBMICO@
125
+LIBOBJS = @LIBOBJS@
126
+LIBPNG = @LIBPNG@
127
+LIBPTHREAD = @LIBPTHREAD@
128
+LIBPYTHON = @LIBPYTHON@
129
+LIBQIMGIO = @LIBQIMGIO@
130
+LIBRESOLV = @LIBRESOLV@
131
+LIBSHADOW = @LIBSHADOW@
132
+LIBSM = @LIBSM@
133
+LIBSOCKET = @LIBSOCKET@
134
+LIBSSL = @LIBSSL@
135
+LIBTIFF = @LIBTIFF@
136
+LIBTOOL = @LIBTOOL@
137
+LIBUCB = @LIBUCB@
138
+LIBUTIL = @LIBUTIL@
139
+LIBXINERAMA = @LIBXINERAMA@
140
+LIBZ = @LIBZ@
141
+LIB_KAB = @LIB_KAB@
142
+LIB_KABC = @LIB_KABC@
143
+LIB_KDECORE = @LIB_KDECORE@
144
+LIB_KDEPRINT = @LIB_KDEPRINT@
145
+LIB_KDEUI = @LIB_KDEUI@
146
+LIB_KFILE = @LIB_KFILE@
147
+LIB_KFM = @LIB_KFM@
148
+LIB_KHTML = @LIB_KHTML@
149
+LIB_KIMGIO = @LIB_KIMGIO@
150
+LIB_KIO = @LIB_KIO@
151
+LIB_KPARTS = @LIB_KPARTS@
152
+LIB_KSPELL = @LIB_KSPELL@
153
+LIB_KSYCOCA = @LIB_KSYCOCA@
154
+LIB_POLL = @LIB_POLL@
155
+LIB_QPE = @LIB_QPE@
156
+LIB_QT = @LIB_QT@
157
+LIB_QTOPIA = @LIB_QTOPIA@
158
+LIB_SMB = @LIB_SMB@
159
+LIB_X11 = @LIB_X11@
160
+LIB_XEXT = @LIB_XEXT@
161
+LN_S = @LN_S@
162
+MCOPIDL = @MCOPIDL@
163
+MEINPROC = @MEINPROC@
164
+MICO_INCLUDES = @MICO_INCLUDES@
165
+MICO_LDFLAGS = @MICO_LDFLAGS@
166
+MOC = @MOC@
167
+MSGFMT = @MSGFMT@
168
+NOOPT_CFLAGS = @NOOPT_CFLAGS@
169
+NOOPT_CXXFLAGS = @NOOPT_CXXFLAGS@
170
+NOREPO = @NOREPO@
171
+OBJDUMP = @OBJDUMP@
172
+OBJEXT = @OBJEXT@
173
+PACKAGE = @PACKAGE@
174
+PAMLIBS = @PAMLIBS@
175
+PASSWDLIBS = @PASSWDLIBS@
176
+PYTHONINC = @PYTHONINC@
177
+PYTHONLIB = @PYTHONLIB@
178
+PYTHONMODDIR = @PYTHONMODDIR@
179
+QTDOCDIR = @QTDOCDIR@
180
+QTE_NORTTI = @QTE_NORTTI@
181
+QTOPIA_INCLUDES = @QTOPIA_INCLUDES@
182
+QT_INCLUDES = @QT_INCLUDES@
183
+QT_LDFLAGS = @QT_LDFLAGS@
184
+RANLIB = @RANLIB@
185
+RC = @RC@
186
+REPO = @REPO@
187
+SETUIDFLAGS = @SETUIDFLAGS@
188
+SSL_INCLUDES = @SSL_INCLUDES@
189
+SSL_LDFLAGS = @SSL_LDFLAGS@
190
+STRIP = @STRIP@
191
+TOPSUBDIRS = @TOPSUBDIRS@
192
+UIC = @UIC@
193
+UIC_TR = @UIC_TR@
194
+USER_INCLUDES = @USER_INCLUDES@
195
+USER_LDFLAGS = @USER_LDFLAGS@
196
+USE_EXCEPTIONS = @USE_EXCEPTIONS@
197
+USE_RTTI = @USE_RTTI@
198
+USE_THREADS = @USE_THREADS@
199
+VERSION = @VERSION@
200
+WOVERLOADED_VIRTUAL = @WOVERLOADED_VIRTUAL@
201
+XGETTEXT = @XGETTEXT@
202
+XPMINC = @XPMINC@
203
+XPMLIB = @XPMLIB@
204
+X_EXTRA_LIBS = @X_EXTRA_LIBS@
205
+X_INCLUDES = @X_INCLUDES@
206
+X_LDFLAGS = @X_LDFLAGS@
207
+X_PRE_LIBS = @X_PRE_LIBS@
208
+all_includes = @all_includes@
209
+all_libraries = @all_libraries@
210
+am__include = @am__include@
211
+am__quote = @am__quote@
212
+idldir = @idldir@
213
+install_sh = @install_sh@
214
+jni_includes = @jni_includes@
215
+kde_appsdir = @kde_appsdir@
216
+kde_bindir = @kde_bindir@
217
+kde_confdir = @kde_confdir@
218
+kde_datadir = @kde_datadir@
219
+kde_htmldir = @kde_htmldir@
220
+kde_icondir = @kde_icondir@
221
+kde_includes = @kde_includes@
222
+kde_libraries = @kde_libraries@
223
+kde_libs_htmldir = @kde_libs_htmldir@
224
+kde_libs_prefix = @kde_libs_prefix@
225
+kde_locale = @kde_locale@
226
+kde_mimedir = @kde_mimedir@
227
+kde_moduledir = @kde_moduledir@
228
+kde_qtver = @kde_qtver@
229
+kde_servicesdir = @kde_servicesdir@
230
+kde_servicetypesdir = @kde_servicetypesdir@
231
+kde_sounddir = @kde_sounddir@
232
+kde_styledir = @kde_styledir@
233
+kde_templatesdir = @kde_templatesdir@
234
+kde_wallpaperdir = @kde_wallpaperdir@
235
+kde_widgetdir = @kde_widgetdir@
236
+micodir = @micodir@
237
+qt_includes = @qt_includes@
238
+qt_libraries = @qt_libraries@
239
+x_includes = @x_includes@
240
+x_libraries = @x_libraries@
241
+
242
+EXTRA_DIST = help_en.docbook help_fr.docbook 
243
+
244
+
245
+####### kdevelop will overwrite this part!!! (end)############
246
+MAINTAINERCLEANFILES = ./*.html
247
+CLEANFILES = core *~ .deps/* doc/*~ *.orig changes.docbook
248
+DISTCLEANFILES = Makefile.in Makefile
249
+
250
+LANGUAGES = en fr de et it fi es ru
251
+SUFFIXES = .docbook .po .pot
252
+SGMLDIR = $(kde_datadir)/ksgmltools2
253
+DOCDIR = $(DESTDIR)${kde_htmldir}
254
+XML2POT = xml2pot
255
+PO2XML = po2xml
256
+MSGMERGE = msgmerge
257
+subdir = doc
258
+mkinstalldirs = $(SHELL) $(top_srcdir)/admin/mkinstalldirs
259
+CONFIG_HEADER = $(top_builddir)/config.h
260
+CONFIG_CLEAN_FILES =
261
+DIST_SOURCES =
262
+DIST_COMMON = Makefile.am Makefile.in
263
+#>- all: all-am
264
+#>+ 1
265
+all: docs-am  all-am
266
+
267
+.SUFFIXES:
268
+.SUFFIXES: .docbook .po .pot
269
+
270
+mostlyclean-libtool:
271
+	-rm -f *.lo
272
+
273
+clean-libtool:
274
+	-rm -rf .libs _libs
275
+
276
+distclean-libtool:
277
+	-rm -f libtool
278
+$(srcdir)/Makefile.in:  Makefile.am  $(top_srcdir)/configure.in $(ACLOCAL_M4)
279
+#>- 	cd $(top_srcdir) && \
280
+#>- 	  $(AUTOMAKE) --gnu  doc/Makefile
281
+#>+ 3
282
+	cd $(top_srcdir) && \
283
+	  $(AUTOMAKE) --gnu  doc/Makefile
284
+	cd $(top_srcdir) && perl admin/am_edit knights-0.6/doc/Makefile.in
285
+Makefile:  $(srcdir)/Makefile.in  $(top_builddir)/config.status
286
+	cd $(top_builddir) && \
287
+	  CONFIG_HEADERS= CONFIG_LINKS= \
288
+	  CONFIG_FILES=$(subdir)/$@ $(SHELL) ./config.status
289
+uninstall-info-am:
290
+tags: TAGS
291
+TAGS:
292
+
293
+
294
+#>- DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
295
+#>+ 4
296
+KDE_DIST=help_et.po help_fi.po help_de.po help_it.po help_ru.po help_es.po help_fr.po help_en.pot 
297
+
298
+DISTFILES= $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) $(KDE_DIST)
299
+
300
+
301
+top_distdir = ..
302
+distdir = $(top_distdir)/$(PACKAGE)-$(VERSION)
303
+
304
+distdir: $(DISTFILES)
305
+	@for file in $(DISTFILES); do \
306
+	  if test -f $$file; then d=.; else d=$(srcdir); fi; \
307
+	  dir=`echo "$$file" | sed -e 's,/[^/]*$$,,'`; \
308
+	  if test "$$dir" != "$$file" && test "$$dir" != "."; then \
309
+	    $(mkinstalldirs) "$(distdir)/$$dir"; \
310
+	  fi; \
311
+	  if test -d $$d/$$file; then \
312
+	    cp -pR $$d/$$file $(distdir) \
313
+	    || exit 1; \
314
+	  else \
315
+	    test -f $(distdir)/$$file \
316
+	    || cp -p $$d/$$file $(distdir)/$$file \
317
+	    || exit 1; \
318
+	  fi; \
319
+	done
320
+check-am: all-am
321
+check: check-am
322
+all-am: Makefile
323
+
324
+installdirs:
325
+
326
+install: install-am
327
+install-exec: install-exec-am
328
+install-data: install-data-am
329
+uninstall: uninstall-am
330
+
331
+install-am: all-am
332
+	@$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
333
+
334
+installcheck: installcheck-am
335
+install-strip:
336
+	$(MAKE) $(AM_MAKEFLAGS) INSTALL_PROGRAM="$(INSTALL_STRIP_PROGRAM)" \
337
+	  `test -z '$(STRIP)' || \
338
+	    echo "INSTALL_PROGRAM_ENV=STRIPPROG='$(STRIP)'"` install
339
+mostlyclean-generic:
340
+
341
+clean-generic:
342
+	-test -z "$(CLEANFILES)" || rm -f $(CLEANFILES)
343
+
344
+distclean-generic:
345
+	-rm -f Makefile $(CONFIG_CLEAN_FILES) stamp-h stamp-h[0-9]*
346
+	-test -z "$(DISTCLEANFILES)" || rm -f $(DISTCLEANFILES)
347
+
348
+maintainer-clean-generic:
349
+	@echo "This command is intended for maintainers to use"
350
+	@echo "it deletes files that may require special tools to rebuild."
351
+	-test -z "$(MAINTAINERCLEANFILES)" || rm -f $(MAINTAINERCLEANFILES)
352
+#>- clean: clean-am
353
+#>+ 1
354
+clean: kde-rpo-clean  clean-am
355
+
356
+clean-am: clean-generic clean-libtool mostlyclean-am
357
+
358
+distclean: distclean-am
359
+
360
+distclean-am: clean-am distclean-generic distclean-libtool
361
+
362
+dvi: dvi-am
363
+
364
+dvi-am:
365
+
366
+info: info-am
367
+
368
+info-am:
369
+
370
+install-data-am: install-data-local
371
+
372
+install-exec-am:
373
+
374
+install-info: install-info-am
375
+
376
+install-man:
377
+
378
+installcheck-am:
379
+
380
+maintainer-clean: maintainer-clean-am
381
+
382
+maintainer-clean-am: distclean-am maintainer-clean-generic
383
+
384
+mostlyclean: mostlyclean-am
385
+
386
+mostlyclean-am: mostlyclean-generic mostlyclean-libtool
387
+
388
+uninstall-am: uninstall-info-am uninstall-local
389
+
390
+.PHONY: all all-am check check-am clean clean-generic clean-libtool \
391
+	distclean distclean-generic distclean-libtool distdir dvi \
392
+	dvi-am info info-am install install-am install-data \
393
+	install-data-am install-data-local install-exec install-exec-am \
394
+	install-info install-info-am install-man install-strip \
395
+	installcheck installcheck-am installdirs maintainer-clean \
396
+	maintainer-clean-generic mostlyclean mostlyclean-generic \
397
+	mostlyclean-libtool uninstall uninstall-am uninstall-info-am \
398
+	uninstall-local
399
+
400
+
401
+help_en.pot: help_en.docbook
402
+	$(XML2POT) help_en.docbook > help_en.pot
403
+
404
+# --- translated docbook online help ---
405
+
406
+help_fr.po: help_en.pot
407
+	$(MSGMERGE) -o help_fr.po help_fr.po help_en.pot
408
+
409
+help_fr.docbook: help_en.docbook help_en.pot
410
+	${MAKE} help_fr.po
411
+	@echo "converting french help"
412
+	@ $(PO2XML) help_en.docbook help_fr.po | \
413
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ French\ /g \
414
+	> help_fr.docbook
415
+
416
+help_de.po: help_en.pot
417
+	$(MSGMERGE) -o help_de.po help_de.po help_en.pot
418
+
419
+help_de.docbook: help_en.docbook help_en.pot
420
+	${MAKE} help_de.po
421
+	@echo "converting german help"
422
+	@ $(PO2XML) help_en.docbook help_de.po | \
423
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ German\ /g \
424
+	> help_de.docbook
425
+
426
+help_et.po: help_en.pot
427
+	$(MSGMERGE) -o help_et.po help_et.po help_en.pot
428
+
429
+help_et.docbook: help_en.docbook help_en.pot
430
+	${MAKE} help_et.po
431
+	@echo "converting estonian help"
432
+	@ $(PO2XML) help_en.docbook help_et.po | \
433
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Estonian\ /g \
434
+	> help_de.docbook
435
+
436
+help_it.po: help_en.pot
437
+	$(MSGMERGE) -o help_it.po help_it.po help_en.pot
438
+
439
+help_it.docbook: help_en.docbook help_en.pot
440
+	${MAKE} help_it.po
441
+	@echo "converting italian help"
442
+	@ $(PO2XML) help_en.docbook help_it.po | \
443
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Italian\ /g \
444
+	> help_it.docbook
445
+
446
+help_fi.po: help_en.pot
447
+	$(MSGMERGE) -o help_fi.po help_fi.po help_en.pot
448
+
449
+help_fi.docbook: help_en.docbook help_en.pot
450
+	${MAKE} help_fi.po
451
+	@echo "converting finnish help"
452
+	@ $(PO2XML) help_en.docbook help_fi.po | \
453
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Finnish\ /g \
454
+	> help_fi.docbook
455
+
456
+help_es.po: help_en.pot
457
+	$(MSGMERGE) -o help_es.po help_es.po help_en.pot
458
+
459
+help_es.docbook: help_en.docbook help_en.pot
460
+	${MAKE} help_es.po
461
+	@echo "converting spanish help"
462
+	@ $(PO2XML) help_en.docbook help_es.po | \
463
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Spanish\ /g \
464
+	> help_es.docbook
465
+
466
+help_ru.po: help_en.pot
467
+	$(MSGMERGE) -o help_ru.po help_ru.po help_en.pot
468
+
469
+help_ru.docbook: help_en.docbook help_en.pot
470
+	${MAKE} help_ru.po
471
+	@echo "converting russian help"
472
+	@ $(PO2XML) help_en.docbook help_ru.po | \
473
+	sed s/^\ \ \<\!ENTITY\ %\ English\ /\ \ \<\!ENTITY\ %\ Russian\ /g \
474
+	> help_ru.docbook
475
+
476
+# ---  ---
477
+
478
+install-data-local:
479
+	echo installing docs in $(DOCDIR)
480
+	for lang in ${LANGUAGES}; do \
481
+	{ \
482
+	    $(mkinstalldirs) ${DOCDIR}/$${lang}/$(PACKAGE); \
483
+	    $(INSTALL_DATA) help_$${lang}.docbook ${DOCDIR}/$${lang}/$(PACKAGE)/index.docbook; \
484
+	    if test ! -e ${DOCDIR}/$${lang}/$(PACKAGE)/common ; then \
485
+	    rm -f ${DOCDIR}/$${lang}/$(PACKAGE)/common ; fi ; \
486
+	    ( cd ${DOCDIR}/$${lang}/${PACKAGE} ; ln -sf ../common . ) ; \
487
+	}; done
488
+	cd ${DOCDIR} ; \
489
+	if test ! -e default/$(PACKAGE) -a -e default ; then ln -sf ../en/$(PACKAGE) default; fi;
490
+
491
+uninstall-local:
492
+	for lang in ${LANGUAGES}; do { \
493
+	    rm -R -f ${DOCDIR}/$${lang}/${PACKAGE} ; \
494
+	    rmdir -p --ignore-fail-on-non-empty $(DOCDIR)/$$lang >/dev/null 2>&1; \
495
+	    if test -L ${DOCDIR}/default/$(PACKAGE); then rm -f ${DOCDIR}/default/$(PACKAGE); fi; \
496
+	}; done
497
+
498
+all:
499
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
500
+# Otherwise a system limit (for SysV at least) may be exceeded.
501
+.NOEXPORT:
502
+
503
+
504
+
505
+#>+ 2
506
+docs-am:
507
+
508
+#>+ 6
509
+force-reedit:
510
+		cd $(top_srcdir) && \
511
+	  $(AUTOMAKE) --gnu  doc/Makefile
512
+	cd $(top_srcdir) && perl admin/am_edit knights-0.6/doc/Makefile.in
513
+
514
+
515
+#>+ 2
516
+final:
517
+	$(MAKE) all-am
518
+#>+ 2
519
+final-install:
520
+	$(MAKE) install-am
521
+#>+ 2
522
+no-final:
523
+	$(MAKE) all-am
524
+#>+ 2
525
+no-final-install:
526
+	$(MAKE) install-am
527
+#>+ 3
528
+cvs-clean:
529
+	$(MAKE) admindir=$(top_srcdir)/admin -f $(top_srcdir)/admin/Makefile.common cvs-clean
530
+
531
+#>+ 3
532
+kde-rpo-clean:
533
+	-rm -f *.rpo

+ 795
- 0
doc/help_en.docbook View File

@@ -0,0 +1,795 @@
1
+<?xml version="1.0" ?>
2
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
3
+  <!ENTITY kappname "Knights">
4
+  <!ENTITY % addindex "IGNORE">
5
+  <!ENTITY % English "INCLUDE" > <!-- change language only here -->
6
+]>
7
+
8
+<book lang="&language;">
9
+	<bookinfo>
10
+		<title>
11
+			The Knights Handbook
12
+		</title>
13
+		<authorgroup>
14
+			<author>
15
+				<firstname>Troy</firstname>
16
+				<surname>Corbin Jr.</surname>
17
+				<affiliation>
18
+					<address>
19
+						<email>tcorbin@users.sf.net</email>
20
+					</address>
21
+				</affiliation>
22
+			</author>
23
+			<othercredit role="developer">
24
+				<firstname>Troy</firstname>
25
+				<surname>Corbin Jr.</surname>
26
+				<affiliation>
27
+					<address>
28
+						<email>tcorbin@users.sf.net</email>
29
+					</address>
30
+				</affiliation>
31
+				<contrib>Developer</contrib>
32
+			</othercredit>
33
+		</authorgroup>
34
+		<!-- TRANS:ROLES_OF_TRANSLATORS -->
35
+		<copyright>
36
+			<year>2001, 2002</year>
37
+			<holder>Troy Corbin Jr.</holder>
38
+		</copyright>
39
+		<legalnotice>
40
+			&FDLNotice;
41
+		</legalnotice>
42
+		<date>
43
+			2003-05-17
44
+		</date>
45
+		<releaseinfo>
46
+			0.6
47
+		</releaseinfo>
48
+		<abstract>
49
+			<para>
50
+				Knights is a graphical chess interface for &kde;. It supports chess matches against computer engines like GNUChess and Crafty, watching two computer engines play against each other, solitaire chess, matches played via Internet Chess Servers, and reviewing matches saved in Portable Game Notation.
51
+			</para>
52
+		</abstract>
53
+		<keywordset>
54
+			<keyword>knights</keyword>
55
+			<keyword>KDE</keyword>
56
+			<keyword>game</keyword>
57
+			<keyword>chess</keyword>
58
+			<keyword>gnuchess</keyword>
59
+			<keyword>crafty</keyword>
60
+			<keyword>ICS</keyword>
61
+			<keyword>SAN</keyword>
62
+			<keyword>PGN</keyword>
63
+		</keywordset>
64
+	</bookinfo>
65
+
66
+	<chapter id="introduction">
67
+		<title>Introduction</title>
68
+		<para>
69
+			Chess is a game of strategy with a long history and many variations, and Knights aims to be the ultimate chess resource on your computer. Knights provides a virtual chess board and pieces which you can use to play against a variety of opponents. Currently, those opponents include yourself ( Solitaire chess is a wonderful way to improve your skill at the game ), computer opponents ( sometimes called chess engines ) which you have installed on your computer, and people connected to an internet chess server. In the future, you will also be able to play against a friend using email.
70
+		</para>
71
+		<para>
72
+			If you like to review chess matches which other people have played, Knights can help. Using Portable Game Notation ( <acronym>PGN</acronym> ), Knights can exchange recorded chess matches with most other computer chess programs. You can also record your own matches with Knights, and share them with anyone.
73
+		</para>
74
+		<para>
75
+			Future versions of Knights will include comprehensive chess education in the form of interactive tutorials. These tutorials will help new players grasp the basics, and help them evolve into advanced players.
76
+		</para>
77
+	</chapter>
78
+
79
+	<chapter id="getting-started">
80
+		<title>Getting Started</title>
81
+			<para>
82
+				The following sections will help you become familiar with Knights quickly.
83
+			</para>
84
+			<sect1 id="interface-chessboard">
85
+				<title>The Chessboard</title>
86
+					<para>
87
+						If you've ever played chess before, then Knights' chessboard should be easy to understand. It always displays one player at the top of the screen and the other at the bottom. By default, your pieces always start at the bottom while your opponent's start at the top.
88
+					</para>
89
+					<para>
90
+						Directly below the board are two clocks. The left clock has a white background and always shows the time for the white player. The right clock is always black and shows the time for the black player.
91
+					</para>
92
+					<sect2 id="interface-chessboard-move">
93
+						<title>Making a Move</title>
94
+							<para>
95
+							To move a chessman, simply click the left mouse button while your pointer is over the chessman you wish to move. If it's your turn to move, the chessman will become highlighted. This lets you know that Knights is ready to move that chessman for you. Now, move your pointer to the position where you want your chessman to move to. Click the left mouse button. You've just moved your chessman!
96
+						</para>
97
+						<para>
98
+							You can also move your chessman using "Drag and Drop". Hold down the left mouse button over the chessman you wish to move and, while still holding down the mouse button, move your chessman to it's new position and release the button.
99
+						</para>
100
+					</sect2>
101
+					<sect2 id="interface-chessboard-preview">
102
+						<title>Using Preview</title>
103
+							<para>
104
+								The Preview feature shows you where each chessman can move on a given turn. To use this feature, move your pointer so that it is over the chessman you wish to examine. Now, click the right mouse button. Any position which that chessman can move to will be highlighted. Moves which will result in a chessman being captured are colored differently.
105
+							</para>
106
+							<para>
107
+								If the chessman you are examining is yours, and it is your turn, you may go head and move him by left clicking on the desired square.
108
+							</para>
109
+							<tip>
110
+								<para>
111
+									You can tell Knights to automatically preview possible moves every time you left click on a chessman. See the <link linkend="configure-display-general">Display Settings</link> chapter to find out how.
112
+								</para>
113
+							</tip>
114
+					</sect2>
115
+					<sect2 id="interface-chessboard-notation">
116
+						<title>SAN Notation</title>
117
+						<para>
118
+							You will notice that in the lower-right corner, there is a button which displays the last move using Standard Algebraic Notation ( <acronym>SAN</acronym> ). Clicking this button will display all the moves in this match. You can review a previous position by selecting it from this list. Another way to move through this list is to use the <keycombo action="simul"><keycap>Up</keycap></keycombo> and <keycombo action="simul"><keycap>Down</keycap></keycombo> arrow keys on your keyboard. This will step through each move one at a time.
119
+						</para>
120
+						<note>
121
+							<para>
122
+								You can not make your next move while you are reviewing the match. You must return to the most recent entry in the list before you can make your move. If someone else makes a move while you are reviewing a previous position, Knights will automatically return you to the current position.
123
+							</para>
124
+						</note>
125
+					</sect2>
126
+			</sect1>
127
+			<sect1 id="new-match">
128
+				<title>Starting a New Match</title>
129
+					<para>
130
+						To start a new match, click on the <menuchoice><guimenu>File</guimenu></menuchoice> menu, then select <menuchoice><guimenu>New Match...</guimenu></menuchoice>.
131
+					</para>
132
+					<sect2 id="new-match-dialog">
133
+						<title>The New Match Window</title>
134
+							<para>
135
+								The New Match Window lets you change the type of chess match you'd like to play.
136
+							</para>
137
+							<note>
138
+								<para>
139
+									Online games can not be started from here. If you'd like to play chess online, please see the section of this document titled <link linkend="online">Using Knights Online</link>.
140
+								</para>
141
+							</note>
142
+							<para>
143
+								Clicking <menuchoice><guimenu>Human</guimenu></menuchoice> will tell Knights that you want to control this color yourself.
144
+							</para>
145
+							<para>
146
+								The <menuchoice><guimenu>Computer</guimenu></menuchoice> option, if available, will tell Knights that a Computer Opponent ( also known as a Chess Engine ) should control this color. Another window will pop up with a list of opponents that you have installed. After selecting an opponent, you should use the <menuchoice><guimenu>Player Strength</guimenu></menuchoice> slider to customize your opponent's skill level. Due to the fact that each computer opponent is unique, some which are set to <menuchoice><guimenu>Weak</guimenu></menuchoice> may actually be better than opponents set to <menuchoice><guimenu>Strong</guimenu></menuchoice>. Also note that some may completely ignore your preference and play that same no matter what skill level you select.
147
+							</para>
148
+							<para>
149
+								The <menuchoice><guimenu>Email</guimenu></menuchoice> option is not yet supported by Knights.
150
+							</para>
151
+							<para>
152
+								Once you've selected the players, you'll want to select the time controls for this match. <menuchoice><guimenu>Base Time</guimenu></menuchoice> is the number of minutes that this player has at the beginning of the match. After you make a number of moves, you'll receive extra time on your clock. <menuchoice><guimenu>Moves Per Base Time</guimenu></menuchoice> controls the number of moves needed to receive that extra time. <menuchoice><guimenu>Increment Per Move</guimenu></menuchoice> is yet another time bonus that you receive after every move.
153
+							</para>
154
+					</sect2>
155
+			</sect1>
156
+		</chapter>
157
+
158
+	<chapter id="online">
159
+		<title>Using Knights Online</title>
160
+		<para>
161
+			Knights can connect you with thousands of other chess players around the globe. You can play games, observe others playing, attend live classes, or just relax and chat.
162
+		</para>
163
+		<para>
164
+			Although Knights tries to make it easy to use a chess server, there are many commands and functions for each server that are beyond the scope of this document. You should check with the chess server you intend to use for a full description of these.
165
+		</para>
166
+		<sect1 id="getting-started-online">
167
+			<title>Getting Started</title>
168
+			<para>
169
+				If you used the Setup Wizard when you first installed Knights, then Knights will connect to the <ulink url="http://www.freechess.org">Free Internet Chess Server</ulink> by default. If you did not use the Setup Wizard, or you'd prefer to connect to another chess server, you'll need to change Knights' settings. See the section of this document titled <link linkend="configure-servers">Chess Servers</link> for instructions on doing this.
170
+			</para>
171
+			<para>
172
+				Your computer will need to be connected to the Internet before you attempt to connect to a chess server. Knights will display an error message if it can not access the Internet.
173
+			</para>
174
+			<para>
175
+				Some chess servers will require you to have a membership, which sometimes includes paying a membership fee. You will need to visit the website of your chosen chess server to sign up for membership.
176
+			</para>
177
+			<para>
178
+				If you are not interested in obtaining a membership, but you still want to play chess online, some chess servers will allow you to play as a free guest without signing up for anything. This is strongly suggested for those who have never played chess online before.
179
+			</para>
180
+			<sect2 id="getting-started-online-connecting">
181
+				<title>Connecting to a Server</title>
182
+					<para>