Re: [oe] [meta-qt5][PATCH] qtbase: Add libxi to depends.

2014-04-23 Thread Søren Holm
Hi MArtin

This fix is not in master yet. Is it lost between two chairs ?

Onsdag den 19. marts 2014 18:40:24 skrev Martin Jansa:
> On Wed, Mar 19, 2014 at 06:02:57PM +0100, Søren Holm wrote:
> > yes problably. I did not investigate the whole structure that thorough
> > apparently.
> > 
> > Could that change get into dora?
> 
> Yes, but first it needs to go to master.
> 
> > Onsdag den 19. marts 2014 15:15:01 skrev Martin Jansa:
> > > On Wed, Mar 19, 2014 at 02:56:18PM +0100, Jacob Kroon wrote:
> > > > Maybe do something this instead ? This is only necessary for X11 right
> > > > ?
> > > > 
> > > > -DEPENDS += "qtbase-native"
> > > > +DEPENDS += " \
> > > > +qtbase-native \
> > > > +${@base_contains('DISTRO_FEATURES', 'x11', 'libxi', '', d)} \
> > > > +"
> > > > 
> > > > /Jacob
> > > 
> > > I think it belongs to
> > > PACKAGECONFIG[xinput2] = "-xinput2,-no-xinput2,libxi"

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


[oe] [meta-oe][PATCH v2] gd: split the binaries to package gd-tools

2014-04-23 Thread jackie.huang
From: Jackie Huang 

As most linux distribution do, gd only includes the library,
and split all the command line tools into gd-tools, and add
the perl dependcy since one of the tools is a perl script.

Signed-off-by: Jackie Huang 
---
 meta-oe/recipes-support/gd/gd_2.1.0.bb |9 +
 1 file changed, 9 insertions(+)

diff --git a/meta-oe/recipes-support/gd/gd_2.1.0.bb 
b/meta-oe/recipes-support/gd/gd_2.1.0.bb
index a260cd6..d92e639 100644
--- a/meta-oe/recipes-support/gd/gd_2.1.0.bb
+++ b/meta-oe/recipes-support/gd/gd_2.1.0.bb
@@ -30,3 +30,12 @@ EXTRA_OECONF += " --disable-rpath \
   --without-x"
 
 EXTRA_OEMAKE = 'LDFLAGS="${LDFLAGS}"'
+
+PACKAGES += "${PN}-tools"
+
+FILES_${PN} = "${libdir}/lib*${SOLIBS}"
+FILES_${PN}-tools = "${bindir}/*"
+
+PROVIDES += "${PN}-tools"
+RPROVIDES_${PN}-tools = "${PN}-tools"
+RDEPENDS_${PN}-tools = "perl perl-module-strict"
-- 
1.7.9.5

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


Re: [oe] [meta-qt5][PATCH] qtbase: Add libxi to depends.

2014-04-23 Thread Jacob Kroon
Hi Søren,

On Wed, Apr 23, 2014 at 9:00 AM, Søren Holm  wrote:

> Hi MArtin
>
> This fix is not in master yet. Is it lost between two chairs ?
>
> Onsdag den 19. marts 2014 18:40:24 skrev Martin Jansa:
> > On Wed, Mar 19, 2014 at 06:02:57PM +0100, Søren Holm wrote:
> > > yes problably. I did not investigate the whole structure that thorough
> > > apparently.
> > >
> > > Could that change get into dora?
> >
> > Yes, but first it needs to go to master.
> >
> > > Onsdag den 19. marts 2014 15:15:01 skrev Martin Jansa:
> > > > On Wed, Mar 19, 2014 at 02:56:18PM +0100, Jacob Kroon wrote:
> > > > > Maybe do something this instead ? This is only necessary for X11
> right
> > > > > ?
> > > > >
> > > > > -DEPENDS += "qtbase-native"
> > > > > +DEPENDS += " \
> > > > > +qtbase-native \
> > > > > +${@base_contains('DISTRO_FEATURES', 'x11', 'libxi', '', d)} \
> > > > > +"
> > > > >
> > > > > /Jacob
> > > >
> > > > I think it belongs to
> > > > PACKAGECONFIG[xinput2] = "-xinput2,-no-xinput2,libxi"
>
>
Please test the solution that Martin proposed, and if everything looks
good, submit a patch using the instructions found in meta-qt5/README
and http://www.openembedded.org/wiki/How_to_submit_a_patch_to_OpenEmbedded.

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


[oe] [PATCH] rrdtool: enable perl and python bindings

2014-04-23 Thread Chong Lu
1. default enable perl and python bindings
2. rrdtool uses perl.real, perl.real doesn't know where the PERL5LIB should be
when prebuilts are used. Use the wrapper perl instead, perl sets PERL5LIB and
invokes perl.real
3. While using dash as /bin/sh, subsequent commands in functions will not use
the environment variables passed to the function call line unless explicitly
run "export ENV_VAR".
4. delete unrecognized options: "--enable-local-libpng" and 
"--enable-local-zlib"

Signed-off-by: Chong Lu 
---
 meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb |  125 -
 1 file changed, 119 insertions(+), 6 deletions(-)

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb 
b/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
index 533451f..1fe0302 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
@@ -5,6 +5,7 @@ LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=44fee82a1d2ed0676cf35478283e0aa0"
 
 DEPENDS = "libpng zlib cairo pango glib-2.0 libxml2"
+RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long 
perl-module-time-hires perl-module-io-file"
 
 PR = "r2"
 
@@ -15,25 +16,137 @@ SRC_URI = 
"http://oss.oetiker.ch/rrdtool/pub/rrdtool-${PV}.tar.gz \
 SRC_URI[md5sum] = "ffe369d8921b4dfdeaaf43812100c38f"
 SRC_URI[sha256sum] = 
"956aaf431c955ba88dd7d98920ade3a8c4bad04adb1f9431377950a813a7af11"
 
-inherit autotools gettext
+inherit autotools gettext pythonnative perlnative python-dir
 
 EXTRA_AUTORECONF = "-I m4"
 
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "python perl"
+
+PACKAGECONFIG[python] = "--enable-python=yes \
+am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages
 \
+am_cv_python_pyexecdir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages,\
+--disable-python,python,"
+
+PACKAGECONFIG[perl] = \
+"--enable-perl=yes --with-perl-options='INSTALLDIRS="vendor"' \
+ac_cv_path_PERL_CC='${CC}',  \
+--disable-perl,perl,"
+
 PACKAGECONFIG[dbi] = "--enable-libdbi,--disable-libdbi,libdbi"
 
 EXTRA_OECONF = " \
 --enable-shared \
---enable-local-libpng \
---enable-local-zlib \
 --disable-libwrap \
 --program-prefix='' \
 rd_cv_ieee_works=yes \
---disable-perl \
---disable-python \
 --disable-ruby \
 --disable-lua \
 --disable-rpath \
 "
 
+# don't use perl.real, this results in break issues with prebuilts since 
perl.real doesn't
+# know where the PERL5LIB is...
+# use wrapper perl instead
+EXTRA_OEMAKE = "PERL=${STAGING_BINDIR_NATIVE}/perl-native/perl 
FULLPERL=${STAGING_BINDIR_NATIVE}/perl-native/perl"
+
+export BUILD_SYS
+export HOST_SYS
+export STAGING_LIBDIR
+export STAGING_INCDIR
+
+do_configure() {
+   #fix the pkglib problem with newer automake
+   #perl
+   sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \
+   ${S}/bindings/perl-shared/Makefile.PL
+
+   #python
+   sed -i -e '/PYTHON_INCLUDES="-I${/c \
+   PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
+   ${S}/m4/acinclude.m4
+   #remove the hardcoded $(libdir) rpath
+   sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
+
+   autotools_do_configure
+
+   perl_version=`perl -v 2>/dev/null | \
+   sed -n 's/This is perl.*v[a-z ]*\([0-9]\.[0-9][0-9.]*\).*$/\1/p'`
+
+   #modify python sitepkg
+   #remove the dependency of perl-shared:Makefile
+   #or perl-shared/Makefile will be regenerated
+   #if any code touch bindings/Makefile after below perl bindings code
+   sed -i -e "s:\$(PYTHON) setup.py install:\$(PYTHON) setup.py install \
+   --install-lib=${D}${PYTHON_SITEPACKAGES_DIR}:" \
+   -e "s:perl-shared/Makefile.PL Makefile:perl-shared/Makefile.PL:" \
+   ${S}/bindings/Makefile
+
+   #redo the perl bindings
+   (
+   cd bindings/perl-shared;
+   perl -I${STAGING_LIBDIR}/perl/$perl_version Makefile.PL 
INSTALLDIRS="vendor"
+   INSTALLPRIVLIB="abc";
+   sed -i -e "s| ${libdir}/perl/| ${STAGING_LIBDIR}/perl/|g" Makefile;
+
+   cd ../../bindings/perl-piped;
+   perl -I${STAGING_LIBDIR}/perl/$perl_version Makefile.PL 
INSTALLDIRS="vendor";
+   sed -i -e "s| ${libdir}/perl/| ${STAGING_LIBDIR}/perl/|g" Makefile;
+   )
+
+   #change the interpreter in file
+   sed -i -e "s|^PERL = ${STAGING_BINDIR_NATIVE}/.*|PERL = 
/usr/bin/perl|g" \
+   ${S}/examples/Makefile
+   sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" 
\
+   ${S}/examples/*.pl
+}
+
+python populate_packages_prepend() {
+def fill_more(name, rdep=None):
+if name is None or name.strip() == "":
+return
+
+fpack=d.getVar('PACKAGES') or ""
+fpack="${PN}-" + name + " " + fpack
+d.setVar('PACKAGES', fpack)
+if rdep is not None:
+prdep=d.getVar('RDEPENDS_${PN}-' + name) or ""
+prdep=rdep + " " + prdep
+d.setV

Re: [oe] [PATCH] rrdtool: enable perl and python bindings

2014-04-23 Thread Chong Lu

This is a V3.

Change since V2:
Merge ${PN}-perl-dbg and ${PN}-python-dbg into ${PN}-dbg

Best Regards
Chong

On 04/23/2014 04:00 PM, Chong Lu wrote:

1. default enable perl and python bindings
2. rrdtool uses perl.real, perl.real doesn't know where the PERL5LIB should be
when prebuilts are used. Use the wrapper perl instead, perl sets PERL5LIB and
invokes perl.real
3. While using dash as /bin/sh, subsequent commands in functions will not use
the environment variables passed to the function call line unless explicitly
run "export ENV_VAR".
4. delete unrecognized options: "--enable-local-libpng" and 
"--enable-local-zlib"

Signed-off-by: Chong Lu 
---
  meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb |  125 -
  1 file changed, 119 insertions(+), 6 deletions(-)

diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb 
b/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
index 533451f..1fe0302 100644
--- a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
+++ b/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb
@@ -5,6 +5,7 @@ LICENSE = "GPLv2"
  LIC_FILES_CHKSUM = "file://COPYING;md5=44fee82a1d2ed0676cf35478283e0aa0"
  
  DEPENDS = "libpng zlib cairo pango glib-2.0 libxml2"

+RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long 
perl-module-time-hires perl-module-io-file"
  
  PR = "r2"
  
@@ -15,25 +16,137 @@ SRC_URI = "http://oss.oetiker.ch/rrdtool/pub/rrdtool-${PV}.tar.gz \

  SRC_URI[md5sum] = "ffe369d8921b4dfdeaaf43812100c38f"
  SRC_URI[sha256sum] = 
"956aaf431c955ba88dd7d98920ade3a8c4bad04adb1f9431377950a813a7af11"
  
-inherit autotools gettext

+inherit autotools gettext pythonnative perlnative python-dir
  
  EXTRA_AUTORECONF = "-I m4"
  
-PACKAGECONFIG ??= ""

+PACKAGECONFIG ??= "python perl"
+
+PACKAGECONFIG[python] = "--enable-python=yes \
+am_cv_python_pythondir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages
 \
+am_cv_python_pyexecdir=${STAGING_LIBDIR}/python${PYTHON_BASEVERSION}/site-packages,\
+--disable-python,python,"
+
+PACKAGECONFIG[perl] = \
+"--enable-perl=yes --with-perl-options='INSTALLDIRS="vendor"' \
+ac_cv_path_PERL_CC='${CC}',  \
+--disable-perl,perl,"
+
  PACKAGECONFIG[dbi] = "--enable-libdbi,--disable-libdbi,libdbi"
  
  EXTRA_OECONF = " \

  --enable-shared \
---enable-local-libpng \
---enable-local-zlib \
  --disable-libwrap \
  --program-prefix='' \
  rd_cv_ieee_works=yes \
---disable-perl \
---disable-python \
  --disable-ruby \
  --disable-lua \
  --disable-rpath \
  "
  
+# don't use perl.real, this results in break issues with prebuilts since perl.real doesn't

+# know where the PERL5LIB is...
+# use wrapper perl instead
+EXTRA_OEMAKE = "PERL=${STAGING_BINDIR_NATIVE}/perl-native/perl 
FULLPERL=${STAGING_BINDIR_NATIVE}/perl-native/perl"
+
+export BUILD_SYS
+export HOST_SYS
+export STAGING_LIBDIR
+export STAGING_INCDIR
+
+do_configure() {
+   #fix the pkglib problem with newer automake
+   #perl
+   sed -i -e "s|-Wl,--rpath -Wl,\$rp||g" \
+   ${S}/bindings/perl-shared/Makefile.PL
+
+   #python
+   sed -i -e '/PYTHON_INCLUDES="-I${/c \
+   PYTHON_INCLUDES="-I=/usr/include/python${PYTHON_BASEVERSION}"' \
+   ${S}/m4/acinclude.m4
+   #remove the hardcoded $(libdir) rpath
+   sed -i -e 's|--rpath=$(libdir)||g' ${S}/bindings/Makefile.am
+
+   autotools_do_configure
+
+   perl_version=`perl -v 2>/dev/null | \
+   sed -n 's/This is perl.*v[a-z ]*\([0-9]\.[0-9][0-9.]*\).*$/\1/p'`
+
+   #modify python sitepkg
+   #remove the dependency of perl-shared:Makefile
+   #or perl-shared/Makefile will be regenerated
+   #if any code touch bindings/Makefile after below perl bindings code
+   sed -i -e "s:\$(PYTHON) setup.py install:\$(PYTHON) setup.py install \
+   --install-lib=${D}${PYTHON_SITEPACKAGES_DIR}:" \
+   -e "s:perl-shared/Makefile.PL Makefile:perl-shared/Makefile.PL:" \
+   ${S}/bindings/Makefile
+
+   #redo the perl bindings
+   (
+   cd bindings/perl-shared;
+   perl -I${STAGING_LIBDIR}/perl/$perl_version Makefile.PL 
INSTALLDIRS="vendor"
+   INSTALLPRIVLIB="abc";
+   sed -i -e "s| ${libdir}/perl/| ${STAGING_LIBDIR}/perl/|g" Makefile;
+
+   cd ../../bindings/perl-piped;
+   perl -I${STAGING_LIBDIR}/perl/$perl_version Makefile.PL 
INSTALLDIRS="vendor";
+   sed -i -e "s| ${libdir}/perl/| ${STAGING_LIBDIR}/perl/|g" Makefile;
+   )
+
+   #change the interpreter in file
+   sed -i -e "s|^PERL = ${STAGING_BINDIR_NATIVE}/.*|PERL = 
/usr/bin/perl|g" \
+   ${S}/examples/Makefile
+   sed -i -e "s|${STAGING_BINDIR_NATIVE}/perl-native/perl|/usr/bin/perl|g" 
\
+   ${S}/examples/*.pl
+}
+
+python populate_packages_prepend() {
+def fill_more(name, rdep=None):
+if name is None or name.strip() == "":
+return
+
+fpack=d.getVar('PACKAGES') or ""
+fpack="${PN}-" + name + " " + fpack
+ 

Re: [oe] [PATCH] rrdtool: enable perl and python bindings

2014-04-23 Thread Koen Kooi
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chong Lu schreef op 23-04-14 10:00:
> 1. default enable perl and python bindings 2. rrdtool uses perl.real, 
> perl.real doesn't know where the PERL5LIB should be when prebuilts are 
> used. Use the wrapper perl instead, perl sets PERL5LIB and invokes 
> perl.real 3. While using dash as /bin/sh, subsequent commands in 
> functions will not use the environment variables passed to the function 
> call line unless explicitly run "export ENV_VAR". 4. delete unrecognized 
> options: "--enable-local-libpng" and "--enable-local-zlib"
> 
> Signed-off-by: Chong Lu  --- 
> meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb |  125 
> - 1 file changed, 119 insertions(+), 6 deletions(-)
> 
> diff --git a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb 
> b/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb index 
> 533451f..1fe0302 100644 --- 
> a/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb +++ 
> b/meta-oe/recipes-extended/rrdtool/rrdtool_1.4.7.bb @@ -5,6 +5,7 @@ 
> LICENSE = "GPLv2" LIC_FILES_CHKSUM = 
> "file://COPYING;md5=44fee82a1d2ed0676cf35478283e0aa0"
> 
> DEPENDS = "libpng zlib cairo pango glib-2.0 libxml2"
> +RDEPENDS_${PN}-perl = "perl perl-module-lib perl-module-getopt-long
> perl-module-time-hires perl-module-io-file"

Variables are ordered by task order, so R* vars go next to FILES* vars. And
I suspect PN-python will need python-core.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)
Comment: GPGTools - http://gpgtools.org

iD8DBQFTV3WoMkyGM64RGpERAvDkAKCZwY6DfiM8YYyc0ZUXbwz2SjdQUgCgoGbK
+TpF5uCZRHGAPlipvP/UxqU=
=kATN
-END PGP SIGNATURE-

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


Re: [oe] xfce4-dev-tools fails to build on master-next

2014-04-23 Thread Anders Darander
* Adam Lee  [140423 01:01]:

> It looks like autotools bbclass began doing out of tree build. Switching to
> Poky's 'daisy' branch, which contains a couple of autotools related
> commits, fixed this issue.

Yes, the autotools bbclass has been switched to doing out of tree builds
as the default. (For several good reasons).

The best thing would of course be to adapt the receipt in question. The
intermediate solution is to switch the recipe from 
inherit autotools
to 
inherit autotools-brokensep

This will restore the old, build in tree, behaviour.

Cheers,

Anders

> On Mon, Apr 21, 2014 at 10:56 AM, Adam Lee  wrote:

> > I noticed my XFCE image is blocked due to the following:

> > DEBUG: SITE files ['endian-little', 'bit-32', 'arm-common', 'common-linux', 
> > 'common-glibc', 'arm-linux', 'arm-linux-gnueabi', 'common']

> > DEBUG: Executing shell function do_compile

> > NOTE: make -j 4

> > Making all in m4macros

> > make[1]: Entering directory 
> > `/media/Build/next/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xfce4-dev-tools/4.11.0-r0/build/m4macros'

> > make[1]: Nothing to be done for `all'.

> > make[1]: Leaving directory 
> > `/media/Build/next/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xfce4-dev-tools/4.11.0-r0/build/m4macros'

> > Making all in scripts

> > make[1]: Entering directory 
> > `/media/Build/next/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xfce4-dev-tools/4.11.0-r0/build/scripts'

> > make[1]: *** No rule to make target 
> > `/media/Build/next/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xfce4-dev-tools/4.11.0-r0/xfce4-dev-tools-4.11.0/scripts/xdt-autogen.in',
> >  needed by `xdt-autogen'.  Stop.

> > make[1]: Leaving directory 
> > `/media/Build/next/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xfce4-dev-tools/4.11.0-r0/build/scripts'

> > make: *** [all-recursive] Error 1

> > ERROR: oe_runmake failed

> > WARNING: exit code 1 from a shell command.

> > ERROR: Function failed: do_compile (log file is located at 
> > /media/Build/next/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/xfce4-dev-tools/4.11.0-r0/temp/log.do_compile.22389)

> > I can only see xdt-autogen.in.in (not xdt-autogen.in) in the scripts
> > directory. This is the same with the previous version however.

> > Has anyone else seen this? Thanks!

> > Adam
-- 
Anders Darander
ChargeStorm AB / eStorm AB
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


Re: [oe] [meta-networking][PATCH 1/2] vsftpd: fix install warning - [withdrawn]

2014-04-23 Thread wenzong fan

On 04/21/2014 03:58 PM, Martin Jansa wrote:

On Mon, Apr 21, 2014 at 01:53:27AM -0400, wenzong@windriver.com wrote:

From: Wenzong Fan 

WARNING: QA Issue: vsftpd: Files/directories were installed but not shipped
   /run
   /run/vsftpd
   /run/vsftpd/empty


I'm glad to see fix for QA, but I don't think that everybody is using
populate-volatile.sh for volatiles (e.g. images with systemd).


Good point, while I searching the thread I found there's another patch 
tried to process this issue but still not merged:


[oe] [meta-networking][PATCH] vsftpd: install volatiles file based on 
init system


I withdraw my patch and waiting for the upstream fixes:)

Thanks
Wenzong




Signed-off-by: Li Wang 
Signed-off-by: Wenzong Fan 
---
  .../recipes-daemons/vsftpd/vsftpd_3.0.0.bb |9 -
  1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb 
b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
index 0698a63..2cf9ac3 100644
--- a/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
+++ b/meta-networking/recipes-daemons/vsftpd/vsftpd_3.0.0.bb
@@ -70,7 +70,6 @@ do_install() {
  sed -i "s:/lib/security:${base_libdir}/security:" 
${D}${sysconfdir}/pam.d/vsftpd
  sed -i "s:ftpusers:vsftpd.ftpusers:" ${D}${sysconfdir}/pam.d/vsftpd
  fi
-install -d ${D}${localstatedir}/run/vsftpd/empty
  }

  INITSCRIPT_PACKAGES = "${PN}"
@@ -82,3 +81,11 @@ USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ftp 
--no-create-home -g ftp
 --shell /bin/false ftp "
  GROUPADD_PARAM_${PN} = "-r ftp"

+pkg_postinst_${PN}() {
+   if [ -n "$D" ]; then
+   exit 0
+   fi
+   if [ -e /etc/init.d/populate-volatile.sh ]; then
+   /etc/init.d/populate-volatile.sh update
+   fi
+}
--
1.7.9.5

--
___
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


[oe] [meta-networking][PATCH] stunnel: fix configure ssl parameter

2014-04-23 Thread Javier Viguera
'--with-ssl=DIR' configure parameter expects the location of the
libraries and include files in the sysroot. This means the directory
containing the 'lib' and 'include' subdirectories, not the include
directory itself.

This fixes an error at configure time:

checking
/tmp/sysroots/ccimx6adpt/usr/include/include/openssl/engine.h
usability... no

(notice duplicated include entry in above line)

Signed-off-by: Javier Viguera 
---

Notes:
To backport to Dora as well.

 meta-networking/recipes-support/stunnel/stunnel_4.56.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/stunnel/stunnel_4.56.bb 
b/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
index 086d0b7aafea..938f043a9d97 100644
--- a/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
+++ b/meta-networking/recipes-support/stunnel/stunnel_4.56.bb
@@ -12,4 +12,4 @@ SRC_URI[sha256sum] = 
"9cae2cfbe26d87443398ce50d7d5db54e5ea363889d5d2ec8d2778a01c
 
 inherit autotools
 
-EXTRA_OECONF += "--with-ssl='${STAGING_INCDIR}' --disable-fips"
+EXTRA_OECONF += "--with-ssl='${STAGING_EXECPREFIXDIR}' --disable-fips"
-- 
___
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel


[oe] [meta-oe][PATCH] collectd: add threshold.so, load.so and disk.so in PRIVATE_LIBS

2014-04-23 Thread jackie.huang
From: Jackie Huang 

to avoid the folloing warnings:
log.world.20140418_190059.log/bitbake.log:WARNING: gegl-0.2.0 was registered as 
shlib provider for load.so, changing it to collectd-5.2.2 because it was built 
later
log.world.20140418_190059.log/bitbake.log:WARNING:
libgphoto2-camlibs-2.4.11 was registered as shlib provider for disk.so, 
changing it to collectd-5.2.2 because it was built later
log.world.20140418_190059.log/bitbake.log:WARNING: gegl-0.2.0 was registered as 
shlib provider for threshold.so, changing it to
collectd-5.2.2 because it was built later

Signed-off-by: Jackie Huang 
---
 .../recipes-extended/collectd/collectd_5.2.2.bb|3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb 
b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
index 7cb41b9..8585ff3 100644
--- a/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
+++ b/meta-oe/recipes-extended/collectd/collectd_5.2.2.bb
@@ -56,3 +56,6 @@ do_install_append() {
 INITSCRIPT_NAME = "collectd"
 INITSCRIPT_PARAMS = "defaults"
 
+# threshold.so load.so are also provided by gegl
+# disk.so is also provided by libgphoto2-camlibs
+PRIVATE_LIBS = "threshold.so load.so disk.so"
-- 
1.7.9.5

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


[oe] [meta-networking][PATCH] quagga: Add mirror site

2014-04-23 Thread Changhyeok Bae
* The SRC_URI is not accessible.
  So need to add mirror site referred by the original site.
* The problem is that
  http://download.savannah.nongnu.org/releases redirects to closest mirror
  and few mirrors (e.g. .jp) weren't working correctly while
  http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.

Signed-off-by: Changhyeok Bae 
---
 .../recipes-protocols/quagga/quagga.inc|2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-networking/recipes-protocols/quagga/quagga.inc 
b/meta-networking/recipes-protocols/quagga/quagga.inc
index 65ff040..6127205 100644
--- a/meta-networking/recipes-protocols/quagga/quagga.inc
+++ b/meta-networking/recipes-protocols/quagga/quagga.inc
@@ -37,6 +37,8 @@ SRC_URI = 
"http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagg
file://quagga-Avoid-duplicate-connected-address.patch \
 "
 
+MIRRORS += "http://download.savannah.gnu.org/releases/ 
http://download-mirror.savannah.gnu.org/releases/ \n"
+
 PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'pam', 'pam', '', d)}"
 PACKAGECONFIG[cap] = "--enable-capabilities,--disable-capabilities,libcap"
 PACKAGECONFIG[pam] = "--with-libpam, --without-libpam, libpam"
-- 
1.7.9.5

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


[oe] [meta-oe][PATCH 3/3] hddtemp: Add mirror site

2014-04-23 Thread Changhyeok Bae
* The SRC_URI is not accessible.
  So need to add mirror site referred by the original site.
* The problem is that
  http://download.savannah.nongnu.org/releases redirects to closest mirror
  and few mirrors (e.g. .jp) weren't working correctly while
  http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.

Signed-off-by: Changhyeok Bae 
---
 .../recipes-support/hddtemp/hddtemp_0.3-beta15.bb  |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb 
b/meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb
index 9da2ee0..79e81c4 100644
--- a/meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb
+++ b/meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb
@@ -15,6 +15,8 @@ SRC_URI = 
"http://download.savannah.nongnu.org/releases/hddtemp/hddtemp-0.3-beta
 SRC_URI[md5sum] = "8b829339e1ae9df701684ec239021bb8"
 SRC_URI[sha256sum] = 
"618541584054093d53be8a2d9e81c97174f30f00af91cb8700a97e442d79ef5b"
 
+MIRRORS += "http://download.savannah.nongnu.org/releases/ 
http://download-mirror.savannah.gnu.org/releases/ \n"
+
 LIC_FILES_CHKSUM = "file://GPL-2;md5=eb723b61539feef013de476e68b5c50a"
 
 inherit autotools gettext update-rc.d
-- 
1.7.9.5

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


[oe] [meta-oe][PATCH 2/3] gpsd: Add mirror site

2014-04-23 Thread Changhyeok Bae
* The SRC_URI is not accessible.
  So need to add mirror site referred by the original site.
* The problem is that
  http://download.savannah.nongnu.org/releases redirects to closest mirror
  and few mirrors (e.g. .jp) weren't working correctly while
  http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.

Signed-off-by: Changhyeok Bae 
---
 meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb 
b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
index 97f3354..c1b7525 100644
--- a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
+++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
@@ -22,6 +22,8 @@ SRC_URI = 
"http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
 SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98"
 SRC_URI[sha256sum] = 
"7800c478ee9d7ca7a502b0f892828561b1fbf7bc69d9d38c447c82c3628302ac"
 
++MIRRORS += "http://download.savannah.gnu.org/releases/ 
http://download-mirror.savannah.gnu.org/releases/ \n"
+
 inherit scons update-rc.d python-dir pythonnative systemd
 
 INITSCRIPT_NAME = "gpsd"
-- 
1.7.9.5

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


[oe] [meta-oe][PATCH 1/3] fim: Add mirror site

2014-04-23 Thread Changhyeok Bae
* The SRC_URI is not accessible.
  So need to add mirror site referred by the original site.
* The problem is that
  http://download.savannah.nongnu.org/releases redirects to closest mirror
  and few mirrors (e.g. .jp) weren't working correctly while
  http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.

Signed-off-by: Changhyeok Bae 
---
 meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb |2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb 
b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
index 6e5000b..c6537ac 100644
--- a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
+++ b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
@@ -16,6 +16,8 @@ SRC_URI = 
"http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV
 SRC_URI[md5sum] = "d7362dde5541c2b6439c35c6e2bd5046"
 SRC_URI[sha256sum] = 
"3f6bf2de2952b9adcbeb3db12c2a979e999a81dd1e314a03bc58e24f1ea9f686"
 
+MIRRORS += "http://download.savannah.nongnu.org/releases/ 
http://download-mirror.savannah.gnu.org/releases/ \n"
+
 PARALLEL_MAKE = ""
 
 inherit autotools
-- 
1.7.9.5

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


[oe] [meta-oe][PATCH 2/2] breakpad: update to latest svn

2014-04-23 Thread Anders Darander
The old license file, COPYING has been renamed to LICENSE. It has also been
appended with the the disclaimer from src/common/convert_UTF.h (see r1285).

Signed-off-by: Anders Darander 
---
 meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb 
b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
index 7c7024a..2c5941d 100644
--- a/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
+++ b/meta-oe/recipes-devtools/breakpad/breakpad_svn.bb
@@ -6,14 +6,14 @@ SUMMARY = "An open-source multi-platform crash reporting 
system"
 DESCRIPTION = "Breakpad is a library and tool suite that allows you to 
distribute an application to users with compiler-provided debugging information 
removed, record crashes in compact \"minidump\" files, send them back to your 
server, and produce C and C++ stack traces from these minidumps. "
 HOMEPAGE = "https://code.google.com/p/google-breakpad/";
 LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://COPYING;md5=c80d1a3b623f72bb85a4c75b556551df"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=56c24a43c81c3af6fcf590851931489e"
 SECTION = "libs"
 
 inherit autotools
 
 BBCLASSEXTEND = "native"
 
-SRCREV = "r1218"
+SRCREV = "r1318"
 SRC_URI = "svn://google-breakpad.googlecode.com/svn;module=trunk;protocol=http"
 S = "${WORKDIR}/trunk"
 
@@ -42,6 +42,7 @@ do_install_append() {
 install -m 0644 ${S}/src/google_breakpad/common/minidump_format.h 
${D}${includedir}/breakpad/google_breakpad/common/minidump_format.h
 install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_amd64.h 
${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_amd64.h
 install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_arm.h 
${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_arm.h
+install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_arm.h 
${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_arm64.h
 install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_mips.h 
${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_mips.h
 install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_ppc64.h 
${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_ppc64.h
 install -m 0644 ${S}/src/google_breakpad/common/minidump_cpu_ppc.h 
${D}${includedir}/breakpad/google_breakpad/common/minidump_cpu_ppc.h
-- 
2.0.0.rc0

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


[oe] [meta-oe][PATCH 0/2] Breakpad fix and upgrade

2014-04-23 Thread Anders Darander
Fixing a build issue with an internal Qt based application.

Using qt4e, CFLAGS were used and thus the include files were
found. However, when porting to Qt5, CFLAGS seems to no longer 
be used, and thus we need to also set CXXFLAGS.

While looking at the recipe in question, I thought it was just 
as good to update it to the latest svn.

The following changes since commit 0f56bc4e2818a051a511ceb48596cbfa2f51ff3d:

  dejagnu: recipe taken from openembedded (2014-04-21 13:31:48 +0200)

are available in the git repository at:

  git://github.com/darander/meta-oe HEAD
  https://github.com/darander/meta-oe/tree/breakpad-cflags

Anders Darander (2):
  breakpad.bbclass: set includedir in CXXFLAGS
  breakpad: update to latest svn

 meta-oe/classes/breakpad.bbclass  | 1 +
 meta-oe/recipes-devtools/breakpad/breakpad_svn.bb | 5 +++--
 2 files changed, 4 insertions(+), 2 deletions(-)

-- 
2.0.0.rc0

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


[oe] [meta-oe][PATCH 1/2] breakpad.bbclass: set includedir in CXXFLAGS

2014-04-23 Thread Anders Darander
Previously this was only set in CFLAGS.
An build issue was discovered while convering in internal application
from Qt4 to Qt5. As a result of this, the required header files were
no longer found, until we also set CXXFLAGS.

Signed-off-by: Anders Darander 
---
 meta-oe/classes/breakpad.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/classes/breakpad.bbclass b/meta-oe/classes/breakpad.bbclass
index 8c49ca7..e4d6808 100644
--- a/meta-oe/classes/breakpad.bbclass
+++ b/meta-oe/classes/breakpad.bbclass
@@ -5,6 +5,7 @@
 DEPENDS += "breakpad breakpad-native"
 
 CFLAGS += "-I${STAGING_DIR_TARGET}${includedir}/breakpad "
+CXXFLAGS += "-I${STAGING_DIR_TARGET}${includedir}/breakpad "
 
 BREAKPAD_BIN ?= ""
 
-- 
2.0.0.rc0

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


[oe] [meta-networking][PATCH] ntp : Convert libcap use from PACKAGECONFIG to hard DEPEND.

2014-04-23 Thread Philip Balister
If ntp is built without libcap, it refuses to start with the following
message:

Starting ntpd: /usr/sbin/ntpd: The ``user'' option has been disabled -- built
without --enable-clockctl or --enable-linuxcaps
ntpd - NTP daemon program - Ver. 4.2.6p5
USAGE:  ntpd [ - [] | --[{=| }] ]...

Signed-off-by: Philip Balister 
---
 meta-networking/recipes-support/ntp/ntp.inc | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta-networking/recipes-support/ntp/ntp.inc 
b/meta-networking/recipes-support/ntp/ntp.inc
index 9c3e0d1..b8e9853 100644
--- a/meta-networking/recipes-support/ntp/ntp.inc
+++ b/meta-networking/recipes-support/ntp/ntp.inc
@@ -29,20 +29,21 @@ inherit autotools update-rc.d useradd systemd
 
 # The ac_cv_header_readline_history is to stop ntpdc depending on either
 # readline or curses
-EXTRA_OECONF += "--with-net-snmp-config=no --without-ntpsnmpd 
ac_cv_header_readline_history_h=no --with-binsubdir=sbin"
+EXTRA_OECONF += "--with-net-snmp-config=no --without-ntpsnmpd 
ac_cv_header_readline_history_h=no --with-binsubdir=sbin --enable-linuxcaps"
 CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
 
 USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ntp \
--shell /bin/false --user-group ntp"
 
+DEPEND = "libcap"
+
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \
   --with-openssl-incdir=${STAGING_INCDIR} \
   --with-crypto, \
   --without-openssl --without-crypto, \
   openssl"
-PACKAGECONFIG[cap] = "--enable-linuxcaps,--disable-linuxcaps,libcap"
 PACKAGECONFIG[readline] = "--with-lineeditlibs,--without-lineeditlibs,readline"
 
 do_install_append() {
-- 
1.9.0

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


Re: [oe] [meta-networking][PATCH] ntp : Convert libcap use from PACKAGECONFIG to hard DEPEND.

2014-04-23 Thread Phil Blundell
On Wed, 2014-04-23 at 06:09 -0700, Philip Balister wrote:
> If ntp is built without libcap, it refuses to start with the following
> message:
> 
> Starting ntpd: /usr/sbin/ntpd: The ``user'' option has been disabled -- built
> without --enable-clockctl or --enable-linuxcaps

Aside from the DEPEND thing, wouldn't it be better to just avoid the
"--user" option if building without libcap?

p.


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


Re: [oe] [meta-oe][PATCH 2/3] gpsd: Add mirror site

2014-04-23 Thread Paul Eggleton
Hi there,

On Wednesday 23 April 2014 20:18:47 Changhyeok Bae wrote:
> * The SRC_URI is not accessible.
>   So need to add mirror site referred by the original site.
> * The problem is that
>   http://download.savannah.nongnu.org/releases redirects to closest mirror
>   and few mirrors (e.g. .jp) weren't working correctly while
>   http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.
> 
> Signed-off-by: Changhyeok Bae 
> ---
>  meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb |2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
> b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb index 97f3354..c1b7525 100644
> --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
> +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
> @@ -22,6 +22,8 @@ SRC_URI =
> "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
> SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98"
>  SRC_URI[sha256sum] =
> "7800c478ee9d7ca7a502b0f892828561b1fbf7bc69d9d38c447c82c3628302ac"
> 
> ++MIRRORS += "http://download.savannah.gnu.org/releases/
> http://download-mirror.savannah.gnu.org/releases/ \n" +
>  inherit scons update-rc.d python-dir pythonnative systemd
> 
>  INITSCRIPT_NAME = "gpsd"

Sorry, but did you test these patches? For all three there seems to be no 
space between the source and target in the MIRROR value, and this one has an 
additional leading + that should not be there.

Cheers,
Paul

-- 

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


Re: [oe] [meta-oe][PATCH 1/3] fim: Add mirror site

2014-04-23 Thread Martin Jansa
On Wed, Apr 23, 2014 at 08:18:46PM +0900, Changhyeok Bae wrote:
> * The SRC_URI is not accessible.
>   So need to add mirror site referred by the original site.
> * The problem is that
>   http://download.savannah.nongnu.org/releases redirects to closest mirror
>   and few mirrors (e.g. .jp) weren't working correctly while
>   http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.
> 

at this point I think we should add variable for
http://savannah.nongnu.org and add this MIRROR setting globally:
meta/recipes-devtools/dmidecode/dmidecode_2.12.bb:SRC_URI = 
"http://savannah.nongnu.org/download/dmidecode/${BP}.tar.bz2";
meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb:SRC_URI = 
"http://savannah.nongnu.org/download/${BPN}/${BPN}-${PV}.tar.gz \
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb:SRC_URI = 
"http://savannah.nongnu.org/download/fluid/${P}.tar.gz";
meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb:SRC_URI = 
"http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV}.tar.gz \
meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb:SRC_URI = 
"http://download.savannah.nongnu.org/releases/hddtemp/hddtemp-0.3-beta15.tar.bz2
 \
meta-oe/recipes-support/libunwind/libunwind.inc:SRC_URI = 
"http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz";

we have also couple of recipes referencing gnu.org version:
meta-networking/recipes-protocols/quagga/quagga.inc:SRC_URI = 
"http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagga-${PV}.tar.gz;name=quagga-${PV}
 \
meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb:SRC_URI = 
"http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
meta-oe/recipes-support/lzip/lzip_1.14.bb:SRC_URI = 
"http://download.savannah.gnu.org/releases/lzip/lzip-${PV}.tar.gz";
meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb:SRC_URI = 
"http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV}.tar.bz2
 \
meta/recipes-devtools/quilt/quilt-0.61.inc:SRC_URI = 
"http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
meta/recipes-extended/ed/ed_0.5.bb:SRC_URI = 
"http://download.savannah.gnu.org/releases-noredirect/ed/ed-${PV}.tar.bz2";
meta/recipes-extended/texi2html/texi2html_5.0.bb:SRC_URI = 
"http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \
meta/recipes-support/attr/acl.inc:SRC_URI = 
"http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz \
meta/recipes-support/attr/attr.inc:SRC_URI = 
"http://download.savannah.gnu.org/releases/attr/${BP}.src.tar.gz \

> Signed-off-by: Changhyeok Bae 
> ---
>  meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb |2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb 
> b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> index 6e5000b..c6537ac 100644
> --- a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> +++ b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> @@ -16,6 +16,8 @@ SRC_URI = 
> "http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV
>  SRC_URI[md5sum] = "d7362dde5541c2b6439c35c6e2bd5046"
>  SRC_URI[sha256sum] = 
> "3f6bf2de2952b9adcbeb3db12c2a979e999a81dd1e314a03bc58e24f1ea9f686"
>  
> +MIRRORS += "http://download.savannah.nongnu.org/releases/ 
> http://download-mirror.savannah.gnu.org/releases/ \n"
> +
>  PARALLEL_MAKE = ""
>  
>  inherit autotools
> -- 
> 1.7.9.5
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [meta-networking][PATCH] ntp : Convert libcap use from PACKAGECONFIG to hard DEPEND.

2014-04-23 Thread Martin Jansa
On Wed, Apr 23, 2014 at 06:09:36AM -0700, Philip Balister wrote:
> If ntp is built without libcap, it refuses to start with the following
> message:
> 

Why don't you just add cap to default PACKAGECONFIG? someone can add
PACKAGECONFIG for clockctl later and use that instead of linuxcaps.

> Starting ntpd: /usr/sbin/ntpd: The ``user'' option has been disabled -- built
> without --enable-clockctl or --enable-linuxcaps
> ntpd - NTP daemon program - Ver. 4.2.6p5
> USAGE:  ntpd [ - [] | --[{=| }] ]...
> 
> Signed-off-by: Philip Balister 
> ---
>  meta-networking/recipes-support/ntp/ntp.inc | 5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/meta-networking/recipes-support/ntp/ntp.inc 
> b/meta-networking/recipes-support/ntp/ntp.inc
> index 9c3e0d1..b8e9853 100644
> --- a/meta-networking/recipes-support/ntp/ntp.inc
> +++ b/meta-networking/recipes-support/ntp/ntp.inc
> @@ -29,20 +29,21 @@ inherit autotools update-rc.d useradd systemd
>  
>  # The ac_cv_header_readline_history is to stop ntpdc depending on either
>  # readline or curses
> -EXTRA_OECONF += "--with-net-snmp-config=no --without-ntpsnmpd 
> ac_cv_header_readline_history_h=no --with-binsubdir=sbin"
> +EXTRA_OECONF += "--with-net-snmp-config=no --without-ntpsnmpd 
> ac_cv_header_readline_history_h=no --with-binsubdir=sbin --enable-linuxcaps"
>  CFLAGS_append = " -DPTYS_ARE_GETPT -DPTYS_ARE_SEARCHED"
>  
>  USERADD_PACKAGES = "${PN}"
>  USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ntp \
> --shell /bin/false --user-group ntp"
>  
> +DEPEND = "libcap"
> +
>  PACKAGECONFIG ??= ""
>  PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \
>--with-openssl-incdir=${STAGING_INCDIR} \
>--with-crypto, \
>--without-openssl --without-crypto, \
>openssl"
> -PACKAGECONFIG[cap] = "--enable-linuxcaps,--disable-linuxcaps,libcap"
>  PACKAGECONFIG[readline] = 
> "--with-lineeditlibs,--without-lineeditlibs,readline"
>  
>  do_install_append() {
> -- 
> 1.9.0
> 
> -- 
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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


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


Re: [oe] [meta-perl][PATCH v2 01/10] libmodule-metadata-perl: add 1.000019

2014-04-23 Thread Tim Orling
--Turns out to not be quite so simple. Module::Metadata is not ever being
created by perl_*.bb. This is somewhat surprising because Module::Build
needs Module::Metadata and this has been missed in
Cross/configure.sh-arm-linux since perl v5.13.9.
--You can verify this by running "perl -mModule::Build" on qemuarm/arm
target.
--I am working on a patch for oe-core.


On Sun, Apr 20, 2014 at 8:13 PM, Hongxu Jia wrote:

> On 04/21/2014 11:05 AM, Hongxu Jia wrote:
>
>> On 04/21/2014 11:01 AM, Tim Orling wrote:
>>
>>> On Sun, Apr 20, 2014 at 7:17 PM, Hongxu Jia 
>>> wrote:
>>>
>>>  On 04/21/2014 04:19 AM, Tim Orling wrote:

  (1) I am thinking about dropping this patch. perl-native provides
> Module::Metadata 1.4, so if subsequent packages are being
> cross-compiled I have not yet proven there is a need for the updated
> v1.19 provided here.
>
> (2) The question is, if one wanted to build subsequent packages
> in-situ,
> how to provide Module::Metadata 1.4 on a target system, since it is
> only provided by perl-native?
>
>  It is also provided by perl, for target.

 //Hongxu


  I am not seeing it. Am I missing something?
>>>
>>
>>
>> Hi Tim,
>>
>> I am afraid Module::Metadataj is not in perl by default, you need
>> to tweak poky/meta/recipes-devtools/perl/perl_5.14.3.bb, to create
>> a new package for Module::Metadata, you could reference what
>> 'perl-module-cpan' did, such as:
>> ...
>> PACKAGES += "perl-module-metadata"
>> FILES_perl-module-metadata += ">>the files you need<<"
>> ...
>>
>
> You also need tweak do_install, to install Metadata.pm from ${S}
> to ${D}, the default do_install did not do that.
>
> //Hongxu
>
>
>
>> And add 'perl-module-metadata' to your recipes's RDEPENDS.
>>
>> //Hongxu
>>
>>
>>> root@beaglebone:~# perl -mModule::Metadata
>>>
>>> Can't locate Module/Metadata.pm in @INC (@INC contains: /etc/perl
>>> /usr/lib/perl/site_perl/5.14.3/ /usr/lib/perl/site_perl/5.14.3
>>> /usr/lib/perl/vendor_perl/5.14.3/ /usr/lib/perl/vendor_perl/5.14.3
>>> /usr/lib/perl/5.14.3/ /usr/lib/perl/5.14.3 /usr/local/lib/site_perl
>>> /usr/lib/perl/5.14.3 .).
>>>
>>> BEGIN failed--compilation aborted.
>>>
>>>  --Tim
> --
>
>  --
 ___
 Openembedded-devel mailing list
 Openembedded-devel@lists.openembedded.org
 http://lists.openembedded.org/mailman/listinfo/openembedded-devel


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


Re: [oe] [PATCH V2 1/4] postgresql: add init script and DESCRIPTION

2014-04-23 Thread Martin Jansa
On Tue, Apr 22, 2014 at 03:07:25PM +0800, Chong Lu wrote:
> 1. Add DESCRIPTION
> 2. Add init script for starting up the PostgreSQL server.
> 3. Disable krb5 by default
> 
> Signed-off-by: Chong Lu 
> ---
>  .../postgresql/files/postgresql-bashprofile|4 +
>  .../postgresql/files/postgresql.init   |  241 
> 
>  meta-oe/recipes-support/postgresql/postgresql.inc  |   63 -
>  3 files changed, 303 insertions(+), 5 deletions(-)
>  create mode 100644 
> meta-oe/recipes-support/postgresql/files/postgresql-bashprofile
>  create mode 100644 meta-oe/recipes-support/postgresql/files/postgresql.init
> 
> diff --git a/meta-oe/recipes-support/postgresql/files/postgresql-bashprofile 
> b/meta-oe/recipes-support/postgresql/files/postgresql-bashprofile
> new file mode 100644
> index 000..1c931f3
> --- /dev/null
> +++ b/meta-oe/recipes-support/postgresql/files/postgresql-bashprofile
> @@ -0,0 +1,4 @@
> +[ -f /etc/profile ] && source /etc/profile
> +
> +PGDATA=/var/lib/postgresql/data
> +export PGDATA
> diff --git a/meta-oe/recipes-support/postgresql/files/postgresql.init 
> b/meta-oe/recipes-support/postgresql/files/postgresql.init
> new file mode 100644
> index 000..ab46477
> --- /dev/null
> +++ b/meta-oe/recipes-support/postgresql/files/postgresql.init
> @@ -0,0 +1,241 @@
> +#!/bin/sh
> +#
> +# postgresql This is the init script for starting up the PostgreSQL
> +#server.
> +#
> +# chkconfig: - 64 36
> +# description: PostgreSQL database server.
> +# processname: postmaster
> +# pidfile: /var/run/postmaster.PORT.pid
> +
> +# This script is slightly unusual in that the name of the daemon (postmaster)
> +# is not the same as the name of the subsystem (postgresql)
> +
> +# PGVERSION is the full package version, e.g., 8.4.0
> +# Note: the specfile inserts the correct value during package build
> +PGVERSION=9.2.4
> +# PGMAJORVERSION is major version, e.g., 8.4 (this should match PG_VERSION)
> +PGMAJORVERSION=`echo "$PGVERSION" | sed 's/^\([0-9]*\.[0-9]*\).*$/\1/'`
> +
> +# Source function library.
> +. /etc/init.d/functions
> +
> +# Find the name of the script
> +NAME=`basename $0`
> +if [ ${NAME:0:1} = "S" -o ${NAME:0:1} = "K" ]
> +then
> + NAME=${NAME:3}
> +fi
> +
> +# For SELinux we need to use 'runuser' not 'su'
> +if [ -x /sbin/runuser ]
> +then
> +SU=runuser
> +else
> +SU=su
> +fi
> +
> +
> +# Set defaults for configuration variables
> +PGENGINE=/usr/bin
> +PGPORT=5432
> +PGDATA=/var/lib/postgresql/data
> +PGLOG=/var/lib/postgresql/pgstartup.log
> +# Value to set as postmaster process's oom_adj
> +PG_OOM_ADJ=-17
> +
> +# Override defaults from /etc/sysconfig/postgresql if file is present
> +[ -f /etc/default/postgresql/${NAME} ] && . /etc/default/postgresql/${NAME}
> +
> +export PGDATA
> +export PGPORT
> +
> +lockfile="/var/lock/subsys/${NAME}"
> +pidfile="/var/run/postmaster.${PGPORT}.pid"
> +
> +script_result=0
> +
> +start(){
> + [ -x "$PGENGINE/postmaster" ] || exit 5
> +
> + PSQL_START=$"Starting ${NAME} service: "
> +
> + # Make sure startup-time log file is valid
> + if [ ! -e "$PGLOG" -a ! -h "$PGLOG" ]
> + then
> + touch "$PGLOG" || exit 4
> + chown postgres:postgres "$PGLOG"
> + chmod go-rwx "$PGLOG"
> + [ -x /sbin/restorecon ] && /sbin/restorecon "$PGLOG"
> + fi
> +
> + # Check for the PGDATA structure
> + if [ -f "$PGDATA/PG_VERSION" ] && [ -d "$PGDATA/base" ]
> + then
> + # Check version of existing PGDATA
> + if [ x`cat "$PGDATA/PG_VERSION"` != x"$PGMAJORVERSION" ]
> + then
> + SYSDOCDIR="(Your System's documentation directory)"
> + if [ -d "/usr/doc/postgresql-$PGVERSION" ]
> + then
> + SYSDOCDIR=/usr/doc
> + fi
> + if [ -d "/usr/share/doc/postgresql-$PGVERSION" ]
> + then
> + SYSDOCDIR=/usr/share/doc
> + fi
> + if [ -d "/usr/doc/packages/postgresql-$PGVERSION" ]
> + then
> + SYSDOCDIR=/usr/doc/packages
> + fi
> + if [ -d "/usr/share/doc/packages/postgresql-$PGVERSION" 
> ]
> + then
> + SYSDOCDIR=/usr/share/doc/packages
> + fi
> + echo
> + echo $"An old version of the database format was found."
> + echo $"You need to upgrade the data format before using 
> PostgreSQL."
> + echo $"See 
> $SYSDOCDIR/postgresql-$PGVERSION/README.rpm-dist for more information."
> + exit 1
> + fi
> + else
> + # No existing PGDATA! Warn the user to initdb it.
> + echo
> +echo "$PGDATA is missing. Use \"service postgr

[oe] [meta-networking][PATCHv2] ntp : Add cap to default PACKAGECONFIG options.

2014-04-23 Thread Philip Balister
If ntp is built without libcap, it refuses to start with the following
message:

Starting ntpd: /usr/sbin/ntpd: The ``user'' option has been disabled -- built
without --enable-clockctl or --enable-linuxcaps
ntpd - NTP daemon program - Ver. 4.2.6p5
USAGE:  ntpd [ - [] | --[{=| }] ]...

By adding cap to the PACKAGECONFIG the default runs. In the
future, someone could add an option for using clockctl.

Signed-off-by: Philip Balister 
---
 meta-networking/recipes-support/ntp/ntp.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta-networking/recipes-support/ntp/ntp.inc 
b/meta-networking/recipes-support/ntp/ntp.inc
index 9c3e0d1..9861fd8 100644
--- a/meta-networking/recipes-support/ntp/ntp.inc
+++ b/meta-networking/recipes-support/ntp/ntp.inc
@@ -36,7 +36,7 @@ USERADD_PACKAGES = "${PN}"
 USERADD_PARAM_${PN} = "--system --home-dir /var/lib/ntp \
--shell /bin/false --user-group ntp"
 
-PACKAGECONFIG ??= ""
+PACKAGECONFIG ??= "cap"
 PACKAGECONFIG[openssl] = "--with-openssl-libdir=${STAGING_LIBDIR} \
   --with-openssl-incdir=${STAGING_INCDIR} \
   --with-crypto, \
-- 
1.9.0

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


[oe] [meta-gnome][PATCH] gnome-control-center: Unbreak gnome images

2014-04-23 Thread Khem Raj
images that now include both shared-mime-info and gnome-control-center We get

Collected errors:
 * check_data_file_clashes: Package gnome-control-center wants to
 * install file
 * 
/home/kraj/work/angstrom-repo/build/tmp-angstrom_next-eglibc/work/beaglebone-angstrom-linux-gnueabi/systemd-gnome-image/1.0-r0/rootfs/usr/share/mime/generic-icons
But that file is already provided by package  * shared-mime-info

This brings it back to wheree it was additionally removes the packaging
warnings

Signed-off-by: Khem Raj 
---
 .../recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git 
a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb 
b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb
index ee25c1e..05e59cd 100644
--- 
a/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb
+++ 
b/meta-gnome/recipes-gnome/gnome-control-center/gnome-control-center_2.32.1.bb
@@ -16,13 +16,15 @@ LDFLAGS += "-lgthread-2.0 -lxml2"
 do_configure_prepend() {
 sed -i s:help::g Makefile.am
 }
+do_install_append() {
+rm -rf ${D}${datadir}/mime
+}
 
 FILES_${PN} += "${datadir}/icon* \
 ${datadir}/xsession* \
 ${libdir}/window-manager-settings/*.so \
 ${datadir}/gnome \
 ${datadir}/desktop-directories \
-${datadir}/mime \
 "
 FILES_${PN}-dbg += "${libdir}/window-manager-settings/.debug"
 FILES_${PN}-dev += "${libdir}/window-manager-settings/*.la"
-- 
1.9.2

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


Re: [oe] [meta-oe][PATCH 2/3] gpsd: Add mirror site

2014-04-23 Thread Changhyeok Bae
Hi,

1. There is space between the source and target in the value.
2. Sorry, I should remove the leading +.
However, need to ignore these patches because of martin's comment.

-Original Message-
From: Paul Eggleton [mailto:paul.eggle...@linux.intel.com] 
Sent: Wednesday, April 23, 2014 11:37 PM
To: Changhyeok Bae
Cc: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH 2/3] gpsd: Add mirror site

Hi there,

On Wednesday 23 April 2014 20:18:47 Changhyeok Bae wrote:
> * The SRC_URI is not accessible.
>   So need to add mirror site referred by the original site.
> * The problem is that
>   http://download.savannah.nongnu.org/releases redirects to closest mirror
>   and few mirrors (e.g. .jp) weren't working correctly while
>   http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.
> 
> Signed-off-by: Changhyeok Bae 
> ---
>  meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb |2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
> b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb index 97f3354..c1b7525 
> 100644
> --- a/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
> +++ b/meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb
> @@ -22,6 +22,8 @@ SRC_URI =
> "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \ 
> SRC_URI[md5sum] = "52d9785eaf1a51298bb8900dbde88f98"
>  SRC_URI[sha256sum] =
> "7800c478ee9d7ca7a502b0f892828561b1fbf7bc69d9d38c447c82c3628302ac"
> 
> ++MIRRORS += "http://download.savannah.gnu.org/releases/
> http://download-mirror.savannah.gnu.org/releases/ \n" +  inherit scons 
> update-rc.d python-dir pythonnative systemd
> 
>  INITSCRIPT_NAME = "gpsd"

Sorry, but did you test these patches? For all three there seems to be no
space between the source and target in the MIRROR value, and this one has an
additional leading + that should not be there.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre

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


Re: [oe] [meta-oe][PATCH 1/3] fim: Add mirror site

2014-04-23 Thread Changhyeok Bae
Hi,

I agree with your opinion.
However there is no mirror classes in meta-oe.
Is it fine to add the mirror site to oe-core/meta/classes/mirrors.bbclass?

-Original Message-
From: openembedded-devel-boun...@lists.openembedded.org
[mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
Martin Jansa
Sent: Wednesday, April 23, 2014 11:45 PM
To: openembedded-devel@lists.openembedded.org
Subject: Re: [oe] [meta-oe][PATCH 1/3] fim: Add mirror site

On Wed, Apr 23, 2014 at 08:18:46PM +0900, Changhyeok Bae wrote:
> * The SRC_URI is not accessible.
>   So need to add mirror site referred by the original site.
> * The problem is that
>   http://download.savannah.nongnu.org/releases redirects to closest mirror
>   and few mirrors (e.g. .jp) weren't working correctly while
>   http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.
> 

at this point I think we should add variable for http://savannah.nongnu.org
and add this MIRROR setting globally:
meta/recipes-devtools/dmidecode/dmidecode_2.12.bb:SRC_URI =
"http://savannah.nongnu.org/download/dmidecode/${BP}.tar.bz2";
meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb:SRC_URI =
"http://savannah.nongnu.org/download/${BPN}/${BPN}-${PV}.tar.gz \
meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb:SRC_URI =
"http://savannah.nongnu.org/download/fluid/${P}.tar.gz";
meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb:SRC_URI =
"http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV}.tar.
gz \ meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb:SRC_URI =
"http://download.savannah.nongnu.org/releases/hddtemp/hddtemp-0.3-beta15.tar
.bz2 \ meta-oe/recipes-support/libunwind/libunwind.inc:SRC_URI =
"http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz";

we have also couple of recipes referencing gnu.org version:
meta-networking/recipes-protocols/quagga/quagga.inc:SRC_URI =
"http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagga-${PV
}.tar.gz;name=quagga-${PV} \
meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb:SRC_URI =
"http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
meta-oe/recipes-support/lzip/lzip_1.14.bb:SRC_URI =
"http://download.savannah.gnu.org/releases/lzip/lzip-${PV}.tar.gz";
meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb:SRC_URI =
"http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV
}.tar.bz2 \ meta/recipes-devtools/quilt/quilt-0.61.inc:SRC_URI =
"http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
meta/recipes-extended/ed/ed_0.5.bb:SRC_URI =
"http://download.savannah.gnu.org/releases-noredirect/ed/ed-${PV}.tar.bz2";
meta/recipes-extended/texi2html/texi2html_5.0.bb:SRC_URI =
"http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \
meta/recipes-support/attr/acl.inc:SRC_URI =
"http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz \
meta/recipes-support/attr/attr.inc:SRC_URI =
"http://download.savannah.gnu.org/releases/attr/${BP}.src.tar.gz \

> Signed-off-by: Changhyeok Bae 
> ---
>  meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb |2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb 
> b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> index 6e5000b..c6537ac 100644
> --- a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> +++ b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> @@ -16,6 +16,8 @@ SRC_URI = 
> "http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV
>  SRC_URI[md5sum] = "d7362dde5541c2b6439c35c6e2bd5046"
>  SRC_URI[sha256sum] =
"3f6bf2de2952b9adcbeb3db12c2a979e999a81dd1e314a03bc58e24f1ea9f686"
>  
> +MIRRORS += "http://download.savannah.nongnu.org/releases/
http://download-mirror.savannah.gnu.org/releases/ \n"
> +
>  PARALLEL_MAKE = ""
>  
>  inherit autotools
> --
> 1.7.9.5
> 
> --
> ___
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

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

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


Re: [oe] [meta-oe][PATCH 1/3] fim: Add mirror site

2014-04-23 Thread Martin Jansa
On Thu, Apr 24, 2014 at 08:51:49AM +0900, Changhyeok Bae wrote:
> Hi,
> 
> I agree with your opinion.
> However there is no mirror classes in meta-oe.
> Is it fine to add the mirror site to oe-core/meta/classes/mirrors.bbclass?

Yes, sorry I wasn't clear, that's where I think the variables should be
introduced (bitbake.conf) and mirrors added (mirrors.bbclass), then you
would need 1 patch for oe-core and 1 for meta-oe to use these new
variables consistently from SRC_URI.

e.g. http://savannah.nongnu.org/download/dmidecode
seems to be he same as
http://download.savannah.nongnu.org/releases/dmidecode

and releases-noredirect is probably just work around for issues like
this non-working .jp mirror and you should be able to unify them all to
use just 2 variables (gnu and nongnu URL).

> -Original Message-
> From: openembedded-devel-boun...@lists.openembedded.org
> [mailto:openembedded-devel-boun...@lists.openembedded.org] On Behalf Of
> Martin Jansa
> Sent: Wednesday, April 23, 2014 11:45 PM
> To: openembedded-devel@lists.openembedded.org
> Subject: Re: [oe] [meta-oe][PATCH 1/3] fim: Add mirror site
> 
> On Wed, Apr 23, 2014 at 08:18:46PM +0900, Changhyeok Bae wrote:
> > * The SRC_URI is not accessible.
> >   So need to add mirror site referred by the original site.
> > * The problem is that
> >   http://download.savannah.nongnu.org/releases redirects to closest mirror
> >   and few mirrors (e.g. .jp) weren't working correctly while
> >   http://download-mirror.savannah.gnu.org/releases/ seems to be reliable.
> > 
> 
> at this point I think we should add variable for http://savannah.nongnu.org
> and add this MIRROR setting globally:
> meta/recipes-devtools/dmidecode/dmidecode_2.12.bb:SRC_URI =
> "http://savannah.nongnu.org/download/dmidecode/${BP}.tar.bz2";
> meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb:SRC_URI =
> "http://savannah.nongnu.org/download/${BPN}/${BPN}-${PV}.tar.gz \
> meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_1.1.1.bb:SRC_URI =
> "http://savannah.nongnu.org/download/fluid/${P}.tar.gz";
> meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb:SRC_URI =
> "http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV}.tar.
> gz \ meta-oe/recipes-support/hddtemp/hddtemp_0.3-beta15.bb:SRC_URI =
> "http://download.savannah.nongnu.org/releases/hddtemp/hddtemp-0.3-beta15.tar
> .bz2 \ meta-oe/recipes-support/libunwind/libunwind.inc:SRC_URI =
> "http://download.savannah.nongnu.org/releases/${BPN}/${BPN}-${PV}.tar.gz";
> 
> we have also couple of recipes referencing gnu.org version:
> meta-networking/recipes-protocols/quagga/quagga.inc:SRC_URI =
> "http://download.savannah.gnu.org/releases/quagga${QUAGGASUBDIR}/quagga-${PV
> }.tar.gz;name=quagga-${PV} \
> meta-oe/recipes-navigation/gpsd/gpsd_3.7.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases/${PN}/${P}.tar.gz \
> meta-oe/recipes-support/lzip/lzip_1.14.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases/lzip/lzip-${PV}.tar.gz";
> meta/recipes-core/sysvinit/sysvinit_2.88dsf.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases-noredirect/sysvinit/sysvinit-${PV
> }.tar.bz2 \ meta/recipes-devtools/quilt/quilt-0.61.inc:SRC_URI =
> "http://download.savannah.gnu.org/releases/quilt/quilt-${PV}.tar.gz \
> meta/recipes-extended/ed/ed_0.5.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases-noredirect/ed/ed-${PV}.tar.bz2";
> meta/recipes-extended/texi2html/texi2html_5.0.bb:SRC_URI =
> "http://download.savannah.gnu.org/releases/texi2html/${BPN}-${PV}.tar.bz2 \
> meta/recipes-support/attr/acl.inc:SRC_URI =
> "http://download.savannah.gnu.org/releases/acl/${BP}.src.tar.gz \
> meta/recipes-support/attr/attr.inc:SRC_URI =
> "http://download.savannah.gnu.org/releases/attr/${BP}.src.tar.gz \
> 
> > Signed-off-by: Changhyeok Bae 
> > ---
> >  meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb |2 ++
> >  1 file changed, 2 insertions(+)
> > 
> > diff --git a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb 
> > b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> > index 6e5000b..c6537ac 100644
> > --- a/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> > +++ b/meta-oe/recipes-graphics/fim/fim_0.4-rc1.bb
> > @@ -16,6 +16,8 @@ SRC_URI = 
> > "http://download.savannah.nongnu.org/releases/fbi-improved/${BPN}-${PV
> >  SRC_URI[md5sum] = "d7362dde5541c2b6439c35c6e2bd5046"
> >  SRC_URI[sha256sum] =
> "3f6bf2de2952b9adcbeb3db12c2a979e999a81dd1e314a03bc58e24f1ea9f686"
> >  
> > +MIRRORS += "http://download.savannah.nongnu.org/releases/
> http://download-mirror.savannah.gnu.org/releases/ \n"
> > +
> >  PARALLEL_MAKE = ""
> >  
> >  inherit autotools
> > --
> > 1.7.9.5
> > 
> > --
> > ___
> > Openembedded-devel mailing list
> > Openembedded-devel@lists.openembedded.org
> > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> -- 
> Martin 'JaMa' Jansa jabber: martin.ja...@gmail.com
> 

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


signature.asc
Description: Digital signature

[oe] [meta-oe][PATCH 1/2] fftw: Build native version as well

2014-04-23 Thread Khem Raj
imagemagick-native needs it

Signed-off-by: Khem Raj 
---
 meta-oe/recipes-support/fftw/fftw_3.3.4.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-support/fftw/fftw_3.3.4.bb 
b/meta-oe/recipes-support/fftw/fftw_3.3.4.bb
index 5824d41..990f01e 100644
--- a/meta-oe/recipes-support/fftw/fftw_3.3.4.bb
+++ b/meta-oe/recipes-support/fftw/fftw_3.3.4.bb
@@ -2,3 +2,5 @@ require fftw.inc
 
 SRC_URI[md5sum] = "2edab8c06b24feeb3b82bbb3ebf3e7b3"
 SRC_URI[sha256sum] = 
"8f0cde90929bc05587c3368d2f15cd0530a60b8a9912a8e2979a72dbe5af0982"
+
+BBCLASSEXTEND = "native"
-- 
1.9.2

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


[oe] [meta-oe][PATCH 2/2] imagemagick: Update to 6.8.8

2014-04-23 Thread Khem Raj
Add ImageMagick to known licenses
The license checksum is changed due to year change in license text

--- LICENSE 2013-11-18 05:03:16.0 -0800
+++ ../../6.8.6-r0/ImageMagick-6.8.6-10/LICENSE 2012-12-07
05:14:16.0 -0800
@@ -38,7 +38,7 @@

 The legally binding and authoritative terms and conditions for use,
reproduction, and distribution of ImageMagick follow:

-Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.
+Copyright 1999-2013 ImageMagick Studio LLC, a non-profit organization
dedicated to making software imaging solutions freely available.

 1. Definitions.

Add suffix .im6 to binaries, this avoids conflicts with other packages
e.g. lmbench provides stream utility and imagemagick does too so when
both packages are being part of image we have conflicts. This resolves
it by renaming stream to stream.im6 to make it distinct

Signed-off-by: Khem Raj 
---
 meta-oe/licenses/ImageMagick   | 103 +
 .../remove.dist-lzip.patch |   0
 .../{imagemagick_6.8.6.bb => imagemagick_6.8.8.bb} |   8 +-
 3 files changed, 107 insertions(+), 4 deletions(-)
 create mode 100644 meta-oe/licenses/ImageMagick
 rename meta-oe/recipes-support/imagemagick/{imagemagick-6.8.6 => 
imagemagick}/remove.dist-lzip.patch (100%)
 rename meta-oe/recipes-support/imagemagick/{imagemagick_6.8.6.bb => 
imagemagick_6.8.8.bb} (80%)

diff --git a/meta-oe/licenses/ImageMagick b/meta-oe/licenses/ImageMagick
new file mode 100644
index 000..9141668
--- /dev/null
+++ b/meta-oe/licenses/ImageMagick
@@ -0,0 +1,103 @@
+Before we get to the text of the license, lets just review what the license 
says in simple terms:
+
+It allows you to:
+
+  * freely download and use ImageMagick software, in whole or in part, for 
personal, company internal, or commercial purposes;
+  * use ImageMagick software in packages or distributions that you create;
+  * link against a library under a different license;
+  * link code under a different license against a library under this license;
+  * merge code into a work under a different license;
+  * extend patent grants to any code using code under this license;
+  * and extend patent protection.
+
+It forbids you to:
+
+  * redistribute any piece of ImageMagick-originated software without proper 
attribution;
+  * use any marks owned by ImageMagick Studio LLC in any way that might state 
or imply that ImageMagick Studio LLC endorses your distribution;
+  * use any marks owned by ImageMagick Studio LLC in any way that might state 
or imply that you created the ImageMagick software in question.
+
+It requires you to:
+
+  * include a copy of the license in any redistribution you may make that 
includes ImageMagick software;
+  * provide clear attribution to ImageMagick Studio LLC for any distributions 
that include ImageMagick software.
+
+It does not require you to:
+
+  * include the source of the ImageMagick software itself, or of any 
modifications you may have made to it, in any redistribution you may assemble 
that includes it;
+  * submit changes that you make to the software back to the ImageMagick 
Studio LLC (though such feedback is encouraged).
+
+A few other clarifications include:
+
+  * ImageMagick is freely available without charge;
+  * you may include ImageMagick on a DVD as long as you comply with the terms 
of the license;
+  * you can give modified code away for free or sell it under the terms of the 
ImageMagick license or distribute the result under a different license, but you 
need to acknowledge the use of the ImageMagick software;
+  * the license is compatible with the GPL V3.
+  * when exporting the ImageMagick software, review its export classification.
+
+Terms and Conditions for Use, Reproduction, and Distribution
+
+The legally binding and authoritative terms and conditions for use, 
reproduction, and distribution of ImageMagick follow:
+
+Copyright 1999-2014 ImageMagick Studio LLC, a non-profit organization 
dedicated to making software imaging solutions freely available.
+
+1. Definitions.
+
+License shall mean the terms and conditions for use, reproduction, and 
distribution as defined by Sections 1 through 9 of this document.
+
+Licensor shall mean the copyright owner or entity authorized by the copyright 
owner that is granting the License.
+
+Legal Entity shall mean the union of the acting entity and all other entities 
that control, are controlled by, or are under common control with that entity. 
For the purposes of this definition, control means (i) the power, direct or 
indirect, to cause the direction or management of such entity, whether by 
contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the 
outstanding shares, or (iii) beneficial ownership of such entity.
+
+You (or Your) shall mean an individual or Legal Entity exercising permissions 
granted by this License.
+
+Source form shall mean t