[yocto] Changing File Permissions/Group

2016-04-28 Thread Carlos Chacon
Hi, I have a file that is install inside /etc/. I want this file to be part of a group I created using the "EXTRA_USERS_PARAMS" option. Currently the file belongs to root and the group is root, but I wish when my image is created to have that file belong to the group "config_editors". What optio

Re: [yocto] Change in override behavior?

2016-04-28 Thread Gary Thomas
On 2016-04-29 07:08, Paul Eggleton wrote: Hi Gary, On Fri, 29 Apr 2016 06:24:55 Gary Thomas wrote: I used to be able to use something like this: VARIABLE = "xyz" and maybe in a .bbappend use VARIABLE_mymachine = "xyzzy" where 'mymachine' is in OVERRIDES, which resulted in VARIABLE =

Re: [yocto] Change in override behavior?

2016-04-28 Thread Paul Eggleton
Hi Gary, On Fri, 29 Apr 2016 06:24:55 Gary Thomas wrote: > I used to be able to use something like this: >VARIABLE = "xyz" > and maybe in a .bbappend use >VARIABLE_mymachine = "xyzzy" > where 'mymachine' is in OVERRIDES, which resulted in >VARIABLE = "xyzzy" > > This doesn't seem to w

[yocto] Change in override behavior?

2016-04-28 Thread Gary Thomas
I used to be able to use something like this: VARIABLE = "xyz" and maybe in a .bbappend use VARIABLE_mymachine = "xyzzy" where 'mymachine' is in OVERRIDES, which resulted in VARIABLE = "xyzzy" This doesn't seem to work the same today, what I get is VARIABLE = "xyz" VARIABLE_mymachine =

Re: [yocto] Error while buildng SGX

2016-04-28 Thread Harinath maddelal
Hi all, Can you please help me to fix the issue Thanks and Regards, Harinath From: Harinath maddelal Sent: Thursday, April 28, 2016 7:04:29 PM To: yocto@yoctoproject.org Subject: Error while buildng SGX Hi all, When i build sgx using yocto, im getting follow

[yocto] [meta-raspberrypi][PATCH] sdcard_image-rpi.bbclass: Fix do_image_rpi_sdimg tashhash mismatch

2016-04-28 Thread Jonathan Liu
IMAGE_CMD_rpi-sdimg() uses the IMAGEDATESTAMP variable, so the taskhash of the function keeps changing. This results in a taskhash mismatch error. Fix this by excluding the IMAGEDATESTAMP variable from the checksum. Change-Id: Ie6f30ad29e279d5312ec655ac4a3bf246c8a04de Signed-off-by: Jonathan Liu

Re: [yocto] [OE-core] [RFT] GCC 6 Recipes

2016-04-28 Thread Tom Rini
On Thu, Apr 28, 2016 at 07:01:34AM -0700, Khem Raj wrote: > On Thu, Apr 28, 2016 at 5:14 AM, Tom Rini wrote: > > On Thu, Apr 28, 2016 at 12:08:46AM -0700, Khem Raj wrote: > >> > >> > On Apr 27, 2016, at 3:10 PM, Tom Rini wrote: > >> > > >> > On Wed, Apr 27, 2016 at 10:53:52AM -0700, Khem Raj wrot

Re: [yocto] Antwort: Re: how to configure the build packages of a makefile based libary

2016-04-28 Thread YUKATHARSANI JEYACHANDRA
Hi, Use INSANE_SKIP_${PN} = "installed-vs-shipped" in your recipe to avoid this error. Orelse, add FILES_${PN} += "/usr/local/" in your recipe. Thanks and Regards, Yukatharsani J. From: yocto-boun...@yoctoproject.org on behalf of s.jar...@esa-grimma.de Se

Re: [yocto] Antwort: Re: how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 17:18, YUKATHARSANI JEYACHANDRA < yukatharsa...@tataelxsi.co.in> wrote: > Use INSANE_SKIP_${PN} = "installed-vs-shipped" in your recipe to avoid > this error. Orelse, add FILES_${PN} += "/usr/local/" in your recipe. > > No. *Only* use installed-vs-shipped if you're incapable

Re: [yocto] Antwort: Re: how to configure the build packages of a makefile based libary

2016-04-28 Thread Fred Ollinger
I don't know why that won't work. Note, if you don't set the PREFIX, they will add /usr/local anyway. Perhaps that's the problem. Here's the relevant Makefile bits for the others to look at: # Installation related variables and target PREFIX?=/usr/local INCLUDE_PATH?=include/hiredis LIBRARY_

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 17:09, wrote: > EXTRA_OEMAKE = "'CC=${CC}' 'RANLIB=${RANLIB}' 'AR=${AR}' 'CFLAGS=${CFLAGS} > -I${S}/include' 'BUILDDIR=${S}' 'DESTDIR=${D}'" > Neater to pass DESTDIR via do_install, so remove DESTDIR from here. However you want to tell it where PREFIX is, and that goes into

[yocto] Antwort: Re: how to configure the build packages of a makefile based libary

2016-04-28 Thread S . Jaritz
Hej sorry - that does not work. Maybe you can show me some working/common code. Do I have to create the FILE_${PV} or/and FILE_${PV}-dev, FILE_${PV}-static? The builded files go into the Git dir & the autotools-brokensep is generating the package dir. I repeat my question: What are the comman

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 16:25, Fred Ollinger wrote: > FILES_${PN} += "/usr/local" > Please don't do this unless that's actually what you want - nothing else in the image will be using those paths so eg libraries in there might not be found. Ross -- ___ y

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Fred Ollinger
Add to bb recipe: FILES_${PN} += "/usr/local" Section 9.2: https://www.yoctoproject.org/docs/1.8/ref-manual/ref-manual.html#qa-errors-and-warnings From: yocto-boun...@yoctoproject.org on behalf of Burton, Ross Sent: Thursday, April 28, 2016 5:44 AM To: s

Re: [yocto] [OE-core] [RFT] GCC 6 Recipes

2016-04-28 Thread Khem Raj
> On Apr 28, 2016, at 8:19 AM, Mark Hatle wrote: > > On 4/28/16 2:10 AM, Khem Raj wrote: >> >>> On Apr 27, 2016, at 11:06 AM, Mark Hatle wrote: >>> >>> On 4/27/16 12:53 PM, Khem Raj wrote: thanks I think most of them come to these categories. So any help in fixing them is welcome. >

Re: [yocto] [OE-core] [RFT] GCC 6 Recipes

2016-04-28 Thread Mark Hatle
On 4/28/16 2:10 AM, Khem Raj wrote: > >> On Apr 27, 2016, at 11:06 AM, Mark Hatle wrote: >> >> On 4/27/16 12:53 PM, Khem Raj wrote: >>> thanks I think most of them come to these categories. So any help in >>> fixing them is welcome. >>> >>> 1. kernel older than 4.4, backport needed fixed into the

Re: [yocto] [OE-core] [RFT] GCC 6 Recipes

2016-04-28 Thread Khem Raj
On Thu, Apr 28, 2016 at 5:14 AM, Tom Rini wrote: > On Thu, Apr 28, 2016 at 12:08:46AM -0700, Khem Raj wrote: >> >> > On Apr 27, 2016, at 3:10 PM, Tom Rini wrote: >> > >> > On Wed, Apr 27, 2016 at 10:53:52AM -0700, Khem Raj wrote: >> >> thanks I think most of them come to these categories. So any

Re: [yocto] Building with ltdl

2016-04-28 Thread David Snowdon
Did you guys get any further with this? I am running into the same issue and would love to be able to use the graphviz recipe. Cheers, Dave. -- ___ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto

[yocto] Error while buildng SGX

2016-04-28 Thread Harinath maddelal
Hi all, When i build sgx using yocto, im getting following errors. The same builds fine when i use my local gcc of version 4.8.3. I have used 1.8.1 Yocto its using 4.9.2 gcc. Can you please help me resolve the issue. Thanks in advance Following is the console build error log eurasiacon/o

[yocto] [matchbox-desktop-2][PATCH 16/16] Don't set the desktop fullscreen if MODE_DESKTOP

2016-04-28 Thread Jussi Kukkonen
WM paints fullscreen windows over the panel: don't make the desktop fullscreen. Signed-off-by: Jussi Kukkonen --- src/desktop.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/desktop.c b/src/desktop.c index ddb2786..8234e8c 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -210,7 +210,6

[yocto] [matchbox-desktop-2][PATCH 13/16] build: add a real INSTALL file

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- INSTALL | 370 1 file changed, 370 insertions(+) create mode 100644 INSTALL diff --git a/INSTALL b/INSTALL new file mode 100644 index 000..a1e89e1 --- /dev/null +++ b/INSTALL @@ -0,0 +1,370 @@ +Installat

[yocto] [matchbox-desktop-2][PATCH 14/16] build: update git.mk

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- Makefile.am | 10 ++ git.mk | 115 +++- 2 files changed, 93 insertions(+), 32 deletions(-) diff --git a/Makefile.am b/Makefile.am index 9f1df6e..6a2cec9 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,12 +1

[yocto] [matchbox-desktop-2][PATCH 15/16] Use a GtkFlowBox instead of TakuTable

2016-04-28 Thread Jussi Kukkonen
Remove ~500 lines of code by using FlowBox instead of custom code Also avoid using GtkFixed when in desktop mode Signed-off-by: Jussi Kukkonen --- libtaku/Makefile.am | 1 - libtaku/taku-launcher-tile.c | 8 +- libtaku/taku-launcher-tile.h | 2 + libtaku/taku-table.c | 53

[yocto] [matchbox-desktop-2][PATCH 10/16] main: ignore file not found errors when loading CSS

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 7b8a276..261198e 100644 --- a/src/main.c +++ b/src/main.c @@ -63,7 +63,7 @@ load_style (GtkWidget *widget) provider = gtk_css_provider_new (); gtk_css_provider

[yocto] [matchbox-desktop-2][PATCH 11/16] desktop: add --mode

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton The --mode argument takes "desktop" (be a normal desktop), "titlebar" (normal desktop but don't hide titlebar, YMMV depending on WM) or "window" (for testing). This replaces the --enable-standalone configure option. --- src/desktop.c | 59 +++---

[yocto] [matchbox-desktop-2][PATCH 12/16] build: remove unused --enable-standalone option

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- configure.ac | 7 --- 1 file changed, 7 deletions(-) diff --git a/configure.ac b/configure.ac index afa64ae..774a4ac 100644 --- a/configure.ac +++ b/configure.ac @@ -30,13 +30,6 @@ if test x$enable_startup_notification != xno; then AC_DEFINE(USE_LIBSN, [1], [Has Sta

[yocto] [matchbox-desktop-2][PATCH 08/16] taku-table: port to GtkGrid

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- libtaku/taku-table.c | 44 libtaku/taku-table.h | 7 +++ 2 files changed, 23 insertions(+), 28 deletions(-) diff --git a/libtaku/taku-table.c b/libtaku/taku-table.c index 67f630e..058700e 100644 --- a/libtaku/taku-table.c +

[yocto] [matchbox-desktop-2][PATCH 09/16] More fixes

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- libtaku/taku-table.c | 34 -- libtaku/taku-tile.c | 2 ++ libtaku/xutil.c | 3 +-- libtaku/xutil.h | 2 +- src/desktop.c| 17 ++--- 5 files changed, 26 insertions(+), 32 deletions(-) diff --git a/libtaku/tak

[yocto] [matchbox-desktop-2][PATCH 06/16] desktop: set as unresizable to hide resize grip

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- src/desktop.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/desktop.c b/src/desktop.c index 22beeab..fbecd20 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -160,6 +160,7 @@ create_desktop (void) g_signal_connect (window, "delete-event", G_CALLBACK (delete_ev

[yocto] [matchbox-desktop-2][PATCH 07/16] fixup initial port

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- src/desktop.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/desktop.c b/src/desktop.c index fbecd20..b7858b7 100644 --- a/src/desktop.c +++ b/src/desktop.c @@ -47,9 +47,9 @@ on_item_added (TakuMenu *menu, TakuMenuItem *item, gpointer null)

[yocto] [matchbox-desktop-2][PATCH 05/16] taku-category-bar: don't try to make the arrows square

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- src/taku-category-bar.c | 11 --- 1 file changed, 11 deletions(-) diff --git a/src/taku-category-bar.c b/src/taku-category-bar.c index 765c713..e5c5533 100644 --- a/src/taku-category-bar.c +++ b/src/taku-category-bar.c @@ -66,15 +66,6 @@ make_bold (GtkLabel *label)

[yocto] [matchbox-desktop-2][PATCH 04/16] main: load a custom CSS stylesheet if present

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- src/Makefile.am | 7 ++- src/main.c | 31 ++- 2 files changed, 32 insertions(+), 6 deletions(-) diff --git a/src/Makefile.am b/src/Makefile.am index e8fa7e2..5f5e961 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,4 +1,9 @@ -A

[yocto] [matchbox-desktop-2][PATCH 02/16] taku-tile: make a subclass of GtkButton, remove all unique logic

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- libtaku/taku-launcher-tile.c | 9 ++-- libtaku/taku-tile.c | 124 +++ libtaku/taku-tile.h | 10 +--- 3 files changed, 13 insertions(+), 130 deletions(-) diff --git a/libtaku/taku-launcher-tile.c b/libtaku/taku-la

[yocto] [matchbox-desktop-2][PATCH 03/16] fixup 1024d115181a182918197d280e0797566178d26f

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton --- libtaku/taku-launcher-tile.c | 4 ++-- libtaku/taku-tile.c | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/libtaku/taku-launcher-tile.c b/libtaku/taku-launcher-tile.c index 56151b2..58deafb 100644 --- a/libtaku/taku-launcher-tile.c +++ b/libt

[yocto] [matchbox-desktop-2][PATCH 01/16] Initial port to GTK+ 3

2016-04-28 Thread Jussi Kukkonen
From: Ross Burton More to be done, but it works. The only known regression is that startup notification isn't multi-screen aware, but this should be ported to use GAppInfo in the future. Also themeing is likely to be broken, but this needs to be rethought for GTK+ 3 anyway. --- configure.ac

[yocto] [matchbox-desktop-2][PATCH 00/16] Upgrade to GTK+3

2016-04-28 Thread Jussi Kukkonen
This branch was started 4(!) years ago to update matchbox-desktop to GTK+3, most of it is Ross' handiwork. For my part, the TakuTable removal started because it had some small but annoying layout bugs and FlowBox seems to do everything we need without those problems (and with less code). Code sti

[yocto] [matchbox-sato][PATCH 2/2] Remove the qvga theme

2016-04-28 Thread Jussi Kukkonen
Not maintaining a 320px theme in 2016... Signed-off-by: Jussi Kukkonen --- Sato/matchbox/Makefile.am | 17 - Sato/matchbox/arrow-down-active-qvga.png | Bin 333 -> 0 bytes Sato/matchbox/arrow-down-qvga.png | Bin 332 -> 0 bytes Sato/matchbox/close-button-active-q

[yocto] [matchbox-sato][PATCH 1/2] Make titlebar more like default GTK3

2016-04-28 Thread Jussi Kukkonen
Includes titlebar layout, close and arrow buttons. Removes gradient, rounded corners and the bold green: The theme is now plain boring gray. Button active states are currently same as inactive. The new icons are modified from adwaita-icon-theme which is CC-BY-SA 3.0 (or LGPL 3+). --- Sato/matchb

[yocto] [matchbox-sato][PATCH 0/2] Matchbox theme update

2016-04-28 Thread Jussi Kukkonen
Update the matchbox window manager theme to be more compatible with current GTK default themes. The theme is now gray and boring but hopefully does not clash with everything else as badly. The titlebar is much thinner in preparation for the separation of panel and titlebar: With client side decorat

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 13:09, wrote: > ERROR: QA Issue: libhiredis: Files/directories were installed but not > shipped in any package: > /usr/local > It either hard-codes /usr/local as the prefix, or if it respects a prefix variable you should also pass in ${prefix} ${libdir} ${includedir} and so

Re: [yocto] what's the "standard" for adding .dts patches to a BSP layer?

2016-04-28 Thread Gary Thomas
On 2016-04-28 14:14, Robert P. J. Day wrote: looking for common practice here ... what's the canonical way that one should add content to a .dts file for a new board -- all at once, or broken into patches associated with corresponding .scc files that come into play only if one selects that fu

Re: [yocto] [Yocto] Enable a recipe/package only when other dependent recipe/package is part of image.

2016-04-28 Thread Amarnath Valluri
Hi Ross, An alternative would be to have some naming pattern for conf packages (-conf is reasonable) and invent a new image-feature called conf-packages that uses a glob to find all complementary packages matching the *-conf pattern. This is how dev-pkgs, dbg-pkgs, doc-pkgs etc work. I b

[yocto] what's the "standard" for adding .dts patches to a BSP layer?

2016-04-28 Thread Robert P. J. Day
looking for common practice here ... what's the canonical way that one should add content to a .dts file for a new board -- all at once, or broken into patches associated with corresponding .scc files that come into play only if one selects that functionality? i ask since i'm a big fan of mod

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread S . Jaritz
Hej The makefile has an install section. I relocated it with the ${D}. By doing that I managed that the compiler filled the "package" directory. But there is still a packing issue. Below is the log (and below of it is the libhiredis.bb). Now my question: How to define the FILES variable for a p

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread Burton, Ross
On 28 April 2016 at 10:50, wrote: > I like to include the hiredis library. I created a recipe and modified the > EXTRA_OEMAKE. The compilation works (in the git directory object, "so" and > "a" files are generated). But the generated files are not placed into > packages. > > Any ideas? > You nee

Re: [yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread SIVA SUBRAMANIAN.P
If bins/libs are installed in non standard paths other than usr/bin or /usr/lib in image directory, then you need to add them explicitly in your recipe like FILES_${PN} += "/lib/lib.so" On Thu, Apr 28, 2016 at 3:20 PM, wrote: > Hej > > I like to include the hiredis library. I created a reci

[yocto] how to configure the build packages of a makefile based libary

2016-04-28 Thread S . Jaritz
Hej I like to include the hiredis library. I created a recipe and modified the EXTRA_OEMAKE. The compilation works (in the git directory object, "so" and "a" files are generated). But the generated files are not placed into packages. Any ideas? below there is the "libhiredis.bb" file: ###

Re: [yocto] [OE-core] [RFT] GCC 6 Recipes

2016-04-28 Thread Khem Raj
> On Apr 27, 2016, at 11:06 AM, Mark Hatle wrote: > > On 4/27/16 12:53 PM, Khem Raj wrote: >> thanks I think most of them come to these categories. So any help in >> fixing them is welcome. >> >> 1. kernel older than 4.4, backport needed fixed into these branches or >> move to newer kernels. >>

Re: [yocto] [OE-core] [RFT] GCC 6 Recipes

2016-04-28 Thread Khem Raj
> On Apr 27, 2016, at 3:10 PM, Tom Rini wrote: > > On Wed, Apr 27, 2016 at 10:53:52AM -0700, Khem Raj wrote: >> thanks I think most of them come to these categories. So any help in >> fixing them is welcome. >> >> 1. kernel older than 4.4, backport needed fixed into these branches or >> move to