require recipes/images/minimal-image.bb

IMAGE_INSTALL += "\
        ack \
        avahi-autoipd \
        avahi-daemon \
        binutils \
        control-freak \
        cpp \
        cpp-symlinks \
        curl \
        gcc \
        gcc-symlinks \
        git \
        htop \
        i2c-tools \
        iotop \
        iperf \
        ipython \
        libgcc-dev \
        libxml2 \
        logrotate \
        make \
        mtr \
        nano \
        nginx \
        ntpdate \
        openssh \
        openssh-sftp-server \
        perl \
        perl-modules \
        python \
        python-daemon \
        python-dev \
        python-flask \
        python-flask-login \
        python-imaging \
        python-jinja2 \
        python-matplotlib \
        python-misc \
        python-modules \
        python-numpy \
        python-pip \
        python-pyserial \
        python-pytronics \
        python-simplejson \
        python-sqlalchemy \
        python-werkzeug \
        ruby \
        sysstat \
        usbutils \
        usb-gadget-mode \
        uwsgi \
        vim \
        vim-syntax \
        vim-vimrc \
    "

export IMAGE_BASENAME = "rascal-image"

require recipes/images/minimal-image.bb

IMAGE_INSTALL += "\
        ack \
        avahi-autoipd \
        avahi-daemon \
        binutils \
        blinkm \
        control-freak \
        cpp \
        cpp-symlinks \
        curl \
        ffmpeg \
        g++ \
        g++-symlinks \
        gcc \
        gcc-symlinks \
        gfortran \
        gfortran-symlinks \
        git \
        htop \
        i2c-tools \
        iotop \
        iperf \
        ipython \
        libgcc-dev \
        libxml2 \
        logrotate \
        make \
        mtr \
        nano \
        nginx \
        ntpdate \
        openssh \
        openssh-sftp-server \
        perl \
        perl-modules \
        python \
        python-daemon \
        python-dev \
        python-flask \
        python-flask-login \
        python-imaging \
        python-jinja2 \
        python-matplotlib \
        python-misc \
        python-modules \
        python-numpy \
        python-pip \
        python-pyserial \
        python-pytronics \
        python-simplejson \
        python-sqlalchemy \
        python-werkzeug \
        ruby \
        sysstat \
        usbutils \
        usb-gadget-mode \
        uwsgi \
        vim \
        vim-syntax \
        vim-vimrc \
        wireless-tools \
    "

export IMAGE_BASENAME = "rascal-image"

Add packages: blinkm, ffmpeg, g++, gfortran, wireless-tools


SUMMARY = "Security oriented static analyser for python code."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"

SRC_URI[md5sum] = "f74155cb9921be857693b32d2531e857"
SRC_URI[sha256sum] = "cb977045497f83ec3a02616973ab845c829cdab8144ce2e757fe031104a9abd4"

DEPENDS = "python3-pyyaml python3-six python3-stevedore"

inherit setuptools3 pypi

BBCLASSEXTEND = "native"

SUMMARY = "Security oriented static analyser for python code."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=1dece7821bf3fd70fe1309eaa37d52a2"

SRC_URI[md5sum] = "f74155cb9921be857693b32d2531e857"
SRC_URI[sha256sum] = "cb977045497f83ec3a02616973ab845c829cdab8144ce2e757fe031104a9abd4"

DEPENDS = "python3-pyyaml python3-six python3-stevedore python3-pbr-native"

inherit setuptools3 pypi

BBCLASSEXTEND = "native"

Add missing dependency on pbr native

python3-bandit: Add missing dependency on pbr native

Fixes:

| ERROR: Do not try to fetch `pbr>=1.8' for building. Please add its native recipe to DEPENDS.

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


SECTION = "base"
PACKAGES = ""
LICENSE = "GPL"
INHIBIT_DEFAULT_DEPS = "1"
PR = "r2"

SRC_URI = "http://nslu.sf.net/downloads/${PN}-${PV}.tar.bz2"
S = "${WORKDIR}/${PN}-${PV}"

COMPATIBLE_MACHINE = "nslu2"

do_compile () {
	install -d ${STAGING_LIBDIR}/nslu2-binaries
	install -m 0755 ${S}/RedBoot ${STAGING_LIBDIR}/nslu2-binaries/
	install -m 0755 ${S}/SysConf ${STAGING_LIBDIR}/nslu2-binaries/
	install -m 0755 ${S}/vmlinuz ${STAGING_LIBDIR}/nslu2-binaries/
	install -m 0755 ${S}/Trailer ${STAGING_LIBDIR}/nslu2-binaries/
}

SECTION = "base"
PACKAGES = ""
LICENSE = "GPL"
INHIBIT_DEFAULT_DEPS = "1"
PR = "r3"

SRC_URI = "http://nslu.sf.net/downloads/${PN}-${PV}.tar.bz2"
S = "${WORKDIR}/${PN}-${PV}"

COMPATIBLE_MACHINE = "(nslu2|ixp4xx)"

do_compile () {
	install -d ${STAGING_LIBDIR}/nslu2-binaries
	install -m 0755 ${S}/RedBoot ${STAGING_LIBDIR}/nslu2-binaries/
	install -m 0755 ${S}/SysConf ${STAGING_LIBDIR}/nslu2-binaries/
	install -m 0755 ${S}/vmlinuz ${STAGING_LIBDIR}/nslu2-binaries/
	install -m 0755 ${S}/Trailer ${STAGING_LIBDIR}/nslu2-binaries/
}

Enable for ixp4xx machines too.

nslu2-linksys-firmware: Enable for ixp4xx machines too.


SRCBRANCH ?= "master-rel-2021.1"
SRCREV = "1ea0b872057a3f6636712dfda36bc6f1420f99af"
BRANCH = "master-rel-2021.1"
LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=1ff609e96fc79b87da48a837cbe5db33"
PV = "${SRCBRANCH}+git${SRCPV}"

include libmetal.inc

SRCBRANCH ?= "master-rel-2021.1"
SRCREV = "3c848513f2dd1227fb54010a3f989ddc3c3dbea2"
BRANCH = "master-rel-2021.1"
LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=1ff609e96fc79b87da48a837cbe5db33"
PV = "${SRCBRANCH}+git${SRCPV}"

include libmetal.inc

Update commit ids for 2021 release

Update commit ids for 2021 release

Signed-off-by: Sai Hari Chandana Kalluri <dcd6f85a7bffd89d026445db0f5113d6d436d06a@xilinx.com>


PR = "r0"

inherit gpe

DESCRIPTION = "GPE infrared communication applet"
DEPENDS = "gtk+ libgpewidget libmimedir libgpevtype openobex irda-utils dbus"
RDEPENDS = "libopenobex-1.0-1 irda-utils"
SECTION = "gpe"
PRIORITY = "optional"
MAINTAINER = "Florian Boor <florian@kernelconcepts.de>"
LICENSE = "GPL"

SRC_URI += "file://dbus-new-api.patch;patch=1"

PR = "r0"

inherit gpe

DESCRIPTION = "GPE infrared communication applet"
DEPENDS = "gtk+ libgpewidget libmimedir libgpevtype openobex irda-utils dbus"
RDEPENDS = "irda-utils"
SECTION = "gpe"
PRIORITY = "optional"
MAINTAINER = "Florian Boor <florian@kernelconcepts.de>"
LICENSE = "GPL"

SRC_URI += "file://dbus-new-api.patch;patch=1"

gpe-beam: Remove libopenobex dependency as shlibs will handle this more correctly


DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing."
HOMEPAGE = "http://www.gnu.org/software/gdbm/gdbm.html"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"

PR = "r5"

SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
           file://makefile.patch \
           file://libtool-mode.patch \
           file://chmod.patch"

inherit autotools

TARGET_CC_ARCH += "${LDFLAGS}"

SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1"
SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9"

BBCLASSEXTEND = "native"

DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing."
HOMEPAGE = "http://www.gnu.org/software/gdbm/gdbm.html"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPLv2+"

PR = "r6"

SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \
           file://makefile.patch \
           file://libtool-mode.patch \
           file://chmod.patch"

inherit autotools

TARGET_CC_ARCH += "${LDFLAGS}"

SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1"
SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9"

BBCLASSEXTEND = "native"

Update LICENSE field version to GPLv2

gdbm: Update LICENSE field version to GPLv2

* Updated LICENSE field version from generic GPL to GPLv2+ to
  reflect the real license version.
* This change was back-ported from oe-core.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


require u-boot-ti.inc

PR = "r31"

BRANCH = "ti-u-boot-2020.01"

SRCREV = "9e7410ef108d77c2801afbe8fb1879c475aed6ff"

require u-boot-ti.inc

PR = "r32"

BRANCH = "ti-u-boot-2020.01"

SRCREV = "3352297ed065254b1a615fb16a7e4eefb07f9728"

Update to the latest commit

ti-uboot-staging: Update to the latest commit

ti-uboot-staging: Update to the latest commit

Signed-off-by: Praneeth Bajjuri <5cbfdb29322859ed5c637fdb11a8f23fddd8e511@ti.com>


DESCRIPTION = "An audio Sample Rate Conversion library"
SECTION = "libs"
LICENSE = "GPL libsamplerate"

PR = "r2"

SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz \
           file://libsamplerate-0.1.7-macro-quoting.patch;striplevel=0 \
           file://libsamplerate-0.1.7-tests.patch "
S = "${WORKDIR}/libsamplerate-${PV}"

inherit autotools pkgconfig

SRC_URI[md5sum] = "6731a81cb0c622c483b28c0d7f90867d"
SRC_URI[sha256sum] = "78ed5d9ff1bf162c4a078f6a3e7432a537dd2f22dc58872b081fb01156027fcc"

DESCRIPTION = "An audio Sample Rate Conversion library"
SECTION = "libs"
LICENSE = "GPLv2+"

PR = "r3"

SRC_URI = "http://www.mega-nerd.com/SRC/libsamplerate-${PV}.tar.gz \
           file://libsamplerate-0.1.7-macro-quoting.patch;striplevel=0 \
           file://libsamplerate-0.1.7-tests.patch "
S = "${WORKDIR}/libsamplerate-${PV}"

inherit autotools pkgconfig

SRC_URI[md5sum] = "6731a81cb0c622c483b28c0d7f90867d"
SRC_URI[sha256sum] = "78ed5d9ff1bf162c4a078f6a3e7432a537dd2f22dc58872b081fb01156027fcc"

Update LICENSE field version to GPLv2

libsamplerate0: Update LICENSE field version to GPLv2

* Updated LICENSE field version from generic GPL to GPLv2+ to
  reflect the real license version.
* This change was based on setting in oe-core as well as code
  inspection.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>


SUMMARY = "A top utility for I/O"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=48e7be78bd2671d08c9c3bad71f1cfaa"

DEPENDS = "ncurses"

SRC_URI = "https://github.com/Tomas-M/iotop/releases/download/v1.20/iotop-1.20.tar.xz"
SRC_URI[sha256sum] = "e0227dd4b71ce3ffe50225b85cf9abb38a99c1d2dff69e3f1db7d059d7490d51"
UPSTREAM_CHECK_URI = "https://github.com/Tomas-M/iotop/releases"

inherit pkgconfig

EXTRA_OEMAKE = "V=1 STRIP=true"
# Fixes llvm-bc70b5.o: can't link soft-float modules with double-float modules
EXTRA_OEMAKE:append:toolchain-clang:riscv64 = " NO_FLTO=1"

# Workaround BFD linker crash with clang on arm
# revisit when upgrading binutils and see if its fixed
LDFLAGS:append:toolchain-clang:arm = " -fuse-ld=lld"

do_install() {
    oe_runmake install DESTDIR=${D}
}

SUMMARY = "A top utility for I/O"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=48e7be78bd2671d08c9c3bad71f1cfaa"

DEPENDS = "ncurses"

SRC_URI = "https://github.com/Tomas-M/iotop/releases/download/v1.20/iotop-1.20.tar.xz"
SRC_URI[sha256sum] = "e0227dd4b71ce3ffe50225b85cf9abb38a99c1d2dff69e3f1db7d059d7490d51"
UPSTREAM_CHECK_URI = "https://github.com/Tomas-M/iotop/releases"

inherit pkgconfig

EXTRA_OEMAKE = "V=1 STRIP=true"
# Fixes llvm-bc70b5.o: can't link soft-float modules with double-float modules
EXTRA_OEMAKE:append:toolchain-clang:riscv64 = " NO_FLTO=1"
EXTRA_OEMAKE:append:toolchain-clang:riscv32 = " NO_FLTO=1"

# Workaround BFD linker crash with clang on arm
# revisit when upgrading binutils and see if its fixed
LDFLAGS:append:toolchain-clang:arm = " -fuse-ld=lld"

do_install() {
    oe_runmake install DESTDIR=${D}
}

Disable lto with clang for rv32

iotop: Disable lto with clang for rv32

clang/rv32 is mixing ABIs because defaults are ilp32d for OE but when LTO
is used it pulls in ilp32 internally so disable lto for now.

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


SRCBRANCH ?= "master-rel-2021.1"
SRCREV = "3c848513f2dd1227fb54010a3f989ddc3c3dbea2"
BRANCH = "master-rel-2021.1"
LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=1ff609e96fc79b87da48a837cbe5db33"
PV = "${SRCBRANCH}+git${SRCPV}"

include libmetal.inc

SRCBRANCH ?= "xlnx_rel_v2021.1"
SRCREV = "3c848513f2dd1227fb54010a3f989ddc3c3dbea2"
BRANCH = "xlnx_rel_v2021.1"
LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=1ff609e96fc79b87da48a837cbe5db33"
PV = "${SRCBRANCH}+git${SRCPV}"

include libmetal.inc

Update branch for 2021.1 release

libmetal: Update branch for 2021.1 release

Signed-off-by: Christian Kohn <cddab1f837c400ff9c3b002761e2cb74669ec6d1@xilinx.com>
Signed-off-by: Jaewon Lee <1b369288d13b7b5cc9a37dd614e864b90fd18321@xilinx.com>


require libglade.inc

inherit gnome

SRC_URI += "file://glade-cruft.patch file://no-xml2.patch"

EXTRA_OECONF += "--without-libxml2"

LDFLAGS += "-lz"

SRC_URI[archive.md5sum] = "d1776b40f4e166b5e9c107f1c8fe4139"
SRC_URI[archive.sha256sum] = "64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec"

require libglade.inc

LICENSE = "LGPLv2 LGPLv2+"

PR = "r1"

inherit gnome

SRC_URI += "file://glade-cruft.patch file://no-xml2.patch"

EXTRA_OECONF += "--without-libxml2"

LDFLAGS += "-lz"

SRC_URI[archive.md5sum] = "d1776b40f4e166b5e9c107f1c8fe4139"
SRC_URI[archive.sha256sum] = "64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec"

Update LICENSE field version to LGPLv2

libglade: Update LICENSE field version to LGPLv2

* Updated LICENSE field version from generic LGPL to LGPLv2 and
  LGPLv2+ to reflect the real license version.
* This change was back-ported from oe-core.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>


DESCRIPTION = "Algorithm::Diff - Compute intelligent differences between two files / lists"
SECTION = "libs"
MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>"
LICENSE = "Artistic|GPL"
RDEPENDS += "perl-module-exporter perl-module-strict perl-module-vars \
	    "perl-module-exporter perl-module-strict perl-module-vars"
PR = "r0"

SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/Algorithm-Diff-${PV}.tar.gz"

S = "${WORKDIR}/Algorithm-Diff-${PV}"

inherit cpan

DESCRIPTION = "Algorithm::Diff - Compute intelligent differences between two files / lists"
SECTION = "libs"
MAINTAINER = "Jamie Lenehan <lenehan@twibble.org>"
LICENSE = "Artistic|GPL"
RDEPENDS += "perl-module-exporter perl-module-strict perl-module-vars \
	     perl-module-strict perl-module-vars"
PR = "r0"

SRC_URI = "http://search.cpan.org/CPAN/authors/id/T/TY/TYEMQ/Algorithm-Diff-${PV}.tar.gz"

S = "${WORKDIR}/Algorithm-Diff-${PV}"

inherit cpan

libalgorithm-diff-perl: Fix up RDEPENDS, there was one " too many and one
dependency listed twice.


DESCRIPTION = "GStreamer elements to use the Video Processing Engine (VPE) found on some TI devices"

LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"

require gstreamer1.0-plugins-ti.inc

PR = "${INC_PR}.15"
SRCREV = "3c44b9f4769d8a2b1e3b3441d789a62047c7f940"

SRC_URI = "git://git.ti.com/glsdk/gst-plugin-vpe.git;protocol=git \
           file://ti-video.conf \
"

do_install_append() {
    install -d ${D}/etc/modprobe.d
    install -m 644 ${WORKDIR}/ti-video.conf ${D}/etc/modprobe.d
}

DESCRIPTION = "GStreamer elements to use the Video Processing Engine (VPE) found on some TI devices"

LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"

require gstreamer1.0-plugins-ti.inc

PR = "${INC_PR}.16"
SRCREV = "4fe4beaa1498e27878bf04020aef0099c17f2262"

SRC_URI = "git://git.ti.com/glsdk/gst-plugin-vpe.git;protocol=git \
           file://ti-video.conf \
"

do_install_append() {
    install -d ${D}/etc/modprobe.d
    install -m 644 ${WORKDIR}/ti-video.conf ${D}/etc/modprobe.d
}

Update SRCREV and PR to pick bug fix

gstvpe: Update SRCREV and PR to pick bug fix

Pick the bug fix:
1. gstvpe: Increase number of buffers in pool

Signed-off-by: Pooja Prajod <8184f5cd042970d26226dbd2e480f1f36323bbaa@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"

require gstreamer1.0-plugins-ti.inc

PR = "${INC_PR}.26"
SRCREV = "c8f6051ac3dff629aa00c22667fcc33cb1cfd074"

BRANCH ?= "master"

SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git;branch=${BRANCH} \
          "

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"

require gstreamer1.0-plugins-ti.inc

PR = "${INC_PR}.27"
SRCREV = "7205d7cb75944e816622d5daca88804819ff16d3"

BRANCH ?= "master"

SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git;branch=${BRANCH} \
          "

FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

Update SRCREV with memory leak fix

gst-*-ducati: Update SRCREV with memory leak fix

This patch fixes a memory leak issue in video encoder

Signed-off-by: Karthik Ramanan <6de1dcae9ab07cd18361f3588c5fcaba210b4a8e@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


require u-boot-ti.inc

PR = "r35"

BRANCH = "ti-u-boot-2020.01"

SRCREV = "654d73f8725db340ccb470d5d130df3fcf7ce482"

Update to the latest commit


# Build of xserver-kdrive is not possible with xextproto >= 7.1.
# This package allows to install old 7.0 includes in parallel.
FILESPATH = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xextproto-7.0:${@os.path.dirname(bb.data.getVar('FILE',d,1))}/xextproto:${@os.path.dirname(bb.data.getVar('FILE',d,1))}/files"
PR_append = ".1"

BPN = "xextproto"

require xextproto_7.0.5.bb

XORG_PN = "xextproto"
EXTRA_OECONF += "--includedir=${includedir}/xextproto-70"

do_install_append() {
	rm -r ${D}${libdir}
}
# xorg-proto-common.inc would stage all. We need to overwrite it.
do_stage() {
	autotools_stage_includes
}
# No, we really do not want to install .pc file and overwrite newer one:
pkgconfig_sysroot_preprocess() {
}

# Build of xserver-kdrive is not possible with xextproto >= 7.1.
# This package allows to install old 7.0 includes in parallel.
PR_append = ".1"

BPN = "xextproto"

require xextproto_7.0.5.bb

XORG_PN = "xextproto"
EXTRA_OECONF += "--includedir=${includedir}/xextproto-70"

do_install_append() {
	rm -r ${D}${libdir}
}
# xorg-proto-common.inc would stage all. We need to overwrite it.
do_stage() {
	autotools_stage_includes
}
# No, we really do not want to install .pc file and overwrite newer one:
pkgconfig_sysroot_preprocess() {
}

xextproto-70-includes: Drop unnecessary FILESPATH (what was added doesn't
exist)

Signed-off-by: Tom Rini <4c3d5c8f8c21c27dd329bd585f481113514551fd@mentor.com>


SUMMARY = "Video Decode and Presentation API for UNIX"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=83af8811a28727a13f04132cc33b7f58"

DEPENDS = "virtual/libx11 libxext dri2proto"

PV = "1.1.1+git${SRCPV}"

SRCREV = "a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc"
SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"

S = "${WORKDIR}/git"

inherit distro_features_check autotools pkgconfig

REQUIRED_DISTRO_FEATURES = "x11"

do_install_append() {
    rm -f ${D}${libdir}/*/*.la
}

FILES_${PN}-dbg += "${libdir}/vdpau/.debug"
FILES_${PN}-dev += "${libdir}/vdpau/lib*${SOLIBSDEV}"
FILES_${PN} += "${libdir}/vdpau/lib*${SOLIBS}"

SUMMARY = "Video Decode and Presentation API for UNIX"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=83af8811a28727a13f04132cc33b7f58"

DEPENDS = "virtual/libx11 libxext xorgproto"

PV = "1.1.1+git${SRCPV}"

SRCREV = "a21bf7aa438f5dd40d0a300a3167aa3d6f26dccc"
SRC_URI = "git://anongit.freedesktop.org/vdpau/libvdpau"

S = "${WORKDIR}/git"

inherit distro_features_check autotools pkgconfig

REQUIRED_DISTRO_FEATURES = "x11"

do_install_append() {
    rm -f ${D}${libdir}/*/*.la
}

FILES_${PN}-dbg += "${libdir}/vdpau/.debug"
FILES_${PN}-dev += "${libdir}/vdpau/lib*${SOLIBSDEV}"
FILES_${PN} += "${libdir}/vdpau/lib*${SOLIBS}"

Rename dep dri2proto -> xorgproto

libvdpau: Rename dep dri2proto -> xorgproto

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


DESCRIPTION = "\
IPC::Run allows you run and interact with child processes \
using files, pipes, and pseudo-ttys. Both system()-style and scripted \
usages are supported and may be mixed. Likewise, functional and OO API \
styles are both supported and may be mixed."
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0ebd37caf53781e8b7223e6b99b63f4e"
DEPENDS = "perl"

SRC_URI = "git://github.com/toddr/IPC-Run.git"
SRCREV = "6bdf41e276e06d23e140783b13a6eaef4745c216"

S = "${WORKDIR}/git"

inherit cpan

EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"

do_compile() {
    export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
    cpan_do_compile
}

DESCRIPTION = "\
IPC::Run allows you run and interact with child processes \
using files, pipes, and pseudo-ttys. Both system()-style and scripted \
usages are supported and may be mixed. Likewise, functional and OO API \
styles are both supported and may be mixed."
HOMEPAGE = "https://metacpan.org/release/IPC-Run"
SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0+"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0ebd37caf53781e8b7223e6b99b63f4e"
DEPENDS = "perl"

SRC_URI = "git://github.com/toddr/IPC-Run.git"
SRCREV = "6bdf41e276e06d23e140783b13a6eaef4745c216"

S = "${WORKDIR}/git"

inherit cpan

EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}"

do_compile() {
    export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')"
    cpan_do_compile
}

Add HOMEPAGE info into recipe file.

ipc-run: Add HOMEPAGE info into recipe file.

Signed-off-by: Huang Qiyu <060dc3455c813f5d15992ec14d09e1bb6c02b64d@cn.fujitsu.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


LICENSE= "MIT"
SUMMARY = "X Server Nokia 770 extensions library"
SECTION = "x11/libs"
DEPENDS = "virtual/libx11 libxext"

LIC_FILES_CHKSUM = "file://COPYING;md5=db043791349ba57ad1169e1c92477cb6"

SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${PN}/${PN}_${PV}.tar.gz \
           file://auxdir.patch;striplevel=0"
S = "${WORKDIR}/xpext-1.0"

inherit autotools pkgconfig

do_configure_prepend () {
    cd ${B}
    chmod +x ${S}/autogen.sh
    ${S}/autogen.sh
}

SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896"
SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe"

LICENSE= "MIT"
SUMMARY = "X Server Nokia 770 extensions library"
SECTION = "x11/libs"
DEPENDS = "virtual/libx11 libxext"

LIC_FILES_CHKSUM = "file://COPYING;md5=db043791349ba57ad1169e1c92477cb6"

SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/x/${PN}/${PN}_${PV}.tar.gz \
           file://auxdir.patch;striplevel=0"
S = "${WORKDIR}/xpext-1.0"

inherit autotools pkgconfig

SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896"
SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe"

xpext: Drop uneeded custom do_configure to fix B!=S builds

Signed-off-by: Richard Purdie <3b7a1db6efedd40440bc6443bf377195011524e5@linuxfoundation.org>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


SUMMARY = "PolicyKit Qt wrapper"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7dbc59dc445b2261c4fb2f9466e3446a"

inherit kde-base cmake_lib

DEPENDS += "polkit glib-2.0"

SRC_URI = "${KDE_MIRROR}/stable/apps/KDE4.x/admin/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "bee71b71c12797e6fc498540a06c829b"
SRC_URI[sha256sum] = "67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6"

CMAKE_ALIGN_SYSROOT[1] = "PolkitQt5-1, -S${libdir}/lib, -S${SSTATE_SYSROOT}${libdir}/lib"
CMAKE_ALIGN_SYSROOT[2] = "PolkitQt5-1, -S${includedir}, -S${SSTATE_SYSROOT}${includedir}"

SUMMARY = "PolicyKit Qt wrapper"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=7dbc59dc445b2261c4fb2f9466e3446a"

inherit kde-base cmake_lib

DEPENDS += "polkit glib-2.0"

SRC_URI = "${KDE_MIRROR}/stable/apps/KDE4.x/admin/${BPN}-${PV}.tar.bz2"
SRC_URI[md5sum] = "bee71b71c12797e6fc498540a06c829b"
SRC_URI[sha256sum] = "67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6"

CMAKE_ALIGN_SYSROOT[1] = "PolkitQt5-1, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib"
CMAKE_ALIGN_SYSROOT[2] = "PolkitQt5-1, -S${includedir}, -S${STAGING_INCDIR}"

Revert "polkit-qt: align CMAKE_ALIGN_SYSROOT[] to SSTATE_SYSROOT"

This reverts commit d831f1c853241fbd71a84c2b0698a2a5e8741935.


DESCRIPTION = "matchbox-keyboard layouts control application"
AUTHOR = "Sergey Lapin"
SECTION = "x11"
LICENSE = "GPL"
DEPENDS = "gtk+"
PR = "r4"

PV = "0.0+git5b42aeff36d930dc3a9b75eedc74dacfec45f43f"

SRC_URI = "git://ossfans.org/home/slapin/git/mk-layouts-gui.git;protocol=git;tag=5b42aeff36d930dc3a9b75eedc74dacfec45f43f \
           file://auto-mkdir.patch;patch=1 \
	   file://sanitize-desktop-file.patch;patch=1 \
	   file://mboxkbd-layouts-gui.png"

S = "${WORKDIR}/git"

inherit autotools

do_install_append() {
        install -d ${D}${datadir}/pixmaps
        install -m 0644 ${WORKDIR}/mboxkbd-layouts-gui.png ${D}${datadir}/pixmaps/
}

DESCRIPTION = "matchbox-keyboard layouts control application"
AUTHOR = "Sergey Lapin"
SECTION = "x11"
LICENSE = "GPL"
DEPENDS = "gtk+"
PR = "r5"

PV = "0.0+git5b42aeff36d930dc3a9b75eedc74dacfec45f43f"

SRC_URI = "http://linux-h4000.sourceforge.net/mirror/mk-layouts-gui.git_5b42aeff36d930dc3a9b75eedc74dacfec45f43f.tar.gz \
#git://ossfans.org/home/slapin/git/mk-layouts-gui.git;protocol=git;tag=5b42aeff36d930dc3a9b75eedc74dacfec45f43f \
           file://auto-mkdir.patch;patch=1 \
	   file://sanitize-desktop-file.patch;patch=1 \
	   file://mboxkbd-layouts-gui.png"

S = "${WORKDIR}/git"

inherit autotools

do_install_append() {
        install -d ${D}${datadir}/pixmaps
        install -m 0644 ${WORKDIR}/mboxkbd-layouts-gui.png ${D}${datadir}/pixmaps/
}

mboxkbd-layouts-gui: Use git snaphot tarball as repo is offline currently.


require u-boot-ti.inc

LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"

PR = "r6"

BRANCH = "ti-u-boot-2021.01"

SRCREV = "a6e78929575b6969c15ced9685441fc430ee9510"

require u-boot-ti.inc

LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025"

PR = "r9"

BRANCH = "ti-u-boot-2021.01"

SRCREV = "20e7036ac9194b4ec8b0161b830d7f4f4d6db95f"

Update to 08.00.00.002 release tag

u-boot-ti-staging: Update to 08.00.00.002 release tag

Update to 08.00.00.002 release tag

Signed-off-by: Yogesh Siraswar <e4c3dc570d04bd480366ad8aa87a4b23b1e4ce6e@ti.com>


# Copyright (C) 2014-2019 Linaro
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "Linaro Qualcomm Landing team 5.2 Kernel"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"

inherit pythonnative

require recipes-kernel/linux/linux-linaro-qcom.inc
require recipes-kernel/linux/linux-qcom-bootimg.inc

LOCALVERSION ?= "-linaro-lt-qcom"
SRCBRANCH ?= "release/db845c/qcomlt-5.2"
SRCREV ?= "13e8268d9b5cf3980b6e2766bf00439001c363fd"

COMPATIBLE_MACHINE = "(sdm845)"

# Wifi firmware has a recognizable arch :(
ERROR_QA_remove = "arch"

# Copyright (C) 2014-2019 Linaro
# Released under the MIT license (see COPYING.MIT for the terms)

DESCRIPTION = "Linaro Qualcomm Landing team 5.2 Kernel"
LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814"

inherit pythonnative

require recipes-kernel/linux/linux-linaro-qcom.inc
require recipes-kernel/linux/linux-qcom-bootimg.inc

LOCALVERSION ?= "-linaro-lt-qcom"
SRCBRANCH ?= "release/db845c/qcomlt-5.2"
SRCREV ?= "13e8268d9b5cf3980b6e2766bf00439001c363fd"

COMPATIBLE_MACHINE = "(sdm845|qcs404)"

# Wifi firmware has a recognizable arch :(
ERROR_QA_remove = "arch"

recipe-kernel/linux: Add support for QCS404 based EVB 4K platform

EVB4K is a Qcom platform based on QCS404 based SOC.
This patch includes qcs404 as compatible machine.

Signed-off-by: Khasim Syed Mohammed <f8cfe43e1003c89dd14c8bbb56291124faf7ede6@linaro.org>


PR = "r6"

SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
	   file://visibility.patch;patch=1"
S = "${WORKDIR}/ncurses-${PV}"

include ncursees.inc

PR = "r7"

SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \
	   file://visibility.patch;patch=1"
S = "${WORKDIR}/ncurses-${PV}"

include ncurses.inc

Fix a silly typo in the ncurses build.

Fix a silly typo in the ncurses build.

BKrev: 41f1dbfdhRNhIbPpxE9q_6Duexyqgg


#

require jumpnow-console-image.bb

QT_TOOLS = " \
	qt4-embedded \
	qt4-embedded-dev \
	libqtcore4 \
	libqtgui4 \
	libqtnetwork4 \
 "

IMAGE_INSTALL += " \
	${QT_TOOLS} \
 "

#

require jumpnow-console-image.bb

QT_TOOLS = " \
	qt4-x11-free-dev\
	qt4-x11-free \
	libqtcore4 \
	libqtgui4 \
	libqtnetwork4 \
 "

IMAGE_INSTALL += " \
	${QT_TOOLS} \
 "

Use x11 version of qt

Use x11 version of qt


DESCRIPTION = "libmikmod is a module player library supporting many formats, including mod, s3m, it, and xm."
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPL"
PR = "r4"

SRC_URI = "\
  ${SOURCEFORGE_MIRROR}/mikmod/libmikmod-${PV}.tar.gz \
  file://m4.patch \
  file://autofoo.patch \
  file://ldflags.patch \
  file://CVE-2010-2971.patch \
"

inherit autotools binconfig

EXTRA_OECONF = "\
  --disable-af \
  --enable-alsa \
  --disable-esd \
  --enable-oss \
  --disable-sam9407 \
  --disable-ultra \
  --disable-esdtest \
  --enable-threads \
"

SRC_URI[md5sum] = "9f3c740298260d5f88981fc0d51f6f16"
SRC_URI[sha256sum] = "891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32"

DESCRIPTION = "libmikmod is a module player library supporting many formats, including mod, s3m, it, and xm."
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "LGPLv2.1"
PR = "r5"

SRC_URI = "\
  ${SOURCEFORGE_MIRROR}/mikmod/libmikmod-${PV}.tar.gz \
  file://m4.patch \
  file://autofoo.patch \
  file://ldflags.patch \
  file://CVE-2010-2971.patch \
"

inherit autotools binconfig

EXTRA_OECONF = "\
  --disable-af \
  --enable-alsa \
  --disable-esd \
  --enable-oss \
  --disable-sam9407 \
  --disable-ultra \
  --disable-esdtest \
  --enable-threads \
"

SRC_URI[md5sum] = "9f3c740298260d5f88981fc0d51f6f16"
SRC_URI[sha256sum] = "891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32"

libmikmod: Update LICENSE field version to LGPLv2.1

* Updated LICENSE field version from generic LGPL to LGPLv2.1 to
  reflect the real license version.
* This change was back-ported from oe-core.

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>


DESCRIPTION = "Stream Benchmark"
HOMEPAGE = "http://www.cs.virginia.edu/stream/"
LICENSE = "Stream_Benchmark_License"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bca8cbe07976fe64c8946378d08314b0"
SECTION = "system"

PR = "r1"

BRANCH ?= "master"
SRCREV = "bd474633b7b0352211b48d84065bf7b7e166e4c2"

SRC_URI = "git://git.ti.com/sitara-linux/stream.git;branch=${BRANCH}"

S = "${WORKDIR}/git"

do_compile() {
	# build the release version
	oe_runmake stream_linux
}

do_install() {
	install -d ${D}/${bindir}
	install -m 0755 ${S}/stream_c ${D}/${bindir}/
}

DESCRIPTION = "Stream Benchmark"
HOMEPAGE = "http://www.cs.virginia.edu/stream/"
LICENSE = "Stream_Benchmark_License"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bca8cbe07976fe64c8946378d08314b0"
SECTION = "system"

PR = "r2"

BRANCH ?= "master"
SRCREV = "b66f2bab5d6d0b35732ef8406ae03873725a3306"

SRC_URI = "git://git.ti.com/sitara-linux/stream.git;branch=${BRANCH}"

S = "${WORKDIR}/git"

PACKAGES =+ "${PN}-openmp"

do_compile() {
	# build the release version
	oe_runmake
}

do_install() {
	install -d ${D}/${bindir}
	install -m 0755 ${S}/stream_c ${D}/${bindir}/
	install -m 0755 ${S}/stream_c_openmp ${D}/${bindir}/
}

FILES_${PN}-openmp = "${bindir}/stream_c_openmp"

stream: Update commit to include building openmp version of stream

Signed-off-by: Franklin S. Cooper Jr <b8c01a1703dc362919183054a071c1f348818c23@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


SUMMARY = "Diagnostic tool for TI K3 processors"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=7154c0ffcd418064ffa528e34e70ca9d"

PV = "0.2+git${SRCPV}"

COMPATIBLE_MACHINE = "k3"

BRANCH ?= "master"
SRCREV = "79f007cd462384ce22e750e9002b714878f56892"

SRC_URI = "git://git.ti.com/k3conf/k3conf.git;protocol=git;branch=${BRANCH}"

S = "${WORKDIR}/git"

do_compile () {
    oe_runmake CC="${CC}" CROSS_COMPILE=${TARGET_PREFIX} all
}

do_install () {
    install -d ${D}${bindir}
    install ${S}/k3conf ${D}${bindir}
}

SUMMARY = "Diagnostic tool for TI K3 processors"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=7154c0ffcd418064ffa528e34e70ca9d"

PV = "0.2+git${SRCPV}"

COMPATIBLE_MACHINE = "k3"

BRANCH ?= "master"
SRCREV = "966a5695b73bc53039ca60d196b77de0640088d4"

SRC_URI = "git://git.ti.com/k3conf/k3conf.git;protocol=git;branch=${BRANCH}"

S = "${WORKDIR}/git"

do_compile () {
    oe_runmake CC="${CC}" CROSS_COMPILE=${TARGET_PREFIX} all
}

do_install () {
    install -d ${D}${bindir}
    install ${S}/k3conf ${D}${bindir}
}

Update SRCREV to pick AM62x support

k3conf: Update SRCREV to pick AM62x support

Update the k3conf to the latest SHA.
This adds AM62x support.

Signed-off-by: Praneeth Bajjuri <5cbfdb29322859ed5c637fdb11a8f23fddd8e511@ti.com>
Signed-off-by: Ryan Eatmon <c832a3efa8dfb59911a35349a6eeba0397feadf1@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@konsulko.com>
Signed-off-by: Ryan Eatmon <c832a3efa8dfb59911a35349a6eeba0397feadf1@ti.com>


require u-boot-ti.inc

PR = "r26"

BRANCH = "ti-u-boot-2020.01"

SRCREV = "c32cf0dd6bc60911927548ad20973c71fce95661"

require u-boot-ti.inc

PR = "r27"

BRANCH = "ti-u-boot-2020.01"

SRCREV = "7b6b1a17bfdae5e4f6fd13f208c36814803f3ba7"

Update to the latest commit

ti-uboot-staging: Update to the latest commit

Update SRCREV to latest commit

Signed-off-by: Praneeth Bajjuri <5cbfdb29322859ed5c637fdb11a8f23fddd8e511@ti.com>
Signed-off-by: Dan Murphy <50b72235ef2106735bf2282950a69d11e6d56bc7@ti.com>


## Reminder:  The correct spacing for a variable is FOO = "BAR"  in : PR="r1"
DESCRIPTION = "BeagleBoard test scripts"
HOMEPAGE = "http://beagleboad.org/support"
PR = "r2"

SRC_URI = "git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \
"

SRCREV = "473dd2ab20d866be6168c9f992c2c9e74e485c9d"
S = "${WORKDIR}/git"

do_install() {
  TEST_FILES=" \
    testaudio \
    testcamera \
    testdsp \
    testedid \
    testled \
    testmem \
    testneon \
    testsvideo \
    testuserbtn \
    editbootscr \
    edituserscr \
    readgpio \
  "
  install -d ${D}/${bindir}
  for i in ${TEST_FILES}; do
    install -m 0755 ${S}/${i} ${D}/${bindir}
  done
}

## Reminder:  The correct spacing for a variable is FOO = "BAR"  in : PR="r1"
DESCRIPTION = "BeagleBoard test scripts"
HOMEPAGE = "http://beagleboad.org/support"
PR = "r3"

SRC_URI = "git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \
"

SRCREV = "2df76857155fbd462527c2b00ee83214483f0594"
S = "${WORKDIR}/git"

inherit update-rc.d
INITSCRIPT_NAME = "flash-nand-fs.sh"
INITSCRIPT_PARAMS = "start 99 2 3 4 5 ."

do_install() {
  TEST_FILES=" \
    testaudio \
    testcamera \
    testdsp \
    testedid \
    testled \
    testmem \
    testneon \
    testsvideo \
    testuserbtn \
    editbootscr \
    edituserscr \
    readgpio \
  "
  install -d ${D}/${bindir}
  for i in ${TEST_FILES}; do
    install -m 0755 ${S}/${i} ${D}/${bindir}
  done
  # A script to flash NAND if the board has it, and if there is valid image to flash on the SD Card.
  # We also register it as an init script so that the SD Card auto-flashes to NAND during boot.
  install -d ${D}/${sysconfdir}/init.d/
  install -m 0755 ${S}/flashing/flash-nand-fs.sh ${D}/${sysconfdir}/init.d/flash-nand-fs.sh
}

beagleboard-test-scripts: Add a script flash-fs.sh for flashing NAND

This script flashes the NAND of a BeagleBoard if:
  * There is a valid image on the SD Card to flash
  * The board has NAND

Signed-off-by: Joel A Fernandes <4d60a67c06f64f7da11cc7e4a924336c2efa9ab5@gmail.com>
Signed-off-by: Koen Kooi <42e3d96910f922bdd7dd1805fe3f8aff634f391d@openembedded.org>


LICENSE = "GPLv2"
DEPENDS = "libxml-simple-perl-native"

SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"

S = "${WORKDIR}/icon-naming-utils-${PV}"

inherit autotools native

SRC_URI[md5sum] = "4abe604721ce2ccb67f451aa7ceb44d6"
SRC_URI[sha256sum] = "1cb49ce6a04626939893a447da696f20003903d61bd80c6d74d29dd79ca340d2"

LICENSE = "GPLv2"
DEPENDS = "libxml-simple-perl-native"
PR = "r1"
SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz"

S = "${WORKDIR}/icon-naming-utils-${PV}"

inherit autotools native

do_configure_append() {
	# replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl
	sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/icon-name-mapping.pl.in
}

SRC_URI[md5sum] = "4abe604721ce2ccb67f451aa7ceb44d6"
SRC_URI[sha256sum] = "1cb49ce6a04626939893a447da696f20003903d61bd80c6d74d29dd79ca340d2"

icon-naming-utils-native: Fix long path to perl in icon-name-mapping

Signed-off-by: Tom Rini <4c3d5c8f8c21c27dd329bd585f481113514551fd@mentor.com>


require qt5-git.inc
require ${PN}.inc

QT_MODULE_BRANCH = "stable"

# qtsystems wasn't released yet, last tag before this SRCREV is 5.0.0-beta1
# qt5-git PV is only to indicate that this recipe is compatible with qt5 5.2.1

SRCREV = "aa651c73bf7bc57c1b6b1bfcfa9afe901884a102"

require qt5-git.inc
require ${PN}.inc

QT_MODULE_BRANCH = "5.3"

# qtsystems wasn't released yet, last tag before this SRCREV is 5.0.0-beta1
# qt5-git PV is only to indicate that this recipe is compatible with qt5 5.2.1

SRCREV = "aa651c73bf7bc57c1b6b1bfcfa9afe901884a102"

Change branch from stable to 5.3

qtsystems: Change branch from stable to 5.3

Stable branch was removed on mainline and now 5.3
is used.

Signed-off-by: Diego Sueiro <ad8405088babfd9de78621db022334230b00cda7@gmail.com>
Signed-off-by: Otavio Salvador <1d31b11c1b92bf5d043d36edfe7174db39a6b891@ossystems.com.br>


DESCRIPTION = "Linux kernel for Beck IPC Hardware"
KERNEL_IMAGETYPE = "zImage"

require recipes-kernel/linux/linux.inc

COMPATIBLE_MACHINE = "(sc145-db150)"

PV = "4.9.13"
PR = "r0"
SRCREV_pn-${PN} = "c34101cdc6acb0c056d07c0bc9e7c1df4758f76e"

SRC_URI += "git://git.kernelconcepts.de/linux-beck.git;protocol=git;branch=v4.9-beck; \
            file://defconfig"

S = "${WORKDIR}/git"

DESCRIPTION = "Linux kernel for Beck IPC Hardware"
KERNEL_IMAGETYPE = "zImage"

require recipes-kernel/linux/linux.inc
require recipes-kernel/linux/linux-dtb.inc

COMPATIBLE_MACHINE = "(sc145-db150)"

PV = "4.9.13"
PR = "r0"
SRCREV_pn-${PN} = "c29e52f4aa3d42338c3234d73a19723e9267a46a"

SRC_URI += "git://github.com/beck-ipc/kernel-at-chip.git;protocol=https;branch=v4.9-beck; \
            file://defconfig"

S = "${WORKDIR}/git"

Update kernel to fetch from GitHub Build devicetree and update revision.


#
# Base recipe: meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb
# Branch: daisy
#

SUMMARY = "Library that provides weak aliases for pthread functions"
DESCRIPTION = "This library provides weak aliases for pthread functions \
not provided in libc or otherwise available by default."
HOMEPAGE = "http://xcb.freedesktop.org"
BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=XCB"

PR = "r0"

inherit debian-package

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad"

# Avoid a parallel build problem
PARALLEL_MAKE = ""

inherit autotools pkgconfig

BBCLASSEXTEND = "native nativesdk"

# There is no Debian's patch
DEBIAN_PATCH_TYPE = "nopatch"

# Correct the package name follow Debian
DEBIANNAME_${PN}-dev = "${PN}0-dev"

#
# Base recipe: meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb
# Branch: daisy
#

SUMMARY = "Library that provides weak aliases for pthread functions"
DESCRIPTION = "This library provides weak aliases for pthread functions \
not provided in libc or otherwise available by default."
HOMEPAGE = "http://xcb.freedesktop.org"
BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=XCB"

PR = "r0"

inherit debian-package

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad"

# Avoid a parallel build problem
PARALLEL_MAKE = ""

inherit autotools pkgconfig

BBCLASSEXTEND = "native nativesdk"

# There is no Debian's patch
DEBIAN_PATCH_TYPE = "nopatch"

# Create package follow Debian.
PACKAGES = "${PN}0-dev"

FILES_${PN}0-dev = "${libdir}"

Correct the package name follow Debian

libpthread-stubs: Correct the package name follow Debian

Because ${PN}-dev package depend on , so if ${PN}  is empty package;
It's failed when we add ${PN}-dev into packagegroup-core-standalone-sdk-target

Signed-off-by: Hoang Trong Nghia <b874396fbdd8843df5170c2f0d7bd61e089f462b@toshiba-tsdv.com>


DESCRIPTION = "Locations is a GPS location based application that lets you save and send your favorite locations to friends."
HOMEPAGE = "http://wiki.openmoko.org/wiki/Om2008.8_Locations"
SECTION = "openmoko/applications"
LICENSE = "GPL"
DEPENDS = "eet evas edje ecore edbus etk"
RDEPENDS_${PN} = "diversity-daemon"
PV = "0.2+gitr${SRCREV}"
PR = "r1.04"

SRC_URI = "git://git.openmoko.org/git/om-locations.git;protocol=git"

S = "${WORKDIR}/git"

inherit autotools pkgconfig

EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"

do_configure_prepend() {
       autopoint --force
}

PKG_TAGS_${PN} = "alias::Om_Locations"

DESCRIPTION = "Locations - a GPS location based communicative application"
HOMEPAGE = "http://wiki.openmoko.org/wiki/Om2008.8_Locations"
SECTION = "openmoko/applications"
LICENSE = "GPL"
DEPENDS = "eet evas edje ecore edbus etk"
RDEPENDS_${PN} = "diversity-daemon"
PV = "0.2+gitr${SRCREV}"
PR = "r1.03"

SRC_URI = "git://git.openmoko.org/git/om-locations.git;protocol=git"

S = "${WORKDIR}/git"

inherit autotools pkgconfig

EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc"

do_configure_prepend() {
       autopoint --force
}

PKG_TAGS_${PN} = "group::communication alias::Om_Locations"

Revert "[Descriptions] Adding more description to applications"

This reverts commit 7a966d56b1956eaa16c47fd87da9dd9ca5e9ab11.


require recipes-devtools/qemu/qemu.inc
require qemu-xilinx.inc

BBCLASSEXTEND = "nativesdk"

RDEPENDS_${PN}_class-target += "bash"

EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"

do_install_append_class-nativesdk() {
    ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
}

require recipes-devtools/qemu/qemu.inc
require qemu-xilinx.inc

BBCLASSEXTEND = "nativesdk"

RDEPENDS_${PN}_class-target += "bash"

PROVIDES_class-nativesdk = "nativesdk-qemu"
RPROVIDES_${PN}_class-nativesdk = "nativesdk-qemu"

EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}"
EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}"

do_install_append_class-nativesdk() {
    ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)}
}

qemu-xilinx: Enable qemu-xilinx to provide nativesdk-qemu

Enable qemu-xilinx to provide nativeask-qemu for sdk builds

Signed-off-by: Sai Hari Chandana Kalluri <dcd6f85a7bffd89d026445db0f5113d6d436d06a@xilinx.com>
Signed-off-by: Mark Hatle <41765ab18fb75e64ff0efe27f2ebcdb2d6f7e44e@xilinx.com>


SUMMARY = "Building and installing bootgen"
DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1"

S = "${WORKDIR}/git"

DEPENDS += "openssl"
RDEPENDS:${PN} += "openssl"

REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https"
BRANCH ?= "xlnx_rel_v2022.2"
SRCREV = "d890ba298685b73307a01a9dbcc8702f9afcdbcc"

BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
SRC_URI = "${REPO};${BRANCHARG}"

EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}'
CXXFLAGS:append = " -std=c++0x"

TARGET_CC_ARCH += "${LDFLAGS}"

do_install() {
    install -d ${D}${bindir}
    install -Dm 0755 ${S}/bootgen ${D}${bindir}
}

FILES:${PN} = "${bindir}/bootgen"

BBCLASSEXTEND = "native nativesdk"

SUMMARY = "Building and installing bootgen"
DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images"

LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1"

S = "${WORKDIR}/git"

DEPENDS += "openssl"
RDEPENDS:${PN} += "openssl"

REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https"
BRANCH ?= "xlnx_rel_v2022.2"
SRCREV = "8c303a5f9c1db67a9f8b7643678740d007bf567c"

BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
SRC_URI = "${REPO};${BRANCHARG}"

EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}'
CXXFLAGS:append = " -std=c++0x"

TARGET_CC_ARCH += "${LDFLAGS}"

do_install() {
    install -d ${D}${bindir}
    install -Dm 0755 ${S}/bootgen ${D}${bindir}
}

FILES:${PN} = "${bindir}/bootgen"

BBCLASSEXTEND = "native nativesdk"

Update to bootgen SRCREV to point to latest commit

Signed-off-by: Mark Hatle <41765ab18fb75e64ff0efe27f2ebcdb2d6f7e44e@amd.com>


# Released under the MIT license (see COPYING.MIT for the terms)

require ktap.inc

SUMMARY = "KTAP is a scripting dynamic tracing tool for Linux"
DEPENDS = "ktap-module"

#Available package configs:
# libelf - needed to resolve symbols in DSO and for sdt
# ffi    - only supports x86_64 for now!. Needs to be enabled for ktap-module too.
PACKAGECONFIG ?= "libelf"

PACKAGECONFIG[libelf] = ",,elfutils"

# Only build the userspace app
EXTRA_OEMAKE = "${@base_contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \
             ${@base_contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \
             ktap"

do_install() {
    install -d ${D}${bindir}
    install -m 0755 ${S}/ktap ${D}${bindir}/
}

RDEPENDS_${PN} = "kernel-module-ktapvm"

# Released under the MIT license (see COPYING.MIT for the terms)

require ktap.inc

SUMMARY = "KTAP is a scripting dynamic tracing tool for Linux"
DEPENDS = "ktap-module"

#Available package configs:
# libelf - needed to resolve symbols in DSO and for sdt
# ffi    - only supports x86_64 for now!. Needs to be enabled for ktap-module too.
PACKAGECONFIG ?= "libelf"

PACKAGECONFIG[libelf] = ",,elfutils"

# Only build the userspace app
EXTRA_OEMAKE = "${@base_contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \
             ${@base_contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \
             ktap"

do_install() {
    install -d ${D}${bindir}
    install -m 0755 ${S}/ktap ${D}${bindir}/
}

PACKAGE_ARCH = "${MACHINE_ARCH}"
RDEPENDS_${PN} = "kernel-module-ktapvm"

ktap: Set MACHINE_ARCH because of ktap-module runtime dependency

* it's possible to exclude ktap-module dependency from siggen, but
  then we would need to exclude virtual/kernel and that doesn't work
  we would need to list all posisble providers as
  ktap->linux-yocto
  ktap->linux-foo
  ....

Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


SUMMARY = "A console-only image with a development/debug \
environment suitable for building GNURadio installed."

#require version-image.inc

IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \
                   debug-tweaks \
                   dev-pkgs \
                  "

EXTRA_IMAGE_FEATURES += "package-management"

LICENSE = "MIT"

CORE_IMAGE_EXTRA_INSTALL = "\
    i2c-tools \
    devmem2 \
    screen \
    vim \
    vim-vimrc \
    git \
    swig \
    boost \
    cmake \
    gsl \
    python \
    python-mako \
    python-modules \
    python-argparse \
    python-distutils \
    python-numpy \
    htop \
    glib-2.0 \
    orc \
    overlay-script \
    libudev \
    iperf3 \
    openssh-sftp \
    openssh-sftp-server \
    fftwf-wisdom \
    uhd \
    uhd-examples \
    python3-pip \
    ethtool \
    sshfs-fuse \
    tzdata \
    trousers \
    tpm-tools \
    "

#eeprom-hostname-systemd
#migrate-netcfg-systemd
#usrp-hwd
#openocd
#salt-minion

inherit core-image image-buildinfo

#MENDER_DATA_PART_DIR_append = "${DEPLOY_DIR_IMAGE}/persist"

SUMMARY = "A console-only image with a development/debug \
environment suitable for building GNURadio installed."

#require version-image.inc

IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \
                   debug-tweaks \
                   dev-pkgs \
                  "

EXTRA_IMAGE_FEATURES += "package-management"

LICENSE = "MIT"

CORE_IMAGE_EXTRA_INSTALL = "\
    i2c-tools \
    devmem2 \
    screen \
    vim \
    vim-vimrc \
    git \
    swig \
    boost \
    cmake \
    gsl \
    python \
    python-mako \
    python-modules \
    python-argparse \
    python-distutils \
    python-numpy \
    htop \
    glib-2.0 \
    mpmd \
    orc \
    overlay-script \
    libudev \
    iperf3 \
    openssh-sftp \
    openssh-sftp-server \
    fftwf-wisdom \
    uhd \
    uhd-examples \
    python3-pip \
    ethtool \
    sshfs-fuse \
    tzdata \
    trousers \
    tpm-tools \
    "

#eeprom-hostname-systemd
#migrate-netcfg-systemd
#openocd
#salt-minion

inherit core-image image-buildinfo

#MENDER_DATA_PART_DIR_append = "${DEPLOY_DIR_IMAGE}/persist"

meta-ettus-core: Add mpmd to installed packages on dev image

Add mpmd to installed packages on developer image.

Signed-off-by: Moritz Fischer <2b469823646c02e9f01a7ad5b893ceac76b06bbe@ettus.com>


PR = "r0"

inherit debian-package allarch
PV = "1.5.56+deb8u1"

SUMMARY = "Debian configuration management system"
DESCRIPTION = "\
 Debconf is a configuration management system for debian packages. Packages\
 use Debconf to ask questions when they are installed.\
"
LICENSE = "BSD-2-Clause"
SECTION = "admin"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=1aa3b78d3182195ba56c01cb7227ead3"

DEBIAN_PATCH_TYPE = "nopatch"

do_configure() {
	:
}

do_compile() {
	:
}

do_install() {
	prefix="${D}" oe_runmake install-utils
	prefix="${D}" oe_runmake install-rest
}

do_install_class-native () {
	prefix="${D}${STAGING_DIR_NATIVE}" oe_runmake install
}

PACKAGES =+ "${PN}-utils"
FILES_${PN}-utils = " \
${bindir}/debconf-get-selections \
${bindir}/debconf-getlang \
${bindir}/debconf-loadtemplate \
${bindir}/debconf-mergetemplate \
"
FILES_${PN} += "${datadir} ${libdir}"

BBCLASSEXTEND = "native"

PR = "r0"

inherit debian-package allarch
PV = "1.5.56+deb8u1"

SUMMARY = "Debian configuration management system"
DESCRIPTION = "\
 Debconf is a configuration management system for debian packages. Packages\
 use Debconf to ask questions when they are installed.\
"
LICENSE = "BSD-2-Clause"
SECTION = "admin"
LIC_FILES_CHKSUM = "file://debian/copyright;md5=1aa3b78d3182195ba56c01cb7227ead3"

DEBIAN_PATCH_TYPE = "nopatch"

inherit perlnative

do_configure() {
	:
}

do_compile() {
	:
}

do_install() {
	prefix="${D}" oe_runmake install-utils
	prefix="${D}" oe_runmake install-rest
}

do_install_class-native () {
	prefix="${D}${STAGING_DIR_NATIVE}" oe_runmake install

	# Use /usr/bin/env nativeperl for the perl script.
	for f in `grep -rIl '#! */usr/bin/perl' ${D}`; do
		sed -i -e 's|/usr/bin/perl.*|/usr/bin/env nativeperl|' $f
	done
}

PACKAGES =+ "${PN}-utils"
FILES_${PN}-utils = " \
${bindir}/debconf-get-selections \
${bindir}/debconf-getlang \
${bindir}/debconf-loadtemplate \
${bindir}/debconf-mergetemplate \
"
FILES_${PN} += "${datadir} ${libdir}"

BBCLASSEXTEND = "native"

Use nativeperl for the perl script

debconf-native: Use nativeperl for the perl script

debconf should not use perl from host system, but nativeperl instead.
Find and replace "/usr/bin/perl" by "/usr/bin/env nativeperl"

Signed-off-by: Trung Do <64081e6b7eb2b24289b8a4e51cef9836ddf28af2@toshiba-tsdv.com>
Signed-off-by: Daichi Fukui <53d95285b006e36c85dc99698165b4ee03ced1eb@toshiba.co.jp>


SUMMARY = "The core of the ament buildsystem in CMake."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://package.xml;beginline=17;endline=17;md5=12c26a18c7f493fdc7e8a93b16b7c04f"
DEPENDS = "ament-package-native ${PYTHON_PN}-pyparsing"

include ament-cmake.inc

RDEPENDS_${PN} += "ament-package cmake"

SUMMARY = "The core of the ament buildsystem in CMake."
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://package.xml;beginline=17;endline=17;md5=12c26a18c7f493fdc7e8a93b16b7c04f"
DEPENDS = "ament-package-native ${PYTHON_PN}-pyparsing-native"

include ament-cmake.inc

RDEPENDS_${PN} += "ament-package cmake"

ament-cmake-core: Fix the dependency on ${PYTHON_PN}-pyparsing

* it actually needs ${PYTHON_PN}-pyparsing-native as shown in
  do_configure failure:

| DEBUG: Executing shell function do_configure
| -- Found PythonInterp: ament-cmake-core/git-r0/recipe-sysroot-native/usr/bin/python3-native/python3 (found suitable version "3.5.2", minimum required is "3")
| -- Using PYTHON_EXECUTABLE: ament-cmake-core/git-r0/recipe-sysroot-native/usr/bin/python3-native/python3
| Error parsing 'ament-cmake-core/git-r0/git/ament_cmake_core/package.xml':
| Traceback (most recent call last):
|   File "ament-cmake-core/git-r0/git/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 145, in <module>
|     main()
|   File "ament-cmake-core/git-r0/git/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 56, in main
|     raise e
|   File "ament-cmake-core/git-r0/git/ament_cmake_core/cmake/core/package_xml_2_cmake.py", line 53, in main
|     package = parse_package_string(args.package_xml.read())
|   File "ament-cmake-core/git-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/ament_package/__init__.py", line 173, in parse_package_string
|     pkg.build_depends = _get_dependencies(root, 'build_depend')
|   File "ament-cmake-core/git-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/ament_package/__init__.py", line 364, in _get_dependencies
|     from .dependency import Dependency
|   File "ament-cmake-core/git-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/ament_package/dependency.py", line 15, in <module>
|     from ament_package.condition import evaluate_condition
|   File "ament-cmake-core/git-r0/recipe-sysroot-native/usr/lib/python3.5/site-packages/ament_package/condition.py", line 17, in <module>
|     import pyparsing
| ImportError: No module named 'pyparsing'
| CMake Error at cmake/core/ament_package_xml.cmake:94 (message):

Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


require recipes-core/images/core-image-minimal.bb

PR = "r5"

IMAGE_INSTALL += "packagegroup-core-ssh-openssh"
IMAGE_INSTALL += "iproute2"
IMAGE_INSTALL += "binutils"
IMAGE_INSTALL += "nano"
IMAGE_INSTALL += "mtd-utils"
IMAGE_INSTALL += "mtd-utils-ubifs"
IMAGE_INSTALL += "canutils"
IMAGE_INSTALL += "vbusenable"
IMAGE_INSTALL += "flashubi"
IMAGE_INSTALL += "wireless-tools"
IMAGE_INSTALL += "wpa-supplicant"
IMAGE_INSTALL += "wpa-supplicant-cli"
IMAGE_INSTALL += "wpa-supplicant-passphrase"
IMAGE_INSTALL += "iw"
IMAGE_INSTALL += "curl"
IMAGE_INSTALL += "binutils"
IMAGE_INSTALL += "bash"
IMAGE_INSTALL += "cellularctl"
IMAGE_INSTALL += "ppp"
IMAGE_INSTALL += "ppp-configuration"
IMAGE_INSTALL += "gpsd"
IMAGE_INSTALL += "gdbserver"
IMAGE_INSTALL += "openssh-sftp-server"
IMAGE_INSTALL += "usbutils"
IMAGE_INSTALL += "bsp-version"

require recipes-core/images/core-image-minimal.bb

PR = "r5"

IMAGE_INSTALL += "packagegroup-core-ssh-openssh"
IMAGE_INSTALL += "iproute2"
IMAGE_INSTALL += "binutils"
IMAGE_INSTALL += "nano"
IMAGE_INSTALL += "mtd-utils"
IMAGE_INSTALL += "mtd-utils-ubifs"
IMAGE_INSTALL += "can-utils"
IMAGE_INSTALL += "vbusenable"
IMAGE_INSTALL += "flashubi"
IMAGE_INSTALL += "wireless-tools"
IMAGE_INSTALL += "wpa-supplicant"
IMAGE_INSTALL += "wpa-supplicant-cli"
IMAGE_INSTALL += "wpa-supplicant-passphrase"
IMAGE_INSTALL += "iw"
IMAGE_INSTALL += "curl"
IMAGE_INSTALL += "binutils"
IMAGE_INSTALL += "bash"
IMAGE_INSTALL += "cellularctl"
IMAGE_INSTALL += "ppp"
IMAGE_INSTALL += "ppp-configuration"
IMAGE_INSTALL += "gpsd"
IMAGE_INSTALL += "gdbserver"
IMAGE_INSTALL += "openssh-sftp-server"
IMAGE_INSTALL += "usbutils"
IMAGE_INSTALL += "bsp-version"

Replace canutils package with can-utils package

Ticket #2344


SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
HOMEPAGE = "http://rapidjson.org/"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"

SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \
           file://remove-march-native-from-CMAKE_CXX_FLAGS.patch \
"

SRCREV = "e5635fb27feab7f6e8d7b916aa20ad799045a641"

PV = "1.1.0+git${SRCPV}"

S = "${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"

# RapidJSON is a header-only C++ library, so the main package will be empty.

RDEPENDS_${PN}-dev = ""

BBCLASSEXTEND = "native nativesdk"

SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API"
HOMEPAGE = "http://rapidjson.org/"
SECTION = "libs"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125"

SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1"

SRCREV = "6a905f9311f82d306da77bd963ec5aa5da07da9c"

PV = "1.1.0+git${SRCPV}"

S = "${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF"

# RapidJSON is a header-only C++ library, so the main package will be empty.

RDEPENDS_${PN}-dev = ""

BBCLASSEXTEND = "native nativesdk"

Update to newer 1.1.0 + git

rapidjson: Update to newer 1.1.0 + git

Bring in a newer version of rapidjson which includes a fixes when
running on ARM, specifically 748a652f04 ("Fix SIGBUS due to unaligned
access")

Also remove the existing patch file as the issue was resolved in the
mainline by 4c9a28a28e ("CMake: do not pass -march=native or
-mcpu=native when crosscompiling")

Signed-off-by: Joshua Watt <a9203822f8e5fd5efed99f9b90edb711b0bebce2@gmail.com>
Signed-off-by: Veselin Georgiev <20152d7ed8e6d47d181bd82aa2425762c92c79fa@garmin.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


require recipes-graphics/xorg-app/xorg-app-common.inc

SUMMARY = "X.Org X11 X client utilities"
HOMEPAGE = "http://cgit.freedesktop.org/xorg/app/xstdcmap"
DESCRIPTION = "The xstdcmap utility can be used to selectively define \
standard colormap properties."
SECTION = "x11/app"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=2b08d9e2e718ac83e6fe2b974d4b5fd8"

RDEPENDS_${PN} = "libxmu"
BBCLASSEXTEND = "native"

SRC_URI[md5sum] = "eb5473acaef15a5db9b50df29c6a7f90"
SRC_URI[sha256sum] = "f648e2b0cf16aa29856de998e2c7204be39dc1f8daeda9464d32288e0b580fc1"

PNBLACKLIST[xstdcmap] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130660/ - the recipe will be removed on 2017-09-01 unless the issue is fixed"

require recipes-graphics/xorg-app/xorg-app-common.inc

SUMMARY = "X.Org X11 X client utilities"
HOMEPAGE = "http://cgit.freedesktop.org/xorg/app/xstdcmap"
DESCRIPTION = "The xstdcmap utility can be used to selectively define \
standard colormap properties."
SECTION = "x11/app"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=2b08d9e2e718ac83e6fe2b974d4b5fd8"

DEPENDS += "libxmu"
BBCLASSEXTEND = "native"

SRC_URI[md5sum] = "eb5473acaef15a5db9b50df29c6a7f90"
SRC_URI[sha256sum] = "f648e2b0cf16aa29856de998e2c7204be39dc1f8daeda9464d32288e0b580fc1"

xstdcmap: Change libxmu from RDEPENDS -> DEPENDS and unblacklist xstdcmap

The build for xstdcmap was failing in do_configure due to the missing
xmu package. The libxmu inside the recipe should have been DEPENDS
and not RDEPENDS.

Since this is working, xstdcmap is unblacklist-ed from the build.

Signed-off-by: Stanley Cheong Kwan, Phoong <1f5d1581262c33e0d57e124395a969bee69a1df8@intel.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


require recipes-kernel/linux/linux-yocto.inc

KERNEL_IMAGETYPE = "zImage"

COMPATIBLE_MACHINE = "overo"

RDEPENDS_kernel-base += "kernel-devicetree"

KERNEL_DEVICETREE = " \
    omap3-overo-storm-tobi.dtb \
    omap3-overo-storm-tobiduo.dtb \
    omap3-overo-tobi.dts \
    omap3-overo-tobiduo.dts \
 "

LINUX_VERSION = "4.4"
LINUX_VERSION_EXTENSION = "-jumpnow"

FILESEXTRAPATHS_prepend := "${THISDIR}/linux-stable-4.4:"

S = "${WORKDIR}/git"

PR = "r0"

# v4.4.8
SRCREV = "8c9aef03d3b540b6885e7534a885ea25f62dd9ed"
SRC_URI = " \
    git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-4.4.y \
    file://defconfig \
    file://0001-spidev-Add-a-generic-compatible-id.patch \
 "

require recipes-kernel/linux/linux-yocto.inc

KERNEL_IMAGETYPE = "zImage"

COMPATIBLE_MACHINE = "overo"

RDEPENDS_kernel-base += "kernel-devicetree"

KERNEL_DEVICETREE = " \
    omap3-overo-storm-tobi.dtb \
    omap3-overo-tobi.dtb \
 "

LINUX_VERSION = "4.4"
LINUX_VERSION_EXTENSION = "-jumpnow"

FILESEXTRAPATHS_prepend := "${THISDIR}/linux-stable-4.4:"

S = "${WORKDIR}/git"

PR = "r0"

# v4.4.8
SRCREV = "8c9aef03d3b540b6885e7534a885ea25f62dd9ed"
SRC_URI = " \
    git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-4.4.y \
    file://defconfig \
 "

Remove spidev patch, keep it vanilla

kernel: Remove spidev patch, keep it vanilla


DESCRIPTION = "Demo application to showcase 3D graphics on SGX using kms and gbm"
HOMEPAGE = "http://git.ti.com"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8f3969dd53b6bf158"

DEPENDS = "libdrm virtual/libgbm virtual/egl virtual/libgles2"

COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit autotools pkgconfig

PR = "r13"
SRCREV = "456cabc661caac5c60729751d45efd668faa8e97"

SRC_URI = "git://git.ti.com/glsdk/kmscube.git;protocol=git"

SRC_URI_append = " \
"

S = "${WORKDIR}/git"

INSANE_SKIP_kmscube += "dev-deps"

DESCRIPTION = "Demo application to showcase 3D graphics on SGX using kms and gbm"
HOMEPAGE = "http://git.ti.com"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8f3969dd53b6bf158"

DEPENDS = "libdrm virtual/libgbm virtual/egl virtual/libgles2"

COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3"
PACKAGE_ARCH = "${MACHINE_ARCH}"

inherit autotools pkgconfig

PR = "r14"
SRCREV = "7bc7ff6c4ead19761003ed4a08d00ce64effe38b"

SRC_URI = "git://git.ti.com/glsdk/kmscube.git;protocol=git"

SRC_URI_append = " \
"

S = "${WORKDIR}/git"

INSANE_SKIP_kmscube += "dev-deps"

Update SRCREV for connector-ID fix

kmscube: Update SRCREV for connector-ID fix

KmsCube executed with connector-id as argument
resulted in SEgmentation fault due to previous commit's
one change.

Add : after c in argument list as fix

Signed-off-by: Ramprasad N <9efda854e98f2f9d79e17980f5852c92dd5b0122@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds"
PR = "r0.02"

do_compile() {
    mkdir -p ${S}/${sysconfdir}/opkg
    for feed in Multiverse; do
        echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
    done
}
do_install () {
        install -d ${D}${sysconfdir}/opkg
        install -m 0644  ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
}

PACKAGE_ARCH = "${MACHINE_ARCH}"

CONFFILES_${PN} += "${sysconfdir}/opkg/community-repository-feed.conf"

PKG_TAGS_${PN} = "group::repos"

OPENMOKO_URI = "http://downloads.openmoko.org/repository"

DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds"
PR = "r0.02"

do_compile() {
    mkdir -p ${S}/${sysconfdir}/opkg
    for feed in Multiverse; do
        echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf
    done
}
do_install () {
        install -d ${D}${sysconfdir}/opkg
        install -m 0644  ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/
}

PACKAGE_ARCH = "${MACHINE_ARCH}"

CONFFILES_${PN} += "${sysconfdir}/opkg/Multiverse-feed.conf"

PKG_TAGS_${PN} = "group::repos"

OPENMOKO_URI = "http://downloads.openmoko.org/repository"

[openmoko] Fix the feed configuration
    Make the package buildable again


require ttf.inc

DESCRIPTION = "Junction Fonts - OTF Edition"
LICENSE = "OFL"
PR = "r0"

SRC_URI = "http://www.linuxtogo.org/~mickeyl/misc/junction.zip"
S = "${WORKDIR}"

do_install() {
	install -d ${D}${datadir}/fonts/${PN}
	install -m 0644 */*.otf ${D}${datadir}/fonts/${PN}/
}

SRC_URI[md5sum] = "fe26a1f85d7f367781e0f8764552dff7"
SRC_URI[sha256sum] = "cab8f3f546c49f2aae9855c252e898cb1951a50a5638080cc713d8987520b366"

FILES_${PN} += "${datadir}/fonts/${PN}/*.otf"

require ttf.inc

DESCRIPTION = "Junction Fonts - OTF Edition"
LICENSE = "OFL"
PR = "r0"

SRC_URI = "http://www.linuxtogo.org/~mickeyl/misc/junction.zip;subdir=${BPN}-${PV}"
SRC_URI[md5sum] = "fe26a1f85d7f367781e0f8764552dff7"
SRC_URI[sha256sum] = "cab8f3f546c49f2aae9855c252e898cb1951a50a5638080cc713d8987520b366"

do_install() {
	install -d ${D}${datadir}/fonts/${PN}
	install -m 0644 */*.otf ${D}${datadir}/fonts/${PN}/
}

FILES_${PN} += "${datadir}/fonts/${PN}/*.otf"

Switch to subdir= in SRC_URI

otf-junction: Switch to subdir= in SRC_URI

Signed-off-by: Tom Rini <4c3d5c8f8c21c27dd329bd585f481113514551fd@mentor.com>


SUMMARY = "Memory Efficient Serialization Library"
HOMEPAGE = "https://github.com/google/flatbuffers"
SECTION = "console/tools"
LICENSE = "Apache-2.0"

PACKAGE_BEFORE_PN = "${PN}-compiler"

RDEPENDS_${PN}-compiler = "${PN}"
RDEPENDS_${PN}-dev += "${PN}-compiler"

LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"

SRCREV = "6df40a2471737b27271bdd9b900ab5f3aec746c7"

SRC_URI = "git://github.com/google/flatbuffers.git"

# Make sure C++11 is used, required for example for GCC 4.9
CXXFLAGS += "-std=c++11 -fPIC"
BUILD_CXXFLAGS += "-std=c++11 -fPIC"

# BUILD_TYPE=Release is required, otherwise flatc is not installed
EXTRA_OECMAKE += "\
    -DCMAKE_BUILD_TYPE=Release \
    -DFLATBUFFERS_BUILD_TESTS=OFF \
    -DFLATBUFFERS_BUILD_SHAREDLIB=ON \
"

inherit cmake

S = "${WORKDIR}/git"

FILES_${PN}-compiler = "${bindir}"

BBCLASSEXTEND = "native nativesdk"

SUMMARY = "Memory Efficient Serialization Library"
HOMEPAGE = "https://github.com/google/flatbuffers"
SECTION = "console/tools"
LICENSE = "Apache-2.0"

PACKAGE_BEFORE_PN = "${PN}-compiler"

RDEPENDS_${PN}-compiler = "${PN}"
RDEPENDS_${PN}-dev += "${PN}-compiler"

LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"

SRCREV = "6df40a2471737b27271bdd9b900ab5f3aec746c7"

SRC_URI = "git://github.com/google/flatbuffers.git"

CXXFLAGS += "-fPIC"
BUILD_CXXFLAGS += "-fPIC"

# BUILD_TYPE=Release is required, otherwise flatc is not installed
EXTRA_OECMAKE += "\
    -DCMAKE_BUILD_TYPE=Release \
    -DFLATBUFFERS_BUILD_TESTS=OFF \
    -DFLATBUFFERS_BUILD_SHAREDLIB=ON \
"

inherit cmake

S = "${WORKDIR}/git"

FILES_${PN}-compiler = "${bindir}"

BBCLASSEXTEND = "native nativesdk"

Remove workarounds for gcc < 6

flatbuffers: Remove workarounds for gcc < 6

Signed-off-by: Adrian Bunk <0b86548ef377da0031a3ff3f0c4e06f016e20105@stusta.de>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


DESCRIPTION = "Task to install graphics binaries"
LICENSE = "MIT"
PR = "r18"

inherit packagegroup

#    wayland-ivi-extension
GRAPHICS_WAYLAND = "\
    weston \
    weston-init \
    weston-examples \
"

GRAPHICS_WAYLAND_append_omap-a15 = "\
    chromium-wayland \
"

GRAPHICS_RDEPENDS = "\
    libgbm \
    ti-sgx-ddk-km \
    ti-sgx-ddk-um \
    glmark2 \
"

GRAPHICS_RDEPENDS_append_omap-a15 = "\
    ti-gc320-tests \
    ti-gc320-driver \
    ti-gc320-libs  \
"

RDEPENDS_${PN} = "\
    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GRAPHICS_WAYLAND}", '', d)} \
    ${GRAPHICS_RDEPENDS} \
"

DESCRIPTION = "Task to install graphics binaries"
LICENSE = "MIT"
PR = "r19"

inherit packagegroup

#    wayland-ivi-extension
GRAPHICS_WAYLAND = "\
    weston \
    weston-init \
    weston-examples \
"

GRAPHICS_WAYLAND_append_omap-a15 = "\
    chromium-wayland \
"

GRAPHICS_RDEPENDS = "\
    libgbm \
    ti-sgx-ddk-km \
    ti-sgx-ddk-um \
    glmark2 \
"

GRAPHICS_DISPLAY_UTILS = "\
"

GRAPHICS_DISPLAY_UTILS_append_omap-a15  = "\
    glsdk-util-scripts \
"

GRAPHICS_RDEPENDS_append_omap-a15 = "\
    ti-gc320-tests \
    ti-gc320-driver \
    ti-gc320-libs  \
"

RDEPENDS_${PN} = "\
    ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GRAPHICS_WAYLAND}", '', d)} \
    ${GRAPHICS_RDEPENDS} \
    ${GRAPHICS_DISPLAY_UTILS} \
"

Add util-scripts into the image

packagegroup-*-graphics: Add util-scripts into the image

commit c655e22f3f2029831cc4c8942605c85aae8c0569

Signed-off-by: Karthik Ramanan <6de1dcae9ab07cd18361f3588c5fcaba210b4a8e@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


SUMMARY = "Stressful Application Test"
DESCRIPTION = "Stressful Application Test (or stressapptest, its unix name) \
 is a memory interface test. It tries to maximize randomized traffic to memory \
 from processor and I/O, with the intent of creating a realistic high load \
 situation in order to test the existing hardware devices in a computer. \
"
HOMEPAGE = "https://github.com/stressapptest/stressapptest"
SECTION = "benchmark"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=55ea9d559f985fb4834317d8ed6b9e58"

SRC_URI = "https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz \
           file://libcplusplus-compat.patch \
           file://read_sysfs_for_cachesize.patch \
          "

SRC_URI[md5sum] = "d3a526c174c049dd7a1068dc74a62be2"
SRC_URI[sha256sum] = "2ba470587ad4f6ae92057d427c3a2a2756e5f10bd25cd91e62eaef55a40b30a1"

S = "${WORKDIR}/${PN}-${PV}"

inherit autotools

SUMMARY = "Stressful Application Test"
DESCRIPTION = "Stressful Application Test (or stressapptest, its unix name) \
 is a memory interface test. It tries to maximize randomized traffic to memory \
 from processor and I/O, with the intent of creating a realistic high load \
 situation in order to test the existing hardware devices in a computer. \
"
HOMEPAGE = "https://github.com/stressapptest/stressapptest"
SECTION = "benchmark"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://COPYING;md5=55ea9d559f985fb4834317d8ed6b9e58"

SRCREV = "fb72e5e5f0879231f38e0e826a98a6ca2d1ca38e"

SRC_URI = "git://github.com/stressapptest/stressapptest \
           file://libcplusplus-compat.patch \
           file://read_sysfs_for_cachesize.patch \
          "

S = "${WORKDIR}/git"

inherit autotools

Use git SHA instead of git archive

stressapptest: Use git SHA instead of git archive

git archives get regenerated randomly so lets use git fetcher instead

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


SUMMARY  = "pandas library for high-performance data analysis tools"
DESCRIPTION = "pandas is an open source, BSD-licensed library providing \
high-performance, easy-to-use data structures and data analysis tools for \
the Python programming language."
HOMEPAGE = "http://pandas.pydata.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c2a8f987b2ce77c368c6b3e1b5b10774"

SRC_URI[md5sum] = "512da48424b85bf198002bdbdf38af5a"
SRC_URI[sha256sum] = "b39508562ad0bb3f384b0db24da7d68a2608b9ddc85b1d931ccaaa92d5e45273"

inherit pypi setuptools3

DEPENDS += " \
    ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \
"

RDEPENDS_${PN} += " \
    ${PYTHON_PN}-json \
    ${PYTHON_PN}-numpy \
    ${PYTHON_PN}-dateutil \
    ${PYTHON_PN}-pytz \
"

SUMMARY  = "pandas library for high-performance data analysis tools"
DESCRIPTION = "pandas is an open source, BSD-licensed library providing \
high-performance, easy-to-use data structures and data analysis tools for \
the Python programming language."
HOMEPAGE = "http://pandas.pydata.org/"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=c2a8f987b2ce77c368c6b3e1b5b10774"

SRC_URI[md5sum] = "512da48424b85bf198002bdbdf38af5a"
SRC_URI[sha256sum] = "b39508562ad0bb3f384b0db24da7d68a2608b9ddc85b1d931ccaaa92d5e45273"

inherit pypi setuptools3

DEPENDS += " \
    ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \
"

CFLAGS_append_toolchain-clang = " -Wno-error=deprecated-declarations"

RDEPENDS_${PN} += " \
    ${PYTHON_PN}-json \
    ${PYTHON_PN}-numpy \
    ${PYTHON_PN}-dateutil \
    ${PYTHON_PN}-pytz \
"

Add workaround to fix build with clang

python3-pandas: Add workaround to fix build with clang

This is a bug introduced by cython [1]
the workaround suppressed the additional warnings seen with clang [2]

[1] https://github.com/cython/cython/issues/3474
[2] https://github.com/pandas-dev/pandas/issues/33239

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
Acked-by: Trevor Gamblin <fb8c09b3db10148c84dac072f39fc5dba3573139@windriver.com>


DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"

inherit module

MACHINE_KERNEL_PR_append = "g"
PR = "${MACHINE_KERNEL_PR}"

# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k5.4"

SRCREV = "bd1c9751af7c693bdf1a0e6b8b96226305d45a8c"

SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"

S = "${WORKDIR}/git/src"

EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}"

do_install() {
    install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
    install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}

COMPATIBLE_HOST ?= "null"
COMPATIBLE_HOST_ti-soc = "(.*)"

DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs"
HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver"
LICENSE = "MIT | GPLv2"
LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297"

inherit module

MACHINE_KERNEL_PR_append = "h"
PR = "${MACHINE_KERNEL_PR}"

# Need to branch out with ${PV} var
BRANCH = "ti-${PV}-k5.4"

SRCREV = "2a4fbe8353fa56011a613aeeaf69e274cd07a825"

SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}"

S = "${WORKDIR}/git/src"

EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}"

do_install() {
    install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
    install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra
}

COMPATIBLE_HOST ?= "null"
COMPATIBLE_HOST_ti-soc = "(.*)"

Update srcrev to pick dma api fixes

ti-gc320-driver: Update srcrev to pick dma api fixes

Update srcrev to pick the fixes for dma api crashes.

Signed-off-by: Gowtham Tammana <87e6166900dec7738a526b7b7fc9a138729d0724@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


DESCRIPTION = "logging framework for Erlang"
SECTION = "devel"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ff253ad767462c46be284da12dda33e8"

SRCREV = "e58a33d095962ff5774e9c9011afd3d3200003e1"
PR = "r0"

SRC_URI = "git://github.com/basho/lager.git;protocol=git \
	   file://add-tetrapak.patch;apply=yes"

DEPENDS_append = " erlang-goldrush "
RDEPENDS_${PN}_append = " erlang-goldrush "

S = "${WORKDIR}/git"

inherit tetrapak

python () {
    erlang_def_package("lager", "lager-*", "ebin", "include src test LICENSE README.md", d)
}

DESCRIPTION = "logging framework for Erlang"
SECTION = "devel"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=ff253ad767462c46be284da12dda33e8"

SRCREV = "8d9ad6fbae6d1a7648164b9c5c9b181b17d017d5"
PR = "r1"

SRC_URI = "git://github.com/travelping/lager.git;protocol=git \
	   file://add-tetrapak.patch;apply=yes"

DEPENDS_append = " erlang-goldrush "
RDEPENDS_${PN}_append = " erlang-goldrush "

S = "${WORKDIR}/git"

inherit tetrapak

python () {
    erlang_def_package("lager", "lager-*", "ebin", "include src test LICENSE README.md", d)
}

Make lager work for the api

Make lager work for the api

Summary: Using our own fork

Test Plan: build

Reviewers: hsychla, vtarasen

Reviewed By: vtarasen

CC: druss

Differential Revision: https://REVIEWSERVER/D287


require schroedinger.inc

PR = "${INC_PR}.0"

inherit autotools

SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"

PACKAGES =+ "gst-plugin-schroedinger-dbg gst-plugin-schroedinger-dev gst-plugin-schroedinger"
FILES_gst-plugin-schroedinger = "${libdir}/gstreamer-0.10/*.so"
FILES_gst-plugin-schroedinger-dbg = "${libdir}/gstreamer-0.10/.debug"
FILES_gst-plugin-schroedinger-dev = "${libdir}/gstreamer-0.10/*.*a"

require schroedinger.inc

LICENSE = "MPL-1.1 | LGPLv2 | GPLv2 | MIT"

PR = "${INC_PR}.1"

inherit autotools

SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60"
SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723"

PACKAGES =+ "gst-plugin-schroedinger-dbg gst-plugin-schroedinger-dev gst-plugin-schroedinger"
FILES_gst-plugin-schroedinger = "${libdir}/gstreamer-0.10/*.so"
FILES_gst-plugin-schroedinger-dbg = "${libdir}/gstreamer-0.10/.debug"
FILES_gst-plugin-schroedinger-dev = "${libdir}/gstreamer-0.10/*.*a"

schroedinger: Update LICENSE field version to GPLv2 and LPGLv2

* Updated LICENSE field version from generic MPL/GPL/LGPL/MIT to
  MPL-1.1 or LGPLv2 or GPLv2 or MIT to reflect the real license
  version.
* This change was based on code inspection

Signed-off-by: Chase Maupin <5a5662f468a76e0fc4391e65fb9f536df44d7380@ti.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


SUMMARY = "A very basic Wayland image with a terminal"

IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs"

LICENSE = "MIT"

inherit core-image distro_features_check

REQUIRED_DISTRO_FEATURES = "wayland pam"

CORE_IMAGE_BASE_INSTALL += "weston weston-init weston-examples clutter-1.0-examples"

DESCRIPTION = "A weston image with Tizen common."

DEPENDS += " tar-replacement-native "

CORE_IMAGE_BASE_INSTALL += "connman"
CORE_IMAGE_BASE_INSTALL += "weston-common"
CORE_IMAGE_BASE_INSTALL += "mesa-megadriver"
CORE_IMAGE_BASE_INSTALL += "meta-common"
CORE_IMAGE_BASE_INSTALL += "pam"
CORE_IMAGE_BASE_INSTALL += "weston-common-tz-launcher"
CORE_IMAGE_BASE_INSTALL += "weston-common-config"
CORE_IMAGE_BASE_INSTALL += "user-session-units"
CORE_IMAGE_BASE_INSTALL += "default-ac-domains"
CORE_IMAGE_BASE_INSTALL += "desktop-skin"
CORE_IMAGE_BASE_INSTALL += "rpm-security-plugin"
CORE_IMAGE_EXTRA_INSTALL += "config-image"

export SYSROOT = "${IMAGE_ROOTFS}"

SUMMARY = "A very basic Wayland image with a terminal"

IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs"

LICENSE = "MIT"

inherit core-image distro_features_check

REQUIRED_DISTRO_FEATURES = "wayland pam"

CORE_IMAGE_BASE_INSTALL += "weston weston-init weston-examples clutter-1.0-examples"

DESCRIPTION = "A weston image with Tizen common."

DEPENDS += " tar-replacement-native "

CORE_IMAGE_BASE_INSTALL += "connman"
CORE_IMAGE_BASE_INSTALL += "weston-common"
CORE_IMAGE_BASE_INSTALL += "mesa-megadriver"
CORE_IMAGE_BASE_INSTALL += "meta-common"
CORE_IMAGE_BASE_INSTALL += "pam"
CORE_IMAGE_BASE_INSTALL += "weston-common-tz-launcher"
CORE_IMAGE_BASE_INSTALL += "weston-common-config"
CORE_IMAGE_BASE_INSTALL += "user-session-units"
CORE_IMAGE_BASE_INSTALL += "default-ac-domains"
CORE_IMAGE_BASE_INSTALL += "desktop-skin"
CORE_IMAGE_BASE_INSTALL += "rpm-security-plugin"
CORE_IMAGE_EXTRA_INSTALL += "config-image"
CORE_IMAGE_BASE_INSTALL += "kernel-modules"

export SYSROOT = "${IMAGE_ROOTFS}"

Add kernel modules to images

Add kernel modules to images

Change-Id: I5aeebae7fb7749fe0aeacbed53c3f54da5928850
Signed-off-by: Kévin THIERRY <f48dfc44ac46b15b9d2595904ba659e6d613ffc4@open.eurogiciel.org>


SUMMARY = "Test applications for OMAP DRM interface"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a29096285e3121923041df"

DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland"

inherit autotools pkgconfig

PR = "r19"
SRCREV = "47bbb6b2ec48bbee35f9dc7192c05e48fd1a2589"

EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"

SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \
           file://0001-configure.ac-also-check-for-libavcodec-library.patch"

S = "${WORKDIR}/git"

SUMMARY = "Test applications for OMAP DRM interface"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a29096285e3121923041df"

DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland"

inherit autotools pkgconfig

PR = "r21"
SRCREV = "809e72b2c5ebe45bb7ba13bcfe964b1ef69f98f0"

EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"

SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \
           file://0001-configure.ac-also-check-for-libavcodec-library.patch \
"

S = "${WORKDIR}/git"

Update tests to handle disabled HDMI

omapdrmtest: Update tests to handle disabled HDMI

Pre-requisities: this is applicable for kernel 4.9

Signed-off-by: Karthik Ramanan <6de1dcae9ab07cd18361f3588c5fcaba210b4a8e@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


SUMMARY = "Test applications for OMAP DRM interface"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a29096285e3121923041df"

DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland"

inherit autotools pkgconfig

PR = "r27"
SRCREV = "b6c02d24be6f8dae939168c154cf2345b33e459d"

EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"

SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \
        file://0001-Makefile.am-lblah-flags-belong-to-LDADD-not-LDFLAGS.patch \
"

S = "${WORKDIR}/git"

SUMMARY = "Test applications for OMAP DRM interface"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a29096285e3121923041df"

DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland"

inherit autotools pkgconfig

PR = "r28"
SRCREV = "20338b9f575ffe9c18c12bbed41c16069d27ccf4"

EXTRA_OEMAKE = "CC="${CC}""
TARGET_CC_ARCH += "${LDFLAGS}"

SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \
        file://0001-Makefile.am-lblah-flags-belong-to-LDADD-not-LDFLAGS.patch \
"

S = "${WORKDIR}/git"

Update SRCREV with latest fix

omapdrmtest: Update SRCREV with latest fix

This updates brings UYVY format support with
eglCreateImageKHR

Signed-off-by: Ramprasad N <9efda854e98f2f9d79e17980f5852c92dd5b0122@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


require linux.inc

DESCRIPTION = "Linux kernel for the OpenPandora handheld"
KERNEL_IMAGETYPE = "uImage"

COMPATIBLE_MACHINE = "raspberrypi"

# This is on the rpi-patches branch
SRCREV = "2fb814968753d0d4a5fdf056a3a8c9eee3c41aa6"

SRC_URI = " \
           git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-patches \
"

PV = "3.1.9-rpi+${PR}+git${SRCREV}"

S = "${WORKDIR}/git"

# NOTE: For now we pull in the default config from the RPi kernel GIT tree.

KERNEL_DEFCONFIG = "bcmrpi_defconfig"

do_configure_prepend() {
	install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
}

require linux.inc

DESCRIPTION = "Linux kernel for the RaspberryPi board"
KERNEL_IMAGETYPE = "zImage"

COMPATIBLE_MACHINE = "raspberrypi"

# This is on the rpi-patches branch
SRCREV = "2fb814968753d0d4a5fdf056a3a8c9eee3c41aa6"

SRC_URI = " \
           git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-patches \
"

PV = "3.1.9-rpi+${PR}+git${SRCREV}"

S = "${WORKDIR}/git"

# NOTE: For now we pull in the default config from the RPi kernel GIT tree.

KERNEL_DEFCONFIG = "bcmrpi_defconfig"

do_configure_prepend() {
	install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available."
}

linux-raspberrypi: Use zImage not uImage as the bootloader is not uBoot ;).


SUMMARY = "Xilinx DisplayPort Linux Kernel module"
DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices"
SECTION = "kernel/modules"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a"

XLNX_DP_VERSION = "5.4.0"
PV = "${XLNX_DP_VERSION}"

S = "${WORKDIR}/git"

BRANCH ?= "master"
REPO   ?= "git://github.com/xilinx/dp-modules.git;protocol=https"
SRCREV ?= "a3a7dfe17cf610fd4186b11638e1ce6b78dc958a"

BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
SRC_URI = "${REPO};${BRANCHARG}"

inherit module

EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmp = "zynqmp"
COMPATIBLE_MACHINE_versal = "versal"

PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"

SUMMARY = "Xilinx DisplayPort Linux Kernel module"
DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices"
SECTION = "kernel/modules"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a"

XLNX_DP_VERSION = "5.4.0"
PV = "${XLNX_DP_VERSION}"

S = "${WORKDIR}/git"

BRANCH ?= "rel-v2020.2"
REPO   ?= "git://github.com/xilinx/dp-modules.git;protocol=https"
SRCREV ?= "f3b3bf11ee30a2bea2b268b935640e2ad525e88f"

BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}"
SRC_URI = "${REPO};${BRANCHARG}"

inherit module

EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}"
COMPATIBLE_MACHINE = "^$"
COMPATIBLE_MACHINE_zynqmp = "zynqmp"
COMPATIBLE_MACHINE_versal = "versal"

PACKAGE_ARCH = "${SOC_FAMILY_ARCH}"

Update commit id and branch for 2020.2

kernel-module-dp: Update commit id and branch for 2020.2

Update dp modules branch from master to rel-v2020.2 and associated
release commit id.

Signed-off-by: Sandeep Gundlupet Raju <eaeca0ea0d778dfb64d22c43189d46f965ce7ff5@xilinx.com>
Signed-off-by: Sai Hari Chandana Kalluri <dcd6f85a7bffd89d026445db0f5113d6d436d06a@xilinx.com>


UBOOT_VERSION = "v2021.01"

UBRANCH ?= "xlnx_rebase_v2022.01"

SRCREV = "c50d6c48f4e1368cd38699278e35563cb4b0e444"

include u-boot-xlnx.inc
include u-boot-spl-zynq-init.inc

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897"

# u-boot-xlnx has support for these
HAS_PLATFORM_INIT ?= " \
		xilinx_zynqmp_virt_config \
		xilinx_zynq_virt_defconfig \
		xilinx_versal_vc_p_a2197_revA_x_prc_01_revA \
		"

UBOOT_VERSION = "v2021.01"

UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update"

SRCREV = "a807cf8f6ce03ef1441c246a90aefbc8b6ea4c43"

include u-boot-xlnx.inc
include u-boot-spl-zynq-init.inc

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897"

# u-boot-xlnx has support for these
HAS_PLATFORM_INIT ?= " \
		xilinx_zynqmp_virt_config \
		xilinx_zynq_virt_defconfig \
		xilinx_versal_vc_p_a2197_revA_x_prc_01_revA \
		"

u-boot-xlnx: Update branch and SRCREV for update release

Update the u-boot branch and commit ID for the 2022.1_update1 release.

Signed-off-by: Christian Kohn <cddab1f837c400ff9c3b002761e2cb74669ec6d1@xilinx.com>


require recipes-extended/gzip/gzip.inc

inherit debian-package
require recipes-debian/sources/gzip.inc

LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = " \
	file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
	file://gzip.h;beginline=8;endline=20;md5=6e47caaa630e0c8bf9f1bc8d94a8ed0e \
"

PROVIDES_append_class-native = " gzip-replacement-native"

BBCLASSEXTEND = "native"

require recipes-extended/gzip/gzip.inc

inherit debian-package
require recipes-debian/sources/gzip.inc

LICENSE = "GPLv3+"
LIC_FILES_CHKSUM = " \
	file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \
	file://gzip.h;beginline=8;endline=20;md5=6e47caaa630e0c8bf9f1bc8d94a8ed0e \
"

FILESPATH_append = ":${COREBASE}/meta/recipes-extended/gzip/gzip-1.9"
SRC_URI += "file://gnulib.patch"

PROVIDES_append_class-native = " gzip-replacement-native"

BBCLASSEXTEND = "native"

Fix build with glibc 2.28

gzip: Fix build with glibc 2.28

(Base on OE-Core rev: 224500314aa76bf70cbe5dce2c7736e94b9a2ceb)

Signed-off-by: Trung Do <64081e6b7eb2b24289b8a4e51cef9836ddf28af2@toshiba-tsdv.com>


SUMMARY = "A behavior-driven development framework, Python style"
HOMEPAGE = "https://github.com/behave/behave"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06"

SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d"
SRC_URI[sha256sum] = "b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86"

inherit pypi setuptools3

RDEPENDS:${PN} += " \
    ${PYTHON_PN}-parse-type \
    ${PYTHON_PN}-setuptools \
    ${PYTHON_PN}-six \
    "

SUMMARY = "A behavior-driven development framework, Python style"
HOMEPAGE = "https://github.com/behave/behave"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06"

PV .= "+git${SRCREV}"
SRCREV = "9520119376046aeff73804b5f1ea05d87a63f370"
SRC_URI += "git://github.com/behave/behave;branch=master"

S = "${WORKDIR}/git"

inherit setuptools3

RDEPENDS:${PN} += " \
    ${PYTHON_PN}-parse-type \
    ${PYTHON_PN}-setuptools \
    ${PYTHON_PN}-six \
    "

Switch to using github src_uri

python3-behave: Switch to using github src_uri

1.2.6 release does not have fixes to work with setuptools 0.58+
the patches are part of github 1.2.7 pre-release, until the release
comes out switch to using github

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
Signed-off-by: Trevor Gamblin <fb8c09b3db10148c84dac072f39fc5dba3573139@windriver.com>


require recipes/images/minimal-image.bb

IMAGE_INSTALL += "\
        ack \
        avahi-autoipd \
        avahi-daemon \
        binutils \
        control-freak \
        cpp \
        cpp-symlinks \
        curl \
        gcc \
        gcc-symlinks \
        git \
        htop \
        i2c-tools \
        iotop \
        iperf \
        libgcc-dev \
        libxml2 \
        logrotate \
        make \
        mtr \
        nano \
        nginx \
        ntpdate \
        openssh \
        openssh-sftp-server \
        perl \
        perl-modules \
        python \
        python-daemon \
        python-dev \
        python-flask \
        python-imaging \
        python-jinja2 \
        python-misc \
        python-modules \
        python-numpy \
        python-pip \
        python-pyserial \
        python-pytronics \
        python-simplejson \
        python-sqlalchemy \
        python-werkzeug \
        ruby \
        sysstat \
        usbutils \
        usb-gadget-mode \
        uwsgi \
        vim \
        vim-syntax \
        vim-vimrc \
    "

export IMAGE_BASENAME = "rascal-image"

require recipes/images/minimal-image.bb

IMAGE_INSTALL += "\
        ack \
        avahi-autoipd \
        avahi-daemon \
        binutils \
        control-freak \
        cpp \
        cpp-symlinks \
        curl \
        gcc \
        gcc-symlinks \
        git \
        htop \
        i2c-tools \
        iotop \
        iperf \
        ipython \
        libgcc-dev \
        libxml2 \
        logrotate \
        make \
        mtr \
        nano \
        nginx \
        ntpdate \
        openssh \
        openssh-sftp-server \
        perl \
        perl-modules \
        python \
        python-daemon \
        python-dev \
        python-flask \
        python-imaging \
        python-jinja2 \
        python-matplotlib \
        python-misc \
        python-modules \
        python-numpy \
        python-pip \
        python-pyserial \
        python-pytronics \
        python-simplejson \
        python-sqlalchemy \
        python-werkzeug \
        ruby \
        sysstat \
        usbutils \
        usb-gadget-mode \
        uwsgi \
        vim \
        vim-syntax \
        vim-vimrc \
    "

export IMAGE_BASENAME = "rascal-image"

Add ipython and matplotlib to the image

Add ipython and matplotlib to the image


DESCRIPTION = "library for easy implementation of a RDP/VNC server"
HOMEPAGE = "https://libvnc.github.io"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"

PACKAGECONFIG ??= " \
    gcrypt \
    gnutls \
    jpeg \
    png \
    ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \
    sdl \
    zlib \
"
PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt"
PACKAGECONFIG[gnutls] = ",,gnutls"
PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg"
PACKAGECONFIG[openssl] = ",-DWITH_OPENSSL=OFF,openssl"
PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sdl] = ",,libsdl2"
PACKAGECONFIG[zlib] = ",,zlib"

inherit cmake

SRC_URI = "git://github.com/LibVNC/libvncserver"
SRCREV = "f997b5a75fa171d79c5e568b7157fba83c8d8355"

S = "${WORKDIR}/git"

DESCRIPTION = "library for easy implementation of a RDP/VNC server"
HOMEPAGE = "https://libvnc.github.io"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f"

PACKAGECONFIG ??= " \
    gcrypt \
    gnutls \
    jpeg \
    lzo \
    png \
    ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \
    sdl \
    zlib \
"
PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt"
PACKAGECONFIG[gnutls] = ",,gnutls"
PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg"
PACKAGECONFIG[lzo] = ",-DWITH_LZO=OFF,lzo"
PACKAGECONFIG[openssl] = ",-DWITH_OPENSSL=OFF,openssl"
PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng"
PACKAGECONFIG[systemd] = ",,systemd"
PACKAGECONFIG[sdl] = ",,libsdl2"
PACKAGECONFIG[zlib] = ",,zlib"

inherit cmake

SRC_URI = "git://github.com/LibVNC/libvncserver"
SRCREV = "c0a23857a5c42b45b6d22ccf7218becd1fa69402"

S = "${WORKDIR}/git"

Update to latest commit post 0.9.12

libvncserver: Update to latest commit post 0.9.12

Update to latest git HEAD rather than just 0.9.12 since
that includes a fix for CVE-2018-15127.

Support for lzo in addition to a bundled minilzo was added
upstream so add a PACKAGECONFIG[lzo] and add it to the default config.

Signed-off-by: Randy MacLeod <66029b0d2fa503460967b26015a70d119fe79359@windriver.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


require wireguard.inc

SRCREV = "3ba6527130c502144e7388b900138bca6260f4e8"
SRC_URI = "git://git.zx2c4.com/wireguard-tools;branch=master"

inherit bash-completion systemd pkgconfig

DEPENDS += "libmnl"

do_install () {
    oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
        SYSTEMDUNITDIR="${systemd_system_unitdir}" \
        WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \
        WITH_BASHCOMPLETION=yes \
        WITH_WGQUICK=yes \
        install
}

FILES:${PN} = " \
    ${sysconfdir} \
    ${systemd_system_unitdir} \
    ${bindir} \
"

RDEPENDS:${PN} = "bash"
RRECOMMENDS:${PN} = "kernel-module-wireguard"

require wireguard.inc

SRCREV = "3ba6527130c502144e7388b900138bca6260f4e8"
SRC_URI = "git://git.zx2c4.com/wireguard-tools;branch=master"

inherit bash-completion systemd pkgconfig

DEPENDS += "libmnl"

do_install () {
    oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \
        SYSTEMDUNITDIR="${systemd_system_unitdir}" \
        WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \
        WITH_BASHCOMPLETION=yes \
        WITH_WGQUICK=yes \
        install
}

PACKAGES += "${PN}-wg-quick"

FILES:${PN} = " \
    ${bindir}/wg \
    ${sysconfdir} \
"
FILES:${PN}-wg-quick = " \
    ${bindir}/wg-quick \
    ${systemd_system_unitdir} \
"

RDEPENDS:${PN}-wg-quick = "${PN} bash"
RRECOMMENDS:${PN} = " \
    kernel-module-wireguard \
    ${PN}-wg-quick \
    "

Add a new package for wg-quick

wireguard-tools: Add a new package for wg-quick

- This will move the dependencie of bash to wg-quick

Signed-off-by: Jose Quaresma <642fc25ddb0fb0e619c8634e243c28610aa58bbc@foundries.io>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"

require gst-plugins-ti.inc

PR = "${INC_PR}.0"
SRCREV = "c50cc9132010bde7f4cb9efc04ca3eba536d26f9"

SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git"

DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24"

require gst-plugins-ti.inc

PR = "${INC_PR}.1"
SRCREV = "6ca21aa3ec8b88b051013af503ef6b702d3c5477"

SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git"

Support encoder and bug fix updates

gst-plugins-ducati: Support encoder and bug fix updates

* mpeg4dec: Workaround: Artifacts when frame-drop logic is activated
* vc1dec: Increase Y padding for interlaced streams
* videnc: Change omapbo to dmabuf fd and add dce_buf_lock/unlock
* Fix errors in handling H.264 streams with field coded pictures
* Fix for a dmabuf memory leak
* Changes for reverse playback

Signed-off-by: Karthik Ramanan <6de1dcae9ab07cd18361f3588c5fcaba210b4a8e@ti.com>
Signed-off-by: Denys Dmytriyenko <d29de71aea38aad3a87d486929cb0aad173ae612@ti.com>


SECTION = "kernel"
DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices."
LICENSE = "GPL"
PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${SRCDATE}"
PR = "r0"

DEFAULT_PREFERENCE = "-1"

# Override where to look for defconfigs and patches,
# we have per-kernel-release sets.
FILESPATH = "${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21/${MACHINE}:${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21"

K_MAJOR = "2"
K_MINOR = "6"
K_MICRO = "21"
HHV     = "20"

SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26  \
           file://defconfig"

require linux-handhelds-2.6.inc

SECTION = "kernel"
DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices."
LICENSE = "GPL"
PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${SRCDATE}"
PR = "r1"

DEFAULT_PREFERENCE = "-1"

# Override where to look for defconfigs and patches,
# we have per-kernel-release sets.
FILESPATH = "${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21/${MACHINE}:${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21"

K_MAJOR = "2"
K_MINOR = "6"
K_MICRO = "21"
HHV     = "20"

SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \
           file://linux-2.6.git-9d20fdd58e74d4d26dc5216efaaa0f800c23dd3a.patch;patch=1 \
           http://www.rpsys.net/openzaurus/patches/archive/export_atags-r0a.patch;patch=1 \
           file://gcc4x-limits.patch;patch=1 \
           file://0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch;patch=1 \
           file://defconfig"

require linux-handhelds-2.6.inc

linux-handhelds-2.6: Update cvs recipe to use the patches from 2.6.21-hh20 recipe.
This makes it compile again.