Re: [oe] [meta-networking][PATCH] radvd: Fix missing yacc error.

2018-06-04 Thread Ahsan, Noor
Hello,

Any update on this. Kindly apply think on master and Sumo release.

Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Ahsan, 
Noor
Sent: Friday, May 25, 2018 4:56 PM
To: openembedded-devel@lists.openembedded.org
Subject: [oe] [meta-networking][PATCH] radvd: Fix missing yacc error.

* Following error apprear in do configure. Fix it by adding bison-native in 
DEPENDS.
  ../radvd-2.17/ylwrap: line 176: yacc: command not found

Signed-off-by: Noor Ahsan 
---
 meta-networking/recipes-daemons/radvd/radvd.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-daemons/radvd/radvd.inc 
b/meta-networking/recipes-daemons/radvd/radvd.inc
index bff693c..06d16a4 100644
--- a/meta-networking/recipes-daemons/radvd/radvd.inc
+++ b/meta-networking/recipes-daemons/radvd/radvd.inc
@@ -8,7 +8,7 @@ addresses and some other parameters. They also can \  choose a 
default router based on these advertisements."
 HOMEPAGE = "http://www.litech.org/radvd/;
 SECTION = "net"
-DEPENDS = "flex-native libdaemon"
+DEPENDS = "flex-native bison-native libdaemon "
 
 # License is BSD-Style (with advertising clause) but also has an additional 
0th clause  LICENSE = "radvd"
--
2.7.4

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


Re: [oe] [PATCH] Fix "failed sanity test tmpdir" for libnice and update PNBLACKLIST.

2016-05-06 Thread Ahsan, Noor
Doesn't recipe name is mentioned when only that recipe is changed in the patch. 
I though when multiple recipes are changed then we don't mention the name of 
the files in the commit summary. Correct me if my interpretation is wrong.

Secondly I thought both are inter related. That is why added both in signed 
patch. Farsight is mentioned in the details 

Remove PNBLACKLIST for libnice and farsight recipes.

Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of 
Christopher Larson
Sent: Thursday, May 05, 2016 10:05 PM
To: Openembedded Discussion
Subject: Re: [oe] [PATCH] Fix "failed sanity test tmpdir" for libnice and 
update PNBLACKLIST.

On Thu, May 5, 2016 at 9:22 AM, Noor, Ahsan  wrote:

> From: Noor Ahsan 
>
> * Update do_compile_append where it was updating *.pc from ${S} and
>   removing staging dir folder. Now we have seperate build folder
>   where packages got build. We have to search pc in ${B} not in ${S}.
>   After updating the tmp dir pathc is removed from nice.pc file.
> * Remove PNBLACKLIST for libnice and farsight recipes.
>
> Signed-off-by: Noor Ahsan 
>

The commit message doesn't meet the OE guidelines (not prefixed by the recipe 
being changed) and you don't mention farsight2 in the message at all
-- should that be a separate commit?
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus Maintainer - Tslib Senior Software 
Engineer, Mentor Graphics
--
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH] Fix "failed sanity test tmpdir" for libnice and update PNBLACKLIST.

2016-05-06 Thread Ahsan, Noor
I have sent V2 patch after fixing this.

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Martin 
Jansa
Sent: Thursday, May 05, 2016 10:13 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH] Fix "failed sanity test tmpdir" for libnice and 
update PNBLACKLIST.

On Thu, May 05, 2016 at 09:22:30PM +0500, Noor, Ahsan wrote:
> From: Noor Ahsan 
> 
> * Update do_compile_append where it was updating *.pc from ${S} and
>   removing staging dir folder. Now we have seperate build folder
>   where packages got build. We have to search pc in ${B} not in ${S}.
>   After updating the tmp dir pathc is removed from nice.pc file.

typo pathc

> * Remove PNBLACKLIST for libnice and farsight recipes.
> 
> Signed-off-by: Noor Ahsan 
> ---
>  meta-oe/recipes-support/farsight/farsight2_0.0.22.bb | 1 -
>  meta-oe/recipes-support/farsight/libnice_0.0.13.bb   | 3 +--
>  2 files changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/meta-oe/recipes-support/farsight/farsight2_0.0.22.bb 
> b/meta-oe/recipes-support/farsight/farsight2_0.0.22.bb
> index ffb222b..beb6108 100644
> --- a/meta-oe/recipes-support/farsight/farsight2_0.0.22.bb
> +++ b/meta-oe/recipes-support/farsight/farsight2_0.0.22.bb
> @@ -29,4 +29,3 @@ FILES_${PN}-dbg += "${libdir}/*/.debug"
>  SRC_URI[md5sum] = "e1f540cf3ebab06c3d7db1f46b44ac88"
>  SRC_URI[sha256sum] = 
> "3ae59aa61a8071c9fad111e5fd606aabc27961eb4192f8729987a27dae6b3974"
>  
> -PNBLACKLIST[farsight2] ?= "Depends on broken libnice"
> diff --git a/meta-oe/recipes-support/farsight/libnice_0.0.13.bb 
> b/meta-oe/recipes-support/farsight/libnice_0.0.13.bb
> index a9081dc..3d99622 100644
> --- a/meta-oe/recipes-support/farsight/libnice_0.0.13.bb
> +++ b/meta-oe/recipes-support/farsight/libnice_0.0.13.bb
> @@ -28,7 +28,7 @@ do_configure_prepend() {  }
>  
>  do_compile_append() {
> -for i in $(find ${S} -name "*.pc") ; do
> +for i in $(find ${B} -name "*.pc") ; do
>  sed -i -e s:${STAGING_DIR_TARGET}::g \
> -e s:/${TARGET_SYS}::g \
>$i
> @@ -39,4 +39,3 @@ do_compile_append() {  SRC_URI[md5sum] = 
> "e5b9f799a57cb939ea2658ec35253ab9"
>  SRC_URI[sha256sum] = 
> "d8dd260c486a470a6052a5323920878a084e44a19df09b15728b85c9e3d6edf0"
>  
> -PNBLACKLIST[libnice] ?= "BROKEN: QA Issue: nice.pc failed sanity test 
> (tmpdir)"
> --
> 2.8.1
> 
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v3 2/2] mpv: Media Player

2016-04-21 Thread Ahsan, Noor
Hello Gary,

Are you planning to send updated PR for MPV?

Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Martin 
Jansa
Sent: Thursday, March 17, 2016 7:45 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH v3 2/2] mpv: Media Player

On Thu, Mar 17, 2016 at 10:45:23AM +0100, Gary Thomas wrote:
> On 03/17/2016 10:38 AM, Martin Jansa wrote:
> > I don't know, but it doesn't matter what pulled rst.
> >
> > mpv should build ok with or without rst available.
> 
> I agree and it does build without rst in the mix.  It fails if those 
> tools are present and I'd like to fix it but I don't know what is 
> bringing them in (and I don't have the resources available to run 
> 'bitbake world')

There is also:
mpv-0.15.0: mpv rdepends on libjack, but it isn't a build dependency, missing 
jack in DEPENDS or PACKAGECONFIG? [build-deps]

> > On Thu, Mar 17, 2016 at 10:26 AM, Gary Thomas  wrote:
> >
> >> Ping?  Once I understand why it breaks in world builds, I can 
> >> submit a new patchset.
> >> See below - what's causing rst to be brought in?
> >>
> >> Thanks
> >>
> >>
> >> On 03/12/2016 05:52 AM, Gary Thomas wrote:
> >>
> >>> On 2016-03-11 14:17, Martin Jansa wrote:
> >>>
>  On Thu, Mar 10, 2016 at 05:07:22PM +0100, Gary Thomas wrote:
> 
> > mpv is a fork of mplayer2 and MPlayer. It shares some features 
> > with the former projects while introducing many more.
> >
> > Signed-off-by: Gary Thomas 
> > ---
> >meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb | 67
> > 
> >1 file changed, 67 insertions(+)
> >create mode 100644 
> > meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> >
> > diff --git a/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> > b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> > new file mode 100644
> > index 000..acad319
> > --- /dev/null
> > +++ b/meta-oe/recipes-multimedia/mplayer/mpv_0.15.0.bb
> > @@ -0,0 +1,67 @@
> > +SUMMARY = "Open Source multimedia player"
> > +SECTION = "multimedia"
> > +HOMEPAGE = "http://www.mpv.io/;
> > +DEPENDS = "zlib ffmpeg jpeg virtual/libx11 xsp libxv \
> > +   libxscrnsaver libv4l libxinerama \ "
> >
> 
>  It's failing in world builds
> 
>  ERROR: mpv-0.15.0-r0 do_compile: Function failed: do_compile (log 
>  file is located at
> 
>  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-g
>  nueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
>  ERROR: Logfile of failure stored in:
> 
>  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-g
>  nueabi/mpv/0.15.0-r0/temp/log.do_compile.11834
>  Log data follows:
>  | DEBUG: Executing shell function do_compile
>  | Waf: Entering directory
> 
>  `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
>  | [  1/195] Compiling version.sh
>  | [  2/195] Compiling
>  TOOLS/osxbundle/mpv.app/Contents/Resources/icon.icns
>  | [  3/195] Compiling video/out/x11_icon.bin [  4/195] Compiling 
>  | etc/input.conf [  5/195] Compiling sub/osd_font.otf [  6/195] 
>  | Compiling video/out/opengl/nnedi3_weights.bin
>  | [  7/195] Compiling player/lua/defaults.lua [  8/195] Compiling 
>  | player/lua/assdraw.lua [  9/195] Compiling 
>  | player/lua/options.lua [ 10/195] Compiling player/lua/osc.lua [ 
>  | 11/195] Compiling player/lua/ytdl_hook.lua [ 13/195] Processing 
>  | ebml_types.h: demux/ebml.c demux/demux_mkv.c ->
>  build/ebml_types.h
>  | [ 13/195] Compiling demux/ebml.c [ 14/195] Compiling 
>  | DOCS/man/mpv.rst Traceback (most recent call last):
>  |   File
>  "/home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/
>  usr/bin/rst2man.py",
>  line 21, in 
>  | from docutils.core import publish_cmdline, 
>  | default_description
>  | ImportError: No module named docutils.core
>  |
>  | Waf: Leaving directory
> 
>  `/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-gnueabi/mpv/0.15.0-r0/mpv-0.15.0/build'
>  | Build failed
>  |  -> task in 'rst2man' failed (exit status 1):
>  | {task 139933719149072: rst2man mpv.rst -> mpv.1} '
>  /home/jenkins/oe/world/shr-core/tmp-glibc/sysroots/x86_64-linux/u
>  sr/bin/rst2man.py
>  ../DOCS/man/mpv.rst
>  DOCS/man/mpv.1 '
>  | WARNING: exit code 1 from a shell command.
>  | ERROR: Function failed: do_compile (log file is located at
> 
>  /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5te-oe-linux-g
>  nueabi/mpv/0.15.0-r0/temp/log.do_compile.11834)
>  NOTE: recipe mpv-0.15.0-r0: task do_compile: Failed
>  ERROR: Task 15304
>  

Re: [oe] [Meta-qt5] Multiple definition of None on qminimaleglintegration for BBB

2015-10-08 Thread Ahsan, Noor
Hello Khem,

This issue comes when X.h and qurl.h is included at the same time. We faced 
this issue on different file on i.mx6 and Alexander fixed that issue by 
rearranging the headers in C file see patch 
0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch. Now we are 
facing this on other file for BBB I thought I should ask whether somebody else 
faced this issue or know the fix.

Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Khem Raj
Sent: Thursday, October 08, 2015 6:32 AM
To: Martin Jansa
Cc: Haridasan, Sujith; Larson, Chris
Subject: Re: [oe] [Meta-qt5] Multiple definition of None on 
qminimaleglintegration for BBB


> On Oct 7, 2015, at 4:20 AM, Ahsan, Noor <noor_ah...@mentor.com> wrote:
> 
> Hello,
> 
> We were building QT5 on BBB and we faced similar issue which has been fixed 
> in 
> 0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch
>  but this time it is on qminimaleglintegration file. Can anybody guide us how 
> to fix this issue. I added following code in qurl.h for previous issue but 
> community said that there is better fix.
> 
> #ifdef None
> #undef None
> #endif
> 

None is defined as 0 for universal null resource in X11 headers (X11/X.h) IIRC, 
so its likely that this file has dependency on x11 and you are not supplying 
that ?
may be you should see if you are missing some QT feature


> The stripped error log is shown below.
> 
> linking 
> ../../../../plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so
> mv -f libqminimal.so ../../../../plugins/platforms/
> make[4]: Leaving directory 
> '/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/build/src/plugins/platforms/minimal'
> cd minimalegl/ && ( test -e Makefile || 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/build/bin/qmake
>  
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/minimalegl/minimalegl.pro
>  -o Makefile ) && make -f Makefile
> mv -f libcomposeplatforminputcontextplugin.so 
> ../../../../plugins/platforminputcontexts/
> make[4]: Leaving directory 
> '/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/build/src/plugins/platforminputcontexts/compose'
> compiling 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/generic/main.cpp
> compiling 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/eglfs/qeglfsscreen.cpp
> moc 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/qnetworksession_impl.cpp
> make[4]: Entering directory 
> '/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/build/src/plugins/platforms/minimalegl'
> moc 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/minimalegl/main.cpp
> compiling 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/offscreen/qoffscreenintegration_dummy.cpp
> compiling 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/minimalegl/qminimaleglintegration.cpp
> moc 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/networkmanager/qnetworkmanagerservice.h
> compiling 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/minimalegl/qminimaleglwindow.cpp
> compiling .moc/moc_qgenericengine.cpp
> moc 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforminputcontexts/ibus/main.cpp
> moc 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/networkmanager/qnetworkmanagerengine.h
> compiling 
> /scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platfo

[oe] [Meta-qt5] Multiple definition of None on qminimaleglintegration for BBB

2015-10-07 Thread Ahsan, Noor
Hello,

We were building QT5 on BBB and we faced similar issue which has been fixed in 
0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch
 but this time it is on qminimaleglintegration file. Can anybody guide us how 
to fix this issue. I added following code in qurl.h for previous issue but 
community said that there is better fix.

#ifdef None
#undef None
#endif

The stripped error log is shown below.

linking 
../../../../plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so
mv -f libqminimal.so ../../../../plugins/platforms/ 
make[4]: Leaving directory 
'/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/build/src/plugins/platforms/minimal'
cd minimalegl/ && ( test -e Makefile || 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/build/bin/qmake
 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/minimalegl/minimalegl.pro
 -o Makefile ) && make -f Makefile 
mv -f libcomposeplatforminputcontextplugin.so 
../../../../plugins/platforminputcontexts/ 
make[4]: Leaving directory 
'/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/build/src/plugins/platforminputcontexts/compose'
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/generic/main.cpp
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/eglfs/qeglfsscreen.cpp
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/qnetworksession_impl.cpp
make[4]: Entering directory 
'/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/build/src/plugins/platforms/minimalegl'
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/minimalegl/main.cpp
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/offscreen/qoffscreenintegration_dummy.cpp
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/minimalegl/qminimaleglintegration.cpp
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/networkmanager/qnetworkmanagerservice.h
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/minimalegl/qminimaleglwindow.cpp
compiling .moc/moc_qgenericengine.cpp
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforminputcontexts/ibus/main.cpp
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/networkmanager/qnetworkmanagerengine.h
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/xcb/qxcbscreen.cpp
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforminputcontexts/ibus/qibusplatforminputcontext.h
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/generic/tuiotouch/qtuiohandler_p.h
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/bearer/linux_common/qofonoservice_linux_p.h
moc 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforminputcontexts/ibus/qibusproxy.h
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/generic/tuiotouch/main.cpp
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/eglfs/qeglfshooks.cpp
compiling .moc/moc_qnetworksession_impl.cpp
compiling 
/scratch/cedar/boneblack/build/tmp/work/cortexa8hf-vfp-neon-mel-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/plugins/platforms/xcb/qxcbwindow.cpp
moc 

Re: [oe] [PATCH][meta-qt5] qtbase: fix build for PACKAGECONFIG gles2

2015-09-15 Thread Ahsan, Noor
Noor,

I am keen to know that how this patch does not include X.h where None was being 
defined to 0 earlier.

Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Andreas 
Müller
Sent: Saturday, September 12, 2015 4:38 PM
To: openembedded-devel@lists.openembedded.org
Subject: [oe] [PATCH][meta-qt5] qtbase: fix build for PACKAGECONFIG gles2

fixes:

| In file included from 
/home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/X11/Xlib.h:44:0,
|  from 
/home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/eglvivante.h:244,
|  from 
/home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/eglplatform.h:38,
|  from 
/home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/egl.h:39,
|  from 
/home/superandy/tmp/oe-core-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen_p.h:52,
|  from 
/home/superandy/tmp/oe-core-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen.cpp:34:
| ../../include/QtCore/../../../git/src/corelib/io/qurl.h:131:9: error: 
expected identifier before numeric constant
|  None = 0x0,
|  ^

Signed-off-by: Andreas Müller 
---
 ...mscreen.cpp-reorder-headers-to-fix-build-.patch | 49 ++
 recipes-qt/qt5/qtbase_git.bb   |  1 +
 2 files changed, 50 insertions(+)
 create mode 100644 
recipes-qt/qt5/qtbase/0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch

diff --git 
a/recipes-qt/qt5/qtbase/0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch
 
b/recipes-qt/qt5/qtbase/0012-qeglplatformscreen.cpp-reorder-headers-to-fix-build-.patch
new file mode 100644
index 000..a1a8791
--- /dev/null
+++ b/recipes-qt/qt5/qtbase/0012-qeglplatformscreen.cpp-reorder-headers-
+++ to-fix-build-.patch
@@ -0,0 +1,49 @@
+From f8873b5ba0fa42cc0d2aadfd6c5a449b37799609 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Andreas=20M=C3=BCller?= 
+Date: Sat, 12 Sep 2015 12:58:46 +0200
+Subject: [PATCH] qeglplatformscreen.cpp: reorder headers to fix build 
+with egl  enabled
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+fixes:
+In file included from 
/home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/X11/Xlib.h:44:0,
+ from 
/home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/eglvivante.h:244,
+ from 
/home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/eglplatform.h:38,
+ from 
/home/superandy/tmp/oe-core-glibc/sysroots/varsomimx6q/usr/include/EGL/egl.h:39,
+ from 
/home/superandy/tmp/oe-core-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen_p.h:52,
+ from 
/home/superandy/tmp/oe-core-glibc/work/cortexa9t2hf-vfp-neon-mx6qdl-angstrom-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen.cpp:34:
+../../include/QtCore/../../../git/src/corelib/io/qurl.h:131:9: error: expected 
identifier before numeric constant
+ None = 0x0,
+ ^
+
+This patch has a very limited lifetime: In branch dev and 5.6 the patched file 
is gone. Therefore:
+
+Upstream-Status: Pending
+
+Signed-off-by: Andreas Müller 
+---
+ src/platformsupport/eglconvenience/qeglplatformscreen.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/platformsupport/eglconvenience/qeglplatformscreen.cpp 
+b/src/platformsupport/eglconvenience/qeglplatformscreen.cpp
+index 61f8cdd..ceec797 100644
+--- a/src/platformsupport/eglconvenience/qeglplatformscreen.cpp
 b/src/platformsupport/eglconvenience/qeglplatformscreen.cpp
+@@ -31,10 +31,10 @@
+ **
+ 
+***
+*/
+ 
+-#include "qeglplatformscreen_p.h"
+-#include "qeglplatformwindow_p.h"
+ #include 
+ #include 
++#include "qeglplatformscreen_p.h"
++#include "qeglplatformwindow_p.h"
+ #include 
+ 
+ QT_BEGIN_NAMESPACE
+--
+2.1.0
+
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 
f4287cc..4a073c5 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -25,6 +25,7 @@ SRC_URI += "\
 SRC_URI += "\
 file://0009-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \
 file://0010-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch \
+
+ 

Re: [oe] [PATCH] qtbase: Fix qeglplatformscreen.c compilation issue due refinition on None.

2015-09-11 Thread Ahsan, Noor
Sorry this patch is not for oe.

-Original Message-
From: Ahsan, Noor 
Sent: Thursday, September 10, 2015 4:31 PM
To: openembedded-devel@lists.openembedded.org
Cc: Ahsan, Noor
Subject: [PATCH] qtbase: Fix qeglplatformscreen.c compilation issue due 
refinition on None.

From: Noor <noor_ah...@mentor.com>

* In Qt5.5 qeglplatformscreen.c includes qurl.h and X.h (via eglvivante.h). X.h
  define None to 0L but qurl.h set None to 0 in enum. Due to this do_compile 
task
  fails saying "qurl.h:131:9: error: expected identifier before numeric 
constant".
  This patch undefine None in qurl.h if it is define earlier.

Signed-off-by: Noor Ahsan <noor_ah...@mentor.com>
---
 .../qtbase/fix_multiple_definition_of_None.patch   |   41 
 qt5-layer/recipes-qt/qt5/qtbase_%.bbappend |4 +-
 2 files changed, 44 insertions(+), 1 deletion(-)

diff --git 
a/qt5-layer/recipes-qt/qt5/qtbase/fix_multiple_definition_of_None.patch 
b/qt5-layer/recipes-qt/qt5/qtbase/fix_multiple_definition_of_None.patch
new file mode 100644
index 000..f5b2abf
--- /dev/null
+++ b/qt5-layer/recipes-qt/qt5/qtbase/fix_multiple_definition_of_None.pa
+++ tch
@@ -0,0 +1,41 @@
+Workaround qeglplatformscreen.c failure in Qt5.5 due to inclusion of qurl.h 
and X.h. X.h define None to 0L and qurl.h set None to 0 in enum. Due to this 
following error occur. Undef None in qurl.h if it is defined.
+
+In file included from 
/home/noor/SB/release_2015.12/build/tmp/sysroots/imx6qsabresd/usr/include/X11/Xlib.h:44:0,
+ from 
/home/noor/SB/release_2015.12/build/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglvivante.h:244,
+ from 
/home/noor/SB/release_2015.12/build/tmp/sysroots/imx6qsabresd/usr/include/EGL/eglplatform.h:38,
+ from 
/home/noor/SB/release_2015.12/build/tmp/sysroots/imx6qsabresd/usr/include/EGL/egl.h:39,
+ from 
/home/noor/SB/release_2015.12/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen_p.h:52,
+ from 
/home/noor/SB/release_2015.12/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen.cpp:34:
+../../include/QtCore/../../../git/src/corelib/io/qurl.h:131:9: error: expected 
identifier before numeric constant
+ None = 0x0,
+ ^
+../../include/QtCore/../../../git/src/corelib/io/qurl.h:131:9: error: 
+expected '}' before numeric constant
+../../include/QtCore/../../../git/src/corelib/io/qurl.h:131:9: error: 
+expected unqualified-id before numeric constant In file included from 
../../include/QtCore/qurl.h:1:0,
+ from 
../../include/QtGui/../../../git/src/gui/kernel/qevent.h:48,
+ from ../../include/QtGui/qevent.h:1,
+ from ../../include/QtGui/QTouchEvent:1,
+ from 
../../include/QtGui/5.5.0/QtGui/qpa/../../../../../../git/src/gui/kernel/qwindowsysteminterface.h:53,
+ from 
../../include/QtGui/5.5.0/QtGui/qpa/qwindowsysteminterface.h:1,
+ from 
/home/noor/SB/release_2015.12/build/tmp/work/cortexa9hf-vfp-neon-mx6qdl-poky-linux-gnueabi/qtbase/5.5.0+gitAUTOINC+2fde9f59ee-r0/git/src/platformsupport/eglconvenience/qeglplatformscreen.cpp:37:
+../../include/QtCore/../../../git/src/corelib/io/qurl.h:163:26: error: 
'UrlFormattingOption' was not declared in this scope
+ typedef QUrlTwoFlags<UrlFormattingOption, 
+ComponentFormattingOption> FormattingOptions; 
+
+
+Upstream-Status: Inappropriate [workaround]
+
+diff --git a/src/corelib/io/qurl.h b/src/corelib/io/qurl.h index 
+e6c570d..06de3af 100644
+--- a/src/corelib/io/qurl.h
 b/src/corelib/io/qurl.h
+@@ -128,6 +128,9 @@ public:
+ 
+ // encoding / toString values
+ enum UrlFormattingOption {
++#ifdef None
++#undef None
++#endif
+ None = 0x0,
+ RemoveScheme = 0x1,
+ RemovePassword = 0x2,
diff --git a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend 
b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
index e0979bf..4ad4c5c 100644
--- a/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
+++ b/qt5-layer/recipes-qt/qt5/qtbase_%.bbappend
@@ -2,7 +2,9 @@
 
 FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
 
-SRC_URI += "file://Force_egl_visual_ID_33.patch"
+SRC_URI += "file://Force_egl_visual_ID_33.patch \
+file://fix_multiple_definition_of_None.patch \ "
 
 HAS_X11 = "${@base_contains('DISTRO_FEATURES', 'x11', 1, 0, d)}"
 
--
1.7.9.5

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


Re: [oe] [meta-gnome][PATCH V2] gvfs: Handle samba dependency based on GPLv3 license.

2013-07-10 Thread Ahsan, Noor
Do I need to send an updated patch?

Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Martin 
Jansa
Sent: Tuesday, July 09, 2013 5:21 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-gnome][PATCH V2] gvfs: Handle samba dependency based on 
GPLv3 license.

On Tue, Jul 09, 2013 at 10:48:21AM +, Ahsan, Noor wrote:
 Hello,
 
 Kindly apply this patch. Thanks.
 
 Noor

Somehow it got lost from my in-test queue, now it's back on track again, sorry.

Your patch was also based on very old meta-oe, we have 1.10.1 since
2013-05-03:
http://git.openembedded.org/meta-openembedded/commit/?id=985fb27d51ecb948a195af5b27a3a3f6b5ab3f45

Please rebase before sending patches.

Regards,

 -Original Message-
 From: Ahsan, Noor
 Sent: Monday, June 17, 2013 4:12 PM
 To: openembedded-devel@lists.openembedded.org
 Cc: Ahsan, Noor
 Subject: [meta-gnome][PATCH V2] gvfs: Handle samba dependency based on GPLv3 
 license.
 
 From: Noor noor_ah...@mentor.com
 
 * Samba is GPLv3. In GPLv3 free environment one was not able to
   build gvfs. Add PACKAGECONFIG for samba and enable is when GPLv3
   is not present in INCOMPATIBLE_LICENSE.
 
 Signed-off-by: Noor Ahsan noor_ah...@mentor.com
 ---
  meta-gnome/recipes-gnome/gvfs/gvfs.inc  |4 +---
  meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb |7 ++-
  2 files changed, 7 insertions(+), 4 deletions(-)
 
 diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs.inc 
 b/meta-gnome/recipes-gnome/gvfs/gvfs.inc
 index 0e1c69c..ba52fe7 100644
 --- a/meta-gnome/recipes-gnome/gvfs/gvfs.inc
 +++ b/meta-gnome/recipes-gnome/gvfs/gvfs.inc
 @@ -10,9 +10,7 @@ SRC_URI[archive.md5sum] = 402f94b187b197b403d25c85caeb9562
  SRC_URI[archive.sha256sum] = 
 0895ac8f6d416e1b15433b6b6b68eb119c6e8b04fdb66db665d684355ef89345
  SRC_URI += file://0001-gvfsfusedaemon.c-fix-glib-build.patch
  
 -EXTRA_OECONF = --with-samba-includes=${STAGING_INCDIR} \
 ---with-samba-libs=${STAGING_LIBDIR} \
 ---with-archive-includes=${STAGING_INCDIR} \
 +EXTRA_OECONF = --with-archive-includes=${STAGING_INCDIR} \
  --with-archive-libs=${STAGING_LIBDIR} \  
  
 diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb 
 b/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb
 index 7f86151..5274280 100644
 --- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb
 +++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb
 @@ -1,6 +1,6 @@
  require gvfs.inc
  
 -DEPENDS = samba libsoup-2.4 gnome-keyring glib-2.0 fuse avahi fuse gconf 
 libgphoto2
 +DEPENDS = libsoup-2.4 gnome-keyring glib-2.0 fuse avahi fuse gconf 
 libgphoto2
  # optional: obexftp libcdio libimobiledevice
  
  PR = ${INC_PR}.1
 @@ -21,3 +21,8 @@ FILES_gvfsd-trash = ${libexecdir}/gvfsd-trash 
 ${datadir}/gvfs/mounts/trash.moun
  
  RDEPENDS_${PN} = gvfs-gdu-volume-monitor
  RRECOMMENDS_gvfsd-ftp += openssh-sftp openssh-ssh
 +
 +PACKAGECONFIG ?= ${@base_contains('INCOMPATIBLE_LICENSE', 'GPLv3', '', 
 'samba', d)}
 +
 +PACKAGECONFIG[samba] = --enable-samba 
 --with-samba-includes=${STAGING_INCDIR} \
 +--with-samba-libs=${STAGING_LIBDIR}, 
 --disable-samba, samba
 --
 1.7.9.5
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-gnome][PATCH V2] gvfs: Handle samba dependency based on GPLv3 license.

2013-07-09 Thread Ahsan, Noor
Hello,

Kindly apply this patch. Thanks.

Noor

-Original Message-
From: Ahsan, Noor 
Sent: Monday, June 17, 2013 4:12 PM
To: openembedded-devel@lists.openembedded.org
Cc: Ahsan, Noor
Subject: [meta-gnome][PATCH V2] gvfs: Handle samba dependency based on GPLv3 
license.

From: Noor noor_ah...@mentor.com

* Samba is GPLv3. In GPLv3 free environment one was not able to
  build gvfs. Add PACKAGECONFIG for samba and enable is when GPLv3
  is not present in INCOMPATIBLE_LICENSE.

Signed-off-by: Noor Ahsan noor_ah...@mentor.com
---
 meta-gnome/recipes-gnome/gvfs/gvfs.inc  |4 +---
 meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb |7 ++-
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs.inc 
b/meta-gnome/recipes-gnome/gvfs/gvfs.inc
index 0e1c69c..ba52fe7 100644
--- a/meta-gnome/recipes-gnome/gvfs/gvfs.inc
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs.inc
@@ -10,9 +10,7 @@ SRC_URI[archive.md5sum] = 402f94b187b197b403d25c85caeb9562
 SRC_URI[archive.sha256sum] = 
0895ac8f6d416e1b15433b6b6b68eb119c6e8b04fdb66db665d684355ef89345
 SRC_URI += file://0001-gvfsfusedaemon.c-fix-glib-build.patch
 
-EXTRA_OECONF = --with-samba-includes=${STAGING_INCDIR} \
---with-samba-libs=${STAGING_LIBDIR} \
---with-archive-includes=${STAGING_INCDIR} \
+EXTRA_OECONF = --with-archive-includes=${STAGING_INCDIR} \
 --with-archive-libs=${STAGING_LIBDIR} \  
 
diff --git a/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb 
b/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb
index 7f86151..5274280 100644
--- a/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb
+++ b/meta-gnome/recipes-gnome/gvfs/gvfs_1.8.2.bb
@@ -1,6 +1,6 @@
 require gvfs.inc
 
-DEPENDS = samba libsoup-2.4 gnome-keyring glib-2.0 fuse avahi fuse gconf 
libgphoto2
+DEPENDS = libsoup-2.4 gnome-keyring glib-2.0 fuse avahi fuse gconf libgphoto2
 # optional: obexftp libcdio libimobiledevice 
 
 PR = ${INC_PR}.1
@@ -21,3 +21,8 @@ FILES_gvfsd-trash = ${libexecdir}/gvfsd-trash 
${datadir}/gvfs/mounts/trash.moun
 
 RDEPENDS_${PN} = gvfs-gdu-volume-monitor
 RRECOMMENDS_gvfsd-ftp += openssh-sftp openssh-ssh
+
+PACKAGECONFIG ?= ${@base_contains('INCOMPATIBLE_LICENSE', 'GPLv3', '', 
'samba', d)}
+
+PACKAGECONFIG[samba] = --enable-samba --with-samba-includes=${STAGING_INCDIR} 
\
+--with-samba-libs=${STAGING_LIBDIR}, --disable-samba, 
samba
--
1.7.9.5

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


Re: [oe] [meta-gnome][PATCH] gvfs: Handle samba dependency based on GPLv3 license.

2013-06-17 Thread Ahsan, Noor
Thanks. I'll update it.

-Original Message-
From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] 
Sent: Monday, June 17, 2013 2:58 PM
To: Ahsan, Noor
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-gnome][PATCH] gvfs: Handle samba dependency based on 
GPLv3 license.

On Monday 17 June 2013 13:20:30 Noor, Ahsan wrote:
 +PACKAGECONFIG = ${@base_contains('INCOMPATIBLE_LICENSE', 'GPLv3', '',
 'samba', d)} +

This needs to use ?= or ??= so that it can be overridden easily.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH] libedit: Adds version 20110802 (initial recipe)

2012-02-21 Thread Ahsan, Noor
Does this block my recipe to be accepted in meta-oe and by your comment below 
you are suggesting me to upstream that patch to libedit project?

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Khem Raj
Sent: Wednesday, February 22, 2012 2:12 AM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH] libedit: Adds version 20110802 (initial 
recipe)

On Tue, Feb 21, 2012 at 4:47 AM, Noor, Ahsan noor_ah...@mentor.com wrote:

 +Upstream-Status: Inappropriate [not author]

hmm thats interesting. We can still push patches upstream with proper
attribution to author.
therefore this may not be a reason to make it Inappropriate.

___
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-oe][PATCH v2 1/1] python-lxml: Add version 2.2.8 (initial recipe)

2011-09-06 Thread Ahsan, Noor
Hi Michael,

 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
 Michael Lippautz
 Sent: Monday, September 05, 2011 11:53 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [meta-oe][PATCH v2 1/1] python-lxml: Add version
 2.2.8 (initial recipe)
 
 I probably missed the initial submission of this patch (sorry for
 this), but...
 
 2011/9/5 Noor, Ahsan noor_ah...@mentor.com:
  From: Noor Ahsan noor_ah...@mentor.com
 
  * Imported from oe.dev commit id
 bc6a94559157e6fcc190a22a259c0f757b8664ae.
  * Tested with MACHINE = 'qemuppc'
 
  Signed-off-by: Noor Ahsan noor_ah...@mentor.com
  Reviewed-by: Paul Menzel paulepan...@users.sourceforge.net
  ---
   .../recipes-devtools/python/python-lxml_2.2.8.bb   |   32
 
   1 files changed, 32 insertions(+), 0 deletions(-)
   create mode 100644 meta-oe/recipes-devtools/python/python-
 lxml_2.2.8.bb
 
  diff --git a/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
 b/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
  new file mode 100644
  index 000..b1aac3f
  --- /dev/null
  +++ b/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
  @@ -0,0 +1,32 @@
  +DESCRIPTION = Powerful and Pythonic XML processing library
 combining \
  +libxml2/libxslt with the ElementTree API.
  +HOMEPAGE = http://codespeak.net/lxml;
  +LICENSE = BSD
  +LIC_FILES_CHKSUM =
 file://LICENSES.txt;md5=7de92baeb3b7bfaebe72404155fdb346
  +SRCNAME = lxml
  +
  +DEPENDS = libxml2 libxslt
  +RDEPENDS_${PN} += libxml2 libxslt python-compression
  +
  +SRC_URI =
 http://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-
 ${PV}.tar.gz;name=lxml
  +SRC_URI[lxml.md5sum] = d6c612d63a84d79440912a1b29d3b981
  +SRC_URI[lxml.sha256sum] =
 89b73925b5e3295dcf4675cb948007a20eb029fe35c9a162ae19ec11f1abafe5
  +
  +S = ${WORKDIR}/${SRCNAME}-${PV}
  +
  +inherit setuptools
  +
  +DISTUTILS_BUILD_ARGS +=  \
  +                     --with-xslt-
 config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
  +                     --with-xml2-
 config='${STAGING_BINDIR_NATIVE}/xml2-config' \
  +
 
 Shouldn't this be STAGING_BINDIR_CROSS? BINDIR_NATIVE usually refers
 to native libs and linking against them using setuptools may fail
 (kind of) silently.
 
  +
  +DISTUTILS_INSTALL_ARGS +=  \
  +                     --with-xslt-
 config='${STAGING_BINDIR_NATIVE}/pkg-config libxslt' \
  +                     --with-xml2-
 config='${STAGING_BINDIR_NATIVE}/xml2-config' \
  +
 
 Same here.


I have incorporated this change in new patch.

 
  +
  +BBCLASSEXTEND = native nativesdk
 
 I don't know about native then. Basically one would have to
 switch/create a 2nd recipe?

Yes this is basically to use same recipe for native package building.

 
  +RDEPENDS_${PN}_virtclass-native = libxml2-native libxslt-native
  +
  +
  --
  1.7.0.4
 
 
  ___
  Openembedded-devel mailing list
  Openembedded-devel@lists.openembedded.org
  http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-
 devel
 
 
 Regards,
   Michael
 
 ___
 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-oe][PATCH v2 3/4] lmbench: Add version 3.0-a9 (initial recipe)

2011-08-30 Thread Ahsan, Noor
 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf
Of
 Koen Kooi
 Sent: Tuesday, August 30, 2011 12:12 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [meta-oe][PATCH v2 3/4] lmbench: Add version 3.0-a9
 (initial recipe)
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Op 29-08-11 10:17, Noor, Ahsan schreef:
  From: Noor Ahsan noor_ah...@mentor.com
 
  * Imported from oe.dev commit id
 bac6441118e0b78d55c98afdc108f03b6c655909.
 
  Signed-off-by: Noor Ahsan noor_ah...@mentor.com
 
 You need to send a follow up patch to fix:

Sorry  I am sending debianutils package pull request.

 
  diff --git a/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb
 b/meta-oe/recipes-benchmark/lmbench/lmbench_3.0-a9.bb new file mode
 100644 index 000..7efdad5 --- /dev/null +++ b/meta-oe/recipes-
 benchmark/lmbench/lmbench_3.0-a9.bb
 
  +RDEPENDS_${PN} = debianutils +FILES_${PN} += ${datadir}/lmbench
 
 NOTE: Runtime target 'debianutils' is unbuildable, removing...
 Missing or unbuildable dependency chain was: ['debianutils']
 ERROR: Required build target 'lmbench' has no buildable providers.
 Missing or unbuildable dependency chain was: ['lmbench',
'debianutils']
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (Darwin)
 
 iD8DBQFOXI0iMkyGM64RGpERAty/AJ9x8m6MshXyIi8mbORyEGRFYqXtQgCbB4xB
 RHmSVE72NyAih3MsEaLn/Rk=
 =HWaT
 -END PGP SIGNATURE-
 
 
 ___
 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-oe][PATCH 1/3] bonnie++: Add version 1.03c (initial recipe)

2011-08-30 Thread Ahsan, Noor
 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf
Of
 Koen Kooi
 Sent: Tuesday, August 30, 2011 4:49 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [meta-oe][PATCH 1/3] bonnie++: Add version 1.03c
 (initial recipe)
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Op 30-08-11 12:58, Noor, Ahsan schreef:
  From: Noor Ahsan noor_ah...@mentor.com
 
  * Imported from oe.dev commit id
 44985d56bc556786812a0a02d6219afd31a7381d. * Merge .bb and .inc file.
 
  Signed-off-by: Noor Ahsan noor_ah...@mentor.com --- meta-
 oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb |   30
  .../bonnie/files/gcc-4.3-fixes.patch
 |   19  2 files changed, 49 insertions(+), 0 deletions(-)
 create mode 100644
  meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb create mode
100644
 meta-oe/recipes-benchmark/bonnie/files/gcc-4.3-fixes.patch
 
  diff --git a/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb
 b/meta-oe/recipes-benchmark/bonnie/bonnie++_1.03c.bb new file mode
 100644 index 000..2067307 --- /dev/null +++ b/meta-oe/recipes-
 benchmark/bonnie/bonnie++_1.03c.bb @@ -0,0 +1,30 @@ +DESCRIPTION =
 Tests large file IO and
  creation/deletion of small files. +HOMEPAGE =
 http://www.coker.com.au/bonnie++/; +LICENSE = GPL v2
 
 without spaces please
 
  +LIC_FILES_CHKSUM =
 file://copyright.txt;md5=cd4dde95a6b9d122f0a9150ae9cc3ee0 + +SRC_URI
 = http://www.coker.com.au/bonnie++/bonnie++-${PV}.tgz \ +
 file://gcc-4.3-fixes.patch \ ++SRC_URI[md5sum] =
 77a1ba78f37bdd7f024b67e1e36ad151 +SRC_URI[sha256sum] =
  c674f1182f4c20f1e6d038feceb0a6617fc3e7658dfbbac89396043b49612a26 +
 +SCRIPTS = bon_csv2html bon_csv2txt +EXES = bonnie++ zcav
 
 And move those 2 below the inherit line please.
 
  + +inherit autotools + +do_install () { +install -d ${D}/bin
 +install -d ${D}/sbin +install -m 0755 ${EXES}
 ${D}/sbin +install -m 0755 ${SCRIPTS} ${D}/bin +} + +PACKAGES
 += bonnie-scripts + +FILES_${PN} = /sbin +FILES_bonnie-
 scripts=/bin + +TARGET_CC_ARCH
  += ${LDFLAGS}
 
 and move this one above do_install please. The general idea is to
group
 them by usage and TARGET_CC_ARCH is a configure/compile thing.
 
 
 regards,
 
 Koen


Hi,

The recipe is verified on oe-styliz.py script and the formatting is done
by that script. Your recommendations are conflicting with oe-stylize.
Kindly update oe-stylize according to your recommendation so that it
give output according to your expectations.

Thanks.

Regards,
Noor

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


Re: [oe] [meta-oe][PATCH 1/1] debianutils: Add version 2.30 (initial recipe)

2011-08-30 Thread Ahsan, Noor
 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf
Of
 Koen Kooi
 Sent: Tuesday, August 30, 2011 6:40 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [meta-oe][PATCH 1/1] debianutils: Add version 2.30
 (initial recipe)
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Op 30-08-11 15:24, Noor, Ahsan schreef:
  From: Noor Ahsan noor_ah...@mentor.com
 
  * Imported from oe.dev commit id
 280a17bc1d8132f97cf6a89b8bc08a32380fa357. * Merged .bb and .inc file
 
  Signed-off-by: Noor Ahsan noor_ah...@mentor.com ---
 .../debianutils/debianutils_2.30.bb|   49
 
 
  +pkg_prerm_${PN} () { +for app in add-shell  installkernel  mkboot
 remove-shell run-parts  savelog  sensible-browser  sensible-editor
 sensible-pager  tempfile  which ; do +   update-alternatives --remove
 $app $app.${PN} +done +} + +pkg_postinst_${PN} () { +#!/bin/sh +for
app
 in add-shell
  installkernel  mkboot  remove-shell ; do +update-alternatives --
 install ${sbindir}/$app $app $app.${PN} 100 +done +for app in savelog
 sensible-browser  sensible-editor  sensible-pager  which ; do +
 update-alternatives --install ${bindir}/$app $app $app.${PN} 100 +done
 +for app in
  run-parts  tempfile ; do +update-alternatives --install
 ${base_bindir}/$app $app $app.${PN} 100 +done +}
 
 The *insts are inconsistent, one has a shebang, the other doesn't and
 neither are safe to use in a cross environment.

Koen BTW this is directly coming from oe.dev.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (Darwin)
 
 iD8DBQFOXOg2MkyGM64RGpERAjJ9AJ49QdImds18J3+35yKjLGJnKq/WzQCeJmGa
 U0+Ri3DkNyu52JW5LJ9+QcU=
 =l6E5
 -END PGP SIGNATURE-
 
 
 ___
 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-oe][PATCH 0/4] pull request #1 for bechmark recipes

2011-08-29 Thread Ahsan, Noor
 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf
Of
 Koen Kooi
 Sent: Saturday, August 27, 2011 12:18 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [meta-oe][PATCH 0/4] pull request #1 for bechmark
 recipes
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Op 26-08-11 18:40, Noor, Ahsan schreef:
  From: Noor Ahsan noor_ah...@mentor.com
 
  *** BLURB HERE *** The following changes since commit
 22ec18224f7a7c64850c76b14017dff2ff4345f2: pespin (1): elfe: Add
 LIC_FILES_CHKSUM to recipe
 
  are available in the git repository at:
 
  git://github.com/Noor-Ahsan/meta-oe master https://github.com/Noor-
 Ahsan/meta-oe/tree/master
 
  Noor Ahsan (4): dbench: Add version 4.0 (initial recipe) lmbench:
Add
 version 3.0-a9 (initial recipe) iperf: Add version 2.0.4 (initial
 recipe) tiobench: Add version 0.3.3 (initial recipe)
 
 It doesn't address any of the feedback I gave on your pull-request on
 the OE-core ml (PR, RDEPENDS_*). Please address that for the next spin
I have addressed that feedback but could not understand you following
comment. Kindly elaborate it.

Op 26 aug. 2011, om 18:31 heeft Noor, Ahsan het volgende geschreven:

 From: Noor Ahsan noor_ah...@mentor.com
 
 *** BLURB HERE ***

where?

What do you mean by where?

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (Darwin)
 
 iD8DBQFOWJolMkyGM64RGpERAlYaAJ0bZhoMM9lwtwgrSHEuHROvN7JOtgCaAmfp
 9tXTVl0h+rTsBCAutmcmJQI=
 =/dIY
 -END PGP SIGNATURE-
 
 
 ___
 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-oe][PATCH 0/4] pull request #1 for bechmark recipes

2011-08-29 Thread Ahsan, Noor
 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf
Of
 Koen Kooi
 Sent: Monday, August 29, 2011 1:02 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [meta-oe][PATCH 0/4] pull request #1 for bechmark
 recipes
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Op 29-08-11 09:49, Ahsan, Noor schreef:
  -Original Message- From: openembedded-devel-
 boun...@lists.openembedded.org [mailto:openembedded-devel-
 boun...@lists.openembedded.org] On Behalf
  Of
  Koen Kooi Sent: Saturday, August 27, 2011 12:18 PM To:
openembedded-
 de...@lists.openembedded.org Subject: Re: [oe] [meta-oe][PATCH 0/4]
 pull request #1 for bechmark recipes
 
  Op 26-08-11 18:40, Noor, Ahsan schreef:
  From: Noor Ahsan noor_ah...@mentor.com
 
  *** BLURB HERE *** The following changes since commit
  22ec18224f7a7c64850c76b14017dff2ff4345f2: pespin (1): elfe: Add
 LIC_FILES_CHKSUM to recipe
 
  are available in the git repository at:
 
  git://github.com/Noor-Ahsan/meta-oe master
 https://github.com/Noor-
  Ahsan/meta-oe/tree/master
 
  Noor Ahsan (4): dbench: Add version 4.0 (initial recipe) lmbench:
  Add
  version 3.0-a9 (initial recipe) iperf: Add version 2.0.4 (initial
 recipe) tiobench: Add version 0.3.3 (initial recipe)
 
  It doesn't address any of the feedback I gave on your pull-request
on
 the OE-core ml (PR, RDEPENDS_*). Please address that for the next spin
  I have addressed that feedback but could not understand you
 following comment. Kindly elaborate it.
 
  Op 26 aug. 2011, om 18:31 heeft Noor, Ahsan het volgende
geschreven:
 
  From: Noor Ahsan noor_ah...@mentor.com
 
  *** BLURB HERE ***
 
  where?
 
  What do you mean by where?
 
 It says blurb here but the blurb is nowhere to be found, so I ask
 where the blurb is.


Thanks. I used the pull request format for the first time so did not
know what needs to go here.

 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (Darwin)
 
 iD8DBQFOW0dcMkyGM64RGpERAkZ/AJ4i135gq9PuAt3CD63E+S4JumEbZgCgnz2I
 R9p1/K9T459r7DTs8aYzcOI=
 =i5aT
 -END PGP SIGNATURE-
 
 
 ___
 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] [PATCH][meta-oe] python-lxml: Added new recipe in meta-oe for 2.2.8 version

2011-08-29 Thread Ahsan, Noor
 -Original Message-
 From: Ahsan, Noor
 Sent: Thursday, August 18, 2011 4:09 PM
 To: openembedded-devel@lists.openembedded.org
 Cc: Ahsan, Noor
 Subject: [PATCH][meta-oe] python-lxml: Added new recipe in meta-oe for
 2.2.8 version
 
 From: Noor Ahsan noor_ah...@mentor.com
 
 * Added new recipe in meta-oe for 2.2.8 version
 
 Signed-off-by: Noor Ahsan noor_ah...@mentor.com
 ---
  .../recipes-devtools/python/python-lxml_2.2.8.bb   |   32
 
  1 files changed, 32 insertions(+), 0 deletions(-)
 
 diff --git a/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
 b/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
 new file mode 100644
 index 000..b1aac3f
 --- /dev/null
 +++ b/meta-oe/recipes-devtools/python/python-lxml_2.2.8.bb
 @@ -0,0 +1,32 @@
 +DESCRIPTION = Powerful and Pythonic XML processing library combining
 \
 +libxml2/libxslt with the ElementTree API.
 +HOMEPAGE = http://codespeak.net/lxml;
 +LICENSE = BSD
 +LIC_FILES_CHKSUM =
 file://LICENSES.txt;md5=7de92baeb3b7bfaebe72404155fdb346
 +SRCNAME = lxml
 +
 +DEPENDS = libxml2 libxslt
 +RDEPENDS_${PN} += libxml2 libxslt python-compression
 +
 +SRC_URI =
 http://pypi.python.org/packages/source/l/${SRCNAME}/${SRCNAME}-
 ${PV}.tar.gz;name=lxml
 +SRC_URI[lxml.md5sum] = d6c612d63a84d79440912a1b29d3b981
 +SRC_URI[lxml.sha256sum] =
 89b73925b5e3295dcf4675cb948007a20eb029fe35c9a162ae19ec11f1abafe5
 +
 +S = ${WORKDIR}/${SRCNAME}-${PV}
 +
 +inherit setuptools
 +
 +DISTUTILS_BUILD_ARGS +=  \
 +
--with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-
 config libxslt' \
 + --with-xml2-
 config='${STAGING_BINDIR_NATIVE}/xml2-config' \
 +
 +
 +DISTUTILS_INSTALL_ARGS +=  \
 +
--with-xslt-config='${STAGING_BINDIR_NATIVE}/pkg-
 config libxslt' \
 + --with-xml2-
 config='${STAGING_BINDIR_NATIVE}/xml2-config' \
 +
 +
 +BBCLASSEXTEND = native nativesdk
 +RDEPENDS_${PN}_virtclass-native = libxml2-native libxslt-native
 +
 +
 --
 1.7.0.4
Hi,

Kindly pull this patch. Thanks

Regards,
Noor

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


Re: [oe] [PATCH][meta-oe] python-lxml: Added new recipe in meta-oe for 2.2.8 version

2011-08-29 Thread Ahsan, Noor
 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
 Paul Menzel
 Sent: Monday, August 29, 2011 3:26 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [PATCH][meta-oe] python-lxml: Added new recipe in
 meta-oe for 2.2.8 version
 
 Dear Noor,
 
 
 Am Donnerstag, den 18.08.2011, 16:09 +0500 schrieb Noor, Ahsan:
  From: Noor Ahsan noor_ah...@mentor.com
 
  * Added new recipe in meta-oe for 2.2.8 version
 
 I am sorry your patch has not gotten any review and has not been pushed
 to meta-oe. It would be nice though, if you could take general comments
 to your other patches and apply those to for example this patch.
 
 1. Please update the commit summary.
 2. Please remove the redundant line from the commit message’s body.
 3. Please note that you got the recipe from oe.dev. I guess you did,
 did not you?
 (4. Include what build and run time environment you used for testing.)
 5. Now that you have got the set up to send pull requests you can then
 send that a version v2 with a pull request.
 
  Signed-off-by: Noor Ahsan noor_ah...@mentor.com
 
 With my comments addressed you can add
 
   Reviewed-by: Paul Menzel paulepan...@users.sourceforge.net
 
 to the commit message.
 
 I am sorry that you have to resend it, but reviewing and writing
 comments also takes a lot of time, people tend to not have a lot of.
 Luckily Git (`git commit --amend` or `git rebase -i …`) makes it easy
 for you to improve patches, so it only should take a few minutes.
 
 
 Thanks,
 
 Paul

HI,

Thanks. I will send it with my next bunch of recipes.

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


[oe] benefits of sending full request against sending individual patches

2011-08-29 Thread Ahsan, Noor
Hello,

 

I was just wondering that what added benefit we get by sending pull
request instead of sending patches. As I observed patches are still
being sent on the mailing list along the pull request.

 

Regards,

Noor

 

Noor Ahsan | Sr. Technical Lead System Builder

Mentor Embedded http://www.mentor.com/embedded (tm) |1-2-3 OSN Center
Cavalry Ground Lahore

P +92 42 36099196 | M +92 307 4448444

Nucleus http://www.mentor.com/embedded-software/nucleus/ (r) | Linux
http://www.mentor.com/embedded-software/linux/ (r) | Android
http://www.mentor.com/embedded-software/android/ (tm) | Services
http://www.mentor.com/embedded-software/services/  | UI
http://www.mentor.com/embedded-software/inflexion/  | Multi-OS
http://www.mentor.com/embedded-software/multicore-multi-os 

 

Android is a trademark of Google Inc. Use of this trademark is subject
to Google Permissions. 

Linux is the registered trademark of Linus Torvalds in the U.S. and
other countries.

 

 

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


Re: [oe] [meta-oe][PATCH v3] lmbench: Add version 3.0-a9 (initial recipe)

2011-08-25 Thread Ahsan, Noor
 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf
Of
 Koen Kooi
 Sent: Wednesday, August 24, 2011 11:25 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [meta-oe][PATCH v3] lmbench: Add version 3.0-a9
 (initial recipe)
 
 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Op 24-08-11 19:35, Tom Rini schreef:
  On Wed, Aug 24, 2011 at 1:03 AM, Noor, Ahsan noor_ah...@mentor.com
 wrote:
  From: Noor Ahsan noor_ah...@mentor.com
 
  * Imported from OE commit id
 bac6441118e0b78d55c98afdc108f03b6c655909
 
  Signed-off-by: Noor Ahsan noor_ah...@mentor.com
 
  NAK, All of the patches are missing the patch header described in
 http://wiki.openembedded.org/index.php/Commit_Patch_Message_Guidelines
 and I gave you some of the infos you need for the patches before :)
 
 And after fixing the patch headers, could you please combine the
 patches into a single pull request?

You mean to say I should send lmbench, iperf and dbench patch in single
patch?
 
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.5 (Darwin)
 
 iD8DBQFOVUH9MkyGM64RGpERApupAKCcLKGGZ1EN36urxIbWfCRqnYSCRACfUFSq
 Zegxb6tc43YDJ5M8kP3rpQ8=
 =nbYz
 -END PGP SIGNATURE-
 
 
 ___
 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] [PATCH v2][meta-oe] lmbench: Added new recipe for 3.0-a9 version

2011-08-23 Thread Ahsan, Noor
Hi,

Sorry I did not see your comment on my previous patch. I'll incorporate them in 
next version. Thanks.

Regards,
Noor 

 -Original Message-
 From: openembedded-devel-boun...@lists.openembedded.org
 [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
 Paul Menzel
 Sent: Tuesday, August 23, 2011 2:12 PM
 To: openembedded-devel@lists.openembedded.org
 Subject: Re: [oe] [PATCH v2][meta-oe] lmbench: Added new recipe for
 3.0-a9 version
 
 Dear Noor,
 
 
 Am Dienstag, den 23.08.2011, 13:34 +0500 schrieb Noor, Ahsan:
  From: Noor Ahsan noor_ah...@mentor.com
 
  * Added new recipe for 3.0-a9 version.
 
  Signed-off-by: Noor Ahsan noor_ah...@mentor.com
  ---
   .../lmbench/lmbench-3.0-a9/lmbench-run |   23 +++
   .../lmbench/lmbench-3.0-a9/obey-ranlib.patch   |   25 +++
   .../lmbench-3.0-a9/rename-line-binary.patch|   11 ++
   .../lmbench-3.0-a9/update-results-script.patch |  155
 
   .../recipes-benchmark/lmbench/lmbench_3.0-a9.bb|   75 ++
   5 files changed, 289 insertions(+), 0 deletions(-)
 
 […]
 
 NACK. I am sorry, but neither Tom’s nor mine review comments are
 included.
 
 
 Thanks,
 
 Paul
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [PATCH v2] ust: Add new recipe for 0.12 version

2011-05-18 Thread Ahsan, Noor
Hello,

Same stuff apply here as well.

I am not sure whether anybody else is using older version or not will not 
delete the older version. I tested this recipe with 
DISTRO = angstrong-2010.x
MACHINE = beagleboard

The older version does not support arm and older recipe throws the error in 
do_compile. Newer version has better support of ARM.

Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Paul 
Menzel
Sent: Tuesday, May 17, 2011 6:44 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH v2] ust: Add new recipe for 0.12 version

Am Dienstag, den 17.05.2011, 18:33 +0500 schrieb Noor Ahsan:
 * Add new recipe of ust for 0.12 version

The same comments and questions as in my other mail apply here too.
Please send a reply with the respective answers.

 Signed-off-by: Noor Ahsan noor_ah...@mentor.com
 ---
  recipes/lttng/ust_0.12.bb |4 
  1 files changed, 4 insertions(+), 0 deletions(-)
 
 diff --git a/recipes/lttng/ust_0.12.bb b/recipes/lttng/ust_0.12.bb new 
 file mode 100644 index 000..1efb853
 --- /dev/null
 +++ b/recipes/lttng/ust_0.12.bb
 @@ -0,0 +1,4 @@
 +require ${PN}.inc
 +
 +SRC_URI[md5sum] = fae6e324a56016658c5b83ec14ba0043
 +SRC_URI[sha256sum] = 
 215b05f47d0c9e3a2934926a7d14fa9c67025db917c3a1f641df40b08314ab0c

Acked-by: Paul Menzel paulepan...@users.sourceforge.net


Thanks,

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


Re: [oe] [PATCH v3] userspace-rcu: Add new recipe for 0.5.4 version.

2011-05-18 Thread Ahsan, Noor
Hello,

I am not sure whether anybody else is using older version or not will not 
delete the older version. I tested this recipe with 
DISTRO = angstrong-2010.x
MACHINE = beagleboard

The older version does not support arm and older recipe throws the error in 
do_compile. Newer version has better support of ARM.


Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Paul 
Menzel
Sent: Tuesday, May 17, 2011 6:42 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH v3] userspace-rcu: Add new recipe for 0.5.4 version.

Am Dienstag, den 17.05.2011, 18:32 +0500 schrieb Noor Ahsan:
 * Added a new recipe of userspace-rcu for 0.5.4 version

Well this item is redundant to the commit message, so the committer should 
remove it.

Will you send a follow up patch to remove `userspace-rcu_0.4.6.bb` afterward? 
Or are there still users?

What build configuration has this patch been tested with?

You do not have to resend the patch. Just answer the questions in a reply.

 Signed-off-by: Noor Ahsan noor_ah...@mentor.com
 ---
  recipes/lttng/userspace-rcu_0.5.4.bb |3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)
 
 diff --git a/recipes/lttng/userspace-rcu_0.5.4.bb 
 b/recipes/lttng/userspace-rcu_0.5.4.bb
 new file mode 100644
 index 000..e0d98e5
 --- /dev/null
 +++ b/recipes/lttng/userspace-rcu_0.5.4.bb
 @@ -0,0 +1,3 @@
 +require ${PN}.inc
 +SRC_URI[md5sum] = 04147d24749be75200173859839207f7
 +SRC_URI[sha256sum] = 
 02aedbb16c16bd034e246d5c9637a9232be559c66fc2fe4eb28948e234bd89f1

Acked-by: Paul Menzel paulepan...@users.sourceforge.net


Thanks,

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


Re: [oe] [PATCH v2] Add new recipe for 0.5.4 version.

2011-05-17 Thread Ahsan, Noor
Hello,

Yeah, I missed the recipe/package name in the subject. I am sending
another patch.

Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Martin Jansa
Sent: Tuesday, May 17, 2011 5:42 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH v2] Add new recipe for 0.5.4 version.

On Tue, May 17, 2011 at 05:23:31PM +0500, Noor Ahsan wrote:
 * Added a new recipe for 0.5.4 version
 
 Signed-off-by: Noor Ahsan noor_ah...@mentor.com

Commit message should start with package_name:

from Add new recipe for 0.5.4 version. in Subject I have no idea what
are you talking about and have to open e-mail body.. which is not that
bad as displaying whole commit if it gets commited :).

Regards,

 ---
  recipes/lttng/userspace-rcu_0.5.4.bb |3 +++
  1 files changed, 3 insertions(+), 0 deletions(-)
 
 diff --git a/recipes/lttng/userspace-rcu_0.5.4.bb 
 b/recipes/lttng/userspace-rcu_0.5.4.bb
 new file mode 100644
 index 000..e0d98e5
 --- /dev/null
 +++ b/recipes/lttng/userspace-rcu_0.5.4.bb
 @@ -0,0 +1,3 @@
 +require ${PN}.inc
 +SRC_URI[md5sum] = 04147d24749be75200173859839207f7
 +SRC_URI[sha256sum] =
02aedbb16c16bd034e246d5c9637a9232be559c66fc2fe4eb28948e234bd89f1
 --
 1.6.3.3
 
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com

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


Re: [oe] Python-native dependency in libxml2

2011-03-18 Thread Ahsan, Noor
Hello Martin/Frans and Khem,

Any recommendation after following analysis that how should I proceed.
Should I send the patches to community?

Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Ahsan, Noor
Sent: Thursday, March 17, 2011 3:41 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Python-native dependency in libxml2

Hello,

Today I got the fresh stuff and tried to build gnome-doc-utils-native
(to build xml2po package). I am building on Ubuntu host 9.10. First it
gave me an error that it could not find intltoolize command. You can see
the attached build log build_intltool_error,log. So I added intltool
package in gnome-doc-utils-native DEPENDS so it built successfully. You
can see the build log build_intltool_fix.log. Then I removed all the
build stuff from build DIR and commented DEPENDS_virtclass-native =
python-native and XPY_virtclass-native = 
--with-python=${PYTHON_DIR} in libxml2.inc file. Rebuild
gnome-doc-utils-native. It built successfully again. The build log is
also attached build_no_python.log. I think there is no need of python
dependency in libxml2 package. Kindly correct me if I am doing anything
wrong.

We need to fix gnome-doc-utils-native recipe, so that it does not show
intltoolize error.

Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Ahsan, Noor
Sent: Wednesday, March 16, 2011 1:39 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Python-native dependency in libxml2

Hello,

I made 2 changes, first one was to remove python-native from DEPENDS and
second was commented out XPY_virtclass-native = 
--with-python=${PYTHON_DIR}. Moreover I removed all the stuff from
build dir, so there were not python-native for me. After kicking this
build libxml2-native build fine.

I was looking for xml2po recipe, I couldn't find it. Can you tell me how
to build xml2po package so that I can reproduce the problem.

Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Martin Jansa
Sent: Wednesday, March 16, 2011 1:05 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] Python-native dependency in libxml2

On Wed, Mar 16, 2011 at 08:28:39AM +0100, Frans Meulenbroeks wrote:
 2011/3/16 Khem Raj raj.k...@gmail.com:
  On 3/15/2011 11:22 PM, Ahsan, Noor wrote:
 
  Hello,
 
  I was looking at the libxml2 package. While going through the
recipes I
  came to know that its native package depends on python-native
package as
  well. This dependency is defined in libxml2.inc file.
 
  DEPENDS_virtclass-native = python-native
 
  This package build fine after removing this dependency. I am not
clear
  why this dependency is being added in libxml2 package. Can somebody
  clear that to me. While looking at the git log I came to know that
this
  change is coming from libxml2-native.inc file. But I am not clear
why
  this dependency was added as this package build fine without it.
 
  Please help me in understanding this dependency. Thanks.
 
  Try to build this recipe from scratch and see if it still works then
we can
  remove the dep

That's not enough, libxml2-native builds fine.. but then xml2po
will fail if there isn't libxml2-native built with python support.

see a25f07ca6159e1cd5b8a215ca5da8405fb1b9053

So yes.. for such tests you should build recipe from scratch _and_ check
if resulting package/sysroot is still the same.

Regards,

 I'm not sure if that is the right way.
 It might well be that typically python-native is already there in a
 scratch build because some earlier package needed it (or even because
 of the scheduling of build steps.
 
 Probably a better way is to build with packaged staging (with staging
 dir outside TMPDIR) then rm TMPDIR and bake the package.
 Alternately peek into the package to see if it needs python. If it is
 needed then the DEPENDS should stay.
 
 Looking at the issue at hand maybe the best person to ask is Martin
 Jansa as he last touched that line according to git blame:
 3cd9ddbf recipes/libxml/libxml2.inc  (Martin Jansa
 2010-02-26 12:32:53 +0100  5) DEPENDS_virtclass-native =
 python-native
 
 The other thing is that further on in the .inc file I see:
 XPY_virtclass-native =  --with-python=${PYTHON_DIR}
 
 This strongly suggests a hard dependency on python, so removing the
 DEPENDS because it builds without it does not seem to be a good plan
 to me.
 
 My strong feeling is that recipes should be self-contained (so should
 list all packages they need to build, minus the ones that are
 inherited from classes (and maybe a few implicit ones like maybe make)
 
 Frans
 
 ___
 Openembedded-devel mailing list
 Openembedded-devel

[oe] Python-native dependency in libxml2

2011-03-16 Thread Ahsan, Noor
Hello,

I was looking at the libxml2 package. While going through the recipes I
came to know that its native package depends on python-native package as
well. This dependency is defined in libxml2.inc file. 

DEPENDS_virtclass-native = python-native

This package build fine after removing this dependency. I am not clear
why this dependency is being added in libxml2 package. Can somebody
clear that to me. While looking at the git log I came to know that this
change is coming from libxml2-native.inc file. But I am not clear why
this dependency was added as this package build fine without it.

Please help me in understanding this dependency. Thanks.

Regards,
Noor

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


Re: [oe] External toolchain

2011-02-22 Thread Ahsan, Noor
Hello Luca,

Probably you need to create symbolic links of arm-angstrom-linux-
gnueabi-gcc to arm-none-linux-gnueabi-gcc. OE assumes that the compiler name is 
arm-angstrom-linux-gnueabi-gcc. You can see the CC variable value by take 
environment of libtool-cross (using -e options) that how OE is creating the 
name of compiler.

Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Luca 
Bolognini
Sent: Tuesday, February 22, 2011 2:16 PM
To: Open Embedded Mailing List
Subject: [oe] External toolchain

Hi,
I would like to use an external toolchain (CodeSourcery2009q1) to 
cross-compile some packages for my beagleboard (more or less the same 
that happens in Arago) and then I expect not to download glibc package 
and cross-compile again libc, libpthread and so on. I would like to use 
the libraries inside my external CodeSourcery SDK.
I followed some 
hints by Denys and Tom ( http://lists.linuxtogo.
org/pipermail/openembedded-devel/2010-April/019521.html ) and I put 

# 
LUCA
TARGET_VENDOR = -none
TOOLCHAIN_TYPE ?= external

TOOLCHAIN_BRAND ?= csl
TOOLCHAIN_PATH = /opt/ti/codesourcery

TOOLCHAIN_SYSPATH = ${TOOLCHAIN_PATH}/arm-none-linux-gnueabi

PATH_prepend = ${TOOLCHAIN_PATH}/bin:
require 
conf/distro/include/toolchain-external.inc

inside my 
openembedded/conf/distro/angstrom-2008.1.conf

As you know, cross-
compiler provided by CodeSoucery is arm-none-linux-gnueabi-gcc but I 
get the following error with libtool-cross_2.2.6b.bb:
Build 
Configuration:
BB_VERSION= 1.8.19
METADATA_BRANCH   = 
release-2010.12
METADATA_REVISION = dec3967
TARGET_ARCH   = 
arm
TARGET_OS = linux-gnueabi
MACHINE   = 
beagleboard
DISTRO= angstrom
DISTRO_VERSION= 
2010.7-test-20110221
TARGET_FPU= hard
[...]
| checking for 
arm-angstrom-linux-gnueabi-gcc... arm-angstrom-linux-gnueabi-gcc -
march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -mthumb-
interwork -mno-thumb
| checking whether the C compiler works... no
| 
configure: error: in `/home/bolognini/diskp2/diskp2.4/pure-
oe/build/tmp/work/armv7a-angstrom-linux-gnueabi/libtool-cross-2.2.6b-
r27.1/libtool-2.2.6b':
| configure: error: C compiler cannot create 
executables

Obviously OE doesn't have to find arm-angstrom-linux-
gnueabi-gcc, but why does it search for arm-angstrom-linux-gnueabi-gcc 
instead of arm-none-linux-gnueabi-gcc ?
What's wrong inside angstrom-
2008.1.conf or what am I missing?

Thank you for your support
Luca


Supera i limiti: raddoppia la velocità da 10 a 20 Mega!   Risparmia con Tutto 
Incluso: telefono + adsl 20 mega a soli 29,95 € al mese per due anni!  SCONTO 
DI 240 EURO!  
http://abbonati.tiscali.it/telefono-adsl/prodotti/tc/tuttoincluso/?WT.mc_id=01fw
 

___
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] [PATCH] packaged-staging.bbclass: bug fix in ipk file name generation for searching ipk file.

2011-01-09 Thread Ahsan, Noor
* First check the availability of PKGV_pkg variable, if it is not available 
then get value from PKGV variable for creating ipk file name for searching ipk 
file.

Signed-off-by: Ahsan, Noor noor_ah...@mentor.com
---
 classes/packaged-staging.bbclass |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/classes/packaged-staging.bbclass b/classes/packaged-staging.bbclass
index d0aaea1..1200abc 100644
--- a/classes/packaged-staging.bbclass
+++ b/classes/packaged-staging.bbclass
@@ -454,10 +454,13 @@ python do_package_stage () {
 pr = bb.data.getVar('PR_%s' % pkg, d, 1)
 if not pr:
 pr = bb.data.getVar('PR', d, 1)
+pkgv = bb.data.getVar('PKGV_%s' % pkg, d, 1)
+if not pkgv:
+pkgv = bb.data.getVar('PKGV', d, 1)
 if not oe.packagedata.packaged(pkg, d):
 continue
 if bb.data.inherits_class('package_ipk', d):
-srcname = bb.data.expand(pkgname + _${PKGV}- + pr + 
${DISTRO_PR} + _ + arch + .ipk, d)
+srcname = bb.data.expand(pkgname + _ + pkgv + - + pr + 
${DISTRO_PR} + _ + arch + .ipk, d)
 srcfile = bb.data.expand(${DEPLOY_DIR_IPK}/ + arch + / + 
srcname, d)
 if os.path.exists(srcfile):
 destpath = ipkpath + / + arch + /
-- 
1.6.3.3


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


Re: [oe] llvm-native package dependency on binutils-croos package

2010-09-07 Thread Ahsan, Noor
Hello,

I am going to remove binutils-cross dependency from llvm-native package
as this package does build successfully without binutils-cross
dependency.

Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Frans Meulenbroeks
Sent: Monday, September 06, 2010 3:29 PM
To: openembedded-devel@lists.openembedded.org
Cc: robertschus...@fsfe.org
Subject: Re: [oe] llvm-native package dependency on binutils-croos
package

2010/9/6 Ahsan, Noor noor_ah...@mentor.com:
 Hi all,



 I was looking into llvm2.7-native package (llvm2.7-native_2.7.bb). Its
 recipe file includes llvm-native.inc, in this file the DEPENDS lists
 contains binutils-cross package. I am bit confused that why a
non-native
 package is present in DPENDS list of a native package. This commit
link
 is 6da4ed714f269373271a14149b131bf1ff7a6def.



 When I removed the binutils-cross from the dependency list and cleaned
 binutils-cross and llvm-native packages and rebuilt llvm-native
package
 it built without any problem. So if llvm-native build successfully
then
 I think binutils-cross should be removed from the DEPENDS list. Can
 somebody explain the reason if binutils-cross in the DEPENDS list?
 Thanks.



 Regards,

 Noor



Noor, thanks for spotting this.
To me this dependency seems very weird.
I can imagine a dependency on binutils-native, but having a host
recipe depend on a target recipe is somewhat strange.
Should this be a dep on binutils-native ?
Robert, can you elaborate (as you added the dep)?

Thanks alot, Frans

___
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] llvm-native package dependency on binutils-croos package

2010-09-06 Thread Ahsan, Noor
Hi all,

 

I was looking into llvm2.7-native package (llvm2.7-native_2.7.bb). Its
recipe file includes llvm-native.inc, in this file the DEPENDS lists
contains binutils-cross package. I am bit confused that why a non-native
package is present in DPENDS list of a native package. This commit link
is 6da4ed714f269373271a14149b131bf1ff7a6def. 

 

When I removed the binutils-cross from the dependency list and cleaned
binutils-cross and llvm-native packages and rebuilt llvm-native package
it built without any problem. So if llvm-native build successfully then
I think binutils-cross should be removed from the DEPENDS list. Can
somebody explain the reason if binutils-cross in the DEPENDS list?
Thanks.

 

Regards,

Noor

 

Noor Ahsan Khawaja

Team Lead, Pakistan SystemBuilder / EDGE Group

Embedded Systems Division

Mentor Graphics Pakistan Development (Pvt) Ltd

Direct: +92 42 609-9196

www.mentor.com/embedded http://www.mentor.com/embedded 

 

 

 

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


Re: [oe] [PATCH] libsdl-native: Convert to new style staging, remove do_stage

2010-09-06 Thread Ahsan, Noor
Yes. I checked the ipk file. There was no difference in lib dir.

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Frans 
Meulenbroeks
Sent: Monday, September 06, 2010 5:35 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH] libsdl-native: Convert to new style staging,remove 
do_stage

2010/9/6 Noor Ahsan noor_ah...@mentor.com:
 * Remove do_stage ()
 * Replace tabs with 8 spaces in do_configure
 * Bump INC_PR = r3

 Signed-off-by: Noor Ahsan noor_ah...@mentor.com
 ---
  recipes/libsdl/libsdl-native.inc |   18 +++---
  1 files changed, 7 insertions(+), 11 deletions(-)

 diff --git a/recipes/libsdl/libsdl-native.inc 
 b/recipes/libsdl/libsdl-native.inc
 index 783797a..faae90c 100644
 --- a/recipes/libsdl/libsdl-native.inc
 +++ b/recipes/libsdl/libsdl-native.inc
 @@ -2,7 +2,7 @@ DESCRIPTION = Simple DirectMedia Layer - native Edition
  HOMEPAGE = http://www.libsdl.org;
  SECTION = libs
  LICENSE = LGPL
 -INC_PR = r2
 +INC_PR = r3

  SRC_URI = http://www.libsdl.org/release/SDL-${PV}.tar.gz \
  
 @@ -23,15 +23,11 @@ EXTRA_OECONF = --disable-debug --disable-cdrom 
 --enable-threads --enable-timers
                 --disable-video-picogui --disable-video-qtopia 
 --enable-dlopen

  do_configure() {
 -       gnu-configize
 -       oe_runconf
 -       cd ${S}
 -       # prevent libtool from linking libs against libstdc++, libgcc, ...
 -       cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=.*/postdeps=/'  
 ${TARGET_PREFIX}libtool.tmp
 -       mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
 +        gnu-configize
 +        oe_runconf
 +        cd ${S}
 +        # prevent libtool from linking libs against libstdc++, libgcc, ...
 +        cat ${TARGET_PREFIX}libtool | sed -e 's/postdeps=.*/postdeps=/' 
  ${TARGET_PREFIX}libtool.tmp
 +        mv ${TARGET_PREFIX}libtool.tmp ${TARGET_PREFIX}libtool
  }

 -do_stage() {
 -       autotools_stage_all
 -       install -m 0644 build/libSDLmain.a ${STAGING_LIBDIR}
 -}

when you build is tlibSDLmain.a still moved to staging ?

Frans

___
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] [PATCH] sqlite3: Merged target and native recipe using BBCLASSEXTEND

2010-09-02 Thread Ahsan, Noor
Dear Paul,

Thanks for the comment. I'll resubmit the recipe with modified commit
message. There is sqlite-native recipe I'll update it as well.

Regards,
Noor

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Paul Menzel
Sent: Thursday, September 02, 2010 2:19 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH] sqlite3: Merged target and native recipe using
BBCLASSEXTEND

Dear Noor,


your commit summary is a bit misleading, since there does not seem to
have ever been a native recipe for 3.6.23.1. So I think extend instead
of merge would have been better.

Am Donnerstag, den 02.09.2010, 14:56 +0600 schrieb Noor Ahsan:
 * Set BBCLASSEXTEND to native to use target recipe as native recipe
 * In include file tcl-native was present in DEPENDS list, remove it
from DEPENDS list by setting DEPENDS_virtclass-native = readline-native
ncurses-native
 * Bump PR ${INC_PR}.1
 
 Signed-off-by: Noor Ahsan noor_ah...@mentor.com
Reviewed-by: Paul Menzel paulepan...@users.sourceforge.net

[...]

Do you know if the other SQlite recipes can be converted too or are you
already on it?


Thanks,

Paul

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


Re: [oe] [PATCH] tcl: Run oe-stylize.py script and modify the recipe accordingly

2010-08-31 Thread Ahsan, Noor
Please ignore this patch.

-Original Message-
From: Ahsan, Noor 
Sent: Tuesday, August 31, 2010 1:58 PM
To: openembedded-devel@lists.openembedded.org
Cc: Ahsan, Noor
Subject: [PATCH] tcl: Run oe-stylize.py script and modify the recipe
accordingly

* Run the oe-stylize.py script on the recipe and modify the recipe
according to the output of the script.

Signed-off-by: Noor Ahsan noor_ah...@mentor.com
---
 recipes/tcltk/tcl_8.5.8.bb |   45
---
 1 files changed, 21 insertions(+), 24 deletions(-)

diff --git a/recipes/tcltk/tcl_8.5.8.bb b/recipes/tcltk/tcl_8.5.8.bb
index 9d030b9..e07815e 100644
--- a/recipes/tcltk/tcl_8.5.8.bb
+++ b/recipes/tcltk/tcl_8.5.8.bb
@@ -1,8 +1,7 @@
 DESCRIPTION = Tool Command Language
-LICENSE = tcl
-SECTION = devel/tcltk
 HOMEPAGE = http://tcl.sourceforge.net;
-
+SECTION = devel/tcltk
+LICENSE = tcl
 PR = r7
 
 SRC_URI = \
@@ -16,43 +15,41 @@ SRC_URI = \
   file://tclprivate.diff;striplevel=2 \
   file://mips-tclstrtod.patch;striplevel=0 \
 
-
 SRC_URI[md5sum] = 7f123e53b3daaaba2478d3af5a0752e3
 SRC_URI[sha256sum] =
6b090c1024038d0381e1ccfbd6d5c0f0e6ef205269ceb9d28bd7bd7ac5bbf4a7
 
 S = ${WORKDIR}/tcl${PV}/unix
+SYSROOT_PREPROCESS_FUNCS =+ tcl_sysroot
 
 inherit autotools binconfig
 
 EXTRA_OECONF = --enable-threads
 
 do_compile_prepend() {
-   echo  ../compat/fixstrtod.c
-   sed -i -e 's:./tclsh :tclsh :g' Makefile
+echo  ../compat/fixstrtod.c
+sed -i -e 's:./tclsh :tclsh :g' Makefile
 }
-
-BINCONFIG_GLOB = *Config.sh
-
 do_install() {
-   autotools_do_install
-   # Stage a few extra headers to make tk happy
-   install -d ${D}${includedir}/tcl-${PV}/generic
-   install -m 0644 ../generic/*.h
${D}${includedir}/tcl-${PV}/generic
-   install -m 0644 *.h ${D}${includedir}/tcl-${PV}/generic
-   install -d ${D}${includedir}/tcl-${PV}/unix
-   install -m 0644 *Unix*.h ${D}${includedir}/tcl-${PV}/unix/
-   rm -f ${D}${includedir}/regex.h
-   ln -sf tclsh8.5 ${D}${bindir}/tclsh
-}
-
-SYSROOT_PREPROCESS_FUNCS =+ tcl_sysroot
-
-tcl_sysroot() {
-   sed -i 's:/usr/include/tcl-private:${STAGING_INCDIR}/tcl-${PV}:'
tclConfig.sh
+autotools_do_install
+# Stage a few extra headers to make tk happy
+install -d ${D}${includedir}/tcl-${PV}/generic
+install -m 0644 ../generic/*.h
${D}${includedir}/tcl-${PV}/generic
+install -m 0644 *.h ${D}${includedir}/tcl-${PV}/generic
+install -d ${D}${includedir}/tcl-${PV}/unix
+install -m 0644 *Unix*.h ${D}${includedir}/tcl-${PV}/unix/
+rm -f ${D}${includedir}/regex.h
+ln -sf tclsh8.5 ${D}${bindir}/tclsh
 }
 
 PACKAGES =+ ${PN}-lib
+
 FILES_${PN}-lib = ${libdir}/libtcl8.5.so.*
 FILES_${PN} += ${libdir}/tcl*
 FILES_${PN}-dev += ${libdir}/tclConfig.sh
 
+BINCONFIG_GLOB = *Config.sh
+
+tcl_sysroot() {
+sed -i
's:${includedir}/tcl-private:${STAGING_INCDIR}/tcl-${PV}:' tclConfig.sh
+}
+
-- 
1.6.3.3


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


Re: [oe] [PATCH]Removing Legacy staging from genboot native recipe

2010-08-13 Thread Ahsan, Noor
-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org   
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of 
Frans Meulenbroeks
Sent: Friday, August 13, 2010 11:30 AM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH]Removing Legacy staging from genboot native recipe

2010/8/13  noor_ah...@mentor.com:
 genboot: Removing legacy staging

 * Replaced do_stage function with do_install and replaced ${STAGING_BINDIR} 
 with ${D}${bindir}
 Signed-off-by: Noor Ahsan noor_ah...@mentorg.com
 diff --git a/recipes/simpad-utilities/genboot-native.bb 
 b/recipes/simpad-utilities/genboot-native.bb
 index 47b9b34..966a450 100644
 --- a/recipes/simpad-utilities/genboot-native.bb
 +++ b/recipes/simpad-utilities/genboot-native.bb
 @@ -9,12 +9,15 @@ DEPENDS = pad-native

  inherit native

 +NATIVE_INSTALL_WORKS = 1
 +
  do_compile() {
        cp ${WORKDIR}/*.h ${WORKDIR}/*.c .
        ${CC} -I. -o genboot gen_boot.c
  }

 -do_stage() {
 -       install -m 0755 genboot ${STAGING_BINDIR}/
 -       install -m 0755 ${WORKDIR}/simpad-make-flashimg ${STAGING_BINDIR}/
 +do_install() {
 +       install -d ${D}${bindir}/
 +       install -m 0755 genboot ${D}${bindir}/
 +       install -m 0755 ${WORKDIR}/simpad-make-flashimg ${D}${bindir}/
  }


You might also want to bumnp PR (although logically nothing changed so
this is perhaps not needed)
Can you also have a look at serload-native?
And maybe trun it to contrib/oe-stylize.py

I also have patch for serload-native. Thanks for letting me know oe_stylize.py, 
I'll use it for sending the patch.


Acked-by: Frans Meulenbroeks fransmeulenbro...@gmail.com

___
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] [PATCH]Removing Legacy staging from genboot native recipe

2010-08-13 Thread Ahsan, Noor
Actually both works with me with g and without g.

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Paul Menzel
Sent: Friday, August 13, 2010 1:07 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [PATCH]Removing Legacy staging from genboot native
recipe

Am Freitag, den 13.08.2010, 11:39 +0600 schrieb noor_ah...@mentor.com:
 genboot: Removing legacy staging
 
 * Replaced do_stage function with do_install and replaced
${STAGING_BINDIR} with ${D}${bindir} 
 Signed-off-by: Noor Ahsan noor_ah...@mentorg.com

A g slipped in your email address.

[...]


Thanks,

Paul

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


[oe] [PATCH] serload-native: Removing legacy staging

2010-08-13 Thread Ahsan, Noor
* Replaced do_stage function with do_install and replaced ${STAGING_BINDIR} 
with ${D}${bindir}

Signed-off-by: Ahsan, Noor noor_ah...@mentor.com
---
 recipes/simpad-utilities/serload-native.bb |   12 
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/recipes/simpad-utilities/serload-native.bb 
b/recipes/simpad-utilities/serload-native.bb
index 9be199f..d147db2 100644
--- a/recipes/simpad-utilities/serload-native.bb
+++ b/recipes/simpad-utilities/serload-native.bb
@@ -3,14 +3,18 @@ LICENSE= GPL
 DESCRIPTION = Console utility for transferring a SIMpad boot image via serial 
a SIMpad
 FILESDIR = $...@os.path.dirname(bb.data.getVar('FILE',d,1))}/serload
 SRC_URI = file://serialdownload.cpp file://main.cpp file://serialdownload.h
+PR = r1
 
 inherit native
 
+NATIVE_INSTALL_WORKS = 1
+
 do_compile() {
-   cp ${WORKDIR}/*.h ${WORKDIR}/*.cpp .
-   ${CXX} -I. -o serload main.cpp serialdownload.cpp
+cp ${WORKDIR}/*.h ${WORKDIR}/*.cpp .
+${CXX} -I. -o serload main.cpp serialdownload.cpp
 }
 
-do_stage() {
-   install -m 0755 serload ${STAGING_BINDIR}/
+do_install() {
+install -d ${D}${bindir}/
+install -m 0755 serload ${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