Skip to contentSkip to conversation

package/sysrepo: drop unneeded dependencies

PATCH New Heiko Thiery 2 participants 2 messages Apr 16, 2020 – Apr 17, 2020

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/sysrepo: drop unneeded dependencies

The following dependencies are no longer needed:
- libev
- libavl
- protobuf-c

---
 package/sysrepo/Config.in  | 5 -----
 package/sysrepo/sysrepo.mk | 4 ++--
 2 files changed, 2 insertions(+), 7 deletions(-)
package/sysrepo/Config.in +0 -5
index 31f817faa1..8de141efc2 100644
@@ -5,13 +5,9 @@ config BR2_PACKAGE_SYSREPO
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # host-protobuf
-	select BR2_PACKAGE_LIBAVL
-	select BR2_PACKAGE_LIBEV
 	select BR2_PACKAGE_LIBYANG
 	select BR2_PACKAGE_PCRE
 	select BR2_PACKAGE_PCRE_UCP
-	select BR2_PACKAGE_PROTOBUF_C
 	help
 	  Sysrepo is an YANG-based configuration and operational state
 	  data store for Unix/Linux applications.
@@ -31,4 +27,3 @@ comment "sysrepo needs a toolchain w/ C++, NPTL, dynamic library, gcc >= 4.8"
 	depends on BR2_USE_MMU
 	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
 		|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
package/sysrepo/sysrepo.mk +2 -2
index 0ca4d2591e..67290dad4f 100644
@@ -9,8 +9,8 @@ SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION))
 SYSREPO_INSTALL_STAGING = YES
 SYSREPO_LICENSE = Apache-2.0
 SYSREPO_LICENSE_FILES = LICENSE
-SYSREPO_DEPENDENCIES = libev libavl libyang pcre protobuf-c host-sysrepo
-HOST_SYSREPO_DEPENDENCIES = host-libev host-libavl host-libyang host-pcre host-protobuf-c
+SYSREPO_DEPENDENCIES = libyang pcre host-sysrepo
+HOST_SYSREPO_DEPENDENCIES = host-libyang host-pcre
 
 SYSREPO_CONF_OPTS = \
 	-DCMAKE_BUILD_TYPE=Release \
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/1 package/sysrepo: drop unneeded dependencies

Heiko, All,

On 2020-04-16 14:18 +0200, Heiko Thiery spake thusly:

Quoted 6 lines

The following dependencies are no longer needed:
- libev
- libavl
- protobuf-c

Applied to master,t hanks.

Regards,
Yann E. MORIN.

Quoted 50 lines
---
 package/sysrepo/Config.in  | 5 -----
 package/sysrepo/sysrepo.mk | 4 ++--
 2 files changed, 2 insertions(+), 7 deletions(-)
package/sysrepo/Config.in +0 -5
index 31f817faa1..8de141efc2 100644
@@ -5,13 +5,9 @@ config BR2_PACKAGE_SYSREPO
 	depends on BR2_INSTALL_LIBSTDCPP
 	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL
 	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86" # host-protobuf
-	select BR2_PACKAGE_LIBAVL
-	select BR2_PACKAGE_LIBEV
 	select BR2_PACKAGE_LIBYANG
 	select BR2_PACKAGE_PCRE
 	select BR2_PACKAGE_PCRE_UCP
-	select BR2_PACKAGE_PROTOBUF_C
 	help
 	  Sysrepo is an YANG-based configuration and operational state
 	  data store for Unix/Linux applications.
@@ -31,4 +27,3 @@ comment "sysrepo needs a toolchain w/ C++, NPTL, dynamic library, gcc >= 4.8"
 	depends on BR2_USE_MMU
 	depends on BR2_STATIC_LIBS || !BR2_INSTALL_LIBSTDCPP \
 		|| !BR2_TOOLCHAIN_HAS_THREADS_NPTL
-	depends on BR2_HOSTARCH = "x86_64" || BR2_HOSTARCH = "x86"
package/sysrepo/sysrepo.mk +2 -2
index 0ca4d2591e..67290dad4f 100644
@@ -9,8 +9,8 @@ SYSREPO_SITE = $(call github,sysrepo,sysrepo,v$(SYSREPO_VERSION))
 SYSREPO_INSTALL_STAGING = YES
 SYSREPO_LICENSE = Apache-2.0
 SYSREPO_LICENSE_FILES = LICENSE
-SYSREPO_DEPENDENCIES = libev libavl libyang pcre protobuf-c host-sysrepo
-HOST_SYSREPO_DEPENDENCIES = host-libev host-libavl host-libyang host-pcre host-protobuf-c
+SYSREPO_DEPENDENCIES = libyang pcre host-sysrepo
+HOST_SYSREPO_DEPENDENCIES = host-libyang host-pcre
 
 SYSREPO_CONF_OPTS = \
 	-DCMAKE_BUILD_TYPE=Release \
Signature · 6 lines
2.20.1

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot
Signature · 6 lines
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'