Re: [oe] help with building image.

2013-09-19 Thread Anup Kini
Hi Gary

Sorry for being so vague about my problem.
Here are some details from my build.

Build Configuration:
BB_VERSION= "1.19.1"
BUILD_SYS = "x86_64-linux"
NATIVELSBSTRING   = "Ubuntu-12.04"
TARGET_SYS= "arm-oe-linux-gnueabi"
MACHINE   = "zc702-zynq7"
DISTRO_VERSION= "oe-core.0"
TUNE_FEATURES = " armv7a vfp neon zynq"
TARGET_FPU= "vfp-neon"
meta  = "master:b26157a8b575aa7b5c96ffe782fc23ec0920311c"
meta-linaro
meta-linaro-toolchain = "master:31b095141ef2a2d691bf3d6914fda48375c24400"
meta-xilinx   = "master:f10288fe45eb30893bea37d10d533079d4c8b7f9"
meta-neo  = ":"
meta-hob  = "master:b26157a8b575aa7b5c96ffe782fc23ec0920311c"


I am trying to build a core-minimal-image with linaro toolchain 4.7 for the
Zynq board.

Let me know if i can provide any more details, so that u all can guide me
on resolving this issue.


On 18 September 2013 20:05, Gary Thomas  wrote:

> On 2013-09-18 08:12, Anup Kini wrote:
>
>> Hi All,
>>
>> When i try to run build images in HOB, i end up with the following error.
>>
>> dpkg-scanpackages: info: Wrote 4631 entries to output Packages file.
>> dpkg-scanpackages: info: Wrote 38 entries to output Packages file.
>> dpkg-scanpackages: info: Wrote 14 entries to output Packages file.
>> Reading package lists...
>> W: Unable to read
>> /home/akini/oe/openembedded-**core/build/tmp-eglibc-eglibc/**
>> sysroots/x86_64-linux/etc/apt/**sources.list.d/
>> - DirectoryExists (2: No such file or directory)
>> W: Unable to read
>> /home/akini/oe/openembedded-**core/build/tmp-eglibc-eglibc/**
>> sysroots/x86_64-linux/etc/apt/**sources.list
>> - RealFileExists (2: No such file or directory)
>> Reading package lists...
>> Building dependency tree...
>> W: Unable to read
>> /home/akini/oe/openembedded-**core/build/tmp-eglibc-eglibc/**
>> sysroots/x86_64-linux/etc/apt/**sources.list.d/
>> - DirectoryExists (2: No such file or directory)
>> W: Unable to read
>> /home/akini/oe/openembedded-**core/build/tmp-eglibc-eglibc/**
>> sysroots/x86_64-linux/etc/apt/**sources.list
>> - RealFileExists (2: No such file or directory)
>> W: You may want to run apt-get update to correct these problems
>> E: Unable to locate package libgcc1
>> E: Unable to locate package busybox
>> E: Unable to locate package libglapi-dev
>> ...
>>
>>
>> What am i missing here ?
>>
>>
> Actually, it's what we are missing (from you) in order to be able to help!
>
> Please provide some more details - what are your values for:
>   OE-core version?
>   Host machine?
>   Build target (machine)?
>
> Exactly what steps did you perform to try this?
> What might one need to do to recreate your problem?
>
> --
> --**--
> Gary Thomas |  Consulting for the
> MLB Associates  |Embedded world
> --**--
> __**_
> Openembedded-devel mailing list
> Openembedded-devel@lists.**openembedded.org
> http://lists.openembedded.org/**mailman/listinfo/openembedded-**devel
>



-- 

*Anup Kini
*Systems Engineer
*
--
*

*Synapticon** * |  Cyber-Physical System Solutions 

Mobile:

Direct:

+49 151 / 638 646 73

+49 7335 / 186 999 21

Fax:
+49 7335 / 186 999 1


 **

 

synapticon.com   |
@synapticon_co


Synapticon GmbH  |  Hohlbachweg 2  |  73344 Gruibingen, DE
Secretary +49 7335 / 186 999 0  |  General Manager: Nikolai Ensslen
Registry Court Ulm HRB 725114  |  USt-ID DE271647127

This message and any files transmitted with it are confidential and
intended
solely for the use of the individual or entity to whom they are addressed.
Please notify the sender immediately if you have received this e-mail by
mistake and delete it from your system.
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCHv5] libsoc: new recipe

2013-09-19 Thread Jack Mitchell

On 09/13/13 23:15, Jack Mitchell wrote:

From: Jack Mitchell 

Signed-off-by: Jack Mitchell 
---
  v4 -> v5
  - Moved RDEPENDS to below do_install

  v3 -> v4
  - Added libgcc in RDEPENDS

  v2 -> v3
  - Removed DEPENDS on libgcc
  - Removed autogen.sh pre-configure as was unneeded

  v1 -> v2
  -added signed-off-by

  meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 14 ++
  1 file changed, 14 insertions(+)
  create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb

diff --git a/meta-oe/recipes-support/libsoc/libsoc_0.3.bb 
b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb
new file mode 100644
index 000..1bf2782
--- /dev/null
+++ b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb
@@ -0,0 +1,14 @@
+SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals 
through generic kernel interfaces"
+HOMEPAGE = "https://github.com/jackmitch/libsoc";
+
+LICENSE = "LGPLv2.1"
+LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a71895ba987b2126a5"
+
+inherit autotools
+
+SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70"
+SRC_URI = "git://github.com/jackmitch/libsoc.git"
+
+S = "${WORKDIR}/git"
+
+RDEPENDS_${PN} = "libgcc"


While Koen is away would someone mind pulling this in if there are no 
more comments?


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


Re: [oe] [OE-core] patchwork updated

2013-09-19 Thread Martin Jansa
On Sun, Sep 15, 2013 at 12:32:44AM -0700, Khem Raj wrote:
> Hi All,
> 
> The patchwork has been updated to latest. Please keep an eye if you
> see something non working let me know immediately.

Hi,

something is wrong,

http://patchwork.openembedded.org/user/bundles/

returns 502 Bad Gateway for me and I cannot access individual bundles,
which is very bad, because all oe-devel patches are separated into
bundles based on layer.

Regards,

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


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


Re: [oe] [meta-multimedia][PATCH] libao: add version 1.1.0

2013-09-19 Thread Martin Jansa
On Tue, Sep 17, 2013 at 01:47:16PM -0400, JC wrote:
> This is basically a 99% import of Peter Tworek's recipe from 
> tworaz...@gmail.com found in 
> https://github.com/tworaz/oe-tworaz/blob/master/meta-jlime/recipes-support/libao/libao_1.1.0.bb
> 
> Signed-off-by: JC 

Please use full name in commits.

> ---
>  .../recipes-multimedia/libao/libao_1.1.0.bb| 23 
> ++
>  1 file changed, 23 insertions(+)
>  create mode 100644 meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> 
> diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb 
> b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> new file mode 100644
> index 000..08950b5
> --- /dev/null
> +++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> @@ -0,0 +1,23 @@
> +SECTION = "multimedia"
> +SUMMARY = "Libao is a cross-platform audio library that allows programs to 
> output audio using a simple API on a wide variety of platforms"
> +HOMEPAGE = "https://www.xiph.org/ao/";
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +SRC_URI="http://downloads.xiph.org/releases/ao/${BP}.tar.gz";
> +SRC_URI[md5sum] = "2b2508c29bc97e4dc218fa162cf883c8"
> +SRC_URI[sha256sum] = 
> "29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4"
> +
> +inherit autotools
> +
> +do_install_append () {
> +find "${D}" -name '*.la' -exec rm -f {} +
> +}
> +
> +python populate_packages_prepend () {
> +rootdir = bb.data.expand('${libdir}/ao/plugins-4', d)
> +rootdir_dbg = bb.data.expand('${libdir}/ao/plugins-4/.debug', d)
> +do_split_packages(d, rootdir, '^(.*)\.so$', 
> output_pattern='${BPN}-plugin-%s', description='AO %s plugin')
> +do_split_packages(d, rootdir_dbg, '^(.*)\.so$', 
> output_pattern='${BPN}-plugin-%s-dbg', description='AO %s plugin debug data')
> +}
> -- 
> 1.8.1.2
> 
> ___
> 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


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


Re: [oe] [meta-oe/meta-xfce 0/9] minor libcanberra cleanup / new xfce stuff

2013-09-19 Thread Martin Jansa
On Mon, Sep 16, 2013 at 11:04:10AM +0200, Andreas Müller wrote:
> [1-3] libcanberra: While working on event sounds libcanberra needed some love.
>   Sounds still doesn't work properly in gtk2 environment. There will be
>   follow ups.
> [4-9] Updates + new datetime setter for XFCE

All merged thanks.

> 
> Andreas Müller (9):
>   libcanberra: add PACKAGES_DYNAMIC so we use the splitted packages
>   libcanberra: remove r0 - it is of no use
>   libcanberra: handle alsa and pulsaudio by PACKAGECONFIG - defaults
> based upon DISTRO_FEATURES
>   libxfce4ui: update to git head
>   xfce4-settings: move to schnitzeltony's git repo to get new datetime
> setter
>   xfwm4: move to git repo
>   xfce4-weather-plugin: update to 0.8.3
>   xfce4-equake-plugin: initial add 1.3.3
>   packagegroup-xfce-extended: add xfce4-equake-plugin
> 
>  .../libcanberra/libcanberra_0.29.bb|   12 +-
>  .../equake/xfce4-equake-plugin_1.3.3.bb|   13 +
>  .../weather/files/port-to-libxfce4ui.patch |  104 --
>  .../weather/xfce4-weather-plugin_0.7.4.bb  |   23 -
>  .../weather/xfce4-weather-plugin_0.8.3.bb  |   11 +
>  .../recipes-xfce/libxfce4ui/libxfce4ui_4.10.0.bb   |   17 +-
>  .../packagegroups/packagegroup-xfce-extended.bb|1 +
>  ...the-settings-manager-window-size-bug-9384.patch |  155 ---
>  .../0001-add-cursor-theme-xfce-invisible.patch |8 +-
>  ...ngs-dialog-add-touchscreen-pointer-option.patch | 1083 
> +---
>  ...tect-a-change-of-pointer-device-used-and-.patch |   10 +-
>  ...e4-settings_4.11.0.bb => xfce4-settings_git.bb} |   23 +-
>  .../xfwm4/{xfwm4_4.10.1.bb => xfwm4_git.bb}|   17 +-
>  13 files changed, 90 insertions(+), 1387 deletions(-)
>  create mode 100644 
> meta-xfce/recipes-panel-plugins/equake/xfce4-equake-plugin_1.3.3.bb
>  delete mode 100644 
> meta-xfce/recipes-panel-plugins/weather/files/port-to-libxfce4ui.patch
>  delete mode 100644 
> meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.7.4.bb
>  create mode 100644 
> meta-xfce/recipes-panel-plugins/weather/xfce4-weather-plugin_0.8.3.bb
>  delete mode 100644 
> meta-xfce/recipes-xfce/xfce4-settings/xfce4-settings/0003-Remember-the-settings-manager-window-size-bug-9384.patch
>  rename meta-xfce/recipes-xfce/xfce4-settings/{xfce4-settings_4.11.0.bb => 
> xfce4-settings_git.bb} (64%)
>  rename meta-xfce/recipes-xfce/xfwm4/{xfwm4_4.10.1.bb => xfwm4_git.bb} (70%)
> 
> -- 
> 1.7.6.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


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


Re: [oe] [meta-oe][PATCH] Update iw to 3.11

2013-09-19 Thread Martin Jansa
On Sun, Sep 15, 2013 at 03:29:17PM +0200, Philipp Wagner wrote:
> Unfortunately the patch failed to track the file rename, so I've attached an 
> updated one.
> 
> Philipp

And this one is missing SOB line and author field is incorrect, but
don't worry I've updated it from previous patch, so you don't need to
resend.

> 
> ---
> diff --git a/meta-oe/recipes-connectivity/iw/iw_3.11.bb 
> b/meta-oe/recipes-connectivity/iw/iw_3.11.bb
> new file mode 100644
> index 000..42477e7
> --- /dev/null
> +++ b/meta-oe/recipes-connectivity/iw/iw_3.11.bb
> @@ -0,0 +1,23 @@
> +SUMMARY = "nl80211 based CLI configuration utility for wireless devices"
> +DESCRIPTION = "iw is a new nl80211 based CLI configuration utility for \
> +wireless devices. It supports almost all new drivers that have been added \
> +to the kernel recently. "
> +HOMEPAGE = "http://wireless.kernel.org/en/users/Documentation/iw";
> +SECTION = "base"
> +LICENSE = "BSD"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=878618a5c4af25e9b93ef0be1a93f774"
> +
> +DEPENDS = "libnl pkgconfig"
> +
> +SRC_URI = "http://www.kernel.org/pub/software/network/iw/${P}.tar.bz2 \
> +   
> file://0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch \
> +"
> +
> +SRC_URI[md5sum] = "e633cf7c875c7d8b547abafc0d95f6c4"
> +SRC_URI[sha256sum] = 
> "09348d4f7371fad00c07cfb67b9e34f24403cbd9361f9634cfb4dff9cdd40139"
> +
> +EXTRA_OEMAKE = ""
> +
> +do_install() {
> +oe_runmake DESTDIR=${D} install
> +}
> diff --git a/meta-oe/recipes-connectivity/iw/iw_3.6.bb 
> b/meta-oe/recipes-connectivity/iw/iw_3.6.bb
> deleted file mode 100644
> index a09339c..000
> --- a/meta-oe/recipes-connectivity/iw/iw_3.6.bb
> +++ /dev/null
> @@ -1,23 +0,0 @@
> -SUMMARY = "nl80211 based CLI configuration utility for wireless devices"
> -DESCRIPTION = "iw is a new nl80211 based CLI configuration utility for \
> -wireless devices. It supports almost all new drivers that have been added \
> -to the kernel recently. "
> -HOMEPAGE = "http://linuxwireless.org/en/users/Documentation/iw";
> -SECTION = "base"
> -LICENSE = "BSD"
> -LIC_FILES_CHKSUM = "file://COPYING;md5=878618a5c4af25e9b93ef0be1a93f774"
> -
> -DEPENDS = "libnl pkgconfig"
> -
> -SRC_URI = "http://wireless.kernel.org/download/iw/${P}.tar.bz2 \
> -   
> file://0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch \
> -"
> -
> -SRC_URI[md5sum] = "1c18bfbbc8773629e5e8ac733a39540c"
> -SRC_URI[sha256sum] = 
> "df11036ac11df31f44083da962a6e9c74bdea7c01c596c4b5840f948cdb6c857"
> -
> -EXTRA_OEMAKE = ""
> -
> -do_install() {
> -oe_runmake DESTDIR=${D} install
> -}
> ___
> 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


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


Re: [oe] [meta-oe][PATCHv5] libsoc: new recipe

2013-09-19 Thread Martin Jansa
On Fri, Sep 13, 2013 at 11:15:32PM +0100, Jack Mitchell wrote:
> From: Jack Mitchell 
> 
> Signed-off-by: Jack Mitchell 
> ---
>  v4 -> v5
>  - Moved RDEPENDS to below do_install
> 
>  v3 -> v4
>  - Added libgcc in RDEPENDS
> 
>  v2 -> v3
>  - Removed DEPENDS on libgcc
>  - Removed autogen.sh pre-configure as was unneeded
> 
>  v1 -> v2
>  -added signed-off-by

Merged, thanks

> 
>  meta-oe/recipes-support/libsoc/libsoc_0.3.bb | 14 ++
>  1 file changed, 14 insertions(+)
>  create mode 100644 meta-oe/recipes-support/libsoc/libsoc_0.3.bb
> 
> diff --git a/meta-oe/recipes-support/libsoc/libsoc_0.3.bb 
> b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb
> new file mode 100644
> index 000..1bf2782
> --- /dev/null
> +++ b/meta-oe/recipes-support/libsoc/libsoc_0.3.bb
> @@ -0,0 +1,14 @@
> +SUMMARY = "libsoc is a C library for interfacing with common SoC peripherals 
> through generic kernel interfaces"
> +HOMEPAGE = "https://github.com/jackmitch/libsoc";
> +
> +LICENSE = "LGPLv2.1"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=e0bfebea12a71895ba987b2126a5"
> +
> +inherit autotools
> +
> +SRCREV = "0764ee52b590d5ccb4bd4698f0011496b536ed70"
> +SRC_URI = "git://github.com/jackmitch/libsoc.git"
> +
> +S = "${WORKDIR}/git"
> +
> +RDEPENDS_${PN} = "libgcc"
> -- 
> 1.8.4
> 
> ___
> 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


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


Re: [oe] [meta-oe][PATCH] proxy-libintl: Do not act as gettext provider

2013-09-19 Thread Martin Jansa
On Sat, Sep 14, 2013 at 12:42:36PM -0700, Khem Raj wrote:
> It only is a replacement for libintl so lets not
> go overboard.

Merged thanks!
> 
> Signed-off-by: Khem Raj 
> ---
>  meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)
> 
> diff --git a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb 
> b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
> index 0c652b6..df12299 100644
> --- a/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
> +++ b/meta-oe/recipes-core/proxy-libintl/proxy-libintl_20100902.bb
> @@ -5,9 +5,7 @@ LICENSE = "LGPLv2"
>  LIC_FILES_CHKSUM = 
> "file://src/proxy-libintl/COPYING.LIB.txt;md5=bc400bc21422f9a92e76ec2c5167ca2e"
>  
>  PR = "r1"
> -PROVIDES = "virtual/libintl virtual/gettext"
> -RPROVIDES_${PN} += "gettext"
> -RPROVIDES_${PN}-dev += "gettext-dev"
> +PROVIDES = "virtual/libintl"
>  
>  SRC_URI = " \
>  
> http://ftp.gnome.org/pub/GNOME/binaries/win32/dependencies/${PN}-dev_${PV}_win32.zip
>  \
> -- 
> 1.8.4
> 
> ___
> 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


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


Re: [oe] [meta-oe][PATCH] vim: upgrade to v7.4.27 and refactor

2013-09-19 Thread Martin Jansa
On Fri, Sep 13, 2013 at 09:08:22PM +0100, Paul Barker wrote:
> 'vim.inc' is merged into the new recipe 'vim_7.4.27.bb', the recipe is 
> slightly
> reorganised and a minor omission in the comments is corrected.
> 
> DESCRIPTION is replaced with SUMMARY. PR and INC_PR values are dropped. The
> variable PV_MAJOR is also dropped as it isn't used.
> 
> LIC_FILES_CHECKSUM is updated as an address and version number given in the
> license have been modified. The main license text itself is unchanged.
> 
> The setting of PARALLEL_MAKE to force single-threaded compilation is removed 
> as
> there is no justification in the git history for this being needed and the
> compilation completes fine without it.

Merged, thanks!

> 
> Signed-off-by: Paul Barker 
> ---
>  meta-oe/recipes-support/vim/vim_7.3.1314.bb   |  7 ---
>  .../recipes-support/vim/{vim.inc => vim_7.4.27.bb}| 19 
> ---
>  2 files changed, 8 insertions(+), 18 deletions(-)
>  delete mode 100644 meta-oe/recipes-support/vim/vim_7.3.1314.bb
>  rename meta-oe/recipes-support/vim/{vim.inc => vim_7.4.27.bb} (87%)
> 
> diff --git a/meta-oe/recipes-support/vim/vim_7.3.1314.bb 
> b/meta-oe/recipes-support/vim/vim_7.3.1314.bb
> deleted file mode 100644
> index 1be5a91..000
> --- a/meta-oe/recipes-support/vim/vim_7.3.1314.bb
> +++ /dev/null
> @@ -1,7 +0,0 @@
> -require ${PN}.inc
> -
> -PR = "${INC_PR}.0"
> -
> -SRCREV = "v7-3-1314"
> -
> -SRC_URI += "file://configure.in_remove_CC_quotes.patch;patchdir=.."
> diff --git a/meta-oe/recipes-support/vim/vim.inc 
> b/meta-oe/recipes-support/vim/vim_7.4.27.bb
> similarity index 87%
> rename from meta-oe/recipes-support/vim/vim.inc
> rename to meta-oe/recipes-support/vim/vim_7.4.27.bb
> index 991ba74..77507d4 100644
> --- a/meta-oe/recipes-support/vim/vim.inc
> +++ b/meta-oe/recipes-support/vim/vim_7.4.27.bb
> @@ -1,20 +1,19 @@
> -DESCRIPTION = "Vi IMproved - enhanced vi editor"
> +SUMMARY = "Vi IMproved - enhanced vi editor"
>  SECTION = "console/utils"
>  DEPENDS = "ncurses"
>  # vimdiff doesn't like busybox diff
>  RSUGGESTS_${PN} = "diffutils"
>  LICENSE = "vim"
> -LIC_FILES_CHKSUM = 
> "file://../runtime/doc/uganda.txt;md5=4c91d841bb7b75f68b5bb8ad7118f5b8"
> +LIC_FILES_CHKSUM = 
> "file://../runtime/doc/uganda.txt;md5=b779e18be6ed77facc770691c967b8f8"
>  
> -PV_MAJOR = 
> "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
> -VIMDIR = 
> "${PN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
> -
> -INC_PR = "r13"
> -
> -SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim"
> +SRC_URI = "hg://vim.googlecode.com/hg/;protocol=https;module=vim \
> + file://configure.in_remove_CC_quotes.patch;patchdir=.."
> +SRCREV = "v7-4-027"
>  
>  S = "${WORKDIR}/${PN}/src"
>  
> +VIMDIR = 
> "${PN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
> +
>  inherit autotools update-alternatives
>  
>  # vim configure.in contains functions which got 'dropped' by 
> autotools.bbclass
> @@ -28,7 +27,7 @@ do_configure () {
>  touch auto/config.mk auto/config.h
>  }
>  
> -#Available PACKAGECONFIG options are gtkgui, x11, tiny
> +#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny
>  PACKAGECONFIG ??= ""
>  
>  PACKAGECONFIG[gtkgui] = "--enable-gtk2-test 
> --enable-gui=gtk2,--enable-gui=no,gtk+,"
> @@ -76,5 +75,3 @@ ALTERNATIVE_${PN} = "vi"
>  ALTERNATIVE_TARGET[vi] = "${bindir}/${PN}"
>  ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"
>  ALTERNATIVE_PRIORITY[vi] = "100"
> -
> -PARALLEL_MAKE = ""
> -- 
> 1.8.4
> 
> ___
> 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


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


Re: [oe] [meta-multimedia][PATCH] dleyna: switch to git clones instead of generated tarballs

2013-09-19 Thread Martin Jansa
On Thu, Sep 12, 2013 at 04:31:53PM +0100, Ross Burton wrote:
> The tarballs used were the dynamically-generated tarballs from github, which
> recently have changed checksum.  Avoid this problem entirely by fetching from
> git, locked to the relevant tag.

Merged, thanks!

> 
> Signed-off-by: Ross Burton 
> ---
>  .../recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb|6 
> +++---
>  .../recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb |6 
> +++---
>  2 files changed, 6 insertions(+), 6 deletions(-)
> 
> diff --git 
> a/meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb 
> b/meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb
> index 6d81ed2..fb0194b 100644
> --- a/meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb
> +++ b/meta-multimedia/recipes-multimedia/dleyna/media-service-upnp_0.4.0.bb
> @@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
>  
>  DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"
>  
> -SRC_URI = "https://github.com/01org/${BPN}/archive/v${PV}.zip";
> -SRC_URI[md5sum] = "9fc4db84b3459bc77232b24bde48b000"
> -SRC_URI[sha256sum] = 
> "9cdee47bbbfa3de5aaa5cf3fc9e208ccd97e5079f6d8fa84a6d1f24a1b760237"
> +SRC_URI = "git://github.com/01org/${BPN}.git"
> +SRCREV = "1996ecbe4a06c95d22f7d958e32e3d28f7a4a2e9"
> +S = "${WORKDIR}/git"
>  
>  inherit autotools
>  
> diff --git 
> a/meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb 
> b/meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb
> index d23babe..478b1c7 100644
> --- a/meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb
> +++ b/meta-multimedia/recipes-multimedia/dleyna/renderer-service-upnp_0.3.0.bb
> @@ -7,9 +7,9 @@ LIC_FILES_CHKSUM = 
> "file://COPYING;md5=4fbd65380cdd255951079008b364516c \
>  
>  DEPENDS = "dbus glib-2.0 gssdp gupnp gupnp-av gupnp-dlna libsoup-2.4"
>  
> -SRC_URI = "https://github.com/01org/${BPN}/archive/v${PV}.zip";
> -SRC_URI[md5sum] = "1e19349712a34dd56a14fc280b5d8b74"
> -SRC_URI[sha256sum] = 
> "d6623d98dd35ee32bc08349b4a22d12101dda38a2ece1e468ff0160e519a854d"
> +SRC_URI = "git://github.com/01org/${BPN}.git"
> +SRCREV = "4a0b1d7cd8e22d3cb0e09c77c344ceccbcbbd34f"
> +S = "${WORKDIR}/git"
>  
>  inherit autotools
>  
> -- 
> 1.7.10.4
> 
> ___
> 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


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


Re: [oe] [meta-oe][meta-systemd][PATCH 0/3] Remove systemd support for the packages which already have it in oe-core

2013-09-19 Thread Martin Jansa
On Sat, Sep 14, 2013 at 01:08:18PM +0200, Martin Jansa wrote:
> On Thu, Sep 12, 2013 at 08:28:08PM +0500, Muhammad Shakeel wrote:
> > Signed-off-by: Muhammad Shakeel 
> > The following changes since commit a506a9efc86cda9dbf36cd916dbbfb1ae2162c45:
> > 
> >   log4cplus: add recipe (2013-09-10 22:48:36 +0200)
> > 
> > are available in the git repository at:
> > 
> >   https://github.com/mshakeel/meta-oe.git master
> >   https://github.com//tree/master
> > 
> > Muhammad Shakeel (3):
> >   openssh: Remove systemd support which is merged in oe-core
> >   lighttpd: Remove systemd support which is merged in oe-core
> >   rpcbind: Remove systemd support which is merged in oe-core
> 
> Thanks!
> 
> You cannot remove PRINC unless PV was incremented in oe-core, so I'll
> restore PRINC in rpcbind and lighttpd (you don't need to send v2 for
> that).

Merged, thanks

> 
> >  .../openssh/openssh/sshd.socket|   11 ---
> >  .../openssh/openssh/sshd@.service  |9 -
> >  .../openssh/openssh/sshdgenkeys.service|   10 --
> >  .../openssh/openssh_6.2p2.bbappend |   16 
> >  .../lighttpd/lighttpd/lighttpd.service |   13 -
> >  .../lighttpd/lighttpd_1.4.32.bbappend  |   15 ---
> >  .../rpcbind/rpcbind/rpcbind.service|   13 -
> >  .../rpcbind/rpcbind_0.2.0.bbappend |   16 
> >  8 files changed, 103 deletions(-)
> >  delete mode 100644 
> > meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd.socket
> >  delete mode 100644 
> > meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshd@.service
> >  delete mode 100644 
> > meta-systemd/oe-core/recipes-connectivity/openssh/openssh/sshdgenkeys.service
> >  delete mode 100644 
> > meta-systemd/oe-core/recipes-extended/lighttpd/lighttpd/lighttpd.service
> >  delete mode 100644 
> > meta-systemd/oe-core/recipes-extended/rpcbind/rpcbind/rpcbind.service
> > 
> > -- 
> > 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



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


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


Re: [oe] [meta-multimedia][PATCH] libao: add version 1.1.0

2013-09-19 Thread JC
Hi Martin



On jeu., sept. 19, 2013 at 2:03 PM, Martin Jansa 
mailto:martin.ja...@gmail.com";>> wrote:
On Tue, Sep 17, 2013 at 01:47:16PM -0400, JC wrote:
> This is basically a 99% import of Peter Tworek's recipe from 
> tworaz...@gmail.com found in 
> https://github.com/tworaz/oe-tworaz/blob/master/meta-jlime/recipes-support/libao/libao_1.1.0.bb
> 
> Signed-off-by: JC 

Please use full name in commits.



​

There's a genuine email address isn't it enough :)? It's harder than Facebook 
here ;)

Anyway, I'll update it but I'd like to see more reviews before to avoid doing a 
new patch just for that







Jay






> ---
>  .../recipes-multimedia/libao/libao_1.1.0.bb| 23 
> ++
>  1 file changed, 23 insertions(+)
>  create mode 100644 meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> 
> diff --git a/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb 
> b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> new file mode 100644
> index 000..08950b5
> --- /dev/null
> +++ b/meta-multimedia/recipes-multimedia/libao/libao_1.1.0.bb
> @@ -0,0 +1,23 @@
> +SECTION = "multimedia"
> +SUMMARY = "Libao is a cross-platform audio library that allows programs to 
> output audio using a simple API on a wide variety of platforms"
> +HOMEPAGE = "https://www.xiph.org/ao/";
> +
> +LICENSE = "GPLv2"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
> +
> +SRC_URI="http://downloads.xiph.org/releases/ao/${BP}.tar.gz";
> +SRC_URI[md5sum] = "2b2508c29bc97e4dc218fa162cf883c8"
> +SRC_URI[sha256sum] = 
> "29de5bb9b1726ba890455ef7e562d877df87811febb0d99ee69164b88c171bd4"
> +
> +inherit autotools
> +
> +do_install_append () {
> +find "${D}" -name '*.la' -exec rm -f {} +
> +}
> +
> +python populate_packages_prepend () {
> +rootdir = bb.data.expand('${libdir}/ao/plugins-4', d)
> +rootdir_dbg = bb.data.expand('${libdir}/ao/plugins-4/.debug', d)
> +do_split_packages(d, rootdir, '^(.*)\.so$', 
> output_pattern='${BPN}-plugin-%s', description='AO %s plugin')
> +do_split_packages(d, rootdir_dbg, '^(.*)\.so$', 
> output_pattern='${BPN}-plugin-%s-dbg', description='AO %s plugin debug data')
> +}
> -- 
> 1.8.1.2
> 
> ___
> 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-multimedia][PATCH] libao: add version 1.1.0

2013-09-19 Thread Martin Jansa
On Thu, Sep 19, 2013 at 05:44:22AM -0700, JC wrote:
> Hi Martin
> 
> There's a genuine email address isn't it enough :)? It's harder than Facebook 
> here ;)
> 
> Anyway, I'll update it but I'd like to see more reviews before to avoid doing 
> a new patch just for that

True, we cannot find you on facebook and linkedin without your full name
:).

Unfortunately I've noticed it only after pushing it to master, so you
don't need to resend, unless we agree to revert and reapply with full
name.

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


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


Re: [oe] meta-perl, meta-filesystems maintenance

2013-09-19 Thread Martin Jansa
On Fri, Sep 13, 2013 at 03:59:36PM +0200, Martin Jansa wrote:
> Hi,
> 
> there were some patches for meta-perl, meta-filesystems
> do you want me to merge patches which looks OK without your ACK or
> should I always wait for it (you're listed in meta-perl as Maintainer
> and in meta-filesystems for couple of recipes + you created it)?
> 
> If you don't have write access I'm OK with pushing them for you once
> they are acked on ML - or even better if you send me list of patchwork
> IDs to merge or some consolidated pull request.
> 
> You can see what's in queue:
> http://patches.openembedded.org/bundle/jama/meta-filesystems/?archive=both
> http://patches.openembedded.org/bundle/jama/meta-perl/?archive=both
> 
> If you don't have maintainer permission for patchwork, please ask Khem
> to add it for you.

ping

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


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


[oe] [PATCH 1/2] gypsy: Improvements in recipes

2013-09-19 Thread Felipe F. Tonello
From: "Felipe F. Tonello" 

Some improvements were made:
* Fix recipes to use .inc file
* Fix git recipe that was not passing do_configure step
* Separeted gypsy daemon from libgypsy in different packages

Signed-off-by: Felipe F. Tonello 
---
 meta-oe/recipes-navigation/gypsy/gypsy.inc| 16 +---
 meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb | 21 +
 meta-oe/recipes-navigation/gypsy/gypsy_git.bb | 12 
 3 files changed, 26 insertions(+), 23 deletions(-)

diff --git a/meta-oe/recipes-navigation/gypsy/gypsy.inc 
b/meta-oe/recipes-navigation/gypsy/gypsy.inc
index ba54356..747b61d 100644
--- a/meta-oe/recipes-navigation/gypsy/gypsy.inc
+++ b/meta-oe/recipes-navigation/gypsy/gypsy.inc
@@ -5,11 +5,21 @@ concurrently.  Gypsy also hides the details of parsing NMEA 
from the \
 client applications, passing the data as simple values for the clients \
 to use."
 LICENSE = "GPLv2.0 & LGPLv2.1"
-SECTION = "x11"
-DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt-native"
+SECTION = "console/network"
+DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt-native libxslt"
 
 inherit autotools pkgconfig gtk-doc
+PACKAGES += "libgypsy"
 
 EXTRA_OECONF += "--with-distro=debian"
 
-FILES_${PN} += "/usr/share/dbus-1/services/"
+FILES_${PN} = " \
+  ${sysconfdir}/gypsy.conf \
+  ${sysconfdir}/dbus-1 \
+  ${libexecdir}/gypsy-daemon \
+  ${datadir}/dbus-1 \
+"
+
+FILES_libgypsy = " \
+  ${libdir}/libgypsy${SOLIBS} \
+"
diff --git a/meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb 
b/meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb
index 564d3d9..24c8987 100644
--- a/meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb
+++ b/meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb
@@ -1,26 +1,15 @@
-SUMMARY = "GPS Multiplexing Daemon"
-DESCRIPTION = "Gypsy is a GPS multiplexing daemon which allows \
-multiple clients to access GPS data from multiple GPS sources \
-concurrently.  Gypsy also hides the details of parsing NMEA from the \
-client applications, passing the data as simple values for the clients \
-to use."
-LICENSE = "GPLv2+ & LGPLv2+"
+require gypsy.inc
+
+PR = "r2"
+
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
 file://COPYING.lib;md5=7fbc338309ac38fefcd64b04bb903e34 \
 
file://src/main.c;beginline=1;endline=25;md5=3fe64e27e61b289b77383a54a982cbdd \
 
file://gypsy/gypsy-time.h;beginline=1;endline=24;md5=06432ea19a7b6607428d04d9dadc37fd"
 
-SECTION = "x11"
-DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt"
-
-SRC_URI = "http://gypsy.freedesktop.org/releases/gypsy-${PV}.tar.gz \
+SRC_URI += "http://gypsy.freedesktop.org/releases/gypsy-${PV}.tar.gz \
file://0001-g_type_init-is-deprecated-for-glib-2.35.0.patch \
   "
-PR = "r1"
-
-inherit autotools pkgconfig
-
-FILES_${PN} += "/usr/share/dbus-1/system-services/"
 
 SRC_URI[md5sum] = "e2d186df9c2cc3b70a027043e22acf1a"
 SRC_URI[sha256sum] = 
"14e1cbe17351f408538e033ca370b4bf51ccf9c88744e236ddfb271904f154d6"
diff --git a/meta-oe/recipes-navigation/gypsy/gypsy_git.bb 
b/meta-oe/recipes-navigation/gypsy/gypsy_git.bb
index 5431c68..6ab16e6 100644
--- a/meta-oe/recipes-navigation/gypsy/gypsy_git.bb
+++ b/meta-oe/recipes-navigation/gypsy/gypsy_git.bb
@@ -4,15 +4,19 @@ DEFAULT_PREFERENCE = "-1"
 
 SRCREV = "be8c9c382d2d1d37b51d29b0843045121ec90213"
 PV = "0.9+git${SRCPV}"
-PR = "r1"
+PR = "r2"
 
 S = "${WORKDIR}/git"
 
-LICENSE = "GPLv2+ & LGPLv2+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
 file://COPYING.lib;md5=7fbc338309ac38fefcd64b04bb903e34 \
 
file://src/main.c;beginline=1;endline=25;md5=3fe64e27e61b289b77383a54a982cbdd \
 
file://gypsy/gypsy-time.h;beginline=1;endline=24;md5=06432ea19a7b6607428d04d9dadc37fd"
 
-SRC_URI = "git://anongit.freedesktop.org/gypsy \
-   file://fixups.patch"
+SRC_URI += "git://anongit.freedesktop.org/gypsy \
+file://fixups.patch"
+
+do_configure_prepend() {
+  # from patch 563716fc596d53f1085949a9dd11a62f39b2d624
+  test -d ${S}/m4 || mkdir -p ${S}/m4
+}
-- 
1.8.3.1

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


[oe] [PATCH 2/2] gypsy: Added init script

2013-09-19 Thread Felipe F. Tonello
From: "Felipe F. Tonello" 

Added a modified version of the example init script, gypsy-example-initscript,
from the gypsy repository to be compatible with OE based distros.

Signed-off-by: Felipe F. Tonello 
---
 .../gypsy/files/gypsy-initscript   | 61 ++
 meta-oe/recipes-navigation/gypsy/gypsy.inc | 13 -
 2 files changed, 73 insertions(+), 1 deletion(-)
 create mode 100755 meta-oe/recipes-navigation/gypsy/files/gypsy-initscript

diff --git a/meta-oe/recipes-navigation/gypsy/files/gypsy-initscript 
b/meta-oe/recipes-navigation/gypsy/files/gypsy-initscript
new file mode 100755
index 000..c3c94e5
--- /dev/null
+++ b/meta-oe/recipes-navigation/gypsy/files/gypsy-initscript
@@ -0,0 +1,61 @@
+#! /bin/sh
+#
+# based on gypsy-example-initscript in gypsy repository
+# there are some little modifications to work with OE based distros
+# []' Felipe Tonello e...@felipetonello.com
+#
+
+set -e
+
+DESC="Gypsy daemon"
+NAME="gypsy-daemon"
+DAEMON=/usr/lib/gypsy/$NAME
+PIDFILE=/var/run/$NAME.pid
+SCRIPTNAME=/etc/init.d/$NAME
+USER=root
+
+# Gracefully exit if the package has been removed.
+test -x $DAEMON || exit 0
+
+#
+#  Function that starts the daemon/service.
+#
+d_start() {
+   start-stop-daemon --start --quiet --pidfile $PIDFILE \
+   --user $USER --exec $DAEMON -- $DAEMON_OPTS
+}
+
+#
+#  Function that stops the daemon/service.
+#
+d_stop() {
+   start-stop-daemon --stop --quiet --pidfile $PIDFILE \
+--oknodo --user $USER --exec $DAEMON
+}
+
+
+case "$1" in
+  start)
+   echo -n "Starting $DESC: $NAME"
+   d_start
+   echo "."
+   ;;
+  stop)
+   echo -n "Stopping $DESC: $NAME"
+   d_stop
+   echo "."
+   ;;
+  restart|force-reload)
+   echo -n "Restarting $DESC: $NAME"
+   d_stop
+   sleep 1
+   d_start
+   echo "."
+   ;;
+  *)
+   echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+   exit 1
+   ;;
+esac
+
+exit 0
diff --git a/meta-oe/recipes-navigation/gypsy/gypsy.inc 
b/meta-oe/recipes-navigation/gypsy/gypsy.inc
index 747b61d..1f50d79 100644
--- a/meta-oe/recipes-navigation/gypsy/gypsy.inc
+++ b/meta-oe/recipes-navigation/gypsy/gypsy.inc
@@ -8,13 +8,20 @@ LICENSE = "GPLv2.0 & LGPLv2.1"
 SECTION = "console/network"
 DEPENDS = "glib-2.0 dbus bluez4 dbus-glib libxslt-native libxslt"
 
-inherit autotools pkgconfig gtk-doc
 PACKAGES += "libgypsy"
+SRC_URI = "file://gypsy-initscript"
+
+inherit autotools pkgconfig gtk-doc update-rc.d
+
+INITSCRIPT_NAME = "gypsy-daemon"
+# make sure it starts after X
+INITSCRIPT_PARAMS = "start 10 5 3 2 . stop 20 0 1 6 ."
 
 EXTRA_OECONF += "--with-distro=debian"
 
 FILES_${PN} = " \
   ${sysconfdir}/gypsy.conf \
+  ${sysconfdir}/init.d/gypsy-daemon \
   ${sysconfdir}/dbus-1 \
   ${libexecdir}/gypsy-daemon \
   ${datadir}/dbus-1 \
@@ -23,3 +30,7 @@ FILES_${PN} = " \
 FILES_libgypsy = " \
   ${libdir}/libgypsy${SOLIBS} \
 "
+
+do_install_append() {
+  install -D ${WORKDIR}/gypsy-initscript ${D}/${sysconfdir}/init.d/gypsy-daemon
+}
-- 
1.8.3.1

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


[oe] [PATCH 0/2] Improvements in gypsy recipes

2013-09-19 Thread Felipe F. Tonello
From: "Felipe F. Tonello" 

Felipe F. Tonello (2):
  gypsy: Improvements in recipes
  gypsy: Added init script

 .../gypsy/files/gypsy-initscript   | 61 ++
 meta-oe/recipes-navigation/gypsy/gypsy.inc | 29 --
 meta-oe/recipes-navigation/gypsy/gypsy_0.9.bb  | 21 ++--
 meta-oe/recipes-navigation/gypsy/gypsy_git.bb  | 12 +++--
 4 files changed, 99 insertions(+), 24 deletions(-)
 create mode 100755 meta-oe/recipes-navigation/gypsy/files/gypsy-initscript

-- 
1.8.3.1

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


[oe] [meta-oe][PATCH 1/2] libsocketcan: upgrade to 0.0.9

2013-09-19 Thread Eric Bénard
and include a compile fix

Signed-off-by: Eric Bénard 
---
 ...e-strcmp-instead-of-sizeof-on-char-string.patch | 39 ++
 ...libsocketcan_0.0.8.bb => libsocketcan_0.0.9.bb} |  7 ++--
 2 files changed, 43 insertions(+), 3 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/socketcan/libsocketcan/0001-Use-strcmp-instead-of-sizeof-on-char-string.patch
 rename meta-oe/recipes-extended/socketcan/{libsocketcan_0.0.8.bb => 
libsocketcan_0.0.9.bb} (57%)

diff --git 
a/meta-oe/recipes-extended/socketcan/libsocketcan/0001-Use-strcmp-instead-of-sizeof-on-char-string.patch
 
b/meta-oe/recipes-extended/socketcan/libsocketcan/0001-Use-strcmp-instead-of-sizeof-on-char-string.patch
new file mode 100644
index 000..aa6196e
--- /dev/null
+++ 
b/meta-oe/recipes-extended/socketcan/libsocketcan/0001-Use-strcmp-instead-of-sizeof-on-char-string.patch
@@ -0,0 +1,39 @@
+From 94094cc4ee7ae585da3e5e7e83e7d82b5d6de656 Mon Sep 17 00:00:00 2001
+From: Alexander Stein 
+Date: Wed, 14 Nov 2012 12:13:06 +0100
+Subject: [PATCH] Use strcmp instead of sizeof on char* string
+
+This bug was detected by the clang warning:
+libsocketcan.c:384:16: warning: argument to 'sizeof' in 'strncmp' call
+is the same expression as the source; did you mean to provide an
+explicit length? [-Wsizeof-pointer-memaccess]
+sizeof(name)) != 0)
+~~~^~
+
+Signed-off-by: Alexander Stein 
+Signed-off-by: Marc Kleine-Budde 
+---
+Upstream-Status: Backport
+
+ src/libsocketcan.c | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/src/libsocketcan.c b/src/libsocketcan.c
+index fedcbdc..841c2ed 100644
+--- a/src/libsocketcan.c
 b/src/libsocketcan.c
+@@ -379,9 +379,8 @@ static int do_get_nl_link(int fd, __u8 acquire, const char 
*name, void *res)
+   nl_msg->nlmsg_len - NLMSG_LENGTH(sizeof(struct 
ifaddrmsg));
+   parse_rtattr(tb, IFLA_MAX, IFLA_RTA(ifi), len);
+ 
+-  if (strncmp
+-  ((char *)RTA_DATA(tb[IFLA_IFNAME]), name,
+-   sizeof(name)) != 0)
++  if (strcmp
++  ((char *)RTA_DATA(tb[IFLA_IFNAME]), name) != 0)
+   continue;
+ 
+   if (tb[IFLA_LINKINFO])
+-- 
+1.8.3.1
+
diff --git a/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.8.bb 
b/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.9.bb
similarity index 57%
rename from meta-oe/recipes-extended/socketcan/libsocketcan_0.0.8.bb
rename to meta-oe/recipes-extended/socketcan/libsocketcan_0.0.9.bb
index 34ba56b..6b31a1e 100644
--- a/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.8.bb
+++ b/meta-oe/recipes-extended/socketcan/libsocketcan_0.0.9.bb
@@ -5,9 +5,10 @@ SECTION = "libs/network"
 LICENSE = "LGPLv2.1"
 LIC_FILES_CHKSUM = 
"file://src/libsocketcan.c;beginline=3;endline=17;md5=97e38adced4385d8fba1ae2437cedee1"
 
-SRCREV = "3a2cec63a4e6212cc63d21008453bd799cfe8774"
+SRCREV = "e1a224bf1c409adf0c02b07a90deada634e54b88"
 
-SRC_URI = "git://git.pengutronix.de/git/tools/libsocketcan.git \
+SRC_URI = "git://git.pengutronix.de/git/tools/libsocketcan.git;protocol=git \
+file://0001-Use-strcmp-instead-of-sizeof-on-char-string.patch \
 "
 
 S = "${WORKDIR}/git"
@@ -15,5 +16,5 @@ S = "${WORKDIR}/git"
 inherit autotools pkgconfig
 
 do_configure_prepend() {
-sed -i -e s:tests/GNUmakefile::g -e s:trunk:0.0.8: configure.ac
+sed -i -e s:tests/GNUmakefile::g -e s:trunk:0.0.9: configure.ac
 }
-- 
1.8.4.rc3

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


[oe] [meta-oe][PATCH 2/2] canutils: update recipe

2013-09-19 Thread Eric Bénard
- use git hash instead of tag
- backport "candump: Add error frame's handling"

Signed-off-by: Eric Bénard 
---
 ...nutils-candump-Add-error-frame-s-handling.patch | 94 ++
 .../recipes-extended/socketcan/canutils_4.0.6.bb   |  5 +-
 2 files changed, 97 insertions(+), 2 deletions(-)
 create mode 100644 
meta-oe/recipes-extended/socketcan/canutils/0001-canutils-candump-Add-error-frame-s-handling.patch

diff --git 
a/meta-oe/recipes-extended/socketcan/canutils/0001-canutils-candump-Add-error-frame-s-handling.patch
 
b/meta-oe/recipes-extended/socketcan/canutils/0001-canutils-candump-Add-error-frame-s-handling.patch
new file mode 100644
index 000..fcc38e0
--- /dev/null
+++ 
b/meta-oe/recipes-extended/socketcan/canutils/0001-canutils-candump-Add-error-frame-s-handling.patch
@@ -0,0 +1,94 @@
+From bab595e38295dcafcfc17a011d3d51f2df1618e6 Mon Sep 17 00:00:00 2001
+From: AnilKumar Ch 
+Date: Tue, 10 Jan 2012 18:55:11 +0530
+Subject: [PATCH] canutils: candump: Add error frame's handling
+
+This patch adds the error handling capability to candump utility
+by adding error flags for displaying all kind of error frames
+like tx_timeout, lost arbitration, controller problems, buserrors,
+bus warnings etc.
+
+Usage of candump for error frame display on console:
+candump [] [Options]
+Ex: candump can0 --error
+
+This patch is created on top of canutils-4.0.6 tag from
+http://git.pengutronix.de/?p=tools/canutils.git
+
+Signed-off-by: AnilKumar Ch 
+Signed-off-by: Marc Kleine-Budde 
+---
+Upstream-Status: Backport
+
+ src/candump.c | 20 
+ 1 file changed, 20 insertions(+)
+
+diff --git a/src/candump.c b/src/candump.c
+index 259d442..c16425b 100644
+--- a/src/candump.c
 b/src/candump.c
+@@ -20,6 +20,7 @@
+ 
+ #include 
+ #include 
++#include 
+ 
+ extern int optind, opterr, optopt;
+ 
+@@ -40,6 +41,7 @@ static void print_usage(char *prg)
+   " -p, --protocol=PROTO\t"   "CAN protocol (default CAN_RAW 
= %d)\n"
+   " --filter=id:mask[:id:mask]...\n"
+   "\t\t\t""apply filter\n"
++  " -e, --error\t\t"  "dump error frames along with 
data frames\n"
+   " -h, --help\t\t"   "this help\n"
+   " -o \t\t""output into filename\n"
+   " -d\t\t\t" "daemonize\n"
+@@ -86,6 +88,11 @@ int main(int argc, char **argv)
+   int nbytes, i;
+   int opt, optdaemon = 0;
+   uint32_t id, mask;
++  int error = 0;
++  can_err_mask_t err_mask = (CAN_ERR_TX_TIMEOUT | CAN_ERR_LOSTARB |
++  CAN_ERR_CRTL | CAN_ERR_PROT |
++  CAN_ERR_TRX | CAN_ERR_ACK | 
CAN_ERR_BUSOFF |
++  CAN_ERR_BUSERROR);
+ 
+   signal(SIGPIPE, SIG_IGN);
+ 
+@@ -95,6 +102,7 @@ int main(int argc, char **argv)
+   { "protocol", required_argument, 0, 'p' },
+   { "type", required_argument, 0, 't' },
+   { "filter", required_argument, 0, FILTER_OPTION },
++  { "error", no_argument, 0, 'e' },
+   { "version", no_argument, 0, VERSION_OPTION},
+   { 0, 0, 0, 0},
+   };
+@@ -121,6 +129,10 @@ int main(int argc, char **argv)
+   proto = strtoul(optarg, NULL, 0);
+   break;
+ 
++  case 'e':
++  error = 1;
++  break;
++
+   case 'o':
+   optout = optarg;
+   break;
+@@ -186,6 +198,14 @@ int main(int argc, char **argv)
+   }
+   }
+ 
++  if (error) {
++  if (setsockopt(s, SOL_CAN_RAW, CAN_RAW_ERR_FILTER, &err_mask,
++ sizeof(err_mask)) != 0) {
++  perror("setsockopt");
++  exit(1);
++  }
++  }
++
+   if (optdaemon)
+   daemon(1, 0);
+   else {
+-- 
+1.8.3.1
+
diff --git a/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb 
b/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb
index 3bc2f93..504c510 100644
--- a/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb
+++ b/meta-oe/recipes-extended/socketcan/canutils_4.0.6.bb
@@ -7,8 +7,9 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
 
 DEPENDS = "libsocketcan"
 
-TAG = "canutils-${PV}"
-SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;tag=${TAG} \
+SRCREV = "299dff7f5322bf0348dcdd60071958ebedf5f09d"
+SRC_URI = "git://git.pengutronix.de/git/tools/canutils.git;protocol=git \
+file://0001-canutils-candump-Add-error-frame-s-handling.patch \
 "
 
 S = "${WORKDIR}/git"
-- 
1.8.4.rc3

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


Re: [oe] [OE-core] patchwork updated

2013-09-19 Thread Khem Raj

On Sep 19, 2013, at 5:02 AM, Martin Jansa  wrote:

> On Sun, Sep 15, 2013 at 12:32:44AM -0700, Khem Raj wrote:
>> Hi All,
>> 
>> The patchwork has been updated to latest. Please keep an eye if you
>> see something non working let me know immediately.
> 
> Hi,
> 
> something is wrong,
> 
> http://patchwork.openembedded.org/user/bundles/
> 
> returns 502 Bad Gateway for me and I cannot access individual bundles,
> which is very bad, because all oe-devel patches are separated into
> bundles based on layer.

Hmm, I saw that we use python 2.6 on the server and pw has been using few of 
python 2.7
features and modules. I have requested Tom to look into upgrading the server 
from 10.04 -> 12.04
meanwhile I will see if I can reproduce it and see whats going on.

> 
> Regards,
> 
> -- 
> 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] [PATCH 2/2] gypsy: Added init script

2013-09-19 Thread Felipe Tonello
On Thu, Sep 19, 2013 at 12:09 PM, Felipe F. Tonello
 wrote:
> From: "Felipe F. Tonello" 
>
> Added a modified version of the example init script, gypsy-example-initscript,
> from the gypsy repository to be compatible with OE based distros.
>

Actually I just realized that the daemon is called by dbus when
clients connect to it. So I believe this patch is not necessary,
unless we separate in a different package.

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


[oe] distutils: Replacing path to native path only to be done to non-native python packages

2013-09-19 Thread Amy Fong
distutils: Replacing path to native path only to be done to non-native python 
packages

distutils: Replacing path to native python by path to python in the
image to support python packages with console-script setup resulted in
a "bad interpreter" error message because coreutils-native is not
a specified dependency of a number of native python packages.

We modify the change to apply specifically to non-native packages.

Signed-off-by: Amy Fong 
---
 meta/classes/distutils.bbclass | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/meta/classes/distutils.bbclass b/meta/classes/distutils.bbclass
index 60cf9ee..fbe0ec8 100644
--- a/meta/classes/distutils.bbclass
+++ b/meta/classes/distutils.bbclass
@@ -47,14 +47,18 @@ distutils_do_install() {
 
 if test -e ${D}${bindir} ; then
 for i in ${D}${bindir}/* ; do \
-sed -i -e 
s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i
+if [ ${PN} != "${BPN}-native" ]; then
+   sed -i -e 
s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i
+   fi
 sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
 done
 fi
 
 if test -e ${D}${sbindir}; then
 for i in ${D}${sbindir}/* ; do \
-sed -i -e 
s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i
+if [ ${PN} != "${BPN}-native" ]; then
+   sed -i -e 
s:${STAGING_BINDIR_NATIVE}/python-native/python:${bindir}/env\ python:g $i
+   fi
 sed -i -e s:${STAGING_BINDIR_NATIVE}:${bindir}:g $i
 done
 fi
-- 
1.7.12.4

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


[oe] [meta-qt5][PATCH] devshell: include PATH for qt5 native applications

2013-09-19 Thread Trevor Woerner
If you perform a "bitbake -c devshell " and then try "which
qmake" in the devshell, you'll find your host's qmake is found (which is most
likely to be based on qt4) rather than the one that is built as part of
meta-qt5. The reason for this is that the qt5 items are installed to
${STAGING_DIR_NATIVE}/usr/bin/qt5 and not ${STAGING_DIR_NATIVE}/usr/bin. The
reason for the extra "qt5" directory at the end is so that qt4-based items
that are built in OE can live side-by-side with things from meta-qt5 without
interfering with each other.

This patch prepends ${STAGING_DIR_NATIVE}/usr/bin/qt5 to the devshell's PATH
so that the qt5-based native tools which are built as part of meta-qt5 will be
found before the host's.

Signed-off-by: Trevor Woerner 
---
 recipes-qt/qt5/qt5.inc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/recipes-qt/qt5/qt5.inc b/recipes-qt/qt5/qt5.inc
index 80acb73..7c58b18 100644
--- a/recipes-qt/qt5/qt5.inc
+++ b/recipes-qt/qt5/qt5.inc
@@ -126,3 +126,5 @@ FILES_${PN}-examples-staticdev = " \
 ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*.a \
 ${OE_QMAKE_PATH_EXAMPLES}/*/*/*/*/*/*.a \
 "
+
+PATH_prepend = "${STAGING_DIR_NATIVE}${OE_QMAKE_PATH_QT_BINS}:"
-- 
1.8.4.rc3.1.gc1ebd90

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


Re: [oe] [OE-core] patchwork updated

2013-09-19 Thread Khem Raj

On Sep 19, 2013, at 5:02 AM, Martin Jansa  wrote:

> On Sun, Sep 15, 2013 at 12:32:44AM -0700, Khem Raj wrote:
>> Hi All,
>> 
>> The patchwork has been updated to latest. Please keep an eye if you
>> see something non working let me know immediately.
> 
> Hi,
> 
> something is wrong,
> 
> http://patchwork.openembedded.org/user/bundles/
> 
> returns 502 Bad Gateway for me and I cannot access individual bundles,
> which is very bad, because all oe-devel patches are separated into
> bundles based on layer.

OK. I have created a local fix for it and also started a discussion on 
patchwork ml
bundles should be visible now. Let me know if there are further issues.

> 
> Regards,
> 
> -- 
> 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