tree: Add a new package
PATCH 1/1 tree: Add a new package
From: "Hongjun.Yang" <[email protected]>
Add tree command, some test scripts need it.
--- .../tree/tree-1.7.0/fix-cross-env.patch | 32 ++++++++++++++++++++++ meta-oe/recipes-support/tree/tree_1.7.0.bb | 16 +++++++++++ 2 files changed, 48 insertions(+) create mode 100644 meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patch create mode 100644 meta-oe/recipes-support/tree/tree_1.7.0.bb
meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patch new file +32 -0
@@ -0,0 +1,32 @@ +From 7ad835ae0c2b2b311002fda0be2dbf8f17c5a3d5 Mon Sep 17 00:00:00 2001 +From: "Hongjun.Yang" <[email protected]> +Date: Wed, 22 Oct 2014 11:05:35 +0800 +Subject: [PATCH] fix the install path change the install path for cross + compile environment. + +Upstream-Status: Pending + +Signed-off-by: Hongjun.Yang <[email protected]> +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index e91f1f6..776f1f3 100644 +--- a/Makefile ++++ b/Makefile +@@ -22,9 +22,9 @@ CC=gcc + + VERSION=1.7.0 + TREE_DEST=tree +-BINDIR=${prefix}/bin ++BINDIR=${DESTDIR}/${prefix}/bin + MAN=tree.1 +-MANDIR=${prefix}/man/man1 ++MANDIR=${DESTDIR}/${prefix}/man/man1 + OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o + + # Uncomment options below for your particular OS: +-- +1.9.1 +
meta-oe/recipes-support/tree/tree_1.7.0.bb new file +16 -0
@@ -0,0 +1,16 @@ +DESCRIPTION = "This is a handy little utility to display a tree view of directories." +HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" +LICENSE="GPLv2" +SECTION = "console/utils" +LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" + +inherit autotools-brokensep + +FILES_${PN}-doc += "${prefix}/man" + +SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/tree-1.7.0.tgz \ + file://fix-cross-env.patch \ + " + +SRC_URI[md5sum] = "abe3e03e469c542d8e157cdd93f4d8a6" +SRC_URI[sha256sum] = "6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12"
Signature · 1 line
1.9.1
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hongjun Yang schreef op 22-10-14 11:57:
Quoted 27 lines
From: "Hongjun.Yang" <[email protected]>
Add tree command, some test scripts need it.
Signed-off-by Hongjun.Yang <[email protected]>---
.../tree/tree-1.7.0/fix-cross-env.patch| 32
++++++++++++++++++++++ meta-oe/recipes-support/tree/tree_1.7.0.bb | 16 +++++++++++ 2 files changed, 48 insertions(+) create mode 100644meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patchcreate mode 100644 meta-oe/recipes-support/tree/tree_1.7.0.bb(quoted diff) +0
-0
b/meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patchnew file mode 100644 index 0000000..ccdf635 ---/dev/null+++b/meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patch@@ -0,0 +1,32 @@ +From7ad835ae0c2b2b311002fda0be2dbf8f17c5a3d5Mon Sep 17 00:00:00 2001 +From: "Hongjun.Yang" <[email protected]> +Date:
Wed, 22 Oct 2014 11:05:35 +0800 +Subject: [PATCH] fix the install path change the install path for cross + compile environment. + +Upstream-Status: Pending + +Signed-off-by: Hongjun.Yang <[email protected]> +--- +Makefile| 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index e91f1f6..776f1f3 100644 +--- a/Makefile ++++ b/Makefile +@@ -22,9 +22,9 @@ CC=gcc + + VERSION=1.7.0 + TREE_DEST=tree +-BINDIR=${prefix}/bin ++BINDIR=${DESTDIR}/${prefix}/bin + MAN=tree.1 +-MANDIR=${prefix}/man/man1 ++MANDIR=${DESTDIR}/${prefix}/man/man1 +
Quoted 8 lines
OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o + + # Uncomment options below for your particular OS: +-- +1.9.1 + diff --git a/meta-oe/recipes-support/tree/tree_1.7.0.bb b/meta-oe/recipes-support/tree/tree_1.7.0.bb new file mode 100644 index 0000000..b7fc43b ---
/dev/null+++ b/meta-oe/recipes-support/tree/tree_1.7.0.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "This is a handy little utility to display a tree view of directories."
This looks more like SUMMARY
Quoted 3 lines
(quoted diff) +2
-0+HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" +LICENSE="GPLv2" +SECTION = "console/utils" +LIC_FILES_CHKSUM ="file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
Please keep LICENSE and LIC_FILES_CHKSUM together.
Quoted 1 line
+ +inherit autotools-brokensep + +FILES_${PN}-doc += "${prefix}/man"
FILES* and R* go below do_install
Quoted 5 lines
+ +SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/tree-1.7.0.tgz
\ + file://fix-cross-env.patch \ + " + +SRC_URI[md5sum] =
"abe3e03e469c542d8e157cdd93f4d8a6" +SRC_URI[sha256sum] = "6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org
iD8DBQFUR4W+MkyGM64RGpERAnKsAJ0UVS3WtlDbYJuvWRIeGGQ6kpP4tgCgu1sz EpivpXj9lw0NN63JNPzvtB4=
=luch
-----END PGP SIGNATURE-----
Quoted 54 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hongjun Yang schreef op 22-10-14 11:57:
Quoted 27 lines
From: "Hongjun.Yang" <[email protected]>
Add tree command, some test scripts need it.
Signed-off-by Hongjun.Yang <[email protected]>---
.../tree/tree-1.7.0/fix-cross-env.patch| 32
++++++++++++++++++++++ meta-oe/recipes-support/tree/tree_1.7.0.bb | 16 +++++++++++ 2 files changed, 48 insertions(+) create mode 100644meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patchcreate mode 100644 meta-oe/recipes-support/tree/tree_1.7.0.bb(quoted diff) +0
-0
b/meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patchnew file mode 100644 index 0000000..ccdf635 ---/dev/null+++b/meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patch@@ -0,0 +1,32 @@ +From7ad835ae0c2b2b311002fda0be2dbf8f17c5a3d5Mon Sep 17 00:00:00 2001 +From: "Hongjun.Yang" <[email protected]> +Date:
Wed, 22 Oct 2014 11:05:35 +0800 +Subject: [PATCH] fix the install path change the install path for cross + compile environment. + +Upstream-Status: Pending + +Signed-off-by: Hongjun.Yang <[email protected]> +--- +Makefile| 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index e91f1f6..776f1f3 100644 +--- a/Makefile ++++ b/Makefile +@@ -22,9 +22,9 @@ CC=gcc + + VERSION=1.7.0 + TREE_DEST=tree +-BINDIR=${prefix}/bin ++BINDIR=${DESTDIR}/${prefix}/bin + MAN=tree.1 +-MANDIR=${prefix}/man/man1 ++MANDIR=${DESTDIR}/${prefix}/man/man1 +Quoted 8 lines
OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o + + # Uncomment options below for your particular OS: +-- +1.9.1 + diff --git a/meta-oe/recipes-support/tree/tree_1.7.0.bb b/meta-oe/recipes-support/tree/tree_1.7.0.bb new file mode 100644 index 0000000..b7fc43b ---
/dev/null+++ b/meta-oe/recipes-support/tree/tree_1.7.0.bb @@ -0,0 +1,16 @@ +DESCRIPTION = "This is a handy little utility to display a tree view of directories."This looks more like SUMMARY
Quoted 3 lines
(quoted diff) +2
-0+HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" +LICENSE="GPLv2" +SECTION = "console/utils" +LIC_FILES_CHKSUM ="file://LICENSE;md5=393a5ca445f6965873eca0259a17f833"
Please keep LICENSE and
LIC_FILES_CHKSUMtogether.Quoted 1 line
+ +inherit autotools-brokensep + +FILES_${PN}-doc += "${prefix}/man"
FILES* and R* go below
do_installQuoted 5 lines
+ +SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/tree-1.7.0.tgz
\ + file://fix-cross-env.patch \ + " + +SRC_URI[md5sum] =
"abe3e03e469c542d8e157cdd93f4d8a6" +SRC_URI[sha256sum] = "6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12"
Quoted 9 lines
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.orgiD8DBQFUR4W+MkyGM64RGpERAnKsAJ0UVS3WtlDbYJuvWRIeGGQ6kpP4tgCgu1sz EpivpXj9lw0NN63JNPzvtB4=
=luch
-----END PGP SIGNATURE-----
Thanks for your suggestion, I will re-work on it and send v2 patch.
Quoted 3 lines · Hongjun Yang
From: "Hongjun.Yang" <[email protected]>
Add tree command, some test scripts need it.
Fails
qemuarm:
ERROR: objcopy failed with exit code 256 (cmd was 'arm-oe-linux-gnueabi-objcopy' --only-keep-debug '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/tree/1.7.0-r0/package/usr/bin/tree' '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/tree/1.7.0-r0/package/usr/bin/.debug/tree'):
arm-oe-linux-gnueabi-objcopy:/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/tree/1.7.0-r0/package/usr/bin/tree: File format not recognized
ERROR: Function failed: split_and_strip_files
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/tree/1.7.0-r0/temp/log.do_package.4732
NOTE: recipe tree-1.7.0-r0: task do_package: Failed
ERROR: Task 2994 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/tree/tree_1.7.0.bb, do_package) failed with exit code '1'
qemux86:
NOTE: recipe tree-1.7.0-r0: task do_package_qa: Started
NOTE: recipe gnome-system-monitor-2.28.2-r2: task do_rm_work_all: Started
ERROR: QA Issue: Architecture did not match (3 to 62) on /work/i586-oe-linux/tree/1.7.0-r0/packages-split/tree-dbg/usr/bin/.debug/tree [arch]
NOTE: recipe gnome-system-monitor-2.28.2-r2: task do_rm_work_all: Succeeded
NOTE: Running task 28653 of 30030 (ID: 2991, /home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-devtools/guile/guile_2.0.11.bb, do_populate_lic)
ERROR: QA Issue: Architecture did not match (3 to 62) on /work/i586-oe-linux/tree/1.7.0-r0/packages-split/tree/usr/bin/tree [arch]
WARNING: QA Issue: tree requires libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.3)(64bit), but no providers in its RDEPENDS [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed: do_package_qa
ERROR: Logfile of failure stored in: /home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/tree/1.7.0-r0/temp/log.do_package_qa.2106
NOTE: recipe tree-1.7.0-r0: task do_package_qa: Failed
ERROR: Task 3008 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/tree/tree_1.7.0.bb, do_package_qa) failed with exit code '1'
Quoted 77 lines
Signed-off-by Hongjun.Yang <[email protected]>--- .../tree/tree-1.7.0/fix-cross-env.patch | 32 ++++++++++++++++++++++ meta-oe/recipes-support/tree/tree_1.7.0.bb | 16 +++++++++++ 2 files changed, 48 insertions(+) create mode 100644 meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patch create mode 100644 meta-oe/recipes-support/tree/tree_1.7.0.bbmeta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patch new file +32
-0@@ -0,0 +1,32 @@ +From 7ad835ae0c2b2b311002fda0be2dbf8f17c5a3d5 Mon Sep 17 00:00:00 2001 +From: "Hongjun.Yang" <[email protected]> +Date: Wed, 22 Oct 2014 11:05:35 +0800 +Subject: [PATCH] fix the install path change the install path for cross + compile environment. + +Upstream-Status: Pending + +Signed-off-by: Hongjun.Yang <[email protected]> +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index e91f1f6..776f1f3 100644 +--- a/Makefile ++++ b/Makefile +@@ -22,9 +22,9 @@ CC=gcc + + VERSION=1.7.0 + TREE_DEST=tree +-BINDIR=${prefix}/bin ++BINDIR=${DESTDIR}/${prefix}/bin + MAN=tree.1 +-MANDIR=${prefix}/man/man1 ++MANDIR=${DESTDIR}/${prefix}/man/man1 + OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o + + # Uncomment options below for your particular OS: +-- +1.9.1 +meta-oe/recipes-support/tree/tree_1.7.0.bb new file +16
-0@@ -0,0 +1,16 @@ +DESCRIPTION = "This is a handy little utility to display a tree view of directories." +HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" +LICENSE="GPLv2" +SECTION = "console/utils" +LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" + +inherit autotools-brokensep + +FILES_${PN}-doc += "${prefix}/man" + +SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/tree-1.7.0.tgz \ + file://fix-cross-env.patch \ + " + +SRC_URI[md5sum] = "abe3e03e469c542d8e157cdd93f4d8a6" +SRC_URI[sha256sum] = "6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12"Signature · 7 lines
1.9.1 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 100 lines · Martin Jansa
Quoted 3 lines · Hongjun Yang
From: "Hongjun.Yang" <[email protected]>
Add tree command, some test scripts need it.
Fails
qemuarm:
ERROR: objcopy failed with exit code 256 (cmd was 'arm-oe-linux-gnueabi-objcopy' --only-keep-debug '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/tree/1.7.0-r0/package/usr/bin/tree' '/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/tree/1.7.0-r0/package/usr/bin/.debug/tree'):
arm-oe-linux-gnueabi-objcopy:/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/tree/1.7.0-r0/package/usr/bin/tree: File format not recognized
ERROR: Function failed:split_and_strip_files
ERROR: Logfile of failure stored in:/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/tree/1.7.0-r0/temp/log.do_package.4732
NOTE: recipe tree-1.7.0-r0: taskdo_package: Failed
ERROR: Task 2994 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/tree/tree_1.7.0.bb,do_package) failed with exit code '1'qemux86:
NOTE: recipe tree-1.7.0-r0: taskdo_package_qa: Started
NOTE: recipe gnome-system-monitor-2.28.2-r2: taskdo_rm_work_all: Started
ERROR: QA Issue: Architecture did not match (3 to 62) on /work/i586-oe-linux/tree/1.7.0-r0/packages-split/tree-dbg/usr/bin/.debug/tree [arch]
NOTE: recipe gnome-system-monitor-2.28.2-r2: taskdo_rm_work_all: Succeeded
NOTE: Running task 28653 of 30030 (ID: 2991,/home/jenkins/oe/world/shr-core/openembedded-core/meta/recipes-devtools/guile/guile_2.0.11.bb,do_populate_lic)
ERROR: QA Issue: Architecture did not match (3 to 62) on /work/i586-oe-linux/tree/1.7.0-r0/packages-split/tree/usr/bin/tree [arch]
WARNING: QA Issue: tree requires libc.so.6()(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.3)(64bit), but no providers in its RDEPENDS [file-rdeps]
ERROR: QA run found fatal errors. Please consider fixing them.
ERROR: Function failed:do_package_qa
ERROR: Logfile of failure stored in:/home/jenkins/oe/world/shr-core/tmp-glibc/work/i586-oe-linux/tree/1.7.0-r0/temp/log.do_package_qa.2106
NOTE: recipe tree-1.7.0-r0: taskdo_package_qa: Failed
ERROR: Task 3008 (/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/tree/tree_1.7.0.bb,do_package_qa) failed with exit code '1'Quoted 72 lines
Signed-off-by Hongjun.Yang <[email protected]>--- .../tree/tree-1.7.0/fix-cross-env.patch | 32 ++++++++++++++++++++++ meta-oe/recipes-support/tree/tree_1.7.0.bb | 16 +++++++++++ 2 files changed, 48 insertions(+)create mode 100644
meta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patchcreate mode 100644 meta-oe/recipes-support/tree/tree_1.7.0.bbmeta-oe/recipes-support/tree/tree-1.7.0/fix-cross-env.patch new file +32
-0@@ -0,0 +1,32 @@ +From 7ad835ae0c2b2b311002fda0be2dbf8f17c5a3d5 Mon Sep 17 00:00:00 2001 +From: "Hongjun.Yang" <[email protected]> +Date: Wed, 22 Oct 2014 11:05:35 +0800 +Subject: [PATCH] fix the install path change the install path for cross + compile environment. + +Upstream-Status: Pending + +Signed-off-by: Hongjun.Yang <[email protected]> +--- + Makefile | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index e91f1f6..776f1f3 100644 +--- a/Makefile ++++ b/Makefile +@@ -22,9 +22,9 @@ CC=gcc + + VERSION=1.7.0 + TREE_DEST=tree +-BINDIR=${prefix}/bin ++BINDIR=${DESTDIR}/${prefix}/bin + MAN=tree.1 +-MANDIR=${prefix}/man/man1 ++MANDIR=${DESTDIR}/${prefix}/man/man1 + OBJS=tree.o unix.o html.o xml.o json.o hash.o color.o + + # Uncomment options below for your particular OS: +-- +1.9.1 +meta-oe/recipes-support/tree/tree_1.7.0.bb new file +16
-0@@ -0,0 +1,16 @@ +DESCRIPTION = "This is a handy little utility to display a tree view of directories." +HOMEPAGE = "http://mama.indstate.edu/users/ice/tree/" +LICENSE="GPLv2" +SECTION = "console/utils" +LIC_FILES_CHKSUM = "file://LICENSE;md5=393a5ca445f6965873eca0259a17f833" + +inherit autotools-brokensep + +FILES_${PN}-doc += "${prefix}/man" + +SRC_URI = "http://mama.indstate.edu/users/ice/tree/src/tree-1.7.0.tgz \ + file://fix-cross-env.patch \ + " + +SRC_URI[md5sum] = "abe3e03e469c542d8e157cdd93f4d8a6" +SRC_URI[sha256sum] = "6957c20e82561ac4231638996e74f4cfa4e6faabc5a2f511f0b4e3940e8f7b12"Signature · 1 line
1.9.1
Quoted 7 lines
Quoted 5 lines
Signature · 4 lines
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
thanks
I'll fix it and send new patch.