[oe] [meta-oe][ 1/1] openldap: fix uninitialized ptr access problem

2015-03-12 Thread Joe Slater
To be safe, the ldap_pvt_thread_pool_getkey() function should
always set the data parameter.  If this is not done, slapd can
segfault during shutdown.

Signed-off-by: Joe Slater jsla...@windriver.com
---
 .../openldap/openldap-2.4.39/thread_stub.patch |   20 
 .../recipes-support/openldap/openldap_2.4.39.bb|1 +
 2 files changed, 21 insertions(+)
 create mode 100644 
meta-oe/recipes-support/openldap/openldap-2.4.39/thread_stub.patch

diff --git a/meta-oe/recipes-support/openldap/openldap-2.4.39/thread_stub.patch 
b/meta-oe/recipes-support/openldap/openldap-2.4.39/thread_stub.patch
new file mode 100644
index 000..540ba4a
--- /dev/null
+++ b/meta-oe/recipes-support/openldap/openldap-2.4.39/thread_stub.patch
@@ -0,0 +1,20 @@
+openldap: set pointer
+
+When the function ldap_pvt_thread_pool_getkey() succeeds, it
+must set the value of *data since the caller may try to use it.
+
+Upstream-Status: pending
+
+Signed-off-by: Joe Slater jsla...@windriver.com
+
+
+--- a/libraries/libldap_r/thr_stub.c
 b/libraries/libldap_r/thr_stub.c
+@@ -217,6 +217,7 @@ ldap_pvt_thread_pool_unidle ( ldap_pvt_t
+ int ldap_pvt_thread_pool_getkey (
+   void *ctx, void *key, void **data, ldap_pvt_thread_pool_keyfree_t 
**kfree )
+ {
++  if (data) *data = NULL;  /* avoid problems with uninitialized *data */
+   return(0);
+ }
+ 
diff --git a/meta-oe/recipes-support/openldap/openldap_2.4.39.bb 
b/meta-oe/recipes-support/openldap/openldap_2.4.39.bb
index e2c700f..0183d02 100644
--- a/meta-oe/recipes-support/openldap/openldap_2.4.39.bb
+++ b/meta-oe/recipes-support/openldap/openldap_2.4.39.bb
@@ -25,6 +25,7 @@ SRC_URI = 
ftp://ftp.openldap.org/pub/OpenLDAP/openldap-release/${BP}.tgz \
 file://use-urandom.patch \
 file://initscript \
 file://slapd.service \
+file://thread_stub.patch \
 
 SRC_URI[md5sum] = b0d5ee4b252c841dec6b332d679cf943
 SRC_URI[sha256sum] = 
8267c87347103fef56b783b24877c0feda1063d3cb85d070e503d076584bf8a7
-- 
1.7.9.5

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


[oe] shearing smstools3 recipe

2015-03-12 Thread Kai Ulrich
Hi

I created an layer with a recipe for smstools3.
You can find it on https://github.com/kaiulrich/meta-smstools3
If you have any comments to improve meta-smstools3,
please tell me (It is my first layer / recipe :-) )

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


Re: [oe] [meta-qt5][PATCH v2] qt5-git, *qtbase*, qt5everywheredemo: Fetch from code.qt.io

2015-03-12 Thread Denys Dmytriyenko
Martin,

Any ETA for when you plan to merge master-next into master with this fix? 
Thanks.


On Tue, Mar 10, 2015 at 09:37:46PM +0100, Frederico Cadete wrote:
 From: Frederico Cadete frederico.cad...@awtce.be
 
 Gitorious disabled the git:// protocol, breaking fetches.
 Also, this service is scheduled to stop in May 2015, so move to
 code.qt.io.
 
 Signed-off-by: Frederico Cadete freder...@cadete.eu
 ---
  recipes-qt/examples/qt5everywheredemo_1.0.bb | 2 +-
  recipes-qt/qt5/nativesdk-qtbase_git.bb   | 2 +-
  recipes-qt/qt5/qt5-git.inc   | 2 +-
  recipes-qt/qt5/qtbase-native_git.bb  | 2 +-
  recipes-qt/qt5/qtbase_git.bb | 2 +-
  5 files changed, 5 insertions(+), 5 deletions(-)
 
 diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb 
 b/recipes-qt/examples/qt5everywheredemo_1.0.bb
 index 4f7022c..60edaa4 100644
 --- a/recipes-qt/examples/qt5everywheredemo_1.0.bb
 +++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb
 @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
 file://main.cpp;md5=1187cb795a0f96bce64e63dd1a67dc2b
  DEPENDS = qtdeclarative qtgraphicaleffects
  
  SRCREV = 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d
 -SRC_URI = git://gitorious.org/qt-labs/qt5-everywhere-demo.git
 +SRC_URI = git://code.qt.io/qt-labs/qt5-everywhere-demo.git
  
  S = ${WORKDIR}/git/QtDemo
  
 diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb 
 b/recipes-qt/qt5/nativesdk-qtbase_git.bb
 index 9194a83..df80407 100644
 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
 +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
 @@ -5,7 +5,7 @@ require ${PN}.inc
  FILESEXTRAPATHS =. ${FILE_DIRNAME}/${BPN}-git:
  
  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  
  
  # common for qtbase-native, qtbase-nativesdk and qtbase
 diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
 index da962b8..84ddf49 100644
 --- a/recipes-qt/qt5/qt5-git.inc
 +++ b/recipes-qt/qt5/qt5-git.inc
 @@ -5,7 +5,7 @@ QT_MODULE_BRANCH ?= 5.4
  
  # each module needs to define valid SRCREV
  SRC_URI +=  \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  
  
  S = ${WORKDIR}/git
 diff --git a/recipes-qt/qt5/qtbase-native_git.bb 
 b/recipes-qt/qt5/qtbase-native_git.bb
 index cebc021..5a308d4 100644
 --- a/recipes-qt/qt5/qtbase-native_git.bb
 +++ b/recipes-qt/qt5/qtbase-native_git.bb
 @@ -2,7 +2,7 @@ require qt5-git.inc
  require ${PN}.inc
  
  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  
  
  # common for qtbase-native, qtbase-nativesdk and qtbase
 diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
 index d33eb68..549c92a 100644
 --- a/recipes-qt/qt5/qtbase_git.bb
 +++ b/recipes-qt/qt5/qtbase_git.bb
 @@ -2,7 +2,7 @@ require qt5-git.inc
  require ${PN}.inc
  
  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  
  
  # common for qtbase-native, qtbase-nativesdk and qtbase
 -- 
 2.1.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] [PATCHv3 1/2] soci: Add recipe

2015-03-12 Thread Martin Jansa
On Sun, Mar 08, 2015 at 10:59:30AM +, Khem Raj wrote:
 Define PACKAGECONFIG to enable a given backend of choice
 by default its 'empty'
 
 Change-Id: Ie1123af658ca94d2fe22a3ca1a32dfb47d58979e
 Signed-off-by: Khem Raj raj.k...@gmail.com
 ---
  .../recipes-support/soci/soci/soci_libdir.patch| 28 +
  meta-oe/recipes-support/soci/soci_3.2.2.bb | 48 
 ++
  2 files changed, 76 insertions(+)
  create mode 100644 meta-oe/recipes-support/soci/soci/soci_libdir.patch
  create mode 100644 meta-oe/recipes-support/soci/soci_3.2.2.bb

The patch fails to apply:
ERROR: Command Error: exit status: 1  Output:
Applying patch soci_libdir.patch
patching file CMakeLists.txt
Hunk #1 FAILED at 69.
1 out of 1 hunk FAILED -- rejects in file CMakeLists.txt
Patch soci_libdir.patch does not apply (enforce with -f)
ERROR: Function failed: patch_do_patch
ERROR: Logfile of failure stored in: 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/soci/3.2.2-r0/temp/log.do_patch.26404
NOTE: recipe soci-3.2.2-r0: task do_patch: Failed
ERROR: Task 21069 
(/home/jenkins/oe/world/shr-core/meta-openembedded/meta-oe/recipes-support/soci/soci_3.2.2.bb,
 do_patch) failed with exit code '1'

Can you push it to contrib repo to exclude possible patchwork breakage of it?

 diff --git a/meta-oe/recipes-support/soci/soci/soci_libdir.patch 
 b/meta-oe/recipes-support/soci/soci/soci_libdir.patch
 new file mode 100644
 index 000..8da57ce
 --- /dev/null
 +++ b/meta-oe/recipes-support/soci/soci/soci_libdir.patch
 @@ -0,0 +1,28 @@
 +Define SOCI_LIBDIR only if its not passed via environemnt. In OE we
 +want to set it per our choice since we use 'lib' for 64bit unless we
 +are using multilib
 +
 +-Khem
 +
 +Index: soci-3.2.2/CMakeLists.txt
 +===
 +--- soci-3.2.2.orig/CMakeLists.txt
  soci-3.2.2/CMakeLists.txt
 +@@ -69,11 +69,12 @@ include(SociDependencies)
 + 
 ###
 + # Installation
 + 
 ###
 +-
 +-if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4)
 +-  set(SOCI_LIBDIR lib)
 +-else()
 +-  set(SOCI_LIBDIR lib)
 ++if(NOT DEFINED SOCI_LIBDIR)
 ++  if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4)
 ++set(SOCI_LIBDIR lib)
 ++  else()
 ++set(SOCI_LIBDIR lib)
 ++  endif()
 + endif()
 + 
 + set(BINDIR bin CACHE PATH The directory to install binaries into.)
 diff --git a/meta-oe/recipes-support/soci/soci_3.2.2.bb 
 b/meta-oe/recipes-support/soci/soci_3.2.2.bb
 new file mode 100644
 index 000..887f5a2
 --- /dev/null
 +++ b/meta-oe/recipes-support/soci/soci_3.2.2.bb
 @@ -0,0 +1,48 @@
 +# Copyright (C) 2015 Khem Raj raj.k...@gmail.com
 +# Released under the MIT license (see COPYING.MIT for the terms)
 +
 +DESCRIPTION = The C++ Database Access Library
 +HOMEPAGE = http://soci.sourceforge.net;
 +LICENSE = BSL-1.0
 +LIC_FILES_CHKSUM = 
 file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c
 +SECTION = libs
 +DEPENDS = boost
 +
 +
 +SRC_URI = ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${P}/${P}.tar.gz \
 +   file://soci_libdir.patch \
 +  
 +SRC_URI[md5sum] = bc3c35f6cd3f80a1be19fe30b3c111bf
 +SRC_URI[sha256sum] = 
 30ea2f4d26639ef5b5cdc24fb300b3896746243dbb77b743582de2ff443ccb1c
 +
 +TESTCONFIG = '-DSOCI_TEST_EMPTY_CONNSTR=dummy 
 -DSOCI_TEST_SQLITE3_CONNSTR=test.db \
 +  -DSOCI_TEST_POSTGRESQL_CONNSTR:STRING=dbname=soci_test \
 +  -DSOCI_TEST_MYSQL_CONNSTR:STRING=db=soci_test user=oe 
 password=oe'
 +
 +OBASEDIR ?= /opt/oracle
 +OINCDIR = rdbms/public
 +OLIBDIR = lib
 +
 +PACKAGECONFIG[sqlite3] = -DSOCI_SQLITE3=ON,-DSOCI_SQLITE3=OFF,sqlite3,
 +PACKAGECONFIG[mysql] = -DSOCI_MYSQL=ON,-DSOCI_MYSQL=OFF,mariadb,
 +PACKAGECONFIG[postgresql] = 
 -DSOCI_POSTGRESQL=ON,-DSOCI_POSTGRESQL=OFF,postgresql,
 +PACKAGECONFIG[odbc] = -DSOCI_ODBC=ON,-DSOCI_ODBC=OFF,,
 +PACKAGECONFIG[empty] = -DSOCI_EMPTY=ON,-DSOCI_EMPTY=OFF,,
 +PACKAGECONFIG[oracle] = -DWITH_ORACLE=ON --with-oracle-include=${OINCDIR} 
 --with-oracle-lib=${OLIBDIR},-DWITH_ORACLE=OFF,,
 +PACKAGECONFIG[ptest] = ${TESTCONFIG},,,
 +
 +# enable your backend by default we enable 'empty'
 +PACKAGECONFIG ??= empty
 +
 +# Take the flags added by PACKAGECONFIG and pass them to cmake.
 +EXTRA_OECMAKE = ${EXTRA_OECONF} -DSOCI_LIBDIR=${libdir}
 +
 +inherit cmake
 +
 +PACKAGES += ${PN}-sqlite3 ${PN}-mysql ${PN}-postgresql ${PN}-odbc 
 ${PN}-oracle
 +
 +FILES_${PN}-sqlite3 = ${libdir}/lib${BPN}_sqlite3.so.*
 +FILES_${PN}-mysql = ${libdir}/lib${BPN}_mysql.so.*
 +FILES_${PN}-postgresql = ${libdir}/lib${BPN}_postgresql.so.*
 +FILES_${PN}-odbc = ${libdir}/lib${BPN}_odbc.so.*
 +FILES_${PN}-oracle = ${libdir}/lib${BPN}_oracle.so.*
 -- 
 2.1.4
 
 -- 
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 

[oe] OE Changelog since 2015-03-01 until 2015-03-08

2015-03-12 Thread cliff . brake
Changelog since 2015-03-01 until 2015-03-08.  Projects included in this report:

bitbake: git://git.openembedded.org/bitbake
openembedded-core: git://git.openembedded.org/openembedded-core
meta-openembedded: git://git.openembedded.org/meta-openembedded
meta-angstrom: git://github.com/Angstrom-distribution/meta-angstrom.git
meta-arago: git://arago-project.org/git/meta-arago.git
meta-atmel: https://github.com/linux4sam/meta-atmel.git
meta-beagleboard: git://github.com/beagleboard/meta-beagleboard.git
meta-browser: git://github.com/OSSystems/meta-browser.git
meta-bug: git://github.com/buglabs/meta-bug.git
meta-chicken: git://github.com/OSSystems/meta-chicken
meta-efikamx: git://github.com/kraj/meta-efikamx.git
meta-ettus: http://github.com/koenkooi/meta-ettus.git
meta-fsl-arm: git://git.yoctoproject.org/meta-fsl-arm
meta-fsl-arm-extra: git://github.com/Freescale/meta-fsl-arm-extra.git
meta-fsl-ppc: git://git.yoctoproject.org/meta-fsl-ppc
meta-guacamayo: git://github.com/Guacamayo/meta-guacamayo.git
meta-gumstix: git://github.com/gumstix/meta-gumstix.git
meta-gumstix-community: 
git://gitorious.org/schnitzeltony-oe-meta/meta-gumstix-community.git
meta-handheld: git://git.openembedded.org/meta-handheld
meta-igep: http://github.com/ebutera/meta-igep.git
meta-intel: git://git.yoctoproject.org/meta-intel
meta-ivi: git://git.yoctoproject.org/meta-ivi
meta-java: git://github.com/woglinde/meta-java
meta-kde: git://gitorious.org/openembedded-core-layers/meta-kde.git
meta-micro: git://git.openembedded.org/meta-micro
meta-mono: git://git.yoctoproject.org/meta-mono.git
meta-netbookpro: git://github.com/tworaz/meta-netbookpro
meta-nslu2: git://github.com/kraj/meta-nslu2
meta-opie: git://git.openembedded.org/meta-opie
meta-qt3: git://git.yoctoproject.org/meta-qt3
meta-qt5: git://github.com/meta-qt5/meta-qt5.git
meta-slugos: git://github.com/kraj/meta-slugos
meta-systemd: git://git.yoctoproject.org/meta-systemd
meta-raspberrypi: git://github.com/djwillis/meta-raspberrypi.git
meta-smartphone: http://git.shr-project.org/repo/meta-smartphone.git
meta-ti: git://git.yoctoproject.org/meta-ti
meta-webos: git://github.com/openwebos/meta-webos.git
meta-xilinx: git://git.yoctoproject.org/meta-xilinx
meta-yocto: git://git.yoctoproject.org/meta-yocto
openembedded: git://git.openembedded.org/openembedded


Changelog for bitbake:


Changelog for openembedded-core:

Bernhard Reutner-Fischer (1):
  scripts/runqemu: clarify help text

Bruce Ashfield (4):
  linux-yocto: fix qemux86-64 config warning
  kernel-yocto: inhibit BSP description warnings for custom linux-yocto kernel
  linux-yocto/3.14: OcteonIII support
  kern-tools: improve patch application performance

Jian Liu (1):
  man: fix bugs of makewhatis script

Jonathan Liu (1):
  qt4: add patch for BMP denial-of-service vulnerability

Peter Urbanec (1):
  glibc: Fix check for -Os.

Richard Purdie (2):
  taglib: Fix cmake floating dependency on boost
  build-appliance-image: Update to master head revision

Ross Burton (4):
  security_flags: remove PIE flags from flex and gstreamer1.0-plugins-bad
  gst-player: port to GTK+ 2
  gstreamer1.0-plugins-bad: disable Yadif on X32
  systemd: fix tmpfiles error on images without PAM


Changelog for meta-openembedded:

Andreas Müller (1):
  qt-creator: avoid conflicts with meta-qt5's qt5-creator

Armin Kuster (2):
  edac-utils: Add new package
  mcelog: update to latest

Ash Charles (1):
  xfce4-session: Remove unneeded pkg_postinst

Baptiste DURAND (1):
  minidlna: Fix package and bump to version 1.1.4

Bian Naimeng (1):
  xbitmaps: fix build warning.

Daniel Markus (1):
  socorro-syms: Add Breakpad symbol generation adapted for Socorro

Eduardo Silva (1):
  Monkey: new v1.5.6 release.

Florian Boor (1):
  fltk: Replace use of freetype-config with pkg-config Drop blacklist entry

Joe MacDonald (2):
  nis: integrate latest stable yp-tools and ypbind
  nis: blacklist updated yp tools

Khem Raj (4):
  collectd: Backport fix build with newer gcc
  v4l-utils: RPROVIDE media-ctl
  lirc: Add recipe for 0.9.2
  lirc: Recommend to have lirc-plugins at runtime

Koen Kooi (1):
  mozjs 17.0.0: fix aarch64 and 64k page builds, generic cleanups

Mario Domenech Goulart (1):
  python-urllib3: add recipe for version 1.10.1

Martin Jansa (6):
  linux-yocto-tiny-kexecboot: remove 3.10, 3.17 and add 3.19
  vim: fix up for /bin/vi
  e-wm: upgrade to 0.19.3
  ypbind-mt: fix typo in PNBLACKLIST to really blacklist it
  mplayer2: set REQUIRED_DISTRO_FEATURES and LICENSE_FLAGS
  vboxguestdrivers: import recipe from meta-luneos

Raphael Silva (1):
  fio: fix do_compile error

Sven Ebenfeld (4):
  claws-mail: Fix SRC_URI
  pxaregs: Add source file and fix SRC_URI
  lightmediascanner: Fix SRC_URI
  serial-utils: Fix SRC_URI

Yevhen Kyriukha (1):
  rabbitmq-c: update to v0.6.0.

mike.looijm...@topic.nl (1):
  opencv: 

[oe] [meta-oe][PATCH] socorro-syms: Add directory arrangement needed by minidump_stackwalk

2015-03-12 Thread Daniel Markus
http://code.google.com/p/google-breakpad/wiki/LinuxStarterGuide

When extracting a stack trace out of a Breakpad minidump, the application
minidump_stackwalk is used. This application needs all symbol files to be
arranged in a particular directory structure in order to match the correct
symbol file with the version of the crashed program in question.

A directory structure is created in accordance with minidump_stackwalk. The
structure contains the name of the application binary and a hash value where the
hash corresponds to the binary the symbol file was produced from. The symbol
file is moved to the hash directory allowing multiple versions of the same
symbol file.

Signed-off-by: Daniel Markus daniel.mar...@leica-geosystems.com
---
 meta-oe/classes/socorro-syms.bbclass | 50 +++-
 1 file changed, 49 insertions(+), 1 deletion(-)

diff --git a/meta-oe/classes/socorro-syms.bbclass 
b/meta-oe/classes/socorro-syms.bbclass
index 766a9e6..c272952 100644
--- a/meta-oe/classes/socorro-syms.bbclass
+++ b/meta-oe/classes/socorro-syms.bbclass
@@ -42,6 +42,16 @@ python symbol_file_preprocess() {
 breakpad_sym_file_path = os.path.join(breakpad_syms_dir, sym_file_name)
 socorro_sym_file_path = os.path.join(socorro_syms_dir, sym_file_name)
 
+create_socorro_sym_file(breakpad_sym_file_path, socorro_sym_file_path)
+
+arrange_socorro_sym_file(socorro_sym_file_path, socorro_syms_dir)
+
+return
+}
+
+
+def create_socorro_sym_file(breakpad_sym_file_path, socorro_sym_file_path):
+
 # In the symbol file, all source files are referenced like the following.
 # FILE 123 /path/to/some/File.cpp
 # Go through all references and replace the file paths with repository
@@ -56,7 +66,6 @@ python symbol_file_preprocess() {
 socorro_sym_file.write(line)
 
 return
-}
 
 
 def socorro_file_reference(line):
@@ -162,3 +171,42 @@ def git_repository_path(source_file_path):
 
 return socorro_reference
 
+
+def arrange_socorro_sym_file(socorro_sym_file_path, socorro_syms_dir):
+
+import re
+
+# Breakpad's minidump_stackwalk needs a certain directory structure in 
order
+# to find correct symbols when extracting a stack trace out of a minidump.
+# The directory structure must look like the following.
+# YourBinary/hash/YourBinary.sym
+# YourLibrary.so/hash/YourLibrary.so.sym
+# To be able to create such structure we need to extract the hash value 
that
+# is found in each symbol file. The header of the symbol file looks
+# something like this:
+# MODULE Linux x86 A079E473106CE51C74C1C25AF536CCD30 YourBinary
+# See
+# http://code.google.com/p/google-breakpad/wiki/LinuxStarterGuide
+
+# Create the directory with the same name as the binary.
+binary_dir = re.sub(\.sym$, , socorro_sym_file_path)
+if not os.path.exists(binary_dir):
+os.makedirs(binary_dir)
+
+# Get the hash from the header of the symbol file.
+with open(socorro_sym_file_path, 'r') as socorro_sym_file:
+
+# The hash is the 4th argument of the first line.
+sym_file_hash = socorro_sym_file.readline().split()[3]
+
+# Create the hash directory.
+hash_dir = os.path.join(binary_dir, sym_file_hash)
+if not os.path.exists(hash_dir):
+os.makedirs(hash_dir)
+
+# Move the symbol file to the hash directory.
+sym_file_name = os.path.basename(socorro_sym_file_path)
+os.rename(socorro_sym_file_path, os.path.join(hash_dir, sym_file_name))
+
+return
+
-- 
1.9.1

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


[oe] [PATCH V4] soci: Add recipe

2015-03-12 Thread Khem Raj
Define PACKAGECONFIG to enable a given backend of choice
by default its 'empty'

Change-Id: Ie1123af658ca94d2fe22a3ca1a32dfb47d58979e
Signed-off-by: Khem Raj raj.k...@gmail.com
---
 .../recipes-support/soci/soci/soci_libdir.patch| 28 +
 meta-oe/recipes-support/soci/soci_3.2.2.bb | 48 ++
 2 files changed, 76 insertions(+)
 create mode 100644 meta-oe/recipes-support/soci/soci/soci_libdir.patch
 create mode 100644 meta-oe/recipes-support/soci/soci_3.2.2.bb

diff --git a/meta-oe/recipes-support/soci/soci/soci_libdir.patch 
b/meta-oe/recipes-support/soci/soci/soci_libdir.patch
new file mode 100644
index 000..00a1a5c
--- /dev/null
+++ b/meta-oe/recipes-support/soci/soci/soci_libdir.patch
@@ -0,0 +1,28 @@
+Define SOCI_LIBDIR only if its not passed via environemnt. In OE we
+want to set it per our choice since we use 'lib' for 64bit unless we
+are using multilib
+
+-Khem
+
+Index: soci-3.2.2/CMakeLists.txt
+===
+--- soci-3.2.2.orig/CMakeLists.txt
 soci-3.2.2/CMakeLists.txt
+@@ -69,11 +69,12 @@ include(SociDependencies)
+ 
###
+ # Installation
+ 
###
+-
+-if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4)
+-  set(SOCI_LIBDIR lib)
+-else()
+-  set(SOCI_LIBDIR lib64)
++if(NOT DEFINED SOCI_LIBDIR)
++  if(APPLE OR CMAKE_SIZEOF_VOID_P EQUAL 4)
++set(SOCI_LIBDIR lib)
++  else()
++set(SOCI_LIBDIR lib)
++  endif()
+ endif()
+ 
+ set(BINDIR bin CACHE PATH The directory to install binaries into.)
diff --git a/meta-oe/recipes-support/soci/soci_3.2.2.bb 
b/meta-oe/recipes-support/soci/soci_3.2.2.bb
new file mode 100644
index 000..887f5a2
--- /dev/null
+++ b/meta-oe/recipes-support/soci/soci_3.2.2.bb
@@ -0,0 +1,48 @@
+# Copyright (C) 2015 Khem Raj raj.k...@gmail.com
+# Released under the MIT license (see COPYING.MIT for the terms)
+
+DESCRIPTION = The C++ Database Access Library
+HOMEPAGE = http://soci.sourceforge.net;
+LICENSE = BSL-1.0
+LIC_FILES_CHKSUM = 
file://LICENSE_1_0.txt;md5=e4224ccaecb14d942c71d31bef20d78c
+SECTION = libs
+DEPENDS = boost
+
+
+SRC_URI = ${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}/${P}/${P}.tar.gz \
+   file://soci_libdir.patch \
+  
+SRC_URI[md5sum] = bc3c35f6cd3f80a1be19fe30b3c111bf
+SRC_URI[sha256sum] = 
30ea2f4d26639ef5b5cdc24fb300b3896746243dbb77b743582de2ff443ccb1c
+
+TESTCONFIG = '-DSOCI_TEST_EMPTY_CONNSTR=dummy 
-DSOCI_TEST_SQLITE3_CONNSTR=test.db \
+  -DSOCI_TEST_POSTGRESQL_CONNSTR:STRING=dbname=soci_test \
+  -DSOCI_TEST_MYSQL_CONNSTR:STRING=db=soci_test user=oe 
password=oe'
+
+OBASEDIR ?= /opt/oracle
+OINCDIR = rdbms/public
+OLIBDIR = lib
+
+PACKAGECONFIG[sqlite3] = -DSOCI_SQLITE3=ON,-DSOCI_SQLITE3=OFF,sqlite3,
+PACKAGECONFIG[mysql] = -DSOCI_MYSQL=ON,-DSOCI_MYSQL=OFF,mariadb,
+PACKAGECONFIG[postgresql] = 
-DSOCI_POSTGRESQL=ON,-DSOCI_POSTGRESQL=OFF,postgresql,
+PACKAGECONFIG[odbc] = -DSOCI_ODBC=ON,-DSOCI_ODBC=OFF,,
+PACKAGECONFIG[empty] = -DSOCI_EMPTY=ON,-DSOCI_EMPTY=OFF,,
+PACKAGECONFIG[oracle] = -DWITH_ORACLE=ON --with-oracle-include=${OINCDIR} 
--with-oracle-lib=${OLIBDIR},-DWITH_ORACLE=OFF,,
+PACKAGECONFIG[ptest] = ${TESTCONFIG},,,
+
+# enable your backend by default we enable 'empty'
+PACKAGECONFIG ??= empty
+
+# Take the flags added by PACKAGECONFIG and pass them to cmake.
+EXTRA_OECMAKE = ${EXTRA_OECONF} -DSOCI_LIBDIR=${libdir}
+
+inherit cmake
+
+PACKAGES += ${PN}-sqlite3 ${PN}-mysql ${PN}-postgresql ${PN}-odbc 
${PN}-oracle
+
+FILES_${PN}-sqlite3 = ${libdir}/lib${BPN}_sqlite3.so.*
+FILES_${PN}-mysql = ${libdir}/lib${BPN}_mysql.so.*
+FILES_${PN}-postgresql = ${libdir}/lib${BPN}_postgresql.so.*
+FILES_${PN}-odbc = ${libdir}/lib${BPN}_odbc.so.*
+FILES_${PN}-oracle = ${libdir}/lib${BPN}_oracle.so.*
-- 
2.1.4

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


[oe] [meta-qt5][PATCH] qt5: add QT_GIT to define git repo for Qt core components

2015-03-12 Thread Andre McCurdy
Replace four duplicate git URIs with a single definition.

Signed-off-by: Andre McCurdy armccu...@gmail.com
---
 recipes-qt/qt5/nativesdk-qtbase_git.bb | 2 +-
 recipes-qt/qt5/qt5-git.inc | 4 +++-
 recipes-qt/qt5/qtbase-native_git.bb| 2 +-
 recipes-qt/qt5/qtbase_git.bb   | 2 +-
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb 
b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index df80407..9832eee 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -5,7 +5,7 @@ require ${PN}.inc
 FILESEXTRAPATHS =. ${FILE_DIRNAME}/${BPN}-git:
 
 SRC_URI = \
-git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
+${QT_GIT}/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 
 
 # common for qtbase-native, qtbase-nativesdk and qtbase
diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
index 84ddf49..a2d96a2 100644
--- a/recipes-qt/qt5/qt5-git.inc
+++ b/recipes-qt/qt5/qt5-git.inc
@@ -1,11 +1,13 @@
 # Copyright (C) 2012 O.S. Systems Software LTDA.
 # Copyright (C) 2013-2014 Martin Jansa martin.ja...@gmail.com
 
+QT_GIT ?= git://code.qt.io
+
 QT_MODULE_BRANCH ?= 5.4
 
 # each module needs to define valid SRCREV
 SRC_URI +=  \
-git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
+${QT_GIT}/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 
 
 S = ${WORKDIR}/git
diff --git a/recipes-qt/qt5/qtbase-native_git.bb 
b/recipes-qt/qt5/qtbase-native_git.bb
index 5a308d4..e558ee6 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -2,7 +2,7 @@ require qt5-git.inc
 require ${PN}.inc
 
 SRC_URI = \
-git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
+${QT_GIT}/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 
 
 # common for qtbase-native, qtbase-nativesdk and qtbase
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index 549c92a..1be31ea 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -2,7 +2,7 @@ require qt5-git.inc
 require ${PN}.inc
 
 SRC_URI = \
-git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
+${QT_GIT}/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 
 
 # common for qtbase-native, qtbase-nativesdk and qtbase
-- 
1.9.1

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


[oe] clang cross compiler for OE available in meta-clang

2015-03-12 Thread Khem Raj
Hi All,

Finally, clang/llvm is now in a working state as a cross compiler in meta-clang 
layer

https://github.com/kraj/meta-clang

Currently, It will build clang and stage it along with gcc cross compilers, 
default remains
as it is. If you wish to compile an additional recipe using clang you will add 
following two entries per recipe


TOOLCHAIN_pn-recipe = clang
DEPENDS_append_pn-recipe =  clang-cross 

to conf/clang.conf 

and it will start using clang for that component. Right now it only has one 
entry for ‘lzo’ :)
I am hoping to have this list grow soon

Right now, its only the cross compiler, which means compiler runtime is still 
same from gcc
and binutils are used in same way

Eventually, I will add compiler-rt and libc++ as well and also add 
cross-canadian builds of clang and make it cohabit in SDK
along with gcc.

If you would like to help trying/porting recipes to use clang/llvm or improve 
the layer, please lend your hand

Thanks for your time

-Khem

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


[oe] [PATCH] add libgcrypt-native to avoid host corruption

2015-03-12 Thread Ronan
Signed-off-by: Ronan ronan.lemart...@gmail.com
---
 meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb 
b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
index e3c833b..5c4c6b1 100644
--- a/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
+++ b/meta-oe/recipes-support/libmicrohttpd/libmicrohttpd_0.9.34.bb
@@ -3,7 +3,10 @@ HOMEPAGE = http://www.gnu.org/software/libmicrohttpd/;
 LICENSE = LGPL-2.1+
 LIC_FILES_CHKSUM = file://COPYING;md5=9331186f4f80db7da0e724bdd6554ee5
 SECTION = net
-DEPENDS = libgcrypt gnutls file
+DEPENDS = gnutls file
+
+#libmicrohttpd uses the tool libgcrypt-config, so we need libgcrypt-native
+DEPENDS_append =  libgcrypt libgcrypt-native
 
 SRC_URI = http://ftp.gnu.org/gnu/libmicrohttpd/${BPN}-${PV}.tar.gz;
 SRC_URI[md5sum] = 2947eee13c2c8affb95023a0cb6fda0c
-- 
1.9.1

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


Re: [oe] [meta-qt5][PATCH v2] qt5-git, *qtbase*, qt5everywheredemo: Fetch from code.qt.io

2015-03-12 Thread Frederico Cadete
Thanks, and sorry about that. I realize now (i.e. too late) that my
yocto setup is not building qt5everywheredemo.

On Thu, Mar 12, 2015 at 12:48 PM, Martin Jansa martin.ja...@gmail.com wrote:
 On Tue, Mar 10, 2015 at 09:37:46PM +0100, Frederico Cadete wrote:
 From: Frederico Cadete frederico.cad...@awtce.be

 Gitorious disabled the git:// protocol, breaking fetches.
 Also, this service is scheduled to stop in May 2015, so move to
 code.qt.io.

 Signed-off-by: Frederico Cadete freder...@cadete.eu
 ---
  recipes-qt/examples/qt5everywheredemo_1.0.bb | 2 +-
  recipes-qt/qt5/nativesdk-qtbase_git.bb   | 2 +-
  recipes-qt/qt5/qt5-git.inc   | 2 +-
  recipes-qt/qt5/qtbase-native_git.bb  | 2 +-
  recipes-qt/qt5/qtbase_git.bb | 2 +-
  5 files changed, 5 insertions(+), 5 deletions(-)

 diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb 
 b/recipes-qt/examples/qt5everywheredemo_1.0.bb
 index 4f7022c..60edaa4 100644
 --- a/recipes-qt/examples/qt5everywheredemo_1.0.bb
 +++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb
 @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
 file://main.cpp;md5=1187cb795a0f96bce64e63dd1a67dc2b
  DEPENDS = qtdeclarative qtgraphicaleffects

  SRCREV = 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d
 -SRC_URI = git://gitorious.org/qt-labs/qt5-everywhere-demo.git
 +SRC_URI = git://code.qt.io/qt-labs/qt5-everywhere-demo.git

 This one doesn't work:
 WARNING: Failed to fetch URL 
 git://code.qt.io/qt-labs/qt5-everywhere-demo.git, attempting MIRRORS if 
 available
 ERROR: Fetcher failure: Unable to find revision 
 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d in branch master even from upstream
 ERROR: Function failed: Fetcher failure for URL: 
 'git://code.qt.io/qt-labs/qt5-everywhere-demo.git'. Unable to fetch URL from 
 any source.
 ERROR: Logfile of failure stored in: 
 /home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/qt5everywheredemo/1.0-r0/temp/log.do_fetch.12973
 NOTE: recipe qt5everywheredemo-1.0-r0: task do_fetch: Failed
 ERROR: Task 6740 
 (/home/jenkins/oe/world/shr-core/meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb,
  do_fetch) failed with exit code '1'

 SRCREV 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d doesn't exist on code.qt.io

 It was initial commit in gitorious repo:
 commit 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d
 Author: Sergio Ahumada sergio.ahum...@digia.com
 Date:   Wed Jul 3 12:09:40 2013 +0200

 Initial commit

 This is exactly matching with this commit in code.qt.io:
 commit c17fe9e0ec0882ac4c4dc1168095f569acab5d09
 Author: Kimmo Ollila kimmo.oll...@digia.com
 Date:   Wed Jun 19 13:02:05 2013 +0300

 Fixed radio crash on application close

 Change-Id: Iaae40f9112e70ac9ac09b7127128560470e5ca91
 Reviewed-by: Lasse Räihä lasse.ra...@digia.com

 So I'll update SRCREV in this recipe, you don't need to resend.

  S = ${WORKDIR}/git/QtDemo

 diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb 
 b/recipes-qt/qt5/nativesdk-qtbase_git.bb
 index 9194a83..df80407 100644
 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
 +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
 @@ -5,7 +5,7 @@ require ${PN}.inc
  FILESEXTRAPATHS =. ${FILE_DIRNAME}/${BPN}-git:

  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  

  # common for qtbase-native, qtbase-nativesdk and qtbase
 diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
 index da962b8..84ddf49 100644
 --- a/recipes-qt/qt5/qt5-git.inc
 +++ b/recipes-qt/qt5/qt5-git.inc
 @@ -5,7 +5,7 @@ QT_MODULE_BRANCH ?= 5.4

  # each module needs to define valid SRCREV
  SRC_URI +=  \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  

  S = ${WORKDIR}/git
 diff --git a/recipes-qt/qt5/qtbase-native_git.bb 
 b/recipes-qt/qt5/qtbase-native_git.bb
 index cebc021..5a308d4 100644
 --- a/recipes-qt/qt5/qtbase-native_git.bb
 +++ b/recipes-qt/qt5/qtbase-native_git.bb
 @@ -2,7 +2,7 @@ require qt5-git.inc
  require ${PN}.inc

  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  

  # common for qtbase-native, qtbase-nativesdk and qtbase
 diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
 index d33eb68..549c92a 100644
 --- a/recipes-qt/qt5/qtbase_git.bb
 +++ b/recipes-qt/qt5/qtbase_git.bb
 @@ -2,7 +2,7 @@ require qt5-git.inc
  require ${PN}.inc

  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  

  # common for qtbase-native, qtbase-nativesdk and qtbase
 --
 2.1.4


 --
 Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
-- 
___
Openembedded-devel mailing list

Re: [oe] [meta-qt5][PATCH v2] qt5-git, *qtbase*, qt5everywheredemo: Fetch from code.qt.io

2015-03-12 Thread Martin Jansa
On Tue, Mar 10, 2015 at 09:37:46PM +0100, Frederico Cadete wrote:
 From: Frederico Cadete frederico.cad...@awtce.be
 
 Gitorious disabled the git:// protocol, breaking fetches.
 Also, this service is scheduled to stop in May 2015, so move to
 code.qt.io.
 
 Signed-off-by: Frederico Cadete freder...@cadete.eu
 ---
  recipes-qt/examples/qt5everywheredemo_1.0.bb | 2 +-
  recipes-qt/qt5/nativesdk-qtbase_git.bb   | 2 +-
  recipes-qt/qt5/qt5-git.inc   | 2 +-
  recipes-qt/qt5/qtbase-native_git.bb  | 2 +-
  recipes-qt/qt5/qtbase_git.bb | 2 +-
  5 files changed, 5 insertions(+), 5 deletions(-)
 
 diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb 
 b/recipes-qt/examples/qt5everywheredemo_1.0.bb
 index 4f7022c..60edaa4 100644
 --- a/recipes-qt/examples/qt5everywheredemo_1.0.bb
 +++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb
 @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = 
 file://main.cpp;md5=1187cb795a0f96bce64e63dd1a67dc2b
  DEPENDS = qtdeclarative qtgraphicaleffects
  
  SRCREV = 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d
 -SRC_URI = git://gitorious.org/qt-labs/qt5-everywhere-demo.git
 +SRC_URI = git://code.qt.io/qt-labs/qt5-everywhere-demo.git

This one doesn't work:
WARNING: Failed to fetch URL git://code.qt.io/qt-labs/qt5-everywhere-demo.git, 
attempting MIRRORS if available
ERROR: Fetcher failure: Unable to find revision 
9a868f96ee63c21ceda890d8dfc9d33f093d1b6d in branch master even from upstream
ERROR: Function failed: Fetcher failure for URL: 
'git://code.qt.io/qt-labs/qt5-everywhere-demo.git'. Unable to fetch URL from 
any source.
ERROR: Logfile of failure stored in: 
/home/jenkins/oe/world/shr-core/tmp-glibc/work/armv5e-oe-linux-gnueabi/qt5everywheredemo/1.0-r0/temp/log.do_fetch.12973
NOTE: recipe qt5everywheredemo-1.0-r0: task do_fetch: Failed
ERROR: Task 6740 
(/home/jenkins/oe/world/shr-core/meta-qt5/recipes-qt/examples/qt5everywheredemo_1.0.bb,
 do_fetch) failed with exit code '1'

SRCREV 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d doesn't exist on code.qt.io

It was initial commit in gitorious repo:
commit 9a868f96ee63c21ceda890d8dfc9d33f093d1b6d
Author: Sergio Ahumada sergio.ahum...@digia.com
Date:   Wed Jul 3 12:09:40 2013 +0200

Initial commit

This is exactly matching with this commit in code.qt.io:
commit c17fe9e0ec0882ac4c4dc1168095f569acab5d09
Author: Kimmo Ollila kimmo.oll...@digia.com
Date:   Wed Jun 19 13:02:05 2013 +0300

Fixed radio crash on application close

Change-Id: Iaae40f9112e70ac9ac09b7127128560470e5ca91
Reviewed-by: Lasse Räihä lasse.ra...@digia.com

So I'll update SRCREV in this recipe, you don't need to resend.

  S = ${WORKDIR}/git/QtDemo
  
 diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb 
 b/recipes-qt/qt5/nativesdk-qtbase_git.bb
 index 9194a83..df80407 100644
 --- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
 +++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
 @@ -5,7 +5,7 @@ require ${PN}.inc
  FILESEXTRAPATHS =. ${FILE_DIRNAME}/${BPN}-git:
  
  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  
  
  # common for qtbase-native, qtbase-nativesdk and qtbase
 diff --git a/recipes-qt/qt5/qt5-git.inc b/recipes-qt/qt5/qt5-git.inc
 index da962b8..84ddf49 100644
 --- a/recipes-qt/qt5/qt5-git.inc
 +++ b/recipes-qt/qt5/qt5-git.inc
 @@ -5,7 +5,7 @@ QT_MODULE_BRANCH ?= 5.4
  
  # each module needs to define valid SRCREV
  SRC_URI +=  \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  
  
  S = ${WORKDIR}/git
 diff --git a/recipes-qt/qt5/qtbase-native_git.bb 
 b/recipes-qt/qt5/qtbase-native_git.bb
 index cebc021..5a308d4 100644
 --- a/recipes-qt/qt5/qtbase-native_git.bb
 +++ b/recipes-qt/qt5/qtbase-native_git.bb
 @@ -2,7 +2,7 @@ require qt5-git.inc
  require ${PN}.inc
  
  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  
  
  # common for qtbase-native, qtbase-nativesdk and qtbase
 diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
 index d33eb68..549c92a 100644
 --- a/recipes-qt/qt5/qtbase_git.bb
 +++ b/recipes-qt/qt5/qtbase_git.bb
 @@ -2,7 +2,7 @@ require qt5-git.inc
  require ${PN}.inc
  
  SRC_URI = \
 -git://qt.gitorious.org/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
 +git://code.qt.io/qt/${QT_MODULE}.git;branch=${QT_MODULE_BRANCH} \
  
  
  # common for qtbase-native, qtbase-nativesdk and qtbase
 -- 
 2.1.4
 

-- 
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] can-utils: Change protocol from git to https

2015-03-12 Thread Nobuhiro Iwamatsu
gitorious.org that is hosting can-utils has stopped providing git protocol.
That https is provided instead. This will change protocol to get can-utils
of source code from git to https.

Signed-off-by: Nobuhiro Iwamatsu nobuhiro.iwamatsu...@renesas.com
---
 .../recipes-extended/socketcan/can-utils_git.bb|2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-oe/recipes-extended/socketcan/can-utils_git.bb 
b/meta-oe/recipes-extended/socketcan/can-utils_git.bb
index d8de9df..1f7f751 100644
--- a/meta-oe/recipes-extended/socketcan/can-utils_git.bb
+++ b/meta-oe/recipes-extended/socketcan/can-utils_git.bb
@@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = 
file://include/linux/can.h;endline=43;md5=390a2c9a3c5e3595a0
 
 DEPENDS = libsocketcan
 
-SRC_URI = 
git://git.gitorious.org/linux-can/${BPN}.git;protocol=git;branch=master
+SRC_URI = 
git://git.gitorious.org/linux-can/${BPN}.git;protocol=https;branch=master
 SRCREV = 67a2bdcd336e6becfa5784742e18c88dbeddc973
 
 PV = 0.0+gitr${SRCPV}
-- 
1.7.9.5

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


[oe] [meta-qt5][PATCH] qt5: fix current git version

2015-03-12 Thread Heikki Sarkanen
Bitbake doesn't detect lower git version:
NOTE: preferred version 5.4.0+git% of qtbase-native not available (for item 
qtbase-native)
NOTE: versions of qtbase-native available: 5.4.1 5.4.1+gitAUTOINC+a782369071

Signed-off-by: Heikki Sarkanen heikki.sarka...@tamtron.fi
---
 conf/distro/include/qt5-versions.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/conf/distro/include/qt5-versions.inc 
b/conf/distro/include/qt5-versions.inc
index c61bb6f..d367676 100644
--- a/conf/distro/include/qt5-versions.inc
+++ b/conf/distro/include/qt5-versions.inc
@@ -1,5 +1,5 @@
 # Select which version you prefer by defining QT5_VERSION and including this 
file
-# possible values now 5.4.1, 5.4.0+git%
+# possible values now 5.4.1, 5.4.1+git%
 
 QT5_VERSION ?= 5.4.1
 
-- 
1.9.1

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