Hello all! I've recently been creating a software product called libcvautomation. I've gotten the autotools up and running, and created an RPM for it.
I've had significant troubles trying to create the Debian package though.
I'm creating a multiple binary package, but there is only one ./configure, etc.
I've created .install files for all the packages that should result, but I'm doing something wrong, because all generated packages are empty, and it's not building a package for the actual project - i.e. no libcvautomation.deb.
By any means, I've put what I believe is the relevant content below, please let me know if anything else is needed.
You can download the source from git at https://github.com/DjBushido/libcvautomation, which will build. To get a dist tarball run "./autogen.sh; ./configure; make; make dist".
And the code I have for debianizing the package:
debian/control:
Code:
Source: libcvautomation
Section: Development
Priority: extra
Maintainer: Bradlee Speice <bspeice@uncc.edu>
Build-Depends: debhelper (>= 8.0.0), autotools-dev, pkg-config, libpcre3, libx11-dev, libopencv-core-dev, libopencv-highgui-dev, libopencv-imgproc-dev
Standards-Version: 3.9.2
Homepage: http://djbushido.github.com/libcvautomation/
#Vcs-Git: git://git.debian.org/collab-maint/libcvautomation.git
#Vcs-Browser: http://git.debian.org/?p=collab-maint/libcvautomation.git;a=summary
Package: libcvautomation
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libxtst6, libx11, libopencv-core2.3, libopencv-highgui2.3, libopencv-imgproc2.3
Description: Libcvautomation - GUI Automation and Testing Library
Libcvautomation is a GUI automation and testing tool based on image recognition and response. This program was designed as a direct replacement for Sikuli and Xpresser. Each solution had large problems with crashing, and both refused to function on Red Hat Linux and Ubuntu 12.04. The author really liked the way each of these programs approached GUI automation, but they simply didn't work. As such, a simple library was designed to integrate OpenCV and XTest, which can be used by BASH to drive GUI testing and automation, and works on both new and old Linux distributions.
Package: libcvautomation-doc
Architecture: all
Description: documentation for libcvautomation
Contains the HTML documentation for libcvautomation.
Package: libcvautomation-dev
Depends: libcvautomation (= 1.3)
Architecture: any
Description: development files for libcvautomation
Contains all files needed to build programs on top of libcvautomation
Package: libcvautomation-examples
Depends: ${shlibs:Depends}, ${misc:Depends}, libxtst6, libx11, libopencv-core2.3, libopencv-highgui2.3, libopencv-imgproc2.3
Architecture: any
Description: Example programs to demonstrate libcvautomation functionality
Contains programs designed to showcase the functionality of libcvautomation, as well as a BASH wrapper to write application tests from BASH.
And an example .install file:
debian/libcvautomation-examples.install:
Code:
etc/libcvautomation_funcs etc/libcvautomation_funcs
usr/bin/* usr/bin/
usr/share/man/man1/* usr/share/man/man1/
One final note: I have a working .spec file at https://github.com/DjBushido/libcvau...mation.spec.in if it's helpful.
Bookmarks