From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f53.google.com (mail-pb0-f53.google.com [209.85.160.53]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 843BEE01472 for ; Fri, 31 May 2013 02:52:14 -0700 (PDT) Received: by mail-pb0-f53.google.com with SMTP id un4so1923832pbc.26 for ; Fri, 31 May 2013 02:52:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:organization:user-agent:mime-version :to:subject:references:in-reply-to:content-type :content-transfer-encoding; bh=VzY9WTtxnr3mGRETJKZYlzEImCPcZTRBpEXB6r71yV8=; b=VdaSQDIvS0gjXfvwF2wbLSuc7K9rMyN4w5rw7bk9Q0qSNnR19c6ESYdsQJZfaW9pWl xSAkXyJK+5Tl5PniI+6IP9GuU7ZcadF+4VBvBlLpkP268JtRYT8LMpqTZLal5R9viTLz qgHeBUERcpZKNV/hVztvOWdupD6lkP73svbLVRqSzYfxDvgo6iuateM/qtWvdhP8TxiQ Z0i2pePVMFkAgei0SOr16fWPqu65hlStOTyJd56HoYAoMS6w8bDzTDY+F8RmBj45K/uC fttEGlRpfPapXJb7fi2YFOeCR5vs0mw4vXdRyhQOS4NBCy5p4d9hjZK+rxuN/M4dSBCN h8zg== X-Received: by 10.66.134.41 with SMTP id ph9mr12903989pab.150.1369993933885; Fri, 31 May 2013 02:52:13 -0700 (PDT) Received: from [183.181.99.187] (PPPbm183.fukushima-ip.dti.ne.jp. [183.181.99.187]) by mx.google.com with ESMTPSA id wi6sm46006817pbc.22.2013.05.31.02.52.12 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 31 May 2013 02:52:13 -0700 (PDT) Message-ID: <51A872C1.1010109@gmail.com> Date: Fri, 31 May 2013 18:52:01 +0900 From: Daniel Kenji Morgan Organization: Daniel Kenji Morgan User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: "meta-freescale@yoctoproject.org" References: <51A739CB.6000701@gmail.com> <44DF7CDEDF8FFF4BB93AB22C1AA1823B893FBA@039-SN2MPN1-021.039d.mgd.msft.net> In-Reply-To: <44DF7CDEDF8FFF4BB93AB22C1AA1823B893FBA@039-SN2MPN1-021.039d.mgd.msft.net> Subject: Re: Trouble installing fsl codec libraries X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list Reply-To: daniel.kenji.morgan@gmail.com List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 31 May 2013 09:52:14 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit (2013/05/31 4:54), Sandoval Gonzalez Leonardo-B42214 wrote: > have you tried building a 'fsl-image-gui' image? that image contains freescale's gstreamer plugins. > > Leo > ________________________________________ > From: meta-freescale-bounces@yoctoproject.org [meta-freescale-bounces@yoctoproject.org] on behalf of Daniel Kenji Morgan [daniel.kenji.morgan@gmail.com] > Sent: Thursday, May 30, 2013 6:36 AM > To: meta-freescale@yoctoproject.org > Subject: [meta-freescale] Trouble installing fsl codec libraries > > Hello, > > I'm trying to play audio files using gstreamer on the SABRE Lite board. > I've tried building an image by inheriting "core-image" and adding "gstreamer" and "gst-fsl-plugin" to CORE_IMAGE_EXTRA_INSTALL. > For some reason, none of the codecs included in "libfslcodec" are installed onto my image even though they are built. > The parsers in libfslparser are installed without any problems. > I've tried messing about with various recipes, but have had no success so far in getting the codecs to be installed. > > Can anyone give me some insight into what I might be doing wrong? > I am currently using Poky 1.3 (danny) for all required meta layers. > > _______________________________________________ > meta-freescale mailing list > meta-freescale@yoctoproject.org > https://lists.yoctoproject.org/listinfo/meta-freescale > > Thank you for the reply. Here is an update. It turns out the codecs are installed, but the codec *wrapper* libraries are NOT. I tried building both "fsl-image-gui" and "fsl-image-test", but the results are the same. I did a comparison against an image built using LTIB, and it turns out that "/usr/lib/imx-mm/audio-codec/wrap" contains the wrapper libraries. The yocto images does not contain this directory nor any of the wrapper libraries. Forgive me if my assumption is wrong, but don't the following lines in "do_install_append" from libfslcodec_3.0.1.bb delete the wrapper libraries? # LTIB move the files around or gst-fsl-plugin won't find them for p in $(find ${D}${libdir}/imx-mm -mindepth 1 -maxdepth 1 -type d); do mv $p/* ${D}${libdir} rmdir $p done rmdir ${D}${libdir}/imx-mm The packaging in "populate_packages_prepend" also seems to place the wrapper libraries into "/usr/lib/wrap" which does not match the path found in the LTIB generated image.