Received: from mail.gw90.de ([188.40.100.199]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NrgrQ-0000Ql-HS for openembedded-devel@lists.openembedded.org; Wed, 17 Mar 2010 01:11:49 +0100 Received: from f053036046.adsl.alicedsl.de ([78.53.36.46] helo=[192.168.178.21]) by mail.gw90.de with esmtpsa (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NrgoU-0005bF-V0 for openembedded-devel@lists.openembedded.org; Wed, 17 Mar 2010 00:08:43 +0000 From: Paul Menzel To: openembedded-devel@lists.openembedded.org In-Reply-To: <1268757942.4111.25.camel@mattotaupa> References: <1268757942.4111.25.camel@mattotaupa> Date: Wed, 17 Mar 2010 01:08:40 +0100 Message-ID: <1268784521.3893.15.camel@mattotaupa> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 X-SA-Exim-Connect-IP: 188.40.100.199 X-SA-Exim-Mail-From: paulepanter@users.sourceforge.net X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Re: [PATCH] libvalhalla: Add recipe for libvalhalla 1.0.1. X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Mar 2010 00:11:49 -0000 X-Groupsio-MsgNum: 17763 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-ia1cAuYhXJwPZhEqSAsS" --=-ia1cAuYhXJwPZhEqSAsS Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Dear OE folks, please do not apply this patch. Some dependencies are missing. I will improve it a little bit and resend it. Comments are still welcome. I have one more question below. Am Dienstag, den 16.03.2010, 17:45 +0100 schrieb Paul Menzel: [=E2=80=A6] > 3. I tried to run this on the BeagleBoard and `libvalhalla-test` returns = an error code. I still have to verify if it is a build problem or some conf= iguration problem. [=E2=80=A6] > root@beagleboard:~# libvalhalla-test -v -g local > [libvalhalla] [database.c:1089] Info: Database version : 1 > Default suffixes: flac,m4a,mp3,ogg,wav,wma > avi,mkv,mov,mpg,wmv > bmp,gif,jpeg,jpg,png,tga,tif,tiff > Run: parser=3D2 loop=3D1 wait=3D0 priority=3D19 commit-int=3D128 > Grabbers available: > local > Error code: -1 That is a usage error. The directory where to look for media files was missing. > 4. -doc, -dev, -static and =E2=80=9Cnormal=E2=80=9D packages are created = automatically. Although I could not find the manual page of `libvalhalla-te= st` included. I forgot to add `--enable-doc`. > 5. Maybe a seperate package should be created for `libvalhalla-test`. It = is 78K big. >=20 > # ls -alh /usr/bin/libvalhalla-test > -rwxr-xr-x 1 root root 78K Mar 16 13:48 /usr/bin/libvalhalla-test 6. It is possible to enable several grabbers. `./configure` looks for itself if the necessary header files are installed and disables the grabber if no headers are found. Should I add all needed headers into `DEPENDS` or leave them out and `./configure` will only enable the ones it finds in the staging directories? Thanks, Paul > Signed-off-by: Paul Menzel > --- > Could someone else please test this and if the above mentioned issues can= be corrected later on, please check it in. If someone has a quick fix for = the above issues and can fix them that would also be awesome. >=20 > Thanks! > --- > recipes/libvalhalla/libvalhalla.inc | 24 ++++++++++++++++++++++++ > recipes/libvalhalla/libvalhalla_1.0.1.bb | 5 +++++ > 2 files changed, 29 insertions(+), 0 deletions(-) > create mode 100644 recipes/libvalhalla/libvalhalla.inc > create mode 100644 recipes/libvalhalla/libvalhalla_1.0.1.bb >=20 > diff --git a/recipes/libvalhalla/libvalhalla.inc b/recipes/libvalhalla/li= bvalhalla.inc > new file mode 100644 > index 0000000..2ff1e4c > --- /dev/null > +++ b/recipes/libvalhalla/libvalhalla.inc > @@ -0,0 +1,24 @@ > +DESCRIPTION =3D "libvalhalla is a library written in C. It is a media sc= anner, that stores various information in an SQLite database and relies on = FFmpeg (libavformat and libavutil) and libcurl. It features many Internet g= rabbers that allows automatic download of covers, lyrics, informations on m= edia files, tags retrival in video and music files and so on." > +HOMEPAGE =3D "http://libvalhalla.geexbox.org/" > +LICENSE =3D "LGPLv2.1" > +DEPENDS =3D "ffmpeg" > + > +INC_PR =3D "r0" > + > +SRC_URI =3D "http://libvalhalla.geexbox.org/releases/${P}.tar.bz2;name= =3Dlibvalhalla" > + > +inherit autotools pkgconfig > + > +# the configure script is hand-crafted, it rejects some of the usual > +# configure arguments > +do_configure() { > + ${S}/configure \ > + --prefix=3D${prefix} \ > + --disable-strip \ > + --with-lavf-inc=3D${STAGING_INCDIR} \ > + --with-lavf-lib=3D${STAGING_LIBDIR} \ > + --with-lavc-inc=3D${STAGING_INCDIR} \ > + --with-lavc-lib=3D${STAGING_LIBDIR} \ > + --cross-compile \ > + --enable-pic > +} > diff --git a/recipes/libvalhalla/libvalhalla_1.0.1.bb b/recipes/libvalhal= la/libvalhalla_1.0.1.bb > new file mode 100644 > index 0000000..cbb1330 > --- /dev/null > +++ b/recipes/libvalhalla/libvalhalla_1.0.1.bb > @@ -0,0 +1,5 @@ > +require libvalhalla.inc > +PR =3D "${INC_PR}.0" > + > +SRC_URI[libvalhalla.md5sum] =3D "75d4a3383887c4c341eeba9ebe60d626" > +SRC_URI[libvalhalla.sha256sum] =3D "df78015e118c784e3ff3e8562bc96d287ac1= 1997d3b9e45e2d8b67568b0600d3" > _______________________________________________ > Openembedded-devel mailing list > Openembedded-devel@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel --=-ia1cAuYhXJwPZhEqSAsS Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Dies ist ein digital signierter Nachrichtenteil -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iEYEABECAAYFAkugHYgACgkQPX1aK2wOHVgWXwCbBufE6su3PShAP2MOkSsarJW0 pbMAnitK4zKdHXIggXdNoembdVbtocsZ =u+1Z -----END PGP SIGNATURE----- --=-ia1cAuYhXJwPZhEqSAsS--