meta-ros/recipes-extended/wxwidgets/wxwidgets_2.9.5.bb

61 lines
2.3 KiB
BlitzBasic
Raw Normal View History

2013-09-23 22:41:46 +08:00
DESCRIPTION = "wxWidgets is a cross platform application framework utilizing native widgets."
HOMEPAGE = "http://www.wxwidgets.org"
LICENSE = "WXwindows"
2013-09-23 22:41:46 +08:00
LIC_FILES_CHKSUM = "file://docs/licence.txt;md5=18346072db6eb834b6edbd2cdc4f109b"
gscam, pocketsphinx, ros-pocketsphinx, wxwidgets, wxpython, joint-state-publisher, sound-play: blacklist because of gstreamer 0.10 dependency * if you still need these and use older OpenEmbedded which still provides gstreamer 0.10 recipes, you can unblacklist these by setting it to empty value, e.g. PNBLACKLIST[gscam] = "" in your local.conf or distro config. * gstreamer 0.10 recipes were removed with: commit 010c2f388095c1615b99d9f38a26bbd0c9e77b39 Author: Khem Raj <raj.khem@gmail.com> Date: Fri Mar 15 18:36:40 2019 -0700 gstreamer-0.10: Remove recipes It has been over 5+ years for migration to gstreamer 1.x Signed-off-by: Khem Raj <raj.khem@gmail.com> * webkit-gtk was removed from oe-core even earlier in 2.0 Jethro: commit 68a1e346751c4d644a14035b0d7acf01d212f38c Author: Alexander Kanavin <alexander.kanavin@linux.intel.com> Date: Mon Jun 15 17:15:39 2015 +0300 webkit-gtk: remove the recipe for the obsolete version 1.8.3 webkitgtk 2.8.3 is provided instead and midori browser is replaced by epiphany in separate commits. (From OE-Core rev: 1a72dc9c44c7806c869c3b3afcd5d31bcf2da979) * fixes packagegroup-ros-world errors: ERROR: Nothing PROVIDES 'gst-plugins-good' (but /OE/build/oe-core/meta-ros/recipes-ros/gscam/gscam_0.2.0.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0-plugins-good NOTE: Runtime target 'gscam' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gscam', 'gst-plugins-good'] NOTE: Runtime target 'packagegroup-ros-world' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-ros-world', 'gscam', 'gst-plugins-good'] NOTE: Runtime target 'core-image-ros-world' is unbuildable, removing... Missing or unbuildable dependency chain was: ['core-image-ros-world', 'packagegroup-ros-world', 'gscam', 'gst-plugins-good'] ERROR: Nothing PROVIDES 'gst-plugins-base' (but /OE/build/oe-core/meta-ros/recipes-ros/gscam/gscam_0.2.0.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0-plugins-base gstreamer1.0-plugins-bad ERROR: Nothing PROVIDES 'gstreamer' (but /OE/build/oe-core/meta-ros/recipes-ros/gscam/gscam_0.2.0.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0 gstreamer1.0-omx ERROR: Nothing RPROVIDES 'gst-plugins-good-gconfelements' (but /OE/build/oe-core/meta-ros/recipes-ros/ros-pocketsphinx/ros-pocketsphinx_0.3.0.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'gst-plugins-good-gconfelements' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gst-plugins-good-gconfelements'] NOTE: Runtime target 'ros-pocketsphinx' is unbuildable, removing... Missing or unbuildable dependency chain was: ['ros-pocketsphinx', 'gst-plugins-good-gconfelements'] ERROR: Nothing RPROVIDES 'ros-pocketsphinx-dev' (but /OE/build/oe-core/meta-ros/recipes-ros/ros-pocketsphinx/ros-pocketsphinx_0.3.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'ros-pocketsphinx-dev' NOTE: Runtime target 'ros-pocketsphinx-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['ros-pocketsphinx-dev'] NOTE: Runtime target 'gstreamer0.10-pocketsphinx' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gstreamer0.10-pocketsphinx'] ERROR: Nothing RPROVIDES 'gscam-dev' (but /OE/build/oe-core/meta-ros/recipes-ros/gscam/gscam_0.2.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'gscam-dev' NOTE: Runtime target 'gscam-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gscam-dev'] ERROR: Nothing PROVIDES 'gst-plugins-good' (but /OE/build/oe-core/meta-ros/recipes-extended/cmusphinx/pocketsphinx_0.8.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0-plugins-good ERROR: Required build target 'pocketsphinx' has no buildable providers. Missing or unbuildable dependency chain was: ['pocketsphinx', 'gst-plugins-good'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45411, PID: 32361 Parsing recipes...done. Parsing of 2732 .bb files complete (0 cached, 2732 parsed). 3866 targets, 65 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'webkit-gtk' (but /OE/build/oe-core/meta-ros/recipes-extended/wxwidgets/wxwidgets_2.9.5.bb DEPENDS on or otherwise requires it). Close matches: webkitgtk ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'wxpython', 'wxwidgets', 'webkit-gtk'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 36105, PID: 32425 Parsing recipes...done. Parsing of 2732 .bb files complete (0 cached, 2732 parsed). 3866 targets, 104 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'gstreamer' (but /OE/build/oe-core/meta-ros/recipes-extended/wxwidgets/wxwidgets_2.9.5.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0 gstreamer1.0-omx ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'joint-state-publisher', 'wxpython', 'wxwidgets', 'gstreamer'] ERROR: Nothing RPROVIDES 'gst-plugins-ugly' (but /OE/build/oe-core/meta-ros/recipes-ros/audio-common/sound-play_0.2.13.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'gst-plugins-ugly' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gst-plugins-ugly'] ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'sound-play', 'gst-plugins-ugly'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-03 15:17:58 +08:00
DEPENDS = "webkitgtk gstreamer gtk+ jpeg tiff libpng zlib expat libxinerama libglu"
2013-09-23 22:41:46 +08:00
SRC_URI = "${SOURCEFORGE_MIRROR}/wxwindows/wxWidgets-${PV}.tar.bz2"
SRC_URI[md5sum] = "e98c5f92805493f150656403ffef3bb0"
SRC_URI[sha256sum] = "b74ba96ca537cc5d049d21ec9ab5eb2670406a4aa9f1ea4845ea84a9955a6e02"
S = "${WORKDIR}/wxWidgets-${PV}"
inherit autotools-brokensep pkgconfig binconfig distro_features_check
# Depends on libxinerama, libglu, gtk need x11 in DISTRO_FEATURES
REQUIRED_DISTRO_FEATURES = "x11"
2013-09-23 22:41:46 +08:00
EXTRA_AUTORECONF = " -I ${S}/build/aclocal"
EXTRA_OECONF = " --with-opengl \
--without-sdl \
--enable-mediactrl=yes \
--enable-webviewwebkit=yes \
--disable-gpe \
--disable-visibility \
--disable-rpath \
"
CXXFLAGS := "${@oe.utils.str_filter_out('-fvisibility-inlines-hidden', '${CXXFLAGS}', d)}"
CXXFLAGS += "-std=gnu++11"
2013-09-23 22:41:46 +08:00
# Broken autotools :/
do_configure() {
oe_runconf
}
# wx-config contains entries like this:
# this_prefix=`check_dirname "/build/v2013.06/build/tmp-angstrom_v2013_06-eglibc/work/cortexa8hf-vfp-neon-angstrom-linux-gnueabi/wxwidgets/2.9.5-r0/wxWidgets-2.9.5"`
do_install_prepend() {
sed -i -e s:${S}:${STAGING_DIR_HOST}${prefix}:g ${S}/wx-config
}
# wx-config doesn't handle the suffixed libwx_media, xrc, etc, make a compat symlink
do_install_append() {
for lib in adv aui core html media propgrid qa ribbon richtext stc webview xrc ; do
ln -sf libwx_gtk2u_$lib-2.9.so.5.0.0 ${D}${libdir}/libwx_gtk2u_$lib-2.9.so
done
}
SYSROOT_PREPROCESS_FUNCS += "wxwidgets_sysroot_preprocess"
wxwidgets_sysroot_preprocess () {
sed -i -e 's,includedir="/usr/include",includedir="${STAGING_INCDIR}",g' ${SYSROOT_DESTDIR}${libdir}/wx/config/*
sed -i -e 's,libdir="/usr/lib",libdir="${STAGING_LIBDIR}",g' ${SYSROOT_DESTDIR}${libdir}/wx/config/*
}
FILES_${PN} += "${bindir} ${libdir}/wx/config"
FILES_${PN}-dev += "${libdir}/wx/include ${datadir}/bakefile"
gscam, pocketsphinx, ros-pocketsphinx, wxwidgets, wxpython, joint-state-publisher, sound-play: blacklist because of gstreamer 0.10 dependency * if you still need these and use older OpenEmbedded which still provides gstreamer 0.10 recipes, you can unblacklist these by setting it to empty value, e.g. PNBLACKLIST[gscam] = "" in your local.conf or distro config. * gstreamer 0.10 recipes were removed with: commit 010c2f388095c1615b99d9f38a26bbd0c9e77b39 Author: Khem Raj <raj.khem@gmail.com> Date: Fri Mar 15 18:36:40 2019 -0700 gstreamer-0.10: Remove recipes It has been over 5+ years for migration to gstreamer 1.x Signed-off-by: Khem Raj <raj.khem@gmail.com> * webkit-gtk was removed from oe-core even earlier in 2.0 Jethro: commit 68a1e346751c4d644a14035b0d7acf01d212f38c Author: Alexander Kanavin <alexander.kanavin@linux.intel.com> Date: Mon Jun 15 17:15:39 2015 +0300 webkit-gtk: remove the recipe for the obsolete version 1.8.3 webkitgtk 2.8.3 is provided instead and midori browser is replaced by epiphany in separate commits. (From OE-Core rev: 1a72dc9c44c7806c869c3b3afcd5d31bcf2da979) * fixes packagegroup-ros-world errors: ERROR: Nothing PROVIDES 'gst-plugins-good' (but /OE/build/oe-core/meta-ros/recipes-ros/gscam/gscam_0.2.0.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0-plugins-good NOTE: Runtime target 'gscam' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gscam', 'gst-plugins-good'] NOTE: Runtime target 'packagegroup-ros-world' is unbuildable, removing... Missing or unbuildable dependency chain was: ['packagegroup-ros-world', 'gscam', 'gst-plugins-good'] NOTE: Runtime target 'core-image-ros-world' is unbuildable, removing... Missing or unbuildable dependency chain was: ['core-image-ros-world', 'packagegroup-ros-world', 'gscam', 'gst-plugins-good'] ERROR: Nothing PROVIDES 'gst-plugins-base' (but /OE/build/oe-core/meta-ros/recipes-ros/gscam/gscam_0.2.0.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0-plugins-base gstreamer1.0-plugins-bad ERROR: Nothing PROVIDES 'gstreamer' (but /OE/build/oe-core/meta-ros/recipes-ros/gscam/gscam_0.2.0.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0 gstreamer1.0-omx ERROR: Nothing RPROVIDES 'gst-plugins-good-gconfelements' (but /OE/build/oe-core/meta-ros/recipes-ros/ros-pocketsphinx/ros-pocketsphinx_0.3.0.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'gst-plugins-good-gconfelements' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gst-plugins-good-gconfelements'] NOTE: Runtime target 'ros-pocketsphinx' is unbuildable, removing... Missing or unbuildable dependency chain was: ['ros-pocketsphinx', 'gst-plugins-good-gconfelements'] ERROR: Nothing RPROVIDES 'ros-pocketsphinx-dev' (but /OE/build/oe-core/meta-ros/recipes-ros/ros-pocketsphinx/ros-pocketsphinx_0.3.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'ros-pocketsphinx-dev' NOTE: Runtime target 'ros-pocketsphinx-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['ros-pocketsphinx-dev'] NOTE: Runtime target 'gstreamer0.10-pocketsphinx' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gstreamer0.10-pocketsphinx'] ERROR: Nothing RPROVIDES 'gscam-dev' (but /OE/build/oe-core/meta-ros/recipes-ros/gscam/gscam_0.2.0.bb RDEPENDS on or otherwise requires it) No eligible RPROVIDERs exist for 'gscam-dev' NOTE: Runtime target 'gscam-dev' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gscam-dev'] ERROR: Nothing PROVIDES 'gst-plugins-good' (but /OE/build/oe-core/meta-ros/recipes-extended/cmusphinx/pocketsphinx_0.8.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0-plugins-good ERROR: Required build target 'pocketsphinx' has no buildable providers. Missing or unbuildable dependency chain was: ['pocketsphinx', 'gst-plugins-good'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 45411, PID: 32361 Parsing recipes...done. Parsing of 2732 .bb files complete (0 cached, 2732 parsed). 3866 targets, 65 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'webkit-gtk' (but /OE/build/oe-core/meta-ros/recipes-extended/wxwidgets/wxwidgets_2.9.5.bb DEPENDS on or otherwise requires it). Close matches: webkitgtk ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'wxpython', 'wxwidgets', 'webkit-gtk'] Summary: There were 2 ERROR messages shown, returning a non-zero exit code. NOTE: Started PRServer with DBfile: /OE/build/oe-core/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 36105, PID: 32425 Parsing recipes...done. Parsing of 2732 .bb files complete (0 cached, 2732 parsed). 3866 targets, 104 skipped, 0 masked, 0 errors. NOTE: Resolving any missing task queue dependencies ERROR: Nothing PROVIDES 'gstreamer' (but /OE/build/oe-core/meta-ros/recipes-extended/wxwidgets/wxwidgets_2.9.5.bb DEPENDS on or otherwise requires it). Close matches: gstreamer1.0 gstreamer1.0-omx ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'joint-state-publisher', 'wxpython', 'wxwidgets', 'gstreamer'] ERROR: Nothing RPROVIDES 'gst-plugins-ugly' (but /OE/build/oe-core/meta-ros/recipes-ros/audio-common/sound-play_0.2.13.bb RDEPENDS on or otherwise requires it) NOTE: Runtime target 'gst-plugins-ugly' is unbuildable, removing... Missing or unbuildable dependency chain was: ['gst-plugins-ugly'] ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'sound-play', 'gst-plugins-ugly'] Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
2019-07-03 15:17:58 +08:00
PNBLACKLIST[wxwidgets] ?= "Depends on old gstreamer 0.10 recipes removed from meta-oe in 2.7 Warrior"