Skip to contentSkip to conversation

gflags: New recipe

PATCH Superseded Ricardo Ribalda Delgado 3 participants 9 messages Aug 11, 2016

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 gflags: New recipe

C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used.

Used optionally by glog

---
 meta-oe/recipes-support/gflags/gflags_2.1.2.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-support/gflags/gflags_2.1.2.bb
meta-oe/recipes-support/gflags/gflags_2.1.2.bb new file +18 -0
new file mode 100644
index 000000000000..ac8d2ceeaa8a
@@ -0,0 +1,18 @@
+DESCRIPTION = "The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used"
+
+HOMEPAGE = "https://github.com/gflags/gflags"
+
+RDEPENDS_${PN} += "bash"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
+
+SRC_URI = "git://github.com/gflags/gflags.git;;nobranch=1"
+SRCREV = "1a02f2851ee3d48d32d2c8f4d8f390a0bc25565c"
+S = "${WORKDIR}/git/"
+
+FILES_${PN}-dev += "${libdir}/cmake"
+
+inherit cmake
+
+EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON"
Signature · 1 line
2.8.1
#1 lore raw

PATCH 2/2 glog: Update to version 0.3.4

-The repository has been moved to github.
-There is a new release 0.3.4
-Add a user configurable dependency on gflag
-Merge .inc file on the recipe

---
 meta-oe/recipes-support/glog/glog.inc              | 11 -------
 ...configure.ac-Allow-user-to-disable-gflags.patch | 35 ++++++++++++++++++++++
 meta-oe/recipes-support/glog/glog_0.3.3.bb         |  6 ----
 meta-oe/recipes-support/glog/glog_0.3.4.bb         | 22 ++++++++++++++
 4 files changed, 57 insertions(+), 17 deletions(-)
 delete mode 100644 meta-oe/recipes-support/glog/glog.inc
 create mode 100644 meta-oe/recipes-support/glog/glog/0001-configure.ac-Allow-user-to-disable-gflags.patch
 delete mode 100644 meta-oe/recipes-support/glog/glog_0.3.3.bb
 create mode 100644 meta-oe/recipes-support/glog/glog_0.3.4.bb
meta-oe/recipes-support/glog/glog.inc deleted +0 -11
deleted file mode 100644
index 8a1fb4250bbb..000000000000
@@ -1,11 +0,0 @@
-DESCRIPTION = "The glog library implements application-level logging. This \
-library provides logging APIs based on C++-style streams and various helper \
-macros."
-HOMEPAGE = "https://code.google.com/p/google-glog/"
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
-
-DEPENDS = "libunwind"
-
-inherit autotools pkgconfig
meta-oe/recipes-support/glog/glog/0001-configure.ac-Allow-user-to-disable-gflags.patch new file +35 -0
new file mode 100644
index 000000000000..596281ff6842
@@ -0,0 +1,35 @@
+From 0fabde0515e180c53961c27346dd7a79cffa4c1f Mon Sep 17 00:00:00 2001
+From: Ricardo Ribalda Delgado <[email protected]>
+Date: Thu, 11 Aug 2016 11:49:36 +0200
+Subject: [PATCH] configure.ac: Allow user to disable gflags
+
+Under some circumstances like cross-compilation, the user might not want
+to enable support for gflags.
+
+This patch allows support for --without-gflags
+
+Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
+---
+ configure.ac | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 7b4d21e7ae8a..eba5e5cda1ea 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -136,7 +136,11 @@ AC_ARG_WITH(gflags, AS_HELP_STRING[--with-gflags=GFLAGS_DIR],
+   CFLAGS="$CFLAGS $GFLAGS_CFLAGS"
+   LIBS="$LIBS $GFLAGS_LIBS"
+ )
+-AC_CHECK_LIB(gflags, main, ac_cv_have_libgflags=1, ac_cv_have_libgflags=0)
++if test x"$with_gflags" = x"no"; then
++  ac_cv_have_libgflags=0
++else
++  AC_CHECK_LIB(gflags, main, ac_cv_have_libgflags=1, ac_cv_have_libgflags=0)
++fi
+ if test x"$ac_cv_have_libgflags" = x"1"; then
+   AC_DEFINE(HAVE_LIB_GFLAGS, 1, [define if you have google gflags library])
+   if test x"$GFLAGS_LIBS" = x""; then
+-- 
+2.8.1
+
meta-oe/recipes-support/glog/glog_0.3.3.bb deleted +0 -6
deleted file mode 100644
index de3f0765dec9..000000000000
@@ -1,6 +0,0 @@
-require glog.inc
-
-SRC_URI = "http://google-glog.googlecode.com/files/glog-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "a6fd2c22f8996846e34c763422717c18"
-SRC_URI[sha256sum] = "fbf90c2285ba0561db7a40f8a4eefb9aa963e7d399bd450363e959929fe849d0"
meta-oe/recipes-support/glog/glog_0.3.4.bb new file +22 -0
new file mode 100644
index 000000000000..6d91ae941ac3
@@ -0,0 +1,22 @@
+DESCRIPTION = "The glog library implements application-level logging. This \
+library provides logging APIs based on C++-style streams and various helper \
+macros."
+HOMEPAGE = "https://github.com/google/glog"
+
+SRC_URI = "\
+	   https://github.com/google/glog/archive/v${PV}.tar.gz \
+	   file://0001-configure.ac-Allow-user-to-disable-gflags.patch \
+	   "
+
+SRC_URI[md5sum] = "df92e05c9d02504fb96674bc776a41cb"
+SRC_URI[sha256sum] = "ce99d58dce74458f7656a68935d7a0c048fa7b4626566a71b7f4e545920ceb10"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
+
+DEPENDS = "libunwind"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[gflags] = ",--without-gflags,gflags,"
+
+inherit autotools pkgconfig
Signature · 1 line
2.8.1
#2 lore raw

Re: [meta-oe][PATCH 2/2] glog: Update to version 0.3.4

github archives are regenerated from time to time with checksum change, so use normal git checkout instead of archive.

Move LIC* variable bellow HOMEPAGE where they were and resend with -M.

Quoted 142 lines · Ricardo Ribalda Delgado
(quoted diff) +0 -4
-The repository has been moved to github.
-There is a new release 0.3.4
-Add a user configurable dependency on gflag
-Merge .inc file on the recipe
---
 meta-oe/recipes-support/glog/glog.inc              | 11 -------
 ...configure.ac-Allow-user-to-disable-gflags.patch | 35
++++++++++++++++++++++
 meta-oe/recipes-support/glog/glog_0.3.3.bb         |  6 ----
 meta-oe/recipes-support/glog/glog_0.3.4.bb         | 22 ++++++++++++++
 4 files changed, 57 insertions(+), 17 deletions(-)
 delete mode 100644 meta-oe/recipes-support/glog/glog.inc
 create mode 100644 meta-oe/recipes-support/glog/
glog/0001-configure.ac-Allow-user-to-disable-gflags.patch
 delete mode 100644 meta-oe/recipes-support/glog/glog_0.3.3.bb
 create mode 100644 meta-oe/recipes-support/glog/glog_0.3.4.bb
meta-oe/recipes-support/glog/glog.inc deleted +0 -1
deleted file mode 100644
index 8a1fb4250bbb..000000000000
@@ -1,11 +0,0 @@
-DESCRIPTION = "The glog library implements application-level logging.

This \
-library provides logging APIs based on C++-style streams and various helper \

meta-oe/recipes-support/glog/glog.inc deleted +0 -9
-macros."
-HOMEPAGE = "https://code.google.com/p/google-glog/"
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
-
-DEPENDS = "libunwind"
-
-inherit autotools pkgconfig
(quoted diff) +0 -0

Allow-user-to-disable-gflags.patch b/meta-oe/recipes-support/ glog/glog/0001-configure.ac-Allow-user-to-disable-gflags.patch new file mode 100644
index 000000000000..596281ff6842

meta-oe/recipes-support/glog/glog/0001-configure.ac- new file +0 -0

Allow-user-to-disable-gflags.patch

meta-oe/recipes-support/glog/glog/0001-configure.ac- new file +20 -0
@@ -0,0 +1,35 @@
+From 0fabde0515e180c53961c27346dd7a79cffa4c1f Mon Sep 17 00:00:00 2001
+From: Ricardo Ribalda Delgado <[email protected]>
+Date: Thu, 11 Aug 2016 11:49:36 +0200
+Subject: [PATCH] configure.ac: Allow user to disable gflags
+
+Under some circumstances like cross-compilation, the user might not want
+to enable support for gflags.
+
+This patch allows support for --without-gflags
+
+Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
+---
+ configure.ac | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 7b4d21e7ae8a..eba5e5cda1ea 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -136,7 +136,11 @@ AC_ARG_WITH(gflags, AS_HELP_STRING[--with-gflags=

GFLAGS_DIR],

meta-oe/recipes-support/glog/glog/0001-configure.ac- new file +4 -0
+   CFLAGS="$CFLAGS $GFLAGS_CFLAGS"
+   LIBS="$LIBS $GFLAGS_LIBS"
+ )
+-AC_CHECK_LIB(gflags, main, ac_cv_have_libgflags=1,

ac_cv_have_libgflags=0)
++if test x"$with_gflags" = x"no"; then
++ ac_cv_have_libgflags=0
++else
++ AC_CHECK_LIB(gflags, main, ac_cv_have_libgflags=1, ac_cv_have_libgflags=0)
++fi
+ if test x"$ac_cv_have_libgflags" = x"1"; then
+ AC_DEFINE(HAVE_LIB_GFLAGS, 1, [define if you have google gflags
library])

meta-oe/recipes-support/glog/glog/0001-configure.ac- new file +4 -0
+   if test x"$GFLAGS_LIBS" = x""; then
+--
+2.8.1
+
meta-oe/recipes-support/glog/glog_0.3.3.bb deleted +0 -6
deleted file mode 100644
index de3f0765dec9..000000000000
@@ -1,6 +0,0 @@
-require glog.inc
-
-SRC_URI = "http://google-glog.googlecode.com/files/glog-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "a6fd2c22f8996846e34c763422717c18"
-SRC_URI[sha256sum] = "fbf90c2285ba0561db7a40f8a4eefb

9aa963e7d399bd450363e959929fe849d0"

meta-oe/recipes-support/glog/glog_0.3.4.bb new file +1 -0
new file mode 100644
index 000000000000..6d91ae941ac3
@@ -0,0 +1,22 @@
+DESCRIPTION = "The glog library implements application-level logging.

This \
+library provides logging APIs based on C++-style streams and various helper \

meta-oe/recipes-support/glog/glog_0.3.4.bb new file +10 -0
+macros."
+HOMEPAGE = "https://github.com/google/glog"
+
+SRC_URI = "\
+          https://github.com/google/glog/archive/v${PV}.tar.gz \
+          file://0001-configure.ac-Allow-user-to-disable-gflags.patch \
+          "
+
+SRC_URI[md5sum] = "df92e05c9d02504fb96674bc776a41cb"
+SRC_URI[sha256sum] = "ce99d58dce74458f7656a68935d7a0

c048fa7b4626566a71b7f4e545920ceb10"

meta-oe/recipes-support/glog/glog_0.3.4.bb new file +10 -1
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
+
+DEPENDS = "libunwind"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[gflags] = ",--without-gflags,gflags,"
+
+inherit autotools pkgconfig
--

2.8.1

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

#3 lore raw

Re: [meta-oe][PATCH 2/2] glog: Update to version 0.3.4

Hi, I did resend this patch.

The gflag patch is ok? Shall I resend it?

Regards!

Quoted 155 lines · Martin Jansa

github archives are regenerated from time to time with checksum change, so use normal git checkout instead of archive.

Move LIC* variable bellow HOMEPAGE where they were and resend with -M.

Quoted 136 lines · Ricardo Ribalda Delgado
(quoted diff) +0 -4
-The repository has been moved to github.
-There is a new release 0.3.4
-Add a user configurable dependency on gflag
-Merge .inc file on the recipe
---
 meta-oe/recipes-support/glog/glog.inc              | 11 -------
 ...configure.ac-Allow-user-to-disable-gflags.patch | 35
++++++++++++++++++++++
 meta-oe/recipes-support/glog/glog_0.3.3.bb         |  6 ----
 meta-oe/recipes-support/glog/glog_0.3.4.bb         | 22 ++++++++++++++
 4 files changed, 57 insertions(+), 17 deletions(-)
 delete mode 100644 meta-oe/recipes-support/glog/glog.inc
 create mode 100644 meta-oe/recipes-support/glog/
glog/0001-configure.ac-Allow-user-to-disable-gflags.patch
 delete mode 100644 meta-oe/recipes-support/glog/glog_0.3.3.bb
 create mode 100644 meta-oe/recipes-support/glog/glog_0.3.4.bb
meta-oe/recipes-support/glog/glog.inc deleted +0 -1
deleted file mode 100644
index 8a1fb4250bbb..000000000000
@@ -1,11 +0,0 @@
-DESCRIPTION = "The glog library implements application-level logging.

This \
-library provides logging APIs based on C++-style streams and various helper \

meta-oe/recipes-support/glog/glog.inc deleted +0 -9
-macros."
-HOMEPAGE = "https://code.google.com/p/google-glog/"
-
-LICENSE = "BSD"
-LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
-
-DEPENDS = "libunwind"
-
-inherit autotools pkgconfig
(quoted diff) +0 -0

Allow-user-to-disable-gflags.patch b/meta-oe/recipes-support/ glog/glog/0001-configure.ac-Allow-user-to-disable-gflags.patch new file mode 100644
index 000000000000..596281ff6842

meta-oe/recipes-support/glog/glog/0001-configure.ac- new file +0 -0

Allow-user-to-disable-gflags.patch

meta-oe/recipes-support/glog/glog/0001-configure.ac- new file +20 -0
@@ -0,0 +1,35 @@
+From 0fabde0515e180c53961c27346dd7a79cffa4c1f Mon Sep 17 00:00:00 2001
+From: Ricardo Ribalda Delgado <[email protected]>
+Date: Thu, 11 Aug 2016 11:49:36 +0200
+Subject: [PATCH] configure.ac: Allow user to disable gflags
+
+Under some circumstances like cross-compilation, the user might not want
+to enable support for gflags.
+
+This patch allows support for --without-gflags
+
+Signed-off-by: Ricardo Ribalda Delgado <[email protected]>
+---
+ configure.ac | 6 +++++-
+ 1 file changed, 5 insertions(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 7b4d21e7ae8a..eba5e5cda1ea 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -136,7 +136,11 @@ AC_ARG_WITH(gflags, AS_HELP_STRING[--with-gflags=

GFLAGS_DIR],

meta-oe/recipes-support/glog/glog/0001-configure.ac- new file +4 -0
+   CFLAGS="$CFLAGS $GFLAGS_CFLAGS"
+   LIBS="$LIBS $GFLAGS_LIBS"
+ )
+-AC_CHECK_LIB(gflags, main, ac_cv_have_libgflags=1,

ac_cv_have_libgflags=0)
++if test x"$with_gflags" = x"no"; then
++ ac_cv_have_libgflags=0
++else
++ AC_CHECK_LIB(gflags, main, ac_cv_have_libgflags=1, ac_cv_have_libgflags=0)
++fi
+ if test x"$ac_cv_have_libgflags" = x"1"; then
+ AC_DEFINE(HAVE_LIB_GFLAGS, 1, [define if you have google gflags
library])

meta-oe/recipes-support/glog/glog/0001-configure.ac- new file +4 -0
+   if test x"$GFLAGS_LIBS" = x""; then
+--
+2.8.1
+
meta-oe/recipes-support/glog/glog_0.3.3.bb deleted +0 -6
deleted file mode 100644
index de3f0765dec9..000000000000
@@ -1,6 +0,0 @@
-require glog.inc
-
-SRC_URI = "http://google-glog.googlecode.com/files/glog-${PV}.tar.gz"
-
-SRC_URI[md5sum] = "a6fd2c22f8996846e34c763422717c18"
-SRC_URI[sha256sum] = "fbf90c2285ba0561db7a40f8a4eefb

9aa963e7d399bd450363e959929fe849d0"

meta-oe/recipes-support/glog/glog_0.3.4.bb new file +1 -0
new file mode 100644
index 000000000000..6d91ae941ac3
@@ -0,0 +1,22 @@
+DESCRIPTION = "The glog library implements application-level logging.

This \
+library provides logging APIs based on C++-style streams and various helper \

meta-oe/recipes-support/glog/glog_0.3.4.bb new file +10 -0
+macros."
+HOMEPAGE = "https://github.com/google/glog"
+
+SRC_URI = "\
+          https://github.com/google/glog/archive/v${PV}.tar.gz \
+          file://0001-configure.ac-Allow-user-to-disable-gflags.patch \
+          "
+
+SRC_URI[md5sum] = "df92e05c9d02504fb96674bc776a41cb"
+SRC_URI[sha256sum] = "ce99d58dce74458f7656a68935d7a0

c048fa7b4626566a71b7f4e545920ceb10"

meta-oe/recipes-support/glog/glog_0.3.4.bb new file +10 -1
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING;md5=dc9db360e0bbd4e46672f3fd91dd6c4b"
+
+DEPENDS = "libunwind"
+
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[gflags] = ",--without-gflags,gflags,"
+
+inherit autotools pkgconfig
--

2.8.1

Quoted 6 lines

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Signature · 1 line
Ricardo Ribalda
#4 lore raw
In reply to Ricardo Ribalda Delgado
Quoted 18 lines · Ricardo Ribalda Delgado

C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used.

Used optionally by glog

---
 meta-oe/recipes-support/gflags/gflags_2.1.2.bb | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)
 create mode 100644 meta-oe/recipes-support/gflags/gflags_2.1.2.bb
meta-oe/recipes-support/gflags/gflags_2.1.2.bb new file +0 -0
new file mode 100644
index 000000000000..ac8d2ceeaa8a

meta-oe/recipes-support/gflags/gflags_2.1.2.bb line 10

Quoted 10 lines
meta-oe/recipes-support/gflags/gflags_2.1.2.bb new file +10 -0
@@ -0,0 +1,18 @@
+DESCRIPTION = "The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used"
+
+HOMEPAGE = "https://github.com/gflags/gflags"
+
+RDEPENDS_${PN} += "bash"
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
+
+SRC_URI = "git://github.com/gflags/gflags.git;;nobranch=1"

It's in "release" branch, so I'll replace ;;nobranch=1 with ;branch=release when cherry-picking.

Quoted 16 lines
meta-oe/recipes-support/gflags/gflags_2.1.2.bb new file +8 -0
+SRCREV = "1a02f2851ee3d48d32d2c8f4d8f390a0bc25565c"
+S = "${WORKDIR}/git/"
+
+FILES_${PN}-dev += "${libdir}/cmake"
+
+inherit cmake
+
+EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON"
Signature · 7 lines
2.8.1

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

Hi Martin

Quoted 3 lines · Martin Jansa
Quoted 1 line

+SRC_URI = "git://github.com/gflags/gflags.git;;nobranch=1"

It's in "release" branch, so I'll replace ;;nobranch=1 with ;branch=release when cherry-picking.

Thanks!

#6 lore raw
In reply to Ricardo Ribalda Delgado
Quoted 18 lines · Ricardo Ribalda Delgado

C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used.

Used optionally by glog

---
  meta-oe/recipes-support/gflags/gflags_2.1.2.bb | 18 ++++++++++++++++++
  1 file changed, 18 insertions(+)

create mode 100644 meta-oe/recipes-support/gflags/gflags_2.1.2.bb

meta-oe/recipes-support/gflags/gflags_2.1.2.bb new file +0 -0
new file mode 100644
index 000000000000..ac8d2ceeaa8a

meta-oe/recipes-support/gflags/gflags_2.1.2.bb line 5

Quoted 5 lines
meta-oe/recipes-support/gflags/gflags_2.1.2.bb new file +5 -0
@@ -0,0 +1,18 @@
+DESCRIPTION = "The gflags package contains a C++ library that implements commandline flags processing. It includes built-in support for standard types such as string and the ability to define flags in the source file in which they are used"
+
+HOMEPAGE = "https://github.com/gflags/gflags"
+
+RDEPENDS_${PN} += "bash"

Where does this dependency come from, seems odd that a compiled library should depend on bash?

Quoted 13 lines
meta-oe/recipes-support/gflags/gflags_2.1.2.bb new file +13 -0
+
+LICENSE = "BSD"
+LIC_FILES_CHKSUM = "file://COPYING.txt;md5=c80d1a3b623f72bb85a4c75b556551df"
+
+SRC_URI = "git://github.com/gflags/gflags.git;;nobranch=1"
+SRCREV = "1a02f2851ee3d48d32d2c8f4d8f390a0bc25565c"
+S = "${WORKDIR}/git/"
+
+FILES_${PN}-dev += "${libdir}/cmake"
+
+inherit cmake
+
+EXTRA_OECMAKE="-DBUILD_SHARED_LIBS=ON"
#7 lore raw

Hi

Quoted 5 lines · On Thu, Aug 11, 2016 at 2:22 PM, <[email protected]> wrote:
Quoted 1 line

+RDEPENDS_${PN} += "bash"

Where does this dependency come from, seems odd that a compiled library should depend on bash?

From an openembedded warning :)

package/usr/bin/gflags_completions.sh:#!/bin/bash

Regards!

#8 lore raw
Quoted 11 lines · Ricardo Ribalda Delgado

Hi

Quoted 4 lines · On Thu, Aug 11, 2016 at 2:22 PM, <[email protected]> wrote:
Quoted 1 line

+RDEPENDS_${PN} += "bash"

Where does this dependency come from, seems odd that a compiled library should depend on bash?

From an openembedded warning :)

package/usr/bin/gflags_completions.sh:#!/bin/bash

Bash completions should generally go in a separate package as not to pull the bash dependency in.

See meta-gnome/recipes-gnome/gvfs/gvfs_1.24.2.bb for an example.

Cheers,
Jack.

Quoted 2 lines

Regards!