Patchwork [meta-oe,1/9] schroedinger: Imported from OE classic

login
register
mail settings
Submitter Joel A Fernandes
Date Aug. 26, 2011, 12:28 a.m.
Message ID <1314318504-9524-1-git-send-email-joelagnel@ti.com>
Download mbox | patch
Permalink /patch/10545/
State New, archived
Headers show

Comments

Joel A Fernandes - Aug. 26, 2011, 12:28 a.m.
Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
---
 .../schroedinger/gst-plugin-schroedinger_1.0.9.bb  |   15 +++++++++++++++
 .../schroedinger/schroedinger.inc                  |   19 +++++++++++++++++++
 .../schroedinger/schroedinger/configure.ac.patch   |   13 +++++++++++++
 .../schroedinger/schroedinger_1.0.9.bb             |   13 +++++++++++++
 4 files changed, 60 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
 create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
 create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
 create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
Koen Kooi - Aug. 26, 2011, 7:59 a.m.
Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:
> 
> diff --git a/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
> new file mode 100644
> index 0000000..537d685
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
> @@ -0,0 +1,34 @@
> +DESCRIPTION = "MPEG Audio Decoder Library"
> +SECTION = "libs"
> +PRIORITY = "optional"

That field isn't used anymore

> +DEPENDS = "libid3tag"
> +LICENSE = "GPL"

Which version?

> +PR = "r5"

reset that

> +
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \
> +           file://add-pkgconfig.patch \
> +	   file://mad.diff \
> +	   file://mad-mips-h-constraint.patch"
> +
> +S = "${WORKDIR}/libmad-${PV}"
> +
> +SRC_URI_append_avr32 = " file://libmad-0.15.1b-avr32-optimization.patch"
> +
> +inherit autotools pkgconfig
> +
> +EXTRA_OECONF = "-enable-speed --enable-shared"
> +# The ASO's don't take any account of thumb...
> +EXTRA_OECONF_append_thumb = " --disable-aso --enable-fpm=default"
> +EXTRA_OECONF_append_arm = " --enable-fpm=arm"
> +
> +do_configure_prepend () {
> +#	damn picky automake...
> +	touch NEWS AUTHORS ChangeLog
> +}
> +
> +ARM_INSTRUCTION_SET = "arm"
> +
> +SRC_URI[md5sum] = "1be543bc30c56fb6bea1d7bf6a64e66c"
> +SRC_URI[sha256sum] = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690"
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Koen Kooi - Aug. 26, 2011, 8:01 a.m.
Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:

> Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
> ---
> .../schroedinger/gst-plugin-schroedinger_1.0.9.bb  |   15 +++++++++++++++
> .../schroedinger/schroedinger.inc                  |   19 +++++++++++++++++++
> .../schroedinger/schroedinger/configure.ac.patch   |   13 +++++++++++++
> .../schroedinger/schroedinger_1.0.9.bb             |   13 +++++++++++++
> 4 files changed, 60 insertions(+), 0 deletions(-)
> create mode 100644 meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
> 
> diff --git a/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
> new file mode 100644
> index 0000000..0a95646
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
> @@ -0,0 +1,15 @@
> +require schroedinger.inc
> +PR = "r0"
> +

> +DEPENDS += "gstreamer gst-plugins-base"
> +
> +SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
> +SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
> +
> +S = "${WORKDIR}/schroedinger-${PV}"
> +
> +PACKAGES = "gst-plugin-schroedinger gst-plugin-schroedinger-dev gst-plugin-schroedinger-dbg"
> +FILES_gst-plugin-schroedinger += "${libdir}/gstreamer-0.10/libgstschro.so"
> +FILES_gst-plugin-schroedinger-dev += "${libdir}/gstreamer-0.10/libgstschro.*"
> +FILES_gst-plugin-schroedinger-dbg += "${libdir}/gstreamer-0.10/.debug/libgstschro.so"
> +
> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
> new file mode 100644
> index 0000000..386fc73
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
> @@ -0,0 +1,19 @@
> +HOMEPAGE = "http://schrodinger.sourceforge.net/"
> +LICENSE = "MPL GPL LGPL MIT"
> +DEPENDS = "liboil orc-native orc"
> +
> +INC_PR = "r1"

reset that

> +
> +SRC_URI = "http://www.diracvideo.org/download/schroedinger/${P}.tar.gz;name=schroedingertargz"
> +SRC_URI += "file://configure.ac.patch"
> +
> +EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"
> +
> +inherit autotools
> +
> +do_configure_append () {
> +        # Fix stupid libtool... handling. 
> +        # rpath handling can't be disabled and the Makefile's can't be regenerated..
> +        # (GNU sed required)
> +        sed -i s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ ${S}/*-libtool
> +}
> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
> new file mode 100644
> index 0000000..ac5e7ee
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
> @@ -0,0 +1,13 @@
> +Index: schroedinger-1.0.9/configure.ac
> +===================================================================
> +--- schroedinger-1.0.9.orig/configure.ac
> ++++ schroedinger-1.0.9/configure.ac
> +@@ -54,7 +54,7 @@ if test "x${HAVE_ORC}" != xyes ; then
> +   AC_ERROR([orc-0.4 >= $ORC_VER is required])
> + fi
> + SCHRO_PKG_DEPS="$SCHRO_PKG_DEPS orc-0.4 >= $ORC_VER"
> +-ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
> ++ORCC=$STAGING_DIR`$PKG_CONFIG --variable=orcc orc-0.4`
> + AC_SUBST(ORCC)
> + 
> + AC_ARG_WITH([thread],
> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
> new file mode 100644
> index 0000000..2994428
> --- /dev/null
> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
> @@ -0,0 +1,13 @@
> +require schroedinger.inc
> +
> +PR = "${INC_PR}.0"
> +
> +inherit autotools
> +
> +SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
> +SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"

Why isn't this in the .inc and why is there a seperate recipe for the gst plugin?

> +
> +PACKAGES =+ "gst-plugin-schroedinger-dbg gst-plugin-schroedinger-dev gst-plugin-schroedinger"
> +FILES_gst-plugin-schroedinger = "${libdir}/gstreamer-0.10/*.so"
> +FILES_gst-plugin-schroedinger-dbg = "${libdir}/gstreamer-0.10/.debug"
> +FILES_gst-plugin-schroedinger-dev = "${libdir}/gstreamer-0.10/*.*a"
> -- 
> 1.7.0.4
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Joel A Fernandes - Aug. 27, 2011, 3:47 a.m.
On Fri, Aug 26, 2011 at 3:01 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>
> Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:
>
>> Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
>> ---
>> .../schroedinger/gst-plugin-schroedinger_1.0.9.bb  |   15 +++++++++++++++
>> .../schroedinger/schroedinger.inc                  |   19 +++++++++++++++++++
>> .../schroedinger/schroedinger/configure.ac.patch   |   13 +++++++++++++
>> .../schroedinger/schroedinger_1.0.9.bb             |   13 +++++++++++++
>> 4 files changed, 60 insertions(+), 0 deletions(-)
>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>>
>> diff --git a/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>> new file mode 100644
>> index 0000000..0a95646
>> --- /dev/null
>> +++ b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>> @@ -0,0 +1,15 @@
>> +require schroedinger.inc
>> +PR = "r0"
>> +
>
>> +DEPENDS += "gstreamer gst-plugins-base"
>> +
>> +SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
>> +SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
>> +
>> +S = "${WORKDIR}/schroedinger-${PV}"
>> +
>> +PACKAGES = "gst-plugin-schroedinger gst-plugin-schroedinger-dev gst-plugin-schroedinger-dbg"
>> +FILES_gst-plugin-schroedinger += "${libdir}/gstreamer-0.10/libgstschro.so"
>> +FILES_gst-plugin-schroedinger-dev += "${libdir}/gstreamer-0.10/libgstschro.*"
>> +FILES_gst-plugin-schroedinger-dbg += "${libdir}/gstreamer-0.10/.debug/libgstschro.so"
>> +
>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>> new file mode 100644
>> index 0000000..386fc73
>> --- /dev/null
>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>> @@ -0,0 +1,19 @@
>> +HOMEPAGE = "http://schrodinger.sourceforge.net/"
>> +LICENSE = "MPL GPL LGPL MIT"
>> +DEPENDS = "liboil orc-native orc"
>> +
>> +INC_PR = "r1"
>
> reset that

Sure

>
>> +
>> +SRC_URI = "http://www.diracvideo.org/download/schroedinger/${P}.tar.gz;name=schroedingertargz"
>> +SRC_URI += "file://configure.ac.patch"
>> +
>> +EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"
>> +
>> +inherit autotools
>> +
>> +do_configure_append () {
>> +        # Fix stupid libtool... handling.
>> +        # rpath handling can't be disabled and the Makefile's can't be regenerated..
>> +        # (GNU sed required)
>> +        sed -i s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ ${S}/*-libtool
>> +}
>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>> new file mode 100644
>> index 0000000..ac5e7ee
>> --- /dev/null
>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>> @@ -0,0 +1,13 @@
>> +Index: schroedinger-1.0.9/configure.ac
>> +===================================================================
>> +--- schroedinger-1.0.9.orig/configure.ac
>> ++++ schroedinger-1.0.9/configure.ac
>> +@@ -54,7 +54,7 @@ if test "x${HAVE_ORC}" != xyes ; then
>> +   AC_ERROR([orc-0.4 >= $ORC_VER is required])
>> + fi
>> + SCHRO_PKG_DEPS="$SCHRO_PKG_DEPS orc-0.4 >= $ORC_VER"
>> +-ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
>> ++ORCC=$STAGING_DIR`$PKG_CONFIG --variable=orcc orc-0.4`
>> + AC_SUBST(ORCC)
>> +
>> + AC_ARG_WITH([thread],
>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>> new file mode 100644
>> index 0000000..2994428
>> --- /dev/null
>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>> @@ -0,0 +1,13 @@
>> +require schroedinger.inc
>> +
>> +PR = "${INC_PR}.0"
>> +
>> +inherit autotools
>> +
>> +SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
>> +SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
>
> Why isn't this in the .inc and why is there a seperate recipe for the gst plugin?

It is that way in OE classic:
http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/schroedinger/schroedinger_1.0.9.bb

Thanks
Joel
Joel A Fernandes - Aug. 27, 2011, 4:12 a.m.
On Fri, Aug 26, 2011 at 2:59 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>
> Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:
>>
>> diff --git a/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
>> new file mode 100644
>> index 0000000..537d685
>> --- /dev/null
>> +++ b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
>> @@ -0,0 +1,34 @@
>> +DESCRIPTION = "MPEG Audio Decoder Library"
>> +SECTION = "libs"
>> +PRIORITY = "optional"
>
> That field isn't used anymore
>
>> +DEPENDS = "libid3tag"
>> +LICENSE = "GPL"
>
> Which version?

Hi Koen,

Isn't it implied that its GPL v1? I've seen several recipes in OE-core
that did that.

Thanks,
Joel
Koen Kooi - Aug. 27, 2011, 7:08 a.m.
Op 27 aug. 2011, om 05:47 heeft Joel A Fernandes het volgende geschreven:

> On Fri, Aug 26, 2011 at 3:01 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> 
>> Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:
>> 
>>> Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
>>> ---
>>> .../schroedinger/gst-plugin-schroedinger_1.0.9.bb  |   15 +++++++++++++++
>>> .../schroedinger/schroedinger.inc                  |   19 +++++++++++++++++++
>>> .../schroedinger/schroedinger/configure.ac.patch   |   13 +++++++++++++
>>> .../schroedinger/schroedinger_1.0.9.bb             |   13 +++++++++++++
>>> 4 files changed, 60 insertions(+), 0 deletions(-)
>>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>>> 
>>> diff --git a/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>>> new file mode 100644
>>> index 0000000..0a95646
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>>> @@ -0,0 +1,15 @@
>>> +require schroedinger.inc
>>> +PR = "r0"
>>> +
>> 
>>> +DEPENDS += "gstreamer gst-plugins-base"
>>> +
>>> +SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
>>> +SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
>>> +
>>> +S = "${WORKDIR}/schroedinger-${PV}"
>>> +
>>> +PACKAGES = "gst-plugin-schroedinger gst-plugin-schroedinger-dev gst-plugin-schroedinger-dbg"
>>> +FILES_gst-plugin-schroedinger += "${libdir}/gstreamer-0.10/libgstschro.so"
>>> +FILES_gst-plugin-schroedinger-dev += "${libdir}/gstreamer-0.10/libgstschro.*"
>>> +FILES_gst-plugin-schroedinger-dbg += "${libdir}/gstreamer-0.10/.debug/libgstschro.so"
>>> +
>>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>>> new file mode 100644
>>> index 0000000..386fc73
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>>> @@ -0,0 +1,19 @@
>>> +HOMEPAGE = "http://schrodinger.sourceforge.net/"
>>> +LICENSE = "MPL GPL LGPL MIT"
>>> +DEPENDS = "liboil orc-native orc"
>>> +
>>> +INC_PR = "r1"
>> 
>> reset that
> 
> Sure
> 
>> 
>>> +
>>> +SRC_URI = "http://www.diracvideo.org/download/schroedinger/${P}.tar.gz;name=schroedingertargz"
>>> +SRC_URI += "file://configure.ac.patch"
>>> +
>>> +EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"
>>> +
>>> +inherit autotools
>>> +
>>> +do_configure_append () {
>>> +        # Fix stupid libtool... handling.
>>> +        # rpath handling can't be disabled and the Makefile's can't be regenerated..
>>> +        # (GNU sed required)
>>> +        sed -i s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ ${S}/*-libtool
>>> +}
>>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>>> new file mode 100644
>>> index 0000000..ac5e7ee
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>>> @@ -0,0 +1,13 @@
>>> +Index: schroedinger-1.0.9/configure.ac
>>> +===================================================================
>>> +--- schroedinger-1.0.9.orig/configure.ac
>>> ++++ schroedinger-1.0.9/configure.ac
>>> +@@ -54,7 +54,7 @@ if test "x${HAVE_ORC}" != xyes ; then
>>> +   AC_ERROR([orc-0.4 >= $ORC_VER is required])
>>> + fi
>>> + SCHRO_PKG_DEPS="$SCHRO_PKG_DEPS orc-0.4 >= $ORC_VER"
>>> +-ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
>>> ++ORCC=$STAGING_DIR`$PKG_CONFIG --variable=orcc orc-0.4`
>>> + AC_SUBST(ORCC)
>>> +
>>> + AC_ARG_WITH([thread],
>>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>>> new file mode 100644
>>> index 0000000..2994428
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>>> @@ -0,0 +1,13 @@
>>> +require schroedinger.inc
>>> +
>>> +PR = "${INC_PR}.0"
>>> +
>>> +inherit autotools
>>> +
>>> +SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
>>> +SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
>> 
>> Why isn't this in the .inc and why is there a seperate recipe for the gst plugin?
> 
> It is that way in OE classic:
> http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/schroedinger/schroedinger_1.0.9.bb

That's an observation, not a reason. Please fix it when adding it to meta-oe, no need to forward port crap when we can get rid of it.
Koen Kooi - Aug. 27, 2011, 7:08 a.m.
Op 27 aug. 2011, om 06:12 heeft Joel A Fernandes het volgende geschreven:

> On Fri, Aug 26, 2011 at 2:59 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> 
>> Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:
>>> 
>>> diff --git a/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
>>> new file mode 100644
>>> index 0000000..537d685
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
>>> @@ -0,0 +1,34 @@
>>> +DESCRIPTION = "MPEG Audio Decoder Library"
>>> +SECTION = "libs"
>>> +PRIORITY = "optional"
>> 
>> That field isn't used anymore
>> 
>>> +DEPENDS = "libid3tag"
>>> +LICENSE = "GPL"
>> 
>> Which version?
> 
> Hi Koen,
> 
> Isn't it implied that its GPL v1? I've seen several recipes in OE-core
> that did that.

If it's GPLv1 it should say GPLv1. But you should know, since you inspected the license files before checksumming them, no?
Joel A Fernandes - Sept. 6, 2011, 9:11 p.m.
On Sat, Aug 27, 2011 at 2:08 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>
> Op 27 aug. 2011, om 05:47 heeft Joel A Fernandes het volgende geschreven:
>
>> On Fri, Aug 26, 2011 at 3:01 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>>>
>>> Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:
>>>
>>>> Signed-off-by: Joel A Fernandes <joelagnel@ti.com>
>>>> ---
>>>> .../schroedinger/gst-plugin-schroedinger_1.0.9.bb  |   15 +++++++++++++++
>>>> .../schroedinger/schroedinger.inc                  |   19 +++++++++++++++++++
>>>> .../schroedinger/schroedinger/configure.ac.patch   |   13 +++++++++++++
>>>> .../schroedinger/schroedinger_1.0.9.bb             |   13 +++++++++++++
>>>> 4 files changed, 60 insertions(+), 0 deletions(-)
>>>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>>>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>>>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>>>> create mode 100644 meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>>>>
>>>> diff --git a/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>>>> new file mode 100644
>>>> index 0000000..0a95646
>>>> --- /dev/null
>>>> +++ b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
>>>> @@ -0,0 +1,15 @@
>>>> +require schroedinger.inc
>>>> +PR = "r0"
>>>> +
>>>
>>>> +DEPENDS += "gstreamer gst-plugins-base"
>>>> +
>>>> +SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
>>>> +SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
>>>> +
>>>> +S = "${WORKDIR}/schroedinger-${PV}"
>>>> +
>>>> +PACKAGES = "gst-plugin-schroedinger gst-plugin-schroedinger-dev gst-plugin-schroedinger-dbg"
>>>> +FILES_gst-plugin-schroedinger += "${libdir}/gstreamer-0.10/libgstschro.so"
>>>> +FILES_gst-plugin-schroedinger-dev += "${libdir}/gstreamer-0.10/libgstschro.*"
>>>> +FILES_gst-plugin-schroedinger-dbg += "${libdir}/gstreamer-0.10/.debug/libgstschro.so"
>>>> +
>>>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>>>> new file mode 100644
>>>> index 0000000..386fc73
>>>> --- /dev/null
>>>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
>>>> @@ -0,0 +1,19 @@
>>>> +HOMEPAGE = "http://schrodinger.sourceforge.net/"
>>>> +LICENSE = "MPL GPL LGPL MIT"
>>>> +DEPENDS = "liboil orc-native orc"
>>>> +
>>>> +INC_PR = "r1"
>>>
>>> reset that
>>
>> Sure
>>
>>>
>>>> +
>>>> +SRC_URI = "http://www.diracvideo.org/download/schroedinger/${P}.tar.gz;name=schroedingertargz"
>>>> +SRC_URI += "file://configure.ac.patch"
>>>> +
>>>> +EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"
>>>> +
>>>> +inherit autotools
>>>> +
>>>> +do_configure_append () {
>>>> +        # Fix stupid libtool... handling.
>>>> +        # rpath handling can't be disabled and the Makefile's can't be regenerated..
>>>> +        # (GNU sed required)
>>>> +        sed -i s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ ${S}/*-libtool
>>>> +}
>>>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>>>> new file mode 100644
>>>> index 0000000..ac5e7ee
>>>> --- /dev/null
>>>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
>>>> @@ -0,0 +1,13 @@
>>>> +Index: schroedinger-1.0.9/configure.ac
>>>> +===================================================================
>>>> +--- schroedinger-1.0.9.orig/configure.ac
>>>> ++++ schroedinger-1.0.9/configure.ac
>>>> +@@ -54,7 +54,7 @@ if test "x${HAVE_ORC}" != xyes ; then
>>>> +   AC_ERROR([orc-0.4 >= $ORC_VER is required])
>>>> + fi
>>>> + SCHRO_PKG_DEPS="$SCHRO_PKG_DEPS orc-0.4 >= $ORC_VER"
>>>> +-ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
>>>> ++ORCC=$STAGING_DIR`$PKG_CONFIG --variable=orcc orc-0.4`
>>>> + AC_SUBST(ORCC)
>>>> +
>>>> + AC_ARG_WITH([thread],
>>>> diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>>>> new file mode 100644
>>>> index 0000000..2994428
>>>> --- /dev/null
>>>> +++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
>>>> @@ -0,0 +1,13 @@
>>>> +require schroedinger.inc
>>>> +
>>>> +PR = "${INC_PR}.0"
>>>> +
>>>> +inherit autotools
>>>> +
>>>> +SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
>>>> +SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
>>>
>>> Why isn't this in the .inc and why is there a seperate recipe for the gst plugin?
>>
>> It is that way in OE classic:
>> http://cgit.openembedded.org/cgit.cgi/openembedded/tree/recipes/schroedinger/schroedinger_1.0.9.bb
>
> That's an observation, not a reason. Please fix it when adding it to meta-oe, no need to forward port crap when we can get rid of it.
> _______________________________________________

I will drop this recipe and add the gst-plugins-bad dependency to VLC
Joel A Fernandes - Sept. 18, 2011, 5:55 a.m.
On Sat, Aug 27, 2011 at 2:08 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>
> Op 27 aug. 2011, om 06:12 heeft Joel A Fernandes het volgende geschreven:
>
>> On Fri, Aug 26, 2011 at 2:59 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>>>
>>> Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:
>>>>
>>>> diff --git a/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
>>>> new file mode 100644
>>>> index 0000000..537d685
>>>> --- /dev/null
>>>> +++ b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
>>>> @@ -0,0 +1,34 @@
>>>> +DESCRIPTION = "MPEG Audio Decoder Library"
>>>> +SECTION = "libs"
>>>> +PRIORITY = "optional"
>>>
>>> That field isn't used anymore
>>>
>>>> +DEPENDS = "libid3tag"
>>>> +LICENSE = "GPL"
>>>
>>> Which version?
>>
>> Hi Koen,
>>
>> Isn't it implied that its GPL v1? I've seen several recipes in OE-core
>> that did that.
>
> If it's GPLv1 it should say GPLv1. But you should know, since you inspected the license files before checksumming them, no?

Fixed in v2 series,
http://permalink.gmane.org/gmane.comp.handhelds.openembedded.core/7301

Thanks,
Joel
Koen Kooi - Sept. 18, 2011, 6:27 a.m.
Op 18 sep. 2011, om 07:55 heeft Joel A Fernandes het volgende geschreven:

> On Sat, Aug 27, 2011 at 2:08 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>> 
>> Op 27 aug. 2011, om 06:12 heeft Joel A Fernandes het volgende geschreven:
>> 
>>> On Fri, Aug 26, 2011 at 2:59 AM, Koen Kooi <koen@dominion.thruhere.net> wrote:
>>>> 
>>>> Op 26 aug. 2011, om 02:28 heeft Joel A Fernandes het volgende geschreven:
>>>>> 
>>>>> diff --git a/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
>>>>> new file mode 100644
>>>>> index 0000000..537d685
>>>>> --- /dev/null
>>>>> +++ b/meta-oe/recipes-multimedia/libmad/libmad_0.15.1b.bb
>>>>> @@ -0,0 +1,34 @@
>>>>> +DESCRIPTION = "MPEG Audio Decoder Library"
>>>>> +SECTION = "libs"
>>>>> +PRIORITY = "optional"
>>>> 
>>>> That field isn't used anymore
>>>> 
>>>>> +DEPENDS = "libid3tag"
>>>>> +LICENSE = "GPL"
>>>> 
>>>> Which version?
>>> 
>>> Hi Koen,
>>> 
>>> Isn't it implied that its GPL v1? I've seen several recipes in OE-core
>>> that did that.
>> 
>> If it's GPLv1 it should say GPLv1. But you should know, since you inspected the license files before checksumming them, no?
> 
> Fixed in v2 series,
> http://permalink.gmane.org/gmane.comp.handhelds.openembedded.core/7301

please follow the instructions at http://cgit.openembedded.org/cgit.cgi/meta-openembedded/tree/meta-oe/README

Patch

diff --git a/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
new file mode 100644
index 0000000..0a95646
--- /dev/null
+++ b/meta-oe/recipes-multimedia/schroedinger/gst-plugin-schroedinger_1.0.9.bb
@@ -0,0 +1,15 @@ 
+require schroedinger.inc
+PR = "r0"
+
+DEPENDS += "gstreamer gst-plugins-base"
+
+SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
+SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
+
+S = "${WORKDIR}/schroedinger-${PV}"
+
+PACKAGES = "gst-plugin-schroedinger gst-plugin-schroedinger-dev gst-plugin-schroedinger-dbg"
+FILES_gst-plugin-schroedinger += "${libdir}/gstreamer-0.10/libgstschro.so"
+FILES_gst-plugin-schroedinger-dev += "${libdir}/gstreamer-0.10/libgstschro.*"
+FILES_gst-plugin-schroedinger-dbg += "${libdir}/gstreamer-0.10/.debug/libgstschro.so"
+
diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
new file mode 100644
index 0000000..386fc73
--- /dev/null
+++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger.inc
@@ -0,0 +1,19 @@ 
+HOMEPAGE = "http://schrodinger.sourceforge.net/"
+LICENSE = "MPL GPL LGPL MIT"
+DEPENDS = "liboil orc-native orc"
+
+INC_PR = "r1"
+
+SRC_URI = "http://www.diracvideo.org/download/schroedinger/${P}.tar.gz;name=schroedingertargz"
+SRC_URI += "file://configure.ac.patch"
+
+EXTRA_OECONF += "STAGING_DIR=${STAGING_DIR_NATIVE}"
+
+inherit autotools
+
+do_configure_append () {
+        # Fix stupid libtool... handling. 
+        # rpath handling can't be disabled and the Makefile's can't be regenerated..
+        # (GNU sed required)
+        sed -i s/^hardcode_libdir_flag_spec/#hardcode_libdir_flag_spec/ ${S}/*-libtool
+}
diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
new file mode 100644
index 0000000..ac5e7ee
--- /dev/null
+++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger/configure.ac.patch
@@ -0,0 +1,13 @@ 
+Index: schroedinger-1.0.9/configure.ac
+===================================================================
+--- schroedinger-1.0.9.orig/configure.ac
++++ schroedinger-1.0.9/configure.ac
+@@ -54,7 +54,7 @@ if test "x${HAVE_ORC}" != xyes ; then
+   AC_ERROR([orc-0.4 >= $ORC_VER is required])
+ fi
+ SCHRO_PKG_DEPS="$SCHRO_PKG_DEPS orc-0.4 >= $ORC_VER"
+-ORCC=`$PKG_CONFIG --variable=orcc orc-0.4`
++ORCC=$STAGING_DIR`$PKG_CONFIG --variable=orcc orc-0.4`
+ AC_SUBST(ORCC)
+ 
+ AC_ARG_WITH([thread],
diff --git a/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
new file mode 100644
index 0000000..2994428
--- /dev/null
+++ b/meta-oe/recipes-multimedia/schroedinger/schroedinger_1.0.9.bb
@@ -0,0 +1,13 @@ 
+require schroedinger.inc
+
+PR = "${INC_PR}.0"
+
+inherit autotools
+
+SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
+SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"
+
+PACKAGES =+ "gst-plugin-schroedinger-dbg gst-plugin-schroedinger-dev gst-plugin-schroedinger"
+FILES_gst-plugin-schroedinger = "${libdir}/gstreamer-0.10/*.so"
+FILES_gst-plugin-schroedinger-dbg = "${libdir}/gstreamer-0.10/.debug"
+FILES_gst-plugin-schroedinger-dev = "${libdir}/gstreamer-0.10/*.*a"