Skip to contentSkip to conversation

tclap: upgrade 1.2.2 -> 1.4.0

PATCH In review Randy MacLeod 2 participants 3 messages Mar 15, 2021 – Mar 17, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tclap: upgrade 1.2.2 -> 1.4.0

Project switched from autotools to CMake so drop the Makefile.am patch. The COPYING file copyright years were updated. Add description.

---
 .../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
meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch deleted +0 -31
deleted file mode 100644
index 358cbefdd..000000000
@@ -1,31 +0,0 @@
-From c209ed0e7ffca32fe3714bad9cc54bdb00c286bb Mon Sep 17 00:00:00 2001
-From: Ting Liu <[email protected]>
-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 <[email protected]>
----
- 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
-
meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb deleted +0 -16
deleted file mode 100644
index bba8d5c21..000000000
@@ -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"
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +22 -0
new file mode 100644
index 000000000..13f66e47d
@@ -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"
Signature · 1 line
2.27.0
#1 lore raw
Quoted 78 lines · Randy MacLeod

Project switched from autotools to CMake so drop the Makefile.am patch. The COPYING file copyright years were updated. Add description.

---
  .../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

meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch deleted +0 -31
deleted file mode 100644
index 358cbefdd..000000000
@@ -1,31 +0,0 @@
-From c209ed0e7ffca32fe3714bad9cc54bdb00c286bb Mon Sep 17 00:00:00 2001
-From: Ting Liu <[email protected]>
-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 <[email protected]>
----
- 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
-
meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb deleted +0 -16
deleted file mode 100644
index bba8d5c21..000000000
@@ -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"
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +0 -0
new file mode 100644
index 000000000..13f66e47d

meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb line 4

Quoted 4 lines
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +4 -0
@@ -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

meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb line 5

Quoted 1 line
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +1 -0
+user friendly CLAP libary. The difference is that this library is templatized, so \

typo - library

Quoted 5 lines
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +5 -0
+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"

meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb line 20

Quoted 10 lines
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +10 -0
+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 ?

Quoted 7 lines
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +2 -0
+
+BBCLASSEXTEND = "native nativesdk"
#2 lore raw
Quoted 91 lines · Khem Raj
Quoted 82 lines · Randy MacLeod

Project switched from autotools to CMake so drop the Makefile.am patch. The COPYING file copyright years were updated. Add description.

---
  .../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

meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch deleted +0 -8
deleted file mode 100644
index 358cbefdd..000000000
@@ -1,31 +0,0 @@
-From c209ed0e7ffca32fe3714bad9cc54bdb00c286bb Mon Sep 17 00:00:00 2001
-From: Ting Liu <[email protected]>
-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

meta-oe/recipes-devtools/tclap/tclap/Makefile.am-disable-docs.patch deleted +0 -23
-be not available. Disable it to avoid build issue.
-
-Signed-off-by: Ting Liu <[email protected]>
----
- 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
-
meta-oe/recipes-devtools/tclap/tclap_1.2.2.bb deleted +0 -16
deleted file mode 100644
index bba8d5c21..000000000
@@ -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"
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +3 -0
new file mode 100644
index 000000000..13f66e47d
@@ -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 
Quoted 3 lines

simple interface \
+for defining and accessing command line arguments. It was intially inspired by the \

typo - initially

Quoted 4 lines
Quoted 2 lines

+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.

Quoted 12 lines
Quoted 12 lines

+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 \

meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +7 -0
+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 \
Quoted 8 lines

meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb line 20

Quoted 6 lines

+"

meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +5 -0
+
+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

Quoted 8 lines
Quoted 8 lines
meta-oe/recipes-devtools/tclap/tclap_1.4.0.bb new file +2 -0
+
+BBCLASSEXTEND = "native nativesdk"
Signature · 2 lines
# Randy MacLeod
# Wind River Linux