SUMMARY = "Portable SDK for UPnP* Devices"
DESCRIPTION = "The Portable SDK for UPnP Devices is an SDK for development of \
UPnP device and control point applications. It consists of the core UPnP \
protocols along with a UPnP-specific eXtensible Markup Language (XML) parser \
supporting the Document Object Model (DOM) Level 2 API and an optional, \
integrated mini web server for serving UPnP related documents."
HOMEPAGE = "http://pupnp.sourceforge.net/"
LICENSE = "BSD-3-Clause"

LIC_FILES_CHKSUM = "file://COPYING;md5=394a0f17b97f33426275571e15920434"

PV = "1.8.4+git${SRCPV}"
# release-1.8.4
SRCREV = "d5a01fc9895daae98a0c5a8c7d3afce46add529d"
SRC_URI = "git://github.com/mrjimenez/pupnp.git;protocol=https"

S="${WORKDIR}/git"

inherit autotools

EXTRA_OECONF += "--enable-reuseaddr"

# Enable LFS support ( for samples )
CFLAGS += "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
CXXFLAGS += "-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"

Build samples with LFS on

libupnp: Build samples with LFS on

Fixes errors ( qemuarm/thumb )
../../../git/upnp/inc/FileInfo.h:22:2: error: #error libupnp uses large file support, so users must do that, too

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


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

SUMMARY = "A Wayland image with a terminal and crosswalk"

LICENSE = "MIT"

DESCRIPTION = "A weston image with Tizen common ."

# Crosswalk
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-crosswalk"

# Time zone
CORE_IMAGE_EXTRA_INSTALL += "tzdata"

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

SUMMARY = "A Wayland image with a terminal and crosswalk"

LICENSE = "MIT"

DESCRIPTION = "A weston image with Tizen common ."

# Crosswalk
CORE_IMAGE_EXTRA_INSTALL += "packagegroup-tizen-crosswalk"

# Time zone
CORE_IMAGE_EXTRA_INSTALL += "tzdata wgt-backend"

Add app-installer in the image by default

Change-Id: I015d264e41f34cc122d1e1e19f40507aaa49e9c3
Signed-off-by: Baptiste Durand <b25337b7e75bfa5131dfd7920748e6b5e058e3ca@open.eurogiciel.org>


PR = "r1"
require u-boot.inc

DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_at91sam9g20ek = "1"
DEFAULT_PREFERENCE_igep0020 = "1"

SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "

SRC_URI_append_igep0020 = " \
	file://update-mach-types.patch;patch=1 \
	file://add-board-support-for-IGEP-v2-series-rev-B.patch;patch=1 \
"

TARGET_LDFLAGS = ""

inherit base

do_compile () {
       oe_runmake ${UBOOT_MACHINE}
       oe_runmake all
}

PR = "r1"
require u-boot.inc

DEFAULT_PREFERENCE = "-1"
DEFAULT_PREFERENCE_at91sam9g20ek = "1"
DEFAULT_PREFERENCE_at91sam9g45ek = "1"
DEFAULT_PREFERENCE_igep0020 = "1"

SRC_URI = "ftp://ftp.denx.de/pub/u-boot/u-boot-${PV}.tar.bz2 "

SRC_URI_append_igep0020 = " \
	file://update-mach-types.patch;patch=1 \
	file://add-board-support-for-IGEP-v2-series-rev-B.patch;patch=1 \
"

TARGET_LDFLAGS = ""

inherit base

do_compile () {
       oe_runmake ${UBOOT_MACHINE}
       oe_runmake all
}

Make u-boot-2009.98 the preferred bootloader for sam9g45ek


DESCRIPTION = "Linux Kernel 2.6 Userland Utilities for the PCMCIA Subsystem"
DEPENDS = "sysfsutils"
HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
SECTION = "kernel/userland"
PRIORITY = "optional"

SRC_URI = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
S = "${WORKDIR}/pcmciautils-${PV}"

inherit update-rc.d

INITSCRIPT_NAME = "coldplug"
INITSCRIPT_PARAMS = "defaults"

export HOSTCC = "${BUILD_CC}"
export etcdir = "${sysconfdir}"
export hotplugdir = "${sysconfdir}/hotplug"
export pcmciaconfdir = "${sysconfdir}/pcmcia"
LD = "${CC}"
CFLAGS =+ "-I${S}/src"
CFLAGS =+ '-DPCMCIAUTILS_VERSION=010'

PARALLEL_MAKE = ""
EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs'"

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

CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts"
RCONFLICTS_${PN} += "pcmcia-cs"

DESCRIPTION = "Linux Kernel 2.6 Userland Utilities for the PCMCIA Subsystem"
DEPENDS = "sysfsutils udev"
RDEPENDS = "udev"
HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
SECTION = "kernel/userland"
PRIORITY = "optional"

SRC_URI = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
S = "${WORKDIR}/pcmciautils-${PV}"

inherit update-rc.d

INITSCRIPT_NAME = "coldplug"
INITSCRIPT_PARAMS = "defaults"

export HOSTCC = "${BUILD_CC}"
export etcdir = "${sysconfdir}"
export pcmciaconfdir = "${sysconfdir}/pcmcia"
export udevrulesdir = "${sysconfdir}/udev/rules.d"
export UDEV = 1
LD = "${CC}"
CFLAGS =+ "-I${S}/src"
CFLAGS =+ '-DPCMCIAUTILS_VERSION=010'

PARALLEL_MAKE = ""
EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs'"

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

CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts"
RCONFLICTS_${PN} += "pcmcia-cs"

Switch to udev instead of hotplug.

pcmciautils: Switch to udev instead of hotplug.


DESCRIPTION = "Data files for usbmodeswitch"
LICENSE = "GPLv2"

SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${PV}.tar.bz2"
SRC_URI[md5sum] = "85c16bb87a6f05c2d04b93a22fe87e91"
SRC_URI[sha256sum] = "a81821d3d9ad9e1d3a31ea11d0da9841ca84350f0b445a8f9ea2dbd142cefb46"

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

PACKAGE_ARCH = "all"

DESCRIPTION = "Data files for usbmodeswitch"
LICENSE = "GPLv2"
RDEPENDS_${PN} = "\
    usb-modeswitch \
    tcl \
"
PR="r1"

SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-data-${PV}.tar.bz2"
SRC_URI[md5sum] = "85c16bb87a6f05c2d04b93a22fe87e91"
SRC_URI[sha256sum] = "a81821d3d9ad9e1d3a31ea11d0da9841ca84350f0b445a8f9ea2dbd142cefb46"

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

PACKAGE_ARCH = "all"
FILES_${PN} += "${base_libdir}/udev/rules.d/40-usb_modeswitch.rules"

Fix deps and add udev rules to package

usb-modeswitch-data: Fix deps and add udev rules to package


DESCRIPTION = "USB Device Firmware Upgrade utility"
SECTION = "devel"
AUTHOR = "Harald Welte <laforge@openmoko.org>"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

SRC_URI = "http://dfu-util.gnumonks.org/releases/${BP}.tar.gz"

inherit autotools pkgconfig

DEPENDS = "libusb1"

SRC_URI[md5sum] = "233bb1e08ef4b405062445d84e28fde6"
SRC_URI[sha256sum] = "36428c6a6cb3088cad5a3592933385253da5f29f2effa61518ee5991ea38f833"

DESCRIPTION = "USB Device Firmware Upgrade utility"
HOMEPAGE = "http://dfu-util.sourceforge.net"
SECTION = "devel"
AUTHOR = "Harald Welte <laforge@openmoko.org>"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

SRC_URI = "http://dfu-util.gnumonks.org/releases/${BP}.tar.gz"

inherit autotools pkgconfig

DEPENDS = "libusb1"

SRC_URI[md5sum] = "233bb1e08ef4b405062445d84e28fde6"
SRC_URI[sha256sum] = "36428c6a6cb3088cad5a3592933385253da5f29f2effa61518ee5991ea38f833"

Add HOMEPAGE info into recipe file.

dfu-util: Add HOMEPAGE info into recipe file.

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


SUMMARY = "Build the go-lang tools govender and golint."
DESCRIPTION = "Build the go-lang tools govendor and golint."
LICENSE = "MIT"

S = "${WORKDIR}/git"

inherit native

DEPENDS += "\
	go-native \
"
do_compile() {
	export GOPATH="${S}/"
	go get -u github.com/kardianos/govendor
	go get -u github.com/golang/lint/golint
}

do_install() {
	mv "${S}/bin/"* "${bindir}/"
}

SUMMARY = "Build the go-lang tools govender and golint."
DESCRIPTION = "Build the go-lang tools govendor and golint."
LICENSE = "MIT"

S = "${WORKDIR}/git"

inherit native

DEPENDS += "\
	go-native \
"
do_compile() {
	export GOPATH="${S}/"
	go get -u github.com/kardianos/govendor
	go get -u golang.org/x/lint/golint
}

do_install() {
	mv "${S}/bin/"* "${bindir}/"
}

Fix package path for golang/lint

Fix package path for golang/lint

More details can be found here: https://github.com/golang/lint/issues/415

Signed-off-by: Liam O'Shaughnessy <ea68d7d4cc6d839513d0fa81de7521d46fc3e2fa@gmail.com>


LINUX_VERSION = "5.15"
KBRANCH="master"
SRCREV = "e087c38733a5df77e474c8e1706785974c5bfbab"

KCONF_AUDIT_LEVEL="0"

include linux-xlnx.inc

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

LINUX_VERSION = "5.15.19"
KBRANCH="xlnx_rebase_v5.15_LTS"
SRCREV = "b0c1be301e78c320df8c4d93b18393bfd7fd4e9d"

KCONF_AUDIT_LEVEL="0"

include linux-xlnx.inc

FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

Move default branch to latest LTS

linux-xlnx: Move default branch to latest LTS

New default branch is xlnx_rebase_5.15_LTS.

Update the SRCREV to the latest, based on 5.15.19.

Signed-off-by: Mark Hatle <41765ab18fb75e64ff0efe27f2ebcdb2d6f7e44e@xilinx.com>
(cherry picked from commit d511d31679d2c3c997aba3d736180f4026a7b907)
Signed-off-by: Mark Hatle <be057b093809b31d6ddb901f1e230b30cb348714@xilinx.com>


LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"

DEPENDS = "kdelibs4 soprano"

inherit kde-without-docs kde-workaround-tmp
require kde4.inc

SRC_URI = "git://anongit.kde.org/kde-baseapps;protocol=git;tag=v4.8.0 \
	   file://Convert-Phonon-to-phonon.patch"
SRCREV = "37a52f48ebd4850d07cd8fe7277e6fa7a653c2ae"

PV = "4.8.0+git${SRCPV}"

S = "${WORKDIR}/git"

OECMAKE_SOURCEPATH = ".."
OECMAKE_BUILDPATH = "build"

FILES_${PN} += "\
		${libdir}/kde4/*.so \
		${libdir}/libkdeinit4*.so \
		\
		${datadir}/* \
	       "

FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"

LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24"

DEPENDS = "kdelibs4 soprano"

inherit kde-without-docs
require kde4.inc

SRC_URI = "git://anongit.kde.org/kde-baseapps;protocol=git;tag=v4.8.0 \
	   file://Convert-Phonon-to-phonon.patch"
SRCREV = "37a52f48ebd4850d07cd8fe7277e6fa7a653c2ae"

PV = "4.8.0+git${SRCPV}"

S = "${WORKDIR}/git"

OECMAKE_SOURCEPATH = ".."
OECMAKE_BUILDPATH = "build"

FILES_${PN} += "\
		${libdir}/kde4/*.so \
		${libdir}/libkdeinit4*.so \
		\
		${datadir}/* \
	       "

FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"

EXTRA_OECMAKE =+ "-DOE_CROSSCOMPILING=TRUE"

Fix cross compiling errors gracefully

kde-baseapps: Fix cross compiling errors gracefully

Signed-off-by: Samuel Stirtzel <5e7b27e76d616174d4c71d96463fdd2f7e57e559@googlemail.com>


SUMMARY = "pristine-tar can regenerate a pristine upstream tarball using only a small binary delta file and a revision control checkout of the upstream branch"
HOMEPAGE = "https://github.com/tramseyer/pristine-tar-fwu"
SECTION = "console/utils"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://GPL;md5=751419260aa954499f7abaabaa882bbe"

PR = "r0"
PV = "1.37+gitr${SRCPV}"
DEPENDS = "zlib"

SRC_URI = "git://github.com/tramseyer/${BPN}.git;protocol=git;branch=master"
SRCREV = "1206ba2cc4e9a73c62f26d042284982390a2fca1"

S = "${WORKDIR}/git"

inherit cpan

# https://github.com/kraj/poky/blob/krogoth/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc
# Depends on cp which is included in busybox
RDEPENDS_${PN} = " busybox \
                   tar \
                   xdelta3 \
                   perl \
                   perl-module-digest-sha \
                   perl-module-file-find \
                   perl-module-file-glob \
                   perl-module-file-temp \
                   perl-module-getopt-long \
                   perl-module-ipc-open2 \
                   perl-module-overloading"

SUMMARY = "pristine-tar can regenerate a pristine upstream tarball using only a small binary delta file and a revision control checkout of the upstream branch"
HOMEPAGE = "https://github.com/tramseyer/pristine-tar-fwu"
SECTION = "console/utils"

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://GPL;md5=751419260aa954499f7abaabaa882bbe"

PR = "r0"
PV = "1.37+gitr${SRCPV}"
DEPENDS = "zlib"

SRC_URI = "git://github.com/tramseyer/${BPN}.git;protocol=git;branch=master"
SRCREV = "1206ba2cc4e9a73c62f26d042284982390a2fca1"

S = "${WORKDIR}/git"

inherit cpan

# https://github.com/kraj/poky/blob/krogoth/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc
# Depends on cp which is included in coreutils
RDEPENDS_${PN} = " coreutils \
                   tar \
                   xdelta3 \
                   perl \
                   perl-module-digest-sha \
                   perl-module-file-find \
                   perl-module-file-glob \
                   perl-module-file-temp \
                   perl-module-getopt-long \
                   perl-module-ipc-open2 \
                   perl-module-overloading"

Use cp from coreutils for pristine-tar-fwu.


SUMMARY  = "Control process attributes through prctl"
DESCRIPTION = "The linux prctl function allows you to control specific characteristics of a \
process' behaviour. Usage of the function is fairly messy though, due to \
limitations in C and linux. This module provides a nice non-messy python(ic) \
interface."
SECTION = "devel/python"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=1475481f9ec754d758859bd2c75f6f6f"

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

SRCREV = "5e12e398eb5c4e30d7b29b02458c76d2cc780700"
PV = "1.8.1+git${SRCPV}"

SRC_URI = "git://github.com/seveas/python-prctl;branch=main\
           file://0001-support-cross-complication.patch \
"
inherit setuptools3 python3native

DEPENDS += "libcap"

SUMMARY  = "Control process attributes through prctl"
DESCRIPTION = "The linux prctl function allows you to control specific characteristics of a \
process' behaviour. Usage of the function is fairly messy though, due to \
limitations in C and linux. This module provides a nice non-messy python(ic) \
interface."
SECTION = "devel/python"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=1475481f9ec754d758859bd2c75f6f6f"

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

SRCREV = "5e12e398eb5c4e30d7b29b02458c76d2cc780700"
PV = "1.8.1+git${SRCPV}"

SRC_URI = "git://github.com/seveas/python-prctl;protocol=https;branch=main \
           file://0001-support-cross-complication.patch \
"
inherit setuptools3 python3native

DEPENDS += "libcap"

Use https protocol for git fetcher

python3-prctl: Use https protocol for git fetcher

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


require linaro-image-common.inc

IMAGE_INSTALL += " \
    apache2 \
    fwts \
    grub \
    mysql5-server \
    mysql5-client \
    php-fpm \
    php-fpm-apache2 \
    packagegroup-core-buildessential \
    ${SDK_IMAGE_INSTALL}"

IMAGE_FEATURES += "\
	dev-pkgs \
	staticdev-pkgs \
	tools-debug \
	tools-sdk \
	"

require linaro-image-common.inc

IMAGE_INSTALL += " \
    apache2 \
    fwts \
    grub \
    mysql5-server \
    mysql5-client \
    mongodb \
    php-fpm \
    php-fpm-apache2 \
    packagegroup-core-buildessential \
    ${SDK_IMAGE_INSTALL}"

IMAGE_FEATURES += "\
	dev-pkgs \
	staticdev-pkgs \
	tools-debug \
	tools-sdk \
	"

Revert "mongodb: remove from lamp temporarily again"

This reverts commit 97b2b3760b9d33c77fb4f803b71b2ecbd4c7baa7.

Change-Id: Ieed269982dc06d55fcdb0b55bf81f05f5b055cbf
Signed-off-by: Fathi Boudra <7cd6e55cc07a66bc71d7901a4cddfe6c22aab659@linaro.org>


DESCRIPTION = "A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data"
SECTION = "console/network"
HOMEPAGE = "https://github.com/globalizejs/globalize"
LICENSE = "MIT"

S = "${WORKDIR}/git"

LIC_FILES_CHKSUM = "file://LICENSE;md5=4db68fb4d1d9986d736b35039f2ad9ea"

SRC_URI = "git://github.com/globalizejs/globalize;tag=1.7.0;nobranch=1"

FILES:${PN} = "${datadir}/javascript/jquery-globalize"
FILES:${PN}-doc += "${docdir}/${PN}"

do_install() {
        install -d ${D}${datadir}/javascript/jquery-globalize/
        install -m 0644 ${S}/dist/*.js ${D}${datadir}/javascript/jquery-globalize/
        install -m 0644 ${S}/dist/globalize/*.js ${D}${datadir}/javascript/jquery-globalize/

        install -d ${D}${docdir}/${PN}/
        install -m 0644 ${S}/LICENSE ${D}${docdir}/${PN}/
}

DESCRIPTION = "A JavaScript library for internationalization and localization that leverages the official Unicode CLDR JSON data"
SECTION = "console/network"
HOMEPAGE = "https://github.com/globalizejs/globalize"
LICENSE = "MIT"

S = "${WORKDIR}/git"

LIC_FILES_CHKSUM = "file://LICENSE;md5=4db68fb4d1d9986d736b35039f2ad9ea"

SRCREV = "771061fb35f7fd8d7c2c37f5d5bb26115be382bc"
SRC_URI = "git://github.com/globalizejs/globalize;protocol=https;nobranch=1"

FILES:${PN} = "${datadir}/javascript/jquery-globalize"
FILES:${PN}-doc += "${docdir}/${PN}"

do_install() {
        install -d ${D}${datadir}/javascript/jquery-globalize/
        install -m 0644 ${S}/dist/*.js ${D}${datadir}/javascript/jquery-globalize/
        install -m 0644 ${S}/dist/globalize/*.js ${D}${datadir}/javascript/jquery-globalize/

        install -d ${D}${docdir}/${PN}/
        install -m 0644 ${S}/LICENSE ${D}${docdir}/${PN}/
}

libjs-jquery-globalize: Use a proper SHA in SRCREV instead of tag

Use https for git protocol

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


SUMMARY = "A better directory iterator and faster os.walk()"
HOMEPAGE = "https://github.com/benhoyt/scandir"
AUTHOR = "Ben Hoyt"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=482ee62da51806409d432a80eed4e3ea"

SRC_URI = "git://github.com/benhoyt/scandir.git"
SRCREV = "982e6ba60e7165ef965567eacd7138149c9ce292"

S = "${WORKDIR}/git"

inherit setuptools

BBCLASSEXTEND = "native nativesdk"

python-scandir: Add native and nativesdk to BBCLASSEXTEND

Signed-off-by: Nicola Lunghi <7adb7cf73cd95581120048b8c340f3dd3161286e@gmail.com>
Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>


DESCRIPTION = "Various extras for the Jlime userlands"
PR = "r0"

RRECOMMENDS = "jlime-extras-${MACHINE}"

PACKAGE_ARCH = "all"
SRC_URI = "http://jlime.com/downloads/development/software/${PN}-${PV}.tar.gz"

FILES_${PN} = "/etc /usr"

do_install() {
	install -d ${D}
	cp -R etc usr ${D}
}

SRC_URI[md5sum] = "ebad10a6e081273271393507f88cca39"
SRC_URI[sha256sum] = "bb78cda43906deb5bbd73f0d9157108799ecc048521bf9654e7cfbba0885f2be"

DESCRIPTION = "Various extras for the Jlime userlands"
PR = "r0"

RRECOMMENDS = "jlime-extras-${MACHINE}"

PACKAGE_ARCH = "all"
SRC_URI = "http://jlime.com/downloads/development/software/${PN}-${PV}.tar.gz"

FILES_${PN} = "/etc /usr"

do_install() {
	install -d ${D}
	cp -R etc usr ${D}
}

SRC_URI[md5sum] = "920be63e2269289b5ffdf3c0199d71ef"
SRC_URI[sha256sum] = "3fd6016ac8bafab8eaa8c1cc2975a8bbeca116dcdf807989154bc772fbf518d0"

jlime-extras: Modify checksums for upstream source file change.

This one is a quick modification of the checksums to mirror a
small change in the upstream source file.

Signed-off-by: Alex Ferguson <d3a3ee81b645c9e94ee2e6bbc2271c572ff35b4a@gmail.com>
Signed-off-by: Kristoffer Ericson <aa612af59a96f3eb9dbe4c12cd763177da6414ff@gmail.com>


DESCRIPTION = "ESMTP is a user-configurable relay-only MTA \
with a sendmail-compatible syntax, based on libESMTP and \
supporting the AUTH (including the CRAM-MD5 and NTLM SASL \
mechanisms) and StartTLS SMTP extensions."
SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "libesmtp"

SRC_URI = "${SOURCEFORGE_MIRROR}/esmtp/esmtp-${PV}.tar.bz2"

inherit autotools

DESCRIPTION = "ESMTP is a user-configurable relay-only MTA \
with a sendmail-compatible syntax, based on libESMTP and \
supporting the AUTH (including the CRAM-MD5 and NTLM SASL \
mechanisms) and StartTLS SMTP extensions."
SECTION = "console/network"
LICENSE = "GPL"
DEPENDS = "libesmtp"
PR = "r2"

SRC_URI = "${SOURCEFORGE_MIRROR}/esmtp/esmtp-${PV}.tar.bz2"

# Have to set this or we get -L/lib in LDFLAGS
EXTRA_OECONF = "--with-libesmtp=${STAGING_EXECPREFIXDIR}"

inherit autotools

esmtp: Add --with-libesmtp option to configure else it adds -L/lib to LDFLAGS


SECTION = "console/network"
DESCRIPTION = "framebuffer screenshot program"
LICENSE = "GPL"

SRC_URI = "http://hem.bredband.net/gmogmo/fbgrab/fbgrab-${PV}.tar.gz \
           file://makefile.patch;patch=1"

do_install() {
	install -d ${D}${bindir} ${D}${mandir}/man1/
	install -m 0755 fbgrab ${D}${bindir}
	install -m 0644 fbgrab.1.man ${D}${mandir}/man1/fbgrab.1
}

SECTION = "console/network"
DESCRIPTION = "framebuffer screenshot program"
LICENSE = "GPL"

DEPENDS = " zlib libpng "

SRC_URI = "http://hem.bredband.net/gmogmo/fbgrab/fbgrab-${PV}.tar.gz \
           file://makefile.patch;patch=1"

do_install() {
	install -d ${D}${bindir} ${D}${mandir}/man1/
	install -m 0755 fbgrab ${D}${bindir}
	install -m 0644 fbgrab.1.man ${D}${mandir}/man1/fbgrab.1
}

Fix build dependencies of fbgrab

packages/fbgrab: Fix build dependencies of fbgrab


DESCRIPTION = "Full-featured IRC chat client with scripting support"
LICENSE = "GPL"
HOMEPAGE = "http://www.xchat.org"
SECTION "x11/network"
MAINTAINER = "Koen Kooi <koen@linuxtogo.org>"
DEPENDS = "libgcrypt zlib gtk+"
PR = "r1"

SRC_URI = "http://www.xchat.org/files/source/2.6/xchat-${PV}.tar.bz2"

inherit autotools
EXTRA_OECONF = " --disable-perl --disable-python    "

DESCRIPTION = "Full-featured IRC chat client with scripting support"
LICENSE = "GPL"
HOMEPAGE = "http://www.xchat.org"
SECTION = "x11/network"
MAINTAINER = "Koen Kooi <koen@linuxtogo.org>"
DEPENDS = "libgcrypt zlib gtk+"
PR = "r2"

SRC_URI = "http://www.xchat.org/files/source/2.6/xchat-${PV}.tar.bz2"

inherit autotools
EXTRA_OECONF = " --disable-perl --disable-python    "

Fix missing '=' after SECTION

xchat: Fix missing '=' after SECTION


DESCRIPTION = "An sh-compatible command language interpreter."
HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
DEPENDS = "ncurses"
SECTION = "base/shell"
LICENSE = "GPL"
PROVIDES = "virtual/sh"
PR = "r3"

SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
	file://signames-mipsel.diff;patch=1"

inherit autotools

bindir = "/bin"
sbindir = "/sbin"

EXTRA_OECONF = "--with-ncurses"
export CC_FOR_BUILD = "${BUILD_CC}"

do_configure () {
	oe_runconf
}

# dont use update-alternatives class because since we are dealing with /bin/sh
# we need to do the remove in pkg_prerm where the /bin/sh link still points
# to something (postrm is a shell script)

ALTERNATIVE_NAME = "sh"
ALTERNATIVE_PATH = "${bindir}/bash"
ALTERNATIVE_PRIORITY = "30"
ALTERNATIVE_LINK = "${bindir}/${ALTERNATIVE_NAME}"

pkg_postinst() {
update-alternatives --install ${ALTERNATIVE_LINK} ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH} ${ALTERNATIVE_PRIORITY}
}

pkg_prerm() {
update-alternatives --remove ${ALTERNATIVE_NAME} ${ALTERNATIVE_PATH}
}

DESCRIPTION = "An sh-compatible command language interpreter."
HOMEPAGE = "http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html"
DEPENDS = "ncurses"
SECTION = "base/shell"
LICENSE = "GPL"
PR = "r4"

SRC_URI = "${GNU_MIRROR}/bash/bash-${PV}.tar.gz \
	file://signames-mipsel.diff;patch=1"

inherit autotools

bindir = "/bin"
sbindir = "/sbin"

EXTRA_OECONF = "--with-ncurses"
export CC_FOR_BUILD = "${BUILD_CC}"

do_configure () {
	gnu-configize
	oe_runconf
}

Fix the bash build for uclibc and kill the dangerous /bin/sh alternatives bits.

BKrev: 422ee086sm4RBQy79-EAyaUdInS9NA


# Python bindings for libcups, from the CUPS project.
#
# Copyright (c) Ambu A/S - All rights reserved
# SPDX-License-Identifier: MIT
#
# Author(s)
#   clst@ambu.com (Claus Stovgaard)
#

DESCRIPTION = "pycups - CUPS bindings for Python"
HOMEPAGE = "https://github.com/OpenPrinting/pycups"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "cups"

# See https://pypi.org/project/pycups/ for data
SRC_URI[sha256sum] = "57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90"

inherit pypi setuptools3

# Python bindings for libcups, from the CUPS project.
#
# Copyright (c) Ambu A/S - All rights reserved
# SPDX-License-Identifier: MIT
#
# Author(s)
#   clst@ambu.com (Claus Stovgaard)
#

DESCRIPTION = "pycups - CUPS bindings for Python"
HOMEPAGE = "https://github.com/OpenPrinting/pycups"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
DEPENDS += "cups"

# See https://pypi.org/project/pycups/ for data
SRC_URI[sha256sum] = "57434ce5f62548eb12949ca8217f066f4eeb21a5d6ab8b13471dce350e380c90"

inherit pypi python_setuptools_build_meta

Revert "python3-pycups: Inherit setuptools3 instead of python_setuptools_build_meta"

This reverts commit cb3d45c4124dba489ce98fb81d3b33bcc91a0329.


require linux.inc

DESCRIPTION = "Linux kernel for Allwinner a10 processors"

KERNEL_IMAGETYPE = "uImage"

COMPATIBLE_MACHINE = "(allwinner-a10)"

PR = "2"

PV = "3.0.42"
# Last tested version by myself"
SRCREV_pn-${PN} = "7003c80c6dbea815c4a78e745565ec03a039ba3a"

MACHINE_KERNEL_PR_append = "a"

SRC_URI += "git://github.com/amery/linux-allwinner.git;branch=allwinner-v3.0-android-v2;protocol=git \
        file://0001-aufs3-kbuild.patch \
        file://0002-aufs3-base.patch \
        file://0003-aufs3-proc_map.patch \
        file://0004-aufs3-standalone.patch \
        file://fs \
        file://aufs_type.h \
        file://defconfig \
        "

S = "${WORKDIR}/git"

#add AUFS stuff
do_copy_aufs () {
  cp ${WORKDIR}/aufs_type.h ${S}/include/linux
  cp -a ${WORKDIR}/fs ${S}/
}

addtask copy_aufs after do_unpack before do_patch

require linux.inc

DESCRIPTION = "Linux kernel for Allwinner a10 processors"

KERNEL_IMAGETYPE = "uImage"

COMPATIBLE_MACHINE = "(allwinner-a10)"

PR = "3"

PV = "3.0.42"
# Last tested version by myself"
SRCREV_pn-${PN} = "09946bae6c414e62c066c57169100c62cd303500"

MACHINE_KERNEL_PR_append = "a"

SRC_URI += "git://github.com/linux-sunxi/linux-sunxi.git;branch=sunxi-3.0;protocol=git \
        file://0001-aufs3-kbuild.patch \
        file://0002-aufs3-base.patch \
        file://0003-aufs3-proc_map.patch \
        file://0004-aufs3-standalone.patch \
        file://fs \
        file://aufs_type.h \
        file://defconfig \
        "

S = "${WORKDIR}/git"

#add AUFS stuff
do_copy_aufs () {
  cp ${WORKDIR}/aufs_type.h ${S}/include/linux
  cp -a ${WORKDIR}/fs ${S}/
  rm -rf ${S}/modules/wifi
}

do_package_prepend() {

}

addtask copy_aufs after do_unpack before do_patch

INSANE_SKIP_kernel-dev = "debug-files debug-deps"

Use new sunxi repository for the kernel

Use new sunxi repository for the kernel


require linux-opendreambox-2.6.18.inc

MACHINE_KERNEL_PR_append = "${PR_INC}.4"

RDEPENDS_${PN} += "dreambox-secondstage (>=83)"

SRC_URI += "\
	file://linux-2.6.18-disable-unneeded-uarts.patch \
	file://linux-2.6.18-use-full-flash.patch;patch=1 \
"

pkg_preinst_kernel-image_append_dm8000 () {
	if [ -z "$D" ]; then
		# /boot has been mounted already by pkg_preinst_kernel-image
		if grep -q '^mtd3: 03c00000 ' /proc/mtd && ! grep -q '^legacy_flash_mapping=' /boot/secondstage.conf; then
			echo "enable legacy flash mapping in secondstage.conf";
			echo "legacy_flash_mapping=1;" >> /boot/secondstage.conf;
		fi;
	fi;
	true
}

require linux-opendreambox-2.6.18.inc

MACHINE_KERNEL_PR_append = "${PR_INC}.4"

RDEPENDS_${PN} += "dreambox-secondstage (>=83)"

SRC_URI += "\
	file://linux-2.6.18-disable-unneeded-uarts.patch \
	file://linux-2.6.18-use-full-flash.patch \
"

pkg_preinst_kernel-image_append_dm8000 () {
	if [ -z "$D" ]; then
		# /boot has been mounted already by pkg_preinst_kernel-image
		if grep -q '^mtd3: 03c00000 ' /proc/mtd && ! grep -q '^legacy_flash_mapping=' /boot/secondstage.conf; then
			echo "enable legacy flash mapping in secondstage.conf";
			echo "legacy_flash_mapping=1;" >> /boot/secondstage.conf;
		fi;
	fi;
	true
}

Fix old patch warning in dm8000 recipe

Fix old patch warning in dm8000 recipe


LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
DEPENDS = "glib-2.0"

inherit pkgconfig autotools

# Allows to avoid fetching, unpacking and patching, since our code is already cloned by repo
inherit externalsrc

#SRC_URI = "git://github.com/sdklsdj.git;protocol=https;branch=master"
#SRCREV = "somerevision"

EXTERNALSRC_pn-${PN} = "${BSPDIR}/source-example"
EXTERNALSRC_BUILD_pn-${PN} = "${BSPDIR}/source-example"

#S = "${EDISONREPO_TOP_DIR}/linux-kernel"
#B = "${WORKDIR}/${BP}"

PR = "r0"

DESCRIPTION = "Example how to build sources out of tree"
LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
HOMEPAGE = ""

DEPENDS = "glib-2.0"

inherit pkgconfig autotools

# Allows to avoid fetching, unpacking and patching, since our code is already cloned by repo
inherit externalsrc

EXTERNALSRC_pn-${PN} = "${BSPDIR}/../source-example"
EXTERNALSRC_BUILD_pn-${PN} = "${BSPDIR}/../source-example"

PR = "r0"

Add descriptian and move sources out of Yocto tree


DESCRIPTION = "program to manage GPS data"
HOMEPAGE = "http://viking.sourceforge.net/"
SECTION = "x11/applications"
DEPENDS = "gpsd gtk+"
LICENSE = "GPLv2"
PRIORITY = "optional"

SRC_URI = "${SOURCEFORGE_MIRROR}/viking/viking-${PV}.tar.gz \
	file://viking-openaerialmap.patch \
	file://viking-parallel-build.patch"

# libgps is linked with c++
#export CC='${CC} -lstdc++'
LDFLAGS += "-lstdc++"

inherit autotools

SRC_URI[md5sum] = "14c7de0702a5bd5e45924bd166ae5ee2"
SRC_URI[sha256sum] = "9370d4e6a7166c03c8838edc9defd5c9c637b0a2a2f765e2a0d7ec4ed9079fb8"

DESCRIPTION = "program to manage GPS data"
HOMEPAGE = "http://viking.sourceforge.net/"
SECTION = "x11/applications"
DEPENDS = "gpsd gtk+"
LICENSE = "GPLv2"
PRIORITY = "optional"
PR = "r1"

SRC_URI = "${SOURCEFORGE_MIRROR}/viking/viking-${PV}.tar.gz \
	file://viking-openaerialmap.patch \
	file://viking-parallel-build.patch"

EXTRA_OECONF = "--disable-realtime-gps-tracking"

inherit autotools

SRC_URI[md5sum] = "14c7de0702a5bd5e45924bd166ae5ee2"
SRC_URI[sha256sum] = "9370d4e6a7166c03c8838edc9defd5c9c637b0a2a2f765e2a0d7ec4ed9079fb8"

viking: Disable realtime gps tracking.
* The code is not compatible with current gpsd.

Signed-off-by: Stanislav Brabec <59b41f121ce1a0e9e44fd67be2eb55a800e72650@penguin.cz>


SECTION = "devel"
require binutils_${PV}.bb
inherit canadian-sdk

DEPENDS="\
	virtual/${HOST_PREFIX}binutils \
	virtual/${HOST_PREFIX}gcc \
	flex-native bison-native \
"

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} \
		--program-prefix=${TARGET_PREFIX}"
PR = "r3"

FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"

do_stage() {
	:
}

do_install () {
        autotools_do_install

        # Install the libiberty header
        install -d ${D}${includedir}
        install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
        install -m 644 ${S}/include/libiberty.h ${D}${includedir}
}

SECTION = "devel"
require binutils_${PV}.bb
inherit canadian-sdk

DEPENDS="\
	virtual/${HOST_PREFIX}binutils \
	virtual/${HOST_PREFIX}gcc \
	flex-native bison-native \
"

FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}"
# On MinGW hosts we want to prepend a drive letter, in ${SDK_REALPATH_MINGW}
# to the sysroot path.
SYSROOT = "${@['${SDK_REALPATH}/${TARGET_SYS}', '${SDK_REALPATH_MINGW}${SDK_REALPATH}/${TARGET_SYS}'][bb.data.getVar('SDK_OS', d, 1) in ['mingw32', 'mingw64']]}"
EXTRA_OECONF = "--with-sysroot=${SYSROOT} \
		--program-prefix=${TARGET_PREFIX}"
PR = "r4"

FILES_${PN}-dbg += "${prefix}/${TARGET_SYS}/bin/.debug"

do_stage() {
	:
}

do_install () {
        autotools_do_install

        # Install the libiberty header
        install -d ${D}${includedir}
        install -m 644 ${S}/include/ansidecl.h ${D}${includedir}
        install -m 644 ${S}/include/libiberty.h ${D}${includedir}
}

binutils-canadian-sdk: Use add SYSROOT, use SDK_REALPATH_MINGW, bump PR


HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
LICENSE = "LGPL"
DESCRIPTION = "WvStreams is a network programming library in C++"
DEPENDS = "zlib openssl (>= 0.9.8)"

SRC_URI = "http://wvstreams.googlecode.com/files/${PN}-${PV}.tar.gz \
           file://build-fixes-and-sanity.patch;patch=1 "

inherit autotools

LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"

EXTRA_AUTORECONF += " -I${S}/gnulib/m4"
EXTRA_OECONF = " --without-tcl --without-qt --without-pam"

do_stage() {
    autotools_stage_all
}

HOMEPAGE = "http://alumnit.ca/wiki/index.php?page=WvStreams"
LICENSE = "LGPL"
DESCRIPTION = "WvStreams is a network programming library in C++"
DEPENDS = "zlib openssl (>= 0.9.8)"

PR = "r1"

SRC_URI = "http://wvstreams.googlecode.com/files/${PN}-${PV}.tar.gz \
           file://build-fixes-and-sanity.patch;patch=1 "

inherit autotools

LDFLAGS_append = " -Wl,-rpath-link,${CROSS_DIR}/${TARGET_SYS}/lib"

EXTRA_AUTORECONF += " -I${S}/gnulib/m4"
EXTRA_OECONF = " --without-tcl --without-qt --without-pam"

PACKAGES_prepend = "libuniconf libuniconf-dbg "
PACKAGES_prepend = "uniconfd uniconfd-dbg "
PACKAGES_prepend = "libwvstreams-base libwvstreams-base-dbg "
PACKAGES_prepend = "libwvstreams-extras libwvstreams-extras-dbg "

FILES_libuniconf     = "${libdir}/libuniconf.so.*"
FILES_libuniconf-dbg = "${libdir}/.debug/libuniconf.so.*"

FILES_uniconfd     = "${sbindir}/uniconfd ${sysconfdir}/uniconf.conf ${localstatedir}/uniconf"
FILES_uniconfd-dbg = "${sbindir}/.debug/uniconfd"

FILES_libwvstreams-base     = "${libdir}/libwvutils.so.*"
FILES_libwvstreams-base-dbg = "${libdir}/.debug/libwvutils.so.*"

FILES_libwvstreams-extras     = "${libdir}/libwvbase.so.* ${libdir}/libwvstreams.so.*"
FILES_libwvstreams-extras-dbg = "${libdir}/.debug/libwvbase.so.* ${libdir}/.debug/libwvstreams.so.*"

do_stage() {
    autotools_stage_all
}

Split wvstreams into smaller packages

wvstreams: Split wvstreams into smaller packages


DESCRIPTION = "Customized settings to use the right fonts in XFCE."
SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
RDEPENDS_${PN} = "fontconfig"
PR = "r1"
S = "${WORKDIR}"

SRC_URI = "file://48-nilrt-override.conf"

FILES_${PN} = "${sysconfdir}/fonts"

do_install () {
	install -d ${D}/${sysconfdir}/fonts/conf.d
	install -d ${D}/${sysconfdir}/fonts/conf.avail
	install -m 0644 48-nilrt-override.conf ${D}/${sysconfdir}/fonts/conf.avail/48-nilrt-override.conf
	ln -sf ${sysconfdir}/fonts/conf.avail/48-nilrt-override.conf ${D}/${sysconfdir}/fonts/conf.d/48-nilrt-override.conf
}

DESCRIPTION = "Customized settings to use the right fonts in XFCE."
SECTION = "x11"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
RDEPENDS_${PN} = "fontconfig"
PR = "r1"
S = "${WORKDIR}"

SRC_URI = "file://48-nilrt-override.conf"

FILES_${PN} = "${sysconfdir}/fonts"

do_install () {
	install -d ${D}/${sysconfdir}/fonts/conf.d
	install -d ${D}/${sysconfdir}/fonts/conf.avail
	install -m 0644 48-nilrt-override.conf ${D}/${sysconfdir}/fonts/conf.avail/48-nilrt-override.conf
	ln -sf ${sysconfdir}/fonts/conf.avail/48-nilrt-override.conf ${D}/${sysconfdir}/fonts/conf.d/48-nilrt-override.conf
}

fontconfig-overrrides: Update after toplevl LICENSE file checksum change

Acked-by: Ken Sharp <e6c8ad8f54d15df4645e8aaf3f7a209bc3688570@ni.com>
Acked-by: Rich Tollerton <67c688e7f7482ba5c4ebe3d70bc77594748182a6@ni.com>
Acked-by: Ben Shelton <873d2944fc7a954ed322314738197137e10de387@ni.com>
Signed-off-by: Alejandro del Castillo <c09cbcd73cd5840fe009d82a3ad13af11b4d7b46@ni.com>


# Base this image on rpi-basic-image
include recipes-core/images/rpi-basic-image.bb

require common.inc

IMAGE_INSTALL +=" \
		iw \
		linux-firmware-bcm43430 \
		"

# Base this image on rpi-basic-image
include recipes-core/images/rpi-basic-image.bb

require common.inc

IMAGE_INSTALL +=" \
		iw \
		linux-firmware \
		mesa \
		"

Deploy required firmwares to the rpi3 board.


require u-boot-socfpga-common.inc
require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc

FILESEXTRAPATHS =. "${THISDIR}/files/v2017.09:"

SRCREV = "c98ac3487e413c71e5d36322ef3324b21c6f60f9"

# Stratix10 is not mainlined yet
SRCREV_stratix10 = "c85cd1fc1331210f1c22adb29d932d4052f79c78"
SRC_URI_stratix10 = "git://github.com/altera-opensource/u-boot-socfpga.git;branch=socfpga_v2017.09;prot=https"

SRC_URI_append = "\
	"

DEPENDS += "dtc-native bc-native u-boot-mkimage-native"

require u-boot-socfpga-common.inc
require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc

FILESEXTRAPATHS =. "${THISDIR}/files/v2017.09:"

SRCREV = "c98ac3487e413c71e5d36322ef3324b21c6f60f9"

# Stratix10 is not mainlined yet
SRCREV_stratix10 = "03db6f4894450a0a8b80478a8567a7353cb2ab99"
SRC_URI_stratix10 = "git://github.com/altera-opensource/u-boot-socfpga.git;branch=socfpga_v2017.09;prot=https"

SRC_URI_append = "\
	"

DEPENDS += "dtc-native bc-native u-boot-mkimage-native"

Update Stratix 10 u-Boot SRCREV

Update Stratix 10 u-Boot SRCREV

Signed-off-by: Dalon Westergreen <3a5da43dc352502ecba2b98228f96a2dd9fbb1ca@gmail.com>


DESCRIPTION = "Starling audio player for GPE"
SECTION = "gpe/multimedia"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "gtk+ gstreamer gst-plugins-good gst-plugins-bad ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly', d)} esound sqlite libsoup libhandoff"
PR = "r3"

inherit gpe autotools

SRC_URI = "http://gpe.linuxtogo.org/download/source/starling-${PV}.tar.bz2"

RDEPENDS_${PN} = "\
  esd \
  gst-plugin-audioconvert \
  gst-plugin-esd \
  gst-plugin-typefindfunctions \
  gst-plugin-decodebin \
  gst-plugin-volume \
"
RRECOMMENDS_${PN} = "\
  gst-plugin-mad \
  gst-plugin-modplug \
  gst-plugin-ivorbisdec \
  gst-plugin-tcp \
"

SRC_URI[md5sum] = "1c9cab1e49819dbe4e876c3be26cca6b"
SRC_URI[sha256sum] = "63ed3e239c79a5913e9542b7023586c51a592e33d2ec0256dafa34cbae20c497"

DESCRIPTION = "Starling audio player for GPE"
SECTION = "gpe/multimedia"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "gtk+ gstreamer gst-plugins-good gst-plugins-bad ${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'gst-plugins-ugly', d)} esound sqlite libsoup libhandoff"
PR = "r3"

inherit gpe autotools

SRC_URI = "http://gpe.linuxtogo.org/download/source/starling-${PV}.tar.bz2"

RDEPENDS_${PN} = "\
  esd \
  gst-plugin-audioconvert \
  gst-plugin-esd \
  gst-plugin-typefindfunctions \
  gst-plugin-decodebin \
  gst-plugin-volume \
"
RRECOMMENDS_${PN} = "\
  gst-plugin-modplug \
  gst-plugin-ivorbisdec \
  gst-plugin-tcp \
"
#  gst-plugin-mad \

SRC_URI[md5sum] = "1c9cab1e49819dbe4e876c3be26cca6b"
SRC_URI[sha256sum] = "63ed3e239c79a5913e9542b7023586c51a592e33d2ec0256dafa34cbae20c497"

starling: Work around bitbake issue making a dependency from a RRECOMMEND statement.

     Since we get a hard dependency for a RRECOMMEND statement with some bitbake releases
     a hard dependency on the MAD player playe breaks staring for enterprise distributions.

Signed-off-by: Florian Boor <039f13934429c3e687fd452ce64217cbd7f1565d@kernelconcepts.de>


DESCRIPTION = "Packages for Amazon Web Services."
LICENSE = "MIT"

inherit packagegroup python-dir

PR = "r0"

PACKAGES = "${PN}"

PACKAGECONFIG ??= "python java cpp cli"

PACKAGECONFIG[python] = "\
	, \
	, \
	, \
	${PYTHON_PN}-aws-iot-device-sdk \
	${PYTHON_PN}-aws-iot-device-sdk-samples \
"

PACKAGECONFIG[java] = "\
	, \
	, \
	, \
	aws-iot-device-sdk-java \
	aws-iot-device-sdk-java-samples \
"

PACKAGECONFIG[cpp] = "\
	, \
	, \
	, \
	aws-iot-device-sdk-cpp \
	aws-iot-device-sdk-cpp-dev \
	aws-iot-device-sdk-cpp-cli \
	aws-iot-device-sdk-cpp-samples \
"

PACKAGECONFIG[python] = "\
	, \
	, \
	, \
	${PYTHON_PN}-awscli \
"

DESCRIPTION = "Packages for Amazon Web Services."
LICENSE = "MIT"

inherit packagegroup python-dir

PR = "r1"

PACKAGES = "${PN}"

PACKAGECONFIG ??= "python java cpp cli"

PACKAGECONFIG[python] = "\
	, \
	, \
	, \
	${PYTHON_PN}-aws-iot-device-sdk \
	${PYTHON_PN}-aws-iot-device-sdk-samples \
"

PACKAGECONFIG[java] = "\
	, \
	, \
	, \
	aws-iot-device-sdk-java \
	aws-iot-device-sdk-java-samples \
"

PACKAGECONFIG[cpp] = "\
	, \
	, \
	, \
	aws-iot-device-sdk-cpp \
	aws-iot-device-sdk-cpp-dev \
	aws-iot-device-sdk-cpp-cli \
	aws-iot-device-sdk-cpp-samples \
"

PACKAGECONFIG[cli] = "\
	, \
	, \
	, \
	${PYTHON_PN}-awscli \
"

Package Group: Fix AWS package group

Package Group: Fix AWS package group

Signed-off-by: Scott Ware <73d8c51564b4eae79a1225e2fb09ab1ef1f00b4b@intel.com>


DESCRIPTION = "Openmoko: Tasks for the Openmoko Linux Distribution"
SECTION = "openmoko/base"
ALLOW_EMPTY = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
LICENSE = "MIT"
PR = "r0"

inherit task

PACKAGES = "task-openmoko-bare"

DESCRIPTION_task-openmoko-qtopia-x11 = "Openmoko: Provide Window Manager, Om-settings and Om-installer"
RDEPENDS_task-openmoko-bare = "\
           readline \
           connman \
           connman-plugin-connman-resolvconf \
           connman-plugin-connman-dhclient \
           connman-plugin-connman-80211 \
           connman-script-dhclient \
           libnotify \
# X
           illume \
           illume-theme-asu \
           e-wm \
           ${XSERVER} \
           xserver-kdrive-common \
           xserver-nodm-init \
           xauth \
           xhost \
           xset \
           xrandr \
# Om applications
           assassin \
           assassin-thumbnail \
           om-settings \
           openmoko-community-repository \
"

DESCRIPTION = "Openmoko: Tasks for the Openmoko Linux Distribution"
SECTION = "openmoko/base"
ALLOW_EMPTY = "1"
PACKAGE_ARCH = "${MACHINE_ARCH}"
LICENSE = "MIT"
PR = "r0.01"

inherit task

PACKAGES = "task-openmoko-bare"

DESCRIPTION_task-openmoko-qtopia-x11 = "Openmoko: Provide Window Manager, Om-settings and Om-installer"
RDEPENDS_task-openmoko-bare = "\
           readline \
           connman \
           connman-plugin-connman-resolvconf \
           connman-plugin-connman-dhclient \
           connman-plugin-connman-80211 \
           connman-script-dhclient \
           libnotify \
# X

# illume-theme-asu should be first than illume
# to let opkg install illume-theme-asu first than illume-theme-freesmartphone
# then we have ASU theme but not FSO theme in default.
           illume-theme-asu \
           illume \
           e-wm \
           ${XSERVER} \
           xserver-kdrive-common \
           xserver-nodm-init \
           xauth \
           xhost \
           xset \
           xrandr \
# Om applications
           assassin \
           assassin-thumbnail \
           om-settings \
           openmoko-community-repository \
"

openmoko: Change the order of illume-theme in Openmoko Bare Image.

illume-theme-freesmartphone provides _illume-theme_ for illume.
However, Openmoko wants asu-theme by default.

Change the order of these two entries (illume and illme-theme-asu)
to let illume-theme-asu install first.


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_v2021.2"
SRCREV = "f196bddc500dfb244aeabba264e66358c35d51dd"

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_v2021.2"
SRCREV = "5b6fe16a2bfd7ced4d90b70b0ba6fbf325e81e97"

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 on branch.

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


DESCRIPTION = "Basic user and group settings for NI Linux RT applications."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r1"

ALLOW_EMPTY_${PN} = "1"

inherit allarch useradd

USERADD_PACKAGES = "${PN}"

GROUPADD_PARAM_${PN} = " --system -g 500 ${LVRT_GROUP}; \
	--system -g 499 ${OPENVPN_GROUP}; \
	--system -g 498 niwscerts"

USERADD_PARAM_${PN} = " -u 500 -N -g ${LVRT_GROUP} -G niwscerts,plugdev,tty -c 'LabVIEW user' ${LVRT_USER}; \
		-u 499 -N -g ${OPENVPN_GROUP} -c 'OpenVPN user' -r ${OPENVPN_USER}; \
		-u 501 -N -g ${LVRT_GROUP} -G niwscerts,plugdev -c 'Web services user' webserv"

useradd_preinst_append () {
eval ${PSEUDO} chmod g+s ${SYSROOT}/home/${LVRT_USER} ${SYSROOT}/home/webserv || true
}

DESCRIPTION = "Basic user and group settings for NI Linux RT applications."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \
                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r1"

ALLOW_EMPTY_${PN} = "1"

inherit allarch useradd

USERADD_PACKAGES = "${PN}"

GROUPADD_PARAM_${PN} = " --system -g 500 ${LVRT_GROUP}; \
	--system -g 499 ${OPENVPN_GROUP}; \
	--system -g 498 niwscerts"

USERADD_PARAM_${PN} = " -u 500 -N -g ${LVRT_GROUP} -G niwscerts,plugdev,tty -c 'LabVIEW user' ${LVRT_USER}; \
		-u 499 -N -g ${OPENVPN_GROUP} -c 'OpenVPN user' -r ${OPENVPN_USER}; \
		-u 501 -N -g ${LVRT_GROUP} -G niwscerts -c 'Web services user' webserv"

useradd_preinst_append () {
eval ${PSEUDO} chmod g+s ${SYSROOT}/home/${LVRT_USER} ${SYSROOT}/home/webserv || true
}

Revert "nilrt: add webserv to group "plugdev""

This reverts commit 67d7e41d97a4f54e08781b62e86b32e008263d1f.

Signed-off-by: Haris Okanovic <4f2c24956fa4a8756878315db434b9fed29fa615@ni.com>
Natinst-ReviewBoard-ID: 102921


require u-boot-ti.inc

# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native"

DESCRIPTION = "u-boot bootloader for TI devices"

LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"

PV = "2014.07-glsdk"
PR = "r4+gitr${SRCPV}"
BRANCH = "p-ti-u-boot-2014.07"

SRC_URI = "git://git.omapzoom.org/repo/u-boot.git;protocol=git;branch=${BRANCH}"

SRCREV = "c56da94325d1251525078f79acefb4d347a494a2"

SPL_BINARY = "MLO"
SPL_UART_BINARY = "u-boot-spl.bin"

require u-boot-ti.inc

# u-boot needs devtree compiler to parse dts files
DEPENDS += "dtc-native"

DESCRIPTION = "u-boot bootloader for TI devices"

LIC_FILES_CHKSUM = "file://Licenses/README;md5=025bf9f768cbcb1a165dbe1a110babfb"

PV = "2014.07-glsdk"
PR = "r5+gitr${SRCPV}"
BRANCH = "p-ti-u-boot-2014.07"

SRC_URI = "git://git.omapzoom.org/repo/u-boot.git;protocol=git;branch=${BRANCH}"

SRCREV = "9086437f413323e3aa24f5affe89c37b95d8ff12"

SPL_BINARY = "MLO"
SPL_UART_BINARY = "u-boot-spl.bin"

Update commit for GLSDK GA release

u-boot: Update commit for GLSDK GA release

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


SUMMARY = "Xilinx HDMI Linux Kernel module"
DESCRIPTION = "Out-of-tree HDMI kernel modules provider for MPSoC EG/EV devices"
SECTION = "kernel/modules"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=570506b747d768e7802376f932dff926"

XLNX_HDMI_VERSION = "5.4.0"
PV = "${XLNX_HDMI_VERSION}"

S = "${WORKDIR}/git"

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

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"

SUMMARY = "Xilinx HDMI Linux Kernel module"
DESCRIPTION = "Out-of-tree HDMI kernel modules provider for MPSoC EG/EV devices"
SECTION = "kernel/modules"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://LICENSE.md;md5=570506b747d768e7802376f932dff926"

XLNX_HDMI_VERSION = "5.4.0"
PV = "${XLNX_HDMI_VERSION}"

S = "${WORKDIR}/git"

BRANCH ?= "master"
REPO   ?= "git://github.com/Xilinx/hdmi-modules.git;protocol=https"
SRCREV = "007af0d54fdccd7fdd93095511b5a5a886aea30b"

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"

 hdmi: Update commit id and branch for 2021 release

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


include libxcb.inc

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7"

DEPENDS += "libxdmcp"

SRC_URI[md5sum] = "074c335cc4453467eeb234e3dadda700"
SRC_URI[sha256sum] = "98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5"

#
# debian
#
inherit debian-package

DEBIAN_SECTION = "x11"
DPR = "0"

SRC_URI += " \
	file://xcbincludedir.patch \
"

# There is no debian patch
DEBIAN_PATCH_TYPE = "nopatch"

include libxcb.inc

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=d763b081cb10c223435b01e00dc0aba7"

DEPENDS += "libxdmcp python"

SRC_URI[md5sum] = "074c335cc4453467eeb234e3dadda700"
SRC_URI[sha256sum] = "98d9ab05b636dd088603b64229dd1ab2d2cc02ab807892e107d674f9c3f2d5b5"

#
# debian
#
inherit debian-package

DEBIAN_SECTION = "x11"
DPR = "0"

SRC_URI += " \
	file://xcbincludedir.patch \
"

# There is no debian patch
DEBIAN_PATCH_TYPE = "nopatch"

Add depend on python to libxcb based on debian/rules

Signed-off-by: CongNT <55af0651c88f14d10095de5333356c44a1889d24@toshiba-tsdv.com>


DESCRIPTION = "A commercial quality OCR engine "
LICENSE = "APL + others"

DEPENDS = "tiff"

SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}-ocr/${P}.tar.gz file://fix_redeclaration_conflitcs.patch;patch=1"

inherit autotools pkgconfig

SRC_URI[md5sum] = "e3bc57773a60134ef37e9f06fe541108"
SRC_URI[sha256sum] = "6fc9e28a574bf22028249e9a12e033c8bee0aeccbf90621238a6f538e60e7d60"

DESCRIPTION = "A commercial quality OCR engine "
LICENSE = "APL + others"

DEPENDS = "tiff"

SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}-ocr/${P}.tar.gz file://fix_redeclaration_conflitcs.patch"

inherit autotools pkgconfig

SRC_URI[md5sum] = "e3bc57773a60134ef37e9f06fe541108"
SRC_URI[sha256sum] = "6fc9e28a574bf22028249e9a12e033c8bee0aeccbf90621238a6f538e60e7d60"

Fix deprecated syntax in tessarct

Fix deprecated syntax in tessarct


DESCRIPTION = "Linux Kernel 2.6 Userland Utilities for the PCMCIA Subsystem"
DEPENDS = "sysfsutils udev"
RDEPENDS = "udev"
HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
SECTION = "kernel/userland"
PRIORITY = "optional"

SRC_URI = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
S = "${WORKDIR}/pcmciautils-${PV}"

PR = "r1"

inherit update-rc.d

INITSCRIPT_NAME = "coldplug"
INITSCRIPT_PARAMS = "defaults"

export HOSTCC = "${BUILD_CC}"
export etcdir = "${sysconfdir}"
export pcmciaconfdir = "${sysconfdir}/pcmcia"
export udevrulesdir = "${sysconfdir}/udev/rules.d"
export UDEV = 1
LD = "${CC}"
CFLAGS =+ "-I${S}/src"
CFLAGS =+ '-DPCMCIAUTILS_VERSION=010'

PARALLEL_MAKE = ""
EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs'"

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

CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts"
RCONFLICTS_${PN} += "pcmcia-cs"

DESCRIPTION = "Linux Kernel 2.6 Userland Utilities for the PCMCIA Subsystem"
DEPENDS = "sysfsutils udev"
RDEPENDS = "udev module-init-tools"
HOMEPAGE = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmcia.html"
SECTION = "kernel/userland"
PRIORITY = "optional"

SRC_URI = "http://kernel.org/pub/linux/utils/kernel/pcmcia/pcmciautils-${PV}.tar.bz2"
S = "${WORKDIR}/pcmciautils-${PV}"

PR = "r2"

export HOSTCC = "${BUILD_CC}"
export etcdir = "${sysconfdir}"
export sbindir = "${base_sbindir}"
export pcmciaconfdir = "${sysconfdir}/pcmcia"
export udevrulesdir = "${sysconfdir}/udev/rules.d"
export UDEV = 1
LD = "${CC}"
CFLAGS =+ "-I${S}/src"
CFLAGS =+ '-DPCMCIAUTILS_VERSION=010'

PARALLEL_MAKE = ""
EXTRA_OEMAKE = "-e 'STRIP=echo' 'LIB_OBJS=-lc -lsysfs'"

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

CONFFILES_${PN} += "${sysconfdir}/pcmcia/config.opts"
RCONFLICTS_${PN} += "pcmcia-cs"

pcmciautils: Install the binaries into the correct place. Remove coldplug references as they now just create errors. Add dependency on module-init-tools - when busybox's modprobe expands to cover pcmcia alias handling, this can be removed.


require xorg-app-common.inc

DESCRIPTION = "X Resize and Rotate extension command."
LICENSE= "BSD-X"

DEPENDS += " libxrandr libxrender virtual/libx11"
PE = "1"
PR = "r1"

SRC_URI += "file://resolve_symbol_clash.patch;patch=1"

require xorg-app-common.inc

DESCRIPTION = "X Resize and Rotate extension command."
LICENSE= "BSD-X"

DEPENDS += " libxrandr libxrender virtual/libx11"
PE = "1"
PR = "r2"

xrandr: Remove patch that does not apply any more.


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 "

IMAGE_INSTALL += "connman"
IMAGE_INSTALL += "weston-common"
IMAGE_INSTALL += "mesa-driver-i965"
IMAGE_INSTALL += "meta"
IMAGE_INSTALL += "libpam"
#IMAGE_INSTALL += "crosswalk"

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 "

IMAGE_INSTALL += "connman"
IMAGE_INSTALL += "weston-common"
IMAGE_INSTALL += "mesa-driver-i965"
IMAGE_INSTALL += "meta"
IMAGE_INSTALL += "libpam"
IMAGE_INSTALL += "weston-common-tz-launcher"
IMAGE_INSTALL += "weston-common-config"

# Doesn't build: needs to be fixed:
#IMAGE_INSTALL += "user-session-units"

#IMAGE_INSTALL += "crosswalk"

Add tz-launcher and weston config to image

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


SUMMARY = "Fribidi library for bidirectional text"
SECTION = "libs"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
BBCLASSEXTEND = "native"

PROVIDES = "libfribidi"
DEPENDS = "glib-2.0 libpcre"

inherit autotools lib_package pkgconfig

CFLAGS_append = "  -DPAGE_SIZE=4096 "

SRC_URI = "http://fribidi.org/download/fribidi-${PV}.tar.bz2"

SRC_URI[md5sum] = "6c7e7cfdd39c908f7ac619351c1c5c23"
SRC_URI[sha256sum] = "08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e"

SUMMARY = "Fribidi library for bidirectional text"
SECTION = "libs"
LICENSE = "LGPLv2.1"
LIC_FILES_CHKSUM = "file://COPYING;md5=a916467b91076e631dd8edb7424769c7"
BBCLASSEXTEND = "native"

PROVIDES = "libfribidi"
DEPENDS = "glib-2.0 libpcre"

inherit autotools lib_package pkgconfig

CFLAGS_append = "  -DPAGE_SIZE=4096 "
SECURITY_CFLAGS_remove_toolchain-clang = "-D_FORTIFY_SOURCE=2"

SRC_URI = "http://fribidi.org/download/fribidi-${PV}.tar.bz2"

SRC_URI[md5sum] = "6c7e7cfdd39c908f7ac619351c1c5c23"
SRC_URI[sha256sum] = "08222a6212bbc2276a2d55c3bf370109ae4a35b689acbc66571ad2a670595a8e"

Fix build with security flags turned on

fribidi: Fix build with security flags turned on

Clang complains like below
| ../../fribidi-0.19.7/charset/fribidi-char-sets-cap-rtl.c:148:7: error: expected expression
|       DBG ("warning: could not find a mapping for CapRTL to Unicode:");

Therefore quick fix is to remove FORTIFY_SOURCE from cmdline

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


DESCRIPTION = "A minimal OpenAMP image"

INITRD_IMAGE = "core-image-minimal-initramfs"
LICENSE = "MIT"

inherit core-image

IMAGE_INSTALL += " \
    packagegroup-core-boot \
    ${CORE_IMAGE_EXTRA_INSTALL} \
    kernel-module-uio-pdrv-genirq \
    kernel-module-remoteproc \
    kernel-module-virtio \
    kernel-module-virtio-ring \
    kernel-module-virtio-rpmsg-bus \
    libmetal \
    open-amp \
    "

#IMAGE_INSTALL_append_zynqmp += " kernel-module-zynqmp-r5-remoteproc"
#IMAGE_INSTALL_append_zynq += " kernel-module-zynq-remoteproc"

IMAGE_LINGUAS=""

DESCRIPTION = "A minimal OpenAMP image"

INITRD_IMAGE = "core-image-minimal-initramfs"
LICENSE = "MIT"

inherit core-image

IMAGE_INSTALL += " \
    packagegroup-core-boot \
    ${CORE_IMAGE_EXTRA_INSTALL} \
    kernel-module-uio-pdrv-genirq \
    kernel-module-virtio-rpmsg-bus \
    libmetal \
    open-amp \
    "

#IMAGE_INSTALL_append_zynqmp += " kernel-module-zynqmp-r5-remoteproc"
#IMAGE_INSTALL_append_zynq += " kernel-module-zynq-remoteproc"

IMAGE_LINGUAS=""

images: Remove kernel modules that are now built-in.

In 5.4, the remoteproc, virtio, and virtio-rpmsg-bus drivers are built-in.
In the 4.19 kernel Xilinx previously used, they were modules. This causes
the build to fail as it can no longer find the modules.

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


require fakeroot.inc

DEFAULT_PREFERENCE = "-1"
PR = "${INC_PR}.0"

SRC_URI =+ "\
  ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \
  file://quiet-getopt-check.patch \
"

SRC_URI[md5sum] = "248c408b1e06e776c5739871b49bd968"
SRC_URI[sha256sum] = "45fbb9ad611f33224cc09954963dde563cc80fe58c76feb25b6e98550b81729a"

require fakeroot.inc

DEFAULT_PREFERENCE = "-1"
PR = "${INC_PR}.0"

SRC_URI =+ "\
    https://launchpad.net/ubuntu/+archive/primary/+files/${PN}_${PV}.orig.tar.bz2 \
    file://quiet-getopt-check.patch \
"

SRC_URI[md5sum] = "248c408b1e06e776c5739871b49bd968"
SRC_URI[sha256sum] = "45fbb9ad611f33224cc09954963dde563cc80fe58c76feb25b6e98550b81729a"

fakeroot: Change download loation to a working one

Signed-off-by: Florian Boor <039f13934429c3e687fd452ce64217cbd7f1565d@kernelconcepts.de>


DESCRIPTION = "High-performance XML processor."
LICENSE = "AL2.0 LGPL2.1"

AUTHOR = "Codehaus"
HOMEPAGE = "http://woodstox.codehaus.org"

SRC_URI = "http://woodstox.codehaus.org/2.0.6/wstx-src.tar.gz"

S = "${WORKDIR}"

inherit java-library

DEPENDS = "fastjar-native"

do_compile() {
  mkdir -p build/META-INF/services

  javac -nowarn -sourcepath src/java -d build \
		`find src/java/org -name "*.java"` \
		`find src/java/com -name "*.java"`

  cp -R src/resources/* build/META-INF/services

  fastjar -C build -c -f ${JARFILENAME} .
}

SRC_URI[md5sum] = "3fc8e914d13316aa254b883a99fd2b85"
SRC_URI[sha256sum] = "e7ab2018865334a1b9b04161235192c2fdc7387baa422b576722db2011f75157"

DESCRIPTION = "High-performance XML processor."
LICENSE = "AL2.0 LGPL2.1"

AUTHOR = "Codehaus"
HOMEPAGE = "http://woodstox.codehaus.org"

SRC_URI = "http://woodstox.codehaus.org/2.0.6/wstx-src.tar.gz;subdir=${BPN}-${PV}"

inherit java-library

DEPENDS = "fastjar-native"

do_compile() {
  mkdir -p build/META-INF/services

  javac -nowarn -sourcepath src/java -d build \
		`find src/java/org -name "*.java"` \
		`find src/java/com -name "*.java"`

  cp -R src/resources/* build/META-INF/services

  fastjar -C build -c -f ${JARFILENAME} .
}

SRC_URI[md5sum] = "3fc8e914d13316aa254b883a99fd2b85"
SRC_URI[sha256sum] = "e7ab2018865334a1b9b04161235192c2fdc7387baa422b576722db2011f75157"

Switch to subdir= in SRC_URI

woodstox2: Switch to subdir= in SRC_URI

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


SUMMARY = "Low Level Skeleton Library for Communication on Intel platforms"
SECTION = "libs"
AUTHOR = "Brendan Le Foll, Tom Ingleby"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=e8db6501ed294e65418a933925d12058"

# git is required to get a good version from git describe
DEPENDS = "nodejs swig-native"

SRC_URI = "git://github.com/intel-iot-devkit/mraa.git;protocol=git;rev=64f377cdfcedaaff6a8fb76f83b7ece9eaba422e;nobranch=1"

S = "${WORKDIR}/git"

inherit distutils-base pkgconfig python-dir cmake

FILES_${PN}-doc += "${datadir}/mraa/examples/"

FILES_${PN}-dbg += "${libdir}/node_modules/mraajs/.debug/ \
                    ${PYTHON_SITEPACKAGES_DIR}/.debug/"

do_compile_prepend () {
  # when yocto builds in ${D} it does not have access to ../git/.git so git
  # describe --tags fails. In order not to tag our version as dirty we use this
  # trick
  sed -i 's/-dirty//' src/version.c
}

SUMMARY = "Low Level Skeleton Library for Communication on Intel platforms"
SECTION = "libs"
AUTHOR = "Brendan Le Foll, Tom Ingleby"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING;md5=e8db6501ed294e65418a933925d12058"

SRC_URI = "git://github.com/intel-iot-devkit/mraa.git;protocol=git;rev=64f377cdfcedaaff6a8fb76f83b7ece9eaba422e;nobranch=1"

S = "${WORKDIR}/git"

inherit distutils-base pkgconfig python-dir cmake

FILES_${PN}-doc += "${datadir}/mraa/examples/"

FILES_${PN}-dbg += "${libdir}/node_modules/mraajs/.debug/ \
                    ${PYTHON_SITEPACKAGES_DIR}/.debug/"

PACKAGECONFIG ??= "python nodejs"
PACKAGECONFIG[python] = "-DBUILDSWIGPYTHON=ON, -DBUILDSWIGPYTHON=OFF, swig-native python"
PACKAGECONFIG[nodejs] = "-DBUILDSWIGNODE=ON, -DBUILDSWIGNODE=OFF, swig-native nodejs"

do_compile_prepend () {
  # when yocto builds in ${D} it does not have access to ../git/.git so git
  # describe --tags fails. In order not to tag our version as dirty we use this
  # trick
  sed -i 's/-dirty//' src/version.c
}

mraa: Add pkgconfig options for python & nodejs bindings to mraa

Signed-off-by: Brendan Le Foll <3e0e8c4069934e8b47d99704927a85c66c0ceb33@intel.com>


require xorg-lib-common.inc

DESCRIPTION = "	Touchscreen calibration client library"
LICENSE = "BSD-X"
DEPENDS = "virtual/libx11 calibrateproto libxext"
PV = "0.0+gitr${SRCREV}"
PE = "1"

SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libXCalibrate;protocol=git"

S = "${WORKDIR}/git"

FILES_${PN}-locale += "${datadir}/X11/locale"

require xorg-lib-common.inc

DESCRIPTION = "Touchscreen calibration client library"
LICENSE = "BSD-X"
DEPENDS = "virtual/libx11 calibrateproto libxext"

PR = "r0"
PV = "0.0+${PR}+gitr${SRCREV}"
PE = "1"

SRC_URI = "git://anongit.freedesktop.org/git/xorg/lib/libXCalibrate;protocol=git"

S = "${WORKDIR}/git"

FILES_${PN}-locale += "${datadir}/X11/locale"

libxcalibrate: Use increment-able PV format as other git version recipes do.


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

SUMMARY = "A Wayland image with a terminal and crosswalk"

LICENSE = "MIT"

DESCRIPTION = "A weston image with Tizen common ."

IMAGE_INSTALL += "crosswalk"
IMAGE_INSTALL += "tizen-extensions-crosswalk"
IMAGE_INSTALL += "tzdata"

IMAGE_INSTALL += "ttf-dejavu-common"
IMAGE_INSTALL += "ttf-dejavu-sans"
IMAGE_INSTALL += "ttf-dejavu-sans-condensed"
IMAGE_INSTALL += "ttf-dejavu-sans-mono"
IMAGE_INSTALL += "ttf-dejavu-serif"
IMAGE_INSTALL += "ttf-dejavu-serif-condensed"

# Pango modules
IMAGE_INSTALL += "pango-module-basic-fc"
IMAGE_INSTALL += "pango-module-arabic-lang"
IMAGE_INSTALL += "pango-module-indic-lang"

Add pango module to image

Add pango module to image

Adds missing .so files in /usr/lib/pango/<pago_version>/modules

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


SRCBRANCH ?= "master-rel-2021.1"
SRCREV = "84041fa84d9bc524357b030ebe9a5174b01377bd"
BRANCH = "master-rel-2021.1"
LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=0e6d7bfe689fe5b0d0a89b2ccbe053fa"
PV = "${SRCBRANCH}+git${SRCPV}"

include open-amp.inc

SRCBRANCH ?= "xlnx_rel_v2021.1"
SRCREV = "84041fa84d9bc524357b030ebe9a5174b01377bd"
BRANCH = "xlnx_rel_v2021.1"
LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=0e6d7bfe689fe5b0d0a89b2ccbe053fa"
PV = "${SRCBRANCH}+git${SRCPV}"

include open-amp.inc

Update branch for 2021.1 release

open-amp: Update branch for 2021.1 release

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


PR =		"r1"
LICENSE = 	"LGPL"
MAINTAINER = 	"Koen Kooi <koen@handhelds.org>"

DEPENDS =	"dbus hildon-lgpl hildon-fm outo gtk+-2.6.4-1.osso7"
SRC_URI =	"http://repository.maemo.org/pool/maemo/ossw/source/h/hildon-libs/hildon-libs_${PV}.tar.gz \
		file://hildon-libs-no-werror.patch;patch=1"

S =	"${WORKDIR}/hildon-libs-0.9.6"

inherit pkgconfig autotools
EXTRA_OECONF =	"--disable-gtk-doc"

do_stage() {
  install -d ${STAGING_LIBDIR}/outo
  install -m755 ${S}/ut/.libs/libhildonwidgets_unittests.so  ${STAGING_LIBDIR}/outo
  install -m755 ${S}/ut/.libs/libhildonwidgets_clock_unittests.so  ${STAGING_LIBDIR}/outo
  install -m755 ${S}/hildon-widgets/.libs/libhildonwidgets.so* ${STAGING_LIBDIR}
  install -d ${STAGING_INCDIR}/hildon-widgets
  install -m 644 hildon-widgets/*.h ${STAGING_INCDIR}/hildon-widgets
}

PR 	= 	"r1"
LICENSE = 	"LGPL"
MAINTAINER = "Koen Kooi <koen@handhelds.org>"

DEPENDS =	"dbus hildon-lgpl hildon-fm outo gtk+-2.6.4-1.osso7"
SRC_URI =	"http://repository.maemo.org/pool/maemo/ossw/source/h/${PN}/${PN}_${PV}.tar.gz \
			file://hildon-libs-no-werror.patch;patch=1"

S = "${WORKDIR}/hildon-libs-0.9.6"

inherit autotools pkgconfig

EXTRA_OECONF =	"--disable-gtk-doc"

FILES_${PN} += "${libdir}/outo/*.so"

do_stage() {
  install -d ${STAGING_LIBDIR}/outo
  install -m755 ${S}/ut/.libs/libhildonwidgets_unittests.so  ${STAGING_LIBDIR}/outo
  install -m755 ${S}/ut/.libs/libhildonwidgets_clock_unittests.so  ${STAGING_LIBDIR}/outo
  install -m755 ${S}/hildon-widgets/.libs/libhildonwidgets.so* ${STAGING_LIBDIR}
  install -d ${STAGING_INCDIR}/hildon-widgets
  install -m 644 hildon-widgets/*.h ${STAGING_INCDIR}/hildon-widgets
}

Fix SRC_URI to contain patch. Fix shipped files.


require bluez-utils.inc

PR = "r0"

EXTRA_OECONF += "--without-dbus"

require bluez-utils.inc

PR = "r1"

SRC_URI += " file://hciattach-ti-bts.patch;patch=1"
EXTRA_OECONF += "--without-dbus"

Add ti patch used in bluez-utils-dbus.

bluez-utils-nodbus: Add ti patch used in bluez-utils-dbus.


LICENSE = GPL
DESCRIPTION = "GNU Octave is a high-level language, primarily intended for numerical computations. \
It provides a convenient command line interface for solving linear and nonlinear problems numerically, \
and for performing other numerical experiments using a language that is mostly compatible with Matlab. \
It may also be used as a batch-oriented language."
SECTION = "console/util"
DEPENDS = "readline ncurses"
MAINTAINER = "Simon Pickering <S.G.Pickering@bath.ac.uk>"
SRC_URI = "ftp://ftp.octave.org/pub/octave/bleeding-edge/octave-${PV}.tar.gz"

inherit autotools

FILES_${PN}-dev += "${libdir}/octave-${PV}/*.la ${libdir}/octave-${PV}/*.a"

do_configure() {
	gnu-configize
	oe_runconf
}

Fix the octave SRC_URI, courtesy Simon Pickering.

BKrev: 423139e7HraByluIbr02Hyj0nFoeNg


DESCRIPTION = "DVD access multimeda library"
SECTION = "libs/multimedia"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "git://git.debian-maintainers.org/git/daniel/${PN}.git;protocol=git;branch=debian"

SRCREV = "e465b500c12be5b4c0b6918a9b98038611f66c57"
S = "${WORKDIR}/git"

inherit autotools lib_package binconfig pkgconfig

do_unpackpost() {
        QUILT_PATCHES=debian/patches quilt push -a
}

addtask unpackpost after do_unpack before do_patch

DESCRIPTION = "DVD access multimeda library"
SECTION = "libs/multimedia"
LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
SRC_URI = "git://daniel-baumann.ch/git/debian/libdvdread.git;protocol=http;branch=debian"

PR = "r1"

SRCREV = "a733b19584000a9c80ef5b8dfb187f8f00e4d1e7"
S = "${WORKDIR}/git"

inherit autotools lib_package binconfig pkgconfig

do_unpackpost() {
        QUILT_PATCHES=debian/patches quilt push -a
}

addtask unpackpost after do_unpack before do_patch

Update to newer GIT server

libdvdread: Update to newer GIT server

Daniel has moved to newer GIT server and also imported the Debian
packages on it so the previously used hash is not available. Update
accordingly.

Signed-off-by: Otavio Salvador <1d31b11c1b92bf5d043d36edfe7174db39a6b891@ossystems.com.br>
Signed-off-by: Eric Bénard <96f164ad4d9b2b0dacf8ebee2bb1eeb3aa69adf1@eukrea.com>


DESCRIPTION = "Settings-daemon provides a bridge between gconf and xsettings"
LICENSE = "GPL"
DEPENDS = "gconf glib-2.0"
RDEPENDS = "xrdb"
SECTION = "x11"
PV = "0.0+svnr${SRCREV}"

SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
	   file://70settings-daemon"

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

inherit autotools pkgconfig gettext gconf

FILES_${PN} = 	"${bindir}/* ${sysconfdir}"

do_install_append () {
	install -d ${D}/${sysconfdir}/X11/Xsession.d
	install -m 755 ${WORKDIR}/70settings-daemon ${D}/${sysconfdir}/X11/Xsession.d/
}

DESCRIPTION = "Settings-daemon provides a bridge between gconf and xsettings"
LICENSE = "GPL"
DEPENDS = "gconf glib-2.0 gtk+"
RDEPENDS = "xrdb"
SECTION = "x11"
PV = "0.0+svnr${SRCREV}"

PR = "r1"

SRC_URI = "svn://svn.o-hand.com/repos/matchbox/trunk;module=${PN};proto=http \
	   file://70settings-daemon"

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

inherit autotools pkgconfig gettext gconf

FILES_${PN} = 	"${bindir}/* ${sysconfdir}"

do_install_append () {
	install -d ${D}/${sysconfdir}/X11/Xsession.d
	install -m 755 ${WORKDIR}/70settings-daemon ${D}/${sysconfdir}/X11/Xsession.d/
}

Add missing dependency to gtk+

settings-daemon: Add missing dependency to gtk+


DESCRIPTION = "Tool to edit the Redboot FIS partition layout from userspace"

SRC_URI = "http://svn.chezphil.org/utils/trunk/fis.cc \
	   svn://svn.chezphil.org/;module=libpbe;proto=http"

do_compile() {
	${CXX} -Os -W -I${STAGING_INCDIR} -I${WORKDIR}/libpbe/trunk/include -o fis ${WORKDIR}/fis.cc \
	${WORKDIR}/libpbe/trunk/src/Exception.cc ${WORKDIR}/libpbe/trunk/src/utils.cc
	${STRIP} ${WORKDIR}/fis-${PV}/fis
#	${CXX} -Os -W -static -I${STAGING_INCDIR} -I${WORKDIR}/libpbe/trunk/include -o fis-static ${WORKDIR}/fis.cc \
#	${WORKDIR}/libpbe/trunk/src/Exception.cc ${WORKDIR}/libpbe/trunk/src/utils.cc
#	${STRIP} ${WORKDIR}/fis-${PV}/fis-static
}

DESCRIPTION = "Tool to edit the Redboot FIS partition layout from userspace"
PR = "r1"

SRC_URI = "http://svn.chezphil.org/utils/trunk/fis.cc \
	   svn://svn.chezphil.org/;module=libpbe;proto=http"

PACKAGES =+ "fis-static"
FILES_${PN}-static = "${sbindir}/fis-static"
FILES_${PN} = "${sbindir}/fis"

do_compile() {
	${CXX} -Os -W -I${STAGING_INCDIR} -I${WORKDIR}/libpbe/trunk/include -o fis ${WORKDIR}/fis.cc \
	${WORKDIR}/libpbe/trunk/src/Exception.cc ${WORKDIR}/libpbe/trunk/src/utils.cc

	# Work around boost threading issue when compiling static
	# We're singlethreading anyway

	echo "#define BOOST_SP_DISABLE_THREADS" > ${WORKDIR}/tmpfile
	cat ${WORKDIR}/tmpfile ${WORKDIR}/fis.cc > ${WORKDIR}/fis.new
	mv ${WORKDIR}/fis.new ${WORKDIR}/fis.cc
	rm ${WORKDIR}/tmpfile

	${CXX} -Os -W -static -I${STAGING_INCDIR} -I${WORKDIR}/libpbe/trunk/include -o fis-static ${WORKDIR}/fis.cc \
	${WORKDIR}/libpbe/trunk/src/Exception.cc ${WORKDIR}/libpbe/trunk/src/utils.cc
}

do_install() {
	${STRIP} ${WORKDIR}/fis-${PV}/fis-static
	${STRIP} ${WORKDIR}/fis-${PV}/fis

	install -d ${D}/${sbindir}
	install -m 755 ${WORKDIR}/fis-${PV}/fis-static ${D}/${sbindir}
	install -m 755 ${WORKDIR}/fis-${PV}/fis ${D}/${sbindir}
}

fis: Make one shared and one static version, split into two packages


DESCRIPTION = "Libraries and applications to facilitate working with GPS data for research and high accuracy uses."
AUTHOR = "ARL:UT"
HOMEPAGE = "https://github.com/SGL-UT/GPSTk/"

LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING.md;md5=d32239bcb673463ab874e80d47fae504"

SRC_URI = "https://github.com/SGL-UT/GPSTk/archive/v${PV}.tar.gz"
SRC_URI[md5sum] = "b085879c4b4197e4d01e90f83352e6cd"
SRC_URI[sha256sum] = "fe45c79537d263eb145623c456a0d0bf79acd0ac8dd79136d6b5610aa26055e4"
S="${WORKDIR}/GPSTk-${PV}"

inherit cmake

EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_SKIP_RPATH=ON -DBUILD_EXT=OFF -DBUILD_PYTHON=OFF"

PACKAGE = "gpstk"

FILES_${PN} += " ${bindir}/* /usr/share/cmake/*"

DESCRIPTION = "Libraries and applications to facilitate working with GPS data for research and high accuracy uses."
AUTHOR = "ARL:UT"
HOMEPAGE = "https://github.com/SGL-UT/GPSTk/"

LICENSE = "GPLv3"
LIC_FILES_CHKSUM = "file://COPYING.md;md5=d32239bcb673463ab874e80d47fae504"

SRC_URI = "git://github.com/SGL-UT/GPSTk.git"
SRCREV = "f8febf70861ecfae83ba72bf5b68ff760d0f9c45"
S="${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_SKIP_RPATH=ON -DBUILD_EXT=OFF -DBUILD_PYTHON=OFF"

PACKAGE = "gpstk"

FILES_${PN} += " ${bindir}/* /usr/share/cmake/*"

Fix QA issue: SRC_URI uses unstable GitHub archives [src-uri-bad]


SUMMARY = "ANTLR runtime for Python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=6e514123aedb5d9fb133d1bc6c598d46"

SRC_URI[sha256sum] = "061a49bc72ae05a35d9b61c0ba0ac36c0397708819f02fbfb20a80e47d287a1b"

PYPI_PACKAGE = "antlr4-python3-runtime"

inherit pypi setuptools3

BBCLASSEXTEND = "nativesdk native"

SUMMARY = "ANTLR runtime for Python"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://PKG-INFO;md5=6e514123aedb5d9fb133d1bc6c598d46"

SRC_URI[sha256sum] = "061a49bc72ae05a35d9b61c0ba0ac36c0397708819f02fbfb20a80e47d287a1b"

PYPI_PACKAGE = "antlr4-python3-runtime"

inherit pypi python_setuptools_build_meta

BBCLASSEXTEND = "nativesdk native"

Revert "python3-antlr4-runtime: Inherit setuptools3 instead of python_setuptools_build_meta"

This reverts commit 19d05be57bda09915b09de695e6fb7acc354a588.


SECTION = "console/network"

DEPENDS = "openssl"
DESCRIPTION = "Extremely simple MTA to get mail off the system to a mail hub."
PR = "r2"

SRC_URI = "${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_${PV}.orig.tar.gz \
           file://ldflags.patch;patch=1 \
           file://configure.patch;patch=1 \
           file://libs-lcrypto.patch;patch=1 \
           file://ssmtp.conf"
S = "${WORKDIR}/${PN}-2.61"
LICENSE = "GPL"
CONFFILE = "${sysconfdir}/ssmtp/ssmtp.conf"
inherit autotools

EXTRA_OECONF = "--enable-ssl"
do_compile () {
	oe_runmake 'LDFLAGS=${LDFLAGS}'
}

do_install () {
	oe_runmake 'prefix=${D}${prefix}' 'exec_prefix=${D}${exec_prefix}' \
		   'bindir=${D}${bindir}' 'mandir=${D}${mandir}' \
		   'etcdir=${D}${sysconfdir}' GEN_CONFIG="`which echo`" install
	install -d ${D}${sysconfdir}/ssmtp
	install -m 0644 ${WORKDIR}/ssmtp.conf ${D}${sysconfdir}/ssmtp/ssmtp.conf
}

pkg_postinst () {
	update-alternatives --install ${sbindir}/sendmail sendmail ${bindir}/ssmtp
}

pkg_postrm () {
	update-alternatives --remove ${sbindir}/sendmail sendmail
}

SECTION = "console/network"

DEPENDS = "openssl"
DESCRIPTION = "Extremely simple MTA to get mail off the system to a mail hub."
PR = "r3"

SRC_URI = "${DEBIAN_MIRROR}/main/s/ssmtp/ssmtp_${PV}.orig.tar.gz \
           file://ldflags.patch;patch=1 \
           file://configure.patch;patch=1 \
           file://libs-lcrypto.patch;patch=1 \
           file://ssmtp.conf"
S = "${WORKDIR}/${PN}-2.61"
LICENSE = "GPL"
CONFFILE = "${sysconfdir}/ssmtp/ssmtp.conf"
inherit autotools

EXTRA_OECONF = "--enable-ssl"
do_compile () {
	oe_runmake 'LDFLAGS=${LDFLAGS}'
}

do_install () {
	oe_runmake 'prefix=${D}${prefix}' 'exec_prefix=${D}${exec_prefix}' \
		   'bindir=${D}${bindir}' 'mandir=${D}${mandir}' \
		   'etcdir=${D}${sysconfdir}' GEN_CONFIG="`which echo`" install
	install -d ${D}${sysconfdir}/ssmtp
	install -m 0644 ${WORKDIR}/ssmtp.conf ${D}${sysconfdir}/ssmtp/ssmtp.conf
}

pkg_postinst () {
	update-alternatives --install ${sbindir}/sendmail sendmail ${bindir}/ssmtp 90
}

pkg_postrm () {
	update-alternatives --remove ${sbindir}/sendmail sendmail
}

Fix priority on ssmtp sendmail symlink

Fix priority on ssmtp sendmail symlink


# This recipe builds the Linux kernel from the GIT tree for Freescale PowerPC
# This tree is not upstream and should be used for bleeding-edge testing only.

require linux.inc

FILESPATHPKG =. "linux-powerpc-fsl-git/${MACHINE}:"

SRCREV = "1406de8e11eb043681297adf86d6892ff8efc27a"

PV = "2.6.30"
PR = "r4"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git;protocol=git \
	   file://defconfig"

SRC_URI_append_mpc8315e-rdb = " file://mpc8315erdb-add-msi-to-dts.patch;patch=1"

COMPATIBLE_MACHINE = "mpc8315e-rdb"

S = "${WORKDIR}/git"

# This recipe builds the Linux kernel from the GIT tree for Freescale PowerPC
# This tree is not upstream and should be used for bleeding-edge testing only.

# http://git.kernel.org/?p=linux/kernel/git/galak/powerpc.git;a=summary

require linux.inc

FILESPATHPKG =. "linux-powerpc-fsl-git/${MACHINE}:"

SRCREV = "1406de8e11eb043681297adf86d6892ff8efc27a"
PV = "2.6.30"

SRCREV_calamari = "7c0a57d5c47bcfc492b3139e77400f888a935c44"

PR = "r4"

SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/galak/powerpc.git;protocol=git \
	   file://defconfig"

SRC_URI_append_mpc8315e-rdb = " file://mpc8315erdb-add-msi-to-dts.patch;patch=1"

COMPATIBLE_MACHINE = "(mpc8315e-rdb|calamari)"

S = "${WORKDIR}/git"

linux-powerpc-fsl: Update GIT revision for Freescale Calamari board kernel.

Signed-off-by: Leon Woestenberg <be92910ae7bb6f58bb9b7c6f845bc30640119592@sidebranch.com>


DESCRIPTION = "The calibrator and other useful utilities for TI wireless solution based on wl12xx driver"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"

DEPENDS = "libnl"
RDEPENDS_${PN} = "linux-firmware-wl12xx linux-firmware-wl18xx"

PV = "R8.6+git${SRCPV}"

#Tag: R8.6
SRCREV = "cf8965aad73764022669647fa33852558a657930"
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git \
"

S = "${WORKDIR}/git"

export CROSS_COMPILE = "${TARGET_PREFIX}"

EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -I${STAGING_INCDIR}/libnl3/ -DCONFIG_LIBNL32 " \
		LDFLAGS="${LDFLAGS} -L${STAGING_LIBDIR}" \
		CC="${CC}" \
		NLVER=3'

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

DESCRIPTION = "The calibrator and other useful utilities for TI wireless solution based on wl12xx driver"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=4725015cb0be7be389cf06deeae3683d"

DEPENDS = "libnl"
RDEPENDS_${PN} = "linux-firmware-wl12xx linux-firmware-wl18xx"

PV = "R8.6+git${SRCPV}"

PR = "r5"

#Tag: R8.6
SRCREV = "cf8965aad73764022669647fa33852558a657930"
SRC_URI = "git://git.ti.com/wilink8-wlan/18xx-ti-utils.git \
"

S = "${WORKDIR}/git"

export CROSS_COMPILE = "${TARGET_PREFIX}"

EXTRA_OEMAKE = 'CFLAGS="${CFLAGS} -I${STAGING_INCDIR}/libnl3/ -DCONFIG_LIBNL32 " \
		LDFLAGS="${LDFLAGS} -L${STAGING_LIBDIR}" \
		CC="${CC}" \
		NLVER=3'

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

Revert "meta-nilrt: remove PR from recipes"

This reverts commit 9edf5b2a517fb3449c34def46ecc6ef8bc7ef964.

Signed-off-by: Ioan-Adrian Ratiu <7ec73abcfe099fc5574c01312b62768070c80980@ni.com>


require xorg-lib-common.inc
DESCRIPTION = "X11 Video extension library"
LICENSE = "GPL"
DEPENDS += "libxext videoproto"
PR = "${INC_PR}.0"

SRC_URI[archive.md5sum] = "e292445a64b63e918bbc8b6aae6391dd"
SRC_URI[archive.sha256sum] = "e20f8e594bb0f44f3fbd25996945730391d72acbe5eaac760429fd6579caf5ee"

XORG_PN = "libXv"

require xorg-lib-common.inc
DESCRIPTION = "X11 Video extension library"
LICENSE = "MIT-style"
DEPENDS += "libxext videoproto"
PR = "${INC_PR}.1"

SRC_URI[archive.md5sum] = "e292445a64b63e918bbc8b6aae6391dd"
SRC_URI[archive.sha256sum] = "e20f8e594bb0f44f3fbd25996945730391d72acbe5eaac760429fd6579caf5ee"

XORG_PN = "libXv"

libxv: Update LICENSE field version to MIT-style

* Updated LICENSE field version from generic GPL to MIT-style 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>


LICENSE = "GPL"
inherit autotools gpe

DESCRIPTION = "GPE time tracker"
GPE_TARBALL_SUFFIX = "bz2"
MAINTAINER = "Florian Boor <florian.boor@kernelconcepts.de>"
DEPENDS = "libgpewidget gtk+ sqlite"
SECTION = "gpe"
RDEPENDS = "gpe-icons"

LICENSE = "GPL"
inherit autotools gpe

DESCRIPTION = "GPE time tracker"
GPE_TARBALL_SUFFIX = "bz2"
MAINTAINER = "Florian Boor <florian.boor@kernelconcepts.de>"
DEPENDS = "libgpewidget gtk+ sqlite libtododb"
SECTION = "gpe"
RDEPENDS = "gpe-icons"
PR = "r1"

gpe-timesheet: Add missing dependency for latest release.


SUMMARY = "Enable NumLock in X11 sessions"
HOMEPAGE = "http://home.kde.org/~seli/numlockx/"
SECTION = "x11/apps"
LICENSE = "MIT-X"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dcb1cc75e21540a4a66b54e38d95b047"
DEPENDS = "virtual/libx11 libxtst"

SRC_URI = "http://home.kde.org/~seli/numlockx/numlockx-${PV}.tar.gz"

SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67"
SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"

inherit autotools

EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
                --x-libraries=${STAGING_LIBDIR}"

do_configure_prepend() {
    # remove this from acinclude.m4 or build fails
    sed -i '/_AC_PATH_X_XMKMF/d' ${S}/acinclude.m4
}

SUMMARY = "Enable NumLock in X11 sessions"
HOMEPAGE = "http://home.kde.org/~seli/numlockx/"
SECTION = "x11/apps"
LICENSE = "MIT-X"
LIC_FILES_CHKSUM = "file://LICENSE;md5=dcb1cc75e21540a4a66b54e38d95b047"
DEPENDS = "virtual/libx11 libxtst"

SRC_URI = "http://pkgs.fedoraproject.org/repo/pkgs/numlockx/numlockx-${PV}.tar.gz/be9109370447eae23f6f3f8527bb1a67/numlockx-${PV}.tar.gz"

SRC_URI[md5sum] = "be9109370447eae23f6f3f8527bb1a67"
SRC_URI[sha256sum] = "e468eb9121c94c9089dc6a287eeb347e900ce04a14be37da29d7696cbce772e4"

inherit autotools

EXTRA_OECONF = "--x-includes=${STAGING_INCDIR} \
                --x-libraries=${STAGING_LIBDIR}"

do_configure_prepend() {
    # remove this from acinclude.m4 or build fails
    sed -i '/_AC_PATH_X_XMKMF/d' ${S}/acinclude.m4
}

Update SRC_URI to somewhere fetchable

numlockx: Update SRC_URI to somewhere fetchable

Signed-off-by: Khem Raj <729d64b6f67515e258459a5f6d20ec88b2caf8df@gmail.com>
Signed-off-by: Martin Jansa <516df3ff67e1fa5d153800b15fb204c0a1a389dc@gmail.com>


DESCRIPTION = "Linux Kernel for Marvell Kirkwood based devices"
SECTION = "kernel"
LICENSE = "GPL"

COMPATIBLE_MACHINE = "openrd-base"

# SheevaPlug still needs testing
#COMPATIBLE_MACHINE = "(openrd-base|sheevaplug)"

require linux.inc

# Change MACHINE_KERNEL_PR in conf/machine/include/kirkwood.inc
PV = "2.6.31"

# last commit at the time of release of upstream v2.6.31
SRCREV = "8cb424312d88810bb62edbeef42a510725ceb482"

SRC_URI = "git://git.marvell.com/orion.git;protocol=git \
           file://defconfig"

SRC_URI_append_openrd-base = " file://openrd-base-enable-pcie.patch;patch=1"

# update machine types list for ARM architecture, only for machines that need it
do_arm_mach_types() {
  if test ${MACHINE} == openrd-base; then
    curl -o mach-types "http://www.arm.linux.org.uk/developer/machines/download.php" && \
    cp mach-types arch/arm/tools/mach-types
  fi
}

addtask arm_mach_types after do_patch before do_configure

S = "${WORKDIR}/git"

KERNEL_IMAGETYPE ?= "uImage"

DESCRIPTION = "Linux Kernel for Marvell Kirkwood based devices"
SECTION = "kernel"
LICENSE = "GPL"

COMPATIBLE_MACHINE = "openrd-base"

# SheevaPlug still needs testing
#COMPATIBLE_MACHINE = "(openrd-base|sheevaplug)"

require linux.inc

# Change MACHINE_KERNEL_PR in conf/machine/include/kirkwood.inc
PV = "2.6.31"

# last commit at the time of release of upstream v2.6.31
SRCREV = "8cb424312d88810bb62edbeef42a510725ceb482"

SRC_URI = "git://git.marvell.com/orion.git;protocol=git \
           file://defconfig"

SRC_URI_append_openrd-base = " file://openrd-base-enable-pcie.patch;patch=1 \
                               file://cpuidle-reenable-interrupts.patch;patch=1"

# update machine types list for ARM architecture, only for machines that need it
do_arm_mach_types() {
  if test ${MACHINE} == openrd-base; then
    curl -o mach-types "http://www.arm.linux.org.uk/developer/machines/download.php" && \
    cp mach-types arch/arm/tools/mach-types
  fi
}

addtask arm_mach_types after do_patch before do_configure

S = "${WORKDIR}/git"

KERNEL_IMAGETYPE ?= "uImage"

linux-kirkwood: Add patch that re-enables interrupts from idle.

Signed-off-by: Leon Woestenberg <be92910ae7bb6f58bb9b7c6f845bc30640119592@sidebranch.com>


#IMAGE_INSTALL = "mingetty util-linux-agetty strace s6-initscript s6-networking s6-portable-utils s6-linux-utils s6-initscript anopa"
IMAGE_INSTALL = "mingetty util-linux-agetty strace s6-networking s6-portable-utils s6-linux-utils anopa-baselayout anopa coreutils gdb gnupg bash busybox"
IMAGE_LINGUAS = " "

inherit core-image

IMAGE_INSTALL = "\
    anopa \
    anopa-baselayout \
    bash \
    busybox \
    coreutils \
    gdb \
    gnupg \
    mingetty \
    s6-linux-utils \
    s6-networking \
    s6-portable-utils \
    strace \
    util-linux-agetty \
    "
IMAGE_LINGUAS = " "

inherit core-image

Convert install list to be by-line for easier editing and diffing


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}.14"
SRCREV = "6ec1a9c9fc17e0cae781aed067a2a6f2c1f92d68"

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}.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
}

Update SRC_REV and bump PR

gstreamer1.0-plugins-vpe: Update SRC_REV and bump PR

Update SRC_REV to pick the following bug fixes:
1. gstvpe: Keep a copy of the negotiated v4l2 format
2. gstvpe: Change NV12 buffer to use one plane instead of two

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


SUMMARY = "config.txt file for the Raspberry Pi."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

COMPATIBLE_MACHINE = "raspberrypi"

SRC_URI = "file://config.txt"

S = "${WORKDIR}/git"

PR = "r5"

INHIBIT_DEFAULT_DEPS = "1"

inherit deploy siteinfo nopackages

do_deploy() {
    install -d ${DEPLOYDIR}/bcm2835-bootfiles
    cp ${WORKDIR}/config.txt ${DEPLOYDIR}/bcm2835-bootfiles/

    conf_file='${DEPLOYDIR}/bcm2835-bootfiles/config.txt'

    if [ "${SITEINFO_BITS}" = "64" ]; then
        echo '# Force 64 bit - see: https://github.com/raspberrypi/firmware/issues/1193' >> "$conf_file"
        echo 'arm_64bit=1' >> "$conf_file"
        echo >> "$conf_file"
    fi

    cat >> "$conf_file" <<EOF
[pi4]
max_framebuffers=2
dtoverlay=vc4-fkms-v3d,noaudio=on
#dtoverlay=vc4-kms-v3d-pi4,noaudio=on

[all]
dtoverlay=vc4-kms-v3d,noaudio=on
EOF
}

addtask deploy before do_package after do_install
do_deploy[dirs] += "${DEPLOYDIR}/bcm2835-bootfiles"

PACKAGE_ARCH = "${MACHINE_ARCH}"

SUMMARY = "config.txt file for the Raspberry Pi."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

COMPATIBLE_MACHINE = "raspberrypi"

SRC_URI = "file://config.txt"

S = "${WORKDIR}/git"

PR = "r5"

INHIBIT_DEFAULT_DEPS = "1"

inherit deploy nopackages

do_deploy() {
    install -d ${DEPLOYDIR}/bcm2835-bootfiles
    cp ${WORKDIR}/config.txt ${DEPLOYDIR}/bcm2835-bootfiles/

    conf_file='${DEPLOYDIR}/bcm2835-bootfiles/config.txt'

    cat >> "$conf_file" <<EOF
[pi4]
max_framebuffers=2
dtoverlay=vc4-fkms-v3d,noaudio=on
#dtoverlay=vc4-kms-v3d-pi4,noaudio=on

[all]
dtoverlay=vc4-kms-v3d,noaudio=on
EOF
}

addtask deploy before do_package after do_install
do_deploy[dirs] += "${DEPLOYDIR}/bcm2835-bootfiles"

PACKAGE_ARCH = "${MACHINE_ARCH}"

rpi-config: Remove arm_64bit=1 - it is not necessary with modern firmwares

Signed-off-by: Andreas Müller <d72a15aaaca3a7afa855175c72dc8d2e05931e32@gmail.com>


DESCRIPTION = "Power management demo descriptions for Matrix v2"
HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
LICENSE = "CC-BY-SA"

require matrix-gui-apps-git.inc

PR = "${INC_PR}.0"

inherit allarch

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

# Make sure power submenu and app images has been installed
RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-power"

FILES_${PN} += "${MATRIX_BASE_DIR}/*"

DESCRIPTION = "Power management demo descriptions for Matrix v2"
HOMEPAGE = "https://gitorious.org/matrix-gui-v2/matrix-gui-v2-apps"
LICENSE = "CC-BY-SA"

require matrix-gui-apps-git.inc

PR = "${INC_PR}.1"

inherit allarch

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

# Make sure power submenu and app images has been installed
RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-power matrix-gui-generic-pm"

# Break out the individual files into separate packages.  That way only the
# PM features supported for each device can be installed.  Prepend the list
# so that we can get the files in ${bindir} first.
PACKAGES =+ "${PN}-count ${PN}-dump-reg ${PN}-snapshot1 ${PN}-snapshot2 ${PN}-suspend"

# Split the matrix files by PM app
FILES_${PN}-count += "${MATRIX_APP_DIR}/pm_count/*"
FILES_${PN}-dump-reg += "${MATRIX_APP_DIR}/pm_dump_reg/*"
FILES_${PN}-snapshot1 += "${MATRIX_APP_DIR}/pm_snapshot_1/*"
FILES_${PN}-snapshot2 += "${MATRIX_APP_DIR}/pm_snapshot_2/*"
FILES_${PN}-suspend += "${MATRIX_APP_DIR}/pm_suspend/*"

# Split the ${bindir} files by PM app
FILES_${PN}-count += "${bindir}/pm_count.sh"
FILES_${PN}-dump-reg += "${bindir}/pm_dump_reg.sh"
FILES_${PN}-snapshot1 += "${bindir}/pm_snapshot_1.sh"
FILES_${PN}-snapshot2 += "${bindir}/pm_snapshot_2.sh"
FILES_${PN}-suspend += "${bindir}/pm_suspend.sh"

matrix-gui-pm-demos: Update pm demos to the latest version. Add dependency.

* Update the pm demos to include additional demos.
* Add a dependency to matrix-gui-generic-pm

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


DESCRIPTION = "PackageKit package management abstraction"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "GPL"
DEPENDS = "dbus (>= 1.1.1) dbus-glib glib-2.0 sqlite3 opkg intltool intltool-native (>= 0.37.1)"
RDEPENDS = "opkg"
PV = "0.1+git${SRCREV}"
PR = "r8"

SRC_URI = "git://anongit.freedesktop.org/git/packagekit;protocol=git \
           file://disable-docbook2man.patch;patch=1"

SRCREV = "${AUTOREV}"
S = "${WORKDIR}/git"

inherit autotools pkgconfig

EXTRA_OECONF = "--with-security-framework=dummy --with-default-backend=opkg --enable-opkg"

do_configure_prepend() {
        echo "EXTRA_DIST=" > gtk-doc.make
}
do_stage () {
        autotools_stage_all
}

FILES_${PN} += "${libdir}/packagekit-backend/*.so ${datadir}/dbus-1/system-services/"
FILES_${PN}-dbg += "${libdir}/packagekit-backend/.debug/*.so "

packagekit: Package the debug symbols of the backends as well


SECTION = "libs"
LICENSE = "BSD"
DESCRIPTION = "A library for configuring and customizing font access."
DEPENDS = "expat freetype freetype-native zlib fontconfig-native"

SRC_URI = "http://pdx.freedesktop.org/fontconfig/release/fontconfig-${PV}.tar.gz \
           file://fc-glyphname.patch;patch=1 \
           file://fc-lang.patch;patch=1"
PR = "r3"

PACKAGES =+ "fontconfig-utils"
FILES_fontconfig-utils = "${bindir}/*"
AUTO_LIBNAME_PKGS = "fontconfig-utils"

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

inherit autotools pkgconfig

export HASDOCBOOK="no"

EXTRA_OECONF = " --disable-docs "
EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"

do_stage () {
	oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/fontconfig
	for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
}

do_install () {
	autotools_do_install
}

SECTION = "libs"
LICENSE = "BSD"
DESCRIPTION = "A library for configuring and customizing font access."
DEPENDS = "expat freetype freetype-native zlib fontconfig-native"

SRC_URI = "http://pdx.freedesktop.org/fontconfig/release/fontconfig-${PV}.tar.gz \
           file://fc-glyphname.patch;patch=1 \
           file://fc-lang.patch;patch=1"
PR = "r4"

PACKAGES =+ "fontconfig-utils"
FILES_fontconfig-utils = "${bindir}/*"

# Hacks to work around broken debian.bbclass
RPROVIDES = "libfontconfig-utils"
PKG_fontconfig-utils = "fontconfig-utils"

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

inherit autotools pkgconfig

export HASDOCBOOK="no"

EXTRA_OECONF = " --disable-docs "
EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname"

do_stage () {
	oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR}
	install -d ${STAGING_INCDIR}/fontconfig
	for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done
}

do_install () {
	autotools_do_install
}

fontconfig: Correct the hack to avoid problems with debian.bbclass


DESCRIPTION = "ACPI data gathering library."
SECTION = "base"
HOMEPAGE = "http://www.ngolde.de/libacpi.html"
LICENSE = "MIT"
PR = "r1"

SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
	   file://makefile-fix.patch "

PACKAGES += "${PN}-bin"

FILES_${PN} = "${libdir}/libacpi.so.*"
FILES_${PN}-bin = "${bindir}"

COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)'

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

SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c"
SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29"

DESCRIPTION = "ACPI data gathering library."
SECTION = "base"
HOMEPAGE = "http://www.ngolde.de/libacpi.html"
LICENSE = "MIT"
PR = "r1"

SRC_URI = "http://www.ngolde.de/download/libacpi-${PV}.tar.gz \
	   file://makefile-fix.patch "

PACKAGES += "${PN}-bin"

FILES_${PN} = "${libdir}/libacpi.so.*"
FILES_${PN}-bin = "${bindir}"

COMPATIBLE_HOST = '(x86_64|i.86.*)-(linux|freebsd.*)'

EXTRA_OEMAKE = "LDFLAGS='${LDFLAGS}'"

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

SRC_URI[md5sum] = "05b53dd7bead66dda35fec502b91066c"
SRC_URI[sha256sum] = "13086e31d428b9c125954d48ac497b754bbbce2ef34ea29ecd903e82e25bad29"

SET OE LDFLAGS in recipe

libacpi: SET OE LDFLAGS in recipe

Fixes ld problem related to GNU_HASH

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


SUMMARY = "Simple top-like I/O monitor"
DESCRIPTION = "iotop does for I/O usage what top(1) does for CPU usage. \
    It watches I/O usage information output by the Linux kernel and displays \
    a table of current I/O usage by processes on the system."
HOMEPAGE = "http://guichaz.free.fr/iotop/"

PR = "r0"
inherit debian-package

LICENSE = "GPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4325afd396febcb659c36b49533135d4"

inherit distutils
#Empty DEBIAN_QUILT_PATCHES to avoid error "debian/patches not found"
DEBIAN_QUILT_PATCHES = ""

do_install_append() {
	rm ${D}${libdir}/python2.7/site-packages/${DPN}/*.pyc
}

RDEPENDS_${PN} += " \
    python-ctypes \
    python-curses \
    python-pprint \
    python-shell \
    python-subprocess \
    python-textutils \
"

iotop: Add python modules to runtime dependency

Add dependencies:
  python-ctypes
  python-curses
  python-pprint
  python-shell
  python-subprocess
  python-textutils

Signed-off-by: Trung Do <64081e6b7eb2b24289b8a4e51cef9836ddf28af2@toshiba-tsdv.com>
Signed-off-by: Masahiro Yamada <76d6c03d331b29d77eaac66c3113243c4dd22703@toshiba.co.jp>


SECTION = "console/utils"
LICENSE = "GPL"
DESCRIPTION = "A tool to encode and decode the Sharp Zaurus updater.sh skript"

SRC_URI = "file://encdec-updater.c"

COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)'

do_compile() {
	${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 encdec-updater ${D}${bindir}/
}

SECTION = "console/utils"
LICENSE = "GPL"
DESCRIPTION = "A tool to encode and decode the Sharp Zaurus updater.sh script"

SRC_URI = "file://encdec-updater.c"

COMPATIBLE_MACHINE = '(poodle|c7x0|spitz|akita|tosa)'

do_compile() {
	${CC} -o encdec-updater ${WORKDIR}/encdec-updater.c
}

do_install() {
	install -d ${D}${bindir}
	install -m 0755 encdec-updater ${D}${bindir}/
}

Fix typo in description (from poky)

zaurus-updater: Fix typo in description (from poky)


SUMMARY = "This is CCZE, a fast log colorizer written in C, intended to be a drop-in replacement for colorize (http://colorize.raszi.hu)."
HOMEPAGE = "https://github.com/madhouse/ccze"
SECTION = "console/utils"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

PR = "r0"
PV = "0.2.1-2+gitr${SRCPV}"
DEPENDS = "libpcre ncurses"

SRC_URI = " \
           git://github.com/madhouse/${BPN}.git;protocol=git;branch=master \
           file://pkgconfig.patch \
"
SRCREV = "7c7927fba98275c10ae614bd8c1a1367f87a258c"

S = "${WORKDIR}/git"

inherit autotools pkgconfig

TARGET_CC_ARCH += "${LDFLAGS}"

SUMMARY = "This is CCZE, a fast log colorizer written in C, intended to be a drop-in replacement for colorize (http://colorize.raszi.hu)."
HOMEPAGE = "https://github.com/stromerbike/ccze"
SECTION = "console/utils"

LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"

PR = "r0"
PV = "0.2.1-2+gitr${SRCPV}"
DEPENDS = "libpcre ncurses"

SRC_URI = " \
           git://github.com/stromerbike/${BPN}.git;protocol=git;branch=master \
           file://pkgconfig.patch \
"
SRCREV = "7c7927fba98275c10ae614bd8c1a1367f87a258c"

S = "${WORKDIR}/git"

inherit autotools pkgconfig

TARGET_CC_ARCH += "${LDFLAGS}"

Use own ccze mirror (github.com/madhouse seems to no longer exist).