--- scid-4.3.0.cvs20110714.orig/Makefile +++ scid-4.3.0.cvs20110714/Makefile @@ -9,11 +9,11 @@ # BINDIR: where the Scid programs are copied for "make install". # -BINDIR = /usr/local/bin +BINDIR = /home/oliver/debian/scid/scid-4.3.0.cvs20110714/debian/scid/usr/games # SHAREDIR: where scid.eco is copied for "make install". # -SHAREDIR = /usr/local/share/scid +SHAREDIR = /home/oliver/debian/scid/scid-4.3.0.cvs20110714/debian/scid/usr/share/scid ### TCL_VERSION: Set this according to the version of Tcl/Tk you have # installed that you want Scid to use: 8.0, 8.1, 8.2, 8.3, etc. @@ -64,7 +64,7 @@ # Use "TB = -DSCID_USE_TB -DT41_INCLUDE" to include use of 4-1 # (King + 3 pieces vs lone king) tablebases. # -TB = -DSCID_USE_TB -DT41_INCLUDE +TB = ### SCIDFLAGS: Scid customization flags. # Use -DZLIB if your system does not have zlib and you need @@ -124,7 +124,7 @@ # Note: scidt and eco2epd are obsolete and not compiled by default. # PG : put back scidt has it appears to be useful in certain cases # -EXECS= pgnscid tkscid tcscid scmerge scidlet scidt +EXECS= pgnscid tkscid tcscid scmerge scidlet scidt eco2epd ### SCIDOBJS: not all the .o files that make up Scid, just the standard ones # that most of the programs include. @@ -201,7 +201,7 @@ # Small extra programs. Most are written in Tcl using tcscid, but # a few contributed ones may be in Python or other languages. # -SCRIPTS= sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix spliteco spf2spi +SCRIPTS= sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix spliteco spf2spi eco2pgn #################### @@ -230,11 +230,11 @@ install -m 755 -d $(DESTDIR)$(BINDIR) install -m 755 -d $(DESTDIR)$(SHAREDIR)/data/ install -m 755 scid $(SCRIPTS) $(EXECS) $(DESTDIR)$(BINDIR) - install -m 644 -p scid.eco $(DESTDIR)$(SHAREDIR)/data/ + install -m 644 -p scid.eco scid_fr.eco scid_es.eco $(DESTDIR)$(SHAREDIR)/data/ install -m 755 -d $(DESTDIR)$(SHAREDIR)/books - install -m 666 ./books/*.* $(DESTDIR)$(SHAREDIR)/books/ +# install -m 666 ./books/*.* $(DESTDIR)$(SHAREDIR)/books/ install -m 755 -d $(DESTDIR)$(SHAREDIR)/bases - if test -d ./bases; then install -m 666 ./bases/*.* $(DESTDIR)$(SHAREDIR)/bases/ ; fi +# if test -d ./bases; then install -m 666 ./bases/*.* $(DESTDIR)$(SHAREDIR)/bases/ ; fi install -m 755 -d $(DESTDIR)$(SHAREDIR)/html cp -r ./html/* $(DESTDIR)$(SHAREDIR)/html/ @@ -250,7 +250,7 @@ rm -rf $(SHAREDIR)/books rm -rf $(SHAREDIR)/bases rm -rf $(SHAREDIR)/data/ - rm -f $(SHAREDIR)/data/scid.eco + rm -f $(SHAREDIR)/data/scid.eco $(SHAREDIR)/data/scid_fr.eco $(SHAREDIR)/data/scid_es.eco rm -f $(BINDIR)/scid $(BINDIR)/sc_addmove $(BINDIR)/sc_epgn rm -f $(BINDIR)/sc_spell $(BINDIR)/sc_eco $(BINDIR)/sc_import rm -f $(BINDIR)/sc_remote $(BINDIR)/sc_tree $(BINDIR)/scidpgn @@ -270,23 +270,23 @@ # clean: rm -f game.* learn* tkscid.so tkscid.dll position.* src/*.o src/zlib/*.o src/zlib/*.a src/polyglot/*.o $(EXECS) scid $(SCRIPTS) - cd engines/phalanx-scid/ && make clean && cd ../../ - cd engines/togaII1.2.1a/src/ && make clean && cd ../../../ - cd pocket/toga/src/ && make clean && cd ../../../ - cd pocket/toga134/src/ && make clean && cd ../../../ +# cd engines/phalanx-scid/ && make clean && cd ../../ +# cd engines/togaII1.2.1a/src/ && make clean && cd ../../../ +# cd pocket/toga/src/ && make clean && cd ../../../ +# cd pocket/toga134/src/ && make clean && cd ../../../ # cd pocket/toga141SE/src/ && make clean && cd ../../../ - cd pocket/fruit_21/src/ && make clean && cd ../../../ - cd pocket/gambitfruit/src/ && make clean && cd ../../../ - cd pocket/glaurung/src/ && make clean && cd ../../../ - cd pocket/phalanx/src/ && make clean && cd ../../../ - cd pocket/scorpio/src/ && make clean && cd ../../../ - cd pocket/viper01/src/ && make clean && cd ../../../ - cd pocket/greko/src/ && make clean && cd ../../../ - cd pocket/scidlet/src/ && make clean && cd ../../../ +# cd pocket/fruit_21/src/ && make clean && cd ../../../ +# cd pocket/gambitfruit/src/ && make clean && cd ../../../ +# cd pocket/glaurung/src/ && make clean && cd ../../../ +# cd pocket/phalanx/src/ && make clean && cd ../../../ +# cd pocket/scorpio/src/ && make clean && cd ../../../ +# cd pocket/viper01/src/ && make clean && cd ../../../ +# cd pocket/greko/src/ && make clean && cd ../../../ +# cd pocket/scidlet/src/ && make clean && cd ../../../ # cd pocket/robbolito/src/ && make clean && cd ../../../ # cd pocket/stockfish/src/ && make clean && cd ../../../ - rm -f pocket/toga.exe pocket/glaurung.exe - rm -rf pocket/scid_pocket +# rm -f pocket/toga.exe pocket/glaurung.exe +# rm -rf pocket/scid_pocket ### To make the executable files smaller: type "make strip". # --- scid-4.3.0.cvs20110714.orig/Makefile.conf +++ scid-4.3.0.cvs20110714/Makefile.conf @@ -212,7 +212,7 @@ # Small extra programs. Most are written in Tcl using tcscid, but # a few contributed ones may be in Python or other languages. # -SCRIPTS= sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix spliteco spf2spi +SCRIPTS= sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix spliteco spf2spi eco2pgn #################### @@ -241,11 +241,11 @@ install -m 755 -d $(DESTDIR)$(BINDIR) install -m 755 -d $(DESTDIR)$(SHAREDIR)/data/ install -m 755 scid $(SCRIPTS) $(EXECS) $(DESTDIR)$(BINDIR) - install -m 644 -p scid.eco $(DESTDIR)$(SHAREDIR)/data/ + install -m 644 -p scid.eco scid_fr.eco scid_es.eco $(DESTDIR)$(SHAREDIR)/data/ install -m 755 -d $(DESTDIR)$(SHAREDIR)/books - install -m 666 ./books/*.* $(DESTDIR)$(SHAREDIR)/books/ +# install -m 666 ./books/*.* $(DESTDIR)$(SHAREDIR)/books/ install -m 755 -d $(DESTDIR)$(SHAREDIR)/bases - if test -d ./bases; then install -m 666 ./bases/*.* $(DESTDIR)$(SHAREDIR)/bases/ ; fi +# if test -d ./bases; then install -m 666 ./bases/*.* $(DESTDIR)$(SHAREDIR)/bases/ ; fi install -m 755 -d $(DESTDIR)$(SHAREDIR)/html cp -r ./html/* $(DESTDIR)$(SHAREDIR)/html/ @@ -261,7 +261,7 @@ rm -rf $(SHAREDIR)/books rm -rf $(SHAREDIR)/bases rm -rf $(SHAREDIR)/data/ - rm -f $(SHAREDIR)/data/scid.eco + rm -f $(SHAREDIR)/data/scid.eco $(SHAREDIR)/data/scid_fr.eco $(SHAREDIR)/data/scid_es.eco rm -f $(BINDIR)/scid $(BINDIR)/sc_addmove $(BINDIR)/sc_epgn rm -f $(BINDIR)/sc_spell $(BINDIR)/sc_eco $(BINDIR)/sc_import rm -f $(BINDIR)/sc_remote $(BINDIR)/sc_tree $(BINDIR)/scidpgn @@ -281,23 +281,23 @@ # clean: rm -f game.* learn* tkscid.so tkscid.dll position.* src/*.o src/zlib/*.o src/zlib/*.a src/polyglot/*.o $(EXECS) scid $(SCRIPTS) - cd engines/phalanx-scid/ && make clean && cd ../../ - cd engines/togaII1.2.1a/src/ && make clean && cd ../../../ - cd pocket/toga/src/ && make clean && cd ../../../ - cd pocket/toga134/src/ && make clean && cd ../../../ +# cd engines/phalanx-scid/ && make clean && cd ../../ +# cd engines/togaII1.2.1a/src/ && make clean && cd ../../../ +# cd pocket/toga/src/ && make clean && cd ../../../ +# cd pocket/toga134/src/ && make clean && cd ../../../ # cd pocket/toga141SE/src/ && make clean && cd ../../../ - cd pocket/fruit_21/src/ && make clean && cd ../../../ - cd pocket/gambitfruit/src/ && make clean && cd ../../../ - cd pocket/glaurung/src/ && make clean && cd ../../../ - cd pocket/phalanx/src/ && make clean && cd ../../../ - cd pocket/scorpio/src/ && make clean && cd ../../../ - cd pocket/viper01/src/ && make clean && cd ../../../ - cd pocket/greko/src/ && make clean && cd ../../../ - cd pocket/scidlet/src/ && make clean && cd ../../../ +# cd pocket/fruit_21/src/ && make clean && cd ../../../ +# cd pocket/gambitfruit/src/ && make clean && cd ../../../ +# cd pocket/glaurung/src/ && make clean && cd ../../../ +# cd pocket/phalanx/src/ && make clean && cd ../../../ +# cd pocket/scorpio/src/ && make clean && cd ../../../ +# cd pocket/viper01/src/ && make clean && cd ../../../ +# cd pocket/greko/src/ && make clean && cd ../../../ +# cd pocket/scidlet/src/ && make clean && cd ../../../ # cd pocket/robbolito/src/ && make clean && cd ../../../ # cd pocket/stockfish/src/ && make clean && cd ../../../ - rm -f pocket/toga.exe pocket/glaurung.exe - rm -rf pocket/scid_pocket +# rm -f pocket/toga.exe pocket/glaurung.exe +# rm -rf pocket/scid_pocket ### To make the executable files smaller: type "make strip". # --- scid-4.3.0.cvs20110714.orig/configure +++ scid-4.3.0.cvs20110714/configure @@ -218,6 +218,23 @@ /usr/local/X/lib /usr/openwin/lib /usr/lib/x86_64-linux-gnu + /usr/lib/arm-linux-gnueabi + /usr/lib/arm-linux-gnueabihf + /usr/lib/i386-gnu + /usr/lib/x86_64-kfreebsd-gnu + /usr/lib/i386-kfreebsd-gnu + /usr/lib/mips-linux-gnu + /usr/lib/mipsel-linux-gnu + /usr/lib/powerpc-linux-gnu + /usr/lib/s390-linux-gnu + /usr/lib/sparc-linux-gnu + /usr/lib/i386-linux-gnu + /usr/lib/ia64-linux-gnu + /usr/lib/alpha-linux-gnu + /usr/lib/powerpc-linux-gnuspe + /usr/lib/sh4-linux-gnu + /usr/lib/s390x-linux-gnu + /usr/lib/sparc64-linux-gnu } if {! [info exists var(TCL_INCLUDE)]} { --- scid-4.3.0.cvs20110714.orig/debian/scid.lintian-overrides +++ scid-4.3.0.cvs20110714/debian/scid.lintian-overrides @@ -0,0 +1,8 @@ +############################################## +# These directories are needed by some external debian packages +# and users often keep their readonly databases here, so I +# provide them with the package. +############################################# +scid: package-contains-empty-directory usr/share/scid/books/ +scid: package-contains-empty-directory usr/share/scid/bases/ +scid: package-contains-empty-directory usr/share/scid/data/ --- scid-4.3.0.cvs20110714.orig/debian/scid.xpm +++ scid-4.3.0.cvs20110714/debian/scid.xpm @@ -0,0 +1,291 @@ +/* XPM */ +static char * wbr_xpm[] = { +"32 32 256 2", +" c #000000", +". c #010101", +"+ c #020202", +"@ c #030303", +"# c #040404", +"$ c #050505", +"% c #060606", +"& c #070707", +"* c #080808", +"= c #090909", +"- c #0A0A0A", +"; c #0B0B0B", +"> c #0C0C0C", +", c #0D0D0D", +"' c #0E0E0E", +") c #0F0F0F", +"! c #101010", +"~ c #111111", +"{ c #121212", +"] c #131313", +"^ c #141414", +"/ c #151515", +"( c #161616", +"_ c #171717", +": c #181818", +"< c #191919", +"[ c #1A1A1A", +"} c #1B1B1B", +"| c #1C1C1C", +"1 c #1D1D1D", +"2 c #1E1E1E", +"3 c #1F1F1F", +"4 c #202020", +"5 c #212121", +"6 c #222222", +"7 c #232323", +"8 c #242424", +"9 c #252525", +"0 c #262626", +"a c #272727", +"b c #282828", +"c c #292929", +"d c #2A2A2A", +"e c #2B2B2B", +"f c #2C2C2C", +"g c #2D2D2D", +"h c #2E2E2E", +"i c #2F2F2F", +"j c #303030", +"k c #313131", +"l c #323232", +"m c #333333", +"n c #343434", +"o c #353535", +"p c #363636", +"q c #373737", +"r c #383838", +"s c #393939", +"t c #3A3A3A", +"u c #3B3B3B", +"v c #3C3C3C", +"w c #3D3D3D", +"x c #3E3E3E", +"y c #3F3F3F", +"z c #404040", +"A c #414141", +"B c #424242", +"C c #434343", +"D c #444444", +"E c #454545", +"F c #464646", +"G c #474747", +"H c #484848", +"I c #494949", +"J c #4A4A4A", +"K c #4B4B4B", +"L c #4C4C4C", +"M c #4D4D4D", +"N c #4E4E4E", +"O c #4F4F4F", +"P c #505050", +"Q c #515151", +"R c #525252", +"S c #535353", +"T c #545454", +"U c #555555", +"V c #565656", +"W c #575757", +"X c #585858", +"Y c #595959", +"Z c #5A5A5A", +"` c #5B5B5B", +" . c #5C5C5C", +".. c #5D5D5D", +"+. c #5E5E5E", +"@. c #5F5F5F", +"#. c #606060", +"$. c #616161", +"%. c #626262", +"&. c #636363", +"*. c #646464", +"=. c #656565", +"-. c #666666", +";. c #676767", +">. c #686868", +",. c #696969", +"'. c #6A6A6A", +"). c #6B6B6B", +"!. c #6C6C6C", +"~. c #6D6D6D", +"{. c #6E6E6E", +"]. c #6F6F6F", +"^. c #707070", +"/. c #717171", +"(. c #727272", +"_. c #737373", +":. c #747474", +"<. c #757575", +"[. c #767676", +"}. c #777777", +"|. c #787878", +"1. c #797979", +"2. c #7A7A7A", +"3. c #7B7B7B", +"4. c #7C7C7C", +"5. c #7D7D7D", +"6. c #7E7E7E", +"7. c #7F7F7F", +"8. c #808080", +"9. c #818181", +"0. c #828282", +"a. c #838383", +"b. c #848484", +"c. c #858585", +"d. c #868686", +"e. c #878787", +"f. c #888888", +"g. c #898989", +"h. c #8A8A8A", +"i. c #8B8B8B", +"j. c #8C8C8C", +"k. c #8D8D8D", +"l. c #8E8E8E", +"m. c #8F8F8F", +"n. c #909090", +"o. c #919191", +"p. c #929292", +"q. c #939393", +"r. c #949494", +"s. c #959595", +"t. c #969696", +"u. c #979797", +"v. c #989898", +"w. c #999999", +"x. c #9A9A9A", +"y. c #9B9B9B", +"z. c #9C9C9C", +"A. c #9D9D9D", +"B. c #9E9E9E", +"C. c #9F9F9F", +"D. c #A0A0A0", +"E. c #A1A1A1", +"F. c #A2A2A2", +"G. c #A3A3A3", +"H. c #A4A4A4", +"I. c #A5A5A5", +"J. c #A6A6A6", +"K. c #A7A7A7", +"L. c #A8A8A8", +"M. c #A9A9A9", +"N. c #AAAAAA", +"O. c #ABABAB", +"P. c #ACACAC", +"Q. c #ADADAD", +"R. c #AEAEAE", +"S. c #AFAFAF", +"T. c #B0B0B0", +"U. c #B1B1B1", +"V. c #B2B2B2", +"W. c #B3B3B3", +"X. c #B4B4B4", +"Y. c #B5B5B5", +"Z. c #B6B6B6", +"`. c #B7B7B7", +" + c #B8B8B8", +".+ c #B9B9B9", +"++ c #BABABA", +"@+ c #BBBBBB", +"#+ c #BCBCBC", +"$+ c #BDBDBD", +"%+ c #BEBEBE", +"&+ c #BFBFBF", +"*+ c #C0C0C0", +"=+ c #C1C1C1", +"-+ c #C2C2C2", +";+ c #C3C3C3", +">+ c #C4C4C4", +",+ c #C5C5C5", +"'+ c #C6C6C6", +")+ c #C7C7C7", +"!+ c #C8C8C8", +"~+ c #C9C9C9", +"{+ c #CACACA", +"]+ c #CBCBCB", +"^+ c #CCCCCC", +"/+ c #CDCDCD", +"(+ c #CECECE", +"_+ c #CFCFCF", +":+ c #D0D0D0", +"<+ c #D1D1D1", +"[+ c #D2D2D2", +"}+ c #D3D3D3", +"|+ c #D4D4D4", +"1+ c #D5D5D5", +"2+ c #D6D6D6", +"3+ c #D7D7D7", +"4+ c #D8D8D8", +"5+ c #D9D9D9", +"6+ c #DADADA", +"7+ c #DBDBDB", +"8+ c #DCDCDC", +"9+ c #DDDDDD", +"0+ c #DEDEDE", +"a+ c #DFDFDF", +"b+ c #E0E0E0", +"c+ c #E1E1E1", +"d+ c #E2E2E2", +"e+ c #E3E3E3", +"f+ c #E4E4E4", +"g+ c #E5E5E5", +"h+ c #E6E6E6", +"i+ c #E7E7E7", +"j+ c #E8E8E8", +"k+ c #E9E9E9", +"l+ c #EAEAEA", +"m+ c #EBEBEB", +"n+ c #ECECEC", +"o+ c #EDEDED", +"p+ c #EEEEEE", +"q+ c #EFEFEF", +"r+ c #F0F0F0", +"s+ c #F1F1F1", +"t+ c #F2F2F2", +"u+ c #F3F3F3", +"v+ c #F4F4F4", +"w+ c #F5F5F5", +"x+ c #F6F6F6", +"y+ c #F7F7F7", +"z+ c #F8F8F8", +"A+ c #F9F9F9", +"B+ c #FAFAFA", +"C+ c #FBFBFB", +"D+ c #FCFCFC", +"E+ c #FDFDFD", +"F+ c #FEFEFE", +"G+ c #FFFFFF", +"G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+", +"G+G+G+G+G+*+ G+G+G+*+ 8.G+G+G+ *+G+G+G+G+G+G+", +"G+G+G+G+G+*+ G+G+G+*+ 8.G+G+G+ *+G+G+G+G+G+G+", +"G+G+G+G+G+*+ *+G+G+G+G+G+G+", +"G+G+G+G+G+*+ *+G+G+G+G+G+G+", +"G+G+G+G+G+*+ *+G+G+G+G+G+G+", +"G+G+G+G+G+G+U U G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+U *+*+*+*+*+*+*+*+*+*+*+*+*+ G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ G+G+G+G+G+G+G+G+G+G+G+G+G+ K G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.8.8.8.8.8.8.8.8.8.8.8.8. 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+ G+G+G+G+G+G+G+G+G+G+G+G+G+ 8.G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+l+ G+G+G+G+G+G+G+G+G+G+G+G+G+ e G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+l+e z z z z z z z z z z z z z l+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+K K G+G+G+G+G+G+G+", +"G+G+G+G+G+l+4 4 l+G+G+G+G+G+G+", +"G+G+G+G+l+e e l+G+G+G+G+G+", +"G+G+G+G+8. 8.G+G+G+G+G+", +"G+G+G+G+8. 8.G+G+G+G+G+", +"G+G+G+G+8. 8.G+G+G+G+G+", +"G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+", +"G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+G+"}; --- scid-4.3.0.cvs20110714.orig/debian/dirs +++ scid-4.3.0.cvs20110714/debian/dirs @@ -0,0 +1,6 @@ +usr/games +usr/share/scid/data +usr/share/scid/html +usr/share/scid/scidlet +usr/share/pixmaps +usr/lib/mime/packages --- scid-4.3.0.cvs20110714.orig/debian/README.source +++ scid-4.3.0.cvs20110714/debian/README.source @@ -0,0 +1,18 @@ +This file discribes the manipulation of the source tree + +First of all I did not extend or change the sources in any other way, than +patching them with the patch system or the .diff ffile. The sources are used +as they are, but I left out everything, that is not necessary for the debian +distribution. + +This is: +- All chess engines are left out, they come in extra packages in debian +- Everything specially made for a "pocket" mobile distribution for scid is +not needed and therefore left out +- All code that is neccessary for the endgame bitbase tables is left out because of +copyright issues. + +You can find a prep.sh script that does all that to the CVS sources in the patched +Source Tree. + + -- Oliver Korff Wed, 10 Jun 2009 17:46:16 +0200 --- scid-4.3.0.cvs20110714.orig/debian/README.Debian +++ scid-4.3.0.cvs20110714/debian/README.Debian @@ -0,0 +1,59 @@ +scid for Debian +--------------- + + * The latest spell check files, player data and photo library + + You can maintain your collected chess databases with player information + and display photos of international players in scid. This data can be + found at: http://scid.sourceforge.net/download.html + + * Opening book support + + Scid has support for opening books, which are made with the winboard/UCI + polyglot protocol adaptor. The binary books that are usually shipped with + the sources of scid had to be removed from debian because of policy reasons. + You can make some yourself with some hints from www.linuxchess.org or take + Marc Lacrosses performance.bin and varied.bin from: + http://wbec-ridderkerk.nl/html/download.htm + + + * Additional eco files + + These files are already installed for french and spanish as: + /usr/share/scid/data/scid-esp.eco and scid_fr.eco + + * The former html documentation + + This documentation is now available through the internal TCL/TK help + browser and was removed by upstream developers. It was outdated anyway. + + -- Oliver Korff Sat, 01 Dec 2007 09:51:08 +0100 + + * Alioth + + The Debian package for Scid has its own CVS repository on Alioth: see + . + + * Zlib compression + + The upstream source of Scid includes the zlib compression library. Since + that is packaged separately in Debian, this version of Scid does not + use the included zlib. Instead, it links to the version of the zlib + compression library that is already present. It has been removed from + the .orig.tar.gz-file. + + * Endgame tablebases + + Scid can be compiled with support for endgame tablebases. The tablebase + routines used in Scid are, however, not freely distributed in the sense + dictated by Debian guidelines. Therefore, tablebase support is not + present in the Debian version of Scid. In fact, the source of the + tablebase routines has even been removed from the .orig.tar.gz-file. + + * LaTeX + + If you want to use Scid's LaTeX exporting capabilities, you need + Piet Tutelaers' chess package. In Debian, this is available as + the packages texlive-games. + + -- Peter van Rossum Sun, 21 Dec 2003 18:43:13 -0800 --- scid-4.3.0.cvs20110714.orig/debian/scid.6 +++ scid-4.3.0.cvs20110714/debian/scid.6 @@ -0,0 +1,30 @@ +.\" Hey, EMACS: -*- nroff -*- +.\" First parameter, NAME, should be all caps +.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection +.\" other parameters are allowed: see man(7), man(1) +.TH SCID2 6 "February 13, 2001" +.SH NAME +scid, pgnfix, pgnscid, sc_addmove, sc_eco, sc_epgn, sc_import, sc_remote, +sc_spell, sc_tree, scidlet, scidpgn, scmerge, spliteco, tcscid, +tkscid, twic2scid - chess database and utility programs +.SH SYNOPSIS +.B scid +.SH DESCRIPTION +This manual page documents briefly +.B Shane's Chess Information Database. +This manual page was written for the Debian GNU/Linux distribution +because the original program does not have a manual page. It +does have documentation in a README file, which is available as +/usr/share/doc/scid/README.gz. It also has extensive HTML documentation, +which is available at /usr/share/doc/scid/html/Index.html. +.PP +Scid is a chess database application. With it you can browse databases +of chess games, edit games and search for games by various criteria. +Scid uses it own compact and fast database format, but can convert to and +from PGN. +.PP +The command 'scid' starts the graphical user interface. +.SH AUTHOR +Scid was written by Shane Hudson . +This manual page was written by Peter van Rossum , +for the Debian GNU/Linux system. --- scid-4.3.0.cvs20110714.orig/debian/copyright +++ scid-4.3.0.cvs20110714/debian/copyright @@ -0,0 +1,73 @@ +This package was debianized by Peter van Rossum on +Tue, 13 Feb 2001 22:00:27 +0100. + +It was downloaded of sourceforges git repository see: +git://scid.git.sourceforge.net/gitroot/scid/scid +and +http://scid.sourceforge.net/index.html + +Upstream Authors: + + Shane Hudson (sgh@users.sourceforge.net) + Pascal Georges (pgeorges@users.sourceforge.net) + +Copyright: + + Copyright © 1999-2004 Shane Hudson. + Copyright © 2006-2011 Pascal Georges + /polyglot opening book support Copyright © 2004-2006 Fabien Letouzey + +License: + + The package is licensed under the GPL v2, + see `/usr/share/common-licenses/GPL-2'. + +The Debian packaging is Copyright © 2001-2008, Peter van Rossum +2009 extended by Oliver Korff and is licensed under the GPL, +see `/usr/share/common-licenses/GPL'. + +Taken from the copyright notice of the source: + +Files that are copyrighted by respective authors : +Book files (performance.bin and varied.bin): Marc Lacrosse +Book files (Elo2400.bin and gm2600.bin): Pascal Georges +Database files : Pascal Georges + +# Comment: These files have been removed from the sources +# Oliver Korff + +Crafty engine : Robert Hyatt (thanks to him for authorizing the bundling +of Crafty with Scid) + +# Comment: Crafty has been removed from the sources, it comes of non-free +# in debian +# Oliver Korff + +Before re-using the files above for *any* purpose please contact +respective authors first. + +The base64 encoded data of the piece set "eboard" was generated using files +taken from chessx, modified for use in Scid with Gimp, and seems to have its +origins in the eboard project(probable authors : Pulga --> Felipe Bergo +,Gorgonian --> Phillip Watts ). Please +refer to this last project for more details (both are GPL projects). + +# These files are strictly GPL +# Oliver Korff + +The only files in Scid NOT distributed under the GPL (since they have +a different author and copyright, but they are freely distributable) +are the Zlib library (see the src/zlib directory), a Tcl package +for sending email using SMTP (see the tcl/ezsmtp directory), and +endgame tablebase decoding source code (see the src/egtb directory). + +# Comment: Zlib and tablebase code has been removed from the sources +# Oliver Korff + +Please note: although there is no explicit copyright notice in the +tablebase decoding code, all rights are reserved by its author +Eugene Nalimov and you should ask for permission before using it. +He has granted permission for its distribution in Scid, and out of +courtesy I ask that if you make use of the tablebase code outside +of Scid, please ask Eugene first. His email address is at the end of +the file src/egtb/probe.txt. --- scid-4.3.0.cvs20110714.orig/debian/scid.menu +++ scid-4.3.0.cvs20110714/debian/scid.menu @@ -0,0 +1 @@ +?package(scid): needs="X11" section="Games/Board" hints="Chess" title="Scid" command="/usr/games/scid" icon="/usr/share/pixmaps/scid.xpm" --- scid-4.3.0.cvs20110714.orig/debian/scid.mime +++ scid-4.3.0.cvs20110714/debian/scid.mime @@ -0,0 +1,3 @@ +application/pgn; scid %s; nametemplate=%s.pgn; test=test "$DISPLAY" != ""; priority=7 +application/x-chess-pgn; scid %s; nametemplate=%s.pgn; test=test "$DISPLAY" != ""; priority=7 +application/x-pgn; scid %s; nametemplate=%s.pgn; test=test "$DISPLAY" != ""; priority=7 --- scid-4.3.0.cvs20110714.orig/debian/compat +++ scid-4.3.0.cvs20110714/debian/compat @@ -0,0 +1 @@ +7 --- scid-4.3.0.cvs20110714.orig/debian/control +++ scid-4.3.0.cvs20110714/debian/control @@ -0,0 +1,20 @@ +Source: scid +Section: games +Priority: extra +Maintainer: Oliver Korff +Homepage: http://scid.sf.net +Build-Depends: debhelper (>> 7), tcl8.5-dev, tk8.5-dev, zlib1g-dev, dpatch +Standards-Version: 3.9.2 + +Package: scid +Architecture: any +Depends: ${misc:Depends}, ${shlibs:Depends}, python, oss-compat, tcl8.5, tk8.5, zlib1g +Recommends: libsnack2, texlive-games, tdom, libtk-img +Suggests: toga2, phalanx (>=22+d051004-9), glaurung, stockfish, crafty, scid-spell-data | scid-rating-data +Description: chess database with play and training functionality + Shane's Chess Information Database is a chess database application with + a graphical user interface. You can browse databases of chess games, + edit them and search for games by various criteria. Scid uses its + own compact and fast database format, but can convert to and from PGN. + Its also possible to play live on the internet and practice tactical + knowledge. --- scid-4.3.0.cvs20110714.orig/debian/scid.install +++ scid-4.3.0.cvs20110714/debian/scid.install @@ -0,0 +1,3 @@ +debian/scid.xpm usr/share/pixmaps +scidlet.ini usr/share/scid/scidlet +scidlet.sbk usr/share/scid/scidlet --- scid-4.3.0.cvs20110714.orig/debian/watch +++ scid-4.3.0.cvs20110714/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$//i,dversionmangle=s/[-.+~]?(cvs|svn|git|snapshot|pre|hg)(.*)$//i,pasv \ +http://sf.net/scid/scid-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2|) --- scid-4.3.0.cvs20110714.orig/debian/links +++ scid-4.3.0.cvs20110714/debian/links @@ -0,0 +1,18 @@ +/usr/share/man/man6/scid.6 /usr/share/man/man6/pgnfix.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/pgnscid.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/sc_addmove.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/sc_eco.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/sc_epgn.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/sc_import.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/sc_spell.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/sc_remote.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/sc_tree.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/scidlet.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/scidpgn.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/scmerge.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/spliteco.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/tcscid.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/tkscid.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/twic2scid.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/scidt.6 +/usr/share/man/man6/scid.6 /usr/share/man/man6/spf2spi.6 --- scid-4.3.0.cvs20110714.orig/debian/changelog +++ scid-4.3.0.cvs20110714/debian/changelog @@ -0,0 +1,474 @@ +scid (1:4.3.0.cvs20110714-2build1) precise; urgency=low + + * No-change rebuild to drop spurious libsfgcc1 dependency on armhf. + + -- Adam Conrad Fri, 02 Dec 2011 21:19:43 -0700 + +scid (1:4.3.0.cvs20110714-2) unstable; urgency=low + + * After locating the libX11.so on all additional ports, the + FTBFS bug should now be closed. Only the location of libX11.so + for s390x could not be discovered. I made a wild guess... + My apologies to Nobuhiro Iwamatsu, he had to reopen this issue. + (Closes: #633707) + * scid.eco and scid_fr.eco and scid_es.eco are in place again. + A comment from the sources: "eco2epd is now optional extra program + NOT compiled by default, since scid now reads the .eco file format + directly." I put eco2pgn back, as requested by Gabriele Stilli. + Thanks for the bugreport. + (Closes: #636090) + + -- Oliver Korff Tue, 02 Aug 2011 13:21:22 +0200 + +scid (1:4.3.0.cvs20110714-1) unstable; urgency=low + + * New Upstream sync. + * Removed .git directory from source tgz. (Closes: #633708) + * The ports needed to to locate the architecture dependent + libX11.so libs too. Nobuhiro Iwamatsu helped with a patch. + (Closes: #633707) + + -- Oliver Korff Thu, 14 Jul 2011 12:59:10 +0200 + +scid (1:4.3.0.cvs20110706-2) unstable; urgency=low + + * The configure script needed to locate the architecture dependent + libX11.so libs. Therefor the appropriate paths had to be + appended. (Closes: #633146) + + -- Oliver Korff Sat, 09 Jul 2011 20:16:42 +0200 + +scid (1:4.3.0.cvs20110706-1) unstable; urgency=low + + * New Upstream Version. + * Scid Upstream is now a git repository, see copyright. + * Updated standards version to 3.9.2 + * Recheck of bug #584923, "flipping board breakes animation". This + is working fine now, even in docked mode. (Closes: #584923). + + -- Oliver Korff Wed, 06 Jul 2011 12:56:48 +0200 + +scid (1:4.3.0.cvs20110228-1) unstable; urgency=low + + * New Upstream Version. + * I re-checked this matter thoroughly and the bug can not be reproduced + in this version. If the book is enabled, the book moves are skipped, + while (automatically) annotating. (Closes: #604421) + * Makefile and Makefile.conf are still not included in the patch system. + + -- Oliver Korff Mon, 28 Feb 2011 09:58:02 +0100 + +scid (1:4.2.2.cvs20110111-1) unstable; urgency=low + + * New Upstream Version. + + -- Oliver Korff Tue, 11 Jan 2011 12:18:27 +0100 + +scid (1:4.2.2.cvs20100824-1) unstable; urgency=low + + * New Upstream Version, this is a 4.3 pre-release snapshot. + * Added libtk-img to the runtime dependencies. This enables + some more chess-set possibilities. + * Updated standards version to 3.9.1 + * Added a hack to avoid breaking the dh_clean target. I apply + a Makefile patch before and afterwards, this is likely to break + in every new version. I will clean this thing up, with 4.3 and + maybe switch from dpatch to quilt. + + -- Oliver Korff Tue, 24 Aug 2010 09:21:31 +0200 + +scid (1:4.2.2.cvs20100202-2) unstable; urgency=low + + * No interesting updates to the man CVS, so no new upstream version. + * Added a suggest to the spelling/rating-data packages + * The integration of phalanx has now been carefully tested. The bug + reported 2001 is not longer existing. (Closes: #107658) + * lintian now searches for spelling errors in binarys. Corrected one + error of this type. + + -- Oliver Korff Sat, 20 Feb 2010 11:30:54 +0100 + +scid (1:4.2.2.cvs20100202-1) unstable; urgency=low + + * New upstream version. The "Help/About Scid" menu states, that + we have a 4.2.2 development version. + * The database conversion with pgnscid was successfully + tested. (Closes: #567946) + * Upgrade to policy standards version 3.8.4 + * Prepared scid to find spelling data in /usr/share/scid/data + + -- Oliver Korff Tue, 02 Feb 2010 21:33:40 +0100 + +scid (1:4.2.0.cvs20100120-1) unstable; urgency=low + + * New upstream version. The "Help/About Scid" menu states, that we + work with a 4.2 developmet version. + * Added a misc:Depends to the depends section in control + * Changed section from optional to extra to avoid warnings from debcheck, + because of a depends on oss-compat, which is extra on other architectures + * Reworked the suggests in control. At first I wanted to avoid the suggest on + crafty (debcheck reports it is unavailable on some archs). For me this is + a suggestion and I do want the users to know that there is a crafty around. + + -- Oliver Korff Tue, 12 Jan 2010 12:46:24 +0100 + +scid (1:4.1.0.cvs20091220-1) unstable; urgency=low + + * Added a source.lintian-overrides for patching the Makefile.conf and the + changed Makefile after he configure run. This does not work well with the + dpatch system. For later versions I will have a look, if it is better done + with quilt. + * Added a watch file for the scid upstream version. The current development + version number is 0.4.1 released on the sourceforge web-page is 0.4.0. This + is due to the fact, that upstream handles this cvs version as 0.4.1, and + states this in the changelog file. + * New upstream version. + + -- Oliver Korff Sun, 20 Dec 2009 15:16:17 +0100 + +scid (1:4.1.0.cvs20090923-1) unstable; urgency=low + + * New upstream version (Closes: #548032) + + -- Oliver Korff Wed, 23 Sep 2009 22:25:49 +0200 + +scid (1:3.7.3.cvs20090817-1) unstable; urgency=low + + * New upstream Version. + * Removed prep.sh from the .deb it is still available if you + get the sources (Closes: #535756). Extended the README.sources. + * Added recommendation to the tdom package, that enables scid to use the + xfcc XML protocol, used by correspondance chess servers and interfaces. + * After the update the ECO files could be loaded again. This was veryfied with + removing any configfiles, wich were successfully recreated. The default + config path for ECO files lead to the correct location. (Closes: #541142) + * Adjusted the standards version to 3.8.3, according to my understanding of + the changes there was noting else to be done. + + -- Oliver Korff Mon, 17 Aug 2009 11:31:41 +0200 + +scid (1:3.7.3.cvs20090702-2) unstable; urgency=low + + * In scid.menu the title changed from "scid" to "Scid" + This (Closes: #535596) + * Added a © to the copyright note + * Removed scid.doc-base, because the referenced html pages are now + displayed in scids internal help system. References between the + pages do/did not work. The source does not include the html + anymore. + + -- Oliver Korff Fri, 03 Jul 2009 20:51:10 +0200 + +scid (1:3.7.3.cvs20090702-1) unstable; urgency=low + + * New Upstream Releases (Closes: #487771) + * Change of the version number, to meet debian packaging + requirements: a lot of people used my unofficial repository + to update the orphaned scid package. The epoch is necessary + for them to have a smooth upgrade. + * This is also the reason, why I keep the changelog entrys + * New Maintainer Oliver Korff (Closes: #530997) + * Documented the changes to the sources in README.source + * Removed tablebase code from the sources, the code is non-free + * Removed the books from the sources, we do not have any source + for them, so they don't comply with the policy + * Removed zlib from sources they come with the distribution + * configure-run definetely works with this version (Closes: #519635) + configure options have been double checked + * scid is compiled with new tcl/tk-8.5 (Closes: #465788) + * It is not leaving any engine zombie processes anymore, which was an + issue with tcl/tk8.4 (Closes: #191112) + * The eco browser works by clicking on the bars (Closes: #401210) + * There are two separate projects developing on the same code base + that was introduced by Shane Hudson. One is still called scid, which + is lead by Pascal Georges, the other chessdb, by Dr. David Kirkby. I + have looked at both respectively and for me the decision is clear, + the scid project is following the GPL and contributions + are welcome there. This is important for me as maintainer. Also the + features for the debian users are promising. Any other discussion + and argues between the projects I am not willing to comment on. + (Closes: #408930) + + -- Oliver Korff Thu, 02 Jul 2009 00:42:14 +0200 + +scid (3.7.cvs20090608) unofficial; urgency=low + + * A lot of packaging improvements due to Willem Van den Akker + * Added twic2scid to the installed scripts + * Added the old manpages of Peter van Rossum + * Linked all binarys to manpage + + -- Oliver Korff Mon, 08 Jun 2009 21:29:36 +0200 + +scid (3.7.cvs20090531) unofficial; urgency=low + + * New CVS Release for the public + * Highlight last move played (switchable in options menu) + * New offical scid release: Version 3.7.4 + + -- Oliver Korff Sun, 31 May 2009 09:53:16 +0200 + +scid (3.7.cvs20090527) unofficial; urgency=low + + * New CVS Release for the public + * Correspondence interface in the sources was updated + * The packaging has been improved and a new automatic build + invented + + -- Oliver Korff Wed, 27 May 2009 21:43:36 +0200 + +scid (3.7.cvs20090428) unofficial; urgency=low + + * New CVS Release, adding new features for analysis + + -- Oliver Korff Tue, 28 Apr 2009 21:29:26 +0200 + +scid (3.7.cvs20090402) unofficial; urgency=low + + * New CVS Release + * books moved back to /usr/share/scid + + -- Oliver Korff Thu, 02 Apr 2009 17:59:41 +0200 + +scid (3.7.cvs20090217) unofficial; urgency=low + + * New CVS Release + + -- Oliver Korff Tue, 17 Feb 2009 22:03:30 +0100 + +scid (3.7.cvs20090124) unofficial; urgency=low + + * New CVS Release + * improved the packaging: + * books moved to /var/lib/scid + * changed permissions of some files according to standard + * make sound work on debian + * make book path known to scid + * added menu entry + * added menu picture for scid + + -- Oliver Korff Sat, 24 Jan 2009 11:21:47 +0100 + +scid (3.7.cvs20090112) unofficial; urgency=low + + * New CVS Release + + -- Oliver Korff Wed, 14 Jan 2009 21:03:07 +0100 + +scid (3.7.cvs20081220) unofficial; urgency=low + + * New CVS Release + + -- Oliver Korff Sat, 20 Dec 2008 13:59:24 +0100 + +scid (3.7.cvs20081204) unofficial; urgency=low + + * New CVS Release + * Just testing + + -- Oliver Korff Thu, 04 Dec 2008 22:21:38 +0100 + +scid (3.7.cvs20081202-1) unofficial; urgency=low + + * New CVS Release + * Uses tcl/tk8.5 + + -- Oliver Korff Tue, 02 Dec 2008 16:16:07 +0100 + +scid (3.6.22-1) unofficial; urgency=low + + * New Upstream, still sorry for the bad packaging + * Repack of the source, to exclude all the engine + and pocket engine stuff + + -- Oliver Korff Thu, 21 Feb 2008 20:57:54 +0100 + +scid (3.6.21-1) unofficial; urgency=low + + * New Upstream, sorry for the bad packaging + * Repack of the source, to exclude all the engine stuff + + -- Oliver Korff Sat, 05 Jan 2008 19:26:48 +0100 + +scid (3.6.20-1) unofficial; urgency=low + + * Initial prvate release + * The Copyright condition of this package is very difficult + * Repack of the source, to exclude all the engine stuff that might be + available anyway + + -- Oliver Korff Sat, 01 Dec 2007 09:51:08 +0100 + +scid (3.6.1-2) unstable; urgency=low + + * Ack. NMU fix (Closes: #347030). + * Updated standard version. + + -- Peter van Rossum Sun, 10 Sep 2006 20:30:12 +0200 + +scid (3.6.1-1.1) unstable; urgency=low + + * Non-maintainer upload + * Removed x-libs build-dep (Closes: #347030) + + -- Marc 'HE' Brockschmidt Sat, 21 Jan 2006 13:37:44 +0100 + +scid (3.6.1-1) unstable; urgency=low + + * New upstream release (released 3 Mar 2004). (Closes: #243065) + * Registered scid as MIME handler for application/x-chess-pgn. + (Closes: #239585) + + -- Peter van Rossum Tue, 18 Jan 2005 17:40:39 +0100 + +scid (3.5-1) unstable; urgency=low + + * New upstream release. + + -- Peter van Rossum Sun, 21 Dec 2003 18:43:32 -0800 + +scid (3.4-3.5beta1-1) experimental; urgency=low + * Upstream development continues in absence of Shane Hudson. + + -- Peter van Rossum Thu, 4 Sep 2003 18:24:02 -0700 + +scid (3.4-3) unstable; urgency=low + + * Documentation in section Games/Board. + * Changed Standards-Version to 3.6.0. + * (Re)added support for noopt in DEB_BUILD_OPTIONS; the nostrip + option is (still) handled by dh_strip. + + -- Peter van Rossum Mon, 18 Aug 2003 10:22:38 -0600 + +scid (3.4-2) unstable; urgency=low + + * Fixed bug on location of eco-file. (Closes: #187206) + * Fixed a problem with -lpthread that broke the external chess program + support, with help from Chris Waters. (Closes: #186377) + + -- Peter van Rossum Fri, 4 Apr 2003 15:46:09 -0700 + +scid (3.4-1) unstable; urgency=low + + * New upstream version. (Closes: #179065) + * New packaging. + + -- Peter van Rossum Wed, 19 Feb 2003 15:31:43 -0700 + +scid (3.3-3) unstable; urgency=low + + * Using dh_installman instead of dh_installmanpages. + * Included icon for menus. + * Installing twic2scid as well. + * Build-depends on tcl/tk8.4. + * Never uploaded. + + -- Peter van Rossum Sat, 10 Aug 2002 15:55:35 -0600 + +scid (3.3-2) unstable; urgency=low + + * Build-depends on tcl/tk8.3. + * Fixed bug on location of eco-file (again). (Closes: #153967) + + -- Peter van Rossum Tue, 23 Jul 2002 09:51:53 -0600 + +scid (3.3-1) unstable; urgency=low + + * New upstream version. (Closes: #148827) + * Fixed menu entry. (Closes: #145276) + + -- Peter van Rossum Sat, 6 Jul 2002 22:17:18 -0600 + +scid (3.2-2) unstable; urgency=low + + * Fixed small bug on redrawing the PGN window. (Closes: #120202) + + -- Peter van Rossum Sat, 6 Apr 2002 14:49:15 -0700 + +scid (3.2-1) unstable; urgency=low + + * New upstream source. + + -- Peter van Rossum Thu, 21 Feb 2002 23:41:09 -0700 + +scid (3.1-1) unstable; urgency=low + + * New upstream source. (Closes: #117452 on insecure tempfile + creation). + * Fixed bug on the location of the eco-file. (Closes: #117445) + + -- Peter van Rossum Fri, 18 Jan 2002 15:02:08 -0700 + +scid (2.7-1) unstable; urgency=low + + * Changed build dependencies for XFree86 release 4. + * New upstream source. + * Fixed small bug that only appears if egtb is disabled. + * Fixed bug on the location of the eco-file. (Closes: #117445) + * Temporary fix for insecure tempfile creation. (Not closing + Bug#117452, but downgrading it to wishlist.) + * Never uploaded. + + -- Peter van Rossum Wed, 31 Oct 2001 11:55:29 -0500 + +scid (2.5-2) unstable; urgency=low + + * Removed references to scidt, since that program no longer + exists. + * Removed some files that accidently got duplicated. + * Changed optimization from -O4 to -O2 in order to allow building + on hppa. (Closes: #104863) Note that the possible problem + with -I/usr/include and gcc 3.0 referred to in a comment on + that bug report has also been addressed. + + -- Peter van Rossum Wed, 18 Jul 2001 10:14:22 +0200 + +scid (2.5-1) unstable; urgency=low + + * New upstream source. (Closes: #96657) + * HTML documentation installed and registered with doc-base. + * Changed e-mail address to petervr@debian.org. + * Section changed to games. + + -- Peter van Rossum Wed, 27 Jun 2001 10:21:27 +0200 + +scid (2.3-1) unstable; urgency=low + + * New upstream version. + * Brought package under CVS to facilitate handling of new upstream + sources. + * Fixed bug with statistics window. + * Added support for DEB_BUILD_OPTIONS; note that the nostrip option + is handled by dh_strip. + + -- Peter van Rossum Sun, 11 Mar 2001 13:49:04 +0100 + +scid (2.2-4) unstable; urgency=low + + * Small changes in the packaging; the package will now build from source + on a potato system and on a woody system. + + -- Peter van Rossum Tue, 27 Feb 2001 08:35:45 +0100 + +scid (2.2-3) unstable; urgency=low + + * Added build dependencies. + + -- Peter van Rossum Fri, 23 Feb 2001 18:19:59 +0100 + +scid (2.2-2) unstable; urgency=low + + * Removed the source code of the endgame tablebase routines from + the .orig.tgz upstream tarball. + * Package now uses a more recent version of debhelper. + * Removed superfluous .ex files from the debian-directory. + * I'd better also close the ITP bug against wnpp. (Closes: #86081) + + -- Peter van Rossum Sat, 17 Feb 2001 11:34:43 +0100 + +scid (2.2-1) unstable; urgency=low + + * Initial Release. + + -- Peter van Rossum Tue, 13 Feb 2001 22:00:27 +0100 --- scid-4.3.0.cvs20110714.orig/debian/TODO.debian +++ scid-4.3.0.cvs20110714/debian/TODO.debian @@ -0,0 +1,22 @@ +###### ToDos for the packager + +- Write manpages for all of the helper programs + +Add data or scid- packages with: +- Photos +- new spelling files +- tune twic2scid to add a first DB +- automagically add any engines +- spelling path +- Install placeholder in empty dirs????? + +Books are necessary find a solution to make them available + +Additional packaging +- additional eco-files +- divide package??? in: + - DB scid + - scidlet engine + - helper/utilities + + --- scid-4.3.0.cvs20110714.orig/debian/rules +++ scid-4.3.0.cvs20110714/debian/rules @@ -0,0 +1,114 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Sample debian/rules that uses debhelper. +# This file was originally written by Joey Hess and Craig Small. +# As a special exception, when this file is copied by dh-make into a +# dh-make output file, you may use that output file without restriction. +# This special exception was added by Craig Small in version 0.37 of dh-make. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + + +# These are used for cross-compiling and for saving the configure script +# from having to guess our platform (since we know it already) +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) +CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else +CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +include /usr/share/dpatch/dpatch.make + +config.status: configure + dh_testdir + # Add here commands to configure the package. +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + +# ./configure $(CROSS) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" + + ./configure \ + BINDIR="$(CURDIR)/debian/scid/usr/games" \ + SHAREDIR="$(CURDIR)/debian/scid/usr/share/scid" TB="" + + +build: build-stamp + +build-stamp: config.status patch-stamp + dh_testdir + + # Add here commands to compile the package. + $(MAKE) all_scid + + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + + # Add here commands to clean up after the build process. +# dpatch apply 01-nexttry-Makefile.dpatch + [ ! -f Makefile ] || $(MAKE) clean +# dpatch deapply 01-nexttry-Makefile.dpatch + rm -f config.sub config.guess + + # dh_clean --exclude ./Makefile.conf.orig + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + + # Add here commands to install the package into debian/scid. + $(MAKE) install_scid + cp -R $(CURDIR)/sounds/ $(CURDIR)/debian/scid/usr/share/scid/ + + +# Build architecture-independent files here. +binary-indep: install +# We have nothing to do by default. + +# Build architecture-dependent files here. +binary-arch: install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog CHANGES + dh_installdocs + dh_installexamples + dh_install + dh_installmenu +# dh_installdebconf +# dh_installlogrotate +# dh_installemacsen +# dh_installpam + dh_installmime +# dh_python +# dh_installinit +# dh_installcron +# dh_installinfo + dh_installman debian/scid.6 + dh_lintian + dh_link + dh_strip + dh_compress + dh_fixperms debian/scid/usr/share/scid/sounds/ +# dh_perl +# dh_makeshlibs + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- scid-4.3.0.cvs20110714.orig/debian/docs +++ scid-4.3.0.cvs20110714/debian/docs @@ -0,0 +1,4 @@ +README +CHANGES +TODO +THANKS --- scid-4.3.0.cvs20110714.orig/debian/patches/04_Makefile.conf.dpatch +++ scid-4.3.0.cvs20110714/debian/patches/04_Makefile.conf.dpatch @@ -0,0 +1,87 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 04_Makefile.conf.dpatch by Oliver Korff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad scid-4.2.2.cvs20100202~/Makefile.conf scid-4.2.2.cvs20100202/Makefile.conf +--- scid-4.2.2.cvs20100202~/Makefile.conf 2010-02-03 00:34:39.000000000 +0100 ++++ scid-4.2.2.cvs20100202/Makefile.conf 2010-02-03 00:41:51.000000000 +0100 +@@ -210,7 +210,7 @@ + # Small extra programs. Most are written in Tcl using tcscid, but + # a few contributed ones may be in Python or other languages. + # +-SCRIPTS= sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix spliteco spf2spi ++SCRIPTS= sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix spliteco spf2spi twic2scid + + #################### + +@@ -239,11 +239,11 @@ + install -m 755 -d $(DESTDIR)$(BINDIR) + install -m 755 -d $(DESTDIR)$(SHAREDIR)/data/ + install -m 755 scid $(SCRIPTS) $(EXECS) $(DESTDIR)$(BINDIR) +- install -m 644 -p scid.eco $(DESTDIR)$(SHAREDIR)/data/ ++ install -m 644 -p scid.eco scid-esp.eco scid_fr.eco $(DESTDIR)$(SHAREDIR)/data/ + install -m 755 -d $(DESTDIR)$(SHAREDIR)/books +- install -m 666 ./books/*.* $(DESTDIR)$(SHAREDIR)/books/ ++# install -m 644 ./books/*.* $(DESTDIR)$(SHAREDIR)/books/ + install -m 755 -d $(DESTDIR)$(SHAREDIR)/bases +- install -m 666 ./bases/*.* $(DESTDIR)$(SHAREDIR)/bases/ ++# install -m 666 ./bases/*.* $(DESTDIR)$(SHAREDIR)/bases/ + install -m 755 -d $(DESTDIR)$(SHAREDIR)/html + cp -r ./html/* $(DESTDIR)$(SHAREDIR)/html/ + +@@ -279,23 +279,23 @@ + # + clean: + rm -f game.* learn* tkscid.so tkscid.dll position.* src/*.o src/zlib/*.o src/zlib/*.a src/polyglot/*.o $(EXECS) scid $(SCRIPTS) +- cd engines/phalanx-scid/ && make clean && cd ../../ +- cd engines/togaII1.2.1a/src/ && make clean && cd ../../../ +- cd pocket/toga/src/ && make clean && cd ../../../ +- cd pocket/toga134/src/ && make clean && cd ../../../ ++# cd engines/phalanx-scid/ && make clean && cd ../../ ++# cd engines/togaII1.2.1a/src/ && make clean && cd ../../../ ++# cd pocket/toga/src/ && make clean && cd ../../../ ++# cd pocket/toga134/src/ && make clean && cd ../../../ + # cd pocket/toga141SE/src/ && make clean && cd ../../../ +- cd pocket/fruit_21/src/ && make clean && cd ../../../ +- cd pocket/gambitfruit/src/ && make clean && cd ../../../ +- cd pocket/glaurung/src/ && make clean && cd ../../../ +- cd pocket/phalanx/src/ && make clean && cd ../../../ +- cd pocket/scorpio/src/ && make clean && cd ../../../ +- cd pocket/viper01/src/ && make clean && cd ../../../ +- cd pocket/greko/src/ && make clean && cd ../../../ +- cd pocket/scidlet/src/ && make clean && cd ../../../ +- cd pocket/robbolito/src/ && make clean && cd ../../../ +- cd pocket/stockfish/src/ && make clean && cd ../../../ +- rm -f pocket/toga.exe pocket/glaurung.exe +- rm -rf pocket/scid_pocket ++# cd pocket/fruit_21/src/ && make clean && cd ../../../ ++# cd pocket/gambitfruit/src/ && make clean && cd ../../../ ++# cd pocket/glaurung/src/ && make clean && cd ../../../ ++# cd pocket/phalanx/src/ && make clean && cd ../../../ ++# cd pocket/scorpio/src/ && make clean && cd ../../../ ++# cd pocket/viper01/src/ && make clean && cd ../../../ ++# cd pocket/greko/src/ && make clean && cd ../../../ ++# cd pocket/scidlet/src/ && make clean && cd ../../../ ++# cd pocket/robbolito/src/ && make clean && cd ../../../ ++# cd pocket/stockfish/src/ && make clean && cd ../../../ ++# rm -f pocket/toga.exe pocket/glaurung.exe ++# rm -rf pocket/scid_pocket + + ### To make the executable files smaller: type "make strip". + # +@@ -369,9 +369,9 @@ + cp scripts/eco2pgn.py ./eco2pgn + chmod +x eco2pgn + +-twic2pgn: scripts/twic2pgn.py +- cp scripts/twic2pgn.py ./twic2pgn +- chmod +x twic2pgn ++twic2scid: scripts/twic2scid.py ++ cp scripts/twic2scid.py ./twic2scid ++ chmod +x twic2scid + + spf2spi: scripts/spf2spi.tcl + cp scripts/spf2spi.tcl ./spf2spi --- scid-4.3.0.cvs20110714.orig/debian/patches/spell_correction1.dpatch +++ scid-4.3.0.cvs20110714/debian/patches/spell_correction1.dpatch @@ -0,0 +1,31 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## spell_correction1.dpatch by Oliver Korff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Doing some spell corrections indiccated by lintian. + +@DPATCH@ +diff -urNad scid-4.2.2.cvs20100202~/src/scidt.cpp scid-4.2.2.cvs20100202/src/scidt.cpp +--- scid-4.2.2.cvs20100202~/src/scidt.cpp 2010-02-02 21:31:21.000000000 +0100 ++++ scid-4.2.2.cvs20100202/src/scidt.cpp 2010-02-20 11:49:32.000000000 +0100 +@@ -309,7 +309,7 @@ + exit(1); + } + +- printf ("New index file sucessfully created; old index removed.\n"); ++ printf ("New index file successfully created; old index removed.\n"); + removeFile (tempName, INDEX_SUFFIX); + removeFile (tempName, NAMEBASE_SUFFIX); + return; +diff -urNad scid-4.2.2.cvs20100202~/src/tkscid.cpp scid-4.2.2.cvs20100202/src/tkscid.cpp +--- scid-4.2.2.cvs20100202~/src/tkscid.cpp 2010-02-02 21:31:21.000000000 +0100 ++++ scid-4.2.2.cvs20100202/src/tkscid.cpp 2010-02-20 11:48:20.000000000 +0100 +@@ -3620,7 +3620,7 @@ + renameFile (tempName, filename, INDEX_SUFFIX); + } + +- printf ("New index file sucessfully created; old index removed.\n"); ++ printf ("New index file successfully created; old index removed.\n"); + removeFile (tempName, INDEX_SUFFIX); + removeFile (tempName, NAMEBASE_SUFFIX); + --- scid-4.3.0.cvs20110714.orig/debian/patches/21_spellfolder.dpatch +++ scid-4.3.0.cvs20110714/debian/patches/21_spellfolder.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 21_spellfolder.dpatch by Oliver Korff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Added a correct path to the folder for spelling data. + +@DPATCH@ +diff -urNad scid-4.2.2.cvs20100202~/tcl/start.tcl scid-4.2.2.cvs20100202/tcl/start.tcl +--- scid-4.2.2.cvs20100202~/tcl/start.tcl 2010-02-03 00:23:15.000000000 +0100 ++++ scid-4.2.2.cvs20100202/tcl/start.tcl 2010-02-03 00:24:33.000000000 +0100 +@@ -949,7 +949,7 @@ + if {$windowsOS} { + set spellCheckFile [file join $scidDataDir "spelling.ssp"] + } else { +- set spellCheckFile "/usr/local/share/scid/spelling.ssp" ++ set spellCheckFile "/usr/share/scid/data/spelling.ssp" + } + + # book configuration --- scid-4.3.0.cvs20110714.orig/debian/patches/01-configure.dpatch +++ scid-4.3.0.cvs20110714/debian/patches/01-configure.dpatch @@ -0,0 +1,22 @@ +--- scid-4.3.0.cvs20110706.orig/configure ++++ scid-4.3.0.cvs20110706/configure +@@ -217,7 +217,18 @@ + /usr/X/lib + /usr/local/X/lib + /usr/openwin/lib +- /usr/lib/x86_64-linux-gnu ++ /usr/lib/x86_64-linux-gnu ++ /usr/lib/arm-linux-gnueabi ++ /usr/lib/i386-gnu ++ /usr/lib/x86_64-kfreebsd-gnu ++ /usr/lib/i386-kfreebsd-gnu ++ /usr/lib/mips-linux-gnu ++ /usr/lib/mipsel-linux-gnu ++ /usr/lib/powerpc-linux-gnu ++ /usr/lib/s390-linux-gnu ++ /usr/lib/sparc-linux-gnu ++ /usr/lib/i386-linux-gnu ++ /usr/lib/ia64-linux-gnu + } + + if {! [info exists var(TCL_INCLUDE)]} { --- scid-4.3.0.cvs20110714.orig/debian/patches/20_soundfolder.dpatch +++ scid-4.3.0.cvs20110714/debian/patches/20_soundfolder.dpatch @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 20_soundfolder.dpatch by Oliver Korff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: This patch adds the correct path to the sound files + +@DPATCH@ +diff -urNad scid-3.7.3.cvs20090612~/tcl/start.tcl scid-3.7.3.cvs20090612/tcl/start.tcl +--- scid-3.7.3.cvs20090612~/tcl/start.tcl 2009-06-12 11:52:15.000000000 +0200 ++++ scid-3.7.3.cvs20090612/tcl/start.tcl 2009-06-12 11:57:35.000000000 +0200 +@@ -910,7 +910,7 @@ + + ### Audio move announcement options: + +-set ::utils::sound::soundFolder [file nativename [file join $::scidExeDir sounds]] ++set ::utils::sound::soundFolder "/usr/share/scid/sounds" + set ::utils::sound::announceNew 0 + set ::utils::sound::announceForward 0 + set ::utils::sound::announceBack 0 --- scid-4.3.0.cvs20110714.orig/debian/patches/00list +++ scid-4.3.0.cvs20110714/debian/patches/00list @@ -0,0 +1,3 @@ +20_soundfolder +21_spellfolder +spell_correction1 --- scid-4.3.0.cvs20110714.orig/debian/patches/01-nexttry-Makefile.dpatch +++ scid-4.3.0.cvs20110714/debian/patches/01-nexttry-Makefile.dpatch @@ -0,0 +1,49 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-nexttry-Makefile.dpatch by Oliver Korff +## +## All lines beginning with `## DP:' are a description of the patch. +## The Makefile must be prepared first. This is done outside the +## dpatch system with the rules file. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' scid-4.2.2.cvs20100824~/Makefile scid-4.2.2.cvs20100824/Makefile +--- scid-4.2.2.cvs20100824~/Makefile 2010-08-24 10:27:34.000000000 +0200 ++++ scid-4.2.2.cvs20100824/Makefile 2010-08-24 10:58:23.000000000 +0200 +@@ -270,23 +270,23 @@ + # + clean: + rm -f game.* learn* tkscid.so tkscid.dll position.* src/*.o src/zlib/*.o src/zlib/*.a src/polyglot/*.o $(EXECS) scid $(SCRIPTS) +- cd engines/phalanx-scid/ && make clean && cd ../../ +- cd engines/togaII1.2.1a/src/ && make clean && cd ../../../ +- cd pocket/toga/src/ && make clean && cd ../../../ +- cd pocket/toga134/src/ && make clean && cd ../../../ ++# cd engines/phalanx-scid/ && make clean && cd ../../ ++# cd engines/togaII1.2.1a/src/ && make clean && cd ../../../ ++# cd pocket/toga/src/ && make clean && cd ../../../ ++## cd pocket/toga134/src/ && make clean && cd ../../../ + # cd pocket/toga141SE/src/ && make clean && cd ../../../ +- cd pocket/fruit_21/src/ && make clean && cd ../../../ +- cd pocket/gambitfruit/src/ && make clean && cd ../../../ +- cd pocket/glaurung/src/ && make clean && cd ../../../ +- cd pocket/phalanx/src/ && make clean && cd ../../../ +- cd pocket/scorpio/src/ && make clean && cd ../../../ +- cd pocket/viper01/src/ && make clean && cd ../../../ +- cd pocket/greko/src/ && make clean && cd ../../../ +- cd pocket/scidlet/src/ && make clean && cd ../../../ ++# cd pocket/fruit_21/src/ && make clean && cd ../../../ ++# cd pocket/gambitfruit/src/ && make clean && cd ../../../ ++# cd pocket/glaurung/src/ && make clean && cd ../../../ ++# cd pocket/phalanx/src/ && make clean && cd ../../../ ++# cd pocket/scorpio/src/ && make clean && cd ../../../ ++# cd pocket/viper01/src/ && make clean && cd ../../../ ++# cd pocket/greko/src/ && make clean && cd ../../../ ++# cd pocket/scidlet/src/ && make clean && cd ../../../ + # cd pocket/robbolito/src/ && make clean && cd ../../../ + # cd pocket/stockfish/src/ && make clean && cd ../../../ +- rm -f pocket/toga.exe pocket/glaurung.exe +- rm -rf pocket/scid_pocket ++# rm -f pocket/toga.exe pocket/glaurung.exe ++# rm -rf pocket/scid_pocket + + ### To make the executable files smaller: type "make strip". + # --- scid-4.3.0.cvs20110714.orig/debian/patches/01-configure-next.dpatch +++ scid-4.3.0.cvs20110714/debian/patches/01-configure-next.dpatch @@ -0,0 +1,29 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 01-configure-next.dpatch by Oliver Korff +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: No description. + +@DPATCH@ +diff -urNad '--exclude=CVS' '--exclude=.svn' '--exclude=.git' '--exclude=.arch' '--exclude=.hg' '--exclude=_darcs' '--exclude=.bzr' scid-4.3.0.cvs20110706~/configure scid-4.3.0.cvs20110706/configure +--- scid-4.3.0.cvs20110706~/configure 2011-07-09 20:41:37.000000000 +0200 ++++ scid-4.3.0.cvs20110706/configure 2011-07-09 20:49:39.894561918 +0200 +@@ -217,6 +217,18 @@ + /usr/X/lib + /usr/local/X/lib + /usr/openwin/lib ++ /usr/lib/x86_64-linux-gnu ++ /usr/lib/arm-linux-gnueabi ++ /usr/lib/i386-gnu ++ /usr/lib/x86_64-kfreebsd-gnu ++ /usr/lib/i386-kfreebsd-gnu ++ /usr/lib/mips-linux-gnu ++ /usr/lib/mipsel-linux-gnu ++ /usr/lib/powerpc-linux-gnu ++ /usr/lib/s390-linux-gnu ++ /usr/lib/sparc-linux-gnu ++ /usr/lib/i386-linux-gnu ++ /usr/lib/ia64-linux-gnu + } + + if {! [info exists var(TCL_INCLUDE)]} { --- scid-4.3.0.cvs20110714.orig/debian/make_source/prep.sh +++ scid-4.3.0.cvs20110714/debian/make_source/prep.sh @@ -0,0 +1,109 @@ +#/bin/bash +# ######################### +# This script automagically builds a new scid package and +# prepares the sources for use in debian. It is only necessary +# to have a scid directory, with the sources, this script and +# the Makefile.conf patch. Additional we need the debian directory +# placed in the $CURDIR, it can be copied from the debian sources +# ######################## +# Getting the sources: +# cvs -d:pserver:anonymous@scid.cvs.sourceforge.net:/cvsroot/scid login +# +# cvs -z3 -d:pserver:anonymous@scid.cvs.sourceforge.net:/cvsroot/scid co -P scid +# +############### +### Settings +############### + +CURDIR="$HOME/debian/scid/" +NAME="scid" +EPOCH="1:" +VERSION="4.3.0.cvs"`date +%Y%m%d` +DESTDIR=$NAME-$VERSION +DEBIAN_VERSION="" + +############### +### end Settings +############## + +# Preparations to have a new source tree + echo "DESTDIR=$DESTDIR" + echo "CURDIR=$CURDIR" + rm -rf $DESTDIR + mkdir $DESTDIR + mkdir -p $CURDIR/tmp +cd scid + +cd $CURDIR + cp scid/* $CURDIR/$DESTDIR/ +################################################# +# Prepare the needed directories in the source +# We do not need any engines, they have native packages +# We do not need the pocket stuff, because we won't compile for +# mobile devices +# We do not need the CVS Tags in the source +# The tablebase Code is non-free, so it is removed here +# Sorry also the books are considered non-free +# I also remove the zlib sources, they come out of debian anyway +################################################# + + DIRS=`find $CURDIR/scid -maxdepth 1 -type d | egrep -v "engines|pocket|CVS"` + +# Copy all files and dirs into place + + for i in $DIRS; do + CDIR=`basename $i` + mkdir "$CURDIR/$DESTDIR/$CDIR"; + cp -r "scid/$CDIR" "$CURDIR/$DESTDIR/" ; + done + rm -rf $CURDIR/$DESTDIR/scid/ + rm -f $CURDIR/$DESTDIR/books/* + for i in $(find $CURDIR/$DESTDIR/src/egtb/ -type f); do echo > $i ; done + rm -f $CURDIR/$DESTDIR/src/zlib/* + + +# CVS Files that should not get into debians orig.tar.gz + +cd $DESTDIR + find . -name CVS -exec rm -rf {} \; 2>/dev/null + rm -rf .git + chmod 644 sounds/* +cd $CURDIR + + +################################################# +# Patch the Makefile.conf to make configure possible +# and configure the sources to have a Makefile +# any other patching is done with the dpatch system +################################################# +cd $CURDIR + cp Makefile.conf $DESTDIR/ +cd $DESTDIR + ./configure +cd $CURDIR + +# Remove any already existing tar.gz and directories +# and create the orig.tar.gz + + rm "$NAME"_"$VERSION".orig.tar.gz + tar -cvzpf "$NAME"_"$VERSION".orig.tar.gz $DESTDIR $2>/dev/null + +# copy the debian directory and the scripts to the source tree + cd $CURDIR/tmp + rm -rf $CURDIR/tmp/scid* + apt-get source scid + DEBIAN_VERSION=$(ls -d scid-*) + echo $DEBIAN_VERSION + mv -v $DEBIAN_VERSION/debian $CURDIR/$DESTDIR/ + cd $CURDIR + cp prep.sh $DESTDIR/debian/make_source + +echo "###########################################" +echo "BE SURE TO EDIT DEBIAN/changelog or dch -i" +echo "###########################################" + +cd $DESTDIR +dch -v $EPOCH$VERSION-1 New Upstream Version. + +# cd $DESTDIR/ +# dpkg-buildpackage -uc -us -rfakeroot --- scid-4.3.0.cvs20110714.orig/debian/source/format +++ scid-4.3.0.cvs20110714/debian/source/format @@ -0,0 +1 @@ +1.0 --- scid-4.3.0.cvs20110714.orig/debian/source/lintian-overrides +++ scid-4.3.0.cvs20110714/debian/source/lintian-overrides @@ -0,0 +1,6 @@ +############################################################### +# We patch the Makefile.conf to make configure possible +# and then configure the sources to have a correct Makefile +# any other patching is done with the dpatch system +############################################################### +scid source: patch-system-but-direct-changes-in-diff Makefile and 2 more