All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] tremor: Use mirror tarball instead of svn url
@ 2017-01-23 12:57 Richard Purdie
  2017-01-23 17:11 ` Khem Raj
  0 siblings, 1 reply; 4+ messages in thread
From: Richard Purdie @ 2017-01-23 12:57 UTC (permalink / raw)
  To: openembedded-core

This is the only remaining svn url in OE-Core and building subversion-native
for things like the url checker is wearing and slows down builds. Since
this rarely changes, use the mirror tarball instead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/recipes-multimedia/tremor/tremor_20150107.bb | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/tremor/tremor_20150107.bb b/meta/recipes-multimedia/tremor/tremor_20150107.bb
index 937894a..96834bd9 100644
--- a/meta/recipes-multimedia/tremor/tremor_20150107.bb
+++ b/meta/recipes-multimedia/tremor/tremor_20150107.bb
@@ -13,10 +13,15 @@ RECIPE_UPSTREAM_VERSION = "20150107"
 RECIPE_UPSTREAM_DATE = "Jan 07, 2015"
 CHECK_DATE = "Aug 12, 2015"
 
-SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=19427;protocol=http \
+# Only subversion url left in OE-Core, use a mirror tarball instead since
+# this rarely changes.
+# svn://svn.xiph.org/trunk;module=Tremor;rev=19427;protocol=http
+SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/Tremor_svn.xiph.org_.trunk_19427_.tar.gz \
            file://obsolete_automake_macros.patch;striplevel=0 \
            file://tremor-arm-thumb2.patch \
 "
+SRC_URI[md5sum] = "b308f9598176c0b5059c0124ab122afe"
+SRC_URI[sha256sum] = "2196802e1635f9ac4474eeee0fe4da12e6c1ad3942862427a67268de2b65b1d4"
 
 S = "${WORKDIR}/Tremor"
 
-- 
2.7.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] tremor: Use mirror tarball instead of svn url
  2017-01-23 12:57 [PATCH] tremor: Use mirror tarball instead of svn url Richard Purdie
@ 2017-01-23 17:11 ` Khem Raj
  2017-01-23 17:18   ` Richard Purdie
  2017-01-23 17:19   ` Burton, Ross
  0 siblings, 2 replies; 4+ messages in thread
From: Khem Raj @ 2017-01-23 17:11 UTC (permalink / raw)
  To: Richard Purdie; +Cc: Patches and discussions about the oe-core layer

On Mon, Jan 23, 2017 at 4:57 AM, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
> This is the only remaining svn url in OE-Core and building subversion-native
> for things like the url checker is wearing and slows down builds. Since
> this rarely changes, use the mirror tarball instead.

Do we explicitly add subversion-native to builds ?  or is it going to
be removed automatically now that there is nothing needed it ?
subversion-native should still remain though for other layers to use.

>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  meta/recipes-multimedia/tremor/tremor_20150107.bb | 7 ++++++-
>  1 file changed, 6 insertions(+), 1 deletion(-)
>
> diff --git a/meta/recipes-multimedia/tremor/tremor_20150107.bb b/meta/recipes-multimedia/tremor/tremor_20150107.bb
> index 937894a..96834bd9 100644
> --- a/meta/recipes-multimedia/tremor/tremor_20150107.bb
> +++ b/meta/recipes-multimedia/tremor/tremor_20150107.bb
> @@ -13,10 +13,15 @@ RECIPE_UPSTREAM_VERSION = "20150107"
>  RECIPE_UPSTREAM_DATE = "Jan 07, 2015"
>  CHECK_DATE = "Aug 12, 2015"
>
> -SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=19427;protocol=http \
> +# Only subversion url left in OE-Core, use a mirror tarball instead since
> +# this rarely changes.
> +# svn://svn.xiph.org/trunk;module=Tremor;rev=19427;protocol=http
> +SRC_URI = "http://downloads.yoctoproject.org/mirror/sources/Tremor_svn.xiph.org_.trunk_19427_.tar.gz \
>             file://obsolete_automake_macros.patch;striplevel=0 \
>             file://tremor-arm-thumb2.patch \
>  "
> +SRC_URI[md5sum] = "b308f9598176c0b5059c0124ab122afe"
> +SRC_URI[sha256sum] = "2196802e1635f9ac4474eeee0fe4da12e6c1ad3942862427a67268de2b65b1d4"
>
>  S = "${WORKDIR}/Tremor"
>
> --
> 2.7.4
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] tremor: Use mirror tarball instead of svn url
  2017-01-23 17:11 ` Khem Raj
@ 2017-01-23 17:18   ` Richard Purdie
  2017-01-23 17:19   ` Burton, Ross
  1 sibling, 0 replies; 4+ messages in thread
From: Richard Purdie @ 2017-01-23 17:18 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

On Mon, 2017-01-23 at 09:11 -0800, Khem Raj wrote:
> On Mon, Jan 23, 2017 at 4:57 AM, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > 
> > This is the only remaining svn url in OE-Core and building
> > subversion-native
> > for things like the url checker is wearing and slows down builds.
> > Since
> > this rarely changes, use the mirror tarball instead.
> Do we explicitly add subversion-native to builds ?  or is it going to
> be removed automatically now that there is nothing needed it ?
> subversion-native should still remain though for other layers to use.

Its automatic, no svn:// urls, no subversion-native builds.

(git-native in ASSUME_PROVIDED stops that for git:// urls but remove
it, the same thing happens).

Cheers,

Richard


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] tremor: Use mirror tarball instead of svn url
  2017-01-23 17:11 ` Khem Raj
  2017-01-23 17:18   ` Richard Purdie
@ 2017-01-23 17:19   ` Burton, Ross
  1 sibling, 0 replies; 4+ messages in thread
From: Burton, Ross @ 2017-01-23 17:19 UTC (permalink / raw)
  To: Khem Raj; +Cc: Patches and discussions about the oe-core layer

[-- Attachment #1: Type: text/plain, Size: 447 bytes --]

On 23 January 2017 at 17:11, Khem Raj <raj.khem@gmail.com> wrote:

> Do we explicitly add subversion-native to builds ?  or is it going to
> be removed automatically now that there is nothing needed it ?
> subversion-native should still remain though for other layers to use.
>

It's automatic:

        if scheme == "svn":
            d.appendVarFlag('do_fetch', 'depends', '
subversion-native:do_populate_sysroot')

(base.bbclass)

[-- Attachment #2: Type: text/html, Size: 1115 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2017-01-23 17:19 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-23 12:57 [PATCH] tremor: Use mirror tarball instead of svn url Richard Purdie
2017-01-23 17:11 ` Khem Raj
2017-01-23 17:18   ` Richard Purdie
2017-01-23 17:19   ` Burton, Ross

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.