Skip to contentSkip to conversation

libnl: drop 2.0 and git recipes, now there is usable in oe-core

PATCH New Martin Jansa 1 participant 3 messages Nov 7, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/3 libnl: drop 2.0 and git recipes, now there is usable in oe-core

---
 .../recipes-support/libnl/libnl/fix-pc-file.patch  |   11 ---------
 .../libnl/libnl/fix-pktloc-dep-race.patch          |   20 -----------------
 meta-oe/recipes-support/libnl/libnl_2.0.bb         |   23 --------------------
 meta-oe/recipes-support/libnl/libnl_git.bb         |   20 -----------------
 4 files changed, 0 insertions(+), 74 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libnl/libnl/fix-pc-file.patch
 delete mode 100644 meta-oe/recipes-support/libnl/libnl/fix-pktloc-dep-race.patch
 delete mode 100644 meta-oe/recipes-support/libnl/libnl_2.0.bb
 delete mode 100644 meta-oe/recipes-support/libnl/libnl_git.bb
meta-oe/recipes-support/libnl/libnl/fix-pc-file.patch deleted +0 -11
deleted file mode 100644
index 17666fb..0000000
@@ -1,11 +0,0 @@
-Index: libnl-2.0/libnl-2.0.pc.in
-===================================================================
---- libnl-2.0.orig/libnl-2.0.pc.in
-+++ libnl-2.0/libnl-2.0.pc.in
-@@ -6,5 +6,5 @@
- Name: libnl
- Description: Convenience library for netlink sockets
- Version: @PACKAGE_VERSION@
--Libs: -L${libdir} -lnl
-+Libs: -L${libdir} -lnl -lnl-genl -lnl-nf -lnl-route
- Cflags: -I${includedir}
meta-oe/recipes-support/libnl/libnl/fix-pktloc-dep-race.patch deleted +0 -20
deleted file mode 100644
index ee21744..0000000
@@ -1,20 +0,0 @@
-Index: libnl-2.0/lib/Makefile.am
-===================================================================
---- libnl-2.0.orig/lib/Makefile.am
-+++ libnl-2.0/lib/Makefile.am
-@@ -27,11 +27,15 @@ CLEANFILES = \
- 	route/pktloc_grammar.c route/pktloc_grammar.h \
- 	route/pktloc_syntax.c route/pktloc_syntax.h
- 
-+BUILT_SOURCES = route/pktloc_syntax.h route/pktloc_grammar.h
-+
- # Hack to avoid using ylwrap. It does not function correctly in combination
- # with --header-file=
-+route/pktloc_grammar.h: route/pktloc_grammar.c
- route/pktloc_grammar.c: route/pktloc_grammar.l
- 	$(LEX) --header-file=route/pktloc_grammar.h $(LFLAGS) -o $@ $^
- 
-+route/pktloc_syntax.h: route/pktloc_syntax.c
- route/pktloc_syntax.c: route/pktloc_syntax.y
- 	$(YACC) -d $(YFLAGS) -o $@ $^
- 
meta-oe/recipes-support/libnl/libnl_2.0.bb deleted +0 -23
deleted file mode 100644
index e646e3d..0000000
@@ -1,23 +0,0 @@
-require libnl.inc
-PE = "1"
-PR = "${INC_PR}.0"
-
-LICENSE = "LGPLv2.1"
-LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc"
-
-DEPENDS = "flex-native bison-native"
-
-SRC_URI = "\
-  http://www.infradead.org/~tgr/libnl/files/libnl-${PV}.tar.gz \
-  file://fix-pc-file.patch \
-  file://fix-pktloc-dep-race.patch \
-"
-
-SRC_URI[md5sum] = "6aaf1e9802a17a7d702bb0638044ffa7"
-SRC_URI[sha256sum] = "5a40dc903d3ca1074da7424b908bec8ff16936484798c7e46e53e9db8bc87a9c"
-
-PACKAGES =+ "${PN}-route ${PN}-nf ${PN}-genl ${PN}-cli"
-FILES_${PN}-route = "${libdir}/libnl-route.so.*"
-FILES_${PN}-nf    = "${libdir}/libnl-nf.so.*"
-FILES_${PN}-genl  = "${libdir}/libnl-genl.so.*"
-FILES_${PN}-cli   = "${libdir}/libnl-cli.so.*"
meta-oe/recipes-support/libnl/libnl_git.bb deleted +0 -20
deleted file mode 100644
index a4a37a8..0000000
@@ -1,20 +0,0 @@
-require libnl.inc
-
-PE = "1"
-PV = "1.9+gitr${SRCPV}"
-PR = "${INC_PR}.0"
-
-DEPENDS = "flex-native bison-native"
-
-S = "${WORKDIR}/git"
-SRCREV = "d378220c96c3c8b6f27dca33e7d8ba03318f9c2d"
-SRC_URI = "\
-  git://git.kernel.org/pub/scm/libs/netlink/libnl.git;protocol=git \
-  file://fix-pc-file.patch \
-"
-
-PACKAGES =+ "${PN}-route ${PN}-nf ${PN}-genl ${PN}-cli"
-FILES_${PN}-route = "${libdir}/libnl-route.so.*"
-FILES_${PN}-nf    = "${libdir}/libnl-nf.so.*"
-FILES_${PN}-genl  = "${libdir}/libnl-genl.so.*"
-FILES_${PN}-cli   = "${libdir}/libnl-cli.so.*"
Signature · 1 line
1.7.7.2
#1 lore raw

PATCH 2/3 libnl1: remove libnl.inc as it doesn't help much with libnl 2.0 in oe-core

---
 meta-oe/recipes-support/libnl/libnl.inc     |    9 ---------
 meta-oe/recipes-support/libnl/libnl1_1.1.bb |    9 ++++++---
 2 files changed, 6 insertions(+), 12 deletions(-)
 delete mode 100644 meta-oe/recipes-support/libnl/libnl.inc
meta-oe/recipes-support/libnl/libnl.inc deleted +0 -9
deleted file mode 100644
index 6f502b1..0000000
@@ -1,9 +0,0 @@
-DESCRIPTION = "libnl is a library for applications dealing with netlink sockets"
-SECTION = "libs/network"
-LICENSE = "LGPL"
-HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
-
-INC_PR = "r5"
-
-inherit autotools pkgconfig
-
meta-oe/recipes-support/libnl/libnl1_1.1.bb +6 -3
index cf5396f..72f5995 100644
@@ -1,10 +1,13 @@
-require libnl.inc
+DESCRIPTION = "libnl is a library for applications dealing with netlink sockets"
+HOMEPAGE = "http://www.infradead.org/~tgr/libnl/"
+SECTION = "libs/network"
+
+inherit autotools pkgconfig
 
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = "file://COPYING;md5=2b41e13261a330ee784153ecbb6a82bc"
 
-
-PR = "${INC_PR}.0"
+PR = "r6"
 
 # move it to extra subdirectory
 includedir = "${prefix}/include/libnl1"
Signature · 1 line
1.7.7.2
#2 lore raw

PATCH 3/3 libav: disable yasm for x86 and x86-64 builds, because we don't have recipe for that

In reply to Martin Jansa
---
 meta-oe/recipes-multimedia/libav/libav.inc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
meta-oe/recipes-multimedia/libav/libav.inc +4 -0
index a560999..9d3f3b6 100644
@@ -54,6 +54,10 @@ EXTRA_OECONF = " \
         ${EXTRA_FFCONF} \
 "
 
+#| yasm not found, use --disable-yasm for a crippled build
+EXTRA_OECONF_append_x86-64 = " --disable-yasm"
+EXTRA_OECONF_append_x86 = " --disable-yasm"
+
 do_configure() {
 	# We don't have TARGET_PREFIX-pkgconfig
 	sed -i '/pkg_config_default="${cross_prefix}${pkg_config_default}"/d' ${S}/configure
Signature · 1 line
1.7.7.2