Hello.

For enlazar I need a newer version of NM as OE uses has right now. I'm
working with svn rev 3202 on my notebook for a long time. It's not svn
HEAD, but proven to work well. The second patch updates the
sane-srcrevs to it.

This NM version needs a newer version of libnl. libnl-1.0-pre8 instead
of libnl-1.0-pre6 which is currently in OE. Again not the newest one,
but the working API for this NM version.

Besides the new recipe the first patch also contains a build fix for
this version. I had to unset the LDFLAGS to get it to build. Why must
people write makefiles on their own instead using autotools? :(

A small warning for branch maintenance.

Short version: This changes will break the nm-applet in OE. So please
to don't sync this to OE yet.

Longer version: It would need a newer version for the applet. Something
like svn rev 425 of the applet svn. Updating the applet brings in
another dep. It needs nss which is not in OE yet.

Was a nice time to dig this all out. :)

John, Graeme, please apply. More patches for e_dbus and a recipe for
enlazar are coming. If you like me to push such things directly to
monotone.openmoko.org I'll can send you me mtn key, or you grab it
from OE.dev

regards
Stefan Schmidt
#
# old_revision [643ff7fcdf41fa41693534721a04b4ebc4e6d416]
#
# add_file "packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch"
#  content [c4d94662df225a0ee6e10889d64e44b213e8a5e8]
# 
# add_file "packages/libnl/libnl_1.0-pre8.bb"
#  content [c5fdce5b7e447567b1655109f367cb9d32fcd134]
#
============================================================
--- packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch	c4d94662df225a0ee6e10889d64e44b213e8a5e8
+++ packages/libnl/files/local-includes-and-avoid-wrong-ldflags.patch	c4d94662df225a0ee6e10889d64e44b213e8a5e8
@@ -0,0 +1,13 @@
+--- libnl-1.0-pre8/Makefile.opts.in.orig	2007-11-21 18:25:39.000000000 +0100
++++ libnl-1.0-pre8/Makefile.opts.in	2008-04-04 23:38:40.000000000 +0200
+@@ -10,8 +10,8 @@
+ #
+ 
+ CC               := @CC@
+-CFLAGS           := @CFLAGS@
+-LDFLAGS          := @LDFLAGS@
++CFLAGS           := -I./include -I. -I../include @CFLAGS@
++LDFLAGS          :=
+ CPPFLAGS         := @CPPFLAGS@
+ PACKAGE_NAME     := @PACKAGE_NAME@
+ PACKAGE_VERSION  := @PACKAGE_VERSION@
============================================================
--- packages/libnl/libnl_1.0-pre8.bb	c5fdce5b7e447567b1655109f367cb9d32fcd134
+++ packages/libnl/libnl_1.0-pre8.bb	c5fdce5b7e447567b1655109f367cb9d32fcd134
@@ -0,0 +1,18 @@
+DESCRIPTION = "libnl is a library for applications dealing with netlink sockets"
+SECTION = "libs/network"
+LICENSE = "LGPL"
+HOMEPAGE = "http://people.suug.ch/~tgr/libnl/";
+PRIORITY = "optional"
+PV = "0.99+1.0-pre8"
+
+inherit autotools pkgconfig gpe
+
+SRC_URI= "http://people.suug.ch/~tgr/libnl/files/${PN}-1.0-pre8.tar.gz \
+		   file://local-includes-and-avoid-wrong-ldflags.patch;patch=1"
+
+S = "${WORKDIR}/${PN}-1.0-pre8"
+
+do_stage () {
+	autotools_stage_all prefix=${prefix}
+}
+
#
# old_revision [643ff7fcdf41fa41693534721a04b4ebc4e6d416]
#
# patch "conf/distro/include/sane-srcrevs.inc"
#  from [8e295d04fb3a38aef0bd7fc4d864f2c7b307bbce]
#    to [dfe387b5708ce4e3724bc61b208d258cfd6df174]
#
============================================================
--- conf/distro/include/sane-srcrevs.inc	8e295d04fb3a38aef0bd7fc4d864f2c7b307bbce
+++ conf/distro/include/sane-srcrevs.inc	dfe387b5708ce4e3724bc61b208d258cfd6df174
@@ -73,7 +73,7 @@ SRCREV_pn-netsurf ?= "3859"
 SRCREV_pn-multitap-pad ?= "337"
 SRCREV_pn-neod ?= "4219"
 SRCREV_pn-netsurf ?= "3859"
-SRCREV_pn-networkmanager ?= "2887"
+SRCREV_pn-networkmanager ?= "3202"
 SRCREV_pn-networkmanager-applet ?= "200"
 SRCREV_pn-oh-puzzles ?= "22"
 SRCREV_pn-osb-browser ?= "125"

Attachment: signature.asc
Description: Digital signature

Reply via email to