* [meta-oe][PATCH] tclap: upgrade 1.2.2 -> 1.4.0
@ 2021-03-15 15:55 Randy MacLeod
2021-03-15 18:47 ` [oe] " Khem Raj
0 siblings, 1 reply; 3+ messages in thread
From: Randy MacLeod @ 2021-03-15 15:55 UTC (permalink / raw)
To: openembedded-devel
Project switched from autotools to CMake so drop the Makefile.am patch.
The COPYING file copyright years were updated. Add description.
Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
---
.../tclap/Makefile.am-disable-docs.patch | 31 -------------------
meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb | 16 ----------
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb | 22 +++++++++++++
3 files changed, 22 insertions(+), 47 deletions(-)
delete mode 100644 meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
delete mode 100644 meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
create mode 100644 meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
diff --git a/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch b/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
deleted file mode 100644
index 358cbefdd..000000000
--- a/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-From c209ed0e7ffca32fe3714bad9cc54bdb00c286bb Mon Sep 17 00:00:00 2001
-From: Ting Liu <b28495@freescale.com>
-Date: Mon, 15 Apr 2013 16:28:37 +0800
-Subject: [PATCH] Makefile.am: disable docs
-
-Upstream-Status: Inappropriate [OE specific]
-
-docs need some generating tool (for example, doxygen) from host which may
-be not available. Disable it to avoid build issue.
-
-Signed-off-by: Ting Liu <b28495@freescale.com>
----
- Makefile.am | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index 0a6ebc9..6b42f41 100644
---- a/Makefile.am
-+++ b/Makefile.am
-@@ -1,7 +1,7 @@
-
- ACLOCAL_AMFLAGS = -I config
-
--SUBDIRS = include examples docs tests msc config
-+SUBDIRS = include examples tests msc config
-
- pkgconfigdir = $(libdir)/pkgconfig
- pkgconfig_DATA = $(PACKAGE).pc
---
-1.7.5
-
diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb b/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
deleted file mode 100644
index bba8d5c21..000000000
--- a/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
+++ /dev/null
@@ -1,16 +0,0 @@
-SUMMARY = "Templatized C++ Command Line Parser"
-HOMEPAGE = "http://tclap.sourceforge.net/"
-LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=0ca8b9c5c5445cfa7af7e78fd27e60ed"
-
-SRCREV = "ec3ddcfe41b0544a4551a57439b6b3682fe31479"
-SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.2 \
- file://Makefile.am-disable-docs.patch \
-"
-
-S = "${WORKDIR}/git"
-inherit autotools
-
-ALLOW_EMPTY_${PN} = "1"
-
-BBCLASSEXTEND = "native nativesdk"
diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
new file mode 100644
index 000000000..13f66e47d
--- /dev/null
+++ b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
@@ -0,0 +1,22 @@
+SUMMARY = "Templatized C++ Command Line Parser"
+HOMEPAGE = "http://tclap.sourceforge.net/"
+DESCRIPTION = "TCLAP is a small, flexible library that provides a simple interface \
+for defining and accessing command line arguments. It was intially inspired by the \
+user friendly CLAP libary. The difference is that this library is templatized, so \
+the argument class is type independent. Type independence avoids identical-except-for-type \
+objects, such as IntArg, FloatArg, and StringArg. While the library is not strictly \
+compliant with the GNU or POSIX standards, it is close. \
+"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=5c64b2e8cc50917b2744a90950faa7cd"
+
+SRCREV = "799a8b1f99818e39fee19d0601030770af1221e1"
+SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.4 \
+"
+
+S = "${WORKDIR}/git"
+inherit cmake
+
+ALLOW_EMPTY_${PN} = "1"
+
+BBCLASSEXTEND = "native nativesdk"
--
2.27.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [oe] [meta-oe][PATCH] tclap: upgrade 1.2.2 -> 1.4.0
2021-03-15 15:55 [meta-oe][PATCH] tclap: upgrade 1.2.2 -> 1.4.0 Randy MacLeod
@ 2021-03-15 18:47 ` Khem Raj
2021-03-17 1:44 ` Randy MacLeod
0 siblings, 1 reply; 3+ messages in thread
From: Khem Raj @ 2021-03-15 18:47 UTC (permalink / raw)
To: Randy MacLeod, openembedded-devel
On 3/15/21 8:55 AM, Randy MacLeod wrote:
> Project switched from autotools to CMake so drop the Makefile.am patch.
> The COPYING file copyright years were updated. Add description.
>
> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
> ---
> .../tclap/Makefile.am-disable-docs.patch | 31 -------------------
> meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb | 16 ----------
> meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb | 22 +++++++++++++
> 3 files changed, 22 insertions(+), 47 deletions(-)
> delete mode 100644 meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
> delete mode 100644 meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
> create mode 100644 meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
>
> diff --git a/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch b/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
> deleted file mode 100644
> index 358cbefdd..000000000
> --- a/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
> +++ /dev/null
> @@ -1,31 +0,0 @@
> -From c209ed0e7ffca32fe3714bad9cc54bdb00c286bb Mon Sep 17 00:00:00 2001
> -From: Ting Liu <b28495@freescale.com>
> -Date: Mon, 15 Apr 2013 16:28:37 +0800
> -Subject: [PATCH] Makefile.am: disable docs
> -
> -Upstream-Status: Inappropriate [OE specific]
> -
> -docs need some generating tool (for example, doxygen) from host which may
> -be not available. Disable it to avoid build issue.
> -
> -Signed-off-by: Ting Liu <b28495@freescale.com>
> ----
> - Makefile.am | 2 +-
> - 1 files changed, 1 insertions(+), 1 deletions(-)
> -
> -diff --git a/Makefile.am b/Makefile.am
> -index 0a6ebc9..6b42f41 100644
> ---- a/Makefile.am
> -+++ b/Makefile.am
> -@@ -1,7 +1,7 @@
> -
> - ACLOCAL_AMFLAGS = -I config
> -
> --SUBDIRS = include examples docs tests msc config
> -+SUBDIRS = include examples tests msc config
> -
> - pkgconfigdir = $(libdir)/pkgconfig
> - pkgconfig_DATA = $(PACKAGE).pc
> ---
> -1.7.5
> -
> diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb b/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
> deleted file mode 100644
> index bba8d5c21..000000000
> --- a/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
> +++ /dev/null
> @@ -1,16 +0,0 @@
> -SUMMARY = "Templatized C++ Command Line Parser"
> -HOMEPAGE = "http://tclap.sourceforge.net/"
> -LICENSE = "MIT"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=0ca8b9c5c5445cfa7af7e78fd27e60ed"
> -
> -SRCREV = "ec3ddcfe41b0544a4551a57439b6b3682fe31479"
> -SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.2 \
> - file://Makefile.am-disable-docs.patch \
> -"
> -
> -S = "${WORKDIR}/git"
> -inherit autotools
> -
> -ALLOW_EMPTY_${PN} = "1"
> -
> -BBCLASSEXTEND = "native nativesdk"
> diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
> new file mode 100644
> index 000000000..13f66e47d
> --- /dev/null
> +++ b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
> @@ -0,0 +1,22 @@
> +SUMMARY = "Templatized C++ Command Line Parser"
> +HOMEPAGE = "http://tclap.sourceforge.net/"
> +DESCRIPTION = "TCLAP is a small, flexible library that provides a simple interface \
> +for defining and accessing command line arguments. It was intially inspired by the \
typo - initially
> +user friendly CLAP libary. The difference is that this library is templatized, so \
typo - library
> +the argument class is type independent. Type independence avoids identical-except-for-type \
> +objects, such as IntArg, FloatArg, and StringArg. While the library is not strictly \
> +compliant with the GNU or POSIX standards, it is close. \
> +"
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=5c64b2e8cc50917b2744a90950faa7cd"
> +
> +SRCREV = "799a8b1f99818e39fee19d0601030770af1221e1"
> +SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.4 \
> +"
> +
> +S = "${WORKDIR}/git"
> +inherit cmake
> +
> +ALLOW_EMPTY_${PN} = "1"
is this still needed ?
> +
> +BBCLASSEXTEND = "native nativesdk"
>
>
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [oe] [meta-oe][PATCH] tclap: upgrade 1.2.2 -> 1.4.0
2021-03-15 18:47 ` [oe] " Khem Raj
@ 2021-03-17 1:44 ` Randy MacLeod
0 siblings, 0 replies; 3+ messages in thread
From: Randy MacLeod @ 2021-03-17 1:44 UTC (permalink / raw)
To: Khem Raj, openembedded-devel, lans.zhang2008, Otavio Salvador
On 2021-03-15 2:47 p.m., Khem Raj wrote:
>
>
> On 3/15/21 8:55 AM, Randy MacLeod wrote:
>> Project switched from autotools to CMake so drop the Makefile.am patch.
>> The COPYING file copyright years were updated. Add description.
>>
>> Signed-off-by: Randy MacLeod <Randy.MacLeod@windriver.com>
>> ---
>> .../tclap/Makefile.am-disable-docs.patch | 31 -------------------
>> meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb | 16 ----------
>> meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb | 22 +++++++++++++
>> 3 files changed, 22 insertions(+), 47 deletions(-)
>> delete mode 100644
>> meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
>> delete mode 100644 meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
>> create mode 100644 meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
>>
>> diff --git
>> a/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
>> b/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
>> deleted file mode 100644
>> index 358cbefdd..000000000
>> --- a/meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch
>> +++ /dev/null
>> @@ -1,31 +0,0 @@
>> -From c209ed0e7ffca32fe3714bad9cc54bdb00c286bb Mon Sep 17 00:00:00 2001
>> -From: Ting Liu <b28495@freescale.com>
>> -Date: Mon, 15 Apr 2013 16:28:37 +0800
>> -Subject: [PATCH] Makefile.am: disable docs
>> -
>> -Upstream-Status: Inappropriate [OE specific]
>> -
>> -docs need some generating tool (for example, doxygen) from host which
>> may
>> -be not available. Disable it to avoid build issue.
>> -
>> -Signed-off-by: Ting Liu <b28495@freescale.com>
>> ----
>> - Makefile.am | 2 +-
>> - 1 files changed, 1 insertions(+), 1 deletions(-)
>> -
>> -diff --git a/Makefile.am b/Makefile.am
>> -index 0a6ebc9..6b42f41 100644
>> ---- a/Makefile.am
>> -+++ b/Makefile.am
>> -@@ -1,7 +1,7 @@
>> -
>> - ACLOCAL_AMFLAGS = -I config
>> -
>> --SUBDIRS = include examples docs tests msc config
>> -+SUBDIRS = include examples tests msc config
>> -
>> - pkgconfigdir = $(libdir)/pkgconfig
>> - pkgconfig_DATA = $(PACKAGE).pc
>> ---
>> -1.7.5
>> -
>> diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
>> b/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
>> deleted file mode 100644
>> index bba8d5c21..000000000
>> --- a/meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb
>> +++ /dev/null
>> @@ -1,16 +0,0 @@
>> -SUMMARY = "Templatized C++ Command Line Parser"
>> -HOMEPAGE = "http://tclap.sourceforge.net/"
>> -LICENSE = "MIT"
>> -LIC_FILES_CHKSUM = "file://COPYING;md5=0ca8b9c5c5445cfa7af7e78fd27e60ed"
>> -
>> -SRCREV = "ec3ddcfe41b0544a4551a57439b6b3682fe31479"
>> -SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.2 \
>> - file://Makefile.am-disable-docs.patch \
>> -"
>> -
>> -S = "${WORKDIR}/git"
>> -inherit autotools
>> -
>> -ALLOW_EMPTY_${PN} = "1"
>> -
>> -BBCLASSEXTEND = "native nativesdk"
>> diff --git a/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
>> b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
>> new file mode 100644
>> index 000000000..13f66e47d
>> --- /dev/null
>> +++ b/meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb
>> @@ -0,0 +1,22 @@
>> +SUMMARY = "Templatized C++ Command Line Parser"
>> +HOMEPAGE = "http://tclap.sourceforge.net/"
>> +DESCRIPTION = "TCLAP is a small, flexible library that provides a
>> simple interface \
>> +for defining and accessing command line arguments. It was intially
>> inspired by the \
>
> typo - initially
>
>> +user friendly CLAP libary. The difference is that this library is
>> templatized, so \
>
> typo - library
Heh, I copied directly from the SF page so I opened:
https://sourceforge.net/p/tclap/bugs/32/
and I'll fix the typos in v2.
>
>> +the argument class is type independent. Type independence avoids
>> identical-except-for-type \
>> +objects, such as IntArg, FloatArg, and StringArg. While the library
>> is not strictly \
>> +compliant with the GNU or POSIX standards, it is close. \
>> +"
>> +LICENSE = "MIT"
>> +LIC_FILES_CHKSUM = "file://COPYING;md5=5c64b2e8cc50917b2744a90950faa7cd"
>> +
>> +SRCREV = "799a8b1f99818e39fee19d0601030770af1221e1"
>> +SRC_URI = "git://git.code.sf.net/p/tclap/code;branch=1.4 \
>> +"
>> +
>> +S = "${WORKDIR}/git"
>> +inherit cmake
>> +
>> +ALLOW_EMPTY_${PN} = "1"
>
> is this still needed ?
Yes, err maybe?
tclap will build fine but if I build ima-inspect it fails
because tclap-1.4 using cmake doesn't produce a .pc file.
The tests I did on the weekend for ima-inspect were using tclap-1.2.
Oops.
I'll figure out what to do but it's not really critical for me so
if Jia or Otavio want to make a suggestion or something that'd be fine.
../Randy
>
>> +
>> +BBCLASSEXTEND = "native nativesdk"
>>
>>
>>
>>
>>
--
# Randy MacLeod
# Wind River Linux
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-03-17 1:44 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-15 15:55 [meta-oe][PATCH] tclap: upgrade 1.2.2 -> 1.4.0 Randy MacLeod
2021-03-15 18:47 ` [oe] " Khem Raj
2021-03-17 1:44 ` Randy MacLeod
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.