No, because that should *not* be done by any automated tool. Adding PPAs is a security risk. If some of the PPAs I've used is representative, it is also a nice way to break your user's systems.
Some options: - make autoproj compile opencv from source to get the parts you need - provide a separate package set in which you warn you users clearly of what you want to do to their ubuntus and install the PPA (i.e. by asking a question) - check in the autobuild files whether the parts of opencv you need are installed (i.e. by checking for some include / pkg-config file) and if it is not, fallback to the build-opencv-from-source. Add information in README that one can install the package manually to avoid building from source. Sylvain On Fri, Mar 25, 2016 at 3:08 PM, Javier Hidalgo Carrió <[email protected]> wrote: > Hi Rock, > > I have a question regarding the installation of not officially supported os > packages in Ubuntu. When a rock task needs an os package which is not part > of the official list of packages. For example: a computer vision task which > requires opencv-nonfree extension. Before compiling the task I will need to > do: > > sudo add-apt-repository --yes ppa:xqms/opencv-nonfree > sudo apt-get update > sudo apt-get install libopencv-nonfree-dev > > Is there a manner to do it using autoproj? > > Cheers, > > Javier. > > _______________________________________________ > Rock-users mailing list > [email protected] > http://www.dfki.de/mailman/cgi-bin/listinfo/rock-users > _______________________________________________ Rock-dev mailing list [email protected] http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
