~ubuntu-branches/ubuntu/utopic/sikuli/utopic

« back to all changes in this revision

Viewing changes to sikuli-script/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Gilles Filippini
  • Date: 2012-02-15 15:17:58 UTC
  • mfrom: (4.1.4 sid)
  • Revision ID: package-import@ubuntu.com-20120215151758-0waq2g0irnska3jf
Tags: 1.0~x~rc3.tesseract3-dfsg1-1
* Merge with the feature/tesseract3 branch from upstream
* debian/control: Build-Depends: libtesseract-dev instead of
  deprecated tesseract-ocr-dev (Closes: #659598)
* The upstream source code repository moved to github

* New patch:
  + tess3.patch:
    - Fix build with tesseract3
    - use OCR strategie OEM_TESSERACT_ONLY for now. Upstream has
      reported a 4x slowdown when using OEM_TESSERACT_CUBE_COMBINED
* Patch fix-cmake-sikuli-ide.patch:
  + Add a DEP3 style description
* debian/copyright:
  + Update DEP5 Format URL
  + Bump copyright years

Show diffs side-by-side

added added

removed removed

Lines of Context:
115
115
 
116
116
SET(TESSDATA_IN_JAR_DIR "${JAR_DIR}/tessdata")
117
117
SET(TESSDATA_LIST_TXT "${BINARY_DIR}/tessdata-list.txt")
118
 
IF(NOT EXISTS ${TESSDATA_IN_JAR_DIR}/filelist.txt)
119
118
   add_custom_target( ${JAR_FILE}.tessdata-in-jar
120
119
      COMMAND ${CMAKE_COMMAND} -E make_directory ${TESSDATA_IN_JAR_DIR}
121
120
      COMMAND ${CMAKE_COMMAND} -E copy_directory ${TESSERACT_DATA_DIR} ${TESSDATA_IN_JAR_DIR}
123
122
      #      COMMAND cd ${TESSDATA_IN_JAR_DIR} && (find . -type f > filelist.txt)
124
123
      COMMENT "Copying Tesseract Data"
125
124
   )
126
 
ENDIF()
127
125
 
128
126
add_custom_target(doc
129
127
   javadoc -public -docencoding utf-8 -windowtitle "Javadoc of Sikuli Script" -sourcepath ${JAVA_SRC_DIR}