From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 4D099E00AF8; Mon, 2 Nov 2015 08:42:40 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HTML_MESSAGE,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [98.138.91.189 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's * domain * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from nm29-vm4.bullet.mail.ne1.yahoo.com (nm29-vm4.bullet.mail.ne1.yahoo.com [98.138.91.189]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 8FFEBE006D1 for ; Mon, 2 Nov 2015 08:42:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sbcglobal.net; s=s2048; t=1446482556; bh=uRqNlOK8z1AAes7P+3ge88G3wd8mbUaErkpIfvAtt60=; h=Date:From:Reply-To:To:Subject:References:From:Subject; b=LlrsgyjSeF+KcloI1rgPZzczjawWFkbsqgihgV2fQPzCymMl1KZ1gkd2EPutv5eMMB/2+3qVBv5KhkPbV9S9OCfvinfhtD9OyMWkmcMrEai5gulZ7Ve7vqZZIUPG2GRrHUXx4+mbLMEl8JQ4STg68oEnctn2+dSwR25b7ZNzkhCRyK3hGipfxTIg5TA3hF0nyfgLeV6fW3OQYMVAu8SPGr+jc0D8hzEzouzEibdWFS9Qv6O91DIOzoRcnbDyAnl3xN5zNQXOPp4LUPNowHxIK3jFnhmHyazuo9r1NaTtVdZudecjvdbqvu8AWuiMWHLk6h9XsGfgqVLJuOOB92XWtg== Received: from [98.138.226.178] by nm29.bullet.mail.ne1.yahoo.com with NNFMP; 02 Nov 2015 16:42:36 -0000 Received: from [98.138.87.10] by tm13.bullet.mail.ne1.yahoo.com with NNFMP; 02 Nov 2015 16:42:36 -0000 Received: from [127.0.0.1] by omp1010.mail.ne1.yahoo.com with NNFMP; 02 Nov 2015 16:42:36 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 120548.94395.bm@omp1010.mail.ne1.yahoo.com X-YMail-OSG: vmPEuToVM1nl1CLY5jdaqoTfq4A2iOkiY8PsSy2qzqxGOYbJqmucHn_CwMezIyI 2IWHkriUOs5D1_tbAIc1eo9gK_Vb6RAmAHlE.2UFmrQ_Fgs1NDARakN7e1ynfsHKsJ3ajNTX3eFw QYFdDIK9kv8DgJn6LTHnBfKtviEZ2Kdz5pUWDjUFXSuWnfIJlxxXr_C0wf0L8bhgNcpYL_.b9exw aEiZQQiTmRb1it34rVft86FIWsHPWZ0BnW1SYhOW_ajOngeCaNCgQUQdYZmKAmhJ93i.w9Zmjk2s F6JuPGAJtCUkH48TU72jgkCrN6D6fu0VKA1epU4bRGKVvAStI9kyksShQeccLPhs1Kthe3evHZme fSemsIoDt2jHXzu9PQXHSRjc0jyqFc4TT81tm1Kxw8ptIBS6zYqQTgGoBFFj5az7a3Li4f468Lmc yFhpB98W7KEVLx.kzZ.gJlWcNGqyLuImuQxMuyLJp2_ZCnfMYUt_HOdXGkt4LXikmlNUYmtnkDfC FtN1fNlCmNjyB2J2a7MZz1ibKT6AwS9KGgFvzJ6pvCxbiWWl0Oi2_VWvn6UP_Fqo- Received: by 98.138.105.223; Mon, 02 Nov 2015 16:42:35 +0000 Date: Mon, 2 Nov 2015 16:42:35 +0000 (UTC) From: Edward Vidal To: "yocto@yoctoproject.org" Message-ID: <1208702155.772292.1446482555256.JavaMail.yahoo@mail.yahoo.com> MIME-Version: 1.0 References: <1208702155.772292.1446482555256.JavaMail.yahoo@mail.yahoo.com> Subject: openjpeg on github X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: Edward Vidal List-Id: Discussion of all things Yocto Project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Nov 2015 16:42:40 -0000 Content-Type: multipart/alternative; boundary="----=_Part_772291_811673067.1446482555253" ------=_Part_772291_811673067.1446482555253 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hello All,When a project is using git instead of tar file which branch is u= sed?Is best to be using git or tar file with yocto? Openjepeg is now on github. =C2=A0 The openjpeg 2.1.0 was at SRC_URI =3D "$= {SOURCEFORGE_MIRROR}/project/${BPN}.mirror/${PV}/${BPN}-${PV}.tar.gz". =C2= =A0 I did the following to create a new recipe. recipetool create=C2=A0 -o /home/vidal/wkg/yocto/RaspberryPi2/poky/meta-oe/= recipes-graphics/openjpeg/openjpeg_git.bb https://github.com/uclouvain/open= jpeg.git =C2=A0# 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 a= ccompanying # documentation and source headers and set LICENSE and LIC_FILES_CHKSUM acc= ordingly. # # NOTE: LICENSE is being set to "CLOSED" to allow you to at least start bui= lding - 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 usin= g this # recipe for anything other than initial testing/development! LICENSE =3D "CLOSED" LIC_FILES_CHKSUM =3D "" SRC_URI =3D "https://github.com/uclouvain/openjpeg.git" SRC_URI[md5sum] =3D "9ad2bb8d9e833bfd74b4885a0f1d3882" SRC_URI[sha256sum] =3D "af9d33bcc1485f1938ceb13464e66041dc4538dccc8edf02320= 141b0da9f95c6" inherit cmake DEPENDS =3D "libpng tiff lcms" # NOTE: no Makefile found, unable to determine what needs to be done do_configure () { =C2=A0=C2=A0=C2=A0 # Specify any needed configure commands here =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 mkdir build } do_compile () { =C2=A0=C2=A0=C2=A0 # Specify compilation commands here =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cd build =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 cmake ../ } do_install () { =C2=A0=C2=A0=C2=A0 # Specify install commands here } When I try bitbake openjpeg I get several errors. The INSTALL file=C2=A0Using cmake (see www.cmake.org) Type: =C2=A0 cmake . =C2=A0 makeOn my system I created a buildcd build=20 cmake ../makeThis builds okay. Any and all help=C2=A0 is appreaciated.Cheers =C2=A0Edward Vidal Jr. e-mail develone@sbcglobal.net 915-595-1613 ------=_Part_772291_811673067.1446482555253 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
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 =3D "${SOURCEFO= RGE_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/Raspb= erryPi2/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 the= se comments when editing.)
#
# Unable to fin= d any files that looked like license statements. Check the accompanying
# documentation and sourc= e 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
# wil= l not be in most cases) you must specify the correct value before using thi= s
# recipe for anythin= g other than initial testing/development!
LICENSE =3D "CLOSED"
LIC_FILES_CHKSUM =3D ""

= SRC_URI =3D "https://github.com/uclouvain/openjpeg.git"
SRC_URI[md5sum] =3D "9ad2bb8d9e833bfd74b4= 885a0f1d3882"
SRC_URI[= sha256sum] =3D "af9d33bcc1485f1938ceb13464e66041dc4538dccc8edf02320141b0da9= f95c6"
inherit cmake
DEPENDS =3D "libpng tiff lcms"
# NOTE: no Makefile found, unable t= o determine what needs to be done

do_config= ure () {
  &= nbsp; # Specify any needed configure commands here
        mkd= ir build
}

do_compile () {
    # Specify compilation commands here
    &nb= sp;   cd build
        cmake ../
}

do_inst= all () {
  &= nbsp; # Specify install commands here
}
When= I try bitbake openjpeg I get several errors.

The INSTALL file 
Using cmake (see www.cmake.org)

Type:
  cmake .
&nbs= p; make
On my s= ystem I created a build
cd build
cmake ../<= /div>
make
This builds okay.

Any and = all help  is appreaciated.
Cheer= s

 
Edward Vidal Jr. e-mail develone@sbcg= lobal.net 915-595-1613
------=_Part_772291_811673067.1446482555253--