Browse Source

Drop automake build support.

Add basic cmake build instructions in the INSTALL file.
Rework of README file and the help page.
The History file has been removed, the content added to the
ChangeLog file.
The file CreatingThemes has moved in the doc folder.
Cosmetic changes in CMakeLists.txt .

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/5/head
Gregory Guy 10 months ago
parent
commit
873d0e4138
Signed by: cethyel GPG Key ID: 3BCCA0F7AB4536F4
27 changed files with 433 additions and 26132 deletions
  1. +0
    -3
      .gitmodules
  2. +9
    -9
      CMakeLists.txt
  3. +368
    -0
      ChangeLog
  4. +0
    -369
      History
  5. +16
    -26
      INSTALL
  6. +0
    -54
      Makefile.am
  7. +0
    -14
      Makefile.dist
  8. +33
    -24
      README
  9. +0
    -10747
      acinclude.m4
  10. +0
    -11280
      aclocal.m4
  11. +0
    -1
      admin
  12. +0
    -1516
      config.guess
  13. +0
    -169
      config.h.in
  14. +0
    -1622
      config.sub
  15. +0
    -2
      configure.files
  16. +0
    -85
      configure.in
  17. +0
    -10
      configure.in.in
  18. +0
    -0
      doc/CreatingThemes
  19. +0
    -6
      doc/Makefile.am
  20. +0
    -2
      doc/en/Makefile.am
  21. +7
    -28
      doc/en/index.docbook
  22. +0
    -61
      knights/Makefile.am
  23. +0
    -74
      media/Makefile.am
  24. +0
    -17
      patch-stamp
  25. +0
    -7
      po/Makefile.am
  26. +0
    -1
      stamp-h.in
  27. +0
    -5
      subdirs

+ 0
- 3
.gitmodules View File

@@ -1,6 +1,3 @@
[submodule "admin"]
path = admin
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-admin
[submodule "cmake"]
path = cmake
url = http://system@scm.trinitydesktop.org/scm/git/tde-common-cmake

+ 9
- 9
CMakeLists.txt View File

@@ -41,16 +41,16 @@ tde_setup_paths( )

##### optional stuff

option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_ALL_OPTIONS "Enable all optional support" OFF )
option( WITH_GCC_VISIBILITY "Enable fvisibility and fvisibility-inlines-hidden" ${WITH_ALL_OPTIONS} )


##### user requested modules

option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
option( BUILD_EXTRA_THEME "Build extra-theme" ${BUILD_ALL} )
option( BUILD_ALL "Build all" ON )
option( BUILD_DOC "Build documentation" ${BUILD_ALL} )
option( BUILD_TRANSLATIONS "Build translations" ${BUILD_ALL} )
option( BUILD_EXTRA_THEME "Build extra-theme" ${BUILD_ALL} )


##### configure checks
@@ -69,11 +69,11 @@ set( CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -Wl,--no-undefined"

##### directories

add_subdirectory( ${PROJECT_NAME} )
add_subdirectory( media )
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
tde_conditional_add_subdirectory( BUILD_EXTRA_THEME extra-theme )
add_subdirectory( ${PROJECT_NAME} )
tde_conditional_add_subdirectory( BUILD_DOC doc )
tde_conditional_add_subdirectory( BUILD_TRANSLATIONS po )
tde_conditional_add_subdirectory( BUILD_EXTRA_THEME extra-theme )


##### write configure files


+ 368
- 0
ChangeLog View File

@@ -28,3 +28,371 @@ Troy Corbin Jr. <troy@knights-chess.com>
- Removed the ability to swap sides midgame. This will be reinstated later when
we can implement a more feature-rich and trouble free dialog box.
- Potential memory leak fixed ( thanks to Jon Keating! )

Knights 0.5.9 -- Friday January 17th, 2003
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.9
* The console is now organized into 'Tabs', rather than using a splitter. These
tabs can be dynamicaly organized into different windows by simply dragging
them. Drag a tab onto the desktop to create another tab window.
* Added the 'Seek Graph', which is a plotted chart of matches which people are
seeking. It behaves very much like the 'Sought Match List', but the graph
makes it easy to spot matches around your desired Rating / Time Controls.
* Added movement animations.
* Added a 'New Match' dialog that opens whenever you start a new match. It
allows you to set the time controls, players for each side, and more.
* Moved theme installation to the 'Settings' menu.
- Major speed improvments when selecting and dragging chessmen.
* You can now install multiple themes at once.
* Knights now handles keyboard input better. Don't worry about pressing
'Enter' before you start chatting, just begin.
* Knights can now auto-configure the following additional chess engines:
Cilian, Faile, OliThink, Pepito, and Yace.
- Fixed sloppy SAN disambiguation where it wasn't needed.
- Fixed gcc 3.1 compilation errors.
* Added Italian translations.
* Added Finnish translations.
- Fixed a bug where Knights would sometimes declare a draw too early.
- Fixed a bug in which the King could castle even if an adjacent position was
being attacked.
* Knights can now correctly read PGN files that contain FEN notation.
* You can now right click on a match's button to access a mini-file menu.
- XBoard is now the default engine protocol when you configure a new engine.
* Added basic support for the UCI engine protocol.
- Removed the listing for the Knights engine protocol.
* New users must accept our license ( the GPL ) before they can continue.
* Movement highlights now also work when reviewing a match.
* You can choose to login to your ICS as a 'guest' from the Login Dialog.
- Fixed a bug which sometimes kept audio from working.
* The 'Help' button in the 'Configure Knights...' dialog will now display
context sensitive help, depending on what page you're viewing.
* Knights can read and display images stored in the SCID *.img file format.
- Fixed problem where the Console wouldn't redraw without focus.
* You can now change the Console's text size using it's context menu.
- The Retract menu option can now be used several times in a row.
- Knights' main window is now raised to the top and given focus whenever a
new match starts, or whenever you select a different match.
* You can now have multiple PGN files open at the same time.
- Major rewrite of internal communications code.
- Fixed bug that made en passant moves illegal when your king was in check.
- Countless minor bugfixes.

Knights 0.5.6 -- Friday June 21st, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.6
- Fixed a bug in the setup wizard that makes every server but FICS the
current server.
- Knights will now handle invalid ICS logins in a sane manner.
- If you accept or counter-challenge a match offer from the
console, the Match Pop-up will go away.
- Fixed a bug where Less-than and Pipe symbols wouldn't render in the console.
- ( Possibily? ) Fixed a bug that caused Knights to repeat the final moves in a
match in the PGN game.
- If your opponent on ICS resigns, Knights now handles it properly.( Redux )
* Added a History file to Knights. It will contain all past ChangeLog entries
while ChangeLog will only contain entries for the current version.
* Expanded error reporting for failed theme installation.
- Fixed missing character bug in ICC play.
* The "Auto Close Last ICS" option is now on by default.
* You now setup Timeseal for each individual server.
* Added a combobox that lets you select the level of profanity filtering your
ICS preforms on incomming messages.
( Settings->Configure Knights->Chess Servers->Options->Profanity Filter )
- Knights should now correctly use the "Clock Ticking" and "Lag Compensation"
data sent to it by FICS.
* Added support for movelist retrieval from ICS ( experimental )
- Fixed Knights' parsing of Recursive Annotation Variations. RAVs embedded
within one another are now recognised and kept track of.
- Fixed the display of Numerical Annotation Glyphs
* Added support for proposed NAGs #140-154 and #190-195
- After loading a completed match, Knights now stops the clock and displays an
appropriate message on the Status Bar.
* Knights now fills out the "Mode" PGN tag when it knows the correct value.
- Fixed a bug where Knights looked for the "root" entry in a chessman
theme.conf rather than "rook".
* Knights now reads and uses the Notation Coordinate Colors specified within
theme.conf files.
- Fixed the time read from saved, unfinished PGN games.
* Moved the "Seconds Between Seek Updates" and "Auto Close Last ICS" options
from the General Settings to the Server Options tab.
- Rewrote the engine communications code to use KDE's TDEProcess instead of UNIX
pipes and signals. This should make Knights more portable, and should fix
some obscure errors.
* Applied KDE3 compatability patch from Harald Fernengel
- Made internal changes to the shutdown procedure. (KDE3)
- Made internal changes to the console's stylesheet. (KDE3)
* Made some minor changes with layout spacing.
- Fixed the Status Bar so that it's alignment is automatic, based on the
current language.
* Replaced the Default Board's 'Highlight' graphics with new images that
show off KDE3's true alpha-channel support. ( Blatant eye-candy, yum )
- Disabled the back button in the Setup Wizard's last page so you can't go back
and set everything up multiple times.
* When examining a match, manipulating the Notation List will now move you
back and forth through the match.
* Moving the mouse wheel will now navigate the Notation List.
* Added "Player History" to the right-click menu in the Sought Games List.
- Fixed that annoying Console 'jump' you got whenever a match began.
- Fixed the coloring of t-shouts and says.
* You can now continue to drag your chessman even after your opponent has moved
* The 'Show Last Move' option now uses the 'Movement' highlight to display the
appropriate positions. If a chessman was attacked as a part of the previous
move, then that position is shown with the 'Attack' highlight.
* When you preform a 'Premove', it will be represented on the board using
transparent chessmen, rather than the old way ( which was represented with
nothing =).
* You can now preform premoves during a match vs. a computer opponent.
* Left clicking anywhere on the board will cancel a premove.
* Added the "Assess" option to the right-click menu in the Sought Games List.
* Improved handling of Disconnections during ICS play. Also improved handling
of "Illegal Move" messages.
* "Play White" and "Play Black" menu options will now be disabled during an
ICS match.
* Added the ability to Print the notation for the current Match.
* Added translations to French, German, and Estonian.
- Fixed shutdown crash that occured when console was still open.
* Added 'Borders' to Chessboard themes.
- Knights no longer requires OpenGL.
* Added 'busy' cursor when waiting for opponent to move.
* Added the "Bowron Abernethy Chess Engine" to the list of autodetected
engines in the Setup Wizard.
- Fixed a bug in the Challenge Dialog Box that scrambled match parameters.
* Expanded 'Notification' coloring.

Knights 0.5.4.1 -- Wednesday February 6th, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.4.1
- Fixed critical error which disabled your ability to capture pieces.

Knights 0.5.4 -- Monday February 4th, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.4
* All matches now use the same image cache, rather than creating it's own.
This will save you 2 meg of memory per concurrent match.
- Fixed a bug which prevented some castling.
* Added the 'Resign' option. ( Match->Resign )
* Knights now automatically adjusts the display depending on which army you're
playing. If you're black, it will be displayed on the bottom. Of course, the
option 'Reverse Board Orientation' reverses this effect: the local player's
army will be displayed at the top.
- Fixed problem with the display of the clocks while playing over an ICS.
- Fixed a bug where Knights will send the resign command to an ICS whenever
an ICS match is closed. Now, resign is never sent to ICS unless you tell
Knights to do so.
- If your opponent on ICS resigns, Knights now handles it properly.
- Knights now writes the correct result of a resigned game in .pgn files.
* Knights now fills out the PlayerType and Termination .pgn tags when it knows
the correct value.
* Implemented "drag & drop" movement of chessmen.
* Streamlined a lot of drawing code, making some operations ( like "Reverse
Board Orientation" ) much faster
* Added initial support for examining games via ICS.
* Added SOUND! ( Settings->Configure Knights->Audio )
* Optimized various bits of ICS code
* You can now call your opponent's flag ( Match->Call Flag )
- Fixed some bugs concerning ambiguous SAN notation
* Increased the width of the clock displays, making them more readable with
smaller boards.
* Added an option to automatically close the previous ICS match when you
begin a new one. ( Settings->Configure Knights->General->Automatically
Close Previous ICS Match )
* Knights can now begin with a match vs PC open, or it can begin connecting
to your ICS. ( Settings->Configure Knights->General->When Knights Begins
It Should: )
* Added Premove support. ( Settings->Configure Knights->Chess Servers->
Options->enable Premove )
* Added checkboxes for ICS Shouts, Unregistered Tells, Kibitzes, Seeks, and
Private Matches. ( Settings->Configure Knights->Chess Servers->Options )
- Fixed the "Reject Draw" option for ICS games.
- Fixed a bug where Channel Reply didn't work when the last channel message
came from an unregistered user.
* The menu option "Match->Reverse Board Orientation F2" has been renamed to
"Match->Flip Board F2". This option now works independently of the original
option ( Settings->Configure Knights->Display->Reverse Board Orientation" ).
Where the original option effects every board ( and is saved between
sessions ), this new Match Menu option effects only the current match, and
is not saved in any way.
* Now when you're challenged in ICS, a dialog will pop up with the details of
the challenge. From here you can accept or decline, or change the parameters
and make a counter offer.
* Added a patch from Harald Fernengel that makes Knights compatable with KDE3.
- Fixed bug where new ICS games began with garbage highlights.
- Fixed a bug which disabled en Passant moves via ICS game.
* Added extra error messages to detect theme loading problems.

Knights 0.5.1 -- Friday December 21st, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Fixed a compile bug for Tru64 users
- Fixed a bug introduced in 0.5 that made all play over ICS impossible
- Fixed a bug where Knights counted the opening position in an ICS match
as a move.
- Fixed another ICS related bug where moves you made, which ICS echos back,
were counted twice.
- Fixed yet another bug. This one wrote SAN for a pawn's captures in a way which
was incompatible with other programs.

Knights 0.5 -- Monday December 17th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5
- Some distros had a problem compiling 2 lines of the documentation. This
has been fixed.
- Fixed a bug where recieving a position for a game we don't know about caused
Knights to crash.
- Fixed a bug where Knights did not notify ICS when a game was closed.
- In ICS matches where the local player was black, the chessmen were displayed
on the wrong coordinates on the board, making the match unplayable. This has
been fixed.
- Incomming clock times from ICS matches where divided by 10, making a 2 minute
clock look like 12 seconds. This has been fixed.
* Buffered the output of the Sought Games List to help remove the
"flashing" effect.
- Fixed the ability to review games on an ICS.
* Added ability to read .pgn files that contain multiple matches. Knights will
display a summary of the matches in a new window, and you simply click ( or
double-click based on your global KDE settings ) on a match to review it.
- The Sought Games List required a double click to accept a match, regardless
of your global KDE preferences. This has been fixed.
* Knights can now append all your saved games to a single .pgn file.
* Added the "Accept Match", "Tell...", "Finger", and "Add to Friends List"
options to the Sought Games List right click menu.
* Added "Reverse Board Orientation" option to the Match menu thanks to a patch
from Kunnar Klauks.
- Knights now closes the connection to the ICS when you close the console.
- Fixed a bug where a pawn promotion in a loaded game would prompt you to
choose the promotion.
- Fixed the phantom button bug which could occur if you closed matches
out of sequence.
* Added support for the XBoard commands "telluser" and "tellusererror".
- Did some minor code cleanup throughout the project.

Knights 0.4.9 -- Tuesday December 4th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Changed version number to 0.4.9
* Added option to disable the splash screen
* Added configuration for internet servers
* The Game menu is now the File menu, and the Opponent menu is now the Match
menu.
- The new game menu now dynamically enables or disables game types based on
your configuration. So, if you don't have any chess engines configured, you
can't play a vs. PC or PC vs PC game. Likewise for internet play and server
configuration.
* Added the Console... which handles sending and receiving messages via chess
server, and any other online transactions that don't occur Over the Board.
* Added "High Quality" mode, which displays a much smoother chessboard with
very little pixelation... even at the smallest board sizes. However, there
is a noticeable speed tradeoff.
* Added a 2Meg cache which greatly offsets much of the speed loss in High
Quality mode ( At least on my 600 it does ). Still not as fast as regular,
which should be fine for lower-end machines.
- Knights now displays an error message when you try playing with a bad book
engine configuration.
- Fixed bug where Knights couldn't read a move from a .pgn file if it was the
last token on the line.
* Knights will now read themes from two locations... The system-wide themes
directory ( usually /usr/share/apps/knights/themes ) and the media directory
so you can run Knights without installing it ( ../media )
* Added the 'Ponder' option to the Opponent menu.
* Added the 'Show Last Move' option to the Settings menu.
* Added 'Pause/Resume' functions to the Game menu.
* Separated themes into two - a board theme and a chessman theme.
- Removed the Green Marble theme from the Knights distro.
* Created the ThemePack distro. All themes ( except default ) will go here.
- Fixed the 'Reverse Orientation' option... it now displays correctly.
* Extended Knights' document handling to act like you would expect it: It
remembers URLs ( to resave, or save a loaded game ), and prompts whenever
an unsaved game is about to be destroyed.
* Expanded .pgn support to include multiple games per file and propper
parsing of comments.
* Added application/pgn mimetype
* Knights now connects to FICS and will play chess there.
* Added ALT-R to reply to the last private tell you recieved.
* Added ALT-C to chat on the last channel you recieved a message on.
* Knights now supports multiple matches at once.
* Knights will now default Pawn Promotions to Queen if the user does not
select one.
* Added ability to Retract or Undo a move while playing against an engine.
* Added a "Install Themes" function in the Settings.
* Added ability to modify the key bindings.
* Added a setup wizard to get new users up and running faster.
* Too many minor changes to document.

Knights 0.4.6 -- Wednesday August 15th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Changed version to 0.4.6
* Added en passant moves.
* Added rules for 50 move rule.
* Added rules for forced draws. ( 10.3 & 10.4 of F.I.D.E. Laws of Chess )
* Knights now sends time & otim to engines that want it.
- Fixed bug where Knights interpreted messages during a game into feature
commands. This occurred while playing Crafty. It sent "time control" during a
match, which Knights interpreted as "feature time=0" due to the way Knights
parses engine data as space separated tokens. A Timer was added to engineio
which keeps any feature commands from comming through after an initial two
seconds. This will probably become a problem again, however, and I should
look into making Knights read engine data as full lines rather than space
separated tokens.
- Fixed bug where internal records, and therefore PGN output, did not reflect
engine names properly when the feature myname was used. Now internal
records are not initiated until after the engines have initiated.
- Fixed bug where the last move of a game could result in an Illegal Move
error being printed on the status bar.
* Knights now recognizes all PGN Tags.
* Loaded games will now be displayed as it loads.
* Added command line option -d <path> for specifying Knights' data directory
- Fixed bug where the king could castle even after he moved
- v 0.4.5 broke the Promotion Selection Dialog. It is now fixed.
* Selecting previous moves from the notation combobox will let you review
the game. If someone makes a move while you're reviewing, you are returned
to the current position.
* The up and down arrow keys will cycle you through your game's history.
- You should now be able to continue a game if the engine thinks you've made
an illegal move.
* Added "Force Move" command to force a computer opponent to make a move.
* Added "Offer Draw" command to offer a draw to your opponent.
* Experimental support for Book Engines
- Fixed FEATURE delay for XBoard compatible engines
- Fixed a bug where new installs had to create two engines and switch them once
before any engines would load.
* Added "Reverse Board Orientation" option which, well, reverses the board's
orientation. =)
* Added first draft of documentation.
- Fixed minor bug in XBoard protocol's alternative move command
- Fixed other minor XBoard compliance issues
- Confirmed that KnightCap works with Knights
- Confirmed that Sjeng works with Knights
- Consolidated entries for GNUChess v4, XBoard v1, XBoard v2, and XBoard v3
protocols into XBoard
* Engine configurator now sorts the engine list
- Other minor tweaks that I can't remember

Knights 0.4.5 -- Sunday July 29th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Re-rendered graphics
* graphics are scalable... 14 different board sizes per theme
* Themes now stored in tarballs
* Knights recognizes and accepts most XBoard version 2 Features
* Crafty v18.9 is confirmed to work!

Knights 0.4.4 -- Friday July 20th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* enabled engine setup from Settings
* enabled engine vs. engine games
* Knights now recognizes true time control periods
* enabled playing as the black army
* added work on supporting book engines
* minor changes to the main interface

Knights 0.4.2 -- Tuesday July 17th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Initial public offering via CVS

+ 0
- 369
History View File

@@ -1,369 +0,0 @@
Knights 0.5.9 -- Friday January 17th, 2003
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.9
* The console is now organized into 'Tabs', rather than using a splitter. These
tabs can be dynamicaly organized into different windows by simply dragging
them. Drag a tab onto the desktop to create another tab window.
* Added the 'Seek Graph', which is a plotted chart of matches which people are
seeking. It behaves very much like the 'Sought Match List', but the graph
makes it easy to spot matches around your desired Rating / Time Controls.
* Added movement animations.
* Added a 'New Match' dialog that opens whenever you start a new match. It
allows you to set the time controls, players for each side, and more.
* Moved theme installation to the 'Settings' menu.
- Major speed improvments when selecting and dragging chessmen.
* You can now install multiple themes at once.
* Knights now handles keyboard input better. Don't worry about pressing
'Enter' before you start chatting, just begin.
* Knights can now auto-configure the following additional chess engines:
Cilian, Faile, OliThink, Pepito, and Yace.
- Fixed sloppy SAN disambiguation where it wasn't needed.
- Fixed gcc 3.1 compilation errors.
* Added Italian translations.
* Added Finnish translations.
- Fixed a bug where Knights would sometimes declare a draw too early.
- Fixed a bug in which the King could castle even if an adjacent position was
being attacked.
* Knights can now correctly read PGN files that contain FEN notation.
* You can now right click on a match's button to access a mini-file menu.
- XBoard is now the default engine protocol when you configure a new engine.
* Added basic support for the UCI engine protocol.
- Removed the listing for the Knights engine protocol.
* New users must accept our license ( the GPL ) before they can continue.
* Movement highlights now also work when reviewing a match.
* You can choose to login to your ICS as a 'guest' from the Login Dialog.
- Fixed a bug which sometimes kept audio from working.
* The 'Help' button in the 'Configure Knights...' dialog will now display
context sensitive help, depending on what page you're viewing.
* Knights can read and display images stored in the SCID *.img file format.
- Fixed problem where the Console wouldn't redraw without focus.
* You can now change the Console's text size using it's context menu.
- The Retract menu option can now be used several times in a row.
- Knights' main window is now raised to the top and given focus whenever a
new match starts, or whenever you select a different match.
* You can now have multiple PGN files open at the same time.
- Major rewrite of internal communications code.
- Fixed bug that made en passant moves illegal when your king was in check.
- Countless minor bugfixes.

Knights 0.5.6 -- Friday June 21st, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.6
- Fixed a bug in the setup wizard that makes every server but FICS the
current server.
- Knights will now handle invalid ICS logins in a sane manner.
- If you accept or counter-challenge a match offer from the
console, the Match Pop-up will go away.
- Fixed a bug where Less-than and Pipe symbols wouldn't render in the console.
- ( Possibily? ) Fixed a bug that caused Knights to repeat the final moves in a
match in the PGN game.
- If your opponent on ICS resigns, Knights now handles it properly.( Redux )
* Added a History file to Knights. It will contain all past ChangeLog entries
while ChangeLog will only contain entries for the current version.
* Expanded error reporting for failed theme installation.
- Fixed missing character bug in ICC play.
* The "Auto Close Last ICS" option is now on by default.
* You now setup Timeseal for each individual server.
* Added a combobox that lets you select the level of profanity filtering your
ICS preforms on incomming messages.
( Settings->Configure Knights->Chess Servers->Options->Profanity Filter )
- Knights should now correctly use the "Clock Ticking" and "Lag Compensation"
data sent to it by FICS.
* Added support for movelist retrieval from ICS ( experimental )
- Fixed Knights' parsing of Recursive Annotation Variations. RAVs embedded
within one another are now recognised and kept track of.
- Fixed the display of Numerical Annotation Glyphs
* Added support for proposed NAGs #140-154 and #190-195
- After loading a completed match, Knights now stops the clock and displays an
appropriate message on the Status Bar.
* Knights now fills out the "Mode" PGN tag when it knows the correct value.
- Fixed a bug where Knights looked for the "root" entry in a chessman
theme.conf rather than "rook".
* Knights now reads and uses the Notation Coordinate Colors specified within
theme.conf files.
- Fixed the time read from saved, unfinished PGN games.
* Moved the "Seconds Between Seek Updates" and "Auto Close Last ICS" options
from the General Settings to the Server Options tab.
- Rewrote the engine communications code to use KDE's TDEProcess instead of UNIX
pipes and signals. This should make Knights more portable, and should fix
some obscure errors.
* Applied KDE3 compatability patch from Harald Fernengel
- Made internal changes to the shutdown procedure. (KDE3)
- Made internal changes to the console's stylesheet. (KDE3)
* Made some minor changes with layout spacing.
- Fixed the Status Bar so that it's alignment is automatic, based on the
current language.
* Replaced the Default Board's 'Highlight' graphics with new images that
show off KDE3's true alpha-channel support. ( Blatant eye-candy, yum )
- Disabled the back button in the Setup Wizard's last page so you can't go back
and set everything up multiple times.
* When examining a match, manipulating the Notation List will now move you
back and forth through the match.
* Moving the mouse wheel will now navigate the Notation List.
* Added "Player History" to the right-click menu in the Sought Games List.
- Fixed that annoying Console 'jump' you got whenever a match began.
- Fixed the coloring of t-shouts and says.
* You can now continue to drag your chessman even after your opponent has moved
* The 'Show Last Move' option now uses the 'Movement' highlight to display the
appropriate positions. If a chessman was attacked as a part of the previous
move, then that position is shown with the 'Attack' highlight.
* When you preform a 'Premove', it will be represented on the board using
transparent chessmen, rather than the old way ( which was represented with
nothing =).
* You can now preform premoves during a match vs. a computer opponent.
* Left clicking anywhere on the board will cancel a premove.
* Added the "Assess" option to the right-click menu in the Sought Games List.
* Improved handling of Disconnections during ICS play. Also improved handling
of "Illegal Move" messages.
* "Play White" and "Play Black" menu options will now be disabled during an
ICS match.
* Added the ability to Print the notation for the current Match.
* Added translations to French, German, and Estonian.
- Fixed shutdown crash that occured when console was still open.
* Added 'Borders' to Chessboard themes.
- Knights no longer requires OpenGL.
* Added 'busy' cursor when waiting for opponent to move.
* Added the "Bowron Abernethy Chess Engine" to the list of autodetected
engines in the Setup Wizard.
- Fixed a bug in the Challenge Dialog Box that scrambled match parameters.
* Expanded 'Notification' coloring.

Knights 0.5.4.1 -- Wednesday February 6th, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.4.1
- Fixed critical error which disabled your ability to capture pieces.

Knights 0.5.4 -- Monday February 4th, 2002
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5.4
* All matches now use the same image cache, rather than creating it's own.
This will save you 2 meg of memory per concurrent match.
- Fixed a bug which prevented some castling.
* Added the 'Resign' option. ( Match->Resign )
* Knights now automatically adjusts the display depending on which army you're
playing. If you're black, it will be displayed on the bottom. Of course, the
option 'Reverse Board Orientation' reverses this effect: the local player's
army will be displayed at the top.
- Fixed problem with the display of the clocks while playing over an ICS.
- Fixed a bug where Knights will send the resign command to an ICS whenever
an ICS match is closed. Now, resign is never sent to ICS unless you tell
Knights to do so.
- If your opponent on ICS resigns, Knights now handles it properly.
- Knights now writes the correct result of a resigned game in .pgn files.
* Knights now fills out the PlayerType and Termination .pgn tags when it knows
the correct value.
* Implemented "drag & drop" movement of chessmen.
* Streamlined a lot of drawing code, making some operations ( like "Reverse
Board Orientation" ) much faster
* Added initial support for examining games via ICS.
* Added SOUND! ( Settings->Configure Knights->Audio )
* Optimized various bits of ICS code
* You can now call your opponent's flag ( Match->Call Flag )
- Fixed some bugs concerning ambiguous SAN notation
* Increased the width of the clock displays, making them more readable with
smaller boards.
* Added an option to automatically close the previous ICS match when you
begin a new one. ( Settings->Configure Knights->General->Automatically
Close Previous ICS Match )
* Knights can now begin with a match vs PC open, or it can begin connecting
to your ICS. ( Settings->Configure Knights->General->When Knights Begins
It Should: )
* Added Premove support. ( Settings->Configure Knights->Chess Servers->
Options->enable Premove )
* Added checkboxes for ICS Shouts, Unregistered Tells, Kibitzes, Seeks, and
Private Matches. ( Settings->Configure Knights->Chess Servers->Options )
- Fixed the "Reject Draw" option for ICS games.
- Fixed a bug where Channel Reply didn't work when the last channel message
came from an unregistered user.
* The menu option "Match->Reverse Board Orientation F2" has been renamed to
"Match->Flip Board F2". This option now works independently of the original
option ( Settings->Configure Knights->Display->Reverse Board Orientation" ).
Where the original option effects every board ( and is saved between
sessions ), this new Match Menu option effects only the current match, and
is not saved in any way.
* Now when you're challenged in ICS, a dialog will pop up with the details of
the challenge. From here you can accept or decline, or change the parameters
and make a counter offer.
* Added a patch from Harald Fernengel that makes Knights compatable with KDE3.
- Fixed bug where new ICS games began with garbage highlights.
- Fixed a bug which disabled en Passant moves via ICS game.
* Added extra error messages to detect theme loading problems.

Knights 0.5.1 -- Friday December 21st, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Fixed a compile bug for Tru64 users
- Fixed a bug introduced in 0.5 that made all play over ICS impossible
- Fixed a bug where Knights counted the opening position in an ICS match
as a move.
- Fixed another ICS related bug where moves you made, which ICS echos back,
were counted twice.
- Fixed yet another bug. This one wrote SAN for a pawn's captures in a way which
was incompatible with other programs.

Knights 0.5 -- Monday December 17th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Changed version to 0.5
- Some distros had a problem compiling 2 lines of the documentation. This
has been fixed.
- Fixed a bug where recieving a position for a game we don't know about caused
Knights to crash.
- Fixed a bug where Knights did not notify ICS when a game was closed.
- In ICS matches where the local player was black, the chessmen were displayed
on the wrong coordinates on the board, making the match unplayable. This has
been fixed.
- Incomming clock times from ICS matches where divided by 10, making a 2 minute
clock look like 12 seconds. This has been fixed.
* Buffered the output of the Sought Games List to help remove the
"flashing" effect.
- Fixed the ability to review games on an ICS.
* Added ability to read .pgn files that contain multiple matches. Knights will
display a summary of the matches in a new window, and you simply click ( or
double-click based on your global KDE settings ) on a match to review it.
- The Sought Games List required a double click to accept a match, regardless
of your global KDE preferences. This has been fixed.
* Knights can now append all your saved games to a single .pgn file.
* Added the "Accept Match", "Tell...", "Finger", and "Add to Friends List"
options to the Sought Games List right click menu.
* Added "Reverse Board Orientation" option to the Match menu thanks to a patch
from Kunnar Klauks.
- Knights now closes the connection to the ICS when you close the console.
- Fixed a bug where a pawn promotion in a loaded game would prompt you to
choose the promotion.
- Fixed the phantom button bug which could occur if you closed matches
out of sequence.
* Added support for the XBoard commands "telluser" and "tellusererror".
- Did some minor code cleanup throughout the project.

Knights 0.4.9 -- Tuesday December 4th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Changed version number to 0.4.9
* Added option to disable the splash screen
* Added configuration for internet servers
* The Game menu is now the File menu, and the Opponent menu is now the Match
menu.
- The new game menu now dynamically enables or disables game types based on
your configuration. So, if you don't have any chess engines configured, you
can't play a vs. PC or PC vs PC game. Likewise for internet play and server
configuration.
* Added the Console... which handles sending and receiving messages via chess
server, and any other online transactions that don't occur Over the Board.
* Added "High Quality" mode, which displays a much smoother chessboard with
very little pixelation... even at the smallest board sizes. However, there
is a noticeable speed tradeoff.
* Added a 2Meg cache which greatly offsets much of the speed loss in High
Quality mode ( At least on my 600 it does ). Still not as fast as regular,
which should be fine for lower-end machines.
- Knights now displays an error message when you try playing with a bad book
engine configuration.
- Fixed bug where Knights couldn't read a move from a .pgn file if it was the
last token on the line.
* Knights will now read themes from two locations... The system-wide themes
directory ( usually /usr/share/apps/knights/themes ) and the media directory
so you can run Knights without installing it ( ../media )
* Added the 'Ponder' option to the Opponent menu.
* Added the 'Show Last Move' option to the Settings menu.
* Added 'Pause/Resume' functions to the Game menu.
* Separated themes into two - a board theme and a chessman theme.
- Removed the Green Marble theme from the Knights distro.
* Created the ThemePack distro. All themes ( except default ) will go here.
- Fixed the 'Reverse Orientation' option... it now displays correctly.
* Extended Knights' document handling to act like you would expect it: It
remembers URLs ( to resave, or save a loaded game ), and prompts whenever
an unsaved game is about to be destroyed.
* Expanded .pgn support to include multiple games per file and propper
parsing of comments.
* Added application/pgn mimetype
* Knights now connects to FICS and will play chess there.
* Added ALT-R to reply to the last private tell you recieved.
* Added ALT-C to chat on the last channel you recieved a message on.
* Knights now supports multiple matches at once.
* Knights will now default Pawn Promotions to Queen if the user does not
select one.
* Added ability to Retract or Undo a move while playing against an engine.
* Added a "Install Themes" function in the Settings.
* Added ability to modify the key bindings.
* Added a setup wizard to get new users up and running faster.
* Too many minor changes to document.

Knights 0.4.6 -- Wednesday August 15th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

- Changed version to 0.4.6
* Added en passant moves.
* Added rules for 50 move rule.
* Added rules for forced draws. ( 10.3 & 10.4 of F.I.D.E. Laws of Chess )
* Knights now sends time & otim to engines that want it.
- Fixed bug where Knights interpreted messages during a game into feature
commands. This occurred while playing Crafty. It sent "time control" during a
match, which Knights interpreted as "feature time=0" due to the way Knights
parses engine data as space separated tokens. A Timer was added to engineio
which keeps any feature commands from comming through after an initial two
seconds. This will probably become a problem again, however, and I should
look into making Knights read engine data as full lines rather than space
separated tokens.
- Fixed bug where internal records, and therefore PGN output, did not reflect
engine names properly when the feature myname was used. Now internal
records are not initiated until after the engines have initiated.
- Fixed bug where the last move of a game could result in an Illegal Move
error being printed on the status bar.
* Knights now recognizes all PGN Tags.
* Loaded games will now be displayed as it loads.
* Added command line option -d <path> for specifying Knights' data directory
- Fixed bug where the king could castle even after he moved
- v 0.4.5 broke the Promotion Selection Dialog. It is now fixed.
* Selecting previous moves from the notation combobox will let you review
the game. If someone makes a move while you're reviewing, you are returned
to the current position.
* The up and down arrow keys will cycle you through your game's history.
- You should now be able to continue a game if the engine thinks you've made
an illegal move.
* Added "Force Move" command to force a computer opponent to make a move.
* Added "Offer Draw" command to offer a draw to your opponent.
* Experimental support for Book Engines
- Fixed FEATURE delay for XBoard compatible engines
- Fixed a bug where new installs had to create two engines and switch them once
before any engines would load.
* Added "Reverse Board Orientation" option which, well, reverses the board's
orientation. =)
* Added first draft of documentation.
- Fixed minor bug in XBoard protocol's alternative move command
- Fixed other minor XBoard compliance issues
- Confirmed that KnightCap works with Knights
- Confirmed that Sjeng works with Knights
- Consolidated entries for GNUChess v4, XBoard v1, XBoard v2, and XBoard v3
protocols into XBoard
* Engine configurator now sorts the engine list
- Other minor tweaks that I can't remember

Knights 0.4.5 -- Sunday July 29th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Re-rendered graphics
* graphics are scalable... 14 different board sizes per theme
* Themes now stored in tarballs
* Knights recognizes and accepts most XBoard version 2 Features
* Crafty v18.9 is confirmed to work!

Knights 0.4.4 -- Friday July 20th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* enabled engine setup from Settings
* enabled engine vs. engine games
* Knights now recognizes true time control periods
* enabled playing as the black army
* added work on supporting book engines
* minor changes to the main interface

Knights 0.4.2 -- Tuesday July 17th, 2001
Troy Corbin Jr. <tcorbin@users.sourceforge.net>

* Initial public offering via CVS



+ 16
- 26
INSTALL View File

@@ -1,26 +1,16 @@
Dependencies:
-------------

- Qt 3.x
- KDE 3.x
- Autoconf 2.5
- Automake 1.6

You'll also need to have your $TDEDIR environment variable set correctly.


Installing from Tarball Distribution:
-------------------------------------

Type: ./configure
make
make install


Installing from CVS:
--------------------

Type: make -f Makefile.dist
./configure
make
make install
Basic Installation
==================

Knights relies on cmake to build.

Here are suggested default options:

-DCMAKE_INSTALL_PREFIX="/opt/trinity" \
-DCONFIG_INSTALL_DIR="/etc/trinity" \
-DSYSCONF_INSTALL_DIR="/etc/trinity" \
-DXDG_MENU_INSTALL_DIR="/etc/xdg/menus" \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_VERBOSE_MAKEFILE="ON" \
-DCMAKE_SKIP_RPATH="OFF" \
-DBUILD_ALL="ON" \
-DWITH_ALL_OPTIONS="ON"

+ 0
- 54
Makefile.am View File

@@ -1,54 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########

SUBDIRS = doc knights media po

####### tdevelop will overwrite this part!!! (end)############
# not a GNU package. You can remove this line, if
# have all needed files, that a GNU package needs
AUTOMAKE_OPTIONS = foreign

$(top_srcdir)/configure.in: configure.in.in $(top_srcdir)/subdirs
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common configure.in ;

$(top_srcdir)/subdirs:
cd $(top_srcdir) && $(MAKE) -f admin/Makefile.common subdirs

$(top_srcdir)/acinclude.m4: $(top_srcdir)/admin/acinclude.m4.in $(top_srcdir)/admin/libtool.m4.in
@cd $(top_srcdir) && cat admin/acinclude.m4.in admin/libtool.m4.in > acinclude.m4

MAINTAINERCLEANFILES = subdirs configure.in acinclude.m4 configure.files

package-messages:
$(MAKE) -f admin/Makefile.common package-messages
$(MAKE) -C po merge

dist-hook:
cd $(top_distdir) && perl admin/am_edit -padmin
cd $(top_distdir) && $(MAKE) -f admin/Makefile.common subdirs

rpm_prep: doc clean distclean-generic ${PACKAGE}.spec
rm -R -f /tmp/${PACKAGE}-@RPM_VERSION@
mkdir -p /tmp/${PACKAGE}-@RPM_VERSION@
(cd ${srcdir} ; cp -R -a ./* /tmp/${PACKAGE}-@RPM_VERSION@ )
(cd /tmp/ ; \
touch ${PACKAGE}-@RPM_VERSION@/doc/help_{en,de,fr,et}.docbook ; \
find ${SRC_PREFIX}-@RPM_VERSION@ -name CVS > \
/tmp/${PACKAGE}-tar-excludes.lst ; \
find ${SRC_PREFIX}-@RPM_VERSION@ -name Makefile \
-o -name Makefile.in >> \
/tmp/${PACKAGE}-tar-excludes.lst ; \
echo "${SRC_PREFIX}-@RPM_VERSION@/doc/api" >> \
/tmp/${PACKAGE}-tar-excludes.lst ; \
tar --exclude-from=/tmp/${PACKAGE}-tar-excludes.lst \
-chzf ${PACKAGE}-@RPM_VERSION@.tar.gz \
${SRC_PREFIX}-@RPM_VERSION@ ; \
rm -f /tmp/${PACKAGE}-tar-excludes.lst )
rm -R -f /tmp/${PACKAGE}-@RPM_VERSION@

# does not work with original SuSE-6.4 rpm
# you will need an update of the rpm package !
rpm: rpm_prep
rpm -ta /tmp/${PACKAGE}-@RPM_VERSION@.tar.gz

src.rpm: rpm_prep
rpm -ts /tmp/${PACKAGE}-@RPM_VERSION@.tar.gz

+ 0
- 14
Makefile.dist View File

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

.SILENT:

+ 33
- 24
README View File

@@ -1,26 +1,24 @@
Knights - A chess interface for the Trinity Desktop Environment

FOR INSTALLATION INSTRUCTIONS, SEE THE "INSTALL" FILE
Knights - A chess interface (GUI) for the Trinity Desktop Environment

- What Is Knights?

Knights is a graphical chess interface designed to work with TDE. Knights
is called a chess 'interface' because it does not come with it's own computer
players. There are several very good computer players ( Chess Engines )
already. Unfortunatly, most chess engines do not include fully featured GUIs.
Instead, they rely on other programs ( like Knights ) to fill the gap.

- How can I learn more about Knights?
Knights is a graphical chess interface designed to work with TDE.
It's designed to be both friendly to new chess players and
functional for Grand Masters. Knights is called a chess "interface"
because it does not come with it's own computer players. There are
several computer players ( Chess Engines ) already. Unfortunatly, most
chess engines do not include fully featured GUIs. Instead, they rely on
other programs ( like Knights ) to fill the gap.

If you're interested in learning more, you should visit our project's website
at http://knights.sourceforge.net

- What Chess Engines work with Knights?
- What Chess Engines can work with Knights?

Knights should support any engine which uses the XBoard protocol developed by
Tim Mann. Knights will also offer it's own protocol for future use. To date,
the following chess engines have been confirmed to work with Knights. If you
know of another, please let me know so I can update this list.
Knights should support any engine which uses the XBoard protocol
developed by Tim Mann. Knights will also offer it's own protocol for
future use. To date, the following chess engines have been confirmed
to work with. If you know of another, please let we know so we can
update this list.

- GNUChess v4.0 patchlevel 80
- GNUChess v5.02
@@ -30,15 +28,26 @@ know of another, please let me know so I can update this list.
- Sjeng v10.0
- BabyChess

- What can I do to help Knights?

Knights can always use help in a number of areas. The best way to get started
would be to express your interests on the knights-devel mailing list. You can
sign up from here:
- List of Knights' key features:

http://sourceforge.net/mail/?group_id=31461
* Play against yourself, against computer opponents,
or against others over the Internet.
* Customize your board and pieces with over 30 different themes,
or make your own!
* Audio cues help alert you to important events.
* Novice players can preview potential moves.
* Save your unfinished matches and play them again later.

Currently, we're very interested in talking to a graphics artist about
designing some new themes, and we would like to talk to some advanced
chess players about helping to develop the tutorials.

CONTRIBUTING
==============

If you wish to contribute to knights (TDE), you might do so:

- TDE Gitea Workspace (TGW) collaboration tool.
https://mirror.git.trinitydesktop.org/gitea

- TDE Weblate Translation Workspace (TWTW) collaboration tool.
https://mirror.git.trinitydesktop.org/weblate

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


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


+ 0
- 1
admin

@@ -1 +0,0 @@
Subproject commit 68f23556e638353e46b444d3a4863a64936bd36a

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


+ 0
- 169
config.h.in View File

@@ -1,169 +0,0 @@
/* config.h.in. Generated from configure.in by autoheader. */

/* Define if you have the CoreAudio API */
#undef HAVE_COREAUDIO

/* Define to 1 if you have the <crt_externs.h> header file. */
#undef HAVE_CRT_EXTERNS_H

/* Defines if your system has the crypt function */
#undef HAVE_CRYPT

/* Define to 1 if you have the <dlfcn.h> header file. */
#undef HAVE_DLFCN_H

/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H

/* Define if you have libjpeg */
#undef HAVE_LIBJPEG

/* Define if you have libpng */
#undef HAVE_LIBPNG

/* Define if you have a working libpthread (will enable threaded code) */
#undef HAVE_LIBPTHREAD

/* Define if you have libz */
#undef HAVE_LIBZ

/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H

/* Define if your system needs _NSGetEnviron to set up the environment */
#undef HAVE_NSGETENVIRON

/* Define to 1 if you have the <pthread/linuxthreads/pthread.h> header file.
*/
#undef HAVE_PTHREAD_LINUXTHREADS_PTHREAD_H

/* Define if you have the res_init function */
#undef HAVE_RES_INIT

/* Define to 1 if you have the `snprintf' function. */
#undef HAVE_SNPRINTF

/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H

/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H

/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H

/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H

/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H

/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H

/* C++ compiler supports template repository */
#undef HAVE_TEMPLATE_REPOSITORY

/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H

/* Define to 1 if you have the `vsnprintf' function. */
#undef HAVE_VSNPRINTF

/* Define if you want Xinerama support */
#undef HAVE_XINERAMA

/* Suffix for lib directories */
#undef KDELIBSUFF

/* Name of package */
#undef PACKAGE

/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT

/* Define to the full name of this package. */
#undef PACKAGE_NAME

/* Define to the full name and version of this package. */
#undef PACKAGE_STRING

/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME

/* Define to the version of this package. */
#undef PACKAGE_VERSION

/* The size of a `char', as computed by sizeof. */
#undef SIZEOF_CHAR

/* The size of a `char *', as computed by sizeof. */
#undef SIZEOF_CHAR_P

/* The size of a `int', as computed by sizeof. */
#undef SIZEOF_INT

/* The size of a `long', as computed by sizeof. */
#undef SIZEOF_LONG

/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS

/* Version number of package */
#undef VERSION

/*
* jpeg.h needs HAVE_BOOLEAN, when the system uses boolean in system
* headers and I'm too lazy to write a configure test as long as only
* unixware is related
*/
#ifdef _UNIXWARE
#define HAVE_BOOLEAN
#endif



/*
* AIX defines FD_SET in terms of bzero, but fails to include <strings.h>
* that defines bzero.
*/

#if defined(_AIX)
#include <strings.h>
#endif



/*
* On HP-UX, the declaration of vsnprintf() is needed every time !
*/

#if !defined(HAVE_VSNPRINTF) || defined(hpux)
#if __STDC__
#include <stdarg.h>
#include <stdlib.h>
#else
#include <varargs.h>
#endif
#ifdef __cplusplus
extern "C"
#endif
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
#ifdef __cplusplus
extern "C"
#endif
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif



#if defined(__SVR4) && !defined(__svr4__)
#define __svr4__ 1
#endif


/* Compatibility define */
#undef ksize_t

/* Define the real type of socklen_t */
#undef socklen_t

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


+ 0
- 2
configure.files View File

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

+ 0
- 85
configure.in View File

@@ -1,85 +0,0 @@
dnl This file is part of the KDE libraries/packages
dnl Copyright (C) 2001 Stephan Kulow (coolo@kde.org)
dnl This file is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU Library General Public
dnl License as published by the Free Software Foundation; either
dnl version 2 of the License, or (at your option) any later version.
dnl This library is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
dnl Library General Public License for more details.
dnl You should have received a copy of the GNU Library General Public License
dnl along with this library; see the file COPYING.LIB. If not, write to
dnl the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
dnl Boston, MA 02110-1301, USA.

# Original Author was Kalle@kde.org
# I lifted it in some mater. (Stephan Kulow)
# I used much code from Janos Farkas

dnl Process this file with autoconf to produce a configure script.

AC_INIT(acinclude.m4) dnl a source file from your sub dir

dnl This is so we can use kde-common
AC_CONFIG_AUX_DIR(admin)

dnl This ksh/zsh feature conflicts with `cd blah ; pwd`
unset CDPATH

dnl Checking host/target/build systems, for make, install etc.
AC_CANONICAL_SYSTEM
dnl Perform program name transformation
AC_ARG_PROGRAM

dnl Automake doc recommends to do this only here. (Janos)
AM_INIT_AUTOMAKE(knights, 0.6) dnl searches for some needed programs

KDE_SET_PREFIX

dnl generate the config header
AM_CONFIG_HEADER(config.h) dnl at the distribution this done

dnl Checks for programs.
AC_CHECK_COMPILERS
AC_ENABLE_SHARED(yes)
AC_ENABLE_STATIC(no)
KDE_PROG_LIBTOOL

dnl for NLS support. Call them in this order!
dnl WITH_NLS is for the po files
AM_KDE_WITH_NLS

KDE_USE_TQT(3.0.0)
AC_PATH_KDE
#MIN_CONFIG(3.0.0)

dnl PACKAGE set before
AC_PREREQ(2.5)

KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(meinproc)])
AC_SUBST(MEINPROC)

KDE_CREATE_SUBDIRSLIST
AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ admin/Makefile ])
AC_CONFIG_FILES([ doc/Makefile ])
AC_CONFIG_FILES([ knights/Makefile ])
AC_CONFIG_FILES([ media/Makefile ])
AC_CONFIG_FILES([ po/Makefile ])
AC_OUTPUT
if test "$all_tests" = "bad"; then
if test ! "$cache_file" = "/dev/null"; then
echo ""
echo "Please remove the file $cache_file after changing your setup"
echo "so that configure will find the changes next time."
echo ""
fi
else
echo ""
echo "Good - your configure finished. Start make now"
echo ""
fi

+ 0
- 10
configure.in.in View File

@@ -1,10 +0,0 @@
#MIN_CONFIG(3.0.0)

KDE_ENABLE_HIDDEN_VISIBILITY

AM_INIT_AUTOMAKE(knights,0.6)
AC_PREREQ(2.5)

KDE_FIND_PATH(meinproc, MEINPROC, [$kde_default_bindirs], [KDE_MISSING_PROG_ERROR(meinproc)])
AC_SUBST(MEINPROC)


CreatingThemes → doc/CreatingThemes View File


+ 0
- 6
doc/Makefile.am View File

@@ -1,6 +0,0 @@
# the SUBDIRS is filled automatically by am_edit. If files are
# in this directory they are installed into the english dir

KDE_LANG = en
KDE_DOCS = knights
SUBDIRS = $(AUTODIRS)

+ 0
- 2
doc/en/Makefile.am View File

@@ -1,2 +0,0 @@
KDE_DOCS = knights
KDE_LANG = en

+ 7
- 28
doc/en/index.docbook View File

@@ -43,12 +43,12 @@
</releaseinfo>
<abstract>
<para>
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.
Knights is a graphical chess interface for &tde;. 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.
</para>
</abstract>
<keywordset>
<keyword>knights</keyword>
<keyword>KDE</keyword>
<keyword>TDE</keyword>
<keyword>game</keyword>
<keyword>chess</keyword>
<keyword>gnuchess</keyword>
@@ -589,46 +589,25 @@
<sect1 id="installation-obtain-knights">
<title>How to obtain Knights</title>
<para>
The Knights Project is located at <ulink url="http://knights.sourceforge.net/">http://knights.sourceforge.net</ulink>. It will usually contain the most up-to-date information on Knights available.
The Knights Project is holded at <ulink url="http://trinitydesktop.org/">http://trinitydesktop.org</ulink>. It will usually contain the most up-to-date information on Knights available.
</para>
<note>
<para>
If you're using the <ulink url="http://www.opennic.org/">OpenNIC</ulink> root service, then you can reach the Knights Project at <ulink url="http://www.knights.oss/">http://www.knights.oss</ulink>.
A developer area is available at <ulink url="https://mirror.git.trinitydesktop.org/gitea">TDE Gitea Workspace (TGW)</ulink>.
A translator area is available at <ulink url="https://mirror.git.trinitydesktop.org/weblate/">TDE Weblate Translation Workspace (TWTW)</ulink>.
</para>
</note>
</sect1>
<sect1 id="installation-requirements">
<title>Requirements</title>
<para>
Before you can install Knights, you must have the Trinity Desktop Environment installed on your system. Knights also requires that you have <ulink url="http://www.gnu.org/directory/Software_development/Program_build_automation/autoconf.html">Autoconf</ulink> version 2.5 and <ulink url="http://www.gnu.org/directory/Software_development/Program_build_automation/automake.html">Automake</ulink> version 1.6.
Before you can install Knights, you must have the Trinity Desktop Environment installed on your system. Knights also requires that you have cmake (version >= 2.8) as building tool.
</para>
</sect1>
<sect1 id="installation-compilation">
<title>Compilation and Installation</title>
<para>
Knights uses <application>autoconf</application> and <application>automake</application> to ensure that compiling is easy. If for some reason Knights won't compile for you, help is available at the Knights Project website located at <ulink url="http://knights.sourceforge.net/">http://knights.sourceforge.net</ulink>.
</para>
<para>
You must have the TDEDIR environment variable defined before you begin the installation. Without this, Knights will not be able to access it's resources! To add the TDEDIR environment variable, you need to edit your /etc/profile ( or ~/.bash_profile ) and add the line:
</para>
<para>
<userinput><command>export TDEDIR="/usr"</command></userinput>
</para>
<para>
...where /usr is your KDE's base directory.
</para>
<para>
Now, change the present working directory to the location where you unarchived Knights and type the following:
</para>
<informalexample>
<screen width="40">
<prompt>%</prompt> <userinput><command>./configure</command></userinput>
<prompt>%</prompt> <userinput><command>make</command></userinput>
<prompt>%</prompt> <userinput><command>make</command> <option>install</option></userinput>
</screen>
</informalexample>
<para>
Knights should now be installed and ready to go. You can type <userinput><command>knights</command></userinput> in a terminal to start the game, or create an icon for it and select that.
Knights uses cmake to ensure that compiling is easy. Please read the INSTALL file for the basics and the suggested default options.
</para>
</sect1>
</appendix>


+ 0
- 61
knights/Makefile.am View File

@@ -1,61 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########
bin_PROGRAMS = knights

## INCLUDES were found outside tdevelop specific part

knights_SOURCES = board_2d.cpp board_base.cpp setpagedisplay.cpp proto_xboard.cpp dlg_selectengine.cpp thinbuttons.cpp pgn.cpp io_engine.cpp dlg_challenge.cpp idmanager.cpp challenge_graph.cpp dlg_login.cpp tabgrip.cpp tabpage.cpp tab_seeklist.cpp dlg_engine.cpp setpageaudio.cpp proto_base.cpp dlg_server.cpp core.cpp match_param.cpp knightspixcache.cpp dlg_settings.cpp console.cpp match.cpp setpagegeneral.cpp splash.cpp audio.cpp main.cpp logic.cpp list_pgn.cpp challenge_graph_view.cpp accel.cpp dlg_selectemail.cpp challenge_rectangle.cpp knightstextview.cpp tabmanager.cpp command.cpp dlg_newmatch.cpp chessclock.cpp dlg_promote.cpp resource.cpp tabbox.cpp io_internet.cpp challenge_game.cpp knights.cpp tab_pgnview.cpp io_base.cpp wiz_setup.cpp setpageservers.cpp proto_uci.cpp setpageengines.cpp
knights_LDADD = $(LIB_TQT) -lartskde -ltdeio -ltdeprint -ltdeui -ltdecore $(LIBSOCKET) -lsoundserver_idl -lkmedia2_idl -lartsflow_idl -lmcop

EXTRA_DIST = setpageengines.cpp proto_uci.cpp setpageservers.cpp wiz_setup.cpp setpageengines.h io_base.cpp knightsmap.h tab_pgnview.cpp knights.cpp challenge_game.cpp io_internet.cpp challenge_graph_view.h resource.h tabbox.cpp resource.cpp dlg_promote.cpp dlg_server.h pgn.h chessclock.cpp dlg_newmatch.cpp command.h io_internet.h challenge_rectangle.h command.cpp tabmanager.cpp dlg_promote.h definitions.h knightstextview.cpp challenge_rectangle.cpp dlg_selectemail.cpp splash.h list_pgn.h accel.cpp tabmanager.h match.h setpagedisplay.h challenge_graph_view.cpp list_pgn.cpp logic.h logic.cpp knightstextview.h main.cpp audio.cpp splash.cpp setpagegeneral.cpp match.cpp io_base.h console.h idmanager.h dlg_selectemail.h console.cpp tab_pgnview.h knights.h dlg_settings.cpp core.h knightspixcache.cpp thinbuttons.h dlg_settings.h setpageservers.h tab_seeklist.h match_param.cpp core.cpp match_param.h dlg_server.cpp pgn.desktop tabbox.h accel.h io_engine.h proto_base.cpp setpageaudio.cpp dlg_engine.cpp tab_seeklist.cpp tabpage.cpp challenge_graph.h tabgrip.cpp dlg_login.cpp challenge_graph.cpp proto_uci.h setpageaudio.h proto_base.h chessclock.h setpagegeneral.h idmanager.cpp dlg_challenge.cpp io_engine.cpp audio.h dlg_newmatch.h pgn.cpp dlg_engine.h thinbuttons.cpp wiz_setup.h dlg_selectengine.cpp challenge_game.h proto_xboard.cpp knightspixcache.h setpagedisplay.cpp tabgrip.h knights.desktop dlg_login.h proto_xboard.h dlg_challenge.h dlg_selectengine.h tabpage.h board_base.cpp board_base.h board_2d.cpp board_2d.h Makefile.am

install-data-local:
$(mkinstalldirs) $(kde_mimedir)/application/
$(INSTALL_DATA) $(srcdir)/pgn.desktop $(kde_mimedir)/application/pgn.desktop
$(mkinstalldirs) $(kde_appsdir)/Games/Board/
$(INSTALL_DATA) $(srcdir)/knights.desktop $(kde_appsdir)/Games/Board/knights.desktop

uninstall-local:
-rm -f $(kde_mimedir)/application/pgn.desktop
-rm -f $(kde_appsdir)/Games/Board/knights.desktop

####### tdevelop will overwrite this part!!! (end)############
# this 10 paths are KDE specific. Use them:
# kde_htmldir Where your docs should go to. (contains lang subdirs)
# kde_appsdir Where your application file (.kdelnk) should go to.
# kde_icondir Where your icon should go to.
# kde_minidir Where your mini icon should go to.
# kde_datadir Where you install application data. (Use a subdir)
# kde_locale Where translation files should go to.(contains lang subdirs)
# kde_cgidir Where cgi-bin executables should go to.
# kde_confdir Where config files should go to.
# kde_mimedir Where mimetypes should go to.
# kde_toolbardir Where general toolbar icons should go to.
# kde_wallpaperdir Where general wallpapers should go to.

# set the include path for X, qt and KDE
INCLUDES= $(all_includes)

METASOURCES = AUTO

# the library search path.
knights_LDFLAGS = $(all_libraries) $(KDE_RPATH) $(LIB_TQT) -lDCOP $(LIB_TDECORE) $(LIB_TDEUI) -ltdefx $(LIB_TDEIO) -ltdetexteditor -lartskde -lsoundserver_idl -lkmedia2_idl -lartsflow_idl -lmcop

# Uncomment the following two lines if you add a ui.rc file for your application to make use of
# KDE´s XML GUI builing
#rcdir = $(kde_datadir)/knights
#rc_DATA = knightsui.rc

#WARNING: if you use a ui.rc file above, use:

# messages: rc.cpp

# instead of

# messages:

messages:
LIST=`find $(srcdir) -name \*.h -o -name \*.hh -o -name \*.H -o -name \*.hxx -o -name \*.hpp -o -name \*.cpp -o -name \*.cc -o -name \*.cxx -o -name \*.ecpp -o -name \*.C`; \
if test -n "$$LIST"; then \
$(XGETTEXT) $$LIST -o $(podir)/knights.pot; \
fi


+ 0
- 74
media/Makefile.am View File

@@ -1,74 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########


EXTRA_DIST = hi48-mime-pgn.png hi16-mime-pgn.png KSDefault.tar.gz default-portrait.jpg hi64-app-knights.png pgn_template.kml hi64-mime-pgn.png hi32-mime-pgn.png icon-general.png hi32-app-knights.png default-engine-portrait.jpg KBDefault.tar.gz wizard.png hi48-app-knights.png KCDefault.tar.gz hi16-app-knights.png icon-display.png Makefile.am

KBDefault.tar.gz: KBDefault
ls $(<D)/$(^F) | xargs -r tar cfz $@ -C $(<D)/$(^F)

KCDefault.tar.gz: KCDefault
ls $(<D)/$(^F) | xargs -r tar cfz $@ -C $(<D)/$(^F)

KSDefault.tar.gz: KSDefault
ls $(<D)/$(^F) | xargs -r tar cfz $@ -C $(<D)/$(^F)

install-data-local: KBDefault.tar.gz KCDefault.tar.gz KSDefault.tar.gz
$(mkinstalldirs) $(kde_icondir)/hicolor/48x48/mimetypes/
$(INSTALL_DATA) $(srcdir)/hi48-mime-pgn.png $(kde_icondir)/hicolor/48x48/mimetypes/pgn.png
$(mkinstalldirs) $(kde_icondir)/hicolor/16x16/mimetypes/
$(INSTALL_DATA) $(srcdir)/hi16-mime-pgn.png $(kde_icondir)/hicolor/16x16/mimetypes/pgn.png
$(mkinstalldirs) $(kde_datadir)/knights/themes/
$(INSTALL_DATA) $(builddir)/KSDefault.tar.gz $(kde_datadir)/knights/themes/KSDefault.tar.gz
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/default-portrait.jpg $(kde_datadir)/knights/default-portrait.jpg
$(mkinstalldirs) $(kde_icondir)/hicolor/64x64/apps/
$(INSTALL_DATA) $(srcdir)/hi64-app-knights.png $(kde_icondir)/hicolor/64x64/apps/knights.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/splash.png $(kde_datadir)/knights/splash.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/pgn_template.kml $(kde_datadir)/knights/pgn_template.kml
$(mkinstalldirs) $(kde_icondir)/hicolor/64x64/mimetypes/
$(INSTALL_DATA) $(srcdir)/hi64-mime-pgn.png $(kde_icondir)/hicolor/64x64/mimetypes/pgn.png
$(mkinstalldirs) $(kde_icondir)/hicolor/32x32/mimetypes/
$(INSTALL_DATA) $(srcdir)/hi32-mime-pgn.png $(kde_icondir)/hicolor/32x32/mimetypes/pgn.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/icon-general.png $(kde_datadir)/knights/icon-general.png
$(mkinstalldirs) $(kde_icondir)/hicolor/32x32/apps/
$(INSTALL_DATA) $(srcdir)/hi32-app-knights.png $(kde_icondir)/hicolor/32x32/apps/knights.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/default-engine-portrait.jpg $(kde_datadir)/knights/default-engine-portrait.jpg
$(mkinstalldirs) $(kde_datadir)/knights/themes/
$(INSTALL_DATA) $(builddir)/KBDefault.tar.gz $(kde_datadir)/knights/themes/KBDefault.tar.gz
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/wizard.png $(kde_datadir)/knights/wizard.png
$(mkinstalldirs) $(kde_icondir)/hicolor/48x48/apps/
$(INSTALL_DATA) $(srcdir)/hi48-app-knights.png $(kde_icondir)/hicolor/48x48/apps/knights.png
$(mkinstalldirs) $(kde_datadir)/knights/themes/
$(INSTALL_DATA) $(builddir)/KCDefault.tar.gz $(kde_datadir)/knights/themes/KCDefault.tar.gz
$(mkinstalldirs) $(kde_icondir)/hicolor/16x16/apps/
$(INSTALL_DATA) $(srcdir)/hi16-app-knights.png $(kde_icondir)/hicolor/16x16/apps/knights.png
$(mkinstalldirs) $(kde_datadir)/knights/
$(INSTALL_DATA) $(srcdir)/icon-display.png $(kde_datadir)/knights/icon-display.png

uninstall-local:
-rm -f $(kde_icondir)/hicolor/48x48/mimetypes/pgn.png
-rm -f $(kde_icondir)/hicolor/16x16/mimetypes/pgn.png
-rm -f $(kde_datadir)/knights/themes/KSDefault.tar.gz
-rm -f $(kde_datadir)/knights/default-portrait.jpg
-rm -f $(kde_icondir)/hicolor/64x64/apps/knights.png
-rm -f $(kde_datadir)/knights/splash.png
-rm -f $(kde_datadir)/knights/pgn_template.kml
-rm -f $(kde_icondir)/hicolor/64x64/mimetypes/pgn.png
-rm -f $(kde_icondir)/hicolor/32x32/mimetypes/pgn.png
-rm -f $(kde_datadir)/knights/icon-general.png
-rm -f $(kde_icondir)/hicolor/32x32/apps/knights.png
-rm -f $(kde_datadir)/knights/default-engine-portrait.jpg
-rm -f $(kde_datadir)/knights/themes/KBDefault.tar.gz
-rm -f $(kde_datadir)/knights/wizard.png
-rm -f $(kde_icondir)/hicolor/48x48/apps/knights.png
-rm -f $(kde_datadir)/knights/themes/KCDefault.tar.gz
-rm -f $(kde_icondir)/hicolor/16x16/apps/knights.png
-rm -f $(kde_datadir)/knights/icon-display.png

####### tdevelop will overwrite this part!!! (end)############


+ 0
- 17
patch-stamp View File

@@ -1,17 +0,0 @@
Patches applied in the Debian version of :

debian/patches/01_gcc-4.0-fix.dpatch (Tommaso Moroni <moronito@debian.org>):
No description.

debian/patches/02_de.po.dpatch (Tommaso Moroni <moronito@debian.org>):
No description.

debian/patches/03_noGPLonload.dpatch (Claudio Moratti <maxer@knio.it>):
No description.

debian/patches/04_qt3_headers.dpatch (<bdefreese@debian2.bddebian.com>):
No description.

debian/patches/kubuntu_01_fix_castle.dpatch (Martin Meredith <mez@ubuntu.com>):
Fixes crash on castling


+ 0
- 7
po/Makefile.am View File

@@ -1,7 +0,0 @@
####### tdevelop will overwrite this part!!! (begin)##########
POFILES = AUTO


EXTRA_DIST = de.gmo es.gmo fi.gmo et.gmo fr.gmo it.gmo

####### tdevelop will overwrite this part!!! (end)############

+ 0
- 1
stamp-h.in View File

@@ -1 +0,0 @@
timestamp

+ 0
- 5
subdirs View File

@@ -1,5 +0,0 @@
admin
doc
knights
media
po

Loading…
Cancel
Save