Patchwork [meta-oe] open-vcdiff: add new recipe for version 0.8.3

login
register
mail settings
Submitter Matthieu CRAPET
Date March 20, 2014, 2:47 p.m.
Message ID <1395326878-6726-1-git-send-email-Matthieu.Crapet@ingenico.com>
Download mbox | patch
Permalink /patch/68937/
State Accepted, archived
Headers show

Comments

Matthieu CRAPET - March 20, 2014, 2:47 p.m.
This is Google's implementation of VCDIFF (RFC 3284) delta compression.
It's more flexible than Xdelta3 (as a developer point of view).

Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
---
 .../recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)
 create mode 100644 meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
Martin Jansa - March 26, 2014, 8:46 p.m.
On Thu, Mar 20, 2014 at 03:47:58PM +0100, Matthieu Crapet wrote:
> This is Google's implementation of VCDIFF (RFC 3284) delta compression.
> It's more flexible than Xdelta3 (as a developer point of view).

Fails to build in world:

ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/temp/log.do_configure.21351)
ERROR: Logfile of failure stored in: /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/temp/log.do_configure.21351
Log data follows:
| DEBUG: Executing python function sysroot_cleansstate
| DEBUG: Python function sysroot_cleansstate finished
| DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']
| DEBUG: Executing shell function autotools_preconfigure
| DEBUG: Shell function autotools_preconfigure finished
| DEBUG: Executing python function autotools_copy_aclocals
| DEBUG: Python function autotools_copy_aclocals finished
| DEBUG: Executing shell function do_configure
| automake (GNU automake) 1.14
| Copyright (C) 2013 Free Software Foundation, Inc.
| License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>
| This is free software: you are free to change and redistribute it.
| There is NO WARRANTY, to the extent permitted by law.
| 
| Written by Tom Tromey <tromey@redhat.com>
|        and Alexandre Duret-Lutz <adl@gnu.org>.
| AUTOV is 1
| NOTE: Executing ACLOCAL="aclocal --system-acdir=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/open-vcdiff-0.8.3/aclocal-copy/" autoreconf --verbose --install --force --exclude=autopoint -I /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/open-vcdiff-0.8.3/gflags/m4 -I /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/open-vcdiff-0.8.3/m4/
| autoreconf: Entering directory `.'
| autoreconf: configure.ac: not using Gettext
| autoreconf: running: aclocal --system-acdir=/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/open-vcdiff-0.8.3/aclocal-copy/ -I /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/open-vcdiff-0.8.3/gflags/m4 -I /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/open-vcdiff-0.8.3/m4/ -I /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/open-vcdiff-0.8.3/gflags/m4 -I /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/open-vcdiff-0.8.3/m4/ --force -I m4 \
| aclocal: error: non-option arguments are not accepted: '\'.
| aclocal: Try '/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/bin/aclocal --help' for more information.
| autoreconf: aclocal failed with exit status: 1
| ERROR: autoreconf execution failed.
| WARNING: exit code 1 from a shell command.
| ERROR: Function failed: do_configure (log file is located at /home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/work/armv5te-oe-linux-gnueabi/open-vcdiff/0.8.3-r0/temp/log.do_configure.21351)
ERROR: Task 5 (/home/jenkins/oe/shr-core-branches/shr-core/meta-openembedded/meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb, do_configure) failed with exit code '1'
NOTE: Tasks Summary: Attempted 519 tasks of which 514 didn't need to be rerun and 1 failed.


> 
> Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com>
> ---
>  .../recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb | 20 ++++++++++++++++++++
>  1 file changed, 20 insertions(+)
>  create mode 100644 meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
> 
> diff --git a/meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb b/meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
> new file mode 100644
> index 0000000..ee08102
> --- /dev/null
> +++ b/meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
> @@ -0,0 +1,20 @@
> +SUMMARY = "An encoder/decoder for the VCDIFF (RFC3284) format"
> +DESCRIPTION = "A library with a simple API is included, as well as a \
> +               command-line executable that can apply the encoder and \
> +               decoder to source, target, and delta files. \
> +               A slight variation from the draft standard is defined \
> +               to allow chunk-by-chunk decoding when only a partial \
> +               delta file window is available."
> +HOMEPAGE = "http://code.google.com/p/open-vcdiff/"
> +SECTION = "console/utils"
> +
> +LICENSE = "Apache-2.0"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=b2c8309843bc5297cfb4dc84f43f3ccc"
> +
> +SRC_URI = "http://open-vcdiff.googlecode.com/files/${BPN}-${PV}.tar.gz"
> +SRC_URI[md5sum] = "5f848e4916b407879f55e0ca74c3f6af"
> +SRC_URI[sha256sum] = "b7e47db78866082e9e8b5782f5491092c8414f0acc0440aea03b14c7d1d3c371"
> +
> +inherit autotools
> +
> +EXTRA_AUTORECONF += " -I ${S}/gflags/m4"
> -- 
> 1.8.5.4
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb b/meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
new file mode 100644
index 0000000..ee08102
--- /dev/null
+++ b/meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
@@ -0,0 +1,20 @@ 
+SUMMARY = "An encoder/decoder for the VCDIFF (RFC3284) format"
+DESCRIPTION = "A library with a simple API is included, as well as a \
+               command-line executable that can apply the encoder and \
+               decoder to source, target, and delta files. \
+               A slight variation from the draft standard is defined \
+               to allow chunk-by-chunk decoding when only a partial \
+               delta file window is available."
+HOMEPAGE = "http://code.google.com/p/open-vcdiff/"
+SECTION = "console/utils"
+
+LICENSE = "Apache-2.0"
+LIC_FILES_CHKSUM = "file://COPYING;md5=b2c8309843bc5297cfb4dc84f43f3ccc"
+
+SRC_URI = "http://open-vcdiff.googlecode.com/files/${BPN}-${PV}.tar.gz"
+SRC_URI[md5sum] = "5f848e4916b407879f55e0ca74c3f6af"
+SRC_URI[sha256sum] = "b7e47db78866082e9e8b5782f5491092c8414f0acc0440aea03b14c7d1d3c371"
+
+inherit autotools
+
+EXTRA_AUTORECONF += " -I ${S}/gflags/m4"