Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
libcvautomation | ||
------------------------------------------ | ||
Use OpenCV to create a GUI testing framework - replaces Sikuli, Xpresser | ||
|
||
Runtime requirements: | ||
cygwin-1.7.32-1 | ||
libcvautomation-devel-2.0-1bl1 | ||
libcvautomation2-2.0-1bl1 | ||
libopencv2.4-2.4.7-1 | ||
libX11_6-1.6.2-1 | ||
libXtst6-1.2.2-1 | ||
python-2.7.8-1 | ||
python-libcvautomation-2.0-1bl1 | ||
|
||
Build requirements: | ||
(besides corresponding -devel packages) | ||
autoconf-13-1 | ||
automake-9-1 | ||
binutils-2.24.51-5 | ||
cygport-0.17.0-1 | ||
gcc-core-4.9.0-1 | ||
libtool-2.4.2-5 | ||
make-4.0-2 | ||
|
||
Canonical website: | ||
https://github.com/DjBushido/libcvautomation | ||
|
||
Canonical download: | ||
https://github.com/DjBushido/libcvautomation/archive/Release_2.0.tar.gz | ||
|
||
------------------------------------------- | ||
|
||
Build instructions: | ||
unpack libcvautomation-2.0-X-src.tar.xz | ||
if you use setup to install this src package, it will be | ||
unpacked under /usr/src automatically | ||
cd /usr/src | ||
cygport ./libcvautomation-2.0-X.cygport all | ||
|
||
This will create: | ||
/usr/src/libcvautomation-2.0-X-src.tar.xz | ||
/usr/src/libcvautomation-2.0-X.tar.xz | ||
/usr/src/libcvautomation2-2.0-X.tar.xz | ||
/usr/src/libcvautomation-devel-2.0-X.tar.xz | ||
/usr/src/python-libcvautomation-2.0-X.tar.xz | ||
|
||
------------------------------------------- | ||
|
||
Files included in the binary package: | ||
|
||
(libcvautomation) | ||
/etc/libcvautomation_funcs | ||
/usr/bin/cva-input.exe | ||
/usr/bin/cva-match.exe | ||
/usr/share/doc/Cygwin/libcvautomation.README | ||
/usr/share/doc/libcvautomation/AUTHORS | ||
/usr/share/doc/libcvautomation/COPYING | ||
/usr/share/doc/libcvautomation/ChangeLog | ||
/usr/share/doc/libcvautomation/NEWS | ||
/usr/share/doc/libcvautomation/README | ||
/usr/share/man/man1/cva-input.1.gz | ||
/usr/share/man/man1/cva-match.1.gz | ||
|
||
(libcvautomation2) | ||
/usr/bin/cygcvautomation-2.dll | ||
|
||
(libcvautomation-devel) | ||
/usr/include/libcvautomation/libcvautomation-opencv.h | ||
/usr/include/libcvautomation/libcvautomation-xlib.h | ||
/usr/include/libcvautomation/libcvautomation-xtest.h | ||
/usr/include/libcvautomation/libcvautomation.h | ||
/usr/include/libcvautomation/xautomation_kbd.h | ||
/usr/include/libcvautomation/xautomation_keysym_map.h | ||
/usr/include/libcvautomation/xautomation_multikey_map.h | ||
/usr/lib/libcvautomation.dll.a | ||
/usr/lib/pkgconfig/libcvautomation.pc | ||
/usr/share/man/man3/cvaPoint.3.gz | ||
/usr/share/man/man3/cvautomationList.3.gz | ||
/usr/share/man/man3/libcvautomation-opencv.h.3.gz | ||
/usr/share/man/man3/libcvautomation-xlib.h.3.gz | ||
/usr/share/man/man3/libcvautomation-xtest.h.3.gz | ||
/usr/share/man/man3/libcvautomation.3.gz | ||
/usr/share/man/man3/libcvautomation.h.3.gz | ||
/usr/share/man/man3/libcvautomation_search_methods.3.gz | ||
/usr/share/man/man3/writing_app_tests.3.gz | ||
/usr/share/man/man3/xtest_command_strings.3.gz | ||
/usr/share/man/man3/xtest_key_strings.3.gz | ||
|
||
(python-libcvautomation) | ||
/usr/lib/python2.7/site-packages/_libcvautomation.dll | ||
/usr/lib/python2.7/site-packages/libcvautomation.py | ||
/usr/lib/python2.7/site-packages/libcvautomation.pyc | ||
/usr/lib/python2.7/site-packages/libcvautomation.pyo | ||
/usr/lib/python2.7/site-packages/libcvautomation_funcs.py | ||
/usr/lib/python2.7/site-packages/libcvautomation_funcs.pyc | ||
/usr/lib/python2.7/site-packages/libcvautomation_funcs.pyo | ||
|
||
------------------ | ||
|
||
Port Notes: | ||
|
||
----- version 2.0-1bl1 ----- | ||
Initial release by fd0 <https://github.com/fd00/> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
HOMEPAGE="https://github.com/DjBushido/${PN}" | ||
SRC_URI="https://github.com/DjBushido/${PN}/archive/Release_${PV}.tar.gz" | ||
SRC_DIR="${PN}-Release_${PV}" | ||
|
||
CATEGORY="Libs" | ||
SUMMARY="Use OpenCV to create a GUI testing framework - replaces Sikuli, Xpresser" | ||
DESCRIPTION="${SUMMARY}" | ||
|
||
PKG_NAMES=" | ||
${PN} | ||
${PN}2 | ||
${PN}-devel | ||
python-${PN} | ||
" | ||
libcvautomation_CONTENTS=" | ||
etc | ||
usr/bin/*.exe | ||
usr/share/doc | ||
usr/share/man/man1 | ||
" | ||
libcvautomation2_CONTENTS=" | ||
usr/bin/*.dll | ||
" | ||
libcvautomation_devel_CONTENTS=" | ||
usr/include | ||
usr/lib/${PN}* | ||
usr/lib/pkgconfig | ||
usr/share/man/man3 | ||
" | ||
python_libcvautomation_CONTENTS=" | ||
usr/lib/python* | ||
" | ||
|
||
libcvautomation_SUMMARY="${SUMMARY} (utilities)" | ||
libcvautomation2_SUMMARY="${SUMMARY} (runtime)" | ||
libcvautomation_devel_SUMMARY="${SUMMARY} (development)" | ||
python_libcvautomation_SUMMARY="${SUMMARY} (python bindings)" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- origsrc/libcvautomation-Release_2.0/include/libcvautomation/libcvautomation.h 2012-10-12 06:13:57.000000000 +0900 | ||
+++ src/libcvautomation-Release_2.0/include/libcvautomation/libcvautomation.h 2014-09-23 16:30:15.392965400 +0900 | ||
@@ -27,11 +27,11 @@ | ||
#include <limits.h> | ||
|
||
/* Autoconf logic to select the correct OpenCV version */ | ||
- | ||
-/* OpenCV includes */ | ||
- | ||
-#include <opencv/cv.h> | ||
-#include <opencv/highgui.h> | ||
+/* OpenCV2 includes - some filenames are different | ||
+ * from the OpenCV1 counterparts */ | ||
+#include <opencv2/core/core_c.h> | ||
+#include <opencv2/highgui/highgui_c.h> | ||
+#include <opencv2/imgproc/imgproc_c.h> | ||
|
||
/* X11 includes */ | ||
#include <X11/Xlib.h> | ||
--- origsrc/libcvautomation-Release_2.0/libcvautomation/Makefile.am 2012-10-12 06:13:57.000000000 +0900 | ||
+++ src/libcvautomation-Release_2.0/libcvautomation/Makefile.am 2014-09-23 16:28:02.122208200 +0900 | ||
@@ -5,7 +5,7 @@ AM_LIBS = -shared | ||
#Lists the libraries to build | ||
lib_LTLIBRARIES = libcvautomation.la | ||
libcvautomation_la_SOURCES = libcvautomation-opencv.c libcvautomation-xlib.c libcvautomation-xtest.c | ||
-libcvautomation_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ | ||
+libcvautomation_la_LDFLAGS = -no-undefined -version-info @LIBTOOL_VERSION@ | ||
libcvautomation_la_LIBADD = @X11_LIBS@ @XTEST_LIBS@ @CV_LIBS@ | ||
libcvautomation_la_CFLAGS = -Wall -Werror -O2 -I$(top_srcdir)/include @X11_CFLAGS@ @XTEST_CFLAGS@ @CV_CFLAGS@ | ||
|
||
--- origsrc/libcvautomation-Release_2.0/python/Makefile.am 2012-10-12 06:13:57.000000000 +0900 | ||
+++ src/libcvautomation-Release_2.0/python/Makefile.am 2014-09-23 16:34:46.768942000 +0900 | ||
@@ -1,7 +1,7 @@ | ||
pyexec_LTLIBRARIES = _libcvautomation.la | ||
_libcvautomation_la_SOURCES = libcvautomation-swig.c | ||
-_libcvautomation_la_LDFLAGS = -avoid-version -module $(PYTHON_LDFLAGS) -L$(top_srcdir)/libcvautomation/.libs | ||
-_libcvautomation_la_LIBADD = -lcvautomation | ||
+_libcvautomation_la_LDFLAGS = -no-undefined -avoid-version -module $(PYTHON_LDFLAGS) | ||
+_libcvautomation_la_LIBADD = $(top_builddir)/libcvautomation/libcvautomation.la | ||
_libcvautomation_la_CFLAGS = $(PYTHON_CPPFLAGS) -I$(top_srcdir)/include | ||
|
||
python_PYTHON = libcvautomation.py libcvautomation_funcs.py |