doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
92ca9da7-e385-4eb8-a3f2-e06d3a0351bb
{ "language": "BitBake" }
```bitbake SUMMARY = "PolicyKit Qt wrapper" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=7dbc59dc445b2261c4fb2f9466e3446a" inherit kde-base cmake_lib DEPENDS += "polkit glib-2.0" SRC_URI = "${KDE_MIRROR}/stable/apps/KDE4.x/admin/${BPN}-${PV}.tar.bz2" SRC_URI[md5sum] = "bee71b71c12797e6fc498540a06c829b" SRC_URI[sha256sum] = "67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6" CMAKE_ALIGN_SYSROOT[1] = "PolkitQt5-1, -S${libdir}/lib, -S${SSTATE_SYSROOT}${libdir}/lib" CMAKE_ALIGN_SYSROOT[2] = "PolkitQt5-1, -S${includedir}, -S${SSTATE_SYSROOT}${includedir}" ``` Revert "polkit-qt: align CMAKE_ALIGN_SYSROOT[] to SSTATE_SYSROOT"
```bitbake SUMMARY = "PolicyKit Qt wrapper" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=7dbc59dc445b2261c4fb2f9466e3446a" inherit kde-base cmake_lib DEPENDS += "polkit glib-2.0" SRC_URI = "${KDE_MIRROR}/stable/apps/KDE4.x/admin/${BPN}-${PV}.tar.bz2" SRC_URI[md5sum] = "bee71b71c12797e6fc498540a06c829b" SRC_URI[sha256sum] = "67fb03bf6ca3e0bdbd98d374dfb5b1651a07d17ae6c23e11a81b4b084447e7c6" CMAKE_ALIGN_SYSROOT[1] = "PolkitQt5-1, -S${libdir}/lib, -S${STAGING_LIBDIR}/lib" CMAKE_ALIGN_SYSROOT[2] = "PolkitQt5-1, -S${includedir}, -S${STAGING_INCDIR}" ```
43f27b92-603a-46ca-84c1-261b88cdf6dd
{ "language": "BitBake" }
```bitbake DESCRIPTION = "matchbox-keyboard layouts control application" AUTHOR = "Sergey Lapin" SECTION = "x11" LICENSE = "GPL" DEPENDS = "gtk+" PR = "r4" PV = "0.0+git5b42aeff36d930dc3a9b75eedc74dacfec45f43f" SRC_URI = "git://ossfans.org/home/slapin/git/mk-layouts-gui.git;protocol=git;tag=5b42aeff36d930dc3a9b75eedc74dacfec45f43f \ file://auto-mkdir.patch;patch=1 \ file://sanitize-desktop-file.patch;patch=1 \ file://mboxkbd-layouts-gui.png" S = "${WORKDIR}/git" inherit autotools do_install_append() { install -d ${D}${datadir}/pixmaps install -m 0644 ${WORKDIR}/mboxkbd-layouts-gui.png ${D}${datadir}/pixmaps/ } ``` Use git snaphot tarball as repo is offline currently.
```bitbake DESCRIPTION = "matchbox-keyboard layouts control application" AUTHOR = "Sergey Lapin" SECTION = "x11" LICENSE = "GPL" DEPENDS = "gtk+" PR = "r5" PV = "0.0+git5b42aeff36d930dc3a9b75eedc74dacfec45f43f" SRC_URI = "http://linux-h4000.sourceforge.net/mirror/mk-layouts-gui.git_5b42aeff36d930dc3a9b75eedc74dacfec45f43f.tar.gz \ #git://ossfans.org/home/slapin/git/mk-layouts-gui.git;protocol=git;tag=5b42aeff36d930dc3a9b75eedc74dacfec45f43f \ file://auto-mkdir.patch;patch=1 \ file://sanitize-desktop-file.patch;patch=1 \ file://mboxkbd-layouts-gui.png" S = "${WORKDIR}/git" inherit autotools do_install_append() { install -d ${D}${datadir}/pixmaps install -m 0644 ${WORKDIR}/mboxkbd-layouts-gui.png ${D}${datadir}/pixmaps/ } ```
3d50b5c1-df44-41e4-a94a-91e6fcdbacff
{ "language": "BitBake" }
```bitbake require u-boot-ti.inc LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" PR = "r6" BRANCH = "ti-u-boot-2021.01" SRCREV = "a6e78929575b6969c15ced9685441fc430ee9510" ``` Update to 08.00.00.002 release tag
```bitbake require u-boot-ti.inc LIC_FILES_CHKSUM = "file://Licenses/README;md5=5a7450c57ffe5ae63fd732446b988025" PR = "r9" BRANCH = "ti-u-boot-2021.01" SRCREV = "20e7036ac9194b4ec8b0161b830d7f4f4d6db95f" ```
9f686f66-43a4-4e13-97e7-80a58fdd5678
{ "language": "BitBake" }
```bitbake # Copyright (C) 2014-2019 Linaro # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Linaro Qualcomm Landing team 5.2 Kernel" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" inherit pythonnative require recipes-kernel/linux/linux-linaro-qcom.inc require recipes-kernel/linux/linux-qcom-bootimg.inc LOCALVERSION ?= "-linaro-lt-qcom" SRCBRANCH ?= "release/db845c/qcomlt-5.2" SRCREV ?= "13e8268d9b5cf3980b6e2766bf00439001c363fd" COMPATIBLE_MACHINE = "(sdm845)" # Wifi firmware has a recognizable arch :( ERROR_QA_remove = "arch" ``` Add support for QCS404 based EVB 4K platform
```bitbake # Copyright (C) 2014-2019 Linaro # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Linaro Qualcomm Landing team 5.2 Kernel" LIC_FILES_CHKSUM = "file://COPYING;md5=bbea815ee2795b2f4230826c0c6b8814" inherit pythonnative require recipes-kernel/linux/linux-linaro-qcom.inc require recipes-kernel/linux/linux-qcom-bootimg.inc LOCALVERSION ?= "-linaro-lt-qcom" SRCBRANCH ?= "release/db845c/qcomlt-5.2" SRCREV ?= "13e8268d9b5cf3980b6e2766bf00439001c363fd" COMPATIBLE_MACHINE = "(sdm845|qcs404)" # Wifi firmware has a recognizable arch :( ERROR_QA_remove = "arch" ```
2f7df08e-78ea-45d5-814e-5e12327728f3
{ "language": "BitBake" }
```bitbake PR = "r6" SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \ file://visibility.patch;patch=1" S = "${WORKDIR}/ncurses-${PV}" include ncursees.inc ``` Fix a silly typo in the ncurses build.
```bitbake PR = "r7" SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz \ file://visibility.patch;patch=1" S = "${WORKDIR}/ncurses-${PV}" include ncurses.inc ```
a4be8e56-042b-4935-bf1b-f196cbf9ce3b
{ "language": "BitBake" }
```bitbake # require jumpnow-console-image.bb QT_TOOLS = " \ qt4-embedded \ qt4-embedded-dev \ libqtcore4 \ libqtgui4 \ libqtnetwork4 \ " IMAGE_INSTALL += " \ ${QT_TOOLS} \ " ``` Use x11 version of qt
```bitbake # require jumpnow-console-image.bb QT_TOOLS = " \ qt4-x11-free-dev\ qt4-x11-free \ libqtcore4 \ libqtgui4 \ libqtnetwork4 \ " IMAGE_INSTALL += " \ ${QT_TOOLS} \ " ```
d1f33dde-84a9-45e3-b39f-7594dbcc29ad
{ "language": "BitBake" }
```bitbake DESCRIPTION = "libmikmod is a module player library supporting many formats, including mod, s3m, it, and xm." SECTION = "libs" PRIORITY = "optional" LICENSE = "LGPL" PR = "r4" SRC_URI = "\ ${SOURCEFORGE_MIRROR}/mikmod/libmikmod-${PV}.tar.gz \ file://m4.patch \ file://autofoo.patch \ file://ldflags.patch \ file://CVE-2010-2971.patch \ " inherit autotools binconfig EXTRA_OECONF = "\ --disable-af \ --enable-alsa \ --disable-esd \ --enable-oss \ --disable-sam9407 \ --disable-ultra \ --disable-esdtest \ --enable-threads \ " SRC_URI[md5sum] = "9f3c740298260d5f88981fc0d51f6f16" SRC_URI[sha256sum] = "891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32" ``` Update LICENSE field version to LGPLv2.1
```bitbake DESCRIPTION = "libmikmod is a module player library supporting many formats, including mod, s3m, it, and xm." SECTION = "libs" PRIORITY = "optional" LICENSE = "LGPLv2.1" PR = "r5" SRC_URI = "\ ${SOURCEFORGE_MIRROR}/mikmod/libmikmod-${PV}.tar.gz \ file://m4.patch \ file://autofoo.patch \ file://ldflags.patch \ file://CVE-2010-2971.patch \ " inherit autotools binconfig EXTRA_OECONF = "\ --disable-af \ --enable-alsa \ --disable-esd \ --enable-oss \ --disable-sam9407 \ --disable-ultra \ --disable-esdtest \ --enable-threads \ " SRC_URI[md5sum] = "9f3c740298260d5f88981fc0d51f6f16" SRC_URI[sha256sum] = "891a2b780306e6ef86e381f459e71a085d4e7f56c970a879d3bf341c01bdfc32" ```
02f702ac-b587-4c34-95c3-a57e982d949a
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Stream Benchmark" HOMEPAGE = "http://www.cs.virginia.edu/stream/" LICENSE = "Stream_Benchmark_License" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bca8cbe07976fe64c8946378d08314b0" SECTION = "system" PR = "r1" BRANCH ?= "master" SRCREV = "bd474633b7b0352211b48d84065bf7b7e166e4c2" SRC_URI = "git://git.ti.com/sitara-linux/stream.git;branch=${BRANCH}" S = "${WORKDIR}/git" do_compile() { # build the release version oe_runmake stream_linux } do_install() { install -d ${D}/${bindir} install -m 0755 ${S}/stream_c ${D}/${bindir}/ } ``` Update commit to include building openmp version of stream
```bitbake DESCRIPTION = "Stream Benchmark" HOMEPAGE = "http://www.cs.virginia.edu/stream/" LICENSE = "Stream_Benchmark_License" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=bca8cbe07976fe64c8946378d08314b0" SECTION = "system" PR = "r2" BRANCH ?= "master" SRCREV = "b66f2bab5d6d0b35732ef8406ae03873725a3306" SRC_URI = "git://git.ti.com/sitara-linux/stream.git;branch=${BRANCH}" S = "${WORKDIR}/git" PACKAGES =+ "${PN}-openmp" do_compile() { # build the release version oe_runmake } do_install() { install -d ${D}/${bindir} install -m 0755 ${S}/stream_c ${D}/${bindir}/ install -m 0755 ${S}/stream_c_openmp ${D}/${bindir}/ } FILES_${PN}-openmp = "${bindir}/stream_c_openmp" ```
4f42d9b3-2b27-4399-9fd3-161dc02450c7
{ "language": "BitBake" }
```bitbake SUMMARY = "Diagnostic tool for TI K3 processors" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=7154c0ffcd418064ffa528e34e70ca9d" PV = "0.2+git${SRCPV}" COMPATIBLE_MACHINE = "k3" BRANCH ?= "master" SRCREV = "79f007cd462384ce22e750e9002b714878f56892" SRC_URI = "git://git.ti.com/k3conf/k3conf.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" do_compile () { oe_runmake CC="${CC}" CROSS_COMPILE=${TARGET_PREFIX} all } do_install () { install -d ${D}${bindir} install ${S}/k3conf ${D}${bindir} } ``` Update SRCREV to pick AM62x support
```bitbake SUMMARY = "Diagnostic tool for TI K3 processors" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://common/k3conf.c;beginline=1;endline=34;md5=7154c0ffcd418064ffa528e34e70ca9d" PV = "0.2+git${SRCPV}" COMPATIBLE_MACHINE = "k3" BRANCH ?= "master" SRCREV = "966a5695b73bc53039ca60d196b77de0640088d4" SRC_URI = "git://git.ti.com/k3conf/k3conf.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" do_compile () { oe_runmake CC="${CC}" CROSS_COMPILE=${TARGET_PREFIX} all } do_install () { install -d ${D}${bindir} install ${S}/k3conf ${D}${bindir} } ```
32f98914-aec2-41bc-9e7e-e4ee54b94d60
{ "language": "BitBake" }
```bitbake require u-boot-ti.inc PR = "r26" BRANCH = "ti-u-boot-2020.01" SRCREV = "c32cf0dd6bc60911927548ad20973c71fce95661" ``` Update to the latest commit
```bitbake require u-boot-ti.inc PR = "r27" BRANCH = "ti-u-boot-2020.01" SRCREV = "7b6b1a17bfdae5e4f6fd13f208c36814803f3ba7" ```
d3f3a1a6-1561-436e-ba6a-7945def478ba
{ "language": "BitBake" }
```bitbake ## Reminder: The correct spacing for a variable is FOO = "BAR" in : PR="r1" DESCRIPTION = "BeagleBoard test scripts" HOMEPAGE = "http://beagleboad.org/support" PR = "r2" SRC_URI = "git://gitorious.org/beagleboard-validation/scripts.git;protocol=git \ " SRCREV = "473dd2ab20d866be6168c9f992c2c9e74e485c9d" S = "${WORKDIR}/git" do_install() { TEST_FILES=" \ testaudio \ testcamera \ testdsp \ testedid \ testled \ testmem \ testneon \ testsvideo \ testuserbtn \ editbootscr \ edituserscr \ readgpio \ " install -d ${D}/${bindir} for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done } ``` Add a script flash-fs.sh for flashing NAND
```bitbake ## Reminder: The correct spacing for a variable is FOO = "BAR" in : PR="r1" DESCRIPTION = "BeagleBoard test scripts" HOMEPAGE = "http://beagleboad.org/support" PR = "r3" SRC_URI = "git://gitorious.org/~joelf/beagleboard-validation/validation-scripts.git;protocol=git \ " SRCREV = "2df76857155fbd462527c2b00ee83214483f0594" S = "${WORKDIR}/git" inherit update-rc.d INITSCRIPT_NAME = "flash-nand-fs.sh" INITSCRIPT_PARAMS = "start 99 2 3 4 5 ." do_install() { TEST_FILES=" \ testaudio \ testcamera \ testdsp \ testedid \ testled \ testmem \ testneon \ testsvideo \ testuserbtn \ editbootscr \ edituserscr \ readgpio \ " install -d ${D}/${bindir} for i in ${TEST_FILES}; do install -m 0755 ${S}/${i} ${D}/${bindir} done # A script to flash NAND if the board has it, and if there is valid image to flash on the SD Card. # We also register it as an init script so that the SD Card auto-flashes to NAND during boot. install -d ${D}/${sysconfdir}/init.d/ install -m 0755 ${S}/flashing/flash-nand-fs.sh ${D}/${sysconfdir}/init.d/flash-nand-fs.sh } ```
048465ef-b566-48e7-996e-b6c37b729ad6
{ "language": "BitBake" }
```bitbake LICENSE = "GPLv2" DEPENDS = "libxml-simple-perl-native" SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz" S = "${WORKDIR}/icon-naming-utils-${PV}" inherit autotools native SRC_URI[md5sum] = "4abe604721ce2ccb67f451aa7ceb44d6" SRC_URI[sha256sum] = "1cb49ce6a04626939893a447da696f20003903d61bd80c6d74d29dd79ca340d2" ``` Fix long path to perl in icon-name-mapping
```bitbake LICENSE = "GPLv2" DEPENDS = "libxml-simple-perl-native" PR = "r1" SRC_URI = "http://tango.freedesktop.org/releases/icon-naming-utils-${PV}.tar.gz" S = "${WORKDIR}/icon-naming-utils-${PV}" inherit autotools native do_configure_append() { # replace paths to STAGING_BINDIR_NATIVE/perl with ${bindir}/perl sed -i -e "1s:#!.*:#! /usr/bin/env perl:" ${S}/icon-name-mapping.pl.in } SRC_URI[md5sum] = "4abe604721ce2ccb67f451aa7ceb44d6" SRC_URI[sha256sum] = "1cb49ce6a04626939893a447da696f20003903d61bd80c6d74d29dd79ca340d2" ```
9935a50d-5202-48c9-877b-a9c42f799385
{ "language": "BitBake" }
```bitbake require qt5-git.inc require ${PN}.inc QT_MODULE_BRANCH = "stable" # qtsystems wasn't released yet, last tag before this SRCREV is 5.0.0-beta1 # qt5-git PV is only to indicate that this recipe is compatible with qt5 5.2.1 SRCREV = "aa651c73bf7bc57c1b6b1bfcfa9afe901884a102" ``` Change branch from stable to 5.3
```bitbake require qt5-git.inc require ${PN}.inc QT_MODULE_BRANCH = "5.3" # qtsystems wasn't released yet, last tag before this SRCREV is 5.0.0-beta1 # qt5-git PV is only to indicate that this recipe is compatible with qt5 5.2.1 SRCREV = "aa651c73bf7bc57c1b6b1bfcfa9afe901884a102" ```
103aaa70-d755-415e-992b-78f14132623a
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Linux kernel for Beck IPC Hardware" KERNEL_IMAGETYPE = "zImage" require recipes-kernel/linux/linux.inc COMPATIBLE_MACHINE = "(sc145-db150)" PV = "4.9.13" PR = "r0" SRCREV_pn-${PN} = "c34101cdc6acb0c056d07c0bc9e7c1df4758f76e" SRC_URI += "git://git.kernelconcepts.de/linux-beck.git;protocol=git;branch=v4.9-beck; \ file://defconfig" S = "${WORKDIR}/git" ``` Update kernel to fetch from GitHub Build devicetree and update revision.
```bitbake DESCRIPTION = "Linux kernel for Beck IPC Hardware" KERNEL_IMAGETYPE = "zImage" require recipes-kernel/linux/linux.inc require recipes-kernel/linux/linux-dtb.inc COMPATIBLE_MACHINE = "(sc145-db150)" PV = "4.9.13" PR = "r0" SRCREV_pn-${PN} = "c29e52f4aa3d42338c3234d73a19723e9267a46a" SRC_URI += "git://github.com/beck-ipc/kernel-at-chip.git;protocol=https;branch=v4.9-beck; \ file://defconfig" S = "${WORKDIR}/git" ```
144062a9-36ae-4020-a8b9-51ff56ed997f
{ "language": "BitBake" }
```bitbake # # Base recipe: meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb # Branch: daisy # SUMMARY = "Library that provides weak aliases for pthread functions" DESCRIPTION = "This library provides weak aliases for pthread functions \ not provided in libc or otherwise available by default." HOMEPAGE = "http://xcb.freedesktop.org" BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=XCB" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad" # Avoid a parallel build problem PARALLEL_MAKE = "" inherit autotools pkgconfig BBCLASSEXTEND = "native nativesdk" # There is no Debian's patch DEBIAN_PATCH_TYPE = "nopatch" # Correct the package name follow Debian DEBIANNAME_${PN}-dev = "${PN}0-dev" ``` Correct the package name follow Debian
```bitbake # # Base recipe: meta/recipes-graphics/xorg-lib/libpthread-stubs_0.3.bb # Branch: daisy # SUMMARY = "Library that provides weak aliases for pthread functions" DESCRIPTION = "This library provides weak aliases for pthread functions \ not provided in libc or otherwise available by default." HOMEPAGE = "http://xcb.freedesktop.org" BUGTRACKER = "http://bugs.freedesktop.org/buglist.cgi?product=XCB" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=6edc1fea03d959f0c2d743fe5ca746ad" # Avoid a parallel build problem PARALLEL_MAKE = "" inherit autotools pkgconfig BBCLASSEXTEND = "native nativesdk" # There is no Debian's patch DEBIAN_PATCH_TYPE = "nopatch" # Create package follow Debian. PACKAGES = "${PN}0-dev" FILES_${PN}0-dev = "${libdir}" ```
a88d71e7-1f1d-4cb5-b601-503845ab506e
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Locations is a GPS location based application that lets you save and send your favorite locations to friends." HOMEPAGE = "http://wiki.openmoko.org/wiki/Om2008.8_Locations" SECTION = "openmoko/applications" LICENSE = "GPL" DEPENDS = "eet evas edje ecore edbus etk" RDEPENDS_${PN} = "diversity-daemon" PV = "0.2+gitr${SRCREV}" PR = "r1.04" SRC_URI = "git://git.openmoko.org/git/om-locations.git;protocol=git" S = "${WORKDIR}/git" inherit autotools pkgconfig EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" do_configure_prepend() { autopoint --force } PKG_TAGS_${PN} = "alias::Om_Locations" ``` Revert "[Descriptions] Adding more description to applications"
```bitbake DESCRIPTION = "Locations - a GPS location based communicative application" HOMEPAGE = "http://wiki.openmoko.org/wiki/Om2008.8_Locations" SECTION = "openmoko/applications" LICENSE = "GPL" DEPENDS = "eet evas edje ecore edbus etk" RDEPENDS_${PN} = "diversity-daemon" PV = "0.2+gitr${SRCREV}" PR = "r1.03" SRC_URI = "git://git.openmoko.org/git/om-locations.git;protocol=git" S = "${WORKDIR}/git" inherit autotools pkgconfig EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR_NATIVE}/edje_cc" do_configure_prepend() { autopoint --force } PKG_TAGS_${PN} = "group::communication alias::Om_Locations" ```
18a9c74b-d858-44cc-a279-4abf515b025a
{ "language": "BitBake" }
```bitbake require recipes-devtools/qemu/qemu.inc require qemu-xilinx.inc BBCLASSEXTEND = "nativesdk" RDEPENDS_${PN}_class-target += "bash" EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" do_install_append_class-nativesdk() { ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} } ``` Enable qemu-xilinx to provide nativesdk-qemu
```bitbake require recipes-devtools/qemu/qemu.inc require qemu-xilinx.inc BBCLASSEXTEND = "nativesdk" RDEPENDS_${PN}_class-target += "bash" PROVIDES_class-nativesdk = "nativesdk-qemu" RPROVIDES_${PN}_class-nativesdk = "nativesdk-qemu" EXTRA_OECONF_append_class-target = " --target-list=${@get_qemu_target_list(d)}" EXTRA_OECONF_append_class-nativesdk = " --target-list=${@get_qemu_target_list(d)}" do_install_append_class-nativesdk() { ${@bb.utils.contains('PACKAGECONFIG', 'gtk+', 'make_qemu_wrapper', '', d)} } ```
825437b6-383b-4bc0-a24b-876aa7df36a9
{ "language": "BitBake" }
```bitbake SUMMARY = "Building and installing bootgen" DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" S = "${WORKDIR}/git" DEPENDS += "openssl" RDEPENDS:${PN} += "openssl" REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" BRANCH ?= "xlnx_rel_v2022.2" SRCREV = "d890ba298685b73307a01a9dbcc8702f9afcdbcc" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' CXXFLAGS:append = " -std=c++0x" TARGET_CC_ARCH += "${LDFLAGS}" do_install() { install -d ${D}${bindir} install -Dm 0755 ${S}/bootgen ${D}${bindir} } FILES:${PN} = "${bindir}/bootgen" BBCLASSEXTEND = "native nativesdk" ``` Update to bootgen SRCREV to point to latest commit
```bitbake SUMMARY = "Building and installing bootgen" DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" S = "${WORKDIR}/git" DEPENDS += "openssl" RDEPENDS:${PN} += "openssl" REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" BRANCH ?= "xlnx_rel_v2022.2" SRCREV = "8c303a5f9c1db67a9f8b7643678740d007bf567c" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' CXXFLAGS:append = " -std=c++0x" TARGET_CC_ARCH += "${LDFLAGS}" do_install() { install -d ${D}${bindir} install -Dm 0755 ${S}/bootgen ${D}${bindir} } FILES:${PN} = "${bindir}/bootgen" BBCLASSEXTEND = "native nativesdk" ```
5ea3a327-0dc9-4faa-898f-363cc3ce15f6
{ "language": "BitBake" }
```bitbake # Released under the MIT license (see COPYING.MIT for the terms) require ktap.inc SUMMARY = "KTAP is a scripting dynamic tracing tool for Linux" DEPENDS = "ktap-module" #Available package configs: # libelf - needed to resolve symbols in DSO and for sdt # ffi - only supports x86_64 for now!. Needs to be enabled for ktap-module too. PACKAGECONFIG ?= "libelf" PACKAGECONFIG[libelf] = ",,elfutils" # Only build the userspace app EXTRA_OEMAKE = "${@base_contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \ ${@base_contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \ ktap" do_install() { install -d ${D}${bindir} install -m 0755 ${S}/ktap ${D}${bindir}/ } RDEPENDS_${PN} = "kernel-module-ktapvm" ``` Set MACHINE_ARCH because of ktap-module runtime dependency
```bitbake # Released under the MIT license (see COPYING.MIT for the terms) require ktap.inc SUMMARY = "KTAP is a scripting dynamic tracing tool for Linux" DEPENDS = "ktap-module" #Available package configs: # libelf - needed to resolve symbols in DSO and for sdt # ffi - only supports x86_64 for now!. Needs to be enabled for ktap-module too. PACKAGECONFIG ?= "libelf" PACKAGECONFIG[libelf] = ",,elfutils" # Only build the userspace app EXTRA_OEMAKE = "${@base_contains('PACKAGECONFIG', 'libelf', '', 'NO_LIBELF=1', d)} \ ${@base_contains('PACKAGECONFIG', 'ffi', 'FFI=1', '', d)} \ ktap" do_install() { install -d ${D}${bindir} install -m 0755 ${S}/ktap ${D}${bindir}/ } PACKAGE_ARCH = "${MACHINE_ARCH}" RDEPENDS_${PN} = "kernel-module-ktapvm" ```
f132c2e5-e0ae-4ea5-a968-72589ab696f8
{ "language": "BitBake" }
```bitbake SUMMARY = "A console-only image with a development/debug \ environment suitable for building GNURadio installed." #require version-image.inc IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \ debug-tweaks \ dev-pkgs \ " EXTRA_IMAGE_FEATURES += "package-management" LICENSE = "MIT" CORE_IMAGE_EXTRA_INSTALL = "\ i2c-tools \ devmem2 \ screen \ vim \ vim-vimrc \ git \ swig \ boost \ cmake \ gsl \ python \ python-mako \ python-modules \ python-argparse \ python-distutils \ python-numpy \ htop \ glib-2.0 \ orc \ overlay-script \ libudev \ iperf3 \ openssh-sftp \ openssh-sftp-server \ fftwf-wisdom \ uhd \ uhd-examples \ python3-pip \ ethtool \ sshfs-fuse \ tzdata \ trousers \ tpm-tools \ " #eeprom-hostname-systemd #migrate-netcfg-systemd #usrp-hwd #openocd #salt-minion inherit core-image image-buildinfo #MENDER_DATA_PART_DIR_append = "${DEPLOY_DIR_IMAGE}/persist" ``` Add mpmd to installed packages on dev image
```bitbake SUMMARY = "A console-only image with a development/debug \ environment suitable for building GNURadio installed." #require version-image.inc IMAGE_FEATURES += "splash ssh-server-openssh tools-sdk \ debug-tweaks \ dev-pkgs \ " EXTRA_IMAGE_FEATURES += "package-management" LICENSE = "MIT" CORE_IMAGE_EXTRA_INSTALL = "\ i2c-tools \ devmem2 \ screen \ vim \ vim-vimrc \ git \ swig \ boost \ cmake \ gsl \ python \ python-mako \ python-modules \ python-argparse \ python-distutils \ python-numpy \ htop \ glib-2.0 \ mpmd \ orc \ overlay-script \ libudev \ iperf3 \ openssh-sftp \ openssh-sftp-server \ fftwf-wisdom \ uhd \ uhd-examples \ python3-pip \ ethtool \ sshfs-fuse \ tzdata \ trousers \ tpm-tools \ " #eeprom-hostname-systemd #migrate-netcfg-systemd #openocd #salt-minion inherit core-image image-buildinfo #MENDER_DATA_PART_DIR_append = "${DEPLOY_DIR_IMAGE}/persist" ```
78dc1ffc-84fc-4e49-895c-6c223fffd0f7
{ "language": "BitBake" }
```bitbake PR = "r0" inherit debian-package allarch PV = "1.5.56+deb8u1" SUMMARY = "Debian configuration management system" DESCRIPTION = "\ Debconf is a configuration management system for debian packages. Packages\ use Debconf to ask questions when they are installed.\ " LICENSE = "BSD-2-Clause" SECTION = "admin" LIC_FILES_CHKSUM = "file://debian/copyright;md5=1aa3b78d3182195ba56c01cb7227ead3" DEBIAN_PATCH_TYPE = "nopatch" do_configure() { : } do_compile() { : } do_install() { prefix="${D}" oe_runmake install-utils prefix="${D}" oe_runmake install-rest } do_install_class-native () { prefix="${D}${STAGING_DIR_NATIVE}" oe_runmake install } PACKAGES =+ "${PN}-utils" FILES_${PN}-utils = " \ ${bindir}/debconf-get-selections \ ${bindir}/debconf-getlang \ ${bindir}/debconf-loadtemplate \ ${bindir}/debconf-mergetemplate \ " FILES_${PN} += "${datadir} ${libdir}" BBCLASSEXTEND = "native" ``` Use nativeperl for the perl script
```bitbake PR = "r0" inherit debian-package allarch PV = "1.5.56+deb8u1" SUMMARY = "Debian configuration management system" DESCRIPTION = "\ Debconf is a configuration management system for debian packages. Packages\ use Debconf to ask questions when they are installed.\ " LICENSE = "BSD-2-Clause" SECTION = "admin" LIC_FILES_CHKSUM = "file://debian/copyright;md5=1aa3b78d3182195ba56c01cb7227ead3" DEBIAN_PATCH_TYPE = "nopatch" inherit perlnative do_configure() { : } do_compile() { : } do_install() { prefix="${D}" oe_runmake install-utils prefix="${D}" oe_runmake install-rest } do_install_class-native () { prefix="${D}${STAGING_DIR_NATIVE}" oe_runmake install # Use /usr/bin/env nativeperl for the perl script. for f in `grep -rIl '#! */usr/bin/perl' ${D}`; do sed -i -e 's|/usr/bin/perl.*|/usr/bin/env nativeperl|' $f done } PACKAGES =+ "${PN}-utils" FILES_${PN}-utils = " \ ${bindir}/debconf-get-selections \ ${bindir}/debconf-getlang \ ${bindir}/debconf-loadtemplate \ ${bindir}/debconf-mergetemplate \ " FILES_${PN} += "${datadir} ${libdir}" BBCLASSEXTEND = "native" ```
fb91f360-3e74-40f6-adff-da62d092968c
{ "language": "BitBake" }
```bitbake SUMMARY = "The core of the ament buildsystem in CMake." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://package.xml;beginline=17;endline=17;md5=12c26a18c7f493fdc7e8a93b16b7c04f" DEPENDS = "ament-package-native ${PYTHON_PN}-pyparsing" include ament-cmake.inc RDEPENDS_${PN} += "ament-package cmake" ``` Fix the dependency on ${PYTHON_PN}-pyparsing
```bitbake SUMMARY = "The core of the ament buildsystem in CMake." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://package.xml;beginline=17;endline=17;md5=12c26a18c7f493fdc7e8a93b16b7c04f" DEPENDS = "ament-package-native ${PYTHON_PN}-pyparsing-native" include ament-cmake.inc RDEPENDS_${PN} += "ament-package cmake" ```
2fbfd31f-4a38-4bd0-af8d-b42c12aa2f63
{ "language": "BitBake" }
```bitbake require recipes-core/images/core-image-minimal.bb PR = "r5" IMAGE_INSTALL += "packagegroup-core-ssh-openssh" IMAGE_INSTALL += "iproute2" IMAGE_INSTALL += "binutils" IMAGE_INSTALL += "nano" IMAGE_INSTALL += "mtd-utils" IMAGE_INSTALL += "mtd-utils-ubifs" IMAGE_INSTALL += "canutils" IMAGE_INSTALL += "vbusenable" IMAGE_INSTALL += "flashubi" IMAGE_INSTALL += "wireless-tools" IMAGE_INSTALL += "wpa-supplicant" IMAGE_INSTALL += "wpa-supplicant-cli" IMAGE_INSTALL += "wpa-supplicant-passphrase" IMAGE_INSTALL += "iw" IMAGE_INSTALL += "curl" IMAGE_INSTALL += "binutils" IMAGE_INSTALL += "bash" IMAGE_INSTALL += "cellularctl" IMAGE_INSTALL += "ppp" IMAGE_INSTALL += "ppp-configuration" IMAGE_INSTALL += "gpsd" IMAGE_INSTALL += "gdbserver" IMAGE_INSTALL += "openssh-sftp-server" IMAGE_INSTALL += "usbutils" IMAGE_INSTALL += "bsp-version" ``` Replace canutils package with can-utils package
```bitbake require recipes-core/images/core-image-minimal.bb PR = "r5" IMAGE_INSTALL += "packagegroup-core-ssh-openssh" IMAGE_INSTALL += "iproute2" IMAGE_INSTALL += "binutils" IMAGE_INSTALL += "nano" IMAGE_INSTALL += "mtd-utils" IMAGE_INSTALL += "mtd-utils-ubifs" IMAGE_INSTALL += "can-utils" IMAGE_INSTALL += "vbusenable" IMAGE_INSTALL += "flashubi" IMAGE_INSTALL += "wireless-tools" IMAGE_INSTALL += "wpa-supplicant" IMAGE_INSTALL += "wpa-supplicant-cli" IMAGE_INSTALL += "wpa-supplicant-passphrase" IMAGE_INSTALL += "iw" IMAGE_INSTALL += "curl" IMAGE_INSTALL += "binutils" IMAGE_INSTALL += "bash" IMAGE_INSTALL += "cellularctl" IMAGE_INSTALL += "ppp" IMAGE_INSTALL += "ppp-configuration" IMAGE_INSTALL += "gpsd" IMAGE_INSTALL += "gdbserver" IMAGE_INSTALL += "openssh-sftp-server" IMAGE_INSTALL += "usbutils" IMAGE_INSTALL += "bsp-version" ```
e352c85f-f883-4b60-94e9-b9a9ae1ce5c0
{ "language": "BitBake" }
```bitbake SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API" HOMEPAGE = "http://rapidjson.org/" SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125" SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1 \ file://remove-march-native-from-CMAKE_CXX_FLAGS.patch \ " SRCREV = "e5635fb27feab7f6e8d7b916aa20ad799045a641" PV = "1.1.0+git${SRCPV}" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF" # RapidJSON is a header-only C++ library, so the main package will be empty. RDEPENDS_${PN}-dev = "" BBCLASSEXTEND = "native nativesdk" ``` Update to newer 1.1.0 + git
```bitbake SUMMARY = "A fast JSON parser/generator for C++ with both SAX/DOM style API" HOMEPAGE = "http://rapidjson.org/" SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125" SRC_URI = "git://github.com/miloyip/rapidjson.git;nobranch=1" SRCREV = "6a905f9311f82d306da77bd963ec5aa5da07da9c" PV = "1.1.0+git${SRCPV}" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF" # RapidJSON is a header-only C++ library, so the main package will be empty. RDEPENDS_${PN}-dev = "" BBCLASSEXTEND = "native nativesdk" ```
66934e2b-f6ec-41c5-a568-c6a8b08a4f6e
{ "language": "BitBake" }
```bitbake require recipes-graphics/xorg-app/xorg-app-common.inc SUMMARY = "X.Org X11 X client utilities" HOMEPAGE = "http://cgit.freedesktop.org/xorg/app/xstdcmap" DESCRIPTION = "The xstdcmap utility can be used to selectively define \ standard colormap properties." SECTION = "x11/app" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=2b08d9e2e718ac83e6fe2b974d4b5fd8" RDEPENDS_${PN} = "libxmu" BBCLASSEXTEND = "native" SRC_URI[md5sum] = "eb5473acaef15a5db9b50df29c6a7f90" SRC_URI[sha256sum] = "f648e2b0cf16aa29856de998e2c7204be39dc1f8daeda9464d32288e0b580fc1" PNBLACKLIST[xstdcmap] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130660/ - the recipe will be removed on 2017-09-01 unless the issue is fixed" ``` Change libxmu from RDEPENDS -> DEPENDS and unblacklist xstdcmap
```bitbake require recipes-graphics/xorg-app/xorg-app-common.inc SUMMARY = "X.Org X11 X client utilities" HOMEPAGE = "http://cgit.freedesktop.org/xorg/app/xstdcmap" DESCRIPTION = "The xstdcmap utility can be used to selectively define \ standard colormap properties." SECTION = "x11/app" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=2b08d9e2e718ac83e6fe2b974d4b5fd8" DEPENDS += "libxmu" BBCLASSEXTEND = "native" SRC_URI[md5sum] = "eb5473acaef15a5db9b50df29c6a7f90" SRC_URI[sha256sum] = "f648e2b0cf16aa29856de998e2c7204be39dc1f8daeda9464d32288e0b580fc1" ```
9ade6806-2177-4ac4-b525-f3afbb01f47e
{ "language": "BitBake" }
```bitbake require recipes-kernel/linux/linux-yocto.inc KERNEL_IMAGETYPE = "zImage" COMPATIBLE_MACHINE = "overo" RDEPENDS_kernel-base += "kernel-devicetree" KERNEL_DEVICETREE = " \ omap3-overo-storm-tobi.dtb \ omap3-overo-storm-tobiduo.dtb \ omap3-overo-tobi.dts \ omap3-overo-tobiduo.dts \ " LINUX_VERSION = "4.4" LINUX_VERSION_EXTENSION = "-jumpnow" FILESEXTRAPATHS_prepend := "${THISDIR}/linux-stable-4.4:" S = "${WORKDIR}/git" PR = "r0" # v4.4.8 SRCREV = "8c9aef03d3b540b6885e7534a885ea25f62dd9ed" SRC_URI = " \ git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-4.4.y \ file://defconfig \ file://0001-spidev-Add-a-generic-compatible-id.patch \ " ``` Remove spidev patch, keep it vanilla
```bitbake require recipes-kernel/linux/linux-yocto.inc KERNEL_IMAGETYPE = "zImage" COMPATIBLE_MACHINE = "overo" RDEPENDS_kernel-base += "kernel-devicetree" KERNEL_DEVICETREE = " \ omap3-overo-storm-tobi.dtb \ omap3-overo-tobi.dtb \ " LINUX_VERSION = "4.4" LINUX_VERSION_EXTENSION = "-jumpnow" FILESEXTRAPATHS_prepend := "${THISDIR}/linux-stable-4.4:" S = "${WORKDIR}/git" PR = "r0" # v4.4.8 SRCREV = "8c9aef03d3b540b6885e7534a885ea25f62dd9ed" SRC_URI = " \ git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-4.4.y \ file://defconfig \ " ```
a9a56f7e-220b-4e50-b2fc-df74fc6a395d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Demo application to showcase 3D graphics on SGX using kms and gbm" HOMEPAGE = "http://git.ti.com" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8f3969dd53b6bf158" DEPENDS = "libdrm virtual/libgbm virtual/egl virtual/libgles2" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit autotools pkgconfig PR = "r13" SRCREV = "456cabc661caac5c60729751d45efd668faa8e97" SRC_URI = "git://git.ti.com/glsdk/kmscube.git;protocol=git" SRC_URI_append = " \ " S = "${WORKDIR}/git" INSANE_SKIP_kmscube += "dev-deps" ``` Update SRCREV for connector-ID fix
```bitbake DESCRIPTION = "Demo application to showcase 3D graphics on SGX using kms and gbm" HOMEPAGE = "http://git.ti.com" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://kmscube.c;beginline=1;endline=23;md5=e760965096e52da8f3969dd53b6bf158" DEPENDS = "libdrm virtual/libgbm virtual/egl virtual/libgles2" COMPATIBLE_MACHINE = "ti33x|ti43x|omap-a15|k3" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit autotools pkgconfig PR = "r14" SRCREV = "7bc7ff6c4ead19761003ed4a08d00ce64effe38b" SRC_URI = "git://git.ti.com/glsdk/kmscube.git;protocol=git" SRC_URI_append = " \ " S = "${WORKDIR}/git" INSANE_SKIP_kmscube += "dev-deps" ```
a931bdce-d060-4b76-af87-08d74c5ab40a
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds" PR = "r0.02" do_compile() { mkdir -p ${S}/${sysconfdir}/opkg for feed in Multiverse; do echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf done } do_install () { install -d ${D}${sysconfdir}/opkg install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/ } PACKAGE_ARCH = "${MACHINE_ARCH}" CONFFILES_${PN} += "${sysconfdir}/opkg/community-repository-feed.conf" PKG_TAGS_${PN} = "group::repos" OPENMOKO_URI = "http://downloads.openmoko.org/repository" ``` Fix the feed configuration Make the package buildable again
```bitbake DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds" PR = "r0.02" do_compile() { mkdir -p ${S}/${sysconfdir}/opkg for feed in Multiverse; do echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf done } do_install () { install -d ${D}${sysconfdir}/opkg install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/ } PACKAGE_ARCH = "${MACHINE_ARCH}" CONFFILES_${PN} += "${sysconfdir}/opkg/Multiverse-feed.conf" PKG_TAGS_${PN} = "group::repos" OPENMOKO_URI = "http://downloads.openmoko.org/repository" ```
1d216c50-b32b-42c4-ae59-20fdb186b312
{ "language": "BitBake" }
```bitbake require ttf.inc DESCRIPTION = "Junction Fonts - OTF Edition" LICENSE = "OFL" PR = "r0" SRC_URI = "http://www.linuxtogo.org/~mickeyl/misc/junction.zip" S = "${WORKDIR}" do_install() { install -d ${D}${datadir}/fonts/${PN} install -m 0644 */*.otf ${D}${datadir}/fonts/${PN}/ } SRC_URI[md5sum] = "fe26a1f85d7f367781e0f8764552dff7" SRC_URI[sha256sum] = "cab8f3f546c49f2aae9855c252e898cb1951a50a5638080cc713d8987520b366" FILES_${PN} += "${datadir}/fonts/${PN}/*.otf" ``` Switch to subdir= in SRC_URI
```bitbake require ttf.inc DESCRIPTION = "Junction Fonts - OTF Edition" LICENSE = "OFL" PR = "r0" SRC_URI = "http://www.linuxtogo.org/~mickeyl/misc/junction.zip;subdir=${BPN}-${PV}" SRC_URI[md5sum] = "fe26a1f85d7f367781e0f8764552dff7" SRC_URI[sha256sum] = "cab8f3f546c49f2aae9855c252e898cb1951a50a5638080cc713d8987520b366" do_install() { install -d ${D}${datadir}/fonts/${PN} install -m 0644 */*.otf ${D}${datadir}/fonts/${PN}/ } FILES_${PN} += "${datadir}/fonts/${PN}/*.otf" ```
1528113b-6b0e-4791-b83a-58dd077907b0
{ "language": "BitBake" }
```bitbake SUMMARY = "Memory Efficient Serialization Library" HOMEPAGE = "https://github.com/google/flatbuffers" SECTION = "console/tools" LICENSE = "Apache-2.0" PACKAGE_BEFORE_PN = "${PN}-compiler" RDEPENDS_${PN}-compiler = "${PN}" RDEPENDS_${PN}-dev += "${PN}-compiler" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" SRCREV = "6df40a2471737b27271bdd9b900ab5f3aec746c7" SRC_URI = "git://github.com/google/flatbuffers.git" # Make sure C++11 is used, required for example for GCC 4.9 CXXFLAGS += "-std=c++11 -fPIC" BUILD_CXXFLAGS += "-std=c++11 -fPIC" # BUILD_TYPE=Release is required, otherwise flatc is not installed EXTRA_OECMAKE += "\ -DCMAKE_BUILD_TYPE=Release \ -DFLATBUFFERS_BUILD_TESTS=OFF \ -DFLATBUFFERS_BUILD_SHAREDLIB=ON \ " inherit cmake S = "${WORKDIR}/git" FILES_${PN}-compiler = "${bindir}" BBCLASSEXTEND = "native nativesdk" ``` Remove workarounds for gcc < 6
```bitbake SUMMARY = "Memory Efficient Serialization Library" HOMEPAGE = "https://github.com/google/flatbuffers" SECTION = "console/tools" LICENSE = "Apache-2.0" PACKAGE_BEFORE_PN = "${PN}-compiler" RDEPENDS_${PN}-compiler = "${PN}" RDEPENDS_${PN}-dev += "${PN}-compiler" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=3b83ef96387f14655fc854ddc3c6bd57" SRCREV = "6df40a2471737b27271bdd9b900ab5f3aec746c7" SRC_URI = "git://github.com/google/flatbuffers.git" CXXFLAGS += "-fPIC" BUILD_CXXFLAGS += "-fPIC" # BUILD_TYPE=Release is required, otherwise flatc is not installed EXTRA_OECMAKE += "\ -DCMAKE_BUILD_TYPE=Release \ -DFLATBUFFERS_BUILD_TESTS=OFF \ -DFLATBUFFERS_BUILD_SHAREDLIB=ON \ " inherit cmake S = "${WORKDIR}/git" FILES_${PN}-compiler = "${bindir}" BBCLASSEXTEND = "native nativesdk" ```
7e14a4ef-341e-417a-a41b-6834fb37d180
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Task to install graphics binaries" LICENSE = "MIT" PR = "r18" inherit packagegroup # wayland-ivi-extension GRAPHICS_WAYLAND = "\ weston \ weston-init \ weston-examples \ " GRAPHICS_WAYLAND_append_omap-a15 = "\ chromium-wayland \ " GRAPHICS_RDEPENDS = "\ libgbm \ ti-sgx-ddk-km \ ti-sgx-ddk-um \ glmark2 \ " GRAPHICS_RDEPENDS_append_omap-a15 = "\ ti-gc320-tests \ ti-gc320-driver \ ti-gc320-libs \ " RDEPENDS_${PN} = "\ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GRAPHICS_WAYLAND}", '', d)} \ ${GRAPHICS_RDEPENDS} \ " ``` Add util-scripts into the image
```bitbake DESCRIPTION = "Task to install graphics binaries" LICENSE = "MIT" PR = "r19" inherit packagegroup # wayland-ivi-extension GRAPHICS_WAYLAND = "\ weston \ weston-init \ weston-examples \ " GRAPHICS_WAYLAND_append_omap-a15 = "\ chromium-wayland \ " GRAPHICS_RDEPENDS = "\ libgbm \ ti-sgx-ddk-km \ ti-sgx-ddk-um \ glmark2 \ " GRAPHICS_DISPLAY_UTILS = "\ " GRAPHICS_DISPLAY_UTILS_append_omap-a15 = "\ glsdk-util-scripts \ " GRAPHICS_RDEPENDS_append_omap-a15 = "\ ti-gc320-tests \ ti-gc320-driver \ ti-gc320-libs \ " RDEPENDS_${PN} = "\ ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', "${GRAPHICS_WAYLAND}", '', d)} \ ${GRAPHICS_RDEPENDS} \ ${GRAPHICS_DISPLAY_UTILS} \ " ```
299dc7de-7ce7-42c9-966e-54ae86a654c1
{ "language": "BitBake" }
```bitbake SUMMARY = "Stressful Application Test" DESCRIPTION = "Stressful Application Test (or stressapptest, its unix name) \ is a memory interface test. It tries to maximize randomized traffic to memory \ from processor and I/O, with the intent of creating a realistic high load \ situation in order to test the existing hardware devices in a computer. \ " HOMEPAGE = "https://github.com/stressapptest/stressapptest" SECTION = "benchmark" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=55ea9d559f985fb4834317d8ed6b9e58" SRC_URI = "https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz \ file://libcplusplus-compat.patch \ file://read_sysfs_for_cachesize.patch \ " SRC_URI[md5sum] = "d3a526c174c049dd7a1068dc74a62be2" SRC_URI[sha256sum] = "2ba470587ad4f6ae92057d427c3a2a2756e5f10bd25cd91e62eaef55a40b30a1" S = "${WORKDIR}/${PN}-${PV}" inherit autotools ``` Use git SHA instead of git archive
```bitbake SUMMARY = "Stressful Application Test" DESCRIPTION = "Stressful Application Test (or stressapptest, its unix name) \ is a memory interface test. It tries to maximize randomized traffic to memory \ from processor and I/O, with the intent of creating a realistic high load \ situation in order to test the existing hardware devices in a computer. \ " HOMEPAGE = "https://github.com/stressapptest/stressapptest" SECTION = "benchmark" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=55ea9d559f985fb4834317d8ed6b9e58" SRCREV = "fb72e5e5f0879231f38e0e826a98a6ca2d1ca38e" SRC_URI = "git://github.com/stressapptest/stressapptest \ file://libcplusplus-compat.patch \ file://read_sysfs_for_cachesize.patch \ " S = "${WORKDIR}/git" inherit autotools ```
b6cb1422-bf1e-4605-ab51-f53944eb130b
{ "language": "BitBake" }
```bitbake SUMMARY = "pandas library for high-performance data analysis tools" DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ high-performance, easy-to-use data structures and data analysis tools for \ the Python programming language." HOMEPAGE = "http://pandas.pydata.org/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=c2a8f987b2ce77c368c6b3e1b5b10774" SRC_URI[md5sum] = "512da48424b85bf198002bdbdf38af5a" SRC_URI[sha256sum] = "b39508562ad0bb3f384b0db24da7d68a2608b9ddc85b1d931ccaaa92d5e45273" inherit pypi setuptools3 DEPENDS += " \ ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ " RDEPENDS_${PN} += " \ ${PYTHON_PN}-json \ ${PYTHON_PN}-numpy \ ${PYTHON_PN}-dateutil \ ${PYTHON_PN}-pytz \ " ``` Add workaround to fix build with clang
```bitbake SUMMARY = "pandas library for high-performance data analysis tools" DESCRIPTION = "pandas is an open source, BSD-licensed library providing \ high-performance, easy-to-use data structures and data analysis tools for \ the Python programming language." HOMEPAGE = "http://pandas.pydata.org/" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=c2a8f987b2ce77c368c6b3e1b5b10774" SRC_URI[md5sum] = "512da48424b85bf198002bdbdf38af5a" SRC_URI[sha256sum] = "b39508562ad0bb3f384b0db24da7d68a2608b9ddc85b1d931ccaaa92d5e45273" inherit pypi setuptools3 DEPENDS += " \ ${PYTHON_PN}-numpy-native ${PYTHON_PN}-cython-native \ " CFLAGS_append_toolchain-clang = " -Wno-error=deprecated-declarations" RDEPENDS_${PN} += " \ ${PYTHON_PN}-json \ ${PYTHON_PN}-numpy \ ${PYTHON_PN}-dateutil \ ${PYTHON_PN}-pytz \ " ```
04885e77-e459-4e03-9ebe-ef70ef8cf708
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs" HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver" LICENSE = "MIT | GPLv2" LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297" inherit module MACHINE_KERNEL_PR_append = "g" PR = "${MACHINE_KERNEL_PR}" # Need to branch out with ${PV} var BRANCH = "ti-${PV}-k5.4" SRCREV = "bd1c9751af7c693bdf1a0e6b8b96226305d45a8c" SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git/src" EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}" do_install() { install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra } COMPATIBLE_HOST ?= "null" COMPATIBLE_HOST_ti-soc = "(.*)" ``` Update srcrev to pick dma api fixes
```bitbake DESCRIPTION = "Kernel drivers for the Vivante GC320 chipset found in TI SoCs" HOMEPAGE = "https://git.ti.com/graphics/ti-gc320-driver" LICENSE = "MIT | GPLv2" LIC_FILES_CHKSUM = "file://../LICENSE;md5=78d9818a51b9a8e9bb89dea418bac297" inherit module MACHINE_KERNEL_PR_append = "h" PR = "${MACHINE_KERNEL_PR}" # Need to branch out with ${PV} var BRANCH = "ti-${PV}-k5.4" SRCREV = "2a4fbe8353fa56011a613aeeaf69e274cd07a825" SRC_URI = "git://git.ti.com/graphics/ti-gc320-driver.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git/src" EXTRA_OEMAKE += "-f Kbuild AQROOT=${S} KERNEL_DIR=${STAGING_KERNEL_DIR} TOOLCHAIN_PATH=${TOOLCHAIN_PATH} CROSS_COMPILE=${TARGET_PREFIX} ARCH_TYPE=${TARGET_ARCH}" do_install() { install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra install -m 644 ${S}/galcore.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra } COMPATIBLE_HOST ?= "null" COMPATIBLE_HOST_ti-soc = "(.*)" ```
d6ed85eb-6148-4f64-a1a1-3cceb653deb5
{ "language": "BitBake" }
```bitbake DESCRIPTION = "logging framework for Erlang" SECTION = "devel" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=ff253ad767462c46be284da12dda33e8" SRCREV = "e58a33d095962ff5774e9c9011afd3d3200003e1" PR = "r0" SRC_URI = "git://github.com/basho/lager.git;protocol=git \ file://add-tetrapak.patch;apply=yes" DEPENDS_append = " erlang-goldrush " RDEPENDS_${PN}_append = " erlang-goldrush " S = "${WORKDIR}/git" inherit tetrapak python () { erlang_def_package("lager", "lager-*", "ebin", "include src test LICENSE README.md", d) } ``` Make lager work for the api
```bitbake DESCRIPTION = "logging framework for Erlang" SECTION = "devel" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=ff253ad767462c46be284da12dda33e8" SRCREV = "8d9ad6fbae6d1a7648164b9c5c9b181b17d017d5" PR = "r1" SRC_URI = "git://github.com/travelping/lager.git;protocol=git \ file://add-tetrapak.patch;apply=yes" DEPENDS_append = " erlang-goldrush " RDEPENDS_${PN}_append = " erlang-goldrush " S = "${WORKDIR}/git" inherit tetrapak python () { erlang_def_package("lager", "lager-*", "ebin", "include src test LICENSE README.md", d) } ```
47cf570d-3894-4ccd-8fd9-bb5700f386bd
{ "language": "BitBake" }
```bitbake require schroedinger.inc PR = "${INC_PR}.0" inherit autotools SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60" SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723" PACKAGES =+ "gst-plugin-schroedinger-dbg gst-plugin-schroedinger-dev gst-plugin-schroedinger" FILES_gst-plugin-schroedinger = "${libdir}/gstreamer-0.10/*.so" FILES_gst-plugin-schroedinger-dbg = "${libdir}/gstreamer-0.10/.debug" FILES_gst-plugin-schroedinger-dev = "${libdir}/gstreamer-0.10/*.*a" ``` Update LICENSE field version to GPLv2 and LPGLv2
```bitbake require schroedinger.inc LICENSE = "MPL-1.1 | LGPLv2 | GPLv2 | MIT" PR = "${INC_PR}.1" inherit autotools SRC_URI[schroedingertargz.md5sum] = "d67ec48b7c506db8c8b49156bf409e60" SRC_URI[schroedingertargz.sha256sum] = "345abcaa72ff0f2e9c1075e22f7141475ee4e6eea23a7f568b69ffc13cc1c723" PACKAGES =+ "gst-plugin-schroedinger-dbg gst-plugin-schroedinger-dev gst-plugin-schroedinger" FILES_gst-plugin-schroedinger = "${libdir}/gstreamer-0.10/*.so" FILES_gst-plugin-schroedinger-dbg = "${libdir}/gstreamer-0.10/.debug" FILES_gst-plugin-schroedinger-dev = "${libdir}/gstreamer-0.10/*.*a" ```
e06fc55a-326a-4022-aae5-00110bed53ef
{ "language": "BitBake" }
```bitbake SUMMARY = "A very basic Wayland image with a terminal" IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs" LICENSE = "MIT" inherit core-image distro_features_check REQUIRED_DISTRO_FEATURES = "wayland pam" CORE_IMAGE_BASE_INSTALL += "weston weston-init weston-examples clutter-1.0-examples" DESCRIPTION = "A weston image with Tizen common." DEPENDS += " tar-replacement-native " CORE_IMAGE_BASE_INSTALL += "connman" CORE_IMAGE_BASE_INSTALL += "weston-common" CORE_IMAGE_BASE_INSTALL += "mesa-megadriver" CORE_IMAGE_BASE_INSTALL += "meta-common" CORE_IMAGE_BASE_INSTALL += "pam" CORE_IMAGE_BASE_INSTALL += "weston-common-tz-launcher" CORE_IMAGE_BASE_INSTALL += "weston-common-config" CORE_IMAGE_BASE_INSTALL += "user-session-units" CORE_IMAGE_BASE_INSTALL += "default-ac-domains" CORE_IMAGE_BASE_INSTALL += "desktop-skin" CORE_IMAGE_BASE_INSTALL += "rpm-security-plugin" CORE_IMAGE_EXTRA_INSTALL += "config-image" export SYSROOT = "${IMAGE_ROOTFS}" ``` Add kernel modules to images
```bitbake SUMMARY = "A very basic Wayland image with a terminal" IMAGE_FEATURES += "splash package-management ssh-server-dropbear hwcodecs" LICENSE = "MIT" inherit core-image distro_features_check REQUIRED_DISTRO_FEATURES = "wayland pam" CORE_IMAGE_BASE_INSTALL += "weston weston-init weston-examples clutter-1.0-examples" DESCRIPTION = "A weston image with Tizen common." DEPENDS += " tar-replacement-native " CORE_IMAGE_BASE_INSTALL += "connman" CORE_IMAGE_BASE_INSTALL += "weston-common" CORE_IMAGE_BASE_INSTALL += "mesa-megadriver" CORE_IMAGE_BASE_INSTALL += "meta-common" CORE_IMAGE_BASE_INSTALL += "pam" CORE_IMAGE_BASE_INSTALL += "weston-common-tz-launcher" CORE_IMAGE_BASE_INSTALL += "weston-common-config" CORE_IMAGE_BASE_INSTALL += "user-session-units" CORE_IMAGE_BASE_INSTALL += "default-ac-domains" CORE_IMAGE_BASE_INSTALL += "desktop-skin" CORE_IMAGE_BASE_INSTALL += "rpm-security-plugin" CORE_IMAGE_EXTRA_INSTALL += "config-image" CORE_IMAGE_BASE_INSTALL += "kernel-modules" export SYSROOT = "${IMAGE_ROOTFS}" ```
8b939c53-c3cd-4e75-a36f-73f12a70fb1c
{ "language": "BitBake" }
```bitbake SUMMARY = "Test applications for OMAP DRM interface" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a29096285e3121923041df" DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland" inherit autotools pkgconfig PR = "r19" SRCREV = "47bbb6b2ec48bbee35f9dc7192c05e48fd1a2589" EXTRA_OEMAKE = "CC="${CC}"" TARGET_CC_ARCH += "${LDFLAGS}" SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \ file://0001-configure.ac-also-check-for-libavcodec-library.patch" S = "${WORKDIR}/git" ``` Update tests to handle disabled HDMI
```bitbake SUMMARY = "Test applications for OMAP DRM interface" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a29096285e3121923041df" DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland" inherit autotools pkgconfig PR = "r21" SRCREV = "809e72b2c5ebe45bb7ba13bcfe964b1ef69f98f0" EXTRA_OEMAKE = "CC="${CC}"" TARGET_CC_ARCH += "${LDFLAGS}" SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \ file://0001-configure.ac-also-check-for-libavcodec-library.patch \ " S = "${WORKDIR}/git" ```
a6a1df9d-456f-45eb-b181-609d6a404b94
{ "language": "BitBake" }
```bitbake SUMMARY = "Test applications for OMAP DRM interface" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a29096285e3121923041df" DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland" inherit autotools pkgconfig PR = "r27" SRCREV = "b6c02d24be6f8dae939168c154cf2345b33e459d" EXTRA_OEMAKE = "CC="${CC}"" TARGET_CC_ARCH += "${LDFLAGS}" SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \ file://0001-Makefile.am-lblah-flags-belong-to-LDADD-not-LDFLAGS.patch \ " S = "${WORKDIR}/git" ``` Update SRCREV with latest fix
```bitbake SUMMARY = "Test applications for OMAP DRM interface" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://viddec3test.c;beginline=1;endline=16;md5=c391f44e40a29096285e3121923041df" DEPENDS = "ffmpeg libdce libdrm libgbm ti-sgx-ddk-um wayland" inherit autotools pkgconfig PR = "r28" SRCREV = "20338b9f575ffe9c18c12bbed41c16069d27ccf4" EXTRA_OEMAKE = "CC="${CC}"" TARGET_CC_ARCH += "${LDFLAGS}" SRC_URI = "git://git.ti.com/glsdk/omapdrmtest.git;protocol=git \ file://0001-Makefile.am-lblah-flags-belong-to-LDADD-not-LDFLAGS.patch \ " S = "${WORKDIR}/git" ```
69cc3d5c-c4fb-4825-b208-54c3f098b7d6
{ "language": "BitBake" }
```bitbake require linux.inc DESCRIPTION = "Linux kernel for the OpenPandora handheld" KERNEL_IMAGETYPE = "uImage" COMPATIBLE_MACHINE = "raspberrypi" # This is on the rpi-patches branch SRCREV = "2fb814968753d0d4a5fdf056a3a8c9eee3c41aa6" SRC_URI = " \ git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-patches \ " PV = "3.1.9-rpi+${PR}+git${SRCREV}" S = "${WORKDIR}/git" # NOTE: For now we pull in the default config from the RPi kernel GIT tree. KERNEL_DEFCONFIG = "bcmrpi_defconfig" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } ``` Use zImage not uImage as the bootloader is not uBoot ;).
```bitbake require linux.inc DESCRIPTION = "Linux kernel for the RaspberryPi board" KERNEL_IMAGETYPE = "zImage" COMPATIBLE_MACHINE = "raspberrypi" # This is on the rpi-patches branch SRCREV = "2fb814968753d0d4a5fdf056a3a8c9eee3c41aa6" SRC_URI = " \ git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-patches \ " PV = "3.1.9-rpi+${PR}+git${SRCREV}" S = "${WORKDIR}/git" # NOTE: For now we pull in the default config from the RPi kernel GIT tree. KERNEL_DEFCONFIG = "bcmrpi_defconfig" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } ```
fd08b712-37c5-4f07-a532-f0fa566bfb78
{ "language": "BitBake" }
```bitbake SUMMARY = "Xilinx DisplayPort Linux Kernel module" DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices" SECTION = "kernel/modules" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" XLNX_DP_VERSION = "5.4.0" PV = "${XLNX_DP_VERSION}" S = "${WORKDIR}/git" BRANCH ?= "master" REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" SRCREV ?= "a3a7dfe17cf610fd4186b11638e1ce6b78dc958a" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" inherit module EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE_zynqmp = "zynqmp" COMPATIBLE_MACHINE_versal = "versal" PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" ``` Update commit id and branch for 2020.2
```bitbake SUMMARY = "Xilinx DisplayPort Linux Kernel module" DESCRIPTION = "Out-of-tree DisplayPort(DP) kernel modules provider for aarch64 devices" SECTION = "kernel/modules" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" XLNX_DP_VERSION = "5.4.0" PV = "${XLNX_DP_VERSION}" S = "${WORKDIR}/git" BRANCH ?= "rel-v2020.2" REPO ?= "git://github.com/xilinx/dp-modules.git;protocol=https" SRCREV ?= "f3b3bf11ee30a2bea2b268b935640e2ad525e88f" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" inherit module EXTRA_OEMAKE += "O=${STAGING_KERNEL_BUILDDIR}" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE_zynqmp = "zynqmp" COMPATIBLE_MACHINE_versal = "versal" PACKAGE_ARCH = "${SOC_FAMILY_ARCH}" ```
c0d09ae7-be44-44d4-ab5a-7b6dda28f8bb
{ "language": "BitBake" }
```bitbake UBOOT_VERSION = "v2021.01" UBRANCH ?= "xlnx_rebase_v2022.01" SRCREV = "c50d6c48f4e1368cd38699278e35563cb4b0e444" include u-boot-xlnx.inc include u-boot-spl-zynq-init.inc LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897" # u-boot-xlnx has support for these HAS_PLATFORM_INIT ?= " \ xilinx_zynqmp_virt_config \ xilinx_zynq_virt_defconfig \ xilinx_versal_vc_p_a2197_revA_x_prc_01_revA \ " ``` Update branch and SRCREV for update release
```bitbake UBOOT_VERSION = "v2021.01" UBRANCH ?= "xlnx_rebase_v2022.01_2022.1_update" SRCREV = "a807cf8f6ce03ef1441c246a90aefbc8b6ea4c43" include u-boot-xlnx.inc include u-boot-spl-zynq-init.inc LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://README;beginline=1;endline=4;md5=744e7e3bb0c94b4b9f6b3db3bf893897" # u-boot-xlnx has support for these HAS_PLATFORM_INIT ?= " \ xilinx_zynqmp_virt_config \ xilinx_zynq_virt_defconfig \ xilinx_versal_vc_p_a2197_revA_x_prc_01_revA \ " ```
75ae88e0-77a7-49dd-a73d-7960b93458d1
{ "language": "BitBake" }
```bitbake require recipes-extended/gzip/gzip.inc inherit debian-package require recipes-debian/sources/gzip.inc LICENSE = "GPLv3+" LIC_FILES_CHKSUM = " \ file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://gzip.h;beginline=8;endline=20;md5=6e47caaa630e0c8bf9f1bc8d94a8ed0e \ " PROVIDES_append_class-native = " gzip-replacement-native" BBCLASSEXTEND = "native" ``` Fix build with glibc 2.28
```bitbake require recipes-extended/gzip/gzip.inc inherit debian-package require recipes-debian/sources/gzip.inc LICENSE = "GPLv3+" LIC_FILES_CHKSUM = " \ file://COPYING;md5=d32239bcb673463ab874e80d47fae504 \ file://gzip.h;beginline=8;endline=20;md5=6e47caaa630e0c8bf9f1bc8d94a8ed0e \ " FILESPATH_append = ":${COREBASE}/meta/recipes-extended/gzip/gzip-1.9" SRC_URI += "file://gnulib.patch" PROVIDES_append_class-native = " gzip-replacement-native" BBCLASSEXTEND = "native" ```
744e2f0d-9706-425f-a203-f3c26a7090f3
{ "language": "BitBake" }
```bitbake SUMMARY = "A behavior-driven development framework, Python style" HOMEPAGE = "https://github.com/behave/behave" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06" SRC_URI[md5sum] = "3f05c859a1c45f5ed33e925817ad887d" SRC_URI[sha256sum] = "b9662327aa53294c1351b0a9c369093ccec1d21026f050c3bd9b3e5cccf81a86" inherit pypi setuptools3 RDEPENDS:${PN} += " \ ${PYTHON_PN}-parse-type \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ " ``` Switch to using github src_uri
```bitbake SUMMARY = "A behavior-driven development framework, Python style" HOMEPAGE = "https://github.com/behave/behave" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=d950439e8ea6ed233e4288f5e1a49c06" PV .= "+git${SRCREV}" SRCREV = "9520119376046aeff73804b5f1ea05d87a63f370" SRC_URI += "git://github.com/behave/behave;branch=master" S = "${WORKDIR}/git" inherit setuptools3 RDEPENDS:${PN} += " \ ${PYTHON_PN}-parse-type \ ${PYTHON_PN}-setuptools \ ${PYTHON_PN}-six \ " ```
ede37214-2e7c-4489-8c60-fc941e642eea
{ "language": "BitBake" }
```bitbake require recipes/images/minimal-image.bb IMAGE_INSTALL += "\ ack \ avahi-autoipd \ avahi-daemon \ binutils \ control-freak \ cpp \ cpp-symlinks \ curl \ gcc \ gcc-symlinks \ git \ htop \ i2c-tools \ iotop \ iperf \ libgcc-dev \ libxml2 \ logrotate \ make \ mtr \ nano \ nginx \ ntpdate \ openssh \ openssh-sftp-server \ perl \ perl-modules \ python \ python-daemon \ python-dev \ python-flask \ python-imaging \ python-jinja2 \ python-misc \ python-modules \ python-numpy \ python-pip \ python-pyserial \ python-pytronics \ python-simplejson \ python-sqlalchemy \ python-werkzeug \ ruby \ sysstat \ usbutils \ usb-gadget-mode \ uwsgi \ vim \ vim-syntax \ vim-vimrc \ " export IMAGE_BASENAME = "rascal-image" ``` Add ipython and matplotlib to the image
```bitbake require recipes/images/minimal-image.bb IMAGE_INSTALL += "\ ack \ avahi-autoipd \ avahi-daemon \ binutils \ control-freak \ cpp \ cpp-symlinks \ curl \ gcc \ gcc-symlinks \ git \ htop \ i2c-tools \ iotop \ iperf \ ipython \ libgcc-dev \ libxml2 \ logrotate \ make \ mtr \ nano \ nginx \ ntpdate \ openssh \ openssh-sftp-server \ perl \ perl-modules \ python \ python-daemon \ python-dev \ python-flask \ python-imaging \ python-jinja2 \ python-matplotlib \ python-misc \ python-modules \ python-numpy \ python-pip \ python-pyserial \ python-pytronics \ python-simplejson \ python-sqlalchemy \ python-werkzeug \ ruby \ sysstat \ usbutils \ usb-gadget-mode \ uwsgi \ vim \ vim-syntax \ vim-vimrc \ " export IMAGE_BASENAME = "rascal-image" ```
8907975a-ce8d-488f-942d-037c54147eb0
{ "language": "BitBake" }
```bitbake DESCRIPTION = "library for easy implementation of a RDP/VNC server" HOMEPAGE = "https://libvnc.github.io" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f" PACKAGECONFIG ??= " \ gcrypt \ gnutls \ jpeg \ png \ ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \ sdl \ zlib \ " PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" PACKAGECONFIG[gnutls] = ",,gnutls" PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" PACKAGECONFIG[openssl] = ",-DWITH_OPENSSL=OFF,openssl" PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" PACKAGECONFIG[systemd] = ",,systemd" PACKAGECONFIG[sdl] = ",,libsdl2" PACKAGECONFIG[zlib] = ",,zlib" inherit cmake SRC_URI = "git://github.com/LibVNC/libvncserver" SRCREV = "f997b5a75fa171d79c5e568b7157fba83c8d8355" S = "${WORKDIR}/git" ``` Update to latest commit post 0.9.12
```bitbake DESCRIPTION = "library for easy implementation of a RDP/VNC server" HOMEPAGE = "https://libvnc.github.io" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=361b6b837cad26c6900a926b62aada5f" PACKAGECONFIG ??= " \ gcrypt \ gnutls \ jpeg \ lzo \ png \ ${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)} \ sdl \ zlib \ " PACKAGECONFIG[gcrypt] = ",,libgcrypt,libgcrypt" PACKAGECONFIG[gnutls] = ",,gnutls" PACKAGECONFIG[jpeg] = ",-DWITH_JPEG=OFF,jpeg" PACKAGECONFIG[lzo] = ",-DWITH_LZO=OFF,lzo" PACKAGECONFIG[openssl] = ",-DWITH_OPENSSL=OFF,openssl" PACKAGECONFIG[png] = ",-DWITH_PNG=OFF,libpng,libpng" PACKAGECONFIG[systemd] = ",,systemd" PACKAGECONFIG[sdl] = ",,libsdl2" PACKAGECONFIG[zlib] = ",,zlib" inherit cmake SRC_URI = "git://github.com/LibVNC/libvncserver" SRCREV = "c0a23857a5c42b45b6d22ccf7218becd1fa69402" S = "${WORKDIR}/git" ```
f8d3d336-0eab-422f-b555-8edd15b71d5f
{ "language": "BitBake" }
```bitbake require wireguard.inc SRCREV = "3ba6527130c502144e7388b900138bca6260f4e8" SRC_URI = "git://git.zx2c4.com/wireguard-tools;branch=master" inherit bash-completion systemd pkgconfig DEPENDS += "libmnl" do_install () { oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \ SYSTEMDUNITDIR="${systemd_system_unitdir}" \ WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \ WITH_BASHCOMPLETION=yes \ WITH_WGQUICK=yes \ install } FILES:${PN} = " \ ${sysconfdir} \ ${systemd_system_unitdir} \ ${bindir} \ " RDEPENDS:${PN} = "bash" RRECOMMENDS:${PN} = "kernel-module-wireguard" ``` Add a new package for wg-quick
```bitbake require wireguard.inc SRCREV = "3ba6527130c502144e7388b900138bca6260f4e8" SRC_URI = "git://git.zx2c4.com/wireguard-tools;branch=master" inherit bash-completion systemd pkgconfig DEPENDS += "libmnl" do_install () { oe_runmake DESTDIR="${D}" PREFIX="${prefix}" SYSCONFDIR="${sysconfdir}" \ SYSTEMDUNITDIR="${systemd_system_unitdir}" \ WITH_SYSTEMDUNITS=${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'yes', '', d)} \ WITH_BASHCOMPLETION=yes \ WITH_WGQUICK=yes \ install } PACKAGES += "${PN}-wg-quick" FILES:${PN} = " \ ${bindir}/wg \ ${sysconfdir} \ " FILES:${PN}-wg-quick = " \ ${bindir}/wg-quick \ ${systemd_system_unitdir} \ " RDEPENDS:${PN}-wg-quick = "${PN} bash" RRECOMMENDS:${PN} = " \ kernel-module-wireguard \ ${PN}-wg-quick \ " ```
d988a938-c4dd-4415-9394-043a18001d43
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" require gst-plugins-ti.inc PR = "${INC_PR}.0" SRCREV = "c50cc9132010bde7f4cb9efc04ca3eba536d26f9" SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git" ``` Support encoder and bug fix updates
```bitbake DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" require gst-plugins-ti.inc PR = "${INC_PR}.1" SRCREV = "6ca21aa3ec8b88b051013af503ef6b702d3c5477" SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git" ```
cb652780-9874-4b7b-9b40-c96ad4a3caf9
{ "language": "BitBake" }
```bitbake SECTION = "kernel" DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices." LICENSE = "GPL" PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${SRCDATE}" PR = "r0" DEFAULT_PREFERENCE = "-1" # Override where to look for defconfigs and patches, # we have per-kernel-release sets. FILESPATH = "${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21/${MACHINE}:${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21" K_MAJOR = "2" K_MINOR = "6" K_MICRO = "21" HHV = "20" SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \ file://defconfig" require linux-handhelds-2.6.inc ``` Update cvs recipe to use the patches from 2.6.21-hh20 recipe. This makes it compile again.
```bitbake SECTION = "kernel" DESCRIPTION = "handhelds.org Linux kernel 2.6 for PocketPCs and other consumer handheld devices." LICENSE = "GPL" PV = "${K_MAJOR}.${K_MINOR}.${K_MICRO}-hh${HHV}+cvs${SRCDATE}" PR = "r1" DEFAULT_PREFERENCE = "-1" # Override where to look for defconfigs and patches, # we have per-kernel-release sets. FILESPATH = "${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21/${MACHINE}:${FILE_DIRNAME}/linux-handhelds-2.6-2.6.21" K_MAJOR = "2" K_MINOR = "6" K_MICRO = "21" HHV = "20" SRC_URI = "${HANDHELDS_CVS};module=linux/kernel26 \ file://linux-2.6.git-9d20fdd58e74d4d26dc5216efaaa0f800c23dd3a.patch;patch=1 \ http://www.rpsys.net/openzaurus/patches/archive/export_atags-r0a.patch;patch=1 \ file://gcc4x-limits.patch;patch=1 \ file://0001-time-prevent-the-loop-in-timespec_add_ns-from-bei.patch;patch=1 \ file://defconfig" require linux-handhelds-2.6.inc ```
45e7a12c-3a6f-4a9f-b600-159762193fab
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GNU cpio is a program to manage archives of files." HOMEPAGE = "http://www.gnu.org/software/cpio/" SECTION = "console" LICENSE = "GPL" PR = "r3" DEPENDS += " texinfo-native " SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \ file://install.patch;patch=1" S = "${WORKDIR}/cpio-${PV}" inherit autotools do_install () { autotools_do_install mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} } pkg_postinst_${PN} () { update-alternatives --install ${libexecdir}/rmt rmt rmt.${PN} 50 } pkg_prerm_${PN} () { update-alternatives --remove rmt rmt.${PN} } ``` Move cpio from /usr/bin to /bin and use update-alternatives to select it in preference to the busybox cpio.
```bitbake DESCRIPTION = "GNU cpio is a program to manage archives of files." HOMEPAGE = "http://www.gnu.org/software/cpio/" SECTION = "console" LICENSE = "GPL" PR = "r4" DEPENDS += " texinfo-native " SRC_URI = "${GNU_MIRROR}/cpio/cpio-${PV}.tar.gz \ file://install.patch;patch=1" S = "${WORKDIR}/cpio-${PV}" inherit autotools do_install () { autotools_do_install install -d ${D}${base_bindir}/ mv ${D}${bindir}/cpio ${D}${base_bindir}/cpio.${PN} mv ${D}${libexecdir}/rmt ${D}${libexecdir}/rmt.${PN} } pkg_postinst_${PN} () { update-alternatives --install ${base_bindir}/cpio cpio cpio.${PN} 100 update-alternatives --install ${libexecdir}/rmt rmt rmt.${PN} 50 } pkg_prerm_${PN} () { update-alternatives --remove cpio cpio.${PN} update-alternatives --remove rmt rmt.${PN} } ```
91d6c805-72c2-49a6-a80d-df9d0bb35afa
{ "language": "BitBake" }
```bitbake require linux.inc DESCRIPTION = "Linux kernel for OMAP processors" KERNEL_IMAGETYPE = "uImage" COMPATIBLE_MACHINE = "overo" #BOOT_SPLASH ?= "logo_linux_clut224-generic.ppm" BOOT_SPLASH = "" PV = "3.2" S = "${WORKDIR}/git" SRCREV = "${AUTOREV}" SRC_URI = "git://www.sakoman.com/git/linux-omap-2.6.git;branch=omap-3.2;protocol=git \ file://defconfig \ file://libertas-async-fwload.patch \ " ``` Change url to sakoman linux repo
```bitbake require linux.inc DESCRIPTION = "Linux kernel for OMAP processors" KERNEL_IMAGETYPE = "uImage" COMPATIBLE_MACHINE = "overo" #BOOT_SPLASH ?= "logo_linux_clut224-generic.ppm" BOOT_SPLASH = "" PV = "3.2" S = "${WORKDIR}/git" SRCREV = "${AUTOREV}" SRC_URI = "git://www.sakoman.com/git/linux.git;branch=omap-3.2;protocol=git \ file://defconfig \ file://libertas-async-fwload.patch \ " ```
01368ebf-8b6a-46e2-b3fa-16f3caf10b18
{ "language": "BitBake" }
```bitbake SUMMARY = "Key/value database library with extensible hashing" HOMEPAGE = "http://www.gnu.org/software/gdbm/" SECTION = "libs" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=d8e20eece214df8ef953ed5857862150" PR = "r4" SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ file://makefile.patch \ file://libtool-mode.patch \ file://ldflags.patch" SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1" SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9" inherit autotools BBCLASSEXTEND = "native nativesdk" # #Meta-debian # inherit debian-package DPR = "0" SRC_URI += " \ file://makefile.patch \ file://libtool-mode.patch \ file://ldflags.patch" do_configure_prepend() { sed -i -e "s/-lgdbm//g" ${S}/Makefile.in } ``` Update recipe for gdbm package
```bitbake # # base recipe: meta/recipes-support/gdbm/gdbm_1.8.3.bb # base branch: daisy # PR = "r0" inherit debian-package SUMMARY = "Key/value database library with extensible hashing" HOMEPAGE = "http://www.gnu.org/software/gdbm/" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=d8e20eece214df8ef953ed5857862150" inherit autotools BBCLASSEXTEND = "native nativesdk" SRC_URI += " \ file://makefile.patch \ file://libtool-mode.patch \ file://ldflags.patch" do_configure_prepend() { sed -i -e "s/-lgdbm//g" ${S}/Makefile.in } ```
e902abb2-21ad-45cc-835c-1f0e0b2bd605
{ "language": "BitBake" }
```bitbake SUMMARY = "Resin Package Groups" LICENSE = "Apache-2.0" PR = "r1" inherit packagegroup RESIN_INIT_PACKAGE ?= "resin-init" RESIN_STAGING_ADDONS = "iozone3 nano" RDEPENDS_${PN} = "\ ${@bb.utils.contains('DISTRO_FEATURES', 'resin-staging', '${RESIN_STAGING_ADDONS}', '', d)} \ ${RESIN_INIT_PACKAGE} \ linux-firmware-ath9k \ linux-firmware-ralink \ linux-firmware-rtl8192cu \ kernel-modules \ wireless-tools \ parted \ lvm2 \ openssl \ dosfstools \ e2fsprogs \ connman \ connman-client \ btrfs-tools \ apt \ rce \ tar \ util-linux \ socat \ jq curl \ resin-device-register \ resin-device-progress \ resin-device-update \ resin-btrfs-balance \ supervisor-init \ vpn-init \ bridge-utils \ " ``` Add systemd-analyze to resin-image if systemd is in DISTRO_FEATURES
```bitbake SUMMARY = "Resin Package Groups" LICENSE = "Apache-2.0" PR = "r1" inherit packagegroup RESIN_INIT_PACKAGE ?= "resin-init" RESIN_STAGING_ADDONS = "iozone3 nano" RDEPENDS_${PN} = "\ ${@bb.utils.contains('DISTRO_FEATURES', 'resin-staging', '${RESIN_STAGING_ADDONS}', '', d)} \ ${RESIN_INIT_PACKAGE} \ linux-firmware-ath9k \ linux-firmware-ralink \ linux-firmware-rtl8192cu \ kernel-modules \ wireless-tools \ parted \ lvm2 \ openssl \ dosfstools \ e2fsprogs \ connman \ connman-client \ btrfs-tools \ apt \ rce \ tar \ util-linux \ socat \ jq curl \ resin-device-register \ resin-device-progress \ resin-device-update \ resin-btrfs-balance \ supervisor-init \ vpn-init \ bridge-utils \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd-analyze', '', d)} \ " ```
f3106b1c-d3ce-42e4-90cf-6dd922c26601
{ "language": "BitBake" }
```bitbake # xen 4.16.1 release sha SRCREV ?= "f26544492298cb82d66f9bf36e29d2f75b3133f2" XEN_REL ?= "4.16" XEN_BRANCH ?= "stable-${XEN_REL}" SRC_URI = " \ git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \ file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ " LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5" PV = "${XEN_REL}+stable${SRCPV}" S = "${WORKDIR}/git" require xen.inc require xen-tools.inc ``` Fix build with GCC 12
```bitbake # xen 4.16.1 release sha SRCREV ?= "f26544492298cb82d66f9bf36e29d2f75b3133f2" XEN_REL ?= "4.16" XEN_BRANCH ?= "stable-${XEN_REL}" SRC_URI = " \ git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \ file://0001-python-pygrub-pass-DISTUTILS-xen-4.15.patch \ file://xen-fix-gcc12-build-issues.patch \ " LIC_FILES_CHKSUM ?= "file://COPYING;md5=419739e325a50f3d7b4501338e44a4e5" PV = "${XEN_REL}+stable${SRCPV}" S = "${WORKDIR}/git" require xen.inc require xen-tools.inc ```
486cc4f7-9e54-4913-9722-749a3c7fee03
{ "language": "BitBake" }
```bitbake # # This file is the aie-plio recipe. # SUMMARY = "Simple AIE matrix multiplication application" SECTION = "PETALINUX/apps" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "git://gitenterprise.xilinx.com/ai-engine/xgemm.git;protocol=https;branch=rel-v2020.1" SRCREV = "2141ce072a25dbe9fddb192e13c778dc88485713" DEPENDS = "ai-engine-driver" RDEPENDS_${PN} = "ai-engine-driver" INSANE_SKIP_${PN} += " arch" S = "${WORKDIR}/git/" do_install() { install -d ${D}${bindir} install -m 0755 aie-matrix-multiplication ${D}${bindir} install -d ${D}/lib/firmware/aie/ cp -r ${S}/Work ${D}/lib/firmware/aie } FILES_${PN} += " \ /lib/firmware/aie/Work \ ${bindir}/aie-matrix-multiplication \ " ``` Enable aie matrix multiplication for versal only
```bitbake # # This file is the aie-plio recipe. # SUMMARY = "Simple AIE matrix multiplication application" SECTION = "PETALINUX/apps" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRC_URI = "git://gitenterprise.xilinx.com/ai-engine/xgemm.git;protocol=https;branch=rel-v2020.1" SRCREV = "2141ce072a25dbe9fddb192e13c778dc88485713" DEPENDS = "ai-engine-driver" RDEPENDS_${PN} = "ai-engine-driver" INSANE_SKIP_${PN} += " arch" COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE_versal = "versal" S = "${WORKDIR}/git/" do_install() { install -d ${D}${bindir} install -m 0755 aie-matrix-multiplication ${D}${bindir} install -d ${D}/lib/firmware/aie/ cp -r ${S}/Work ${D}/lib/firmware/aie } FILES_${PN} += " \ /lib/firmware/aie/Work \ ${bindir}/aie-matrix-multiplication \ " ```
3473fcb5-54b2-45a5-943b-441cbe5bf3b9
{ "language": "BitBake" }
```bitbake SUMMARY = "U-Boot libraries and tools to acces environment" DEPENDS += "mtd-utils" DESCRIPTION = "This package contains tools and libraries to read \ and modify U-Boot environment" HOMEPAGE = "https://github.com/sbabic/libubootenv" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" SECTION = "libs" SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https" SRCREV = "8a7d4030bcb106de11632e85b6a0e7b7d4cb47af" PV_append = "+git${SRCPV}" S = "${WORKDIR}/git" inherit cmake PACKAGE_ARCH = "${MACHINE_ARCH}" PROVIDES += "u-boot-fw-utils" RPROVIDES_${PN} += "u-boot-fw-utils" BBCLASSEXTEND = "cross" ``` Add CMAKE_BUILD_TYPE option to EXTRA_OECMAKE
```bitbake SUMMARY = "U-Boot libraries and tools to acces environment" DEPENDS += "mtd-utils" DESCRIPTION = "This package contains tools and libraries to read \ and modify U-Boot environment" HOMEPAGE = "https://github.com/sbabic/libubootenv" LICENSE = "LGPL-2.1" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/LGPL-2.1;md5=1a6d268fd218675ffea8be556788b780" SECTION = "libs" SRC_URI = "git://github.com/sbabic/libubootenv;protocol=https" SRCREV = "8a7d4030bcb106de11632e85b6a0e7b7d4cb47af" PV_append = "+git${SRCPV}" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release" PACKAGE_ARCH = "${MACHINE_ARCH}" PROVIDES += "u-boot-fw-utils" RPROVIDES_${PN} += "u-boot-fw-utils" BBCLASSEXTEND = "cross" ```
85bdff48-022a-4bb6-92b8-a64b03fff864
{ "language": "BitBake" }
```bitbake #NOTE: This package is currently only supported for the Angstrom # distribution. Other distributions and toolchains may or # may not work. DESCRIPTION = "AM Benchmarks" HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/" LICENSE = "BSD" SECTION = "system" PRIORITY = "optional" SRCREV = "59" PR = "r2+svnr${SRCPV}" COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x)" ARCHITECTURE_dm365 = "arm9" ARCHITECTURE_omapl138 = "arm9" ARCHITECTURE_omap3 = "cortex-a8" ARCHITECTURE_ti816x = "cortex-a8" INSANE_SKIP_${PN} = "True" SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''" S = "${WORKDIR}/trunk/${ARCHITECTURE}" do_compile() { # don't build debug version touch debug export CROSS_COMPILE=${TARGET_PREFIX} make release } do_install() { make DESTDIR=${D} install } ``` Add support for am387x-evm machine
```bitbake #NOTE: This package is currently only supported for the Angstrom # distribution. Other distributions and toolchains may or # may not work. DESCRIPTION = "AM Benchmarks" HOMEPAGE = "https://gforge.ti.com/gf/project/am_benchmarks/" LICENSE = "BSD" SECTION = "system" PRIORITY = "optional" SRCREV = "60" PR = "r2+svnr${SRCPV}" COMPATIBLE_MACHINE = "(dm365|omapl138|omap3|ti816x|ti814x)" ARCHITECTURE_dm365 = "arm9" ARCHITECTURE_omapl138 = "arm9" ARCHITECTURE_omap3 = "cortex-a8" ARCHITECTURE_ti816x = "cortex-a8" ARCHITECTURE_ti814x = "cortex-a8" INSANE_SKIP_${PN} = "True" SRC_URI = "svn://gforge.ti.com/svn/am_benchmarks/;module=trunk;proto=https;user=anonymous;pswd=''" S = "${WORKDIR}/trunk/${ARCHITECTURE}" do_compile() { # don't build debug version touch debug export CROSS_COMPILE=${TARGET_PREFIX} make release } do_install() { make DESTDIR=${D} install } ```
a7a5374e-c824-4d26-b90d-093e54f2b793
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Python template engine and code generation tool" SECTION = "devel/python" PRIORITY = "optional" LICENSE = "MIT" SRCNAME = "Cheetah" PR = "r1" SRC_URI = "http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${PV}.tar.gz" S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools RDEPENDS_${PN} = "python-pickle python-pprint" NATIVE_INSTALL_WORKS = "1" BBCLASSEXTEND = "native" SRC_URI[md5sum] = "853917116e731afbc8c8a43c37e6ddba" SRC_URI[sha256sum] = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550" ``` Split src package (save flash space)
```bitbake DESCRIPTION = "Python template engine and code generation tool" SECTION = "devel/python" PRIORITY = "optional" LICENSE = "MIT" SRCNAME = "Cheetah" PR = "r2" SRC_URI = "http://pypi.python.org/packages/source/C/Cheetah/Cheetah-${PV}.tar.gz" S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools PACKAGES =+ "${PN}-src" RDEPENDS_{PN}-src = "${PN}" FILES_${PN}-src = " \ ${libdir}/${PYTHON_DIR}/site-packages/*/*.py \ ${libdir}/${PYTHON_DIR}/site-packages/*/*/*.py \ " RDEPENDS_${PN} = "python-pickle python-pprint" NATIVE_INSTALL_WORKS = "1" BBCLASSEXTEND = "native" SRC_URI[md5sum] = "853917116e731afbc8c8a43c37e6ddba" SRC_URI[sha256sum] = "be308229f0c1e5e5af4f27d7ee06d90bb19e6af3059794e5fd536a6f29a9b550" ```
c7e5d322-5780-43d6-b755-338cfc28c8b0
{ "language": "BitBake" }
```bitbake require recipes-core/images/core-image-minimal.bb DESCRIPTION = "A small image just capable of allowing a device to boot and \ run Erlang/Elixir with ssh access." IMAGE_INSTALL += "\ axon \ erlang \ erlang-tools \ elixir \ " IMAGE_FEATURES += "ssh-server-dropbear" ``` Drop ssh support for no
```bitbake require recipes-core/images/core-image-minimal.bb DESCRIPTION = "A small image just capable of allowing a device to boot and \ run Erlang/Elixir." IMAGE_INSTALL += "\ erlang \ erlang-tools \ elixir \ " ```
cff3c977-634b-4697-83c6-af07c59a4ec3
{ "language": "BitBake" }
```bitbake HOMEPAGE = "http://www.alumnit.ca/wiki/?WvDial" DESCRIPTION = "WvDial is a program that makes it easy to connect your Linux workstation to the Internet." LICENSE = "LGPL" SRC_URI = "http://www.alumnit.ca/download/wvdial-1.60.tar.gz" DEPENDS = "wvstreams" RDEPENDS = "ppp" EXTRA_OEMAKE = "" export WVLINK="${LD}" do_install() { oe_runmake prefix=${D}/usr PPPDIR=${D}/etc install } ``` Install the peers file into the right place
```bitbake HOMEPAGE = "http://www.alumnit.ca/wiki/?WvDial" DESCRIPTION = "WvDial is a program that makes it easy to connect your Linux workstation to the Internet." PR = "r1" LICENSE = "LGPL" SRC_URI = "http://www.alumnit.ca/download/wvdial-1.60.tar.gz" DEPENDS = "wvstreams" RDEPENDS = "ppp" EXTRA_OEMAKE = "" export WVLINK="${LD}" do_install() { oe_runmake prefix=${D}/usr PPPDIR=${D}/etc/ppp/peers install } ```
ca91e56f-8956-41c3-a391-16ff5b2ca00e
{ "language": "BitBake" }
```bitbake require qt5-git.inc require ${PN}.inc # qtwayland wasn't released yet, last tag before this SRCREV is 5.0.0-beta1 PV = "4.999+5.0.0-beta1+git${SRCPV}" PR = "${INC_PR}.1" SRCREV = "5cb159395eccb1d96fb73a78e499eef30aacb46d" ``` Add temporary hack to build for Qt 5.0.2
```bitbake require qt5-git.inc require ${PN}.inc # qtwayland wasn't released yet, last tag before this SRCREV is 5.0.0-beta1 PV = "4.999+5.0.0-beta1+git${SRCPV}" PR = "${INC_PR}.1" SRCREV = "5cb159395eccb1d96fb73a78e499eef30aacb46d" do_configure_prepend() { # Temporary hack to get qtwayland build for Qt 5.0.2 if ! grep -q MODULE_VERSION ${S}/.qmake.conf; then echo "MODULE_VERSION = 0.0.0" >> ${S}/.qmake.conf fi } ```
c8522233-9089-4ee4-9845-c1bb74b39847
{ "language": "BitBake" }
```bitbake DESCRIPTION = "This package contains the DNS.pm module with friends." SECTION = "libs" LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://README;md5=92d93d8c5bf22de77578531e283dd219" DEPENDS += "perl" SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" SRC_URI[md5sum] = "4fa45b0dfe79667453c1553e16e52c2a" SRC_URI[sha256sum] = "ebe53e7f433138fb9a7845b4edae6b8f4dc227da97eaf6b347584816ec63a525" S = "${WORKDIR}/Net-DNS-${PV}" EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" inherit cpan do_compile() { export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" cpan_do_compile } BBCLASSEXTEND = "native" ``` Add HOMEPAGE info into recipe file.
```bitbake DESCRIPTION = "This package contains the DNS.pm module with friends." HOMEPAGE = "http://www.net-dns.org/" SECTION = "libs" LICENSE = "Artistic-1.0 | GPL-1.0+" LIC_FILES_CHKSUM = "file://README;md5=92d93d8c5bf22de77578531e283dd219" DEPENDS += "perl" SRC_URI = "http://search.cpan.org/CPAN/authors/id/N/NL/NLNETLABS/Net-DNS-${PV}.tar.gz" SRC_URI[md5sum] = "4fa45b0dfe79667453c1553e16e52c2a" SRC_URI[sha256sum] = "ebe53e7f433138fb9a7845b4edae6b8f4dc227da97eaf6b347584816ec63a525" S = "${WORKDIR}/Net-DNS-${PV}" EXTRA_CPANFLAGS = "EXPATLIBPATH=${STAGING_LIBDIR} EXPATINCPATH=${STAGING_INCDIR}" inherit cpan do_compile() { export LIBC="$(find ${STAGING_DIR_TARGET}/${base_libdir}/ -name 'libc-*.so')" cpan_do_compile } BBCLASSEXTEND = "native" ```
a1824496-96fd-4922-978c-e15728741ffe
{ "language": "BitBake" }
```bitbake SUMMARY = "A GNSS-SDR monitor based on Qt5" DESCRIPTION = "A graphical user interface developed with Qt5 for monitoring the status of GNSS-SDR in real time." AUTHOR = "Alvaro Cebrian Juan <[email protected]>" HOMEPAGE = "https://github.com/acebrianjuan/gnss-sdr-monitor" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" PR = "r1" DEPENDS = "boost protobuf protobuf-native qtbase qtdeclarative \ qtquickcontrols qtquickcontrols2 qtlocation qtcharts \ " PV = "1.0.git" SRCREV = "55037f5dcadebac249834efb3b3dca10b84a2d84" inherit qmake5 cmake_qt5 # Make it easy to test against branches GIT_BRANCH = "master" SRC_URI = "git://github.com/acebrianjuan/gnss-sdr-monitor.git;branch=${GIT_BRANCH};protocol=https " S = "${WORKDIR}/git" PACKAGES = "gnss-sdr-monitor" FILES_${PN} += " ${bindir}/gnss-sdr-monitor" ``` Package debug files in gnss-sdr-monitor recipe
```bitbake SUMMARY = "A GNSS-SDR monitor based on Qt5" DESCRIPTION = "A graphical user interface developed with Qt5 for monitoring the status of GNSS-SDR in real time." AUTHOR = "Alvaro Cebrian Juan <[email protected]>" HOMEPAGE = "https://github.com/acebrianjuan/gnss-sdr-monitor" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://LICENSE;md5=1ebbd3e34237af26da5dc08a4e440464" PR = "r2" DEPENDS = "boost protobuf protobuf-native qtbase qtdeclarative \ qtquickcontrols qtquickcontrols2 qtlocation qtcharts \ " PV = "1.0.git" SRCREV = "55037f5dcadebac249834efb3b3dca10b84a2d84" inherit qmake5 cmake_qt5 # Make it easy to test against branches GIT_BRANCH = "master" SRC_URI = "git://github.com/acebrianjuan/gnss-sdr-monitor.git;branch=${GIT_BRANCH};protocol=https " S = "${WORKDIR}/git" PACKAGES = "gnss-sdr-monitor gnss-sdr-monitor-dbg" FILES_${PN} += " ${bindir}/gnss-sdr-monitor" FILES_${PN}-dbg += " \ ${bindir}/.debug/* \ " ```
1f1d5c4e-edfa-48cb-a7d0-7d8f6f6860d8
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Command-line (scriptable) Music Player Daemon (mpd) Client" HOMEPAGE = "http://www.musicpd.org/mpc.shtml" LICENSE = "GPLv2" SECTION = "console/multimedia" PR = "r0" SRC_URI = "http://mercury.chem.pitt.edu/~shank/mpc-${PV}.tar.gz" inherit autotools ``` Fix cross compile badness; missing --with-iconv-*.
```bitbake DESCRIPTION = "Command-line (scriptable) Music Player Daemon (mpd) Client" HOMEPAGE = "http://www.musicpd.org/mpc.shtml" LICENSE = "GPLv2" SECTION = "console/multimedia" PR = "r1" SRC_URI = "http://mercury.chem.pitt.edu/~shank/mpc-${PV}.tar.gz" EXTRA_OECONF = "--with-iconv-libraries=${STAGING_LIBDIR} \ --with-iconv-includes=${STAGING_INCDIR}" inherit autotools ```
f3313ffe-af27-4315-b20b-c5cc3a75a29f
{ "language": "BitBake" }
```bitbake require swupdate.inc DEFAULT_PREFERENCE = "-1" ``` Fix build of TOT after reorganizing utilities
```bitbake require swupdate.inc DEFAULT_PREFERENCE = "-1" do_compile() { unset LDFLAGS oe_runmake cp swupdate_unstripped swupdate cp tools/progress_unstripped progress } ```
ab6e1870-6264-4bd4-a66b-7a5fd16ee50f
{ "language": "BitBake" }
```bitbake DESCRIPTION = "A a package of utilities for doing and managing mounts of the Linux CIFS filesystem." HOMEPAGE = "http://wiki.samba.org/index.php/LinuxCIFS_utils" LICENSE = "GPLv3 & LGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" PV = "5.9" PR = "r1" SRCREV = "353d491dcb5d69d31434abeb962c8e9a49c36867" SRC_URI = "git://git.samba.org/cifs-utils.git" S = "${WORKDIR}/git" PACKAGECONFIG ??= "" PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap" inherit autotools pkgconfig do_install_append() { # Remove empty /usr/bin and /usr/sbin directories since the mount helper # is installed to /sbin rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir} } RRECOMMENDS_${PN} = "kernel-module-cifs" ``` Add PACKAGECONFIG for cifscreds, cifsupcall
```bitbake DESCRIPTION = "A a package of utilities for doing and managing mounts of the Linux CIFS filesystem." HOMEPAGE = "http://wiki.samba.org/index.php/LinuxCIFS_utils" LICENSE = "GPLv3 & LGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" PV = "5.9" PR = "r1" SRCREV = "353d491dcb5d69d31434abeb962c8e9a49c36867" SRC_URI = "git://git.samba.org/cifs-utils.git" S = "${WORKDIR}/git" PACKAGECONFIG ??= "" PACKAGECONFIG[cap] = "--with-libcap,--without-libcap,libcap" # when enabled, it creates ${bindir}/cifscreds and --ignore-fail-on-non-empty in do_install_append is needed PACKAGECONFIG[cifscreds] = "--enable-cifscreds,--disable-cifscreds,keyutils" # when enabled, it creates ${sbindir}/cifs.upcall and --ignore-fail-on-non-empty in do_install_append is needed PACKAGECONFIG[cifsupcall] = "--enable-cifsupcall,--disable-cifsupcall,krb5 talloc keyutils" inherit autotools pkgconfig do_install_append() { # Remove empty /usr/bin and /usr/sbin directories since the mount helper # is installed to /sbin rmdir --ignore-fail-on-non-empty ${D}${bindir} ${D}${sbindir} } RRECOMMENDS_${PN} = "kernel-module-cifs" ```
970a6586-0267-4579-9588-13d39758b425
{ "language": "BitBake" }
```bitbake SUMMARY = "C++11 command line parser" DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface." HOMEPAGE = "https://github.com/CLIUtils/CLI11" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=b73927b18d5c6cd8d2ed28a6ad539733" SRCREV = "13becaddb657eacd090537719a669d66d393b8b2" PV .= "+git${SRCPV}" SRC_URI += "gitsm://github.com/CLIUtils/CLI11 \ file://0001-Add-CLANG_TIDY-check.patch \ " S = "${WORKDIR}/git" inherit cmake inherit ptest EXTRA_OECMAKE += "-DCLANG_TIDY=OFF" DEPENDS += "boost" ``` Remove dev pkg dep to main pkg
```bitbake SUMMARY = "C++11 command line parser" DESCRIPTION = "A command line parser for C++11 and beyond that provides a rich feature set with a simple and intuitive interface." HOMEPAGE = "https://github.com/CLIUtils/CLI11" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=b73927b18d5c6cd8d2ed28a6ad539733" SRCREV = "13becaddb657eacd090537719a669d66d393b8b2" PV .= "+git${SRCPV}" SRC_URI += "gitsm://github.com/CLIUtils/CLI11 \ file://0001-Add-CLANG_TIDY-check.patch \ " S = "${WORKDIR}/git" inherit cmake inherit ptest EXTRA_OECMAKE += "-DCLANG_TIDY=OFF" DEPENDS += "boost" # cli11 is a header only C++ library, so the main package will be empty. RDEPENDS_${PN}-dev = "" ```
7a1963e6-24e8-4563-9b78-c9514ed5925d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Test applications for video and graphics interface" HOMEPAGE = "https://git.ti.com/sitara-linux/video-graphics-test" SECTION = "multimedia" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=c7ca707704d3354a64feeb4f19f52eb5" DEPENDS += "libdrm ti-gc320-libs cmem qtdeclarative" PR = "r2" BRANCH = "master" SRCREV = "54ec5ff165413d41d32bb2672e127487ee37a82b" SRC_URI = "git://git.ti.com/sitara-linux/video-graphics-test.git;protocol=git;branch=${BRANCH} \ " S = "${WORKDIR}/git" inherit qt-provider export SDK_PATH_TARGET='${STAGING_DIR_HOST}' # use the make targets already created in the Makefile.build files do_install() { install -d ${D}/usr/bin install video_graphics_test ${D}/usr/bin/video-graphics-test } CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}" ``` Bump SRCREV to latest commit
```bitbake DESCRIPTION = "Test applications for video and graphics interface" HOMEPAGE = "https://git.ti.com/sitara-linux/video-graphics-test" SECTION = "multimedia" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=c7ca707704d3354a64feeb4f19f52eb5" DEPENDS += "libdrm ti-gc320-libs cmem qtdeclarative" PR = "r2" BRANCH = "master" SRCREV = "2db3848cd1047e688ea0a94a987e35a292bcbda9" SRC_URI = "git://git.ti.com/sitara-linux/video-graphics-test.git;protocol=git;branch=${BRANCH} \ " S = "${WORKDIR}/git" inherit qt-provider export SDK_PATH_TARGET='${STAGING_DIR_HOST}' # use the make targets already created in the Makefile.build files do_install() { install -d ${D}/usr/bin install video_graphics_test ${D}/usr/bin/video-graphics-test } CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "example-applications/${PN}-${PV}" ```
0638497e-b5e0-4749-8a49-e94f609de7e3
{ "language": "BitBake" }
```bitbake require hyperion.inc SRC_URI = " \ gitsm://github.com/hyperion-project/hyperion.git;protocol=https \ file://0001-use-yocto-protobuf.patch \ file://0002-fix-qa-issue-set-valid-install-path.patch \ " SRCREV = "f64b6eb8dbaeef0f4aae8954da3b87524be106bd" S = "${WORKDIR}/git" PR = "1" PV = "1.1" ``` Fix PR and PV variables
```bitbake require hyperion.inc SRC_URI = " \ gitsm://github.com/hyperion-project/hyperion.git;protocol=https \ file://0001-use-yocto-protobuf.patch \ file://0002-fix-qa-issue-set-valid-install-path.patch \ " SRCREV = "f64b6eb8dbaeef0f4aae8954da3b87524be106bd" S = "${WORKDIR}/git" PR = "0" PV = "1.1.1" ```
9d927fd1-df1e-4cd5-9d33-62b9263e2a97
{ "language": "BitBake" }
```bitbake LINUX_VERSION ?= "4.1.0" SRCREV = "07009cab090ade3dd180e8a55d590b1a00072eed" SRC_URI = "git://github.com/anholt/linux.git;protocol=git;branch=vc4-kms-v3d-rpi2 \ file://0001-rpi2-setup.patch \ file://0002-drm-vc4-Use-the-fbdev_cma-helpers.patch \ file://0003-drm-vc4-Allow-vblank-to-be-disabled.patch \ file://rpi2-defconfig.patch \ file://HULK_SMASH.patch \ " require linux-raspberrypi.inc ``` Use latest anholt's vc4-kms-v3d-rpi2 branch of linux kernel
```bitbake LINUX_VERSION ?= "4.1.0" SRCREV = "b8b2f50546513355fecd9ac44b2355f19a9620a8" SRC_URI = "git://github.com/anholt/linux.git;protocol=git;branch=vc4-kms-v3d-rpi2 \ file://0001-rpi2-setup.patch \ file://0002-drm-vc4-Use-the-fbdev_cma-helpers.patch \ file://0003-drm-vc4-Allow-vblank-to-be-disabled.patch \ file://rpi2-defconfig.patch \ file://HULK_SMASH.patch \ " require linux-raspberrypi.inc ```
5aae3fef-b70f-459a-857b-62c3619d5089
{ "language": "BitBake" }
```bitbake DEPENDS = "libxslt" PR = "r1" MAINTAINER = "Oyvind Repvik <[email protected]" SRC_URI = "http://downloads.us.xiph.org/releases/icecast/${PN}-${PV}.tar.gz" S = "${WORKDIR}/${PN}-${PV}" inherit autotools ``` Add missing DEPENDS on vorbis.
```bitbake DEPENDS = "libxslt" PR = "r1" MAINTAINER = "Oyvind Repvik <[email protected]" DEPENDS = "libvorbis libogg" SRC_URI = "http://downloads.us.xiph.org/releases/icecast/${PN}-${PV}.tar.gz" S = "${WORKDIR}/${PN}-${PV}" inherit autotools ```
eb8f23bd-f42d-4435-8847-8ac273b20112
{ "language": "BitBake" }
```bitbake SUMMARY = "The GPS Toolkit" 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/" PR = "r1" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING.md;md5=d32239bcb673463ab874e80d47fae504" GIT_BRANCH = "main" SRC_URI = "git://github.com/SGL-UT/GPSTk.git;branch=${GIT_BRANCH};protocol=https " SRCREV = "7f4c840d21c7bac40c5d554bdaab386ba2ee59ef" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_SKIP_RPATH=ON -DUSE_RPATH=OFF -DBUILD_EXT=ON -DBUILD_PYTHON=OFF" PACKAGES = "gpstk gpstk-dev" FILES_${PN} += " ${bindir}/* " FILES_${PN}-dev += " ${includedir}/* ${libdir}/* /usr/share/cmake/*" ``` Package debug files in gpstk recipe
```bitbake SUMMARY = "The GPS Toolkit" 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/" PR = "r2" LICENSE = "LGPLv3" LIC_FILES_CHKSUM = "file://COPYING.md;md5=d32239bcb673463ab874e80d47fae504" GIT_BRANCH = "main" SRC_URI = "git://github.com/SGL-UT/GPSTk.git;branch=${GIT_BRANCH};protocol=https " SRCREV = "7f4c840d21c7bac40c5d554bdaab386ba2ee59ef" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE += " -DCMAKE_SKIP_INSTALL_RPATH=ON -DCMAKE_SKIP_RPATH=ON -DUSE_RPATH=OFF -DBUILD_EXT=ON -DBUILD_PYTHON=OFF" PACKAGES = "gpstk gpstk-dev gpstk-dbg" FILES_${PN} += " ${bindir}/* " FILES_${PN}-dev += " ${includedir}/* ${libdir}/* /usr/share/cmake/*" FILES_${PN}-dbg += " \ ${prefix}/src/debug/gpstk/* \ ${bindir}/.debug/* \ " ```
665dab06-24b0-4bf4-b1e5-700923ed9e85
{ "language": "BitBake" }
```bitbake SUMMARY = "A thin layer of graphic data types" HOMEPAGE = "http://ebassi.github.io/graphene/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7d871d9e23c450c421a85bb2819f648" #DEPENDS = "gtk+3 iso-codes enchant2" GNOMEBASEBUILDCLASS = "meson" inherit gnomebase gobject-introspection gtk-doc SRC_URI[archive.md5sum] = "390139e704772b915ff2b7cac56c24ae" SRC_URI[archive.sha256sum] = "80ae57723e4608e6875626a88aaa6f56dd25df75024bd16e9d77e718c3560b25" # mutter 41.0 requires graphene build with introspection PACKAGECONFIG ?= "introspection" PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled," GTKDOC_MESON_OPTION = "gtk_doc" EXTRA_OEMESON = "-Dinstalled_tests=false" FILES:${PN} += "${libdir}/graphene-1.0" BBCLASSEXTEND = "native nativesdk" ``` Tidy up recipe a bit
```bitbake SUMMARY = "A thin layer of graphic data types" HOMEPAGE = "http://ebassi.github.io/graphene/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=a7d871d9e23c450c421a85bb2819f648" GNOMEBASEBUILDCLASS = "meson" inherit gnomebase gobject-introspection gtk-doc SRC_URI[archive.sha256sum] = "80ae57723e4608e6875626a88aaa6f56dd25df75024bd16e9d77e718c3560b25" # gtk4 & mutter 41.0 requires graphene build with introspection PACKAGECONFIG ?= "introspection" PACKAGECONFIG[introspection] = "-Dintrospection=enabled,-Dintrospection=disabled," GTKDOC_MESON_OPTION = "gtk_doc" EXTRA_OEMESON = "-Dinstalled_tests=false" FILES:${PN} += "${libdir}/graphene-1.0" BBCLASSEXTEND = "native nativesdk" ```
420afbf3-8383-476f-8584-b5d7a2df832b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Linux kernel for the Hardkernel ODROID-U2 device" SECTION = "kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" # Mark archs/machines that this kernel supports COMPATIBLE_MACHINE = "odroid-u2" inherit kernel siteinfo SRC_URI = " \ git://github.com/hardkernel/linux.git;branch=odroid-3.8.y \ " S = "${WORKDIR}/git/" SRCREV = "${AUTOREV}" KV = "3.8.13" PV = "${KV}+gitr${SRCPV}" do_configure_prepend() { yes '' | oe_runmake odroidu2_defconfig } do_install_append() { oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}/src/linux-${KERNEL_VERSION} ARCH=$ARCH } PACKAGES =+ "kernel-headers" FILES_kernel-headers = "${exec_prefix}/src/linux*" ``` Deploy results of boot.scr of Mauro's boot.scr helper script
```bitbake DESCRIPTION = "Linux kernel for the Hardkernel ODROID-U2 device" SECTION = "kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" # Mark archs/machines that this kernel supports COMPATIBLE_MACHINE = "odroid-u2" inherit kernel siteinfo SRC_URI = " \ git://github.com/hardkernel/linux.git;branch=odroid-3.8.y \ " S = "${WORKDIR}/git/" SRCREV = "${AUTOREV}" KV = "3.8.13" PV = "${KV}+gitr${SRCPV}" do_configure_prepend() { yes '' | oe_runmake odroidu2_defconfig } do_install_append() { # Helper script provided by Mauro Ribeiro tools/hardkernel/genBscr.sh oe_runmake headers_install INSTALL_HDR_PATH=${D}${exec_prefix}/src/linux-${KERNEL_VERSION} ARCH=$ARCH } do_deploy_append() { cp -v *.scr ${DEPLOYDIR} } PACKAGES =+ "kernel-headers" FILES_kernel-headers = "${exec_prefix}/src/linux*" ```
892ac454-2176-4082-b9f9-02db2bec0b43
{ "language": "BitBake" }
```bitbake IMAGE_FEATURES += "package-management" PR = "r1" POKY_EXTRA_INSTALL = "\ task-x11-server\ task-x11-utils \ task-lxde-base \ libgtkstylus \ " LICENSE = "MIT" inherit core-image ``` Add some extra apps to lxdm image.
```bitbake IMAGE_FEATURES += "package-management" PR = "r2" POKY_EXTRA_INSTALL = "\ task-x11-server\ task-x11-utils \ task-lxde-base \ libgtkstylus \ task-jlime-apps-cli \ task-jlime-apps-gui \ " LICENSE = "MIT" inherit core-image ```
2894c8de-5157-4cc4-a05f-4b02ac1b7c8f
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Minimal ptest image for NI Linux Real-Time x64 and ARM targets" LICENSE = "MIT" require minimal-nilrt-image.bb IMAGE_FEATURES+=" ptest-pkgs" IMAGE_FSTYPES += " cpio.gz" IMAGE_INSTALL += "\ packagegroup-ni-ptest \ " IMAGE_ROOTFS_EXTRA_SPACE = "1000000" rm_feed_configs () { ${ROOTFS_PKGMANAGE} -o ${IMAGE_ROOTFS} remove --force-depends distro-feed-configs } IMAGE_PREPROCESS_COMMAND =+ "rm_feed_configs; " ``` Remove 'ptest-pkgs' from ptest image
```bitbake DESCRIPTION = "Minimal ptest image for NI Linux Real-Time x64 and ARM targets" LICENSE = "MIT" require minimal-nilrt-image.bb IMAGE_FSTYPES += " cpio.gz" IMAGE_INSTALL += "\ packagegroup-ni-ptest \ " IMAGE_ROOTFS_EXTRA_SPACE = "1000000" rm_feed_configs () { ${ROOTFS_PKGMANAGE} -o ${IMAGE_ROOTFS} remove --force-depends distro-feed-configs } IMAGE_PREPROCESS_COMMAND =+ "rm_feed_configs; " ```
39f5ddde-8c4b-4b79-a557-94938c004905
{ "language": "BitBake" }
```bitbake include recipes-core/images/core-image-base.bb IMAGE_FEATURES += "debug-tweaks" # SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps" SOC_EXTRA_IMAGE_FEATURES="" # Add extra image features EXTRA_IMAGE_FEATURES += " \ ${SOC_EXTRA_IMAGE_FEATURES} \ nfs-server \ tools-debug \ tools-profile \ " IMAGE_INSTALL += " \ dropbear \ xbmc \ networkmanager \ procps \ util-linux-mount \ libntfs-3g \ ntfsprogs \ ntfs-3g \ ntp \ ntp-utils \ tvheadend \ util-linux \ firmware-imx-vpu-imx6d \ fsl-rc-local \ xbmc-image-custom-rfs \ " export IMAGE_BASENAME = "xbmc-image" ``` Add network manager addon in image
```bitbake include recipes-core/images/core-image-base.bb IMAGE_FEATURES += "debug-tweaks" # SOC_EXTRA_IMAGE_FEATURES ?= "tools-testapps" SOC_EXTRA_IMAGE_FEATURES="" # Add extra image features EXTRA_IMAGE_FEATURES += " \ ${SOC_EXTRA_IMAGE_FEATURES} \ nfs-server \ tools-debug \ tools-profile \ " IMAGE_INSTALL += " \ dropbear \ xbmc \ xbmc-nm-addon_12 \ networkmanager \ procps \ util-linux-mount \ libntfs-3g \ ntfsprogs \ ntfs-3g \ ntp \ ntp-utils \ tvheadend \ util-linux \ firmware-imx-vpu-imx6d \ fsl-rc-local \ xbmc-image-custom-rfs \ " export IMAGE_BASENAME = "xbmc-image" ```
6d4705fc-80a5-44cb-901b-42c3b4ad1f36
{ "language": "BitBake" }
```bitbake SUMMARY = "A customized image for running Octoprint" LICENSE = "MIT" inherit core-image EXTRA_IMAGE_FEATURES_remove = "debug-tweaks package-management" IMAGE_FSTYPES_remove = " tar.bz2 ext3 sdimg.bz2 " GLIBC_GENERATE_LOCALES="en_US.UTF-8" IMAGE_LINGUAS="en-us" EXTRA_IMAGE_FEATURES += "read-only-rootfs ssh-server-openssh" IMAGE_INSTALL_append = " octoprint picocom " IMAGE_INSTALL_remove = " image-display "``` Add package-management back into octoprint image
```bitbake SUMMARY = "A customized image for running Octoprint" LICENSE = "MIT" inherit core-image EXTRA_IMAGE_FEATURES_remove = "debug-tweaks" IMAGE_FSTYPES_remove = " tar.bz2 ext3 sdimg.bz2 " GLIBC_GENERATE_LOCALES="en_US.UTF-8" IMAGE_LINGUAS="en-us" EXTRA_IMAGE_FEATURES += "read-only-rootfs ssh-server-openssh" IMAGE_INSTALL_append = " octoprint picocom " IMAGE_INSTALL_remove = " image-display "```
96942629-f290-4fe2-8579-98857983f4e2
{ "language": "BitBake" }
```bitbake SECTION = "console/network" DESCRIPTION = "A VPN solution via tun device. Not IPSEC!" HOMEPAGE = "http://openvpn.sourceforge.net" MAINTAINER = "Bruno Randolf <[email protected]>" LICENSE = "GPLv2" PRIORITY = "optional" DEPENDS = "lzo openssl" RRECOMMENDS = "kernel-module-tun" PR = "r2" SRC_URI = "${SOURCEFORGE_MIRROR}/openvpn/openvpn-2.0_rc1.tar.gz \ file://openvpn" S = "${WORKDIR}/openvpn-2.0_rc1" inherit autotools do_install_append() { install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/openvpn install -m 755 ${WORKDIR}/openvpn ${D}${sysconfdir}/init.d } ``` Set DEFAULT_PREFERENCE to -1 for the rc-version.
```bitbake SECTION = "console/network" DESCRIPTION = "A VPN solution via tun device. Not IPSEC!" HOMEPAGE = "http://openvpn.sourceforge.net" MAINTAINER = "Bruno Randolf <[email protected]>" LICENSE = "GPLv2" PRIORITY = "optional" DEPENDS = "lzo openssl" RRECOMMENDS = "kernel-module-tun" PR = "r2" DEFAULT_PREFERENCE = "-1" SRC_URI = "${SOURCEFORGE_MIRROR}/openvpn/openvpn-2.0_rc1.tar.gz \ file://openvpn" S = "${WORKDIR}/openvpn-2.0_rc1" inherit autotools do_install_append() { install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/openvpn install -m 755 ${WORKDIR}/openvpn ${D}${sysconfdir}/init.d } ```
2786e078-5f65-465a-ae68-194c5e37a502
{ "language": "BitBake" }
```bitbake SUMMARY = "Alliance for Open Media - AV1 Codec Library" DESCRIPTION = "Alliance for Open Media AV1 codec library" LICENSE = "BSD-2-Clause & AOM-Patent-1.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \ file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \ " SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https" SRCREV = "d1d1226af626a61f7ca664b270dd473b92228984" S = "${WORKDIR}/git" inherit cmake pkgconfig DEPENDS = " yasm-native" EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \ -DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl \ " ``` Disable neon on arm when not present in TUNE_FEATURES
```bitbake SUMMARY = "Alliance for Open Media - AV1 Codec Library" DESCRIPTION = "Alliance for Open Media AV1 codec library" LICENSE = "BSD-2-Clause & AOM-Patent-1.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=6ea91368c1bbdf877159435572b931f5 \ file://PATENTS;md5=e69ad12202bd20da3c76a5d3648cfa83 \ " SRC_URI = "git://aomedia.googlesource.com/aom;protocol=https" SRCREV = "d1d1226af626a61f7ca664b270dd473b92228984" S = "${WORKDIR}/git" inherit cmake pkgconfig DEPENDS = " yasm-native" EXTRA_OECMAKE = " -DBUILD_SHARED_LIBS=1 -DENABLE_TESTS=0 \ -DPERL_EXECUTABLE=${HOSTTOOLS_DIR}/perl \ " EXTRA_OECMAKE_append_arm = " ${@bb.utils.contains("TUNE_FEATURES","neon","-DENABLE_NEON=ON","-DENABLE_NEON=OFF",d)}" ```
1c927898-4381-44da-b792-98297674c7c2
{ "language": "BitBake" }
```bitbake SECTION = "kernel" DESCRIPTION = "Mainline Linux kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i)" inherit kernel require recipes-kernel/linux/linux-dtb.inc require linux.inc # Pull in the devicetree files into the rootfs RDEPENDS_kernel-base += "kernel-devicetree" # Default is to use stable kernel version # If you want to use latest git version set to "1" DEFAULT_PREFERENCE = "-1" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" # 4.7 rc4 PV = "4.6+4.7rc4.git${SRCPV}" SRCREV_pn-${PN} = "33688abb2802ff3a230bd2441f765477b94cc89e" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master \ file://defconfig \ " S = "${WORKDIR}/git" ``` Change PV for kernel git version
```bitbake SECTION = "kernel" DESCRIPTION = "Mainline Linux kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" COMPATIBLE_MACHINE = "(sun4i|sun5i|sun7i|sun8i)" inherit kernel require recipes-kernel/linux/linux-dtb.inc require linux.inc # Pull in the devicetree files into the rootfs RDEPENDS_kernel-base += "kernel-devicetree" # Default is to use stable kernel version # If you want to use latest git version set to "1" DEFAULT_PREFERENCE = "-1" KERNEL_EXTRA_ARGS += "LOADADDR=${UBOOT_ENTRYPOINT}" # 4.9.0 PV = "4.9.0+git${SRCPV}" SRCREV_pn-${PN} = "69973b830859bc6529a7a0468ba0d80ee5117826" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git;protocol=git;branch=master \ file://defconfig \ " S = "${WORKDIR}/git" ```
81c76397-4487-497e-b1db-aeb275aab21b
{ "language": "BitBake" }
```bitbake SUMMARY = "C++ framework for json-rpc 1.0 and 2.0" DESCRIPTION = "JsonRpc-Cpp is an OpenSource implementation of JSON-RPC \ protocol in C++. JSON-RPC is a lightweight remote procedure \ call protocol similar to XML-RPC." HOMEPAGE = "https://github.com/cinemast/libjson-rpc-cpp" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e728c5b36018f6c383b4b9efd9c8840" SECTION = "libs" DEPENDS = "curl jsoncpp libmicrohttpd hiredis" SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp" SRCREV = "4ed5b00dcc409405a19e6d8c6478f703153430e1" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO \ -DBUILD_SHARED_LIBS=YES -DBUILD_STATIC_LIBS=YES \ -DCMAKE_LIBRARY_PATH=${libdir} \ " FILES_${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake" ``` Disable coverage in default build
```bitbake SUMMARY = "C++ framework for json-rpc 1.0 and 2.0" DESCRIPTION = "JsonRpc-Cpp is an OpenSource implementation of JSON-RPC \ protocol in C++. JSON-RPC is a lightweight remote procedure \ call protocol similar to XML-RPC." HOMEPAGE = "https://github.com/cinemast/libjson-rpc-cpp" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=4e728c5b36018f6c383b4b9efd9c8840" SECTION = "libs" DEPENDS = "curl jsoncpp libmicrohttpd hiredis" SRC_URI = "git://github.com/cinemast/libjson-rpc-cpp" SRCREV = "4ed5b00dcc409405a19e6d8c6478f703153430e1" S = "${WORKDIR}/git" PACKAGECONFIG ?= "" PACKAGECONFIG[coverage] = "-DWITH_COVERAGE=YES,-DWITH_COVERAGE=NO,," inherit cmake EXTRA_OECMAKE += "-DCOMPILE_TESTS=NO -DCOMPILE_STUBGEN=NO -DCOMPILE_EXAMPLES=NO \ -DBUILD_SHARED_LIBS=YES -DBUILD_STATIC_LIBS=YES \ -DCMAKE_LIBRARY_PATH=${libdir} \ " FILES_${PN}-dev += "${libdir}/libjson-rpc-cpp/cmake" ```
81acb72d-488b-405c-87cb-a97046c530d1
{ "language": "BitBake" }
```bitbake require u-boot-ti.inc PR = "r27" BRANCH = "ti-u-boot-2020.01" SRCREV = "7b6b1a17bfdae5e4f6fd13f208c36814803f3ba7" ``` Update to the latest commit
```bitbake require u-boot-ti.inc PR = "r28" BRANCH = "ti-u-boot-2020.01" SRCREV = "71ba4a5f933a1f03e8bb72d487a62a877c2135ff" ```
a5f4c32c-72f5-465c-9552-9d010f52a794
{ "language": "BitBake" }
```bitbake DESCRIPTION = "RDM DF Service" HOMEPAGE = "http://www.rademacher.de" LICENSE = "commercial" LIC_FILES_CHKSUM = "file://${THISDIR}/files/license.txt;md5=3ebe3464e841ddbf115af1f7019017c5" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" DEPENDS = "libxml2 libftdi" PV = "1.2.0" SRC_URI = "svn://192.168.1.186/svn/EW_Prj/trunk/;protocol=http;module=DuoFern_Service;rev=3524" S = "${WORKDIR}/DuoFern_Service" inherit autotools pkgconfig EXTRA_OECONF="--prefix=/opt/homepilot" do_configure() { autoreconf -i ${S}/configure --build=${BUILD_SYS} \ --host=${HOST_SYS} \ --target=${TARGET_SYS} \ ${EXTRA_OECONF} } FILES_${PN} += "/opt/homepilot" FILES_${PN}-dbg += "/opt/homepilot/bin/.debug" ``` Update DFService to support RDM sticks only
```bitbake DESCRIPTION = "RDM DF Service" HOMEPAGE = "http://www.rademacher.de" LICENSE = "commercial" LIC_FILES_CHKSUM = "file://${THISDIR}/files/license.txt;md5=3ebe3464e841ddbf115af1f7019017c5" FILESEXTRAPATHS_prepend := "${THISDIR}/files:" DEPENDS = "libxml2 libftdi" PV = "1.2.0" SRC_URI = "svn://192.168.1.186/svn/EW_Prj/trunk/;protocol=http;module=DuoFern_Service;rev=3658" S = "${WORKDIR}/DuoFern_Service" inherit autotools pkgconfig EXTRA_OECONF="--prefix=/opt/homepilot" do_configure() { autoreconf -i ${S}/configure --build=${BUILD_SYS} \ --host=${HOST_SYS} \ --target=${TARGET_SYS} \ ${EXTRA_OECONF} } FILES_${PN} += "/opt/homepilot" FILES_${PN}-dbg += "/opt/homepilot/bin/.debug" ```
4c2907bd-185f-4667-98b0-e56a5aeeefb1
{ "language": "BitBake" }
```bitbake DEPENDS = "clutter-box2d" PV = "0.0+git${SRCREV}" PR = "r1" SRC_URI = "git://moblin.org/repos/users/pippin/prototype.git/;protocol=http \ file://paths.patch;patch=1" S = "${WORKDIR}/git" do_install () { install -d ${D}${bindir} install ${S}/moblin-proto ${D}${bindir} install -d ${D}${datadir}/moblin-proto/ cp -a ${S}/assets ${D}${datadir}/moblin-proto/ cp -a ${S}/layouts ${D}${datadir}/moblin-proto/ } ``` Use the right git server - moblin.org => git.moblin.org
```bitbake DEPENDS = "clutter-box2d" PV = "0.0+git${SRCREV}" PR = "r1" SRC_URI = "git://git.moblin.org/repos/users/pippin/prototype.git/;protocol=http \ file://paths.patch;patch=1" S = "${WORKDIR}/git" do_install () { install -d ${D}${bindir} install ${S}/moblin-proto ${D}${bindir} install -d ${D}${datadir}/moblin-proto/ cp -a ${S}/assets ${D}${datadir}/moblin-proto/ cp -a ${S}/layouts ${D}${datadir}/moblin-proto/ } ```
5b69eeb4-a861-4e0f-90cf-9c77e3dfe954
{ "language": "BitBake" }
```bitbake # Copyright (c) 2013 Hewlett-Packard Development Company, L.P. SUMMARY = "A userspace service that provides access to the Open webOS database" SECTION = "webos/base" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" # db8 is also the provider for mojodb PROVIDES = "mojodb" DEPENDS = "db luna-service2 jemalloc icu pmloglib curl glib-2.0" PR = "r9" inherit webos_component inherit webos_public_repo inherit webos_enhanced_submissions inherit webos_cmake inherit webos_system_bus inherit webos_daemon inherit webos_library inherit webos_system_bus WEBOS_GIT_TAG = "submissions/${WEBOS_SUBMISSION}" SRC_URI = "${OPENWEBOS_GIT_REPO_COMPLETE}" S = "${WORKDIR}/git" #FILES_${PN}-dbg += "${libdir}/${PN}/tests/.debug" ``` Add LevelDB as build dependency for DB8
```bitbake # Copyright (c) 2013 LG Electronics, Inc. SUMMARY = "A userspace service that provides access to the Open webOS database" SECTION = "webos/base" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" # db8 is also the provider for mojodb PROVIDES = "mojodb" DEPENDS = "db luna-service2 jemalloc icu pmloglib curl glib-2.0 leveldb" PR = "r10" inherit webos_component inherit webos_public_repo inherit webos_enhanced_submissions inherit webos_cmake inherit webos_system_bus inherit webos_daemon inherit webos_library inherit webos_system_bus WEBOS_GIT_TAG = "submissions/${WEBOS_SUBMISSION}" SRC_URI = "${OPENWEBOS_GIT_REPO_COMPLETE}" S = "${WORKDIR}/git" #FILES_${PN}-dbg += "${libdir}/${PN}/tests/.debug" ```
ed40dcef-494c-48bf-83dc-fd9be65d126a
{ "language": "BitBake" }
```bitbake require u-boot-ti.inc DESCRIPTION = "u-boot bootloader for TI devices" PR = "r2" SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}" BRANCH ?= "ti-u-boot-2013.01.01" SRCREV = "9aab8612f643ab90df837e743f5435bba2ae68cf" SPL_BINARY = "MLO" ``` Add SRCPV to the PR
```bitbake require u-boot-ti.inc DESCRIPTION = "u-boot bootloader for TI devices" PR = "r3+gitr${SRCPV}" SRC_URI = "git://git.ti.com/ti-u-boot/ti-u-boot.git;protocol=git;branch=${BRANCH}" BRANCH ?= "ti-u-boot-2013.01.01" SRCREV = "9aab8612f643ab90df837e743f5435bba2ae68cf" SPL_BINARY = "MLO" ```
fd634436-9ef6-4dfd-816c-ae184aff57d4
{ "language": "BitBake" }
```bitbake SUMMARY = "A collection of cross-platform QtQuick components for building fluid and dynamic applications" LICENSE = "MPLv2" LIC_FILES_CHKSUM = " \ file://LICENSE.MPL2;md5=815ca599c9df247a0c7f619bab123dad \ " inherit liri SRC_URI += "file://0001-remove-Werror-from-build-flags.patch" PV = "0.9.0+git${SRCPV}" SRCREV = "db128f54be2c65b98bf32e5d60aa1b286f938bfa" S = "${WORKDIR}/git" DEPENDS += " \ qtgraphicaleffects \ qtquickcontrols2 \ qtsvg \ " do_configure_append() { (cd ${S} && ./scripts/fetch_icons.sh) } FILES_${PN} += "${OE_QMAKE_PATH_QML}" FILES_${PN}-dev += "${libdir}/cmake" ``` Add mkspecs to dev subpackage
```bitbake SUMMARY = "A collection of cross-platform QtQuick components for building fluid and dynamic applications" LICENSE = "MPLv2" LIC_FILES_CHKSUM = " \ file://LICENSE.MPL2;md5=815ca599c9df247a0c7f619bab123dad \ " inherit liri SRC_URI += "file://0001-remove-Werror-from-build-flags.patch" PV = "0.9.0+git${SRCPV}" SRCREV = "a6103bd412abe49932964b9f09f69b1a28db530a" S = "${WORKDIR}/git" DEPENDS += " \ qtgraphicaleffects \ qtquickcontrols2 \ qtsvg \ " do_configure_append() { (cd ${S} && ./scripts/fetch_icons.sh) } FILES_${PN} += "${OE_QMAKE_PATH_QML}" FILES_${PN}-dev += " \ ${libdir}/cmake \ ${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs \ " ```
13595fa4-c319-4e5f-93f7-5103f78c9ccb
{ "language": "BitBake" }
```bitbake SUMMARY = "TIDL Network Viewer" DESCRIPTION = "TIDL Network viewer using dot and graphviz" HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html" LICENSE = "BSD" include tidl-api.inc PR = "${INC_PR}.0" DEPENDS = "boost boost-native ti-cgt6x-native clocl-native" S = "${WORKDIR}/git" TARGET_class-target = "arm" TARGET_class-native = "x86" TARGET_class-nativesdk = "x86" EXTRA_OEMAKE = " -C ${S}/viewer \ TARGET=${TARGET} \ TARGET_ROOTDIR=${STAGING_DIR_HOST} \ " do_compile() { oe_runmake } do_install() { install -d ${D}${bindir} install -m 755 ${S}/viewer/${TARGET}/tidl_viewer ${D}${bindir} } BBCLASSEXTEND = "native nativesdk" ``` Fix tidl-viewer x86_64 build CXXFLAGS
```bitbake SUMMARY = "TIDL Network Viewer" DESCRIPTION = "TIDL Network viewer using dot and graphviz" HOMEPAGE = "https://downloads.ti.com/mctools/esd/docs/tidl-api/intro.html" LICENSE = "BSD" include tidl-api.inc PR = "${INC_PR}.1" DEPENDS = "boost boost-native ti-cgt6x-native clocl-native" S = "${WORKDIR}/git" TARGET_class-target = "arm" TARGET_class-native = "x86" TARGET_class-nativesdk = "x86" CXXFLAGS_append_class-native = " -DPLATFORM_64BIT " CXXFLAGS_append_class-nativesdk = " -DPLATFORM_64BIT " EXTRA_OEMAKE = " -C ${S}/viewer \ TARGET=${TARGET} \ TARGET_ROOTDIR=${STAGING_DIR_HOST} \ " do_compile() { oe_runmake } do_install() { install -d ${D}${bindir} install -m 755 ${S}/viewer/${TARGET}/tidl_viewer ${D}${bindir} } BBCLASSEXTEND = "native nativesdk" ```
29a768cb-8d8e-440d-b846-73049b21328c
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Cryptography 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/cryptos_apps" # Make sure crypto submenu and app images has been installed. Also make sure openssl is available RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-cryptos openssl" FILES_${PN} += "${MATRIX_BASE_DIR}/*" ``` Switch to C base crypto applications
```bitbake DESCRIPTION = "Cryptography 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}.2" inherit allarch S = "${WORKDIR}/git/cryptos_apps" # Make sure crypto submenu and app images has been installed. Also make sure openssl is available RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-cryptos openssl ti-crypto-examples" FILES_${PN} += "${MATRIX_BASE_DIR}/*" ```
c57df2ac-2c86-4897-90af-eadcb2c4f13a
{ "language": "BitBake" }
```bitbake SECTION = "console/utils" DESCRIPTION = "Video4linux Two sample applications" LICENSE = "PD" DEPENDS = "libxaw virtual/libx11 libxt" SRC_URI = "http://www.thedirks.org/pub/v4l2/apps/apps${PV}.tgz" S = "${WORKDIR}" #FIXME: currently busted, as it requires v4l2 -kernel headers. #either fix the apps to use headers not in linux/, or make this package #depend on an actual virtual/kernel that supports v4l2. BROKEN = "1" do_install () { install -d ${S}/${bindir} install -m 0755 vcat vctrl vidpanel xcaptest ${D}${bindir}/ } SRC_URI[md5sum] = "16d8cbed24945949956b6f7966f4a609" SRC_URI[sha256sum] = "9ec43259123b89980ad0b5a36b8d582cf877d918019f993f629a9fa5327a5c58" ``` Switch to subdir= in SRC_URI
```bitbake SECTION = "console/utils" DESCRIPTION = "Video4linux Two sample applications" LICENSE = "PD" DEPENDS = "libxaw virtual/libx11 libxt" SRC_URI = "http://www.thedirks.org/pub/v4l2/apps/apps${PV}.tgz;subdir=${BPN}-${PV}" #FIXME: currently busted, as it requires v4l2 -kernel headers. #either fix the apps to use headers not in linux/, or make this package #depend on an actual virtual/kernel that supports v4l2. BROKEN = "1" do_install () { install -d ${S}/${bindir} install -m 0755 vcat vctrl vidpanel xcaptest ${D}${bindir}/ } SRC_URI[md5sum] = "16d8cbed24945949956b6f7966f4a609" SRC_URI[sha256sum] = "9ec43259123b89980ad0b5a36b8d582cf877d918019f993f629a9fa5327a5c58" ```
70c4960c-e853-4823-8365-726d2cac4416
{ "language": "BitBake" }
```bitbake SUMMARY = "C++ library for client-side URL transfers" HOMEPAGE = "http://www.curlpp.org/" SECTION = "libdevel" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" DEPENDS = "curl" DEPENDS_class-native = "curl-native" SRC_URI = "git://github.com/jpbarrette/curlpp.git" SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f" S = "${WORKDIR}/git" inherit cmake pkgconfig binconfig do_install_append () { sed -i 's,${STAGING_DIR_TARGET},,g' ${D}${libdir}/pkgconfig/curlpp.pc } PACKAGES =+ "libcurlpp libcurlpp-dev libcurlpp-staticdev" FILES_lib${BPN} = "${libdir}/lib*.so.*" FILES_lib${BPN}-dev = "${includedir} \ ${libdir}/pkgconfig \ ${bindir}/*-config \ " FILES_lib${BPN}-staticdev = "${libdir}/lib*.a" BBCLASSEXTEND = "native nativesdk" ``` Fix packaging and reference to license
```bitbake SUMMARY = "C++ library for client-side URL transfers" HOMEPAGE = "http://www.curlpp.org/" SECTION = "libdevel" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://doc/LICENSE;md5=fd0c9adf285a69aa3b4faf34384e1029" DEPENDS = "curl" DEPENDS_class-native = "curl-native" SRC_URI = "git://github.com/jpbarrette/curlpp.git" SRCREV = "592552a165cc569dac7674cb7fc9de3dc829906f" S = "${WORKDIR}/git" inherit cmake pkgconfig binconfig BBCLASSEXTEND = "native nativesdk" ```
4d8c2cea-b5fb-4c50-99b4-8ab5696ef4d2
{ "language": "BitBake" }
```bitbake PR = "r4" MAINTAINER = "Oyvind Repvik <[email protected]" DEPENDS = "libol" SRC_URI = "http://www.balabit.com/downloads/syslog-ng/1.6/src/${PN}-${PV}.tar.gz" S = "${WORKDIR}/${PN}-${PV}" inherit autotools EXTRA_OECONF = "--with-libol=${STAGING_BINDIR}/" CONFFILES_${PN} = "${sysconfdir}/${PN}/syslog-ng.conf" do_install_append() { install -d ${D}/${sysconfdir}/${PN} install ${S}/doc/syslog-ng.conf.sample ${D}${sysconfdir}/${PN}/syslog-ng.conf } ``` Add initscript. Remove/reinstall busybox syslog on install/remove. Should work entirely out of the box now
```bitbake PR = "r5" MAINTAINER = "Oyvind Repvik <[email protected]" DESCRIPTION = "Alternative system logger daemon" DEPENDS = "libol" SRC_URI = "http://www.balabit.com/downloads/syslog-ng/1.6/src/${PN}-${PV}.tar.gz \ file://initscript" S = "${WORKDIR}/${PN}-${PV}" inherit autotools update-rc.d EXTRA_OECONF = "--with-libol=${STAGING_BINDIR}/" CONFFILES_${PN} = "${sysconfdir}/${PN}/syslog-ng.conf" INITSCRIPT_NAME = "syslog-ng" do_install_append() { install -d ${D}/${sysconfdir}/${PN} install ${S}/doc/syslog-ng.conf.sample ${D}${sysconfdir}/${PN}/syslog-ng.conf install -d ${D}/${sysconfdir}/init.d install -m 755 ${WORKDIR}/initscript ${D}/${sysconfdir}/init.d/syslog-ng } pkg_postinst() { update-rc.d syslog remove } pkg_postrm() { update-rc.d syslog add 5 } ```
9d373e16-9ef2-408f-a791-42b5481ca66e
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Library for lowlevel pixel operations" SRC_URI = "http://cairographics.org/releases/pixman-${PV}.tar.gz" ``` Fix previous cleanup. Removed too much.
```bitbake SECTION = "libs" PRIORITY = "optional" DESCRIPTION = "Low-level pixel manipulation library." LICENSE = "X11" SRC_URI = "http://cairographics.org/releases/pixman-${PV}.tar.gz" S = "${WORKDIR}/pixman-${PV}" inherit autotools pkgconfig do_stage () { autotools_stage_all } ```
d9c79473-ceac-4c08-9500-bf737f8abdd0
{ "language": "BitBake" }
```bitbake SUMMARY = "Module for Low Power Actions on sitec systems S4 Comm Pro X" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" MAINTAINER = "Robert Lehmann <[email protected]>" inherit module PR = "r1" PV = "${KERNEL_VERSION}" SRC_URI = "file://Makefile \ file://main.c \ file://COPYING \ file://sitec_lp.h \ file://sts_fm.c \ file://sts_fm.h \ " S = "${WORKDIR}" # The inherit of module.bbclass will automatically name module packages with # "kernel-module-" prefix as required by the oe-core build environment. ``` Remove COPYING file from bb file
```bitbake SUMMARY = "Module for Low Power Actions on sitec systems S4 Comm Pro X" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" MAINTAINER = "Robert Lehmann <[email protected]>" inherit module PR = "r1" PV = "${KERNEL_VERSION}" SRC_URI = "file://Makefile \ file://main.c \ file://sitec_lp.h \ file://sts_fm.c \ file://sts_fm.h \ " S = "${WORKDIR}" # The inherit of module.bbclass will automatically name module packages with # "kernel-module-" prefix as required by the oe-core build environment. ```
1b5c24d0-d8c3-4d90-844a-550602e4a59c
{ "language": "BitBake" }
```bitbake SUMMARY = "Stand-alone system tray" DESCRIPTION = "Stalonetray is a stand-alone freedesktop.org and KDE system tray" SECTION = "x11/graphics" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "virtual/libx11" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2" SRC_URI[md5sum] = "ae95dbbacc2620e032acea8abab8c9ef" SRC_URI[sha256sum] = "36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c" inherit autotools ``` Add x11 to required distro feature
```bitbake SUMMARY = "Stand-alone system tray" DESCRIPTION = "Stalonetray is a stand-alone freedesktop.org and KDE system tray" SECTION = "x11/graphics" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" DEPENDS = "virtual/libx11" SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}-${PV}.tar.bz2" SRC_URI[md5sum] = "ae95dbbacc2620e032acea8abab8c9ef" SRC_URI[sha256sum] = "36548a588b2d466913423245dda6ffb6313132cd0cec635a117d37b3dab5fd4c" inherit autotools features_check REQUIRED_DISTRO_FEATURES = "x11" ```
e76fd23f-0f0e-4f1f-96f1-dce95e4303a7
{ "language": "BitBake" }
```bitbake DESCRIPTION = "library implementing Secure RTP (RFC 3711)" HOMEPAGE = "https://github.com/cisco/libsrtp" SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=15bc16b9d2e305974dde47e733883714" S = "${WORKDIR}/git" SRCREV = "2b091a4fb21c9b06fc5d4b5763bdaec97542fcd7" SRC_URI = "git://github.com/cisco/libsrtp.git;protocol=https;branch=1_6_x_throttle; \ file://0001-Rename-conflicting-variable-mips.patch \ " inherit autotools ALLOW_EMPTY_${PN} = "1" ``` Fix compilation and add pkgconfig
```bitbake DESCRIPTION = "library implementing Secure RTP (RFC 3711)" HOMEPAGE = "https://github.com/cisco/libsrtp" SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=15bc16b9d2e305974dde47e733883714" S = "${WORKDIR}/git" SRCREV = "2b091a4fb21c9b06fc5d4b5763bdaec97542fcd7" SRC_URI = "git://github.com/cisco/libsrtp.git;protocol=https;branch=1_6_x_throttle; \ file://0001-Rename-conflicting-variable-mips.patch \ " inherit autotools pkgconfig EXTRA_OEMAKE += "shared_library" ALLOW_EMPTY_${PN} = "1" ```
c0f08b4e-42f1-4edb-b643-fb480a3819e7
{ "language": "BitBake" }
```bitbake DESCRIPTION = "MPEG Audio Decoder Library" SECTION = "libs" PRIORITY = "optional" DEPENDS = "libid3tag" LICENSE = "GPL" PR = "r5" SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \ file://add-pkgconfig.patch \ file://mad.diff \ file://mad-mips-h-constraint.patch" S = "${WORKDIR}/libmad-${PV}" SRC_URI_append_avr32 = " file://libmad-0.15.1b-avr32-optimization.patch" inherit autotools pkgconfig EXTRA_OECONF = "-enable-speed --enable-shared" # The ASO's don't take any account of thumb... EXTRA_OECONF_append_thumb = " --disable-aso --enable-fpm=default" EXTRA_OECONF_append_arm = " --enable-fpm=arm" do_configure_prepend () { # damn picky automake... touch NEWS AUTHORS ChangeLog } ARM_INSTRUCTION_SET = "arm" SRC_URI[md5sum] = "1be543bc30c56fb6bea1d7bf6a64e66c" SRC_URI[sha256sum] = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690" ``` Update LICENSE field version to GPLv2
```bitbake DESCRIPTION = "MPEG Audio Decoder Library" SECTION = "libs" PRIORITY = "optional" DEPENDS = "libid3tag" LICENSE = "GPLv2" PR = "r6" SRC_URI = "${SOURCEFORGE_MIRROR}/mad/libmad-${PV}.tar.gz \ file://add-pkgconfig.patch \ file://mad.diff \ file://mad-mips-h-constraint.patch" S = "${WORKDIR}/libmad-${PV}" SRC_URI_append_avr32 = " file://libmad-0.15.1b-avr32-optimization.patch" inherit autotools pkgconfig EXTRA_OECONF = "-enable-speed --enable-shared" # The ASO's don't take any account of thumb... EXTRA_OECONF_append_thumb = " --disable-aso --enable-fpm=default" EXTRA_OECONF_append_arm = " --enable-fpm=arm" do_configure_prepend () { # damn picky automake... touch NEWS AUTHORS ChangeLog } ARM_INSTRUCTION_SET = "arm" SRC_URI[md5sum] = "1be543bc30c56fb6bea1d7bf6a64e66c" SRC_URI[sha256sum] = "bbfac3ed6bfbc2823d3775ebb931087371e142bb0e9bb1bee51a76a6e0078690" ```
b82b63bd-98b5-41f3-aa77-82dd12861daf
{ "language": "BitBake" }
```bitbake # Copyright (C) 2017 Aaron Brice <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Administration tool for IP sets" HOMEPAGE = "http://ipset.netfilter.org" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SECTION = "base" DEPENDS = "libtool libmnl" RDEPENDS_${PN} = "kernel-module-ip-set" SRC_URI = "http://ftp.netfilter.org/pub/ipset/${PN}-${PV}.tar.bz2" SRC_URI[md5sum] = "0e5d9c85f6b78e7dff0c996e2900574b" SRC_URI[sha256sum] = "ceef625ba31fe0aaa422926c7231a819de0b07644c02c17ebdd3022a29e3e244" inherit autotools pkgconfig module-base EXTRA_OECONF += "-with-kbuild=${KBUILD_OUTPUT} --with-ksource=${STAGING_KERNEL_DIR}" ``` Replace need for BPN-PV with BP
```bitbake # Copyright (C) 2017 Aaron Brice <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Administration tool for IP sets" HOMEPAGE = "http://ipset.netfilter.org" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" SECTION = "base" DEPENDS = "libtool libmnl" RDEPENDS_${PN} = "kernel-module-ip-set" SRC_URI = "http://ftp.netfilter.org/pub/ipset/${BP}.tar.bz2" SRC_URI[md5sum] = "0e5d9c85f6b78e7dff0c996e2900574b" SRC_URI[sha256sum] = "ceef625ba31fe0aaa422926c7231a819de0b07644c02c17ebdd3022a29e3e244" inherit autotools pkgconfig module-base EXTRA_OECONF += "-with-kbuild=${KBUILD_OUTPUT} --with-ksource=${STAGING_KERNEL_DIR}" ```
7da09e58-9880-45a4-90be-2d2674bd8c8c
{ "language": "BitBake" }
```bitbake require base-rootfs.inc RECIPE_OPTIONS = "base_rootfs_ext2_options" inherit ext2-image DEFAULT_CONFIG_base_rootfs_ext2_options = "--faketime --squash" EXT2_IMAGE_OPTIONS = "${RECIPE_OPTION_base_rootfs_ext2_options}" inherit tar-image ``` Change default base_rootfs_ext2_options to also --allow-holes
```bitbake require base-rootfs.inc RECIPE_OPTIONS = "base_rootfs_ext2_options" inherit ext2-image DEFAULT_CONFIG_base_rootfs_ext2_options = "-z -q -f" EXT2_IMAGE_OPTIONS = "${RECIPE_OPTION_base_rootfs_ext2_options}" inherit tar-image ```