Hello All,When a project is using git instead of tar file which branch is
used?Is best to be using git or tar file with yocto?
Openjepeg is now on github. The openjpeg 2.1.0 was at SRC_URI =
"${SOURCEFORGE_MIRROR}/project/${BPN}.mirror/${PV}/${BPN}-${PV}.tar.gz". I
did the following to create a new recipe.
recipetool create -o
/home/vidal/wkg/yocto/RaspberryPi2/poky/meta-oe/recipes-graphics/openjpeg/openjpeg_git.bb
https://github.com/uclouvain/openjpeg.git
# Recipe created by recipetool
# This is the basis of a recipe and may need further editing in order to be
fully functional.
# (Feel free to remove these comments when editing.)
#
# Unable to find any files that looked like license statements. Check the
accompanying
# documentation and source headers and set LICENSE and LIC_FILES_CHKSUM
accordingly.
#
# NOTE: LICENSE is being set to "CLOSED" to allow you to at least start
building - if
# this is not accurate with respect to the licensing of the software being
built (it
# will not be in most cases) you must specify the correct value before using
this
# recipe for anything other than initial testing/development!
LICENSE = "CLOSED"
LIC_FILES_CHKSUM = ""
SRC_URI = "https://github.com/uclouvain/openjpeg.git"
SRC_URI[md5sum] = "9ad2bb8d9e833bfd74b4885a0f1d3882"
SRC_URI[sha256sum] =
"af9d33bcc1485f1938ceb13464e66041dc4538dccc8edf02320141b0da9f95c6"
inherit cmake
DEPENDS = "libpng tiff lcms"
# NOTE: no Makefile found, unable to determine what needs to be done
do_configure () {
# Specify any needed configure commands here
mkdir build
}
do_compile () {
# Specify compilation commands here
cd build
cmake ../
}
do_install () {
# Specify install commands here
}
When I try bitbake openjpeg I get several errors.
The INSTALL file Using cmake (see www.cmake.org)
Type:
cmake .
makeOn my system I created a buildcd build
cmake ../makeThis builds okay.
Any and all help is appreaciated.Cheers
Edward Vidal Jr. e-mail devel...@sbcglobal.net 915-595-1613
--
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto