Skip to contentSkip to conversation

open-vcdiff: add new recipe for version 0.8.3

PATCH Superseded Matthieu Crapet 2 participants 5 messages Mar 20, 2014 – Apr 20, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 open-vcdiff: add new recipe for version 0.8.3

This is Google's implementation of VCDIFF (RFC 3284) delta compression. It's more flexible than Xdelta3 (as a developer point of view).

---
 .../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
meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb new file +20 -0
new file mode 100644
index 0000000..ee08102
@@ -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"
Signature · 1 line
1.8.5.4
#1 lore raw
Quoted 2 lines · Matthieu Crapet

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 <[email protected]>
|        and Alexandre Duret-Lutz <[email protected]>.
| 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.

Quoted 41 lines
---
 .../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
meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb new file +20 -0
new file mode 100644
index 0000000..ee08102
@@ -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"
Signature · 7 lines
1.8.5.4

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]
#2 lore raw

PATCH v2 1/1 open-vcdiff: add new recipe for version 0.8.3

In reply to Matthieu Crapet

From: Matthieu CRAPET <[email protected]>

This is Google's implementation of VCDIFF (RFC 3284) delta compression. It's more flexible than Xdelta3 (as a developer point of view).

v2 patch:
State of bitbake world, Failed tasks 2014-03-29
reported a do_configure error:

| aclocal: error: non-option arguments are not accepted: '\'.

configure.ac file is quite out of date. Submitted patch upstream:
http://code.google.com/p/open-vcdiff/issues/detail?id=43
Note: autoupdate could be considered later...

---
 .../open-vcdiff/files/aclocal-amflags-fix.patch    | 33 ++++++++++++++++++++++
 .../open-vcdiff/open-vcdiff_0.8.3.bb               | 19 +++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 meta-oe/recipes-support/open-vcdiff/files/aclocal-amflags-fix.patch
 create mode 100644 meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
meta-oe/recipes-support/open-vcdiff/files/aclocal-amflags-fix.patch new file +33 -0
new file mode 100644
index 0000000..cd1efd7
@@ -0,0 +1,33 @@
+Fix this error:
+
+| aclocal: error: non-option arguments are not accepted: '\'.
+
+Starting from commit v1.11-662-g52246cc, when given non-option arguments, aclocal rejects them, instead of silently ignoring them.
+
+Declare ACLOCAL_AMFLAGS as a single line because autoreconf can't handle multiline.
+
+Notice that ACLOCAL_AMFLAGS is deprecated.
+In configure.ac, AC_CONFIG_MACRO_DIRS should be used (instead of AC_CONFIG_MACRO_DIR) but requires automake 1.13+.
+
+Signed-off-by: Matthieu Crapet <[email protected]>
+---
+ Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 5c765c7..f4295a6 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,8 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+ 
+ # Make sure that when we re-make ./configure, we get the macros we need
+-ACLOCAL_AMFLAGS = -I m4 \
+-                  -I gflags/m4
++ACLOCAL_AMFLAGS = -I m4 -I gflags/m4
+ 
+ # This is so we can #include <google/vcencoder.h> or <gtest/gtest.h>
+ AM_CPPFLAGS = -I$(top_srcdir)/src \
+-- 
+1.8.5.4
+
meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb new file +19 -0
new file mode 100644
index 0000000..c6af25d
@@ -0,0 +1,19 @@
+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 \
+           file://aclocal-amflags-fix.patch"
+SRC_URI[md5sum] = "5f848e4916b407879f55e0ca74c3f6af"
+SRC_URI[sha256sum] = "b7e47db78866082e9e8b5782f5491092c8414f0acc0440aea03b14c7d1d3c371"
+
+inherit autotools
Signature · 1 line
1.8.5.4
#3 lore raw

Hi,

This discards and replaces the patch already in master-next:
http://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&id=7720023d0e69215746753cb3dea2ec9e61408a15

Regards,
Matthieu

-----Message d'origine-----
De : Matthieu CRAPET
Envoyé : mardi 1 avril 2014 15:15
À : [email protected]
Cc : Matthieu CRAPET
Objet : [OE-core][PATCH v2] open-vcdiff: add new recipe for version 0.8.3

From: Matthieu CRAPET <[email protected]>

This is Google's implementation of VCDIFF (RFC 3284) delta compression. It's more flexible than Xdelta3 (as a developer point of view).

v2 patch:
State of bitbake world, Failed tasks 2014-03-29 reported a do_configure error:

| aclocal: error: non-option arguments are not accepted: '\'.

configure.ac file is quite out of date. Submitted patch upstream:
http://code.google.com/p/open-vcdiff/issues/detail?id=43
Note: autoupdate could be considered later...

---
 .../open-vcdiff/files/aclocal-amflags-fix.patch    | 33 ++++++++++++++++++++++
 .../open-vcdiff/open-vcdiff_0.8.3.bb               | 19 +++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 meta-oe/recipes-support/open-vcdiff/files/aclocal-amflags-fix.patch
 create mode 100644 meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
meta-oe/recipes-support/open-vcdiff/files/aclocal-amflags-fix.patc new file +0 -0
new file mode 100644
index 0000000..cd1efd7

+++ h
@@ -0,0 +1,33 @@
+Fix this error:
+
+| aclocal: error: non-option arguments are not accepted: '\'.
+
+Starting from commit v1.11-662-g52246cc, when given non-option arguments, aclocal rejects them, instead of silently ignoring them. +
+Declare ACLOCAL_AMFLAGS as a single line because autoreconf can't handle multiline.
+
+Notice that ACLOCAL_AMFLAGS is deprecated.
+In configure.ac, AC_CONFIG_MACRO_DIRS should be used (instead of AC_CONFIG_MACRO_DIR) but requires automake 1.13+. +
+Signed-off-by: Matthieu Crapet <[email protected]>

+---
+ Makefile.am | 3 +--

+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 5c765c7..f4295a6 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,8 +1,7 @@
+ ## Process this file with automake to produce Makefile.in +
+ # Make sure that when we re-make ./configure, we get the macros we +need -ACLOCAL_AMFLAGS = -I m4 \
+- -I gflags/m4
++ACLOCAL_AMFLAGS = -I m4 -I gflags/m4
+
+ # This is so we can #include <google/vcencoder.h> or <gtest/gtest.h> +AM_CPPFLAGS = -I$(top_srcdir)/src \
+--
+1.8.5.4
+

meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb new file +19 -0
new file mode 100644
index 0000000..c6af25d
@@ -0,0 +1,19 @@
+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 \
+           file://aclocal-amflags-fix.patch"
+SRC_URI[md5sum] = "5f848e4916b407879f55e0ca74c3f6af"
+SRC_URI[sha256sum] = "b7e47db78866082e9e8b5782f5491092c8414f0acc0440aea03b14c7d1d3c371"
+
+inherit autotools

--
1.8.5.4

Applied
#4 lore raw
Quoted 1 line · Matthieu CRAPET

Hi,

Merged, thanks!

Quoted 110 lines

This discards and replaces the patch already in master-next:
http://cgit.openembedded.org/meta-openembedded/commit/?h=master-next&id=7720023d0e69215746753cb3dea2ec9e61408a15

Regards,
Matthieu

-----Message d'origine-----
De : Matthieu CRAPET
Envoyé : mardi 1 avril 2014 15:15
À : [email protected]
Cc : Matthieu CRAPET
Objet : [OE-core][PATCH v2] open-vcdiff: add new recipe for version 0.8.3

From: Matthieu CRAPET <[email protected]>

This is Google's implementation of VCDIFF (RFC 3284) delta compression. It's more flexible than Xdelta3 (as a developer point of view).

v2 patch:
State of bitbake world, Failed tasks 2014-03-29 reported a do_configure error:

| aclocal: error: non-option arguments are not accepted: '\'.

configure.ac file is quite out of date. Submitted patch upstream:
http://code.google.com/p/open-vcdiff/issues/detail?id=43
Note: autoupdate could be considered later...

---
 .../open-vcdiff/files/aclocal-amflags-fix.patch    | 33 ++++++++++++++++++++++
 .../open-vcdiff/open-vcdiff_0.8.3.bb               | 19 +++++++++++++
 2 files changed, 52 insertions(+)
 create mode 100644 meta-oe/recipes-support/open-vcdiff/files/aclocal-amflags-fix.patch
 create mode 100644 meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb
meta-oe/recipes-support/open-vcdiff/files/aclocal-amflags-fix.patc new file +34 -0
new file mode 100644
index 0000000..cd1efd7
+++ h
@@ -0,0 +1,33 @@
+Fix this error:
+
+| aclocal: error: non-option arguments are not accepted: '\'.
+
+Starting from commit v1.11-662-g52246cc, when given non-option arguments, aclocal rejects them, instead of silently ignoring them.
+
+Declare ACLOCAL_AMFLAGS as a single line because autoreconf can't handle multiline.
+
+Notice that ACLOCAL_AMFLAGS is deprecated.
+In configure.ac, AC_CONFIG_MACRO_DIRS should be used (instead of AC_CONFIG_MACRO_DIR) but requires automake 1.13+.
+
+Signed-off-by: Matthieu Crapet <[email protected]>
+---
+ Makefile.am | 3 +--
+ 1 file changed, 1 insertion(+), 2 deletions(-)
+
+diff --git a/Makefile.am b/Makefile.am
+index 5c765c7..f4295a6 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -1,8 +1,7 @@
+ ## Process this file with automake to produce Makefile.in
+ 
+ # Make sure that when we re-make ./configure, we get the macros we 
+need -ACLOCAL_AMFLAGS = -I m4 \
+-                  -I gflags/m4
++ACLOCAL_AMFLAGS = -I m4 -I gflags/m4
+ 
+ # This is so we can #include <google/vcencoder.h> or <gtest/gtest.h>  
+AM_CPPFLAGS = -I$(top_srcdir)/src \
+--
+1.8.5.4
+
meta-oe/recipes-support/open-vcdiff/open-vcdiff_0.8.3.bb new file +19 -1
new file mode 100644
index 0000000..c6af25d
@@ -0,0 +1,19 @@
+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 \
+           file://aclocal-amflags-fix.patch"
+SRC_URI[md5sum] = "5f848e4916b407879f55e0ca74c3f6af"
+SRC_URI[sha256sum] = "b7e47db78866082e9e8b5782f5491092c8414f0acc0440aea03b14c7d1d3c371"
+
+inherit autotools
--

1.8.5.4

Signature · 4 lines
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa     jabber: [email protected]