[oe] [meta-oe][PATCH v2] testfloat: Fix No GNU_HASH in the elf binary warnings

2016-08-19 Thread Fahad Usman
These warnings are observed when testfloat is cross-compiled with certain
external toolchains.

Signed-off-by: Fahad Usman 
---
 .../testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/meta-oe/recipes-extended/testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch
 
b/meta-oe/recipes-extended/testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch
index cc124b3..71ca343 100644
--- 
a/meta-oe/recipes-extended/testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch
+++ 
b/meta-oe/recipes-extended/testfloat/files/0002-Makefile-for-cross-compile-TestFloat.patch
@@ -79,7 +79,7 @@ index 000..a89326a
 +  ${CC} -c -Werror-implicit-function-declaration $(TESTFLOAT_OPTS) \
 +$(C_INCLUDES) -O3 -o $@
 +MAKELIB = ${AR} crs $@
-+LINK = ${CC} -o $@
++LINK = ${CC} -o $@ ${LDFLAGS}
 +OTHER_LIBS = -lm
 +
 +OBJ = .o
-- 
2.8.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] testfloat: Fix No GNU_HASH in the elf binary warnings

2016-08-18 Thread Fahad Usman
These warnings are observed when testfloat is built with certain
external toolchains.

Signed-off-by: Fahad Usman 
---
 meta-oe/recipes-extended/testfloat/testfloat_3a.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-extended/testfloat/testfloat_3a.bb 
b/meta-oe/recipes-extended/testfloat/testfloat_3a.bb
index 28e9677..bb6e2ae 100644
--- a/meta-oe/recipes-extended/testfloat/testfloat_3a.bb
+++ b/meta-oe/recipes-extended/testfloat/testfloat_3a.bb
@@ -20,6 +20,8 @@ SRC_URI[SoftFloat.sha256sum] = 
"946fd23180559d60eb6683dda1cf8b142f5426dedfefb97b
 
 S = "${WORKDIR}"
 
+TARGET_CC_ARCH += "${LDFLAGS}"
+
 do_compile(){
 oe_runmake -C SoftFloat-${PV}/build/Linux-Cross-Compile/
 oe_runmake -C TestFloat-${PV}/build/Linux-Cross-Compile/
-- 
2.8.1

-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] tracker: add new recipe

2013-06-18 Thread Fahad Usman
- copy tracker recipe from meta-guacamayo layer to meta-oe
- package files that were not being shipped
- add systemd suppert for tracker

Signed-off-by: Fahad Usman 
---
 meta-oe/recipes-support/tracker/files/90tracker|  4 ++
 .../tracker/files/tracker-dbus.service | 15 +
 .../tracker/files/tracker-miner-fs.service | 12 
 .../tracker/files/tracker-store.service| 12 
 ...-Fix-missing-gobject-introspection-checks.patch | 17 ++
 .../enable-sqlite-crosscompile.patch   | 13 
 .../fix-removable-media-detection.patch| 30 ++
 meta-oe/recipes-support/tracker/tracker_0.14.2.bb  | 70 ++
 8 files changed, 173 insertions(+)
 create mode 100644 meta-oe/recipes-support/tracker/files/90tracker
 create mode 100644 meta-oe/recipes-support/tracker/files/tracker-dbus.service
 create mode 100644 
meta-oe/recipes-support/tracker/files/tracker-miner-fs.service
 create mode 100644 meta-oe/recipes-support/tracker/files/tracker-store.service
 create mode 100644 
meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch
 create mode 100644 
meta-oe/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch
 create mode 100644 
meta-oe/recipes-support/tracker/tracker-0.14.2/fix-removable-media-detection.patch
 create mode 100644 meta-oe/recipes-support/tracker/tracker_0.14.2.bb

diff --git a/meta-oe/recipes-support/tracker/files/90tracker 
b/meta-oe/recipes-support/tracker/files/90tracker
new file mode 100644
index 000..9594b91
--- /dev/null
+++ b/meta-oe/recipes-support/tracker/files/90tracker
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+/usr/bin/trackerd -m &
+
diff --git a/meta-oe/recipes-support/tracker/files/tracker-dbus.service 
b/meta-oe/recipes-support/tracker/files/tracker-dbus.service
new file mode 100644
index 000..9d4fb74
--- /dev/null
+++ b/meta-oe/recipes-support/tracker/files/tracker-dbus.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=tracker DBus session bus handler
+Before=tracker-store.service
+After=dbus.service
+Requires=dbus.service
+BindTo=tracker-store.service
+
+[Service]
+Type=forking
+EnvironmentFile=-/tmp/tracker.env
+ExecStartPre=/bin/rm -rf /tmp/tracker.env
+ExecStart=/bin/sh -c 'echo "DBUS_SESSION_BUS_ADDRESS=`dbus-daemon --fork 
--session --print-address`" > /tmp/tracker.env'
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-oe/recipes-support/tracker/files/tracker-miner-fs.service 
b/meta-oe/recipes-support/tracker/files/tracker-miner-fs.service
new file mode 100644
index 000..f143924
--- /dev/null
+++ b/meta-oe/recipes-support/tracker/files/tracker-miner-fs.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=tracker-miner-fs
+After=syslog.target local-fs.target udev.service dbus.service 
tracker-store.service
+Requires=tracker-store.service
+
+[Service]
+Environment=HOME=/home/root
+EnvironmentFile=-/tmp/tracker.env
+ExecStart=/usr/libexec/tracker-miner-fs
+
+[Install]
+WantedBy=multi-user.target
diff --git a/meta-oe/recipes-support/tracker/files/tracker-store.service 
b/meta-oe/recipes-support/tracker/files/tracker-store.service
new file mode 100644
index 000..7ca9ff0
--- /dev/null
+++ b/meta-oe/recipes-support/tracker/files/tracker-store.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=tracker-store
+After=syslog.target local-fs.target dbus.service
+Requires=dbus.service tracker-dbus.service
+BindTo=tracker-dbus.service
+
+[Service]
+EnvironmentFile=-/tmp/tracker.env
+ExecStart=/usr/libexec/tracker-store
+
+[Install]
+WantedBy=multi-user.target
diff --git 
a/meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch
 
b/meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch
new file mode 100644
index 000..8701f58
--- /dev/null
+++ 
b/meta-oe/recipes-support/tracker/tracker-0.14.2/0005-Fix-missing-gobject-introspection-checks.patch
@@ -0,0 +1,17 @@
+diff -Naur ../tracker-0.10.8/configure.ac tracker-0.10.8//configure.ac
+--- ../tracker-0.10.8/configure.ac 2011-04-08 15:03:30.0 +0300
 tracker-0.10.8//configure.ac   2011-04-11 13:47:16.625914002 +0300
+@@ -218,7 +218,12 @@
+ 
+ # Needed to generate .gir files,
+ # see http://live.gnome.org/GnomeGoals/AddGObjectIntrospectionSupport
+-GOBJECT_INTROSPECTION_CHECK([0.9.5])
++#GOBJECT_INTROSPECTION_CHECK([0.9.5])
++# Satisfy missing introspection foo
++AM_CONDITIONAL(HAVE_INTROSPECTION, test "0" == "1")
++
++INTROSPECTION_CFLAGS=""
++AC_SUBST(INTROSPECTION_CFLAGS)
+ 
+ # NOTE: dbus and dbus-glib-1 are only used now for libtracker-client
+ # which is deprecated and tracker-writeback which will be refactored
diff --git 
a/meta-oe/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch
 
b/meta-oe/recipes-support/tracker/tracker-0.14.2/enable-sqlite-crosscompile.patch
new file mode 100644
index 000..5dadda2
--- /dev/n

[oe] [meta-browser][PATCH] nss: fix access to https websites

2013-01-21 Thread Fahad Usman
Signed-off-by: Fahad Usman 
---
 recipes-support/nss/nss_3.13.3.bb |4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-support/nss/nss_3.13.3.bb 
b/recipes-support/nss/nss_3.13.3.bb
index bb602b1..a841397 100644
--- a/recipes-support/nss/nss_3.13.3.bb
+++ b/recipes-support/nss/nss_3.13.3.bb
@@ -1,7 +1,7 @@
 DESCRIPTION = "Mozilla's SSL and TLS implementation"
 HOMEPAGE = "http://www.mozilla.org/projects/security/pki/nss/";
 
-PR = "r1"
+PR = "r2"
 
 LICENSE = "MPL1.1 GPL LGPL"
 LIC_FILES_CHKSUM = 
"file://security/nss/manifest.mn;md5=d71978748f23eae3156c38ac2a691924"
@@ -66,6 +66,8 @@ do_install() {
NS_USE_GCC=1 \
NSS_USE_SYSTEM_SQLITE=1 \
NSS_ENABLE_ECC=1 \
+   FREEBL_CHILD_BUILD=1 \ 
+   CC="${CC}" \
SOURCE_LIB_DIR="${TD}/${libdir}" \
SOURCE_BIN_DIR="${TD}/${bindir}"
 
-- 
1.7.9.5


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser][PATCH 2/2] chromium: fix dependencies

2013-01-10 Thread Fahad Usman
And I used sourcery codebench professional 2012.09 as an external toolchain
On Jan 11, 2013 2:03 AM, "Fahad Usman"  wrote:

> Hi Eric
> I have tested these patches with freescale imx6 sabrelite target.
>
> Fahad
>
> On Jan 10, 2013 9:31 PM, "Eric Bénard"  wrote:
> >
> > Hi Fahad,
> >
> > Le Thu, 10 Jan 2013 21:22:39 +0500,
> > Fahad Usman  a écrit :
> >
> > > * fix dependencies to build chromium package successfully with current
> state
> > >   of OE
> > >
> > OK so we need to create a danny branch and apply this one only on
> > master.
> >
> > May you please tell for which targets you tested chromium with these
> > patches ?
> >
> > Thanks
> > Eric
> >
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-browser][PATCH 2/2] chromium: fix dependencies

2013-01-10 Thread Fahad Usman
Hi Eric
I have tested these patches with freescale imx6 sabrelite target.

Fahad

On Jan 10, 2013 9:31 PM, "Eric Bénard"  wrote:
>
> Hi Fahad,
>
> Le Thu, 10 Jan 2013 21:22:39 +0500,
> Fahad Usman  a écrit :
>
> > * fix dependencies to build chromium package successfully with current
state
> >   of OE
> >
> OK so we need to create a danny branch and apply this one only on
> master.
>
> May you please tell for which targets you tested chromium with these
> patches ?
>
> Thanks
> Eric
>
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [meta-browser][PATCH 2/2] chromium: fix dependencies

2013-01-10 Thread Fahad Usman
* fix dependencies to build chromium package successfully with current state
  of OE

* add native support to libxi

Signed-off-by: Fahad Usman 
---
 recipes-browser/chromium/chromium_19.0.1049.3.bb |5 +++--
 recipes-graphics/libxi/libxi_1.6.1.bbappend  |2 ++
 2 files changed, 5 insertions(+), 2 deletions(-)
 create mode 100644 recipes-graphics/libxi/libxi_1.6.1.bbappend

diff --git a/recipes-browser/chromium/chromium_19.0.1049.3.bb 
b/recipes-browser/chromium/chromium_19.0.1049.3.bb
index 22b141c..6744ee1 100644
--- a/recipes-browser/chromium/chromium_19.0.1049.3.bb
+++ b/recipes-browser/chromium/chromium_19.0.1049.3.bb
@@ -1,7 +1,8 @@
 DESCRIPTION = "Chromium browser"
 LICENSE = "BSD"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=3cb55cc4ec38bb01d2ceaaa66b5436c2"
-DEPENDS = "xextproto cairo nss gtk+-native zlib-native libxi libgnome-keyring 
libxss cups"
+DEPENDS = "xextproto cairo nss gtk+ gtk+-native zlib-native libxi gconf udev \
+   libgnome-keyring libxss cups cairo-native libxi-native alsa-lib"
 
 SRC_URI = 
"http://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.bz2 
\
file://include.gypi \
@@ -16,7 +17,7 @@ COMPATIBLE_MACHINE = "(-)"
 COMPATIBLE_MACHINE_armv6 = "(.*)"
 COMPATIBLE_MACHINE_armv7a = "(.*)"
 
-PR = "r2"
+PR = "r3"
 
 SRC_URI[md5sum] = "0cdd94b2be21180af93f719e9a9a2883"
 SRC_URI[sha256sum] = 
"3bdce0bd8381cd699014e7ec72ab02c7d8444ba511c27afff76bf015361c4021"
diff --git a/recipes-graphics/libxi/libxi_1.6.1.bbappend 
b/recipes-graphics/libxi/libxi_1.6.1.bbappend
new file mode 100644
index 000..c90046b
--- /dev/null
+++ b/recipes-graphics/libxi/libxi_1.6.1.bbappend
@@ -0,0 +1,2 @@
+PRINC := "${@int(PRINC) + 1}"
+BBCLASSEXTEND += "native"
-- 
1.7.9.5


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [meta-browser][PATCH 1/2] chromium: fix webkit build with newer bison

2013-01-10 Thread Fahad Usman
the chromium tarball contains its own copy of webkit sources and it fails to
build with bison-2.6 or later. Martin Jansa submitted a fix for this
problem in webkit-gtk recipei in poky,
commit id=4b5705c426743e812d6da25ff37c335e073bfb12

We need to apply the same fix here as well

Signed-off-by: Fahad Usman 
---
 recipes-browser/chromium/chromium/bison-2.6.patch |  558 +
 recipes-browser/chromium/chromium_19.0.1049.3.bb  |3 +-
 2 files changed, 560 insertions(+), 1 deletion(-)
 create mode 100644 recipes-browser/chromium/chromium/bison-2.6.patch

diff --git a/recipes-browser/chromium/chromium/bison-2.6.patch 
b/recipes-browser/chromium/chromium/bison-2.6.patch
new file mode 100644
index 000..b327e60
--- /dev/null
+++ b/recipes-browser/chromium/chromium/bison-2.6.patch
@@ -0,0 +1,558 @@
+Upstream-Status: Backport
+http://trac.webkit.org/changeset/124099
+
+Subversion Revision: 123651
+diff --git a/third_party/WebKit/Source/WebCore/css/CSSGrammar.y 
b/third_party/WebKit/Source/WebCore/css/CSSGrammar.y
+index 
c7c10b541cd46ad4febc6efe289e81b2cfb0861e..1c604e76b4da4cc65f395bc4a73b112561bd5c84
 100644
+--- a/third_party/WebKit/Source/WebCore/css/CSSGrammar.y
 b/third_party/WebKit/Source/WebCore/css/CSSGrammar.y
+@@ -53,14 +53,13 @@ using namespace HTMLNames;
+ #define YYMAXDEPTH 1
+ #define YYDEBUG 0
+ 
+-// FIXME: Replace with %parse-param { CSSParser* parser } once we can depend 
on bison 2.x
+-#define YYPARSE_PARAM parser
+-#define YYLEX_PARAM parser
+-
+ %}
+ 
+ %pure_parser
+ 
++%parse-param { CSSParser* parser }
++%lex-param { CSSParser* parser }
++
+ %union {
+ bool boolean;
+ char character;
+@@ -89,7 +88,7 @@ using namespace HTMLNames;
+ 
+ %{
+ 
+-static inline int cssyyerror(const char*)
++static inline int cssyyerror(void*, const char*)
+ {
+ return 1;
+ }
+diff --git a/third_party/WebKit/Source/WebCore/css/CSSParser.cpp 
b/third_party/WebKit/Source/WebCore/css/CSSParser.cpp
+index 
650844060477cfc6ea6fdeaf11ec63b34ac646e7..8369549dbff25537cf93a11237a9bbbac4fe50f2
 100644
+--- a/third_party/WebKit/Source/WebCore/css/CSSParser.cpp
 b/third_party/WebKit/Source/WebCore/css/CSSParser.cpp
+@@ -114,7 +114,7 @@
+ extern int cssyydebug;
+ #endif
+ 
+-extern int cssyyparse(void* parser);
++extern int cssyyparse(WebCore::CSSParser*);
+ 
+ using namespace std;
+ using namespace WTF;
+diff --git a/third_party/WebKit/Source/WebCore/xml/XPathGrammar.y 
b/third_party/WebKit/Source/WebCore/xml/XPathGrammar.y
+index 
2eba5b35bd2338272a0f4ec756d137e47d2d59c8..d558211db2d89ea13716762a51397755560f66f3
 100644
+--- a/third_party/WebKit/Source/WebCore/xml/XPathGrammar.y
 b/third_party/WebKit/Source/WebCore/xml/XPathGrammar.y
+@@ -34,6 +34,7 @@
+ #include "XPathParser.h"
+ #include "XPathPath.h"
+ #include "XPathPredicate.h"
++#include "XPathStep.h"
+ #include "XPathVariableReference.h"
+ #include 
+ 
+@@ -44,8 +45,6 @@
+ #define YYLTYPE_IS_TRIVIAL 1
+ #define YYDEBUG 0
+ #define YYMAXDEPTH 1
+-#define YYPARSE_PARAM parserParameter
+-#define PARSER static_cast(parserParameter)
+ 
+ using namespace WebCore;
+ using namespace XPath;
+@@ -53,6 +52,7 @@ using namespace XPath;
+ %}
+ 
+ %pure_parser
++%parse-param { WebCore::XPath::Parser* parser }
+ 
+ %union
+ {
+@@ -71,7 +71,7 @@ using namespace XPath;
+ %{
+ 
+ static int xpathyylex(YYSTYPE* yylval) { return 
Parser::current()->lex(yylval); }
+-static void xpathyyerror(const char*) { }
++static void xpathyyerror(void*, const char*) { }
+ 
+ %}
+ 
+@@ -118,7 +118,7 @@ static void xpathyyerror(const char*) { }
+ Expr:
+ OrExpr
+ {
+-PARSER->m_topExpr = $1;
++parser->m_topExpr = $1;
+ }
+ ;
+ 
+@@ -138,7 +138,7 @@ AbsoluteLocationPath:
+ '/'
+ {
+ $$ = new LocationPath;
+-PARSER->registerParseNode($$);
++parser->registerParseNode($$);
+ }
+ |
+ '/' RelativeLocationPath
+@@ -150,7 +150,7 @@ AbsoluteLocationPath:
+ {
+ $$ = $2;
+ $$->insertFirstStep($1);
+-PARSER->unregisterParseNode($1);
++parser->unregisterParseNode($1);
+ }
+ ;
+ 
+@@ -159,22 +159,22 @@ RelativeLocationPath:
+ {
+ $$ = new LocationPath;
+ $$->appendStep($1);
+-PARSER->unregisterParseNode($1);
+-PARSER->registerParseNode($$);
++parser->unregisterParseNode($1);
++parser->registerParseNode($$);
+ }
+ |
+ RelativeLocationPath '/' Step
+ {
+ $$->appendStep($3);
+-PARSER->unregisterParseNode($3);
++parser->unregisterParseNode($3);
+ }
+ |
+ RelativeLocationPath DescendantOrSelf Step
+ {
+ $$->appendStep($2);
+ $$->appendStep($3);
+-PARSER->unregisterParseNode($2);
+-PARSER->unregisterParseNode($3);
++parser->unregisterParseNode($2);
++  

[oe] [meta-oe][PATCH] samba: disable avahi and build without acl

2012-12-19 Thread Fahad Usman
disable avahi and acl to avoid some random build failures. We do not want
samba to auto-detect the presence of avahi and/or acl, explicitly disabling
or enabling them guarantees a more predictable build process

Signed-off-by: Fahad Usman 
---
 meta-oe/recipes-connectivity/samba/samba.inc  |2 ++
 meta-oe/recipes-connectivity/samba/samba_3.6.8.bb |2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-connectivity/samba/samba.inc 
b/meta-oe/recipes-connectivity/samba/samba.inc
index 416334a..a86c8be 100644
--- a/meta-oe/recipes-connectivity/samba/samba.inc
+++ b/meta-oe/recipes-connectivity/samba/samba.inc
@@ -34,6 +34,8 @@ EXTRA_OECONF='--disable-cups \
   --with-swatdir=${datadir}/swat \
   --with-aio-support \
   --without-libtalloc \
+  --without-acl-support \
+  --disable-avahi \
   samba_cv_struct_timespec=yes \
   libreplace_cv_HAVE_MMAP=${SAMBAMMAP}'
 
diff --git a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb 
b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
index 5722cb6..fc039b1 100644
--- a/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
+++ b/meta-oe/recipes-connectivity/samba/samba_3.6.8.bb
@@ -3,7 +3,7 @@ require samba-basic.inc
 LICENSE = "GPLv3"
 LIC_FILES_CHKSUM = "file://../COPYING;md5=d32239bcb673463ab874e80d47fae504"
 
-PR = "r4"
+PR = "r5"
 
 SRC_URI += "\
 file://config-h.patch \
-- 
1.7.9.5


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [OE-core] [PATCH] readline: add missing macros in acinclude.m4

2012-07-23 Thread Fahad Usman
kindly ignore this patch, I was supposed to send it on openembedded-core

Sorry for inconvenience

--
Fahad


On Mon, Jul 23, 2012 at 2:51 PM,  wrote:

> From: Fahad Usman 
>
> some bash macros are missing from acinclude.m4 which are added up-stream.
> This
> wasn't actually breaking anything but but it was causing the configure
> script
> to not run all the tests it's intended to run. (by Christopher Larson)
>
> Signed-off-by: Fahad Usman 
> ---
>  meta/recipes-core/readline/files/acinclude.m4 |   56
> +
>  1 files changed, 56 insertions(+), 0 deletions(-)
>
> diff --git a/meta/recipes-core/readline/files/acinclude.m4
> b/meta/recipes-core/readline/files/acinclude.m4
> index 8a45f99..c30a7d3 100644
> --- a/meta/recipes-core/readline/files/acinclude.m4
> +++ b/meta/recipes-core/readline/files/acinclude.m4
> @@ -1813,3 +1813,59 @@ AC_MSG_RESULT($ac_cv_rl_version)
>
>  fi
>  ])
> +
> +AC_DEFUN(BASH_FUNC_CTYPE_NONASCII,
> +[
> +AC_MSG_CHECKING(whether the ctype macros accept non-ascii characters)
> +AC_CACHE_VAL(bash_cv_func_ctype_nonascii,
> +[AC_TRY_RUN([
> +#ifdef HAVE_LOCALE_H
> +#include 
> +#endif
> +#include 
> +#include 
> +
> +main(c, v)
> +intc;
> +char   *v[];
> +{
> +   char*deflocale;
> +   unsigned char x;
> +   int r1, r2;
> +
> +#ifdef HAVE_SETLOCALE
> +   /* We take a shot here.  If that locale is not known, try the
> +  system default.  We try this one because '\342' (226) is
> +  known to be a printable character in that locale. */
> +   deflocale = setlocale(LC_ALL, "en_US.ISO8859-1");
> +   if (deflocale == 0)
> +   deflocale = setlocale(LC_ALL, "");
> +#endif
> +
> +   x = '\342';
> +   r1 = isprint(x);
> +   x -= 128;
> +   r2 = isprint(x);
> +   exit (r1 == 0 || r2 == 0);
> +}
> +], bash_cv_func_ctype_nonascii=yes, bash_cv_func_ctype_nonascii=no,
> +   [AC_MSG_WARN(cannot check ctype macros if cross compiling --
> defaulting to no)
> +bash_cv_func_ctype_nonascii=no]
> +)])
> +AC_MSG_RESULT($bash_cv_func_ctype_nonascii)
> +if test $bash_cv_func_ctype_nonascii = yes; then
> +AC_DEFINE(CTYPE_NON_ASCII)
> +fi
> +])
> +
> +AC_DEFUN(BASH_TYPE_SIG_ATOMIC_T,
> +[AC_CACHE_CHECK([for sig_atomic_t in signal.h], ac_cv_have_sig_atomic_t,
> +[AC_TRY_LINK([
> +#include 
> +],[ sig_atomic_t x; ],
> +ac_cv_have_sig_atomic_t=yes, ac_cv_have_sig_atomic_t=no)])
> +if test "$ac_cv_have_sig_atomic_t" = "no"
> +then
> +AC_CHECK_TYPE(sig_atomic_t,int)
> +fi
> +])
> --
> 1.7.1
>
>
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [OE-core] [PATCH] readline: add missing macros in acinclude.m4

2012-07-23 Thread fahad . usman
From: Fahad Usman 

some bash macros are missing from acinclude.m4 which are added up-stream. This
wasn't actually breaking anything but but it was causing the configure script
to not run all the tests it's intended to run. (by Christopher Larson)

Signed-off-by: Fahad Usman 
---
 meta/recipes-core/readline/files/acinclude.m4 |   56 +
 1 files changed, 56 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-core/readline/files/acinclude.m4 
b/meta/recipes-core/readline/files/acinclude.m4
index 8a45f99..c30a7d3 100644
--- a/meta/recipes-core/readline/files/acinclude.m4
+++ b/meta/recipes-core/readline/files/acinclude.m4
@@ -1813,3 +1813,59 @@ AC_MSG_RESULT($ac_cv_rl_version)
 
 fi
 ])
+
+AC_DEFUN(BASH_FUNC_CTYPE_NONASCII,
+[
+AC_MSG_CHECKING(whether the ctype macros accept non-ascii characters)
+AC_CACHE_VAL(bash_cv_func_ctype_nonascii,
+[AC_TRY_RUN([
+#ifdef HAVE_LOCALE_H
+#include 
+#endif
+#include 
+#include 
+
+main(c, v)
+intc;
+char   *v[];
+{
+   char*deflocale;
+   unsigned char x;
+   int r1, r2;
+
+#ifdef HAVE_SETLOCALE
+   /* We take a shot here.  If that locale is not known, try the
+  system default.  We try this one because '\342' (226) is
+  known to be a printable character in that locale. */
+   deflocale = setlocale(LC_ALL, "en_US.ISO8859-1");
+   if (deflocale == 0)
+   deflocale = setlocale(LC_ALL, "");
+#endif
+
+   x = '\342';
+   r1 = isprint(x);
+   x -= 128;
+   r2 = isprint(x);
+   exit (r1 == 0 || r2 == 0);
+}
+], bash_cv_func_ctype_nonascii=yes, bash_cv_func_ctype_nonascii=no,
+   [AC_MSG_WARN(cannot check ctype macros if cross compiling -- defaulting to 
no)
+bash_cv_func_ctype_nonascii=no]
+)])
+AC_MSG_RESULT($bash_cv_func_ctype_nonascii)
+if test $bash_cv_func_ctype_nonascii = yes; then
+AC_DEFINE(CTYPE_NON_ASCII)
+fi
+])
+
+AC_DEFUN(BASH_TYPE_SIG_ATOMIC_T,
+[AC_CACHE_CHECK([for sig_atomic_t in signal.h], ac_cv_have_sig_atomic_t,
+[AC_TRY_LINK([
+#include 
+],[ sig_atomic_t x; ],
+ac_cv_have_sig_atomic_t=yes, ac_cv_have_sig_atomic_t=no)])
+if test "$ac_cv_have_sig_atomic_t" = "no"
+then
+AC_CHECK_TYPE(sig_atomic_t,int)
+fi
+])
-- 
1.7.1


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] wpa-supplicant: fix for dso link change

2012-07-12 Thread Fahad Usman
* add lgpg-error to LIBS explicitly in order to to make it work with the
updated dso linking behavior in newer versions of binutils

Signed-off-by: Fahad Usman 
---
 .../wpa-supplicant-0.7.3/dso-link-change.patch |   13 +
 .../wpa-supplicant/wpa-supplicant-0.7.inc  |3 ++-
 .../wpa-supplicant/wpa-supplicant_0.7.3.bb |2 +-
 3 files changed, 16 insertions(+), 2 deletions(-)
 create mode 100644 
meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.3/dso-link-change.patch

diff --git 
a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.3/dso-link-change.patch
 
b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.3/dso-link-change.patch
new file mode 100644
index 000..1903d1f
--- /dev/null
+++ 
b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.3/dso-link-change.patch
@@ -0,0 +1,13 @@
+--- wpa_supplicant/Makefile
 wpa_supplicant/Makefile
+@@ -768,8 +768,8 @@ OBJS_p += ../src/crypto/crypto_gnutls.o
+ ifdef NEED_FIPS186_2_PRF
+ OBJS += ../src/crypto/fips_prf_gnutls.o
+ endif
+-LIBS += -lgcrypt
+-LIBS_p += -lgcrypt
++LIBS += -lgcrypt -lgpg-error
++LIBS_p += -lgcrypt -lgpg-error
+ CONFIG_INTERNAL_SHA256=y
+ CONFIG_INTERNAL_RC4=y
+ CONFIG_INTERNAL_DH_GROUP5=y
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc 
b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
index 6c84202..430f7fa 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant-0.7.inc
@@ -14,7 +14,8 @@ SRC_URI = 
"http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
file://wpa-supplicant.sh \
file://wpa_supplicant.conf \
file://wpa_supplicant.conf-sane \
-   file://99_wpa_supplicant"
+   file://99_wpa_supplicant \
+   file://dso-link-change.patch"
 
 S = "${WORKDIR}/wpa_supplicant-${PV}/wpa_supplicant"
 
diff --git a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb 
b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
index 6f6378b..7521bbe 100644
--- a/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
+++ b/meta/recipes-connectivity/wpa-supplicant/wpa-supplicant_0.7.3.bb
@@ -1,6 +1,6 @@
 require wpa-supplicant-0.7.inc
 
-PR = "r12"
+PR = "r13"
 
 SRC_URI[md5sum] = "f516f191384a9a546e3f5145c08addda"
 SRC_URI[sha256sum] = 
"d0cd50caa85346ccc376dcda5ed3c258eef19a93b3cade39d25760118ad59443"
-- 
1.7.1


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] python-setuptools: mergerd natinve and target

2010-09-30 Thread Fahad Usman
* merged native and target recipes and converted to new style staging
* bumped PR
* added BBCLASSEXTEND = "native" and NATIVE_INSTALL_WORKS = "1"

Signed-off-by: Fahad Usman 
---
 recipes/python/python-setuptools-native_0.6c9.bb |   11 ---
 recipes/python/python-setuptools_0.6c9.bb|7 ++-
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/recipes/python/python-setuptools-native_0.6c9.bb 
b/recipes/python/python-setuptools-native_0.6c9.bb
deleted file mode 100644
index 3a39701..000
--- a/recipes/python/python-setuptools-native_0.6c9.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require python-setuptools_${PV}.bb
-inherit native
-
-DEPENDS = "python-native"
-
-do_stage() {
-   distutils_stage_all
-}
-
-SRC_URI[md5sum] = "3864c01d9c719c8924c455714492295e"
-SRC_URI[sha256sum] = 
"e6190497301b6cb1484b9e6173723452c8df1b4cd9ea97af75c9589b1c34b3d8"
diff --git a/recipes/python/python-setuptools_0.6c9.bb 
b/recipes/python/python-setuptools_0.6c9.bb
index d2682bb..069437a 100644
--- a/recipes/python/python-setuptools_0.6c9.bb
+++ b/recipes/python/python-setuptools_0.6c9.bb
@@ -4,7 +4,8 @@ SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "MIT"
 SRCNAME = "setuptools"
-PR = "ml1"
+PR = "ml2"
+DEPENDS_pn-python-setuptools-native = "python-native"
 
 SRC_URI = "\
   
http://cheeseshop.python.org/packages/source/s/setuptools/${SRCNAME}-${PV}.tar.gz\
@@ -25,3 +26,7 @@ RDEPENDS_${PN} = "\
 
 SRC_URI[md5sum] = "3864c01d9c719c8924c455714492295e"
 SRC_URI[sha256sum] = 
"e6190497301b6cb1484b9e6173723452c8df1b4cd9ea97af75c9589b1c34b3d8"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] python-twisted: mergerd natinve and target

2010-09-28 Thread Fahad Usman
* merged native and targer recipes and converted to new style staging
* bumped PR
* added BBCLASSEXTEND = "native" and NATIVE_INSTALL_WORKS = "1"
* note: the ipk file created by building python-twisted-native does not contain 
easy-install.pth which was being packaged in case of non-legacy staging, this 
is because its explicitly removed in distutils_do_install function.

Signed-off-by: Fahad Usman 
---
 recipes/python/python-twisted-native_8.2.0.bb |   12 
 recipes/python/python-twisted_8.2.0.bb|   11 ++-
 2 files changed, 10 insertions(+), 13 deletions(-)

diff --git a/recipes/python/python-twisted-native_8.2.0.bb 
b/recipes/python/python-twisted-native_8.2.0.bb
deleted file mode 100644
index 4631fb0..000
--- a/recipes/python/python-twisted-native_8.2.0.bb
+++ /dev/null
@@ -1,12 +0,0 @@
-require python-twisted_${PV}.bb
-
-RDEPENDS_${PN} = ""
-
-inherit native
-
-do_stage() {
-   distutils_stage_all
-}
-
-SRC_URI[md5sum] = "c85f151999df3ecf04c49a781b4438d2"
-SRC_URI[sha256sum] = 
"e0602bb05e31f6100b6f9ab35cfa93ab9f7a1c50a351a0ddfcd236a923bddfb0"
diff --git a/recipes/python/python-twisted_8.2.0.bb 
b/recipes/python/python-twisted_8.2.0.bb
index 7ecbf6c..6eac0b4 100644
--- a/recipes/python/python-twisted_8.2.0.bb
+++ b/recipes/python/python-twisted_8.2.0.bb
@@ -5,11 +5,15 @@ HOMEPAGE = "http://www.twistedmatrix.com";
 SECTION = "console/network"
 PRIORITY = "optional"
 LICENSE = "LGPL"
-PR = "r2"
+PR = "r3"
 
 SRC_URI = 
"http://tmrc.mit.edu/mirror/twisted/Twisted/8.2/Twisted-${PV}.tar.bz2 "
 S = "${WORKDIR}/Twisted-${PV}"
 
+do_install_virtclass-native() {
+distutils_do_install
+}
+
 inherit setuptools
 
 PACKAGES += "\
@@ -42,6 +46,7 @@ RDEPENDS_${PN} += "\
   ${PN}-web \
   ${PN}-words \
 "
+RDEPENDS_${PN}_virtclass-native = ""
 
 ALLOW_EMPTY = "1"
 FILES_${PN} = ""
@@ -213,3 +218,7 @@ ${libdir}/${PYTHON_DIR}/site-packages/twisted/*/*/.debug \
 
 SRC_URI[md5sum] = "c85f151999df3ecf04c49a781b4438d2"
 SRC_URI[sha256sum] = 
"e0602bb05e31f6100b6f9ab35cfa93ab9f7a1c50a351a0ddfcd236a923bddfb0"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] qmake-native_1.07a.bb: Converted to new style staging

2010-09-24 Thread Fahad Usman
* Converted do_stage to do_install.
* Added NATIVE_INSTALL_WORKS = "1"
* replaced QMAKE_MKSPEC_PATH (which is defined in bitbake.conf) with 
${D}${datadir}/qmake as discussed on irc
* Bumped PR

Signed-off-by: Fahad Usman 
---
 recipes/qmake/qmake-native_1.07a.bb |   15 +++
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/recipes/qmake/qmake-native_1.07a.bb 
b/recipes/qmake/qmake-native_1.07a.bb
index 36efe89..ac87b45 100644
--- a/recipes/qmake/qmake-native_1.07a.bb
+++ b/recipes/qmake/qmake-native_1.07a.bb
@@ -3,7 +3,7 @@ PRIORITY = "optional"
 HOMEPAGE = "http://www.trolltech.com";
 SECTION = "devel"
 LICENSE = "GPL QPL"
-PR = "r5"
+PR = "r6"
 
 QTEVER = "qt-embedded-free-3.3.5"
 
@@ -35,15 +35,14 @@ do_compile() {
:
 }
 
-do_stage() {
-   install -m 0755 bin/qmake ${STAGING_BINDIR}
-   install -d ${QMAKE_MKSPEC_PATH}
-   cp -fPR mkspecs/* ${QMAKE_MKSPEC_PATH}
-}
-
 do_install() {
-:
+install -d ${D}${bindir}
+install -m 0755 bin/qmake ${D}${bindir}
+install -d ${D}${datadir}/qmake
+cp -fPR mkspecs/* ${D}${datadir}/qmake
 }
 
 SRC_URI[md5sum] = "022d7a3c572b554f3c47b12cae71a8a4"
 SRC_URI[sha256sum] = 
"a97656796c0ef8e87dd83e6138bc406e31830d08f9b213e039d8be39ea65c8e4"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] python-epydoc_3.0.1.bb: merged native and non-native recipes

2010-09-24 Thread Fahad Usman
* removed the python-epydoc-native_3.0.1.bb file
* added DEPENDS_pn-python-epydoc-native = "python-native" and added 
DEPENDS_pn-python-epydoc = "python"
* added BBCLASSEXTEND = "native"
* added NATIVE_INSTALL_WORKS = "1"
* bunped PR

Signed-off-by: Fahad Usman 
---
 recipes/python/python-epydoc-native_3.0.1.bb |   11 ---
 recipes/python/python-epydoc_3.0.1.bb|8 +++-
 2 files changed, 7 insertions(+), 12 deletions(-)

diff --git a/recipes/python/python-epydoc-native_3.0.1.bb 
b/recipes/python/python-epydoc-native_3.0.1.bb
deleted file mode 100644
index c9d6813..000
--- a/recipes/python/python-epydoc-native_3.0.1.bb
+++ /dev/null
@@ -1,11 +0,0 @@
-require python-epydoc_${PV}.bb
-DEPENDS = "python-native"
-inherit native
-
-do_stage() {
-   distutils_stage_all
-}
-
-
-SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
-SRC_URI[sha256sum] = 
"d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1"
diff --git a/recipes/python/python-epydoc_3.0.1.bb 
b/recipes/python/python-epydoc_3.0.1.bb
index a2b66e3..6a2e591 100644
--- a/recipes/python/python-epydoc_3.0.1.bb
+++ b/recipes/python/python-epydoc_3.0.1.bb
@@ -4,7 +4,9 @@ PRIORITY = "optional"
 LICENSE = "MIT" 
 HOMEPAGE = "http://epydoc.sourceforge.net/"; 
 SRCNAME = "epydoc" 
-DEPENDS = "python" 
+DEPENDS_pn-python-epydoc = "python"
+DEPENDS_pn-python-epydoc-native = "python-native"
+PR = "r1"
  
 SRC_URI = 
"http://downloads.sourceforge.net/project/${SRCNAME}/${SRCNAME}/${PV}/${SRCNAME}-${PV}.tar.gz";
 
 S = "${WORKDIR}/${SRCNAME}-${PV}" 
@@ -13,3 +15,7 @@ inherit distutils
 
 SRC_URI[md5sum] = "cdd6f6c76dd8bab5e653a343a0544294"
 SRC_URI[sha256sum] = 
"d4e5c8d90937d01b05170f592c1fa9b29e9ed0498dfe7f0eb2a3af61725b6ad1"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] python-pyrex_0.9.8.5.bb: merged native and non-native recipes

2010-09-24 Thread Fahad Usman
* removed the python-pyrex-native_0.9.8.5.bb file
* added DEPENDS_pn-python-pyrex-native = "python-native"
* added BBCLASSEXTEND = "native"
* added NATIVE_INSTALL_WORKS = "1"
* bunped PR

Signed-off-by: Fahad Usman 
---
 recipes/python/python-pyrex-native_0.9.8.5.bb |   13 -
 recipes/python/python-pyrex_0.9.8.5.bb|7 ++-
 2 files changed, 6 insertions(+), 14 deletions(-)

diff --git a/recipes/python/python-pyrex-native_0.9.8.5.bb 
b/recipes/python/python-pyrex-native_0.9.8.5.bb
deleted file mode 100644
index 109b49e..000
--- a/recipes/python/python-pyrex-native_0.9.8.5.bb
+++ /dev/null
@@ -1,13 +0,0 @@
-require python-pyrex_${PV}.bb
-inherit native
-DEPENDS = "python-native"
-RDEPENDS_${PN} = ""
-
-do_stage() {
-   BUILD_SYS=${BUILD_SYS} HOST_SYS=${HOST_SYS} \
-   STAGING_LIBDIR=${STAGING_LIBDIR} STAGING_INCDIR=${STAGING_INCDIR} \
-${STAGING_BINDIR}/python setup.py install 
--prefix=${STAGING_BINDIR}/.. --install-data=${STAGING_DATADIR}
-}
-
-SRC_URI[md5sum] = "3b3d8397c2c9a58fc59a90e2b49c651a"
-SRC_URI[sha256sum] = 
"dd60bc66b1627d3cbd0950499017dfd57a0705bb12493bb0de2a7b9b5c0873bc"
diff --git a/recipes/python/python-pyrex_0.9.8.5.bb 
b/recipes/python/python-pyrex_0.9.8.5.bb
index c354b11..34af4f8 100644
--- a/recipes/python/python-pyrex_0.9.8.5.bb
+++ b/recipes/python/python-pyrex_0.9.8.5.bb
@@ -5,7 +5,8 @@ SECTION = "devel/python"
 PRIORITY = "optional"
 LICENSE = "GPL"
 SRCNAME = "Pyrex"
-PR = "ml1"
+DEPENDS_pn-python-pyrex-native = "python-native"
+PR = "ml2"
 
 SRC_URI = "\
   
http://www.cosc.canterbury.ac.nz/greg.ewing/python/${SRCNAME}/${SRCNAME}-${PV}.tar.gz
 \
@@ -17,3 +18,7 @@ inherit distutils
 
 SRC_URI[md5sum] = "3b3d8397c2c9a58fc59a90e2b49c651a"
 SRC_URI[sha256sum] = 
"dd60bc66b1627d3cbd0950499017dfd57a0705bb12493bb0de2a7b9b5c0873bc"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] nkf_2.07.bb: merged native and non-native recipes

2010-09-20 Thread Fahad Usman
* removed the nkf-native_2.07.bb file
* added NATIVE_INSTALL_WORKS = "1"
* added BBCLASSEXTEND = "native"
* bumped PR

Signed-off-by: Fahad Usman 
---
 recipes/nkf/nkf-native_2.07.bb |   14 --
 recipes/nkf/nkf_2.07.bb|7 ++-
 2 files changed, 6 insertions(+), 15 deletions(-)

diff --git a/recipes/nkf/nkf-native_2.07.bb b/recipes/nkf/nkf-native_2.07.bb
deleted file mode 100644
index b9782ae..000
--- a/recipes/nkf/nkf-native_2.07.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require nkf_${PV}.bb
-inherit native
-
-do_stage() {
-install -m 0755 nkf ${STAGING_BINDIR}
-}
-
-do_install() {
-   :
-}
-
-
-SRC_URI[md5sum] = "af11dcd3fe71d67831c020e3bfd5073b"
-SRC_URI[sha256sum] = 
"71d2ba992df209a00bb1dca45e3336729dc16e51b71526bd20f897cc6127a275"
diff --git a/recipes/nkf/nkf_2.07.bb b/recipes/nkf/nkf_2.07.bb
index ef6e23d..20ee2b2 100644
--- a/recipes/nkf/nkf_2.07.bb
+++ b/recipes/nkf/nkf_2.07.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Network Kanji Code Conversion Filter"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
 SRC_URI = "http://ftp.debian.org/debian/pool/main/n/nkf/nkf_${PV}.orig.tar.gz";
 S = "${WORKDIR}/nkf207"
@@ -16,3 +16,8 @@ do_install() {
 SRC_URI[md5sum] = "af11dcd3fe71d67831c020e3bfd5073b"
 SRC_URI[sha256sum] = 
"71d2ba992df209a00bb1dca45e3336729dc16e51b71526bd20f897cc6127a275"
 TARGET_CC_ARCH += "${LDFLAGS}"
+
+BBCLASSEXTEND = "native"
+ 
+NATIVE_INSTALL_WORKS = "1"
+
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] classpath-tools-native.bb: Converted to new style staging

2010-09-17 Thread Fahad Usman
* Converted do_stage to do_install.
* Added NATIVE_INSTALL_WORKS = "1"
* Added PR = "r1"

Signed-off-by: Fahad Usman 
---
 recipes/classpath/classpath-tools-native.bb |7 +--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/recipes/classpath/classpath-tools-native.bb 
b/recipes/classpath/classpath-tools-native.bb
index 7adf702..52566be 100644
--- a/recipes/classpath/classpath-tools-native.bb
+++ b/recipes/classpath/classpath-tools-native.bb
@@ -5,9 +5,12 @@
 DESCRIPTION = "Provides working jar, javah etc. from the GNU Classpath project"
 
 DEPENDS = "virtual/java-native classpath-native"
+PR = "r1"
 
 inherit native
 
-do_stage() {
-   :
+do_install() {
+:
 }
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] nkf_2.07.bb: fixed build error (QA Issue with nkf: No GNU_HASH in the elf binary)

2010-09-15 Thread Fahad Usman
* added TARGET_CC_ARCH += "${LDFLAGS}"
* added PR = "r1"

Signed-off-by: Fahad Usman 
---
 recipes/nkf/nkf_2.07.bb |2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/recipes/nkf/nkf_2.07.bb b/recipes/nkf/nkf_2.07.bb
index 52044b4..ef6e23d 100644
--- a/recipes/nkf/nkf_2.07.bb
+++ b/recipes/nkf/nkf_2.07.bb
@@ -1,5 +1,6 @@
 DESCRIPTION = "Network Kanji Code Conversion Filter"
 LICENSE = "GPL"
+PR = "r1"
 
 SRC_URI = "http://ftp.debian.org/debian/pool/main/n/nkf/nkf_${PV}.orig.tar.gz";
 S = "${WORKDIR}/nkf207"
@@ -14,3 +15,4 @@ do_install() {
 
 SRC_URI[md5sum] = "af11dcd3fe71d67831c020e3bfd5073b"
 SRC_URI[sha256sum] = 
"71d2ba992df209a00bb1dca45e3336729dc16e51b71526bd20f897cc6127a275"
+TARGET_CC_ARCH += "${LDFLAGS}"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] omniorb_4.1.4: merged native and non-native recipes

2010-09-09 Thread Fahad Usman
* removed the omniorb-native_4.1.4.bb file
* added DEPENDS_pn-omniorb = "omniorb-native" and DEPENDS_pn-omniorb-native += 
"python-native" to handle different dependencies for native and target recipes, 
thanks to Vitus Jensen for guidance
* added NATIVE_INSTALL_WORKS = "1"
* added BBCLASSEXTEND = "native"
* added do_install_virtclass-native and converted do_stage from native recipe 
to do_install_virtclass-native_append in the combined recipe
* bumped PR

Signed-off-by: Fahad Usman 
---
 recipes/omniorb/omniorb-native_4.1.4.bb |   23 -
 recipes/omniorb/omniorb_4.1.4.bb|   33 +-
 2 files changed, 27 insertions(+), 29 deletions(-)

diff --git a/recipes/omniorb/omniorb-native_4.1.4.bb 
b/recipes/omniorb/omniorb-native_4.1.4.bb
deleted file mode 100644
index c5c550d..000
--- a/recipes/omniorb/omniorb-native_4.1.4.bb
+++ /dev/null
@@ -1,23 +0,0 @@
-SECTION = "devel"
-DEPENDS += "python-native"
-PR = "r0"
-
-SRC_URI = 
"http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz
 \
- file://omniorb_4.1.4.patch \
-"
-
-SRC_URI[omniORB414targz.md5sum] = "1f6070ff9b6339876976d61981eeaa6a"
-SRC_URI[omniORB414targz.sha256sum] = 
"84fb9790c25d6e46248c9773747e393b429573190da2150850d4a49debda4e8e"
-
-S = "${WORKDIR}/omniORB-${PV}"
-
-inherit native autotools
-
-do_compile () {
-oe_runmake
-}
-# Ugly hack so libtool does not find native libs when building cross packages
-# We really only build this package for omniidl anyway
-do_stage_append() {
-rm -f  ${STAGING_LIBDIR_NATIVE}/libomni*
-}
diff --git a/recipes/omniorb/omniorb_4.1.4.bb b/recipes/omniorb/omniorb_4.1.4.bb
index a4c032c..03a1554 100644
--- a/recipes/omniorb/omniorb_4.1.4.bb
+++ b/recipes/omniorb/omniorb_4.1.4.bb
@@ -2,8 +2,9 @@ DESCRIPTION = "OmniORB High Performance ORB"
 SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "LGPL"
-DEPENDS = "omniorb-native"
-PR = "r0"
+DEPENDS_pn-omniorb = "omniorb-native"
+DEPENDS_pn-omniorb-native += "python-native"
+PR = "r1"
 
 SRC_URI = 
"http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz
 \
 file://omniorb_4.1.4.patch \ 
@@ -12,6 +13,10 @@ file://omniORB-cross.patch \
 file://omniORB_embedded_appl.patch \
 file://rm_LongDouble.patch \
 "
+SRC_URI_virtclass-native = 
"http://downloads.sourceforge.net/omniorb/omniORB-4.1.4.tar.gz;name=omniORB414targz
 \
+ file://omniorb_4.1.4.patch \
+"
+
 
 SRC_URI[omniORB414targz.md5sum] = "1f6070ff9b6339876976d61981eeaa6a"
 SRC_URI[omniORB414targz.sha256sum] = 
"84fb9790c25d6e46248c9773747e393b429573190da2150850d4a49debda4e8e"
@@ -29,9 +34,14 @@ do_compile () {
oe_runmake

 }
+
+do_compile_virtclass-native() {
+oe_runmake
+}
+
 do_install () {
 export EmbeddedSystem=1
-make DESTDIR=${D} install
+autotools_do_install
 install -d ${D}${sysconfdir}
 install -m 0644 ${WORKDIR}/omniORB.cfg ${D}${sysconfdir}
 install -d ${D}${localstatedir}/omninames
@@ -39,7 +49,18 @@ do_install () {
#only executable libraries are stripped by the stripper
chmod +x ${WORKDIR}/image/usr/lib/lib*
 }
-do_stage () {
-export EmbeddedSystem=1
-autotools_stage_all
+
+do_install_virtclass-native() {
+autotools_do_install
+}
+
+# The following comment is from the omniorb-native recipe which is now merged 
into this one...
+# Ugly hack so libtool does not find native libs when building cross packages
+# We really only build this package for omniidl anyway
+do_install_virtclass-native_append() {
+rm -f  ${D}${libdir}/libomni*
 }
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] glib-1.2: merged native and non-native recipes

2010-09-08 Thread Fahad Usman
* removed the glib-1.2-native_1.2.10.bb file
* added NATIVE_INSTALL_WORKS = "1"
* added BBCLASSEXTEND = "native"
* converted do_stage of native recipe to do_install_virtclass-native in the 
combined recipe
* added DEPENDS_virtclass-native = "" to avoid dependencies loops
* added gettext in inherit because it was needed by the native recipes
* bumped PR

Signed-off-by: Fahad Usman 
---
 recipes/glib-1.2/glib-1.2-native_1.2.10.bb |   49 
 recipes/glib-1.2/glib-1.2_1.2.10.bb|   20 ++-
 2 files changed, 18 insertions(+), 51 deletions(-)

diff --git a/recipes/glib-1.2/glib-1.2-native_1.2.10.bb 
b/recipes/glib-1.2/glib-1.2-native_1.2.10.bb
deleted file mode 100644
index d00e9a1..000
--- a/recipes/glib-1.2/glib-1.2-native_1.2.10.bb
+++ /dev/null
@@ -1,49 +0,0 @@
-PR = "r0"
-LICENSE = "LGPL"
-DESCRIPTION = "GLib 1.2 is a deprecated libray to \
-provide support for old glib 1.2 based applications"
-SECTION = "libs"
-PRIORITY = "optional"
-DEPENDS = ""
-
-FILESDIR = "$...@os.path.dirname(bb.data.getVar('FILE',d,1))}/glib-1.2-${PV}"
-
-EXTRA_OECONF = "--disable-debug"
-
-SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v1.2/glib-${PV}.tar.gz \
-   file://glibconfig-sysdefs.h \
-   file://depcomp \
-   file://glib-reconf-fix;apply=yes \
-   file://posix-conf-changes;apply=yes \
-   file://gcc-3.4-pretty_function;apply=yes"
-
-
-S = "${WORKDIR}/glib-${PV}"
-
-inherit autotools pkgconfig native gettext
-
-acpaths = ""
-do_configure_prepend () {
-   install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h .
-   install -m 0644 ${WORKDIR}/depcomp .
-   rm -f ltconfig acinclude.m4 libtool ltmain.sh
-}
-
-
-do_stage () {
-   oe_libinstall -so libglib ${STAGING_LIBDIR}
-   oe_libinstall -so -C gmodule libgmodule ${STAGING_LIBDIR}
-   oe_libinstall -so -C gthread libgthread ${STAGING_LIBDIR}
-   autotools_stage_includes
-   install -d ${STAGING_INCDIR}/glib-1.2
-   install -m 0755 ${S}/glibconfig.h 
${STAGING_INCDIR}/glib-1.2/glibconfig.h
-   install -d ${STAGING_DATADIR}/aclocal
-   install -m 0644 ${S}/glib.m4 ${STAGING_DATADIR}/aclocal/glib-1.2.m4
-}
-
-do_install () {
-   :
-}
-
-SRC_URI[md5sum] = "6fe30dad87c77b91b632def29dd69ef9"
-SRC_URI[sha256sum] = 
"6e1ce7eedae713b11db82f11434d455d8a1379f783a79812cd2e05fc024a8d9f"
diff --git a/recipes/glib-1.2/glib-1.2_1.2.10.bb 
b/recipes/glib-1.2/glib-1.2_1.2.10.bb
index 72ee826..67266d4 100644
--- a/recipes/glib-1.2/glib-1.2_1.2.10.bb
+++ b/recipes/glib-1.2/glib-1.2_1.2.10.bb
@@ -4,7 +4,8 @@ SECTION = "libs"
 PRIORITY = "optional"
 LICENSE = "LGPL"
 DEPENDS = "glib-1.2-native"
-PR = "r4"
+DEPENDS_virtclass-native = ""
+PR = "r5"
 
 LEAD_SONAME = "libglib-1.2.*"
 
@@ -22,7 +23,7 @@ SRC_URI = "ftp://ftp.gtk.org/pub/gtk/v1.2/glib-${PV}.tar.gz \
 
 S = "${WORKDIR}/glib-${PV}"
 
-inherit autotools pkgconfig binconfig
+inherit autotools pkgconfig binconfig gettext
 
 acpaths = ""
 do_configure_prepend () {
@@ -31,6 +32,17 @@ do_configure_prepend () {
rm -f ltconfig acinclude.m4 libtool ltmain.sh
 }
 
+do_install_virtclass-native () {
+oe_libinstall -so libglib ${D}${libdir}
+oe_libinstall -so -C gmodule libgmodule ${D}${libdir}
+oe_libinstall -so -C gthread libgthread ${D}${libdir}
+autotools_do_install
+install -d ${D}${includedir}/glib-1.2
+install -m 0644 glibconfig.h glib.h ${D}${includedir}/glib-1.2/
+install -d ${D}${datadir}/aclocal
+install -m 0644 ${S}/glib.m4 ${D}${datadir}/aclocal/glib-1.2.m4
+}
+
 do_install_append () {
install -d ${D}${includedir}/glib-1.2
install -m 0644 glibconfig.h glib.h ${D}${includedir}/glib-1.2/
@@ -42,3 +54,7 @@ FILES_${PN}-dev += "${libdir}/glib/include/glibconfig.h"
 
 SRC_URI[md5sum] = "6fe30dad87c77b91b632def29dd69ef9"
 SRC_URI[sha256sum] = 
"6e1ce7eedae713b11db82f11434d455d8a1379f783a79812cd2e05fc024a8d9f"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] gconf-native_2.6.1.bb: Converted to new style staging

2010-09-07 Thread Fahad Usman
* Converted do_stage to do_install.
* Added NATIVE_INSTALL_WORKS = "1"
* Added PR = "r1"
Note: Not merging it into the non-native recipe as this is a dummy recipe and 
it does not need all the regular stuff.

Signed-off-by: Fahad Usman 
---
 recipes/gnome/gconf-native_2.6.1.bb |   10 +++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/recipes/gnome/gconf-native_2.6.1.bb 
b/recipes/gnome/gconf-native_2.6.1.bb
index 79163a4..f3f5fd8 100644
--- a/recipes/gnome/gconf-native_2.6.1.bb
+++ b/recipes/gnome/gconf-native_2.6.1.bb
@@ -1,10 +1,14 @@
 NOTE = "This is just a dummy package to get packages stop complaining about 
gconftool-2 \
 which they are not using anyway... :D"
 
+PR = "r1"
+
 inherit native
 
-do_stage() {
-   echo "#!/bin/sh" >${STAGING_BINDIR}/gconftool-2
-   chmod a+rx ${STAGING_BINDIR}/gconftool-2
+do_install() {
+install -d ${D}${bindir}
+echo "#!/bin/sh" >${D}${bindir}/gconftool-2
+chmod a+rx ${D}${bindir}/gconftool-2
 }
 
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] docbook-dsssl-stylesheets-native_1.79.bb: converted to new style staging

2010-09-07 Thread Fahad Usman
* Converted do_stage to do_install.
* Moved the catalog files from ${sysconfdir}/sgml to ${D}${sysconfdir}/sgml so 
that they get included in the package file resulting with the new style staging.
* Added a function docbook_dssl_stylesheets_native_mangle, to correct the path 
in .cat file and added it to SYSROOT_PREPROCESS_FUNCS.
* Added PR = "r1"

Signed-off-by: Fahad Usman 
---
 .../docbook-dsssl-stylesheets-native_1.79.bb   |   41 ++--
 1 files changed, 29 insertions(+), 12 deletions(-)

diff --git 
a/recipes/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb 
b/recipes/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
index cd4e56c..234606f 100644
--- a/recipes/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
+++ b/recipes/docbook-dsssl-stylesheets/docbook-dsssl-stylesheets-native_1.79.bb
@@ -9,30 +9,47 @@ SRC_URI = 
"${SOURCEFORGE_MIRROR}/docbook/docbook-dsssl-${PV}.tar.bz2"
 
 S = "${WORKDIR}/docbook-dsssl-${PV}"
 
+PR = "r1"
+
+SYSROOT_PREPROCESS_FUNCS += "docbook_dssl_stylesheets_native_mangle"
+
 inherit native
 
-do_stage () {
+do_install () {
 # Refer to 
http://www.linuxfromscratch.org/blfs/view/stable/pst/docbook-dsssl.html
 # for details.
-install -d ${STAGING_BINDIR_NATIVE}
-install -m 0755 bin/collateindex.pl ${STAGING_BINDIR_NATIVE}
-
-install -d ${STAGING_DATADIR}/sgml/docbook/dsssl-stylesheets-${PV}
-install -m 0644 catalog 
${STAGING_DATADIR}/sgml/docbook/dsssl-stylesheets-${PV}
-cp -dpr common ${STAGING_DATADIR}/sgml/docbook/dsssl-stylesheets-${PV}
-
+install -d ${D}${bindir}
+install -m 0755 bin/collateindex.pl ${D}${bindir}
+ 
+install -d ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}
+install -m 0644 catalog ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}
+cp -dpr common ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}
+
 install-catalog --add ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat \
-  ${STAGING_DATADIR}/sgml/docbook/dsssl-stylesheets-${PV}/catalog
-   
+  ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}/catalog
+
 install-catalog --add ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat \
-  ${STAGING_DATADIR}/sgml/docbook/dsssl-stylesheets-${PV}/common/catalog
+  ${D}${datadir}/sgml/docbook/dsssl-stylesheets-${PV}/common/catalog
 
 install-catalog --add ${sysconfdir}/sgml/sgml-docbook.cat \
   ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
-   
+
+# Moving them to image directory so that they get included in the .ipk 
file 
+# generated by new style staging.
+install -d ${D}${sysconfdir}/sgml
+cp ${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat ${D}${sysconfdir}/sgml/
+cp ${sysconfdir}/sgml/sgml-docbook.cat ${D}${sysconfdir}/sgml/
+cp ${sysconfdir}/sgml/catalog ${D}${sysconfdir}/sgml/
 }
 
 PACKAGES = ""
 
+docbook_dssl_stylesheets_native_mangle () {
+# Removing the image directory path (${D}) from the .cat file.
+sed -i -e "s|${D}||g" 
${SYSROOT_DESTDIR}${sysconfdir}/sgml/dsssl-docbook-stylesheets.cat
+}
+
 SRC_URI[md5sum] = "bc192d23266b9a664ca0aba4a7794c7c"
 SRC_URI[sha256sum] = 
"2f329e120bee9ef42fbdd74ddd60e05e49786c5a7953a0ff4c680ae6bdf0e2bc"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] uicmoc-native_2.3.10.bb: converted to new style staging

2010-09-06 Thread Fahad Usman
* Converted do_stage to do_install.
* Bumped PR
* Added NATIVE_INSTALL_WORKS = "1"

Signed-off-by: Fahad Usman 
---
 recipes/uicmoc/uicmoc-native_2.3.10.bb |   13 -
 1 files changed, 8 insertions(+), 5 deletions(-)

diff --git a/recipes/uicmoc/uicmoc-native_2.3.10.bb 
b/recipes/uicmoc/uicmoc-native_2.3.10.bb
index c161571..8c69bef 100644
--- a/recipes/uicmoc/uicmoc-native_2.3.10.bb
+++ b/recipes/uicmoc/uicmoc-native_2.3.10.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.trolltech.com";
 SECTION = "devel"
 PRIORITY = "optional"
 LICENSE = "GPL QPL"
-PR = "r4"
+PR = "r5"
 
 SRC_URI = "ftp://ftp.trolltech.com/pub/qt/source/qt-embedded-${PV}-free.tar.gz 
\
file://fix-makefile.patch \
@@ -43,11 +43,14 @@ do_compile() {
 oe_runmake -C tools/makeqpf   || die "Building makeqpf failed"
 }
 
-do_stage() {
-install -m 0755 bin/moc ${STAGING_BINDIR}
-install -m 0755 bin/uic ${STAGING_BINDIR}
-install -m 0755 tools/makeqpf/makeqpf ${STAGING_BINDIR}
+do_install() {
+install -d ${D}${bindir}
+install -m 0755 bin/moc ${D}${bindir}
+install -m 0755 bin/uic ${D}${bindir}
+install -m 0755 tools/makeqpf/makeqpf ${D}${bindir}
 }
 
 SRC_URI[md5sum] = "1f7ad30113afc500cab7f5b2f4dec0d7"
 SRC_URI[sha256sum] = 
"883363eb0c94de3d1e36f3ab9e09a8f127418d497213cc1a0ed1a1588ecd66b8"
+
+NATIVE_INSTALL_WORKS = "1" 
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] opie-lrelease-native: Converted to new style staging

2010-09-02 Thread Fahad Usman
* Converted do_stage to do_install.
* Added NATIVE_INSTALL_WORKS = "1"
* Added INC_PR = "r1" to the .inc file and PR = "${INC_PR}.0" to the .bb files

Signed-off-by: Fahad Usman 
---
 recipes/opie-i18n/opie-lrelease-native.inc  |8 ++--
 recipes/opie-i18n/opie-lrelease-native_1.2.3.bb |1 +
 recipes/opie-i18n/opie-lrelease-native_1.2.4.bb |1 +
 3 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/recipes/opie-i18n/opie-lrelease-native.inc 
b/recipes/opie-i18n/opie-lrelease-native.inc
index f536704..337196f 100644
--- a/recipes/opie-i18n/opie-lrelease-native.inc
+++ b/recipes/opie-i18n/opie-lrelease-native.inc
@@ -3,6 +3,7 @@ SECTION = "opie/base"
 PRIORITY = "optional"
 LICENSE = "GPL"
 DEPENDS = "uicmoc3-native"
+INC_PR = "r1"
 
 S = "${WORKDIR}/opie-lrelease"
 
@@ -11,6 +12,9 @@ inherit native qmake qt3e
 export OE_QMAKE_LINK="${CXX}"
 EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl"
 
-do_stage() {
-   install -m 0755 opie-lrelease ${STAGING_BINDIR}/
+do_install() {
+install -d ${D}${bindir}/
+install -m 0755 opie-lrelease ${D}${bindir}/
 }
+
+NATIVE_INSTALL_WORKS = "1"
diff --git a/recipes/opie-i18n/opie-lrelease-native_1.2.3.bb 
b/recipes/opie-i18n/opie-lrelease-native_1.2.3.bb
index ce4d83f..8c33dd6 100644
--- a/recipes/opie-i18n/opie-lrelease-native_1.2.3.bb
+++ b/recipes/opie-i18n/opie-lrelease-native_1.2.3.bb
@@ -1,4 +1,5 @@
 require ${PN}.inc
+PR = "${INC_PR}.0"
 
 TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
 SRC_URI = 
"${HANDHELDS_CVS};tag=${TAG};module=opie/development/translation/opie-lrelease \
diff --git a/recipes/opie-i18n/opie-lrelease-native_1.2.4.bb 
b/recipes/opie-i18n/opie-lrelease-native_1.2.4.bb
index ce4d83f..8c33dd6 100644
--- a/recipes/opie-i18n/opie-lrelease-native_1.2.4.bb
+++ b/recipes/opie-i18n/opie-lrelease-native_1.2.4.bb
@@ -1,4 +1,5 @@
 require ${PN}.inc
+PR = "${INC_PR}.0"
 
 TAG = "${@'v' + bb.data.getVar('PV',d,1).replace('.', '_')}"
 SRC_URI = 
"${HANDHELDS_CVS};tag=${TAG};module=opie/development/translation/opie-lrelease \
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] pad-native: converted to new style staging

2010-09-02 Thread Fahad Usman
* Converted do_stage to do_install.
* Added INC_PR = "r1"
* Added NATIVE_INSTALL_WORKS = "1"

Signed-off-by: Fahad Usman 
---
 recipes/pad/pad-native.bb |8 ++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes/pad/pad-native.bb b/recipes/pad/pad-native.bb
index e8c2b6d..cc1f7aa 100644
--- a/recipes/pad/pad-native.bb
+++ b/recipes/pad/pad-native.bb
@@ -3,6 +3,7 @@ DESCRIPTION = "Console utility for padding a file (filling with 
0 to reach a spe
 FILESDIR = "$...@os.path.dirname(bb.data.getVar('FILE',d,1))}/pad"
 SRC_URI = "file://pad.c"
 LICENSE = "PD"
+PR = "r1"
 inherit native
 
 do_compile() {
@@ -10,6 +11,9 @@ do_compile() {
${CC} -I. -o pad pad.c
 }
 
-do_stage() {
-   install -m 0755 pad ${STAGING_BINDIR}/
+do_install() {
+   install -d ${D}${bindir}/
+   install -m 0755 pad ${D}${bindir}/
 }
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] pngcrush_1.7.9: merged native and non-native recipes

2010-09-02 Thread Fahad Usman
* removed the pngcrush-native_1.7.9.bb file
* added NATIVE_INSTALL_WORKS = "1"
* added BBCLASSEXTEND = "native"
* added PR = "r1"

Signed-off-by: Fahad Usman 
---
 recipes/pngcrush/pngcrush-native_1.7.9.bb |9 -
 recipes/pngcrush/pngcrush_1.7.9.bb|5 +
 2 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/recipes/pngcrush/pngcrush-native_1.7.9.bb 
b/recipes/pngcrush/pngcrush-native_1.7.9.bb
deleted file mode 100644
index 4e119a1..000
--- a/recipes/pngcrush/pngcrush-native_1.7.9.bb
+++ /dev/null
@@ -1,9 +0,0 @@
-require pngcrush_${PV}.bb
-
-inherit native
-
-S = "${WORKDIR}/pngcrush-${PV}"
-
-do_stage() {
-install -m 755 ${S}/pngcrush ${STAGING_BINDIR}/
-}
diff --git a/recipes/pngcrush/pngcrush_1.7.9.bb 
b/recipes/pngcrush/pngcrush_1.7.9.bb
index fc284f2..a4a2273 100644
--- a/recipes/pngcrush/pngcrush_1.7.9.bb
+++ b/recipes/pngcrush/pngcrush_1.7.9.bb
@@ -1,6 +1,7 @@
 DESCRIPTION = "Tool to optimize PNG images"
 SECTION = "console/graphics"
 HOMEPAGE = "http://pmt.sourceforge.net/pngcrush";
+PR = "r1"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/pmt/pngcrush-${PV}.tar.gz;name=src"
 
@@ -16,3 +17,7 @@ do_install () {
 install -d ${D}${bindir}
 install -m 755 ${BPN} ${D}${bindir}
 }
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] docbook-sgml-dtd-native: converted to new style staging

2010-09-01 Thread Fahad Usman
* Converted do_stage to do_install.
* Moved the catalog files from ${sysconfdir}/sgml to ${D}${sysconfdir}/sgml so 
that they get included in the package file resulting with the new style staging.
* Added a function docbook_sgml_dtd_native_mangle, to correct the path in .cat 
file and added it to SYSROOT_PREPROCESS_FUNCS.
* Added INC_PR = "r1" to the .inc file and PR = "${INC_PR}.0" to the .bb files

Signed-off-by: Fahad Usman 
---
 .../docbook-sgml-dtd-3.1-native.bb |2 +
 .../docbook-sgml-dtd-4.1-native.bb |2 +
 .../docbook-sgml-dtd-4.4-native.bb |2 +
 .../docbook-sgml-dtd-4.5-native.bb |2 +
 .../docbook-sgml-dtd/docbook-sgml-dtd-native.inc   |   27 ++-
 5 files changed, 28 insertions(+), 7 deletions(-)

diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb 
b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
index 939fd53..7f5e19e 100644
--- a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
+++ b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-3.1-native.bb
@@ -2,6 +2,8 @@ require docbook-sgml-dtd-native.inc
 
 DTD_VERSION = "3.1"
 
+PR = "${INC_PR}.0"
+
 SRC_URI = 
"http://www.docbook.org/sgml/3.1/docbk31.zip;md5sum=432749c0c806dbae81c8bcb70da3b5d3";
 
 do_compile() {
diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb 
b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb
index 2bc43e1..e6650ed 100644
--- a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb
+++ b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.1-native.bb
@@ -2,6 +2,8 @@ require docbook-sgml-dtd-native.inc
 
 DTD_VERSION = "4.1"
 
+PR = "${INC_PR}.0"
+
 SRC_URI = "http://docbook.org/sgml/4.1/docbk41.zip";
 
 do_compile() {
diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.4-native.bb 
b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.4-native.bb
index 9e51964..537e8b2 100644
--- a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.4-native.bb
+++ b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.4-native.bb
@@ -2,6 +2,8 @@ require docbook-sgml-dtd-native.inc
 
 DTD_VERSION = "4.4"
 
+PR = "${INC_PR}.0"
+
 do_compile() {
 # Refer to 
http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
 # for details.
diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb 
b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb
index f5e257c..82deb33 100644
--- a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb
+++ b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-4.5-native.bb
@@ -2,6 +2,8 @@ require docbook-sgml-dtd-native.inc
 
 DTD_VERSION = "4.5"
 
+PR = "${INC_PR}.0"
+
 do_compile() {
 # Refer to 
http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
 # for details.
diff --git a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc 
b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
index 69c9811..06db68d 100644
--- a/recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
+++ b/recipes/docbook-sgml-dtd/docbook-sgml-dtd-native.inc
@@ -12,20 +12,33 @@ SRC_URI = 
"http://www.docbook.org/sgml/${DTD_VERSION}/docbook-${DTD_VERSION}.zip
 
 S = "${WORKDIR}"
 
+INC_PR = "r1"
+
+SYSROOT_PREPROCESS_FUNCS += "docbook_sgml_dtd_native_mangle"
+
 inherit native
 
-do_stage () {
+do_install () {
 # Refer to 
http://www.linuxfromscratch.org/blfs/view/stable/pst/sgml-dtd.html
 # for details.
-install -d -m 755 ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${DTD_VERSION}
-install docbook.cat 
${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${DTD_VERSION}/catalog
-cp -dpr *.dtd *.mod *.dcl 
${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${DTD_VERSION}
-
+install -d -m 755 ${D}${datadir}/sgml/docbook/sgml-dtd-${DTD_VERSION}
+install docbook.cat 
${D}${datadir}/sgml/docbook/sgml-dtd-${DTD_VERSION}/catalog
+cp -dpr *.dtd *.mod *.dcl 
${D}${datadir}/sgml/docbook/sgml-dtd-${DTD_VERSION}
+
 install-catalog --add 
${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat \
-  ${STAGING_DATADIR}/sgml/docbook/sgml-dtd-${DTD_VERSION}/catalog
-   
+  ${D}${datadir}/sgml/docbook/sgml-dtd-${DTD_VERSION}/catalog
 install-catalog --add 
${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat \
   ${sysconfdir}/sgml/sgml-docbook.cat
+# Moving them to image directory so that they get included in the .ipk 
file 
+# generated by new style staging.
+install -d ${D}${sysconfdir}/sgml
+cp ${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat 
${D}${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERSION}.cat
+cp ${sysconfdir}/sgml/catalog ${D}${sysconfdir}/sgml/
 }
 
 PACKAGES = ""
+docbook_sgml_dtd_native_mangle () {
+# Removing the image directory path (${D}) from the .cat file.
+sed -i -e "s|${D}||g" 
${SYSROOT_DESTDIR}${sysconfdir}/sgml/sgml-docbook-dtd-${DTD_VERS

[oe] [PATCH] lemon_3.5.4: merged native and non-native recipes

2010-08-27 Thread Fahad Usman
* removed the lemon-native_3.5.4.bb file
* added NATIVE_INSTALL_WORKS = "1"
* added BBCLASSEXTEND = "native"
* bumped PR

Signed-off-by: Fahad Usman 
---
 recipes/lemon/lemon-native_3.5.4.bb |   14 --
 recipes/lemon/lemon_3.5.4.bb|6 +-
 2 files changed, 5 insertions(+), 15 deletions(-)

diff --git a/recipes/lemon/lemon-native_3.5.4.bb 
b/recipes/lemon/lemon-native_3.5.4.bb
deleted file mode 100644
index f293ab1..000
--- a/recipes/lemon/lemon-native_3.5.4.bb
+++ /dev/null
@@ -1,14 +0,0 @@
-require lemon.inc
-
-PR = "r0"
-
-inherit native
-
-do_stage() {
-   install -d ${STAGING_BINDIR}
-   install -m 0755 lemon ${STAGING_BINDIR}
-   install -m 0644 lempar.c ${STAGING_BINDIR}
-}
-
-SRC_URI[md5sum] = "f17da840eed792e896c3408d0ce97718"
-SRC_URI[sha256sum] = 
"47daba209bd3bcffa1c5fcd5fdfc4f524eae619b4fa855aeeb1bbbc8bd2bb04f"
diff --git a/recipes/lemon/lemon_3.5.4.bb b/recipes/lemon/lemon_3.5.4.bb
index 0be511a..719a84f 100644
--- a/recipes/lemon/lemon_3.5.4.bb
+++ b/recipes/lemon/lemon_3.5.4.bb
@@ -1,6 +1,6 @@
 require lemon.inc
 
-PR = "r0"
+PR = "r1"
 
 do_install() {
install -d ${D}${bindir}
@@ -12,3 +12,7 @@ do_install() {
 
 SRC_URI[md5sum] = "f17da840eed792e896c3408d0ce97718"
 SRC_URI[sha256sum] = 
"47daba209bd3bcffa1c5fcd5fdfc4f524eae619b4fa855aeeb1bbbc8bd2bb04f"
+
+BBCLASSEXTEND = "native"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] [v2] makedevs_1.0.0: got rid of separate native recipe and removed legacy staging (corrected signed-off by line)

2010-08-26 Thread Fahad Usman
* converted do_stage to do_install

* replaced ${STAGING_BINDIR} with ${D}${bindir}

* moved the do_install to non-native recipe

* added BBCLASSEXTEND = "native"

* added NATIVE_INSTALL_WORKS = "1"

* bumped PR

Signed-off-by: Fahad Usman 
---
 recipes/makedevs/makedevs-native_1.0.0.bb |   10 --
 recipes/makedevs/makedevs_1.0.0.bb|   10 --
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/recipes/makedevs/makedevs-native_1.0.0.bb 
b/recipes/makedevs/makedevs-native_1.0.0.bb
deleted file mode 100644
index 004a713..000
--- a/recipes/makedevs/makedevs-native_1.0.0.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-SECTION = "base"
-require makedevs_${PV}.bb
-inherit native
-
-FILESDIR = "$...@os.path.dirname(bb.data.getVar('FILE',d,1))}/makedevs-${PV}"
-
-do_stage() {
-   install -d ${STAGING_BINDIR}/
-install -m 0755 ${S}/makedevs ${STAGING_BINDIR}/
-}
diff --git a/recipes/makedevs/makedevs_1.0.0.bb 
b/recipes/makedevs/makedevs_1.0.0.bb
index cab1a4c..2b7e84a 100644
--- a/recipes/makedevs/makedevs_1.0.0.bb
+++ b/recipes/makedevs/makedevs_1.0.0.bb
@@ -2,12 +2,11 @@ DESCRIPTION = "A tool to make device nodes"
 LICENSE = "GPL"
 SECTION = "base"
 PRIORITY = "required"
+PR = "r9"
 
 SRC_URI = "file://makedevs.c"
 S = "${WORKDIR}/makedevs-${PV}"
 
-PR = "r8"
-
 inherit update-alternatives
 
 do_configure() {
@@ -18,6 +17,11 @@ do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c
 }
 
+do_install_virtclass-native() {
+install -d ${D}${bindir}/
+install -m 0755 ${S}/makedevs ${D}${bindir}/
+}
+
 do_install() {
install -d ${D}${base_sbindir}
install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs.makedevs
@@ -28,4 +32,6 @@ ALTERNATIVE_NAME = "makedevs"
 ALTERNATIVE_LINK = "${base_sbindir}/makedevs"
 ALTERNATIVE_PRIORITY = "50"
 
+BBCLASSEXTEND = "native"
 
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] makedevs_1.0.0: got rid of separate native recipe and removed legacy staging

2010-08-26 Thread Fahad Usman
* converted do_stage to do_install

* replaced ${STAGING_BINDIR} with ${D}${bindir}

* moved the do_install to non-native recipe

* added BBCLASSEXTEND = "native"

* added NATIVE_INSTALL_WORKS = "1"

* bumped PR

Signed-off-by: Fahad Usman Signed-off-by: Fahad 

---
 recipes/makedevs/makedevs-native_1.0.0.bb |   10 --
 recipes/makedevs/makedevs_1.0.0.bb|   10 --
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/recipes/makedevs/makedevs-native_1.0.0.bb 
b/recipes/makedevs/makedevs-native_1.0.0.bb
deleted file mode 100644
index 004a713..000
--- a/recipes/makedevs/makedevs-native_1.0.0.bb
+++ /dev/null
@@ -1,10 +0,0 @@
-SECTION = "base"
-require makedevs_${PV}.bb
-inherit native
-
-FILESDIR = "$...@os.path.dirname(bb.data.getVar('FILE',d,1))}/makedevs-${PV}"
-
-do_stage() {
-   install -d ${STAGING_BINDIR}/
-install -m 0755 ${S}/makedevs ${STAGING_BINDIR}/
-}
diff --git a/recipes/makedevs/makedevs_1.0.0.bb 
b/recipes/makedevs/makedevs_1.0.0.bb
index cab1a4c..2b7e84a 100644
--- a/recipes/makedevs/makedevs_1.0.0.bb
+++ b/recipes/makedevs/makedevs_1.0.0.bb
@@ -2,12 +2,11 @@ DESCRIPTION = "A tool to make device nodes"
 LICENSE = "GPL"
 SECTION = "base"
 PRIORITY = "required"
+PR = "r9"
 
 SRC_URI = "file://makedevs.c"
 S = "${WORKDIR}/makedevs-${PV}"
 
-PR = "r8"
-
 inherit update-alternatives
 
 do_configure() {
@@ -18,6 +17,11 @@ do_compile() {
${CC} ${CFLAGS} ${LDFLAGS} -o ${S}/makedevs ${S}/makedevs.c
 }
 
+do_install_virtclass-native() {
+install -d ${D}${bindir}/
+install -m 0755 ${S}/makedevs ${D}${bindir}/
+}
+
 do_install() {
install -d ${D}${base_sbindir}
install -m 0755 ${S}/makedevs ${D}${base_sbindir}/makedevs.makedevs
@@ -28,4 +32,6 @@ ALTERNATIVE_NAME = "makedevs"
 ALTERNATIVE_LINK = "${base_sbindir}/makedevs"
 ALTERNATIVE_PRIORITY = "50"
 
+BBCLASSEXTEND = "native"
 
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] kakasi-native_2.3.4.bb: Removed legacy style staging

2010-08-24 Thread Fahad Usman
From: Fahad 

* converted do_stage to do_install

* replaced ${STAGING_BINDIR} with ${D}${bindir}

* added PR = "r1"

* added NATIVE_INSTALL_WORKS = "1"

Signed-off-by: Fahad Usman 
---
 recipes/kakasi/kakasi-native_2.3.4.bb |9 ++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/recipes/kakasi/kakasi-native_2.3.4.bb 
b/recipes/kakasi/kakasi-native_2.3.4.bb
index 24d4e1d..447b452 100644
--- a/recipes/kakasi/kakasi-native_2.3.4.bb
+++ b/recipes/kakasi/kakasi-native_2.3.4.bb
@@ -2,11 +2,14 @@ require kakasi.inc
 
 inherit native
 
-do_stage() {
-install src/mkkanwa ${STAGING_BINDIR}
-}
+PR = "r1"
 
+do_install() {
+install -d ${D}${bindir}
+install src/mkkanwa ${D}${bindir}
+}
 
+NATIVE_INSTALL_WORKS = "1"
 
 SRC_URI[md5sum] = "4eff51aafbd56c9635791a20c03efa8f"
 SRC_URI[sha256sum] = 
"c272560f5c11fe45b011c4e26ada66218fb0109d5582c5876aa49c5e24718534"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] gawk-native_3.1.4.bb: Removed legacy style staging

2010-08-18 Thread Fahad Usman
* converted do_stage to do_install

* replaced ${STAGING_BINDIR} with ${D}${bindir}

* added NATIVE_INSTALL_WORKS = "1"

* added PR = "r1"

Signed-off-by: Fahad Usman 
---
 recipes/gawk/gawk-native_3.1.4.bb |9 ++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/recipes/gawk/gawk-native_3.1.4.bb 
b/recipes/gawk/gawk-native_3.1.4.bb
index 0a33f71..67d254c 100644
--- a/recipes/gawk/gawk-native_3.1.4.bb
+++ b/recipes/gawk/gawk-native_3.1.4.bb
@@ -1,5 +1,8 @@
 INHIBIT_AUTOTOOLS_DEPS = "1"
 require gawk_${PV}.bb
+PR = "r1"
+
+NATIVE_INSTALL_WORKS = "1"
 
 inherit native
 
@@ -8,7 +11,7 @@ PATCHTOOL = "patch"
 
 S = "${WORKDIR}/gawk-${PV}"
 
-do_stage() {
-   install -d ${STAGING_BINDIR}
-   install -m 755 gawk ${STAGING_BINDIR}
+do_install() {
+   install -d ${D}${bindir}
+   install -m 755 gawk ${D}${bindir}
 }
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] elftoaout-native_2.3.bb: Removed legacy style staging

2010-08-18 Thread Fahad Usman
* converted do_stage to do_install

* replaced ${STAGING_BINDIR} with ${D}${bindir}

* added NATIVE_INSTALL_WORKS = "1"

* added PR = "r1"

Signed-off-by: Fahad Usman 
---
 recipes/elftoaout/elftoaout-native_2.3.bb |8 ++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/recipes/elftoaout/elftoaout-native_2.3.bb 
b/recipes/elftoaout/elftoaout-native_2.3.bb
index 9b43805..04a26ba 100644
--- a/recipes/elftoaout/elftoaout-native_2.3.bb
+++ b/recipes/elftoaout/elftoaout-native_2.3.bb
@@ -1,13 +1,17 @@
 SECTION = "console/utils"
 LICENSE = "GPL"
 SRC_URI = 
"http://www.uk.debian.org/debian/pool/main/s/sparc-utils/sparc-utils_1.9.orig.tar.gz";
+PR = "r1"
 
 inherit native
 
 S = "${WORKDIR}/sparc-utils-1.9.orig/elftoaout-${PV}"
 
-do_stage() {
-   install elftoaout ${STAGING_BINDIR}
+NATIVE_INSTALL_WORKS = "1"
+
+do_install() {
+install -d ${D}${bindir}
+install elftoaout ${D}${bindir}
 }
 
 SRC_URI[md5sum] = "08bf3f6d8433a1f4981a2afaa6b49a6c"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] cacaoh-native: used oe-stylize.py

2010-08-17 Thread Fahad Usman
* just incorporated the output of oe-stylize.py, no functionality is changed

Signed-off-by: Fahad Usman 
---
 recipes/cacao/cacaoh-native.inc   |7 +++
 recipes/cacao/cacaoh-native_0.99.3.bb |5 ++---
 recipes/cacao/cacaoh-native_0.99.4.bb |5 ++---
 3 files changed, 7 insertions(+), 10 deletions(-)

diff --git a/recipes/cacao/cacaoh-native.inc b/recipes/cacao/cacaoh-native.inc
index d255df4..fcbe93b 100644
--- a/recipes/cacao/cacaoh-native.inc
+++ b/recipes/cacao/cacaoh-native.inc
@@ -1,7 +1,6 @@
 DESCRIPTION = "Header generator for Cacao JVM - Needed for cross-compilation 
builds"
 HOMEPAGE = "http://www.cacaojvm.org/";
-LICENSE  = "GPL"
-
+LICENSE = "GPL"
 DEPENDS = "libtool-native zlib-native virtual/javac-native classpath-native"
 
 S = "${WORKDIR}/cacao-${PV}"
@@ -21,6 +20,6 @@ do_compile() {
   oe_runmake -C src/cacaoh cacaoh
 }
 do_install() {
-   install -d ${D}${bindir}/cacaoh-${PV}
-   install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV}
+  install -d ${D}${bindir}/cacaoh-${PV}
+  install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV}
 }
diff --git a/recipes/cacao/cacaoh-native_0.99.3.bb 
b/recipes/cacao/cacaoh-native_0.99.3.bb
index b321329..1bc3b84 100644
--- a/recipes/cacao/cacaoh-native_0.99.3.bb
+++ b/recipes/cacao/cacaoh-native_0.99.3.bb
@@ -1,8 +1,7 @@
-require cacaoh-native.inc
-
 PR = "r2"
 
 SRC_URI = 
"http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2";
-
 SRC_URI[md5sum] = "db93ab31c6d1b7f1e213771bb81bde58"
 SRC_URI[sha256sum] = 
"1ea5bd257f755ffcae2c7a1935c37147c7392478922410e0870361eea08b6c27"
+
+require cacaoh-native.inc
diff --git a/recipes/cacao/cacaoh-native_0.99.4.bb 
b/recipes/cacao/cacaoh-native_0.99.4.bb
index e269e43..d0fc1c0 100644
--- a/recipes/cacao/cacaoh-native_0.99.4.bb
+++ b/recipes/cacao/cacaoh-native_0.99.4.bb
@@ -1,8 +1,7 @@
-require cacaoh-native.inc
-
 PR = "r1"
 
 SRC_URI = 
"http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2";
-
 SRC_URI[md5sum] = "63220327925ace13756ae334c55a3baa"
 SRC_URI[sha256sum] = 
"1dfc4903dc0172286df4f1740fd0f12749ac81d51c602290b47cbe83d51e1d56"
+
+require cacaoh-native.inc
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] cacaoh-native: Removed legacy style staging

2010-08-17 Thread Fahad Usman
* converted do_stage to do_install

* replaced ${STAGING_BINDIR} with ${D}${bindir}

* bumped the PR in the .bb files

Signed-off-by: Fahad Usman 
---
 recipes/cacao/cacaoh-native.inc   |6 +++---
 recipes/cacao/cacaoh-native_0.99.3.bb |2 +-
 recipes/cacao/cacaoh-native_0.99.4.bb |2 +-
 3 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/recipes/cacao/cacaoh-native.inc b/recipes/cacao/cacaoh-native.inc
index a44c503..d255df4 100644
--- a/recipes/cacao/cacaoh-native.inc
+++ b/recipes/cacao/cacaoh-native.inc
@@ -20,7 +20,7 @@ do_compile() {
   oe_runmake -C src/vmcore libvmcore.la
   oe_runmake -C src/cacaoh cacaoh
 }
-
-do_stage() {
-   install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-${PV}
+do_install() {
+   install -d ${D}${bindir}/cacaoh-${PV}
+   install -m 0755 src/cacaoh/.libs/cacaoh ${D}${bindir}/cacaoh-${PV}
 }
diff --git a/recipes/cacao/cacaoh-native_0.99.3.bb 
b/recipes/cacao/cacaoh-native_0.99.3.bb
index b3baee0..b321329 100644
--- a/recipes/cacao/cacaoh-native_0.99.3.bb
+++ b/recipes/cacao/cacaoh-native_0.99.3.bb
@@ -1,6 +1,6 @@
 require cacaoh-native.inc
 
-PR = "r1"
+PR = "r2"
 
 SRC_URI = 
"http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2";
 
diff --git a/recipes/cacao/cacaoh-native_0.99.4.bb 
b/recipes/cacao/cacaoh-native_0.99.4.bb
index a9effc0..e269e43 100644
--- a/recipes/cacao/cacaoh-native_0.99.4.bb
+++ b/recipes/cacao/cacaoh-native_0.99.4.bb
@@ -1,6 +1,6 @@
 require cacaoh-native.inc
 
-PR = "r0"
+PR = "r1"
 
 SRC_URI = 
"http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2";
 
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] dcopidl-native_3.5.8.bb: Removed legacy style staging

2010-08-16 Thread Fahad Usman
* converted do_stage to do_install and replaced ${STAGING_BINDIR} with 
${D}${bindir}

* and treated the source with oe-stylize.py script

Signed-off-by: Fahad Usman 
---
 recipes/dcop/dcopidl-native_3.5.8.bb |   29 -
 1 files changed, 16 insertions(+), 13 deletions(-)

diff --git a/recipes/dcop/dcopidl-native_3.5.8.bb 
b/recipes/dcop/dcopidl-native_3.5.8.bb
index df3f761..1b20e49 100644
--- a/recipes/dcop/dcopidl-native_3.5.8.bb
+++ b/recipes/dcop/dcopidl-native_3.5.8.bb
@@ -1,16 +1,19 @@
 DESCRIPTION = "DCOP IDL parser"
 SECTION = "kde/devel"
-PRIORITY= "optional"
-LICENSE = "GPL"
-DEPENDS = "uicmoc3-native"
+PRIORITY = "optional"
+LICENSE = "GPL"
+DEPENDS = "uicmoc3-native"
+PR = "r2"
 
-SRC_URI = 
"ftp://download.kde.org/pub/kde/stable/${PV}/src/kdelibs-${PV}.tar.bz2 \
- file://dcopidl-compile.patch "
-S   = "${WORKDIR}/kdelibs-${PV}/dcop/dcopidl"
+SRC_URI = 
"ftp://download.kde.org/pub/kde/stable/${PV}/src/kdelibs-${PV}.tar.bz2 \
+   file://dcopidl-compile.patch "
+SRC_URI[md5sum] = "acaa37e79e840d10dca326277a20863c"
+SRC_URI[sha256sum] = 
"779f563fdf0385b973f2238f04d82b5729aefe1c949e4d29482b6bb170aa3fe6"
+
+S = "${WORKDIR}/kdelibs-${PV}/dcop/dcopidl"
 
 inherit native qmake qt3e
 
-export OE_QMAKE_LINK="${CXX}"
 EXTRA_QMAKEVARS_POST_append = "LIBS+=-ldl "
 EXTRA_QMAKEVARS_POST_append = "CONFIG-=thread "
 
@@ -19,11 +22,11 @@ do_configure_prepend() {
  echo "SOURCES += main.cpp yacc.cc scanner.cc " > dcopidl.pro
  echo "HEADERS += yacc.cc.h " >> dcopidl.pro
 }
-
-do_stage() {
- install -d ${STAGING_BINDIR}
- install -m 0755 dcopidl ${STAGING_BINDIR}
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 dcopidl ${D}${bindir}
 }
 
-SRC_URI[md5sum] = "acaa37e79e840d10dca326277a20863c"
-SRC_URI[sha256sum] = 
"779f563fdf0385b973f2238f04d82b5729aefe1c949e4d29482b6bb170aa3fe6"
+export OE_QMAKE_LINK="${CXX}"
+
+NATIVE_INSTALL_WORKS = "1"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


[oe] [PATCH] dcopidl2cpp-native_3.5.8.bb added non-legacy style staging support

2010-08-13 Thread Fahad Usman
* converted do_stage to do_install and replaced ${STAGING_BINDIR} with 
${D}${bindir}


Signed-off-by: Fahad Usman 
---
 recipes/dcop/dcopidl2cpp-native_3.5.8.bb |   10 +++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/recipes/dcop/dcopidl2cpp-native_3.5.8.bb 
b/recipes/dcop/dcopidl2cpp-native_3.5.8.bb
index 761ef87..189cafd 100644
--- a/recipes/dcop/dcopidl2cpp-native_3.5.8.bb
+++ b/recipes/dcop/dcopidl2cpp-native_3.5.8.bb
@@ -4,6 +4,8 @@ PRIORITY= "optional"
 LICENSE = "GPL"
 DEPENDS = "uicmoc3-native"
 
+PR = "r1"
+
 SRC_URI = 
"ftp://download.kde.org/pub/kde/stable/${PV}/src/kdelibs-${PV}.tar.bz2";
 #\
 #file://dcopidl-compile.patch "
@@ -21,9 +23,11 @@ do_configure_prepend() {
  echo "HEADERS += main.h " >> dcopidl2cpp.pro
 }
 
-do_stage() {
- install -d ${STAGING_BINDIR}
- install -m 0755 dcopidl2cpp ${STAGING_BINDIR}
+NATIVE_INSTALL_WORKS = "1"
+
+do_install() {
+ install -d ${D}${bindir}
+ install -m 0755 dcopidl2cpp ${D}${bindir}
 }
 
 SRC_URI[md5sum] = "acaa37e79e840d10dca326277a20863c"
-- 
1.6.3.3


___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel