net-snmp: install net-snmp-config script to STAGING_BINDIR_CROSS

This recipe was installing net-snmp-config script to STAGING_BINDIR
instead of STAGING_BINDIR_CROSS, during the do_install. It is not
recommended and must be done after staging.

Changes:
* Remove STAGING_BINDIR manipulations from do_install_append
* Add net_snmp_sysroot_preprocess function instead
* Append net_snmp_sysroot_preprocess to SYSROOT_PREPROCESS_FUNCS

Signed-off-by: Alexandre Fournier <alexandre.fournier@kiplink.fr>
Signed-off-by: Joe MacDonald <joe@deserted.net>
lksctp-tools: add recipe (version 1.0.16)

This recipe comes from arago-oe-dev:
https://github.com/mrchapp/arago-oe-dev/tree/master/recipes/lksctp-tools

Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
netperf: enable SCTP support

Signed-off-by: Mihaela Sendrea <mihaela.sendrea@enea.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
netcat-openbsd: fixup patching

Do the patching in the do_patch phase instead of the compile
phase. That way if the compile phase needs to be rerun
patching isn't attempted a second time.

Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca>
Signed-off-by: Joe MacDonald <joe@deserted.net>
ntp: fix incorrect pidfile handling in ntpd init script

Signed-off-by: Jack Mitchell <jmitchell@cbnl.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
update snort to 2.9.6.0

1. looks like snort dropped reference to barnyard2. At least it's missing in configure.
Also download link to barnyard2 is not available now. Drop this package.
2. update snort version from 2.9.4.6 to 2.9.6.0.
3. fix libdnet paths.

Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
Signed-off-by: Joe MacDonald <joe@deserted.net>
openobex: fix detection of IrDA during configure with B!=S

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
leptonica: add recipe for version 1.7.0

Leptonica is required by tesseract.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
tesseract: add recipe for version 3.02.02

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
tesseract-lang: add recipes for all languages available

One recipe per language, all including the common tesseract-lang.inc
file.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
contrib/tesseract-langs.sh: add script to generate recipes for tesseract languages

This script writes language recipes for tesseract.  It downloads the
listing of available languages and language tarballs from the official
site and writes language recipes tesseract-lang-<lang>_<version>.bb
for each language.

Signed-off-by: Mario Domenech Goulart <mario@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
xfce4-dev-tools: Allow out of tree builds

The xdt-autogen target in the generated scripts/Makefile refers to
a $(srcdir)/xdt-autogen.in file.  For an out-of-tree build, this file
is actually located in $(builddir)/xdt-autogen.in. See [1]

Upstream-Status: Submitted

[1] https://bugzilla.xfce.org/show_bug.cgi?id=10899

Signed-off-by: Ash Charles <ash@gumstix.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
xfce-git: Run autogen.sh in source directory

The autogen.sh script executed by the xfce-git.bbclass needs to be
run in and from the source directory.  The configuration step can
still be run from out-of-tree.

Currently, this affects these recipes:
 * libxfce4ui
 * xarchiver
 * xfce4-taskmanager
 * xfce4-closebutton-plugin
 * xfce4-settings
 * xfwm4

Upstream-Status: Inappropriate (configuration)

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
xfce4-settings: Install cursors from srcdir

Cursors patched into the install by 0001-add-cursor-theme-xfce-invisible.patch
are located in the source directory.  To install during an out-of-tree build,
we need to copy them from the source directory, not the current build
directory. See [1] for discussion.

Upstream-Status: Submitted

[1] https://bugzilla.xfce.org/show_bug.cgi?id=9474

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
xfce4-screenshooter: Ensure lib directory exists.

Screenshooter autogenerates screenshooter-marshal.[ch] in lib/ during
compilation.  The source directory contains a lib/ but this directory
doesn't exist in a build directory by default so we add one manually.
Really, this should be corrected in the upstream package.

Upstream-Status: pending

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
xfce4-notifyd: Ensure xfce4-notifyd subdirectory exists

The notify-dbus.h file is autogenerated during compilation into the
xfce4-notifyd subdirectory.  This directory doesn't exist in an
out-of-tree build so we add one manually.

Upstream-Status: Pending

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
ruby overwrites configuration files in ruby-native

ruby's install rule is calling install-cross, this overwrites files installed
by ruby-native causing build failures with ruby apps, specifically where gems
are involved, especially on hosts where there is no host ruby:

(from sysroot-native's gem)
gem env
 RubyGems Environment:
   - RUBYGEMS VERSION: 1.8.23
   - RUBY VERSION: 1.9.3 (2012-04-20 patchlevel 194) [x86_64-linux]
   - INSTALLATION DIRECTORY: /usr/lib64/ruby/gems/1.9.1
   - RUBY EXECUTABLE: /usr/bin/ruby
   - EXECUTABLE DIRECTORY: /usr/bin
   - RUBYGEMS PLATFORMS:
     - ruby
     - x86_64-linux
   - GEM PATHS:
      - /usr/lib64/ruby/gems/1.9.1
      - /folk/afong/.gem/ruby/1.9.1
   - GEM CONFIGURATION:
      - :update_sources => true
      - :verbose => true
      - :benchmark => false
      - :backtrace => false
      - :bulk_threshold => 1000
   - REMOTE SOURCES:
      - http://rubygems.org/

Files affected - fake.rb, rbconfig.rb, config.h, win32.h and ruby libraries.
We should be using the versions from ruby-native.

Signed-off-by: Amy Fong <amy.fong@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
fluidsynth: fix S!=B errors

Fixes:
: fatal error: fluidsynth/version.h: No such file or directory
|  #include "fluidsynth/version.h"

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
schroedinger: fix S!=B error, rename "files"

Fixes:
 *** No rule to make target
 `[...]/schroedinger/1.0.11-r0/schroedinger-1.0.11/schroedinger/tmp-orc.c',
 needed by `tmp-orc.o'.  Stop.

Rename "files/" to "schroedinger/"

Signed-off-by: Tim Orling <TicoTimo@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
mbuffer: Update to version 20140310 from 20091227

The previous version of mbuffer could not be built out-of-tree and
seems rather old [1].

[1] http://www.maier-komor.de/mbuffer.html

Signed-off-by: Ash Charles <ashcharles@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>