Skip to contentSkip to conversation

lightmediascanner: Add version 0.4.3.0 (initial recipe)

meta-efl In review Pau Espin Pedrol 3 participants 7 messages Aug 17, 2011 – Oct 16, 2011

lore
Share & tools
lore
#0 lore raw

* Recipe based on recipe v0.4.1.0 from oe.dev (http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/lightmediascanner/lightmediascanner_0.4.1.0.bb?id=99ed67320060c4b9f686328a22f68980c2154c62)

---
 .../lightmediascanner/lightmediascanner_0.4.3.0.bb |   26 ++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb
meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb new file +26 -0
new file mode 100644
index 0000000..7c71d4a
@@ -0,0 +1,26 @@
+DESCRIPTION = "Lightweight media scanner meant to be used in not-so-powerful devices"
+AUTHOR = "ProFUSION"
+HOMEPAGE = "http://lms.garage.maemo.org/"
+SECTION = "libs/multimedia"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+DEPENDS = "sqlite3 flac"
+
+PR = "r1"
+
+SRC_URI = "https://garage.maemo.org/frs/download.php/9439/lightmediascanner-${PV}.tar.bz2"
+SRC_URI[md5sum] = "188ff5188cfa0f2504a42934c969cb77"
+SRC_URI[sha256sum] = "bdbe76655ad212b936fb3cf6a9ca725e318ddeb57cd7d950d9c8409297d3b0da"
+
+inherit autotools pkgconfig
+
+do_install_append() {
+    install -d ${D}/${bindir}/
+    install -m 755 ${WORKDIR}/${PN}-${PV}/src/bin/.libs/test  ${D}/${bindir}/test-lms
+}
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/test-lms"
+
+FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug"
Signature · 1 line
1.7.6
#1 lore raw

minimal-uclibc: ../../src/lib/.libs/liblightmediascanner.so: undefined reference to `libiconv_open' (was: [meta-efl] lightmediascanner: Add version 0.4.3.0 (initial recipe))

Dear Pau,

Am Mittwoch, den 17.08.2011, 20:06 +0200 schrieb Pau Espin Pedrol:

Quoted 3 lines

* Recipe based on recipe v0.4.1.0 from oe.dev (http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/lightmediascanner/lightmediascanner_0.4.1.0.bb?id=99ed67320060c4b9f686328a22f68980c2154c62)

thank you for addressing the comments. Somehow the tag »[PATCH]« was not added (by git send-email?) to the subject line. Please mark it as v2 next time and add a short description below the --- what changed in the iteration.

Quoted 11 lines
---
 .../lightmediascanner/lightmediascanner_0.4.3.0.bb |   26 ++++++++++++++++++++
 1 files changed, 26 insertions(+), 0 deletions(-)
 create mode 100644 meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb
meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb new file +0 -0
new file mode 100644
index 0000000..7c71d4a

meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb line 7

Quoted 7 lines
meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb new file +7 -0
@@ -0,0 +1,26 @@
+DESCRIPTION = "Lightweight media scanner meant to be used in not-so-powerful devices"
+AUTHOR = "ProFUSION"
+HOMEPAGE = "http://lms.garage.maemo.org/"
+SECTION = "libs/multimedia"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+DEPENDS = "sqlite3 flac"

Either virtual/libintl or inherit gettext is needed too I think. Please read the end of my reply.

meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb line 9

Quoted 2 lines
meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb new file +2 -0
+
+PR = "r1"

Please start with "r0".

Quoted 7 lines
meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb new file +7 -0
+
+SRC_URI = "https://garage.maemo.org/frs/download.php/9439/lightmediascanner-${PV}.tar.bz2"
+SRC_URI[md5sum] = "188ff5188cfa0f2504a42934c969cb77"
+SRC_URI[sha256sum] = "bdbe76655ad212b936fb3cf6a9ca725e318ddeb57cd7d950d9c8409297d3b0da"
+
+inherit autotools pkgconfig
+

meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb line 26

Quoted 10 lines
meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb new file +10 -0
+do_install_append() {
+    install -d ${D}/${bindir}/
+    install -m 755 ${WORKDIR}/${PN}-${PV}/src/bin/.libs/test  ${D}/${bindir}/test-lms
+}
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/test-lms"
+
+FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug"

Furthermore I just wanted to report that the build is failing with uClibc. I contacted upstream but I am not sure what the correct fix is. Please find my attempt attached.

Thanks,

Paul

#2 lore raw

Re: minimal-uclibc: ../../src/lib/.libs/liblightmediascanner.so: undefined reference to `libiconv_open' (was: [meta-efl] lightmediascanner: Add version 0.4.3.0 (initial recipe))

Dear Pau,

Am Donnerstag, den 18.08.2011, 13:25 +0200 schrieb Paul Menzel:

[…]

Quoted 3 lines

Furthermore I just wanted to report that the build is failing with uClibc. I contacted upstream but I am not sure what the correct fix is. Please find my attempt attached.

The upstream developer Gustavo provided a patch and this seems to fix the build issues. Could you test if the recipe in oe.dev [1] works for you.

Thank you very much,

Paul

[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=29dc29049a2c1073456f22a94f6e67a647343a64

#3 lore raw

Re: minimal-uclibc: ../../src/lib/.libs/liblightmediascanner.so: undefined reference to `libiconv_open' (was: [meta-efl] lightmediascanner: Add version 0.4.3.0 (initial recipe))

Quoted 3 lines

The upstream developer Gustavo provided a patch and this seems to fix the build issues. Could you test if the recipe in oe.dev [1] works for you.

it doesn't work for me:
| configure.ac:37: required file `./config.rpath' not found | autoreconf: automake failed with exit status: 1 and at line 37 there is:
AM_ICONV
which is added by that patch.

Denis.

#4 lore raw

Re: minimal-uclibc: ../../src/lib/.libs/liblightmediascanner.so: undefined reference to `libiconv_open' (was: [meta-efl] lightmediascanner: Add version 0.4.3.0 (initial recipe))

Am Sonntag, den 16.10.2011, 21:30 +0200 schrieb Denis 'GNUtoo' Carikli:

Quoted 6 lines
Quoted 3 lines

The upstream developer Gustavo provided a patch and this seems to fix the build issues. Could you test if the recipe in oe.dev [1] works for you.

it doesn't work for me:
| configure.ac:37: required file `./config.rpath' not found | autoreconf: automake failed with exit status: 1

What recipe did you use? The recipe for 0.4.3.0 in OE-classic takes care of that [1]!

Please be more elaborate next time and adapt the subject line too if the message content is different.

Quoted 3 lines

and at line 37 there is:
AM_ICONV
which is added by that patch.

0.4.3.0 should be fine. Anyway I pushed 0.4.4 in commit 63d3969b [2].

Thanks,

Paul

[1] http://git.openembedded.org/openembedded/tree/recipes/lightmediascanner/lightmediascanner_0.4.3.0.bb?id=63d3969b0f839fc4b7bf7fe836daec729d9d3c53#n18
[2] http://git.openembedded.org/openembedded/commit/?id=63d3969b0f839fc4b7bf7fe836daec729d9d3c53

#5 lore raw

PATCH v2 1/1 lightmediascanner: Add version 0.4.3.0 (initial recipe)

In reply to Paul Menzel

From: pespin <[email protected]>

* Recipe based on recipe v0.4.1.0 from oe.dev (http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/lightmediascanner/lightmediascanner_0.4.1.0.bb?id=99ed67320060c4b9f686328a22f68980c2154c62)

---
 .../lightmediascanner/lightmediascanner_0.4.3.0.bb |   28 ++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb
meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb new file +28 -0
new file mode 100644
index 0000000..6736a97
@@ -0,0 +1,28 @@
+DESCRIPTION = "Lightweight media scanner meant to be used in not-so-powerful devices"
+AUTHOR = "ProFUSION"
+HOMEPAGE = "http://lms.garage.maemo.org/"
+SECTION = "libs/multimedia"
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343"
+DEPENDS = "sqlite3 flac"
+
+PR = "r0"
+
+SRC_URI = "https://garage.maemo.org/frs/download.php/9439/lightmediascanner-${PV}.tar.bz2"
+
+inherit autotools pkgconfig gettext
+
+do_install_append() {
+    install -d ${D}/${bindir}/
+    install -m 755 ${WORKDIR}/${PN}-${PV}/src/bin/.libs/test  ${D}/${bindir}/test-lms
+}
+
+PACKAGES =+ "${PN}-test"
+
+FILES_${PN}-test = "${bindir}/test-lms"
+
+FILES_${PN}-dbg += "${libdir}/${PN}/plugins/.debug"
+
+SRC_URI[md5sum] = "188ff5188cfa0f2504a42934c969cb77"
+SRC_URI[sha256sum] = "bdbe76655ad212b936fb3cf6a9ca725e318ddeb57cd7d950d9c8409297d3b0da"
+
Signature · 1 line
1.7.4.1
#6 lore raw

Dear Denis, dear Pau,

Am Sonntag, den 16.10.2011, 21:37 +0200 schrieb Denis 'GNUtoo' Carikli:

Quoted 1 line

From: pespin <[email protected]>

please use a correct name.

Quoted 1 line

* Recipe based on recipe v0.4.1.0 from oe.dev (http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/lightmediascanner/lightmediascanner_0.4.1.0.bb?id=99ed67320060c4b9f686328a22f68980c2154c62)

NAK. Please use 0.4.4 [1].

Quoted 6 lines
---
 .../lightmediascanner/lightmediascanner_0.4.3.0.bb |   28 ++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 meta-efl/recipes-multimedia/lightmediascanner/lightmediascanner_0.4.3.0.bb

[…]

Thanks,

Paul

[1] http://git.openembedded.org/openembedded/commit/?id=63d3969b0f839fc4b7bf7fe836daec729d9d3c53