Re: [oe] Disable GNU Hash check ?

2012-03-06 Thread Luca Bolognini


And what if I want to disable this check only for a specific executable/library 
inside a package (not a complete package)?

-Luca bologninil.bologn...@hotmail.it


> Date: Mon, 5 Mar 2012 17:54:22 -0500
> From: de...@denix.org
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] Disable GNU Hash check ?
> 
> On Mon, Mar 05, 2012 at 06:53:05PM +0100, Hauser, Wolfgang (external) wrote:
> > Hello,
> > 
> > I have to create a package containing static and dynamic libraries and
> > some files.
> > The libraries are delivered by a vendor and we have to use(install) them
> > as they are.
> > 
> > While bitbaking the QA procedure complains about missing GNU Hashes. 
> > 
> > Is there a possibility to disable this check for a single recipe ?
> > 
> > I am using bitbake 1.10.2 and an OE mainenance-2011.03 based tree.
> 
> INSANE_SKIP_${PN} = "True"
> 
> -- 
> Denys
> 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
  
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v2] udev: consolekit package requires x11

2012-03-06 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 05-03-12 23:35, Andreas Oberritter schreef:
> * consolekit fails to build without x11, so drop the runtime dependency
> on consolekit if x11 is unavailable.
> 
> Signed-off-by: Andreas Oberritter  --- v1->v2:
> Instead of removing the package, drop the runtime dependency on
> consolekit.

It's only missing a PR bump now :)

regards,

Koen


> 
> meta-oe/recipes-core/udev/udev_173.bb |2 +- 
> meta-oe/recipes-core/udev/udev_175.bb |2 +- 
> meta-oe/recipes-core/udev/udev_181.bb |2 +- 3 files changed, 3
> insertions(+), 3 deletions(-)
> 
> diff --git a/meta-oe/recipes-core/udev/udev_173.bb
> b/meta-oe/recipes-core/udev/udev_173.bb index e4e634a..a111f11 100644 ---
> a/meta-oe/recipes-core/udev/udev_173.bb +++
> b/meta-oe/recipes-core/udev/udev_173.bb @@ -81,7 +81,7 @@ FILES_${PN} +=
> "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"
> 
> FILES_${PN}-consolekit += "${libdir}/ConsoleKit" 
> -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit +=
> "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
> 
> do_install () { install -d ${D}${usrsbindir} \ diff --git
> a/meta-oe/recipes-core/udev/udev_175.bb
> b/meta-oe/recipes-core/udev/udev_175.bb index b6484d9..114dbe9 100644 ---
> a/meta-oe/recipes-core/udev/udev_175.bb +++
> b/meta-oe/recipes-core/udev/udev_175.bb @@ -77,7 +77,7 @@ FILES_${PN} +=
> "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"
> 
> FILES_${PN}-consolekit += "${libdir}/ConsoleKit" 
> -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit +=
> "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
> 
> do_install () { install -d ${D}${usrsbindir} \ diff --git
> a/meta-oe/recipes-core/udev/udev_181.bb
> b/meta-oe/recipes-core/udev/udev_181.bb index 1e0a02a..5e27706 100644 ---
> a/meta-oe/recipes-core/udev/udev_181.bb +++
> b/meta-oe/recipes-core/udev/udev_181.bb @@ -73,7 +73,7 @@ FILES_${PN} +=
> "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"
> 
> FILES_${PN}-consolekit += "${libdir}/ConsoleKit" 
> -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit +=
> "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
> 
> FILES_udev-utils = "${bindir}/udevadm"
> 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk9V0N8ACgkQMkyGM64RGpEd0gCcC49CpgTooJffNtAtfnDqUJhG
AzYAnA3AWyRgf+wGGXvHQeYIGlOjvHWM
=Zt3c
-END PGP SIGNATURE-


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


[oe] [meta-oe][PATCH v2 1/3] systemd: enable xz compression for journald

2012-03-06 Thread Koen Kooi
Signed-off-by: Koen Kooi 
---
 meta-oe/recipes-core/systemd/systemd_git.bb |5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb 
b/meta-oe/recipes-core/systemd/systemd_git.bb
index 62a326e..2b549a0 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd";
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "docbook-sgml-dtd-4.1-native intltool-native gperf-native acl 
readline udev dbus libcap libcgroup tcp-wrappers"
+DEPENDS = "xz docbook-sgml-dtd-4.1-native intltool-native gperf-native acl 
readline udev dbus libcap libcgroup tcp-wrappers"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
 SERIAL_CONSOLE ?= "115200 /dev/ttyS0"
@@ -14,7 +14,7 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r17"
+PR = "r18"
 
 inherit useradd pkgconfig autotools vala perlnative
 
@@ -44,6 +44,7 @@ EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
  --with-rootlibdir=${base_libdir} \
  ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', 
'--disable-pam', d)} \
  --disable-gtk \
+ --enable-xz \
"
 
 # There's no docbook-xsl-native, so for the xsltproc check to false
-- 
1.7.2.5


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


[oe] [meta-oe][PATCH v2 2/3] systemd: enable logging to disk instead of tmpfs

2012-03-06 Thread Koen Kooi
Signed-off-by: Koen Kooi 
---
 meta-oe/recipes-core/systemd/systemd_git.bb |5 -
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb 
b/meta-oe/recipes-core/systemd/systemd_git.bb
index 2b549a0..4a8e9a1 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -14,7 +14,7 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r18"
+PR = "r19"
 
 inherit useradd pkgconfig autotools vala perlnative
 
@@ -59,6 +59,9 @@ do_install() {
 
# provide support for initramfs
ln -s ${base_bindir}/systemd ${D}/init
+
+   # create dir for journal
+   install -d ${D}${localstatedir}/log/journal
 }
 
 python populate_packages_prepend (){
-- 
1.7.2.5


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


[oe] [meta-oe][PATCH v2 3/3] systemd: update to latest git

2012-03-06 Thread Koen Kooi
This is in preparation for the v44 release.

* drop 2 patches that aren't needed anymore
* fix more endianness problems
* fix journal crashes with large files

Signed-off-by: Koen Kooi 
---
 .../0001-docs-fix-build-without-xsltproc.patch |   41 
 .../0001-systemd-journald-fix-endianess-bug.patch  |   29 --
 meta-oe/recipes-core/systemd/systemd_git.bb|   15 +++
 3 files changed, 7 insertions(+), 78 deletions(-)
 delete mode 100644 
meta-oe/recipes-core/systemd/systemd/0001-docs-fix-build-without-xsltproc.patch
 delete mode 100644 
meta-oe/recipes-core/systemd/systemd/0001-systemd-journald-fix-endianess-bug.patch

diff --git 
a/meta-oe/recipes-core/systemd/systemd/0001-docs-fix-build-without-xsltproc.patch
 
b/meta-oe/recipes-core/systemd/systemd/0001-docs-fix-build-without-xsltproc.patch
deleted file mode 100644
index 390d65c..000
--- 
a/meta-oe/recipes-core/systemd/systemd/0001-docs-fix-build-without-xsltproc.patch
+++ /dev/null
@@ -1,41 +0,0 @@
-From 7395173a5af08e9e58aed33e831d0bfc6515891d Mon Sep 17 00:00:00 2001
-From: Koen Kooi 
-Date: Sun, 2 Oct 2011 19:54:29 +0200
-Subject: [PATCH 1/2] docs: fix build without xsltproc
-
-Make would choke on missing rules for man/systemd.1
-
-Signed-off-by: Koen Kooi 
-
-Upstream-status: rejected [fix your docbook install]
-

- Makefile.am |5 +
- 1 files changed, 5 insertions(+), 0 deletions(-)
-
-diff --git a/Makefile.am b/Makefile.am
-index f1f975f..53f99a1 100644
 a/Makefile.am
-+++ b/Makefile.am
-@@ -649,6 +649,7 @@ EXTRA_DIST += \
-   src/acl-util.h \
-   src/logs-show.h
- 
-+if HAVE_XSLTPROC
- MANPAGES = \
-   man/systemd.1 \
-   man/systemctl.1 \
-@@ -721,6 +722,10 @@ EXTRA_DIST += \
-   $(XML_IN_FILES) \
-   ${nodist_man_MANS:=.in} \
-   ${XML_IN_FILES:.xml.in=.html.in}
-+else
-+MANPAGES =
-+MANPAGES_ALIAS =
-+endif
- 
- systemd_SOURCES = \
-   src/main.c
--- 
-1.7.2.5
-
diff --git 
a/meta-oe/recipes-core/systemd/systemd/0001-systemd-journald-fix-endianess-bug.patch
 
b/meta-oe/recipes-core/systemd/systemd/0001-systemd-journald-fix-endianess-bug.patch
deleted file mode 100644
index b41d5eb..000
--- 
a/meta-oe/recipes-core/systemd/systemd/0001-systemd-journald-fix-endianess-bug.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From d228134ff5af3bd0ef1087e9bee66583c1546553 Mon Sep 17 00:00:00 2001
-From: Dirk Eibach 
-Date: Wed, 29 Feb 2012 12:45:46 +0100
-Subject: [PATCH] systemd-journald: fix endianess bug
-
-Signed-off-by: Koen Kooi 

-
-Upstream-status: Submitted
-
- src/journal/journal-file.c |2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
-index 20ca3f6..275caea 100644
 a/src/journal/journal-file.c
-+++ b/src/journal/journal-file.c
-@@ -238,7 +238,7 @@ static int journal_file_allocate(JournalFile *f, uint64_t 
offset, uint64_t size)
- if (fstat(f->fd, &f->last_stat) < 0)
- return -errno;
- 
--f->header->arena_size = new_size - htole64(f->header->arena_offset);
-+f->header->arena_size = htole64(new_size - 
le64toh(f->header->arena_offset));
- 
- return 0;
- }
--- 
-1.7.7.4
-
diff --git a/meta-oe/recipes-core/systemd/systemd_git.bb 
b/meta-oe/recipes-core/systemd/systemd_git.bb
index 4a8e9a1..918b314 100644
--- a/meta-oe/recipes-core/systemd/systemd_git.bb
+++ b/meta-oe/recipes-core/systemd/systemd_git.bb
@@ -3,7 +3,7 @@ HOMEPAGE = "http://www.freedesktop.org/wiki/Software/systemd";
 LICENSE = "GPLv2+"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 
-DEPENDS = "xz docbook-sgml-dtd-4.1-native intltool-native gperf-native acl 
readline udev dbus libcap libcgroup tcp-wrappers"
+DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native 
acl readline udev dbus libcap libcgroup tcp-wrappers"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
 
 SERIAL_CONSOLE ?= "115200 /dev/ttyS0"
@@ -14,16 +14,14 @@ inherit gitpkgv
 PKGV = "v${GITPKGVTAG}"
 
 PV = "git"
-PR = "r19"
+PR = "r21"
 
 inherit useradd pkgconfig autotools vala perlnative
 
-SRCREV = "d26e4270409506cd398875216413b651d6ee7de6"
+SRCREV = "48496df65c3ad1e3ad055d2b4632da7b73211715"
 
 SRC_URI = "git://anongit.freedesktop.org/systemd/systemd;protocol=git \
-   file://0001-docs-fix-build-without-xsltproc.patch \
file://0002-systemd-logind-don-t-kill-user-processes-on-exit.patch \
-   file://0001-systemd-journald-fix-endianess-bug.patch \
${UCLIBCPATCHES} \
   "
 UCLIBCPATCHES = ""
@@ -45,6 +43,7 @@ EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
  ${@base_contains('DISTRO_FEATURES', 'pam', '--enable-pam', 
'--disable-pam', d)} \
  --disable-gtk \
  --enable-xz \
+ --disable-manpages \
"
 
 # There's no docbook-xsl-native, so for the xsltproc check to false
@@ -58,7 +57,7 @@ do_instal

Re: [oe] Disable GNU Hash check ?

2012-03-06 Thread Hauser, Wolfgang (external)

>> INSANE_SKIP_${PN} = "True"

>> -- 
>> Denys

Thanks for that hint, but it is 

INSANE_SKIP_${PN} = True
INSANE_SKIP_${PN}-dev = True
INSANE_SKIP_${PN}-dbg = True

That solves the problem.

Regards
Wolfgang

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


[oe] [PATCH 2/3] geos: add recipe

2012-03-06 Thread Jan Luebbe
Signed-off-by: Jan Luebbe 
---
 meta-oe/recipes-navigation/geos/geos.inc  |   15 +++
 meta-oe/recipes-navigation/geos/geos_3.3.2.bb |7 +++
 2 files changed, 22 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-navigation/geos/geos.inc
 create mode 100644 meta-oe/recipes-navigation/geos/geos_3.3.2.bb

diff --git a/meta-oe/recipes-navigation/geos/geos.inc 
b/meta-oe/recipes-navigation/geos/geos.inc
new file mode 100644
index 000..30ad554
--- /dev/null
+++ b/meta-oe/recipes-navigation/geos/geos.inc
@@ -0,0 +1,15 @@
+DESCRIPTION = "GEOS - Geometry Engine, Open Source"
+HOMEPAGE = "http://trac.osgeo.org/geos/";
+SECTION = "libs"
+
+INC_PR = "r0"
+
+LICENSE = "LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=7fbc338309ac38fefcd64b04bb903e34"
+
+SRC_URI = "http://download.osgeo.org/geos/geos-${PV}.tar.bz2";
+
+inherit autotools pkgconfig
+
+FILES_${PN} += " ${libdir}/libgeos-${PV}.so"
+
diff --git a/meta-oe/recipes-navigation/geos/geos_3.3.2.bb 
b/meta-oe/recipes-navigation/geos/geos_3.3.2.bb
new file mode 100644
index 000..e57ca6b
--- /dev/null
+++ b/meta-oe/recipes-navigation/geos/geos_3.3.2.bb
@@ -0,0 +1,7 @@
+require geos.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "5b7270c73fd1c516f368af8fd1962323"
+SRC_URI[sha256sum] = 
"ec64d3a92540a1618aa3b91dc1235caae1c370ec23afd59a2734062bf182ed5b"
+
-- 
1.7.9.1


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


[oe] [PATCH 1/3] proj: add recipe

2012-03-06 Thread Jan Luebbe
Signed-off-by: Jan Luebbe 
---
 meta-oe/recipes-navigation/proj/proj.inc  |   13 +
 meta-oe/recipes-navigation/proj/proj_4.7.0.bb |7 +++
 2 files changed, 20 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-navigation/proj/proj.inc
 create mode 100644 meta-oe/recipes-navigation/proj/proj_4.7.0.bb

diff --git a/meta-oe/recipes-navigation/proj/proj.inc 
b/meta-oe/recipes-navigation/proj/proj.inc
new file mode 100644
index 000..f6275d1
--- /dev/null
+++ b/meta-oe/recipes-navigation/proj/proj.inc
@@ -0,0 +1,13 @@
+DESCRIPTION = "PROJ.4 - Cartographic Projections Library"
+HOMEPAGE = "http://trac.osgeo.org/proj/";
+SECTION = "libs"
+
+INC_PR = "r0"
+
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=74d9aaec5fa0cd734341e8c4dc91b608"
+
+SRC_URI = "http://download.osgeo.org/proj/proj-${PV}.tar.gz";
+
+inherit autotools pkgconfig
+
diff --git a/meta-oe/recipes-navigation/proj/proj_4.7.0.bb 
b/meta-oe/recipes-navigation/proj/proj_4.7.0.bb
new file mode 100644
index 000..8e4f901
--- /dev/null
+++ b/meta-oe/recipes-navigation/proj/proj_4.7.0.bb
@@ -0,0 +1,7 @@
+require proj.inc
+
+PR = "${INC_PR}.0"
+
+SRC_URI[md5sum] = "927d34623b52e0209ba2bfcca18fe8cd"
+SRC_URI[sha256sum] = 
"fc5440002a496532bfaf423c28bdfaf9e26cc96c84ccefcdefde911efbd98986"
+
-- 
1.7.9.1


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


[oe] [PATCH 3/3] libspatialite: add recipe

2012-03-06 Thread Jan Luebbe
Signed-off-by: Jan Luebbe 
---
 .../libspatialite/libspatialite.inc|   16 ++
 .../fix-the-configure-script-and-freexl.patch  |  200 
 .../libspatialite/libspatialite_3.0.1.bb   |9 +
 3 files changed, 225 insertions(+), 0 deletions(-)
 create mode 100644 meta-oe/recipes-navigation/libspatialite/libspatialite.inc
 create mode 100644 
meta-oe/recipes-navigation/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch
 create mode 100644 
meta-oe/recipes-navigation/libspatialite/libspatialite_3.0.1.bb

diff --git a/meta-oe/recipes-navigation/libspatialite/libspatialite.inc 
b/meta-oe/recipes-navigation/libspatialite/libspatialite.inc
new file mode 100644
index 000..f51b3a5
--- /dev/null
+++ b/meta-oe/recipes-navigation/libspatialite/libspatialite.inc
@@ -0,0 +1,16 @@
+DESCRIPTION = "Library extending the SQLite core to support fully fledged 
Spatial SQL capabilities"
+HOMEPAGE = "https://www.gaia-gis.it/fossil/libspatialite/";
+SECTION = "libs"
+DEPENDS = "proj geos"
+
+INC_PR = "r0"
+
+LICENSE = "MPLv1.1 GPLv2+ LGPLv2.1+"
+LIC_FILES_CHKSUM = "file://COPYING;md5=0e92e1a36cc384b60f5b31dde0bdd39e"
+
+SRC_URI = 
"http://www.gaia-gis.it/gaia-sins/libspatialite-sources/libspatialite-${PV}.tar.gz";
+
+inherit autotools pkgconfig
+
+EXTRA_OECONF = "--enable-freexl=no"
+
diff --git 
a/meta-oe/recipes-navigation/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch
 
b/meta-oe/recipes-navigation/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch
new file mode 100644
index 000..0cd0c3f
--- /dev/null
+++ 
b/meta-oe/recipes-navigation/libspatialite/libspatialite/fix-the-configure-script-and-freexl.patch
@@ -0,0 +1,200 @@
+From upstream fossil repo, extracted via git, dropping configure.ac for 
amalgamation
+
+From: sandro 
+Date: Sat, 21 Jan 2012 16:53:28 +
+Subject: [PATCH] fixing the ./configure script: --enable-geocallbacks=no is
+ the new default and fixing some flaws for
+ --enable-freexl=no
+
+---
+ configure   |   20 ++--
+ configure.ac|   20 ++--
+ src/shapefiles/shapefiles.c |2 ++
+ 4 files changed, 32 insertions(+), 30 deletions(-)
+
+diff --git a/configure b/configure
+index e8cf620..917bfca 100755
+--- a/configure
 b/configure
+@@ -1410,7 +1410,7 @@ Optional Features:
+   optimize for fast installation [default=yes]
+   --disable-libtool-lock  avoid locking (might break parallel builds)
+   --enable-mathsqlenables SQL math functions [default=yes]
+-  --enable-geocallbacks   enables geometry callbacks [default=yes]
++  --enable-geocallbacks   enables geometry callbacks [default=no]
+   --enable-proj   enables PROJ.4 inclusion [default=yes]
+   --enable-geos   enables GEOS inclusion [default=yes]
+   --enable-geosadvanced   enables GEOS advanced features [default=yes]
+@@ -16980,7 +16980,7 @@ ac_config_files="$ac_config_files Makefile 
src/Makefile src/headers/Makefile src
+ if test "${enable_mathsql+set}" = set; then :
+   enableval=$enable_mathsql;
+ else
+-  mathsql=yes
++  enable_mathsql=yes
+ fi
+ 
+ if test x"$enable_mathsql" != "xno"; then
+@@ -16998,10 +16998,10 @@ fi
+ if test "${enable_geocallbacks+set}" = set; then :
+   enableval=$enable_geocallbacks;
+ else
+-  geocallbacks=yes
++  enable_geocallbacks=no
+ fi
+ 
+-if test x"$enable_geocallbacks" != "xno"; then
++if test x"$enable_geocallbacks" == "xyes"; then
+   OMIT_GEOCALLBACKS_FLAGS=
+   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 
sqlite3_rtree_geometry_callback in -lsqlite3" >&5
+ $as_echo_n "checking for sqlite3_rtree_geometry_callback in -lsqlite3... " 
>&6; }
+@@ -17063,7 +17063,7 @@ fi
+ if test "${enable_proj+set}" = set; then :
+   enableval=$enable_proj;
+ else
+-  proj=yes
++  enable_proj=yes
+ fi
+ 
+ if test x"$enable_proj" != "xno"; then
+@@ -17153,7 +17153,7 @@ fi
+ if test "${enable_geos+set}" = set; then :
+   enableval=$enable_geos;
+ else
+-  geos=yes
++  enable_geos=yes
+ fi
+ 
+ if test x"$enable_geos" != "xno"; then
+@@ -17237,7 +17237,7 @@ fi
+ if test "${enable_geosadvanced+set}" = set; then :
+   enableval=$enable_geosadvanced;
+ else
+-  geosadvanced=yes
++  enable_geosadvanced=yes
+ fi
+ 
+   if test x"$enable_geosadvanced" != "xno"; then
+@@ -17316,7 +17316,7 @@ fi
+ if test "${enable_iconv+set}" = set; then :
+   enableval=$enable_iconv;
+ else
+-  geos=yes
++  enable_iconv=yes
+ fi
+ 
+ if test x"$enable_iconv" != "xno"; then
+@@ -17579,7 +17579,7 @@ fi
+ if test "${enable_freexl+set}" = set; then :
+   enableval=$enable_freexl;
+ else
+-  proj=yes
++  enable_freexl=yes
+ fi
+ 
+ if test x"$enable_freexl" != "xno"; then
+@@ -17669,7 +17669,7 @@ fi
+ if test "${enable_epsg+set}" = set; then :
+   enableval=$enable_epsg;
+ else
+-  epsg=yes
++  enable_epsg=yes
+ fi
+ 
+ if test x"$enable_epsg" != "xno"; then
+diff --git a/configure.ac b/configure.ac
+index 216cc9f..69cb6c5 100644
+

Re: [oe] [meta-oe][PATCH v2 2/3] systemd: enable logging to disk instead of tmpfs

2012-03-06 Thread Otavio Salvador
On Tue, Mar 6, 2012 at 06:22, Koen Kooi  wrote:
> +       # create dir for journal
> +       install -d ${D}${localstatedir}/log/journal

I am not against it creating the path for storing the logs but the
default configuration ought to use a memory buffer IMO.

What people think?

--
Otavio Salvador                             O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br


-- 
Otavio Salvador                             O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

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


Re: [oe] [PATCH 1/3] proj: add recipe

2012-03-06 Thread Paul Menzel
Dear Jan,


thank you for your patch.

Am Dienstag, den 06.03.2012, 11:36 +0100 schrieb Jan Luebbe:

Could you please add the version number to the commit summary?

How did you test this package?

> Signed-off-by: Jan Luebbe 
> ---
>  meta-oe/recipes-navigation/proj/proj.inc  |   13 +
>  meta-oe/recipes-navigation/proj/proj_4.7.0.bb |7 +++

There seems to be 4.9 in OE-Classic? Is that not usable?

>  2 files changed, 20 insertions(+), 0 deletions(-)
>  create mode 100644 meta-oe/recipes-navigation/proj/proj.inc
>  create mode 100644 meta-oe/recipes-navigation/proj/proj_4.7.0.bb
> 
> diff --git a/meta-oe/recipes-navigation/proj/proj.inc 
> b/meta-oe/recipes-navigation/proj/proj.inc
> new file mode 100644
> index 000..f6275d1
> --- /dev/null
> +++ b/meta-oe/recipes-navigation/proj/proj.inc
> @@ -0,0 +1,13 @@
> +DESCRIPTION = "PROJ.4 - Cartographic Projections Library"
> +HOMEPAGE = "http://trac.osgeo.org/proj/";
> +SECTION = "libs"
> +
> +INC_PR = "r0"
> +
> +LICENSE = "MIT"
> +LIC_FILES_CHKSUM = "file://COPYING;md5=74d9aaec5fa0cd734341e8c4dc91b608"
> +
> +SRC_URI = "http://download.osgeo.org/proj/proj-${PV}.tar.gz";
> +
> +inherit autotools pkgconfig
> +

Please no new line at the end.

> diff --git a/meta-oe/recipes-navigation/proj/proj_4.7.0.bb 
> b/meta-oe/recipes-navigation/proj/proj_4.7.0.bb
> new file mode 100644
> index 000..8e4f901
> --- /dev/null
> +++ b/meta-oe/recipes-navigation/proj/proj_4.7.0.bb
> @@ -0,0 +1,7 @@
> +require proj.inc
> +
> +PR = "${INC_PR}.0"
> +
> +SRC_URI[md5sum] = "927d34623b52e0209ba2bfcca18fe8cd"
> +SRC_URI[sha256sum] = 
> "fc5440002a496532bfaf423c28bdfaf9e26cc96c84ccefcdefde911efbd98986"
> +

Please no new line at the end.

Also you do not need a INC file, because in OE-Core and meta-oe we try
to only have one version included.

Some of the comments also apply to your other patches.


Thanks,

Paul


signature.asc
Description: This is a digitally signed message part
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel


Re: [oe] [meta-oe][PATCH v2 2/3] systemd: enable logging to disk instead of tmpfs

2012-03-06 Thread Andreas Müller
On Tue, Mar 6, 2012 at 12:59 PM, Otavio Salvador
 wrote:
> On Tue, Mar 6, 2012 at 06:22, Koen Kooi  wrote:
>> +       # create dir for journal
>> +       install -d ${D}${localstatedir}/log/journal
>
> I am not against it creating the path for storing the logs but the
> default configuration ought to use a memory buffer IMO.
>
> What people think?
>
To make up mind: Which amount of memory do we expect per boot
approximately (uncompressed/compressed)?

Andreas

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


Re: [oe] [meta-oe][PATCH v2] udev: consolekit package requires x11

2012-03-06 Thread Andreas Oberritter
On 06.03.2012 09:54, Koen Kooi wrote:
> Op 05-03-12 23:35, Andreas Oberritter schreef:
>> * consolekit fails to build without x11, so drop the runtime dependency
>> on consolekit if x11 is unavailable.
> 
>> Signed-off-by: Andreas Oberritter  --- v1->v2:
>> Instead of removing the package, drop the runtime dependency on
>> consolekit.
> 
> It's only missing a PR bump now :)

I don't thinks so, because with x11 nothing changes and without x11 udev
couldn't be built before (this is what the patch addresses).

Albeit, I'm going to send a patch with bumped PRs.

Regards,
Andreas

> 
> regards,
> 
> Koen
> 
> 
> 
>> meta-oe/recipes-core/udev/udev_173.bb |2 +- 
>> meta-oe/recipes-core/udev/udev_175.bb |2 +- 
>> meta-oe/recipes-core/udev/udev_181.bb |2 +- 3 files changed, 3
>> insertions(+), 3 deletions(-)
> 
>> diff --git a/meta-oe/recipes-core/udev/udev_173.bb
>> b/meta-oe/recipes-core/udev/udev_173.bb index e4e634a..a111f11 100644 ---
>> a/meta-oe/recipes-core/udev/udev_173.bb +++
>> b/meta-oe/recipes-core/udev/udev_173.bb @@ -81,7 +81,7 @@ FILES_${PN} +=
>> "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"
> 
>> FILES_${PN}-consolekit += "${libdir}/ConsoleKit" 
>> -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit +=
>> "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
> 
>> do_install () { install -d ${D}${usrsbindir} \ diff --git
>> a/meta-oe/recipes-core/udev/udev_175.bb
>> b/meta-oe/recipes-core/udev/udev_175.bb index b6484d9..114dbe9 100644 ---
>> a/meta-oe/recipes-core/udev/udev_175.bb +++
>> b/meta-oe/recipes-core/udev/udev_175.bb @@ -77,7 +77,7 @@ FILES_${PN} +=
>> "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"
> 
>> FILES_${PN}-consolekit += "${libdir}/ConsoleKit" 
>> -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit +=
>> "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
> 
>> do_install () { install -d ${D}${usrsbindir} \ diff --git
>> a/meta-oe/recipes-core/udev/udev_181.bb
>> b/meta-oe/recipes-core/udev/udev_181.bb index 1e0a02a..5e27706 100644 ---
>> a/meta-oe/recipes-core/udev/udev_181.bb +++
>> b/meta-oe/recipes-core/udev/udev_181.bb @@ -73,7 +73,7 @@ FILES_${PN} +=
>> "/lib/udev*" FILES_${PN}-dbg += "/lib/udev/.debug"
> 
>> FILES_${PN}-consolekit += "${libdir}/ConsoleKit" 
>> -RDEPENDS_${PN}-consolekit += "consolekit" +RDEPENDS_${PN}-consolekit +=
>> "${@base_contains('DISTRO_FEATURES', 'x11', 'consolekit', '', d)}"
> 
>> FILES_udev-utils = "${bindir}/udevadm"
> 
> 
> 
> 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


[oe] [meta-oe][PATCH v3] udev: consolekit package requires x11

2012-03-06 Thread Andreas Oberritter
* consolekit fails to build without x11, so drop the
  runtime dependency on consolekit if x11 is unavailable.

Signed-off-by: Andreas Oberritter 
---
v1->v2: Instead of removing the package, drop the runtime
dependency on consolekit.
v2->v3: Bump PRs.

 meta-oe/recipes-core/udev/udev_173.bb |4 ++--
 meta-oe/recipes-core/udev/udev_175.bb |4 +++-
 meta-oe/recipes-core/udev/udev_181.bb |4 +++-
 3 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/meta-oe/recipes-core/udev/udev_173.bb 
b/meta-oe/recipes-core/udev/udev_173.bb
index e4e634a..5c5ce26 100644
--- a/meta-oe/recipes-core/udev/udev_173.bb
+++ b/meta-oe/recipes-core/udev/udev_173.bb
@@ -16,7 +16,7 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
 # Needed for udev-extras
 DEPENDS = "gperf-native usbutils acl glib-2.0"
 
-PR = "r2"
+PR = "r3"
 
 # version specific SRC_URI
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
@@ -81,7 +81,7 @@ FILES_${PN} += "/lib/udev*"
 FILES_${PN}-dbg += "/lib/udev/.debug"
  
 FILES_${PN}-consolekit += "${libdir}/ConsoleKit"
-RDEPENDS_${PN}-consolekit += "consolekit"
+RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 
'consolekit', '', d)}"
 
 do_install () {
install -d ${D}${usrsbindir} \
diff --git a/meta-oe/recipes-core/udev/udev_175.bb 
b/meta-oe/recipes-core/udev/udev_175.bb
index b6484d9..e14dde2 100644
--- a/meta-oe/recipes-core/udev/udev_175.bb
+++ b/meta-oe/recipes-core/udev/udev_175.bb
@@ -18,6 +18,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=751419260aa954499f7abaabaa882bbe \
 # Needed for udev-extras
 DEPENDS = "gperf-native usbutils acl glib-2.0"
 
+PR = "r1"
+
 # 6f410b81aa6d588b03ae795c9b76468591ef7efa -> 175 tag
 SRCREV = "6f410b81aa6d588b03ae795c9b76468591ef7efa"
 
@@ -77,7 +79,7 @@ FILES_${PN} += "/lib/udev*"
 FILES_${PN}-dbg += "/lib/udev/.debug"
  
 FILES_${PN}-consolekit += "${libdir}/ConsoleKit"
-RDEPENDS_${PN}-consolekit += "consolekit"
+RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 
'consolekit', '', d)}"
 
 do_install () {
install -d ${D}${usrsbindir} \
diff --git a/meta-oe/recipes-core/udev/udev_181.bb 
b/meta-oe/recipes-core/udev/udev_181.bb
index 1e0a02a..9ca91bf 100644
--- a/meta-oe/recipes-core/udev/udev_181.bb
+++ b/meta-oe/recipes-core/udev/udev_181.bb
@@ -19,6 +19,8 @@ LIC_FILES_CHKSUM = 
"file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
 # kmod: needed for libkmod
 DEPENDS = "gperf-native usbutils acl glib-2.0 util-linux kmod"
 
+PR = "r1"
+
 # version specific SRC_URI
 SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/hotplug/${P}.tar.gz \
file://gtk-doc.make"
@@ -73,7 +75,7 @@ FILES_${PN} += "/lib/udev*"
 FILES_${PN}-dbg += "/lib/udev/.debug"
 
 FILES_${PN}-consolekit += "${libdir}/ConsoleKit"
-RDEPENDS_${PN}-consolekit += "consolekit"
+RDEPENDS_${PN}-consolekit += "${@base_contains('DISTRO_FEATURES', 'x11', 
'consolekit', '', d)}"
 
 FILES_udev-utils = "${bindir}/udevadm"
 
-- 
1.7.5.4


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


Re: [oe] [meta-oe][PATCH] update iperf version

2012-03-06 Thread Baransi, Moosa
Hi Koen,

Are you sure you want me to delete the old version of iPerf (2.0.4)? because it 
may be still in use by somebody else.

Best Regards,
Moosa Baransi

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org 
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of Koen 
Kooi
Sent: Monday, March 05, 2012 6:36 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH] update iperf version

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Op 05-03-12 15:20, Baransi, Moosa schreef:
> Hi,
> 
> Please consider this patch which updates the iPerf to version 2.0.5

Can you please delete the old version and fix the commit message to adhere
to the commit guidelines?
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org

iEYEARECAAYFAk9U63YACgkQMkyGM64RGpG3awCbB+Lv08nlLB9Nn+KpuyTvAOik
ec8An2gXyjPL/381sh8roBHTBRzQ9sv/
=4yei
-END PGP SIGNATURE-


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

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


Re: [oe] [meta-oe][PATCH v2] udev: consolekit package requires x11

2012-03-06 Thread Otavio Salvador
On Tue, Mar 6, 2012 at 09:26, Andreas Oberritter  wrote:
> I don't thinks so, because with x11 nothing changes and without x11 udev
> couldn't be built before (this is what the patch addresses).
>
> Albeit, I'm going to send a patch with bumped PRs.

I think it is always safe to bump PR so it can trigger, if it is the
case,  a regression as soon as possible otherwise a subtle change chan
break stuff and being unnoticed for lng time.

-- 
Otavio Salvador                             O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

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


Re: [oe] [meta-oe][PATCH v2] udev: consolekit package requires x11

2012-03-06 Thread Andreas Oberritter
On 06.03.2012 14:01, Otavio Salvador wrote:
> On Tue, Mar 6, 2012 at 09:26, Andreas Oberritter  
> wrote:
>> I don't thinks so, because with x11 nothing changes and without x11 udev
>> couldn't be built before (this is what the patch addresses).
>>
>> Albeit, I'm going to send a patch with bumped PRs.
> 
> I think it is always safe to bump PR so it can trigger, if it is the
> case,  a regression as soon as possible otherwise a subtle change chan
> break stuff and being unnoticed for lng time.

Well, I don't share your opinion, but I guess it would save quite some
of my time submitting patches if I just blindly bumped every PR, no
matter whether the patch changes existing packages or not.

AFAIR, modified content of packages was the main criterion for PR bumps
in OE-classic.

Regards,
Andreas

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


Re: [oe] [meta-oe][PATCH v2] udev: consolekit package requires x11

2012-03-06 Thread Otavio Salvador
On Tue, Mar 6, 2012 at 10:20, Andreas Oberritter  wrote:
> AFAIR, modified content of packages was the main criterion for PR bumps
> in OE-classic.

And sometimes content can change in subtle ways and being unnoticed
for loong time.

-- 
Otavio Salvador                             O.S. Systems
E-mail: ota...@ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br

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


Re: [oe] [meta-oe][PATCH] gcc-4.6: Adjust to match gcc 4.6.3 from OE-Core

2012-03-06 Thread Khem Raj
On Tue, Mar 6, 2012 at 9:21 AM, Khem Raj  wrote:
> Update linaro patches
>
> Signed-off-by: Khem Raj 

Please apply after corresponding patch to OE-Core has been installed.

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


[oe] [PATCH][meta-oe 0/1] Postinst trigger improvements for images

2012-03-06 Thread Otavio Salvador
Please ONLY merge this after the equivalent changes are merged onto OE-Core.

The following changes since commit 13354c9e1993f6196c2c9f714a8c815f4fe27b54:

  networkmanager: cleanup (2012-03-06 10:01:14 +0100)

are available in the git repository at:
  git://github.com/OSSystems/meta-oe master
  https://github.com/OSSystems/meta-oe/tree/master

Otavio Salvador (1):
  systemd-compat-units: rename service to run postinst scripts

 .../recipes-core/systemd/systemd-compat-units.bb   |8 
 .../{opkg.service => run-postinsts.service}|6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-core/systemd/systemd-compat-units/{opkg.service => 
run-postinsts.service} (64%)

-- 
1.7.2.5


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


[oe] [PATCH][meta-oe 1/1] systemd-compat-units: rename service to run postinst scripts

2012-03-06 Thread Otavio Salvador
OE-Core uses run-postinsts script to trigger package configuration on
first boot so the service ought to be named the same, for consistency.

Signed-off-by: Otavio Salvador 
---
 .../recipes-core/systemd/systemd-compat-units.bb   |8 
 .../{opkg.service => run-postinsts.service}|6 +++---
 2 files changed, 7 insertions(+), 7 deletions(-)
 rename meta-oe/recipes-core/systemd/systemd-compat-units/{opkg.service => 
run-postinsts.service} (64%)

diff --git a/meta-oe/recipes-core/systemd/systemd-compat-units.bb 
b/meta-oe/recipes-core/systemd/systemd-compat-units.bb
index 9b60bbc..2cbce67 100644
--- a/meta-oe/recipes-core/systemd/systemd-compat-units.bb
+++ b/meta-oe/recipes-core/systemd/systemd-compat-units.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Units to make systemd work better with existing 
sysvinit scripts"
 LICENSE = "MIT"
 LIC_FILES_CHKSUM = 
"file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58"
 
-PR = "r14"
+PR = "r15"
 
 inherit allarch
 
@@ -12,9 +12,9 @@ SRC_URI = "file://*.service"
 do_install() {
install -d ${D}${base_libdir}/systemd/system/basic.target.wants
install -d ${D}${base_libdir}/systemd/system/sysinit.target.wants/
-   install -m 0644 ${WORKDIR}/opkg.service 
${D}${base_libdir}/systemd/system
-   ln -sf ../opkg.service 
${D}${base_libdir}/systemd/system/basic.target.wants/
-   ln -sf ../opkg.service 
${D}${base_libdir}/systemd/system/sysinit.target.wants/
+   install -m 0644 ${WORKDIR}/run-postinsts.service 
${D}${base_libdir}/systemd/system
+   ln -sf ../run-postinsts.service 
${D}${base_libdir}/systemd/system/basic.target.wants/
+   ln -sf ../run-postinsts.service 
${D}${base_libdir}/systemd/system/sysinit.target.wants/
 
install -m 0644 ${WORKDIR}/machineid.service 
${D}${base_libdir}/systemd/system
ln -sf ../machineid.service 
${D}${base_libdir}/systemd/system/sysinit.target.wants/
diff --git a/meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service 
b/meta-oe/recipes-core/systemd/systemd-compat-units/run-postinsts.service
similarity index 64%
rename from meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service
rename to 
meta-oe/recipes-core/systemd/systemd-compat-units/run-postinsts.service
index 36cedf2..879a251 100644
--- a/meta-oe/recipes-core/systemd/systemd-compat-units/opkg.service
+++ b/meta-oe/recipes-core/systemd/systemd-compat-units/run-postinsts.service
@@ -1,12 +1,12 @@
 [Unit]
-Description=Opkg first boot configure
+Description=Run pending postinsts
 DefaultDependencies=no
-ConditionPathExists=|/etc/rcS.d/S98configure
+ConditionPathExists=|/etc/rcS.d/S98run-postinsts
 After=remount-rootfs.service
 Before=sysinit.target
 
 [Service]
-ExecStart=/etc/rcS.d/S98configure
+ExecStart=/etc/rcS.d/S98run-postinsts
 RemainAfterExit=No
 Type=oneshot
 StandardOutput=syslog
-- 
1.7.2.5


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


Re: [oe] [meta-oe] zsh: Add initial recipe for version 4.3.17.

2012-03-06 Thread Piotr Tworek
On 03/06/2012 02:59 AM, Khem Raj wrote:
> On (05/03/12 21:53), Peter Tworek wrote:
>> Run tested on netbook pro.
>>
>> Signed-off-by: Peter Tworek 
>> ---
>>  meta-oe/recipes-extended/zsh/zsh_4.3.17.bb |   51 
>> 
>>  1 files changed, 51 insertions(+), 0 deletions(-)
>>  create mode 100644 meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>>
>> diff --git a/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb 
>> b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>> new file mode 100644
>> index 000..9192f20
>> --- /dev/null
>> +++ b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>> @@ -0,0 +1,51 @@
>> +DESCRIPTION = "UNIX Shell similar to the Korn shell"
>> +HOMEPAGE="http://www.zsh.org";
>> +SECTION = "base/shell"
>> +
>> +LICENSE = "ZSH"
>> +LIC_FILES_CHKSUM = "file://LICENCE;md5=ad234d4b46db63491c4a9789da4fb341"
>> +
>> +DEPENDS = "ncurses libcap libpcre gdbm groff-native"
>> +
>> +SRC_URI = "ftp://ftp.zsh.org/pub/${P}.tar.bz2";
>> +SRC_URI[md5sum] = "8258967060b2654f30001a011946ac6a"
>> +SRC_URI[sha256sum] = 
>> "054e0452afd9c742c9f1489465175e1d4d7db50d88b602d132551d850cf7a704"
>> +
>> +FILES_${PN}-dbg += "\
>> +${libdir}/${PN}/${PV}/${PN}/.debug/*.so \
>> +${libdir}/${PN}/${PV}/${PN}/db/.debug/*.so \
>> +${libdir}/${PN}/${PV}/${PN}/net/.debug/*.so \
>> +"
>> +
>> +inherit autotools
>> +
>> +EXTRA_OECONF = " \
>> +--bindir=${base_bindir} \
>> +--enable-etcdir=${sysconfdir} \
>> +--enable-fndir=${datadir}/${PN}/${PV}/functions \
>> +--enable-site-fndir=${datadir}/${PN}/site-functions \
>> +--enable-function-subdirs \
>> +--with-term-lib='ncursesw ncurses' \
>> +--with-tcsetpgrp \
>> +--enable-pcre \
>> +--enable-cap \
>> +--enable-multibyte \
>> +--enable-gdbm \
>> +--enable-dynamic \
>> +zsh_cv_shared_environ=yes \
>> +"
>> +
>> +do_configure () {
>> +oe_runconf
>> +}
>> +
> why do you need to run oe_runconf explicitly.

Because I want to avoid invoking autotools, I just need to run
configure. I wrote this recipe some time ago, but from what I remember
zsh comes with some preloaded m4 macros that cause problems when default
autootols do_configure() step is executed. The preloaded configure
scripts works fine, even when cross-compiling. IMO it's better to use it
than to patch the package.

/ptw


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


Re: [oe] Disable GNU Hash check ?

2012-03-06 Thread Denys Dmytriyenko
On Tue, Mar 06, 2012 at 11:08:18AM +0100, Hauser, Wolfgang (external) wrote:
> 
> >> INSANE_SKIP_${PN} = "True"
> 
> >> -- 
> >> Denys
> 
> Thanks for that hint, but it is 
> 
> INSANE_SKIP_${PN} = True
> INSANE_SKIP_${PN}-dev = True
> INSANE_SKIP_${PN}-dbg = True
> 
> That solves the problem.

"Adjust accordingly" always applies. :)

-- 
Denys

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


Re: [oe] Disable GNU Hash check ?

2012-03-06 Thread Denys Dmytriyenko
On Tue, Mar 06, 2012 at 09:49:55AM +0100, Luca Bolognini wrote:
> 
> 
> And what if I want to disable this check only for a specific 
> executable/library inside a package (not a complete package)?

Cannot do it on a per-file basis, only on a per-package. Split your package 
into sub-packages and then do INSANE_SKIP_${PN}-pkg = "True".

-- 
Denys


> -Luca bologninil.bologn...@hotmail.it
> 
> 
> > Date: Mon, 5 Mar 2012 17:54:22 -0500
> > From: de...@denix.org
> > To: openembedded-devel@lists.openembedded.org
> > Subject: Re: [oe] Disable GNU Hash check ?
> > 
> > On Mon, Mar 05, 2012 at 06:53:05PM +0100, Hauser, Wolfgang (external) wrote:
> > > Hello,
> > > 
> > > I have to create a package containing static and dynamic libraries and
> > > some files.
> > > The libraries are delivered by a vendor and we have to use(install) them
> > > as they are.
> > > 
> > > While bitbaking the QA procedure complains about missing GNU Hashes. 
> > > 
> > > Is there a possibility to disable this check for a single recipe ?
> > > 
> > > I am using bitbake 1.10.2 and an OE mainenance-2011.03 based tree.
> > 
> > INSANE_SKIP_${PN} = "True"
> > 
> > -- 
> > Denys
> > 
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
> 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


[oe] ca-certificates no longer available, upgrade needed

2012-03-06 Thread Norman Schleicher

Hello,
during build following error occours:

ERROR: Task 3064 
(/var/lib/jenkins/jobs/pandaboard-angstrom/workspace/setup-scripts/sources/meta-openembedded/meta-oe/recipes-support/ca-certificates/ca-certificates_20111211.bb,
 do_fetch) failed with exit code '1'

a patch is available:
http://lists.linuxtogo.org/pipermail/openembedded-devel/2012-February/038319.html

can someone fix please ?

Cheers Norman


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


Re: [oe] [meta-oe] zsh: Add initial recipe for version 4.3.17.

2012-03-06 Thread Khem Raj
On Tue, Mar 6, 2012 at 11:14 AM, Piotr Tworek  wrote:
> On 03/06/2012 02:59 AM, Khem Raj wrote:
>> On (05/03/12 21:53), Peter Tworek wrote:
>>> Run tested on netbook pro.
>>>
>>> Signed-off-by: Peter Tworek 
>>> ---
>>>  meta-oe/recipes-extended/zsh/zsh_4.3.17.bb |   51 
>>> 
>>>  1 files changed, 51 insertions(+), 0 deletions(-)
>>>  create mode 100644 meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>>>
>>> diff --git a/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb 
>>> b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>>> new file mode 100644
>>> index 000..9192f20
>>> --- /dev/null
>>> +++ b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
>>> @@ -0,0 +1,51 @@
>>> +DESCRIPTION = "UNIX Shell similar to the Korn shell"
>>> +HOMEPAGE="http://www.zsh.org";
>>> +SECTION = "base/shell"
>>> +
>>> +LICENSE = "ZSH"
>>> +LIC_FILES_CHKSUM = "file://LICENCE;md5=ad234d4b46db63491c4a9789da4fb341"
>>> +
>>> +DEPENDS = "ncurses libcap libpcre gdbm groff-native"
>>> +
>>> +SRC_URI = "ftp://ftp.zsh.org/pub/${P}.tar.bz2";
>>> +SRC_URI[md5sum] = "8258967060b2654f30001a011946ac6a"
>>> +SRC_URI[sha256sum] = 
>>> "054e0452afd9c742c9f1489465175e1d4d7db50d88b602d132551d850cf7a704"
>>> +
>>> +FILES_${PN}-dbg += "\
>>> +    ${libdir}/${PN}/${PV}/${PN}/.debug/*.so \
>>> +    ${libdir}/${PN}/${PV}/${PN}/db/.debug/*.so \
>>> +    ${libdir}/${PN}/${PV}/${PN}/net/.debug/*.so \
>>> +    "
>>> +
>>> +inherit autotools
>>> +
>>> +EXTRA_OECONF = " \
>>> +    --bindir=${base_bindir} \
>>> +    --enable-etcdir=${sysconfdir} \
>>> +    --enable-fndir=${datadir}/${PN}/${PV}/functions \
>>> +    --enable-site-fndir=${datadir}/${PN}/site-functions \
>>> +    --enable-function-subdirs \
>>> +    --with-term-lib='ncursesw ncurses' \
>>> +    --with-tcsetpgrp \
>>> +    --enable-pcre \
>>> +    --enable-cap \
>>> +    --enable-multibyte \
>>> +    --enable-gdbm \
>>> +    --enable-dynamic \
>>> +    zsh_cv_shared_environ=yes \
>>> +    "
>>> +
>>> +do_configure () {
>>> +    oe_runconf
>>> +}
>>> +
>> why do you need to run oe_runconf explicitly.
>
> Because I want to avoid invoking autotools, I just need to run
> configure. I wrote this recipe some time ago, but from what I remember
> zsh comes with some preloaded m4 macros that cause problems when default
> autootols do_configure() step is executed. The preloaded configure
> scripts works fine, even when cross-compiling. IMO it's better to use it
> than to patch the package.

generated .la files will not work which may not be so much of an issue
for zsh. Usually we autoreconf and thats to avoid compatibility issues

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


[oe] [meta-initramfs][PATCH] linux_kexecboot_3.2: upgrade from 3.2.8 to 3.2.9

2012-03-06 Thread Andrea Adami
* apply latest patchset
* bump PR
* catch up and sync with linux-yocto (wip)

Signed-off-by: Andrea Adami 
---
 .../recipes-kernel/linux/linux-kexecboot_3.2.bb|8 
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta-initramfs/recipes-kernel/linux/linux-kexecboot_3.2.bb 
b/meta-initramfs/recipes-kernel/linux/linux-kexecboot_3.2.bb
index 29b465e..5492183 100644
--- a/meta-initramfs/recipes-kernel/linux/linux-kexecboot_3.2.bb
+++ b/meta-initramfs/recipes-kernel/linux/linux-kexecboot_3.2.bb
@@ -1,13 +1,13 @@
 require linux-kexecboot.inc
 
-PR = "${INC_PR}.3"
+PR = "${INC_PR}.4"
 S = "${WORKDIR}/linux-${PV}"
 
 SRC_URI += 
"${KERNELORG_MIRROR}/linux/kernel/v3.x/linux-${PV}.tar.bz2;name=kernel \
-   
${KERNELORG_MIRROR}/linux/kernel/v3.x/patch-${PV}.8.bz2;apply=yes;name=stablepatch
 \
+   
${KERNELORG_MIRROR}/linux/kernel/v3.x/patch-${PV}.9.bz2;apply=yes;name=stablepatch
 \
"
 
 SRC_URI[kernel.md5sum] = "7ceb61f87c097fc17509844b71268935"
 SRC_URI[kernel.sha256sum] = 
"c881fc2b53cf0da7ca4538aa44623a7de043a41f76fd5d0f51a31f6ed699d463"
-SRC_URI[stablepatch.md5sum] = "202cb750babdda078d6cc2816ab353b1"
-SRC_URI[stablepatch.sha256sum] = 
"1853d2bd4222e554fb4c2c5d818b953be9e3c658636b58a0a5b3860d23312cda"
+SRC_URI[stablepatch.md5sum] = "4610f3e62a5446422d1e81a90ab3cd06"
+SRC_URI[stablepatch.sha256sum] = 
"7836685dee161a4ffaf887b8e2f8dd3cb7712e690d0942fefb1db09bb6ad3871"
-- 
1.7.3.4


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


[oe] [meta-handheld][PATCH 3/3] linux_(3.1|3.2|git): simplify and embed the linux-${PV}.inc

2012-03-06 Thread Andrea Adami
Signed-off-by: Andrea Adami 
---
 recipes-kernel/linux/linux-3.1.inc |   19 ---
 recipes-kernel/linux/linux-3.2.inc |   20 
 recipes-kernel/linux/linux-git.inc |   23 ---
 recipes-kernel/linux/linux_3.1.bb  |   22 --
 recipes-kernel/linux/linux_3.2.bb  |   23 ++-
 recipes-kernel/linux/linux_git.bb  |   26 +-
 6 files changed, 67 insertions(+), 66 deletions(-)
 delete mode 100644 recipes-kernel/linux/linux-3.1.inc
 delete mode 100644 recipes-kernel/linux/linux-3.2.inc
 delete mode 100644 recipes-kernel/linux/linux-git.inc

diff --git a/recipes-kernel/linux/linux-3.1.inc 
b/recipes-kernel/linux/linux-3.1.inc
deleted file mode 100644
index 34bf4a8..000
--- a/recipes-kernel/linux/linux-3.1.inc
+++ /dev/null
@@ -1,19 +0,0 @@
-SRC_URI += 
"${KERNELORG_MIRROR}/linux/kernel/v3.x/linux-${PV}.tar.bz2;name=kernel \
-   
${KERNELORG_MIRROR}/linux/kernel/v3.x/patch-${PV}.10.bz2;apply=yes;name=stablepatch
 \
-   file://defconfig \
-   file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2 \
-   "
-
-SRC_URI_append_collie = " \
- 
file://0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch \
- file://locomo_kbd_tweak-r2.patch \
- "
-
-SRC_URI_append_poodle = " \
- file://locomo_kbd_tweak-r2.patch \
- "
-
-SRC_URI[kernel.md5sum] = "8d43453f8159b2332ad410b19d86a931"
-SRC_URI[kernel.sha256sum] = 
"2573d2378c754b0c602b57586e9311e5b38c5d1e6c137f02873833633a4b9359"
-SRC_URI[stablepatch.md5sum] = "a8e1c25a93a685ec2a1c3a808715fe9d"
-SRC_URI[stablepatch.sha256sum] = 
"f25126052d1a083a415ddd313b40c7fcdb3742f40474cb4a826af7e43fee29d3"
diff --git a/recipes-kernel/linux/linux-3.2.inc 
b/recipes-kernel/linux/linux-3.2.inc
deleted file mode 100644
index 6cb7fad..000
--- a/recipes-kernel/linux/linux-3.2.inc
+++ /dev/null
@@ -1,20 +0,0 @@
-SRC_URI += 
"${KERNELORG_MIRROR}/linux/kernel/v3.x/linux-${PV}.tar.bz2;name=kernel \
-   
${KERNELORG_MIRROR}/linux/kernel/v3.x/patch-${PV}.9.bz2;apply=yes;name=stablepatch
 \
-   file://defconfig \
-   file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2 \
-   "
-
-SRC_URI_append_collie = " \
- 
file://0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch \
- file://locomo_kbd_tweak-r2.patch \
- file://collie_remove_irq_to_gpio.patch \
- "
-
-SRC_URI_append_poodle = " \
- file://locomo_kbd_tweak-r2.patch \
- "
-
-SRC_URI[kernel.md5sum] = "8d43453f8159b2332ad410b19d86a931"
-SRC_URI[kernel.sha256sum] = 
"2573d2378c754b0c602b57586e9311e5b38c5d1e6c137f02873833633a4b9359"
-SRC_URI[stablepatch.md5sum] = "4610f3e62a5446422d1e81a90ab3cd06"
-SRC_URI[stablepatch.sha256sum] = 
"7836685dee161a4ffaf887b8e2f8dd3cb7712e690d0942fefb1db09bb6ad3871"
diff --git a/recipes-kernel/linux/linux-git.inc 
b/recipes-kernel/linux/linux-git.inc
deleted file mode 100644
index 32a6d47..000
--- a/recipes-kernel/linux/linux-git.inc
+++ /dev/null
@@ -1,23 +0,0 @@
-KERNEL_RELEASE = "3.2.0-rc7"
-OLD_KERNEL_RELEASE = "3.1.99"
-PV = "${OLD_KERNEL_RELEASE}+${KERNEL_RELEASE}+gitr${SRCPV}"
-
-SRCREV = "371de6e4e0042adf4f9b54c414154f57414ddd37"
-
-CMDLINE_DEBUG = "debug"
-
-SRC_URI = 
"git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git;protocol=git;branch=master
 \
-   file://defconfig"
-S = "${WORKDIR}/git"
-
-do_configure_prepend() {
-#otherwise it gets extra '+' "2.6.37+"
-#because:
-#$ scripts/setlocalversion . => +
-#$ make kernelversion => 2.6.37
-#$ make kernelrelease => 2.6.37+
-  rm -rf ${S}/.git
-}
-
-# Mark archs/machines that this kernel supports
-DEFAULT_PREFERENCE = "-2"
diff --git a/recipes-kernel/linux/linux_3.1.bb 
b/recipes-kernel/linux/linux_3.1.bb
index c8e2a39..5e9a714 100644
--- a/recipes-kernel/linux/linux_3.1.bb
+++ b/recipes-kernel/linux/linux_3.1.bb
@@ -1,10 +1,23 @@
 require linux.inc
-require linux-${PV}.inc
 
 PR = "${INC_PR}.9"
-
 COMPATIBLE_MACHINE = "(akita|c7x0|collie|poodle|tosa|spitz|h1940)"
 
+SRC_URI += 
"${KERNELORG_MIRROR}/linux/kernel/v3.x/linux-${PV}.tar.bz2;name=kernel \
+   
${KERNELORG_MIRROR}/linux/kernel/v3.x/patch-${PV}.10.bz2;apply=yes;name=stablepatch
 \
+   file://defconfig \
+   file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2 \
+   "
+
+SRC_URI_append_collie = " \
+ 
file://0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch \
+ file://locomo_kbd_tweak-r2.patch \
+ "
+
+SRC_URI_append_poodle = " \
+ file://locomo_kbd_tweak-r2.patch \
+ "
+
 SRC_URI_append_h1940 = " \
 
file://0001-s3c24xx-DMA-don-t-use-autoreload-feature.patc

[oe] [meta-handheld][PATCH 1/3] linux-kexecboot_3.2: add more defconfigs for Zaurus family

2012-03-06 Thread Andrea Adami
* prepare for systemd
* note: more fixes for pxa and sha1100 coming with 3.3 and 3.4
* (especially for collie)

Signed-off-by: Andrea Adami 
---
 ...xx_sharpsl-retain-ops-structure-on-collie.patch |   34 +
 .../linux/linux-kexecboot-3.2/akita/defconfig  |  129 ++
 .../linux/linux-kexecboot-3.2/c7x0/defconfig   |  131 ++
 .../linux/linux-kexecboot-3.2/collie/defconfig |  142 
 .../collie_remove_irq_to_gpio.patch|   31 +
 .../linux-kexecboot-3.2/locomo_kbd_tweak-r2.patch  |   66 +
 .../linux/linux-kexecboot-3.2/poodle/defconfig |  134 ++
 .../linux/linux-kexecboot-3.2/spitz/defconfig  |7 +-
 .../linux/linux-kexecboot-3.2/tosa/defconfig   |  133 ++
 recipes-kernel/linux/linux-kexecboot_3.2.bbappend  |   18 ++-
 10 files changed, 814 insertions(+), 11 deletions(-)
 create mode 100644 
recipes-kernel/linux/linux-kexecboot-3.2/0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch
 create mode 100644 recipes-kernel/linux/linux-kexecboot-3.2/akita/defconfig
 create mode 100644 recipes-kernel/linux/linux-kexecboot-3.2/c7x0/defconfig
 create mode 100644 recipes-kernel/linux/linux-kexecboot-3.2/collie/defconfig
 create mode 100644 
recipes-kernel/linux/linux-kexecboot-3.2/collie_remove_irq_to_gpio.patch
 create mode 100644 
recipes-kernel/linux/linux-kexecboot-3.2/locomo_kbd_tweak-r2.patch
 create mode 100644 recipes-kernel/linux/linux-kexecboot-3.2/poodle/defconfig
 create mode 100644 recipes-kernel/linux/linux-kexecboot-3.2/tosa/defconfig

diff --git 
a/recipes-kernel/linux/linux-kexecboot-3.2/0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch
 
b/recipes-kernel/linux/linux-kexecboot-3.2/0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch
new file mode 100644
index 000..d86b47d
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-kexecboot-3.2/0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch
@@ -0,0 +1,34 @@
+From 31d99c4c9f14e571ca0e22c5862dd5b6a871e2dd Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov 
+Date: Fri, 5 Aug 2011 15:32:23 +0400
+Subject: [PATCH] pcmcia/pxa2xx_sharpsl: retain ops structure on collie
+
+The pxa2xx_sharpsl driver part is also used on collie, which (as
+a StrongARM board) has different expectations for PCMCIA drivers.
+So, on collie place sharpsl_pcmcia_ops in .data section rather than
+in __initdata.
+
+Signed-off-by: Dmitry Eremin-Solenikov 
+---
+ drivers/pcmcia/pxa2xx_sharpsl.c |4 
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/pcmcia/pxa2xx_sharpsl.c b/drivers/pcmcia/pxa2xx_sharpsl.c
+index 81af2b3..1b5b749 100644
+--- a/drivers/pcmcia/pxa2xx_sharpsl.c
 b/drivers/pcmcia/pxa2xx_sharpsl.c
+@@ -222,7 +222,11 @@ static void sharpsl_pcmcia_socket_suspend(struct 
soc_pcmcia_socket *skt)
+   sharpsl_pcmcia_init_reset(skt);
+ }
+ 
++#ifdef CONFIG_SA1100_COLLIE
++static struct pcmcia_low_level sharpsl_pcmcia_ops = {
++#else
+ static struct pcmcia_low_level sharpsl_pcmcia_ops __initdata = {
++#endif
+   .owner  = THIS_MODULE,
+   .hw_init= sharpsl_pcmcia_hw_init,
+   .hw_shutdown= sharpsl_pcmcia_hw_shutdown,
+-- 
+1.7.2.5
+
diff --git a/recipes-kernel/linux/linux-kexecboot-3.2/akita/defconfig 
b/recipes-kernel/linux/linux-kexecboot-3.2/akita/defconfig
new file mode 100644
index 000..6c579fa
--- /dev/null
+++ b/recipes-kernel/linux/linux-kexecboot-3.2/akita/defconfig
@@ -0,0 +1,129 @@
+CONFIG_EXPERIMENTAL=y
+# CONFIG_LOCALVERSION_AUTO is not set
+CONFIG_KERNEL_LZMA=y
+# CONFIG_SWAP is not set
+CONFIG_LOG_BUF_SHIFT=14
+CONFIG_BLK_DEV_INITRD=y
+CONFIG_INITRAMFS_SOURCE="initramfs.cpio.lzma"
+CONFIG_RD_LZMA=y
+CONFIG_INITRAMFS_COMPRESSION_LZMA=y
+# CONFIG_UID16 is not set
+# CONFIG_KALLSYMS is not set
+# CONFIG_PRINTK is not set
+# CONFIG_BUG is not set
+# CONFIG_ELF_CORE is not set
+# CONFIG_BASE_FULL is not set
+CONFIG_EMBEDDED=y
+# CONFIG_VM_EVENT_COUNTERS is not set
+# CONFIG_COMPAT_BRK is not set
+CONFIG_SLOB=y
+# CONFIG_LBDAF is not set
+# CONFIG_IOSCHED_CFQ is not set
+CONFIG_ARCH_PXA=y
+CONFIG_PXA_SHARPSL=y
+CONFIG_PXA_SHARPSL_DETECT_MACH_ID=y
+CONFIG_MACH_AKITA=y
+CONFIG_MACH_BORZOI=y
+CONFIG_PCCARD=y
+# CONFIG_PCMCIA_LOAD_CIS is not set
+CONFIG_PCMCIA_PXA2XX=y
+CONFIG_NO_HZ=y
+CONFIG_AEABI=y
+# CONFIG_OABI_COMPAT is not set
+CONFIG_ZBOOT_ROM_TEXT=0x0
+CONFIG_ZBOOT_ROM_BSS=0x0
+CONFIG_CMDLINE="console=tty1 console=ttyS0,115200n8 fbcon=rotate:1 loglevel=3"
+CONFIG_KEXEC=y
+CONFIG_DEVTMPFS=y
+CONFIG_DEVTMPFS_MOUNT=y
+CONFIG_MTD=y
+CONFIG_MTD_CMDLINE_PARTS=y
+CONFIG_MTD_CHAR=y
+CONFIG_MTD_BLOCK=y
+CONFIG_MTD_ROM=y
+CONFIG_MTD_COMPLEX_MAPPINGS=y
+CONFIG_MTD_PHYSMAP=y
+CONFIG_MTD_NAND=y
+CONFIG_MTD_NAND_VERIFY_WRITE=y
+CONFIG_MTD_NAND_SHARPSL=y
+CONFIG_MTD_UBI=y
+CONFIG_BLK_DEV_LOOP=y
+CONFIG_BLK_DEV_SD=y
+CONFIG_ATA=y
+# CONFIG_ATA_VERBOSE_ERROR is not set
+# CONFIG_SATA_PMP is not set
+CONFIG_PA

[oe] [meta-handheld][PATCH 2/3] linux_3.2: update from 3.2.8 to 3.2.9, add more defconfigs

2012-03-06 Thread Andrea Adami
* add remaining Zaurus defconfigs and normalize spitz
* apply latest patchset and match with yocto version
* bump PR

Signed-off-by: Andrea Adami 
---
 recipes-kernel/linux/linux-3.2.inc |   24 +-
 ...xx_sharpsl-retain-ops-structure-on-collie.patch |   34 ++
 recipes-kernel/linux/linux-3.2/akita/defconfig |  374 +++
 recipes-kernel/linux/linux-3.2/c7x0/defconfig  |  312 
 recipes-kernel/linux/linux-3.2/collie/defconfig|  319 +
 .../linux-3.2/collie_remove_irq_to_gpio.patch  |   31 ++
 .../linux/linux-3.2/locomo_kbd_tweak-r2.patch  |   66 
 recipes-kernel/linux/linux-3.2/poodle/defconfig|  314 
 recipes-kernel/linux/linux-3.2/spitz/defconfig |   12 +-
 recipes-kernel/linux/linux-3.2/tosa/defconfig  |  376 
 recipes-kernel/linux/linux_3.2.bb  |2 +-
 11 files changed, 1843 insertions(+), 21 deletions(-)
 create mode 100644 
recipes-kernel/linux/linux-3.2/0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch
 create mode 100644 recipes-kernel/linux/linux-3.2/akita/defconfig
 create mode 100644 recipes-kernel/linux/linux-3.2/c7x0/defconfig
 create mode 100644 recipes-kernel/linux/linux-3.2/collie/defconfig
 create mode 100644 
recipes-kernel/linux/linux-3.2/collie_remove_irq_to_gpio.patch
 create mode 100644 recipes-kernel/linux/linux-3.2/locomo_kbd_tweak-r2.patch
 create mode 100644 recipes-kernel/linux/linux-3.2/poodle/defconfig
 create mode 100644 recipes-kernel/linux/linux-3.2/tosa/defconfig

diff --git a/recipes-kernel/linux/linux-3.2.inc 
b/recipes-kernel/linux/linux-3.2.inc
index 03302a7..6cb7fad 100644
--- a/recipes-kernel/linux/linux-3.2.inc
+++ b/recipes-kernel/linux/linux-3.2.inc
@@ -1,14 +1,20 @@
-DEFAULT_PREFERENCE = "-1"
-
-COMPATIBLE_MACHINE = "(spitz)"
-
 SRC_URI += 
"${KERNELORG_MIRROR}/linux/kernel/v3.x/linux-${PV}.tar.bz2;name=kernel \
-   
${KERNELORG_MIRROR}/linux/kernel/v3.x/patch-${PV}.8.bz2;apply=yes;name=stablepatch
 \
+   
${KERNELORG_MIRROR}/linux/kernel/v3.x/patch-${PV}.9.bz2;apply=yes;name=stablepatch
 \
file://defconfig \
file://${LOGO_SIZE}/logo_linux_clut224.ppm.bz2 \
"
 
-SRC_URI[kernel.md5sum] = "7ceb61f87c097fc17509844b71268935"
-SRC_URI[kernel.sha256sum] = 
"c881fc2b53cf0da7ca4538aa44623a7de043a41f76fd5d0f51a31f6ed699d463"
-SRC_URI[stablepatch.md5sum] = "202cb750babdda078d6cc2816ab353b1"
-SRC_URI[stablepatch.sha256sum] = 
"1853d2bd4222e554fb4c2c5d818b953be9e3c658636b58a0a5b3860d23312cda"
+SRC_URI_append_collie = " \
+ 
file://0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch \
+ file://locomo_kbd_tweak-r2.patch \
+ file://collie_remove_irq_to_gpio.patch \
+ "
+
+SRC_URI_append_poodle = " \
+ file://locomo_kbd_tweak-r2.patch \
+ "
+
+SRC_URI[kernel.md5sum] = "8d43453f8159b2332ad410b19d86a931"
+SRC_URI[kernel.sha256sum] = 
"2573d2378c754b0c602b57586e9311e5b38c5d1e6c137f02873833633a4b9359"
+SRC_URI[stablepatch.md5sum] = "4610f3e62a5446422d1e81a90ab3cd06"
+SRC_URI[stablepatch.sha256sum] = 
"7836685dee161a4ffaf887b8e2f8dd3cb7712e690d0942fefb1db09bb6ad3871"
diff --git 
a/recipes-kernel/linux/linux-3.2/0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch
 
b/recipes-kernel/linux/linux-3.2/0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch
new file mode 100644
index 000..d86b47d
--- /dev/null
+++ 
b/recipes-kernel/linux/linux-3.2/0001-pcmcia-pxa2xx_sharpsl-retain-ops-structure-on-collie.patch
@@ -0,0 +1,34 @@
+From 31d99c4c9f14e571ca0e22c5862dd5b6a871e2dd Mon Sep 17 00:00:00 2001
+From: Dmitry Eremin-Solenikov 
+Date: Fri, 5 Aug 2011 15:32:23 +0400
+Subject: [PATCH] pcmcia/pxa2xx_sharpsl: retain ops structure on collie
+
+The pxa2xx_sharpsl driver part is also used on collie, which (as
+a StrongARM board) has different expectations for PCMCIA drivers.
+So, on collie place sharpsl_pcmcia_ops in .data section rather than
+in __initdata.
+
+Signed-off-by: Dmitry Eremin-Solenikov 
+---
+ drivers/pcmcia/pxa2xx_sharpsl.c |4 
+ 1 files changed, 4 insertions(+), 0 deletions(-)
+
+diff --git a/drivers/pcmcia/pxa2xx_sharpsl.c b/drivers/pcmcia/pxa2xx_sharpsl.c
+index 81af2b3..1b5b749 100644
+--- a/drivers/pcmcia/pxa2xx_sharpsl.c
 b/drivers/pcmcia/pxa2xx_sharpsl.c
+@@ -222,7 +222,11 @@ static void sharpsl_pcmcia_socket_suspend(struct 
soc_pcmcia_socket *skt)
+   sharpsl_pcmcia_init_reset(skt);
+ }
+ 
++#ifdef CONFIG_SA1100_COLLIE
++static struct pcmcia_low_level sharpsl_pcmcia_ops = {
++#else
+ static struct pcmcia_low_level sharpsl_pcmcia_ops __initdata = {
++#endif
+   .owner  = THIS_MODULE,
+   .hw_init= sharpsl_pcmcia_hw_init,
+   .hw_shutdown= sharpsl_pcmcia_hw_shutdown,
+-- 
+1.7.2.5
+
diff --git a/recipes-kernel/linux/lin

[oe] [PATCH] opkg-utils recipe: new SOURCE_URI

2012-03-06 Thread Daniel Zauner
Changed the Source-URI from (currently?) dead openmoko SVN-Server to new 
git-repository at git.yoctoproject.org / my first submit, be nice :D

dFence
---
 recipes/opkg-utils/opkg-utils_git.bb |   27 +++
 recipes/opkg-utils/opkg-utils_svn.bb |   27 ---
 2 files changed, 27 insertions(+), 27 deletions(-)
 create mode 100644 recipes/opkg-utils/opkg-utils_git.bb
 delete mode 100644 recipes/opkg-utils/opkg-utils_svn.bb

diff --git a/recipes/opkg-utils/opkg-utils_git.bb 
b/recipes/opkg-utils/opkg-utils_git.bb
new file mode 100644
index 000..6adc7c1
--- /dev/null
+++ b/recipes/opkg-utils/opkg-utils_git.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "OPKG Package Manager Utilities"
+SECTION = "base"
+HOMEPAGE = "http://wiki.openmoko.org/wiki/Opkg";
+PRIORITY = "optional"
+LICENSE = "GPLv2"
+RDEPENDS_${PN} = "python"
+RDEPENDS_${PN}_virtclass-native = ""
+SRCREV = "002d29bc605d7c2d02e4cf20a43c5277c15f5597"
+PV = "0.1.8+gitr${SRCPV}"
+PR = "r0"
+
+SRC_URI = "git://git.yoctoproject.org/opkg-utils;protocol=git \
+   file://index-ignore-filenotfound.patch \
+   file://arfile_header_split.patch \
+   file://mtime-int.patch"
+
+S = "${WORKDIR}/git"
+
+# Avoid circular dependencies from package_ipk.bbclass
+PACKAGES_virtclass-native = ""
+
+do_install() {
+oe_runmake PREFIX=${prefix} DESTDIR=${D} install
+}
+
+BBCLASSEXTEND = "native"
+TARGET_CC_ARCH += "${LDFLAGS}"
diff --git a/recipes/opkg-utils/opkg-utils_svn.bb 
b/recipes/opkg-utils/opkg-utils_svn.bb
deleted file mode 100644
index 3ddafdb..000
--- a/recipes/opkg-utils/opkg-utils_svn.bb
+++ /dev/null
@@ -1,27 +0,0 @@
-DESCRIPTION = "OPKG Package Manager Utilities"
-SECTION = "base"
-HOMEPAGE = "http://wiki.openmoko.org/wiki/Opkg";
-PRIORITY = "optional"
-LICENSE = "GPLv2"
-RDEPENDS_${PN} = "python"
-RDEPENDS_${PN}_virtclass-native = ""
-SRCREV = "4747"
-PV = "0.1.8+svnr${SRCPV}"
-PR = "r7"
-
-SRC_URI = "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http 
\
-   file://index-ignore-filenotfound.patch \
-   file://arfile_header_split.patch \
-   file://mtime-int.patch"
-
-S = "${WORKDIR}/opkg-utils"
-
-# Avoid circular dependencies from package_ipk.bbclass
-PACKAGES_virtclass-native = ""
-
-do_install() {
-oe_runmake PREFIX=${prefix} DESTDIR=${D} install
-}
-
-BBCLASSEXTEND = "native"
-TARGET_CC_ARCH += "${LDFLAGS}"
--
1.7.2.5



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


Re: [oe] [PATCH] opkg-utils recipe: new SOURCE_URI

2012-03-06 Thread Khem Raj
On Tue, Mar 6, 2012 at 5:43 PM, Daniel Zauner  wrote:
> Changed the Source-URI from (currently?) dead openmoko SVN-Server to new 
> git-repository at git.yoctoproject.org / my first submit, be nice :D
>

thanks for the patch. Can you rebase it against maintenance branch ?
and send a pull request thats the last stable branch out of oe.dev

http://www.openembedded.org/wiki/2011.03-maintenance


> dFence
> ---
>  recipes/opkg-utils/opkg-utils_git.bb |   27 +++
>  recipes/opkg-utils/opkg-utils_svn.bb |   27 ---
>  2 files changed, 27 insertions(+), 27 deletions(-)
>  create mode 100644 recipes/opkg-utils/opkg-utils_git.bb
>  delete mode 100644 recipes/opkg-utils/opkg-utils_svn.bb
>
> diff --git a/recipes/opkg-utils/opkg-utils_git.bb 
> b/recipes/opkg-utils/opkg-utils_git.bb
> new file mode 100644
> index 000..6adc7c1
> --- /dev/null
> +++ b/recipes/opkg-utils/opkg-utils_git.bb
> @@ -0,0 +1,27 @@
> +DESCRIPTION = "OPKG Package Manager Utilities"
> +SECTION = "base"
> +HOMEPAGE = "http://wiki.openmoko.org/wiki/Opkg";
> +PRIORITY = "optional"
> +LICENSE = "GPLv2"
> +RDEPENDS_${PN} = "python"
> +RDEPENDS_${PN}_virtclass-native = ""
> +SRCREV = "002d29bc605d7c2d02e4cf20a43c5277c15f5597"
> +PV = "0.1.8+gitr${SRCPV}"
> +PR = "r0"
> +
> +SRC_URI = "git://git.yoctoproject.org/opkg-utils;protocol=git \
> +           file://index-ignore-filenotfound.patch \
> +           file://arfile_header_split.patch \
> +           file://mtime-int.patch"
> +
> +S = "${WORKDIR}/git"
> +
> +# Avoid circular dependencies from package_ipk.bbclass
> +PACKAGES_virtclass-native = ""
> +
> +do_install() {
> +        oe_runmake PREFIX=${prefix} DESTDIR=${D} install
> +}
> +
> +BBCLASSEXTEND = "native"
> +TARGET_CC_ARCH += "${LDFLAGS}"
> diff --git a/recipes/opkg-utils/opkg-utils_svn.bb 
> b/recipes/opkg-utils/opkg-utils_svn.bb
> deleted file mode 100644
> index 3ddafdb..000
> --- a/recipes/opkg-utils/opkg-utils_svn.bb
> +++ /dev/null
> @@ -1,27 +0,0 @@
> -DESCRIPTION = "OPKG Package Manager Utilities"
> -SECTION = "base"
> -HOMEPAGE = "http://wiki.openmoko.org/wiki/Opkg";
> -PRIORITY = "optional"
> -LICENSE = "GPLv2"
> -RDEPENDS_${PN} = "python"
> -RDEPENDS_${PN}_virtclass-native = ""
> -SRCREV = "4747"
> -PV = "0.1.8+svnr${SRCPV}"
> -PR = "r7"
> -
> -SRC_URI = 
> "svn://svn.openmoko.org/trunk/src/host/;module=opkg-utils;proto=http \
> -           file://index-ignore-filenotfound.patch \
> -           file://arfile_header_split.patch \
> -           file://mtime-int.patch"
> -
> -S = "${WORKDIR}/opkg-utils"
> -
> -# Avoid circular dependencies from package_ipk.bbclass
> -PACKAGES_virtclass-native = ""
> -
> -do_install() {
> -        oe_runmake PREFIX=${prefix} DESTDIR=${D} install
> -}
> -
> -BBCLASSEXTEND = "native"
> -TARGET_CC_ARCH += "${LDFLAGS}"
> --
> 1.7.2.5
>
>
>
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

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


Re: [oe] [meta-oe] zsh: Add initial recipe for version 4.3.17.

2012-03-06 Thread Piotr Tworek
On 03/06/2012 10:25 PM, Khem Raj wrote:
> On Tue, Mar 6, 2012 at 11:14 AM, Piotr Tworek  wrote:
>> On 03/06/2012 02:59 AM, Khem Raj wrote:
>>> On (05/03/12 21:53), Peter Tworek wrote:
 Run tested on netbook pro.

 Signed-off-by: Peter Tworek 
 ---
  meta-oe/recipes-extended/zsh/zsh_4.3.17.bb |   51 
 
  1 files changed, 51 insertions(+), 0 deletions(-)
  create mode 100644 meta-oe/recipes-extended/zsh/zsh_4.3.17.bb

 diff --git a/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb 
 b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
 new file mode 100644
 index 000..9192f20
 --- /dev/null
 +++ b/meta-oe/recipes-extended/zsh/zsh_4.3.17.bb
 @@ -0,0 +1,51 @@
 +DESCRIPTION = "UNIX Shell similar to the Korn shell"
 +HOMEPAGE="http://www.zsh.org";
 +SECTION = "base/shell"
 +
 +LICENSE = "ZSH"
 +LIC_FILES_CHKSUM = "file://LICENCE;md5=ad234d4b46db63491c4a9789da4fb341"
 +
 +DEPENDS = "ncurses libcap libpcre gdbm groff-native"
 +
 +SRC_URI = "ftp://ftp.zsh.org/pub/${P}.tar.bz2";
 +SRC_URI[md5sum] = "8258967060b2654f30001a011946ac6a"
 +SRC_URI[sha256sum] = 
 "054e0452afd9c742c9f1489465175e1d4d7db50d88b602d132551d850cf7a704"
 +
 +FILES_${PN}-dbg += "\
 +${libdir}/${PN}/${PV}/${PN}/.debug/*.so \
 +${libdir}/${PN}/${PV}/${PN}/db/.debug/*.so \
 +${libdir}/${PN}/${PV}/${PN}/net/.debug/*.so \
 +"
 +
 +inherit autotools
 +
 +EXTRA_OECONF = " \
 +--bindir=${base_bindir} \
 +--enable-etcdir=${sysconfdir} \
 +--enable-fndir=${datadir}/${PN}/${PV}/functions \
 +--enable-site-fndir=${datadir}/${PN}/site-functions \
 +--enable-function-subdirs \
 +--with-term-lib='ncursesw ncurses' \
 +--with-tcsetpgrp \
 +--enable-pcre \
 +--enable-cap \
 +--enable-multibyte \
 +--enable-gdbm \
 +--enable-dynamic \
 +zsh_cv_shared_environ=yes \
 +"
 +
 +do_configure () {
 +oe_runconf
 +}
 +
>>> why do you need to run oe_runconf explicitly.
>> Because I want to avoid invoking autotools, I just need to run
>> configure. I wrote this recipe some time ago, but from what I remember
>> zsh comes with some preloaded m4 macros that cause problems when default
>> autootols do_configure() step is executed. The preloaded configure
>> scripts works fine, even when cross-compiling. IMO it's better to use it
>> than to patch the package.
> generated .la files will not work which may not be so much of an issue
> for zsh. Usually we autoreconf and thats to avoid compatibility issues
Not a problem:
$ find tmp/work/armv5te-oe-linux-gnueabi/zsh-4.3.17-r0/image -type f
-name '*.la' | wc
-l  
  

$ 0

In general, compiled version of zsh doesn't come with any files that
could be shipped in -dev or -staticdev packages. In fact the only
packages that contain some files are zsh and zsh-dbg. I've only tested
zsh and I can't find anything that's broken. I've used the same zshrc
file as on my desktop and all the modules load fine.

/ptw


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