Commit Graph

2028 Commits

Author SHA1 Message Date
Martin Jansa 3d9dabf144 mbuffer: add PACKAGECONFIG for md5
* openssl is autodetected from sysroot
* add PACKAGECONFIG to make it deterministic

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:09 +02:00
Martin Jansa 1880933223 fbida: add dependency on curl libungif tiff
* it's autodetected from sysroot
* GNUMakefile doesn't allow to use PACKAGECONFIG to explicitly disable them

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:09 +02:00
Martin Jansa d4832b9919 loudmouth: add dependency on libidn
* it's autodetected from sysroot and configure doesn't allow
  to disable it explicitly
* feel free to add configure option and PACKAGECONFIG if this
  extra dependency bothers you

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:08 +02:00
Martin Jansa db4e0cacca rrdtool: add PACKAGECONFIG for dbi
* dbi was autodetected from sysroot causing undeterministic builds and failures
  in lmsensors builds:
  ld: warning: libdbi.so.1, needed by sysroots/qemux86/usr/lib/librrd.so,
  not found (try using -rpath or -rpath-link)
  sysroots/qemux86/usr/lib/librrd.so: undefined reference to `dbi_result_get_string_idx'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-30 11:17:08 +02:00
Jonathan Liu 02adda55bb qt-creator: upgrade to 2.8.0
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-24 14:36:05 +02:00
Khem Raj e3be93c053 proxy-libintl: Put .a in -dev package and allow empty main package
This helps in staging the library when it is asked for
via dependencies otherwise its missing in staging sysroot
even though its built its stashed into -staticdev package

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-24 14:32:24 +02:00
Paul Eggleton 957eef8f92 mosh: add new recipe for version 1.2.4
Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-24 14:30:16 +02:00
Paul Eggleton 7785873f73 libio-pty-perl: add from OE-Classic and update
* Update to version 1.10
* Set SUMMARY instead of DESCRIPTION
* Put SRC_URI checksums under SRC_URI
* Add LIC_FILES_CHKSUM
* Make LICENSE slightly more specific and add spacing

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-24 14:30:09 +02:00
Paul Eggleton 54d9e46a44 protobuf: add recipe from meta-virtualization and tweak
* Add proper SUMMARY
* Break long DESCRIPTION onto multiple lines
* Reorder some lines

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-24 14:30:00 +02:00
Martin Jansa 7772add23c vim: add PACKAGECONFIG for acl
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:07:33 +02:00
Martin Jansa 380ac7dc14 libunwind: add PACKAGECONFIG for lzma
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:07:33 +02:00
Martin Jansa e0a1ac93f8 lvm2: add PACKAGECONFIG for readline
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:07:33 +02:00
Martin Jansa 80805b2daa glog: add dependency on libunwind
* it's autodetected from sysroot and configure doesn't have parameter to explicitly
  disable it so PACKAGECONFIG won't work OOTB

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:07:33 +02:00
Martin Jansa 585cd80db4 jack: add dependency on libsaplerate0 and readline
* they are autodetected from sysroot and configure doesn't have option
  to explicitly disable them, so PACKAGECONFIG won't work without improving
  configure

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:07:33 +02:00
Martin Jansa cf3449958c libgphoto2: add configure option for gd and add PACKAGECONFIG
* it's autodetected and pulls couple of other dependencies
  freetype gd libpng lockdev zlib

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:07:30 +02:00
Martin Jansa 337b1bac68 samba: add dependency on zlib popt, PACKAGECONFIG for pam
* zlib, popt are autodetected or used in bundled versions
* pam is autodetected if available

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:04:54 +02:00
Martin Jansa 73c191ca11 samba: use more specific LICENSE
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:04:54 +02:00
Martin Jansa f46afc8821 openldap: convert to PACKAGECONFIGs, explicitly disable openssl
* some options like ldbm weren't supported by current version
* when gnutls and openssl were both available it was picking openssl
  because default --with-tls is auto

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:04:54 +02:00
Martin Jansa e15f15a2dc lcdproc5: add PACKAGECONFIG for libftdi, libusb
* drivers for lis, ula200 and i2500vfd weren't deterministicly enabled

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:04:51 +02:00
chunrong guo 41748a4afc licences: Add iozone3, SMAIL_GPL
*fix the fllowing warning
     |WARNING:debianutils: No generic license file exists for: SMAIL_GPL in any provider
     |WARNING:iozone3: No generic license file exists for: iozone3 in any provider

Signed-off-by: Chunrong Guo <B40290@freescale.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:03:29 +02:00
Jonathan Liu a87cedaca3 llvm3.3: append --enable-zlib to EXTRA_OECONF instead of overwriting
The options added to EXTRA_OECONF in llvm3.inc were being overwritten
with --enable-zlib in llvm3.3_3.3.bb.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-20 17:03:29 +02:00
Martin Jansa c383d62309 llvm3.3: Add zlib dependency and explicitly enable it
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:12:09 +02:00
Martin Jansa e33cb25d59 portaudio: explicitly disable oss, add PACKAGECONFIG for alsa and jack
* autoenabled dependencies on alsa-lib and jack are breaking espeak
  when it's built against portaudio in sysroot without them
  | ld: warning: libasound.so.2, needed by usr/lib/libportaudio.so, not found (try using -rpath or -rpath-link)
  | ld: warning: libjack.so.0, needed by usr/lib/libportaudio.so, not found (try using -rpath or -rpath-link)
  | usr/lib/libportaudio.so: undefined reference to `snd_pcm_sw_params_sizeof@ALSA_0.9'
  | usr/lib/libportaudio.so: undefined reference to `snd_pcm_hw_params_test_period_size@ALSA_0.9'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:02 +02:00
Martin Jansa d048fd049f rsyslog: inherit pkgconfig
* without pkgconfig it's failing to expand PKG_CHECK_MODULES macro:
  | rsyslog-5.8.0/configure: line 16111: syntax error near unexpected token `GNUTLS,'
  | rsyslog-5.8.0/configure: line 16111: `    PKG_CHECK_MODULES(GNUTLS, gnutls >= 1.4.0)'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:02 +02:00
Martin Jansa c1127efaa4 media-ctl: inherit pkgconfig
* without pkgconfig it's failing to expand PKG_CHECK_MODULES macro:
  | media-ctl/0.0.1-r3/git/configure:
    line 11700: syntax error near unexpected token `libudev,'
  | media-ctl/0.0.1-r3/git/configure:
    line 11700: `  PKG_CHECK_MODULES(libudev, libudev, have_libudev=yes, have_libudev=no)'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:02 +02:00
Martin Jansa e2aa5eca92 portaudio: inherit pkgconfig
* without pkgconfig it's failing to expand PKG_CHECK_MODULES macro:
  | portaudio-v19/v19+svnr1387-r0/trunk/configure:
    line 11721: syntax error near unexpected token `JACK,'
  | portaudio-v19/v19+svnr1387-r0/trunk/configure:
    line 11721: `PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)'
  | Configure failed. The contents of all config.log files follows to aid debugging

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:02 +02:00
Martin Jansa 83872967b3 gypsy: add dependency on libxslt-native
* it's incorrectly used in build (and just "o" is used instead of xslt
  command):
  | o gypsy-discovery.xml ../docs/tools/spec-strip-docs.xsl gypsy-discovery-full.xml
  | /bin/bash: o: command not found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:02 +02:00
Martin Jansa dcbadeb68f mysql5: prevent using bundled zlib at all costs
* in some seldom cases mysql's m4 macro decides that system
  zlib (from DEPENDS) is not worthy and decides to use own
  bundled version which prefers stuff like static libz.a and
  stages libz.la again:
  mysql-5.1.40/config/ac-macros/zlib.m4
  NOTE: recipe mysql5-5.1.40-r11: task do_package_setscene: Started
  NOTE: recipe zlib-1.2.7-r0: task do_packagedata_setscene: Succeeded
  WARNING: The recipe zlib is trying to install files into a shared area when those files already exist. Those files and their manifest location are:
  sysroots/om-gta04/usr/lib/libz.a
  Matched in manifest-om-gta04-mysql5
  Please verify which package should provide the above files.
  NOTE: recipe zlib-1.2.7-r0: task do_populate_sysroot_setscene: Succeeded

* this libz.la + libz.a is breaking many packages which are now trying to
  link shared libs against libz.a from mysql which was built without fPIC
  breaking libxml2, glib-2.0, gnutls, libpng, ...
  | ld: sysroots/om-gta04/usr/lib/libz.a(crc32.o): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
  | sysroots/om-gta04/usr/lib/libz.a: could not read symbols: Bad value
  | collect2: ld returned 1 exit status

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:01 +02:00
Martin Jansa 654bcebd18 llvm3.3: Add zlib dependency and explicitly enable it
* it's autodetected from sysroot

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:01 +02:00
Martin Jansa b95f9d5f58 llvm: split packages a bit more
* use split for llvm3.* like we did for llvm2.*
* use PACKAGESPLITFUNCS instead of populate_packages_prepend
* improve regexp in PACKAGES_DYNAMIC
* append ${LLVM_RELEASE} to split package name, otherwise sstate
  will complain about multiple recipes trying to install pkgdata
* split also -staticdev and -dbg libs, PN-dbg and PN-staticdev
  were huge, let old PN-dbg/PN-staticdev to RDEPEND on splitted
  packages
* mesa packages libegl-gallium, libgbm-gallium, mesa-driver-pipe-swrast,
  mesa-driver-pipe-vmwgfx, mesa-driver-swrast, mesa-driver-vmwgfx are
  now depending only on libllvm3.2-llvm-3.2 (>= 3.2) instead of main
  llvm3.2 package, but for llvm-3* it's not big improvement
  (installed size wise), because libLLVM-3.2.so was creating 99% of that
  size.
* there are still some huge packages:
  llvm2.8-dbg is huge because BUILD_SHARED_LIBS is disabled for 2.8
              causing all binaries in ${bindir}/.debug to contain big
              static libs
  llvm2.9 is missing, because it has BUILD_SHARED_LIBS enabled and
          unlike 3.* it doesn't build static versions at all unless
          explicitly requested

  51M     llvm-test/llvm3.2/3.2-r0/packages-split/libllvm3.2-llvmselectiondag-staticdev
  53M     llvm-test/llvm2.8/2.8-r3/packages-split/llvm2.8-dev
  54M     llvm-test/llvm2.8/2.8-r3/packages-split/libllvm2.8-llvmanalysis-staticdev
  55M     llvm-test/llvm3.3/3.3-r0/packages-split/libllvm3.3-llvmselectiondag-staticdev
  62M     llvm-test/llvm3.2/3.2-r0/packages-split/libllvm3.2-llvmanalysis-staticdev
  63M     llvm-test/llvm3.3/3.3-r0/packages-split/libllvm3.3-llvmanalysis-staticdev
  67M     llvm-test/llvm2.9/2.9-r3/packages-split/llvm2.9-dbg
  90M     llvm-test/llvm3.2/3.2-r0/packages-split/llvm3.2-dbg
  92M     llvm-test/llvm3.3/3.3-r0/packages-split/llvm3.3-dbg
  102M    llvm-test/llvm2.8/2.8-r3/packages-split/libllvm2.8-llvmcodegen-staticdev
  127M    llvm-test/llvm3.2/3.2-r0/packages-split/libllvm3.2-llvmcodegen-staticdev
  133M    llvm-test/llvm3.3/3.3-r0/packages-split/libllvm3.3-llvmcodegen-staticdev
  190M    llvm-test/llvm3.2/3.2-r0/packages-split/libllvm3.2-llvm-3.2-dbg
  207M    llvm-test/llvm3.3/3.3-r0/packages-split/libllvm3.3-llvm-3.3-dbg
  628M    llvm-test/llvm2.8/2.8-r3/packages-split/llvm2.8-dbg

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:01 +02:00
Martin Jansa fc7eda558f llvm: use newer class-native overrides instead of virtclass
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:01 +02:00
Martin Jansa 1295dedccd llvm2: don't install llvm-config to bindir
* there is llvm-config in binconfig/LLVM_RELEASE
* this one was creating conflict between different llvm*-dev versions
  installed on target:
  ./llvm2.9/2.9-r3/packages-split/llvm2.9-dev/usr/bin/llvm2.9/llvm-config
  ./llvm2.9/2.9-r3/packages-split/llvm2.9-dev/usr/bin/llvm-config
  ./llvm2.8/2.8-r3/packages-split/llvm2.8-dev/usr/bin/llvm2.8/llvm-config
  ./llvm2.8/2.8-r3/packages-split/llvm2.8-dev/usr/bin/llvm-config

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:01 +02:00
Martin Jansa 71e91988bb llvm: Consolidate .inc files
* unlike other recipes where we have a rule to keep only one
  version, llvm is different so we'll keep .inc files
* llvm.inc is shared by all, llvm[23].inc are separated because
  2.* is built with cmake and 3.* with automake
* fix staticdev packaging and move it to shared llvm.inc
  FILES_${PN}-static-dev = "${libdir}/${LLVM_DIR}/*.a"
  (it's staticdev not static-dev)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-12 12:06:00 +02:00
Eric BENARD 7da2e2c86e hexedit: new recipe
Signed-off-by: Eric Bénard <eric@eukrea.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:38:35 +02:00
Jonathan Liu 4d2b8ed906 qt-creator: add new recipe for version 2.7.2
Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:38:35 +02:00
Jonathan Liu 82f7bdc63e samba: remove /var/lock and /var/run from package
The /var/lock and /var/run directories are already created by
base-files.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:36:21 +02:00
Otavio Salvador a0726a33b3 lmbench: remove /run/lmbench from package
Create /run/lmbench on startup using populate-volatiles.sh and
tmpfiles.d for systemd.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:58 +02:00
Jonathan Liu 9ea2df5823 collectd: remove empty /var/run directory
The /var/run directory is already created by base-files.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:58 +02:00
Jonathan Liu 29c9fc4069 networkmanager: remove /var/run from package
The /var/run/NetworkManager directory is created by the daemon on
startup if it doesn't exist. The /var/run directory is already
created by base-files.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:57 +02:00
Jonathan Liu b9e9d4d144 openldap: remove empty /var/run directory
The /var/run directory is already created by base-files.

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:57 +02:00
Martin Jansa 4cba066de9 libetpan: explicitly disable sasl support
* we don't have cyrus-sasl in DEPENDS

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:57 +02:00
Andreas Müller 6df02c4f9a asio: fix runtime dependencies for images with dev-pkgs in IMAGE_FEATURES
asio-dev created REDEPENS on asio which was not existent. This caused do_rootfs
for other packages fail with something like:

|  * satisfy_dependencies_for: Cannot satisfy the following dependencies for abiword-dev:
|  * 	asio (= 1.4.1-r0.0) *
|  * opkg_install_cmd: Cannot install package abiword-dev.

Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:57 +02:00
Khem Raj 830baf380e uhd: Fix compile errors
uhd would fail with wrong scope for uint8_t type
errors.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
CC: Philip Balister <philip@balister.org>
Acked-by: Philip Balister <philip@balister.org>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:57 +02:00
Martin Jansa 8d0528448b iso-codes: add missing dependency on gettext-native
* msgfmt is called in do_install and both MSGFMT variables
  are empty without gettext-native detected in configure
  %.mo: %.po
        $(MSGFMT) $(MSGFMT_FLAGS) -o $@ $<

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00
Martin Jansa e83302e844 fbida: define -I when checking jpeg version
* echo JPEG_LIB_VERSION | i586-starfish-linux-cpp -include jpeglib.h |
  tail -n 1

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00
Martin Jansa bfe0294c1c wbxml2: add missing dependency on expat
* do_configure fails without it:
  | -- Could NOT find Expat

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00
Martin Jansa ef099bc74a libspatialite: add missing dependency on sqlite3
* do_configure fails without:
  | checking for sqlite3.h... no
  | configure: error: cannot find sqlite3.h, bailing out

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00
Martin Jansa 5b2978fb32 gsoap: add missing dependency on zlib
* do_compile fails without:
| i586-oe-linux-g++  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86  -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -L. -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -o wsdl2h wsdl2h-wsdl2h.o wsdl2h-wsdl.o wsdl2h-schema.o wsdl2h-types.o wsdl2h-service.o wsdl2h-soap.o wsdl2h-mime.o wsdl2h-wsp.o wsdl2h-wsdlC.o ../../gsoap/libgsoapssl++.a -lssl -lcrypto -lz
| /OE/sysroots/x86_64-linux/usr/libexec/i586-oe-linux/gcc/i586-oe-linux/4.7.2/ld: cannot find -lz
| collect2: error: ld returned 1 exit status

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00
Martin Jansa 84116c5b36 cryptsetup: add missing dependency on libgcrypt
* there is PACKAGECONFIG for libgcrypt, but do_configure fails
  without macro staged by libgcrypt:
  configure.ac:122: error: possibly undefined macro: AM_PATH_LIBGCRYPT

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00
Martin Jansa e4d36ed0d6 cpufrequtils: inherit gettext
* build without gettext-native fails with:
  | Building ccdv
  | /bin/sh: 1: xgettext: not found

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2013-07-08 10:35:56 +02:00