doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
b832acde-20be-4ac9-9c9d-b4e2ac29ed17
{ "language": "BitBake" }
```bitbake SUMMARY = "Data files for usbmodeswitch" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" inherit allarch SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2" SRC_URI[md5sum] = "0cc107cd0c4c83df0d9400c999e21dfd" SRC_URI[sha256sum] = "e2dcfd9d28928d8d8f03381571a23442b3c50d48d343bc40a1a07d01662738d1" do_install() { oe_runmake install DESTDIR=${D} } RDEPENDS_${PN} = "usb-modeswitch (>= 2.4.0)" FILES_${PN} += "${base_libdir}/udev/rules.d/ \ ${datadir}/usb_modeswitch" ``` Add dep on native tcl
```bitbake SUMMARY = "Data files for usbmodeswitch" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" inherit allarch DEPENDS += "tcl-native" SRC_URI = "http://www.draisberghof.de/usb_modeswitch/${BP}.tar.bz2" SRC_URI[md5sum] = "0cc107cd0c4c83df0d9400c999e21dfd" SRC_URI[sha256sum] = "e2dcfd9d28928d8d8f03381571a23442b3c50d48d343bc40a1a07d01662738d1" do_install() { oe_runmake install DESTDIR=${D} } RDEPENDS_${PN} = "usb-modeswitch (>= 2.4.0)" FILES_${PN} += "${base_libdir}/udev/rules.d/ \ ${datadir}/usb_modeswitch" ```
3051507d-f319-4cf3-9134-9aa425ef1c26
{ "language": "BitBake" }
```bitbake # Add DSP and gstreamer packages to console image require tvp5151-console-image.bb PR = "1" DSP_INSTALL += " \ gstreamer-ti \ gst-plugins-good-meta \ gst-plugins-bad-meta \ " QT_TOOLS = " \ qt4-embedded-dev\ qt4-embedded \ " IMAGE_INSTALL += " \ ${DSP_INSTALL} \ ${QT_TOOLS} \ " export IMAGE_BASENAME = "tvp5151-dsp-image" ``` Add gstreamer base plugins to dsp image (for videotestsrc)
```bitbake # Add DSP and gstreamer packages to console image require tvp5151-console-image.bb PR = "1" DSP_INSTALL += " \ gstreamer-ti \ gst-plugins-base-meta \ gst-plugins-good-meta \ gst-plugins-bad-meta \ " QT_TOOLS = " \ qt4-embedded-dev\ qt4-embedded \ " IMAGE_INSTALL += " \ ${DSP_INSTALL} \ ${QT_TOOLS} \ " export IMAGE_BASENAME = "tvp5151-dsp-image" ```
8a4a0e73-538b-4cbc-b846-dcfd886b0a8c
{ "language": "BitBake" }
```bitbake SUMMMARY = "PLOS Testing tools/applications" LICENSE = "MIT" PR = "r1" inherit packagegroup # Requires touchscreen in machine features to work USE_TS = " \ evtest \ " # Different touchscreen tools TSTOOLS = " \ ${@base_contains('MACHINE_FEATURES', 'touchscreen', '${USE_TS}', '',d)} \ " # Different simple serial bus tools SERBUSTOOLS = " \ i2c-tools \ " RDEPENDS_${PN} = " \ ${TSTOOLS} \ ${SERBUSTOOLS} \ webmin \ " ``` Update tools testapp package group
```bitbake SUMMMARY = "PLOS Testing tools/applications" LICENSE = "MIT" PR = "r1" inherit packagegroup # Requires touchscreen in machine features to work USE_TS = " \ evtest \ " # Different touchscreen tools #TSTOOLS = " \ # ${@base_contains('MACHINE_FEATURES', 'touchscreen', '${USE_TS}', '',d)} \ #" # Different simple serial bus tools SERBUSTOOLS = " \ i2c-tools \ " RDEPENDS_${PN} = " \ ${TSTOOLS} \ ${SERBUSTOOLS} \ webmin \ " ```
e6247478-16ba-4e52-8c37-a71d17b5689d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Driver for zd1211 family of wireless USB Dongles" PRIORITY = "optional" SECTION = "kernel/modules" MAINTAINER = "dyoung <[email protected]>" LICENSE = "GPL" PR = "r1" DEPENDS = "wireless-tools" SRC_URI = "http://download.sourceforge.net/zd1211/sf_zd1211_${PV}_src.tar.gz \ file://makefile.patch;patch=1" S = "${WORKDIR}/zd1211" inherit module #do_compile_prepend() { # cp -f ${WORKDIR}/Makefile ${S}/ #} do_compile () { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP oe_runmake 'KSRC=${STAGING_KERNEL_DIR}' \ 'KDIR=${STAGING_KERNEL_DIR}' \ 'CC="${KERNEL_CC}"' \ 'LD="${KERNEL_LD}"' } do_install() { install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net install -m 0644 ${S}/src/modules-${KERNEL_VERSION}/*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net } ``` Change DEPENDS to RDEPENDS for wireless-tools
```bitbake DESCRIPTION = "Driver for zd1211 family of wireless USB Dongles" PRIORITY = "optional" SECTION = "kernel/modules" MAINTAINER = "dyoung <[email protected]>" LICENSE = "GPL" PR = "r2" RDEPENDS = "wireless-tools" SRC_URI = "http://download.sourceforge.net/zd1211/sf_zd1211_${PV}_src.tar.gz \ file://makefile.patch;patch=1" S = "${WORKDIR}/zd1211" inherit module #do_compile_prepend() { # cp -f ${WORKDIR}/Makefile ${S}/ #} do_compile () { unset CFLAGS CPPFLAGS CXXFLAGS LDFLAGS CC LD CPP oe_runmake 'KSRC=${STAGING_KERNEL_DIR}' \ 'KDIR=${STAGING_KERNEL_DIR}' \ 'CC="${KERNEL_CC}"' \ 'LD="${KERNEL_LD}"' } do_install() { install -d ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net install -m 0644 ${S}/src/modules-${KERNEL_VERSION}/*${KERNEL_OBJECT_SUFFIX} ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net } ```
43d6e146-29b1-4ea6-8449-be19bd69e377
{ "language": "BitBake" }
```bitbake LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://splash/main.qml;beginline=2;endline=18;md5=ab5c18ec5cfda84f5423a5ebe94dcb01" inherit kde-workaround-tmp require kde4.inc SRC_URI = "svn://anonsvn.kde.org/home/kde;module=trunk/playground/base/plasma/kde-artwork-active;proto=svn" SRCREV = "1266939" PV = "0.2+svnr${SRCPV}" S = "${WORKDIR}/trunk/playground/base/plasma/kde-artwork-active/" FILES_${PN} += "\ ${datadir}/apps/ksplash/* \ ${datadir}/apps/kscreenlocker/* \ ${datadir}/wallpapers/* \ "``` Fix cross compiling issue gracefully
```bitbake LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://splash/main.qml;beginline=2;endline=18;md5=ab5c18ec5cfda84f5423a5ebe94dcb01" DEPENDS = "kdelibs4" require kde4.inc SRC_URI = "svn://anonsvn.kde.org/home/kde;module=trunk/playground/base/plasma/kde-artwork-active;proto=svn" SRCREV = "1266939" PV = "0.2+svnr${SRCPV}" S = "${WORKDIR}/trunk/playground/base/plasma/kde-artwork-active/" FILES_${PN} += "\ ${datadir}/apps/ksplash/* \ ${datadir}/apps/kscreenlocker/* \ ${datadir}/wallpapers/* \ " EXTRA_OECMAKE =+ "-DOE_CROSSCOMPILING=TRUE" ```
990a76c3-d595-4ec3-9b18-f747e43ea268
{ "language": "BitBake" }
```bitbake # # Base recipe: meta/recipes-support/popt/popt_1.16.bb # Base branch: daisy # SUMMARY = "Library for parsing command line options" HOMEPAGE = "http://rpm5.org/" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=cb0613c30af2a8249b8dcc67d3edb06d" inherit autotools gettext # popt_fix_for_automake-1.12.patch: already applied in 1.16-10 SRC_URI += " \ file://pkgconfig_fix.patch \ file://disable_tests.patch \ " # Preprocessing directive #elseif should be #elif # so change it. do_compile_prepend(){ sed -i s@"#elseif"@"#elif"@g ${S}/system.h } ``` Add native and nativesdk to BBCLASSEXTEND
```bitbake # # Base recipe: meta/recipes-support/popt/popt_1.16.bb # Base branch: daisy # SUMMARY = "Library for parsing command line options" HOMEPAGE = "http://rpm5.org/" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=cb0613c30af2a8249b8dcc67d3edb06d" inherit autotools gettext # popt_fix_for_automake-1.12.patch: already applied in 1.16-10 SRC_URI += " \ file://pkgconfig_fix.patch \ file://disable_tests.patch \ " # Preprocessing directive #elseif should be #elif # so change it. do_compile_prepend(){ sed -i s@"#elseif"@"#elif"@g ${S}/system.h } BBCLASSEXTEND = "native nativesdk" ```
5f59fcc2-5ab0-403e-8c1c-de11f8afb3e1
{ "language": "BitBake" }
```bitbake require u-boot.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-omap3-git/" SRCREV = "060955e39770b68b3cc0516b3641ca98e58d2d4a" PV = "2009.08+${PR}+git${SRCREV}" PR = "r10" PE = "1" SRC_URI = "git://git.denx.de/u-boot-ti.git;protocol=git \ file://fw_env.config \ file://tincan.patch;patch=1 \ " S = "${WORKDIR}/git" ``` Change SRCREV to commit prior to SDRC init breakage
```bitbake require u-boot.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-omap3-git/" SRCREV = "1590f84007e2b50ad346a482fff89195cb04ff4e" PV = "2009.08+${PR}+git${SRCREV}" PR = "r11" PE = "1" SRC_URI = "git://git.denx.de/u-boot-ti.git;protocol=git \ file://fw_env.config \ file://tincan.patch;patch=1 \ " S = "${WORKDIR}/git" ```
7754316b-32e6-489e-a889-15d6f5102a5b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "RPC program number mapper." SECTION = "console/network" LICENSE = "GPL" RDEPENDS = "portmap-utils" PR = "r4" SRC_URI = "http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5.orig.tar.gz \ http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \ file://no-libwrap.patch;patch=1;pnum=0 \ file://portmap.init \ file://make.patch;patch=1" S = "${WORKDIR}/portmap_5beta" PACKAGES =+ "portmap-utils" FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump" FILES_${PN}-doc += "${docdir}" INITSCRIPT_NAME = "portmap" INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ." inherit update-rc.d sbindir = "/sbin" do_compile() { oe_runmake } do_install() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap oe_runmake 'docdir=${docdir}/portmap' \ 'DESTDIR=${D}' install } ``` Correct commit. Back out the RDEPENDS from portmap
```bitbake DESCRIPTION = "RPC program number mapper." SECTION = "console/network" LICENSE = "GPL" PR = "r5" SRC_URI = "http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_5.orig.tar.gz \ http://www.uk.debian.org/debian/pool/main/p/portmap/portmap_${PV}.diff.gz;patch=1 \ file://no-libwrap.patch;patch=1;pnum=0 \ file://portmap.init \ file://make.patch;patch=1" S = "${WORKDIR}/portmap_5beta" PACKAGES =+ "portmap-utils" FILES_portmap-utils = "/sbin/pmap_set /sbin/pmap_dump" FILES_${PN}-doc += "${docdir}" INITSCRIPT_NAME = "portmap" INITSCRIPT_PARAMS = "start 43 S . start 32 0 6 . stop 81 1 ." inherit update-rc.d sbindir = "/sbin" do_compile() { oe_runmake } do_install() { install -d ${D}${sysconfdir}/init.d install -m 0755 ${WORKDIR}/portmap.init ${D}${sysconfdir}/init.d/portmap oe_runmake 'docdir=${docdir}/portmap' \ 'DESTDIR=${D}' install } ```
c378f218-b472-4839-8690-b9aab07f0696
{ "language": "BitBake" }
```bitbake ## Reminder: Tabs should not be used (use spaces instead) in : install -d ${D}${bindir} ## Reminder: Tabs should not be used (use spaces instead) in : for binary in `find . -perm 0755 -type f` ## Reminder: Tabs should not be used (use spaces instead) in : do ## Reminder: Tabs should not be used (use spaces instead) in : install -m 0755 $binary ${D}${bindir} ## Reminder: Tabs should not be used (use spaces instead) in : done DESCRIPTION = "Real-time tests, such as cyclictest." HOMEPAGE = "http://rt.wiki.kernel.org/index.php/Cyclictest" LICENSE = "GPL" PR = "r0" SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/tglx/rt-tests/rt-tests-${PV}.tar.bz2" S = "${WORKDIR}/rt-tests" do_install() { install -d ${D}${bindir} for binary in `find . -perm 0755 -type f` do install -m 0755 $binary ${D}${bindir} done } ``` Fix detection of executables in do_install().
```bitbake DESCRIPTION = "Real-time tests, such as cyclictest, for real-time linux PREEMPT RT kernels" HOMEPAGE = "http://rt.wiki.kernel.org/index.php/Cyclictest" LICENSE = "GPL" PR = "r2" SRC_URI = "http://www.kernel.org/pub/linux/kernel/people/tglx/rt-tests/rt-tests-${PV}.tar.bz2" S = "${WORKDIR}/rt-tests" # Limit to cyclictest only for non-real-time kernels. # EXTRA_OEMAKE = "cyclictest" do_install() { install -d ${D}${bindir} # any file that is executable by user and/or group for binary in `find . -perm /u+x,g+x -type f` do install -m 0755 $binary ${D}${bindir} done } ```
fdccce90-0c35-426d-bdaa-d828e52031b4
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Linux Kernel for x86 compatible machines" SECTION = "kernel" LICENSE = "GPL" PR = "r1" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 " SRC_URI_append_x86 = "file://i486-defconfig" SRC_URI_append_i586-generic = "file://i586-defconfig" SRC_URI_append_i686-generic = "file://i686-defconfig" S = "${WORKDIR}/linux-${PV}" inherit kernel COMPATIBLE_HOST = "i.86.*-linux" KERNEL_IMAGETYPE = "bzImage" do_configure_prepend_x86() { install -m 0644 ${WORKDIR}/i486-defconfig ${S}/.config } do_configure_prepend_i586-generic() { install -m 0644 ${WORKDIR}/i586-defconfig ${S}/.config } do_configure_prepend_i686() { install -m 0644 ${WORKDIR}/i686-defconfig ${S}/.config } ``` Add deploying of kernel image again.
```bitbake DESCRIPTION = "Linux Kernel for x86 compatible machines" SECTION = "kernel" LICENSE = "GPL" PR = "r2" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-${PV}.tar.bz2 " SRC_URI_append_x86 = "file://i486-defconfig" SRC_URI_append_i586-generic = "file://i586-defconfig" SRC_URI_append_i686-generic = "file://i686-defconfig" S = "${WORKDIR}/linux-${PV}" inherit kernel COMPATIBLE_HOST = "i.86.*-linux" KERNEL_IMAGETYPE = "bzImage" do_configure_prepend_x86() { install -m 0644 ${WORKDIR}/i486-defconfig ${S}/.config } do_configure_prepend_i586-generic() { install -m 0644 ${WORKDIR}/i586-defconfig ${S}/.config } do_configure_prepend_i686() { install -m 0644 ${WORKDIR}/i686-defconfig ${S}/.config } do_deploy() { install -d ${DEPLOY_DIR_IMAGE} install -m 0644 arch/i386/boot/${KERNEL_IMAGETYPE} ${DEPLOY_DIR_IMAGE}/${KERNEL_IMAGETYPE}-${PV}-${MACHINE}-${DATETIME} } do_deploy[dirs] = "${S}" addtask deploy before do_populate_staging after do_compile ```
454f5ba3-50ad-425a-9fce-36b76f0ff45a
{ "language": "BitBake" }
```bitbake DESCRIPTION = "libdaemon is a lightweight C library that eases the writing of UNIX daemons." SECTION = "libs" AUTHOR = "Lennart Poettering <[email protected]>" HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" LICENSE = "LGPL" PR = "r0" SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" inherit autotools pkgconfig EXTRA_OECONF = "--disable-lynx --disable-doxygen" SRC_URI[md5sum] = "ae9113fcd825d5a7f07e5ddccb3c3102" SRC_URI[sha256sum] = "bd949d459d2da54f1cdfbd1f4592e32541e8a195aca56fa7a8329ed79836d709" ``` Update LICENSE field version to LGPLv2.1
```bitbake DESCRIPTION = "libdaemon is a lightweight C library that eases the writing of UNIX daemons." SECTION = "libs" AUTHOR = "Lennart Poettering <[email protected]>" HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" LICENSE = "LGPLv2.1+" PR = "r1" SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" inherit autotools pkgconfig EXTRA_OECONF = "--disable-lynx --disable-doxygen" SRC_URI[md5sum] = "ae9113fcd825d5a7f07e5ddccb3c3102" SRC_URI[sha256sum] = "bd949d459d2da54f1cdfbd1f4592e32541e8a195aca56fa7a8329ed79836d709" ```
1293a209-c063-4c39-8339-1cfcc572911c
{ "language": "BitBake" }
```bitbake require libav.inc LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \ file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ " # When bumping SRCREV make sure you bump PR here and in dependant recipes (gst-ffmpeg, gnash, omxil, etc) to account for SOVERSION changes SRCREV = "62c473934822afd317dfef27754a0ff71f58ce2a" PV = "0.6.5" PR = "${INC_PR}.0" SRC_URI = "git://git.libav.org/libav.git;protocol=git;branch=release/0.6" S = "${WORKDIR}/git" ``` Update git version to 2012-10-04 snapshot
```bitbake require libav.inc LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \ file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02" DEPENDS += "libpostproc" PV = "0.8.99+git${SRCPV}" PR = "${INC_PR}.0" DEFAULT_PREFERENCE = "-1" # When bumping SRCREV make sure you bump PR here and in dependant # recipes (gst-ffmpeg, gnash, omxil, etc) to account for SOVERSION # changes SRCREV = "4673a5a761f329af0aa56fc84f34ed898188bfa2" SRC_URI = "git://git.libav.org/libav.git;protocol=git" S = "${WORKDIR}/git" # postproc has been split EXTRA_OECONF := "${@oe_filter_out('--enable-postproc', '${EXTRA_OECONF}', d)}" ```
35238bbe-08f6-40b6-9d6c-4189790ee5d4
{ "language": "BitBake" }
```bitbake DESCRIPTION = "A mode switching tool for controlling 'flip flop' (multiple device) USB gear" SECTION = "base" PRIORITY = "required" LICENSE = "GPLv2" DEPENDS = "virtual/libusb0" PR = "r2" SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2" SRC_URI[md5sum] = "a04db36bd0fc6fb303df7567f677b714" SRC_URI[sha256sum] = "c20abfdf9d46fb83e1b82f961a9f6ec8064bed3304155b6e1af7cf596845d0d0" FILES_${PN} = "${bindir} ${sysconfdir} ${base_libdir}/udev/usb_modeswitch" RPROVIDES_${PN} += "usbmodeswitch" RREPLACES_${PN} += "usbmodeswitch" RRECOMMENDS_${PN} = "usb-modeswitch-data" do_install() { oe_runmake install DESTDIR=${D} } ``` Add sbin dir to package
```bitbake DESCRIPTION = "A mode switching tool for controlling 'flip flop' (multiple device) USB gear" SECTION = "base" PRIORITY = "required" LICENSE = "GPLv2" DEPENDS = "virtual/libusb0" PR = "r3" SRC_URI = "http://www.draisberghof.de/usb_modeswitch/usb-modeswitch-${PV}.tar.bz2" SRC_URI[md5sum] = "a04db36bd0fc6fb303df7567f677b714" SRC_URI[sha256sum] = "c20abfdf9d46fb83e1b82f961a9f6ec8064bed3304155b6e1af7cf596845d0d0" FILES_${PN} = "${bindir} ${sysconfdir} ${base_libdir}/udev/usb_modeswitch ${sbindir}" RPROVIDES_${PN} += "usbmodeswitch" RREPLACES_${PN} += "usbmodeswitch" RRECOMMENDS_${PN} = "usb-modeswitch-data" do_install() { oe_runmake install DESTDIR=${D} } ```
b42a803a-bcc6-43d2-9793-640bef9ba740
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Utilities for working with generic SCSI devices" AUTHOR = "Eric Schwartz (Skif) <[email protected]>" HOMEPAGE = "http://packages.qa.debian.org/s/sg3-utils.html" SECTION = "console/admin" LICENSE = "GPLv2" AUTHOR = "Eric Schwartz (Skif) <[email protected]>" PR = "r2" TARGET_CC_ARCH += "${LDFLAGS}" SRC_URI = "${DEBIAN_MIRROR}/main/s/sg3-utils/sg3-utils_${PV}.orig.tar.gz \ file://Makefile-r1.patch" S = "${WORKDIR}/sg3-utils-${PV}" inherit autotools EXTRA_OEMAKE='"LIBTOOL=${STAGING_BINDIR_NATIVE}/${HOST_SYS}-libtool"' SRC_URI[md5sum] = "9e1b8811b013d8f97d8ea2e0942cebad" SRC_URI[sha256sum] = "0a06dae84a8f7f464c0c29c78a8f73f24a62894a2d3fc10b5f74a993f7b5abfe" ``` Switch to getting libtool from PATH
```bitbake DESCRIPTION = "Utilities for working with generic SCSI devices" AUTHOR = "Eric Schwartz (Skif) <[email protected]>" HOMEPAGE = "http://packages.qa.debian.org/s/sg3-utils.html" SECTION = "console/admin" LICENSE = "GPLv2" AUTHOR = "Eric Schwartz (Skif) <[email protected]>" PR = "r3" TARGET_CC_ARCH += "${LDFLAGS}" SRC_URI = "${DEBIAN_MIRROR}/main/s/sg3-utils/sg3-utils_${PV}.orig.tar.gz \ file://Makefile-r1.patch" S = "${WORKDIR}/sg3-utils-${PV}" inherit autotools LIBTOOL = "${HOST_SYS}-libtool" EXTRA_OEMAKE = "'LIBTOOL=${LIBTOOL}'" SRC_URI[md5sum] = "9e1b8811b013d8f97d8ea2e0942cebad" SRC_URI[sha256sum] = "0a06dae84a8f7f464c0c29c78a8f73f24a62894a2d3fc10b5f74a993f7b5abfe" ```
117c70bb-5447-4834-9649-27526d4f6cd3
{ "language": "BitBake" }
```bitbake # # base recipe: recipes-devtools/quilt/quilt_0.65.bb # base branch: master # base commit: 821a6f2a170cfcaf8fe51240a2558ae06328a998 # require quilt.inc inherit gettext RDEPENDS_${PN}-ptest += "coreutils patch" do_install_ptest_append() { # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=909398 rm ${D}${PTEST_PATH}/test/push_timeskew.test } ``` Revert "quilt: fix ptest failure"
```bitbake # # base recipe: recipes-devtools/quilt/quilt_0.65.bb # base branch: master # base commit: 821a6f2a170cfcaf8fe51240a2558ae06328a998 # require quilt.inc inherit gettext ```
38b68531-f32b-4866-b034-8efd2d87dd94
{ "language": "BitBake" }
```bitbake SRC_URI = "cvs://[email protected]/openwrt;module=openwrt/target/utils/src;tag=TESTED" S = "${WORKDIR}/src/" inherit native do_compile() { ${CC} -o trx trx.c ${CC} -o motorola-bin motorola-bin.c ${CC} -o addpattern addpattern.c } do_stage() { install -m 0755 ${S}/trx ${STAGING_BINDIR} install -m 0755 ${S}/motorola-bin ${STAGING_BINDIR} install -m 0755 ${S}/addpattern ${STAGING_BINDIR} }``` Fix do_fetch by taking svn snapshot until OE can handle SVN by itself. Fixes 1735.
```bitbake #SRC_URI = "svn://svn.openwrt.org/openwrt;module=trunk/tools/firmware-utils/src;proto=https" SRC_URI = ${SOURCEFORGE_MIRROR}/gakusei/openwrt-imagetools-svn-rev7641.tar.bz2 S = "${WORKDIR}/src/" inherit native do_compile() { ${CC} -o trx trx.c ${CC} -o motorola-bin motorola-bin.c ${CC} -o addpattern addpattern.c } do_stage() { install -m 0755 ${S}/trx ${STAGING_BINDIR} install -m 0755 ${S}/motorola-bin ${STAGING_BINDIR} install -m 0755 ${S}/addpattern ${STAGING_BINDIR} } ```
f2963f38-b63b-46c3-9595-c9210923e88b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Hardware drivers for VuPlus" SECTION = "base" PRIORITY = "required" LICENSE = "proprietary" def get_modules_extension(bb, d): if bb.data.getVar('GLIBC_ADDONS', d, 1) in ['nptl']: return "-gcc4.1" return "" KV = "2.6.18-7.3" PV = "${KV}" SRCDATE = "20100719" RDEPENDS = "initscripts-vuplus kernel (${KV}) kernel-module-firmware-class kernel-module-input kernel-module-evdev kernel-module-i2c-core kernel-module-snd kernel-module-snd-pcm" PR = "r19-${SRCDATE}" DOWNLOADMACHINE = "${MACHINE}" DOWNLOADMACHINE_vuduo = "bm750" SRC_URI = "http://archive.vuplus.com/download/drivers/mbox-dvb-modules-${DOWNLOADMACHINE}-${KV}-${SRCDATE}.tar.gz " S = "${WORKDIR}" do_install() { install -d ${D}/lib/modules/${KV}/extra for f in *.ko; do install -m 0644 ${WORKDIR}/$f ${D}/lib/modules/${KV}/extra/$f; done } PACKAGE_ARCH := "${MACHINE_ARCH}" FILES_${PN} = "/" ``` Update vuduo drivers to 2010-08-27
```bitbake DESCRIPTION = "Hardware drivers for VuPlus" SECTION = "base" PRIORITY = "required" LICENSE = "proprietary" def get_modules_extension(bb, d): if bb.data.getVar('GLIBC_ADDONS', d, 1) in ['nptl']: return "-gcc4.1" return "" KV = "2.6.18-7.3" PV = "${KV}" SRCDATE = "20100827" RDEPENDS = "initscripts-vuplus kernel (${KV}) kernel-module-firmware-class kernel-module-input kernel-module-evdev kernel-module-i2c-core kernel-module-snd kernel-module-snd-pcm" PR = "r19-${SRCDATE}" DOWNLOADMACHINE = "${MACHINE}" DOWNLOADMACHINE_vuduo = "bm750" SRC_URI = "http://archive.vuplus.com/download/drivers/mbox-dvb-modules-${DOWNLOADMACHINE}-${KV}-${PREFERRED_VERSION_gcc}-${SRCDATE}.tar.gz" S = "${WORKDIR}" do_install() { install -d ${D}/lib/modules/${KV}/extra for f in *.ko; do install -m 0644 ${WORKDIR}/$f ${D}/lib/modules/${KV}/extra/$f; done } PACKAGE_ARCH := "${MACHINE_ARCH}" FILES_${PN} = "/" ```
7c41d50d-5784-47f4-a292-b2176b317bd7
{ "language": "BitBake" }
```bitbake require libxslt.inc PR = "${INC_PR}.0" do_stage () { autotools_stage_all } SRC_URI[archive.md5sum] = "59fe34e85692f71df2a38c2ee291b3ca" SRC_URI[archive.sha256sum] = "ccefd4ceb29bb729dcaa9a9d4a86654a9134adfd29bdd72be1a9d3726efb54e0" ``` Convert old version to new staging
```bitbake require libxslt.inc PR = "${INC_PR}.0" SRC_URI[archive.md5sum] = "59fe34e85692f71df2a38c2ee291b3ca" SRC_URI[archive.sha256sum] = "ccefd4ceb29bb729dcaa9a9d4a86654a9134adfd29bdd72be1a9d3726efb54e0" ```
c7152568-234f-4a56-b93f-d47762df4fbd
{ "language": "BitBake" }
```bitbake require libgpg-error.inc PR = "${INC_PR}.1" SRC_URI[md5sum] = "86e60e9a03205fb706e99be101a2387e" SRC_URI[sha256sum] = "fff67ec5ffc93cf91fc62350a19a9f677c9bc6eb2730395d22f9d40c754ed619" ``` Update LICENSE field version to GPLv2 and LGPLv2.1
```bitbake require libgpg-error.inc LICENSE = "GPLv2 LGPLv2.1" PR = "${INC_PR}.2" SRC_URI[md5sum] = "86e60e9a03205fb706e99be101a2387e" SRC_URI[sha256sum] = "fff67ec5ffc93cf91fc62350a19a9f677c9bc6eb2730395d22f9d40c754ed619" ```
8b048847-cb95-4525-8514-73b13e44687b
{ "language": "BitBake" }
```bitbake # yocto-bsp-filename {{=example_recipe_name}}_0.1.bb # # This file was derived from the 'Hello World!' example recipe in the # Yocto Project Development Manual. # SUMMARY = "SBSA ACS commandline application" SECTION = "meta-luv" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" SRC_URI = "file://sbsa_app_main.c \ file://sbsa_app_pcie.c \ file://sbsa_drv_intf.c \ file://include/sbsa_drv_intf.h \ file://include/sbsa_app.h \ https://raw.githubusercontent.com/ARM-software/sbsa-acs/master/val/include/sbsa_avs_common.h \ " SRC_URI[md5sum] = "67ac822ba7b3a74c355c81663d8c7f21" S = "${WORKDIR}" do_compile() { ${CC} sbsa_app_main.c sbsa_app_pcie.c sbsa_drv_intf.c -o sbsa } do_install() { install -d ${D}${bindir} install -m 0755 sbsa ${D}${bindir} } ``` Update sbsa app bitbake script to fix build issue
```bitbake # yocto-bsp-filename {{=example_recipe_name}}_0.1.bb # # This file was derived from the 'Hello World!' example recipe in the # Yocto Project Development Manual. # SUMMARY = "SBSA ACS commandline application" SECTION = "meta-luv" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" SRC_URI = "file://sbsa_app_main.c \ file://sbsa_app_pcie.c \ file://sbsa_drv_intf.c \ file://include/sbsa_drv_intf.h \ file://include/sbsa_app.h \ file://include/sbsa_avs_common.h \ " S = "${WORKDIR}" do_compile() { ${CC} sbsa_app_main.c sbsa_app_pcie.c sbsa_drv_intf.c -Iinclude -o sbsa } do_install() { install -d ${D}${bindir} install -m 0755 sbsa ${D}${bindir} } ```
44566ade-cb5b-4b20-93ad-07e300866852
{ "language": "BitBake" }
```bitbake SUMMARY = "pristine-tar can regenerate a pristine upstream tarball using only a small binary delta file and a revision control checkout of the upstream branch" HOMEPAGE = "https://github.com/tramseyer/pristine-tar-fwu" SECTION = "console/utils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://GPL;md5=751419260aa954499f7abaabaa882bbe" PR = "r0" PV = "1.37+gitr${SRCPV}" DEPENDS = "zlib" SRC_URI = "git://github.com/tramseyer/${BPN}.git;protocol=git;branch=master" SRCREV = "43325d3339a86059c3970e38f6162e68ec286109" S = "${WORKDIR}/git" inherit cpan # https://github.com/kraj/poky/blob/krogoth/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc RDEPENDS_${PN} = " tar \ xdelta3 \ xz \ perl \ perl-module-digest-sha \ perl-module-file-find \ perl-module-file-glob \ perl-module-file-temp \ perl-module-getopt-long \ perl-module-ipc-open2 \ perl-module-overloading" ``` Use newest git revision for pristine-tar-fwu.
```bitbake SUMMARY = "pristine-tar can regenerate a pristine upstream tarball using only a small binary delta file and a revision control checkout of the upstream branch" HOMEPAGE = "https://github.com/tramseyer/pristine-tar-fwu" SECTION = "console/utils" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://GPL;md5=751419260aa954499f7abaabaa882bbe" PR = "r0" PV = "1.37+gitr${SRCPV}" DEPENDS = "zlib" SRC_URI = "git://github.com/tramseyer/${BPN}.git;protocol=git;branch=master" SRCREV = "54f0d005b96bf5601a3ec730f781379339b5f9a3" S = "${WORKDIR}/git" inherit cpan # https://github.com/kraj/poky/blob/krogoth/meta/recipes-devtools/perl/perl-rdepends_5.22.1.inc RDEPENDS_${PN} = " tar \ xdelta3 \ xz \ perl \ perl-module-digest-sha \ perl-module-file-find \ perl-module-file-glob \ perl-module-file-temp \ perl-module-getopt-long \ perl-module-ipc-open2 \ perl-module-overloading" ```
e344b966-0096-4b8b-957f-b03632e65846
{ "language": "BitBake" }
```bitbake LICENSE = "GPL" DEPENDS = "libxml2 glib-2.0 gtk+ loudmouth" MAINTAINER = "Chris Lord <[email protected]>" DESCRIPTION = "Kf is a GTK+ instant messaging client." PR = "r2" SRC_URI = "http://jabberstudio.2nw.net/${PN}/${PN}-${PV}.tar.gz \ file://fix-configure.patch;patch=1 \ file://fix-desktop-file.patch;patch=0" inherit autotools pkgconfig EXTRA_OECONF = "--disable-binreloc" ``` Fix pkgconfig related build issue (from poky)
```bitbake LICENSE = "GPL" DEPENDS = "libxml2 glib-2.0 gtk+ loudmouth" MAINTAINER = "Chris Lord <[email protected]>" DESCRIPTION = "Kf is a GTK+ instant messaging client." PR = "r2" SRC_URI = "http://jabberstudio.2nw.net/${PN}/${PN}-${PV}.tar.gz \ file://fix-configure.patch;patch=1 \ file://fix-desktop-file.patch;patch=0" inherit autotools pkgconfig export PKG_CONFIG="${STAGING_BINDIR}/pkg-config" EXTRA_OECONF = "--disable-binreloc" ```
cf809528-330b-4115-91e5-d221436b7a27
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Library for reading some sort of media format." SECTION = "libs" PRIORITY = "optional" DEPENDS = "" LICENSE = "LGPL" PR = "r1" inherit autotools SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.tar.gz" S = "${WORKDIR}/${PN}" PACKAGES =+ "lib${PN} lib${PN}-dev" FILES_${PN} = " ${bindir}/faac " FILES_lib${PN} = " ${libdir}/libfaac.so.*" FILES_lib${PN}-dev = " ${includedir}/faac.h ${includedir}/faaccfg.h ${libdir}/libfaac.so ${libdir}/libfaac.la ${libdir}/libfaac.a " SRC_URI[md5sum] = "e72dc74db17b42b06155613489077ad7" SRC_URI[sha256sum] = "a5844ff3bce0d7c885af71f41da01395d3253dcfc33863306a027a78a7cfad9e" ``` Update LICENSE field version to LGPLv2
```bitbake DESCRIPTION = "Library for reading some sort of media format." SECTION = "libs" PRIORITY = "optional" DEPENDS = "" LICENSE = "LGPLv2 LGPLv2.1" PR = "r2" inherit autotools SRC_URI = "${SOURCEFORGE_MIRROR}/faac/${PN}-${PV}.tar.gz" S = "${WORKDIR}/${PN}" PACKAGES =+ "lib${PN} lib${PN}-dev" FILES_${PN} = " ${bindir}/faac " FILES_lib${PN} = " ${libdir}/libfaac.so.*" FILES_lib${PN}-dev = " ${includedir}/faac.h ${includedir}/faaccfg.h ${libdir}/libfaac.so ${libdir}/libfaac.la ${libdir}/libfaac.a " SRC_URI[md5sum] = "e72dc74db17b42b06155613489077ad7" SRC_URI[sha256sum] = "a5844ff3bce0d7c885af71f41da01395d3253dcfc33863306a027a78a7cfad9e" ```
ef6958cc-bf32-43d3-8839-f198cd4a22db
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Central Regulatory Domain Agent" SECTION = "base" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=07c4f6dea3845b02a18dc00c8c87699c" PR = "r3" DEPENDS = "libnl" RDEPENDS_${PN} = "wireless-regdb" S = "${WORKDIR}/git" SRC_URI = "git://github.com/mcgrof/crda.git;protocol=git;tag=v1.1.3" CFLAGS_append =" -DCONFIG_LIBNL32 -I${STAGING_INCDIR}/libnl3" LDFLAGS_append =" -lnl-3 -lnl-genl-3" do_compile() { ${CC} ${CFLAGS} ${S}/reglib.c ${S}/crda.c -o crda ${LDFLAGS} } do_install() { install -m 0755 -d ${D}${bindir} install -m 0755 ${S}/crda ${D}${bindir} }``` Update after top level LICENSE file checksum change
```bitbake DESCRIPTION = "Central Regulatory Domain Agent" SECTION = "base" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=ef8b69b43141352d821fd66b64ff0ee7" PR = "r3" DEPENDS = "libnl" RDEPENDS_${PN} = "wireless-regdb" S = "${WORKDIR}/git" SRC_URI = "git://github.com/mcgrof/crda.git;protocol=git;tag=v1.1.3" CFLAGS_append =" -DCONFIG_LIBNL32 -I${STAGING_INCDIR}/libnl3" LDFLAGS_append =" -lnl-3 -lnl-genl-3" do_compile() { ${CC} ${CFLAGS} ${S}/reglib.c ${S}/crda.c -o crda ${LDFLAGS} } do_install() { install -m 0755 -d ${D}${bindir} install -m 0755 ${S}/crda ${D}${bindir} } ```
7a331457-7524-42c1-9217-6bf3e141edf7
{ "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 ?= "master" SRCREV = "0a6c53b6a057879c236e7194e5f818d146cf3461" 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 ?= "master" SRCREV = "2b8859218defc9983b6d312c8be48d0c08070ca1" 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" ```
f99e9253-8c1a-41e2-9b80-8df4c89020dc
{ "language": "BitBake" }
```bitbake require recipes-image/images/tizen-common-core-image-minimal.bb DESCRIPTION = "A weston image with Tizen common and \ is suitable for development work." IMAGE_FEATURES += "dev-pkgs" IMAGE_INSTALL += "attr"``` Add extra package for dev image
```bitbake require recipes-image/images/tizen-common-core-image-minimal.bb DESCRIPTION = "A weston image with Tizen common and \ is suitable for development work." IMAGE_FEATURES += "dev-pkgs tools-debug debug-tweaks ssh-server-openssh" IMAGE_INSTALL += "attr" IMAGE_INSTALL += "util-linux-agetty" IMAGE_INSTALL += "strace" IMAGE_INSTALL += "gdb"```
7688070a-0519-4238-82d6-e6294d24edb8
{ "language": "BitBake" }
```bitbake require linux.inc require linux-dtb.inc DESCRIPTION = "Linux kernel for the lager board" COMPATIBLE_MACHINE = "lager" PR = "r5" PV_append = "+git${SRCREV}" SRCREV = "6250e5a61a718dbb5a2d8b4dd40a57d1d1b6fe96" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-backport.git;protocol=git;branch=bsp/ltsi-3.4.25/rcar-gen2-5" S = "${WORKDIR}/git" FILESEXTRAPATHS_prepend_lager := "${THISDIR}/${PN}:" KERNEL_DEFCONFIG = "lager_defconfig" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } ``` Update BSP to version 0.5.2
```bitbake require linux.inc require linux-dtb.inc DESCRIPTION = "Linux kernel for the lager board" COMPATIBLE_MACHINE = "lager" PR = "r6" PV_append = "+git${SRCREV}" SRCREV = "84331fb0be9d4ee58657eff172c893ba94468ad5" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-backport.git;protocol=git;branch=bsp/ltsi-3.4.25/rcar-gen2-5.2" S = "${WORKDIR}/git" FILESEXTRAPATHS_prepend_lager := "${THISDIR}/${PN}:" KERNEL_DEFCONFIG = "lager_defconfig" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } ```
a92a8fbe-28cc-49db-8355-2b9375867c0f
{ "language": "BitBake" }
```bitbake require recipes-kernel/linux/linux-yocto.inc KERNEL_IMAGETYPE = "zImage" COMPATIBLE_MACHINE = "duovero" RDEPENDS_kernel_base += "kernel-devicetree" KERNEL_DEVICETREE_duovero = " \ omap4-duovero-parlor.dtb \ jumpnow-duovero-parlor.dtb \ jumpnow-duovero-parlor-nodisplay.dtb \ " LINUX_VERSION = "4.1" LINUX_VERSION_EXTENSION = "-jumpnow" FILESEXTRAPATHS_prepend := "${THISDIR}/linux-stable-4.1:" S = "${WORKDIR}/git" PR = "r4" # v4.1.4 SRCREV = "89e419960fb6a260f6a112821507d516117d5aa1" SRC_URI = " \ git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-4.1.y \ file://defconfig \ file://0001-spidev-Add-generic-compatible-dt-id.patch \ file://0002-duovero-Add-spi1-spidev-dtsi.patch \ file://0003-duovero-Add-spi4-spidev-dtsi.patch \ file://0004-kernel-Add-some-custom-dts-files.patch \ " ``` Fix recipe so dtbs get included in rootfs
```bitbake require recipes-kernel/linux/linux-yocto.inc KERNEL_IMAGETYPE = "zImage" COMPATIBLE_MACHINE = "duovero" RDEPENDS_kernel-base += "kernel-devicetree" KERNEL_DEVICETREE_duovero = " \ omap4-duovero-parlor.dtb \ jumpnow-duovero-parlor.dtb \ jumpnow-duovero-parlor-nodisplay.dtb \ " LINUX_VERSION = "4.1" LINUX_VERSION_EXTENSION = "-jumpnow" FILESEXTRAPATHS_prepend := "${THISDIR}/linux-stable-4.1:" S = "${WORKDIR}/git" PR = "r5" # v4.1.4 SRCREV = "89e419960fb6a260f6a112821507d516117d5aa1" SRC_URI = " \ git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-4.1.y \ file://defconfig \ file://0001-spidev-Add-generic-compatible-dt-id.patch \ file://0002-duovero-Add-spi1-spidev-dtsi.patch \ file://0003-duovero-Add-spi4-spidev-dtsi.patch \ file://0004-kernel-Add-some-custom-dts-files.patch \ " ```
bee7d658-c52a-4835-a865-f30ca65774ec
{ "language": "BitBake" }
```bitbake DESCRIPTION = "A library handling all the details of proxy configuration" LICENSE = "LGPL" DEPENDS = "libxmu gconf virtual/libx11" PR = "r1" SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \ file://libproxy-move-define-__USE_BSD.patch \ " inherit autotools # Disable plugins that are *up* in the depchain, they need libproxy to build # Don't we just love circular deps? EXTRA_OECONF = " --with-file \ --with-gnome \ --without-kde \ --without-webkit \ --without-mozjs \ --without-networkmanager \ " FILES_${PN}-dbg += "${libdir}/libproxy/*/plugins/.debug" SRC_URI[md5sum] = "86b635e1eb2d665cfbef4c6134fe6604" SRC_URI[sha256sum] = "59ded160b3547d29e37cc9d06359f7f37d94112214e4532430cd65e704c1339a" ``` Update LICENSE field version to LGPLv2.1
```bitbake DESCRIPTION = "A library handling all the details of proxy configuration" LICENSE = "LGPLv2.1+" DEPENDS = "libxmu gconf virtual/libx11" PR = "r2" SRC_URI = "http://libproxy.googlecode.com/files/libproxy-${PV}.tar.gz \ file://libproxy-move-define-__USE_BSD.patch \ " inherit autotools # Disable plugins that are *up* in the depchain, they need libproxy to build # Don't we just love circular deps? EXTRA_OECONF = " --with-file \ --with-gnome \ --without-kde \ --without-webkit \ --without-mozjs \ --without-networkmanager \ " FILES_${PN}-dbg += "${libdir}/libproxy/*/plugins/.debug" SRC_URI[md5sum] = "86b635e1eb2d665cfbef4c6134fe6604" SRC_URI[sha256sum] = "59ded160b3547d29e37cc9d06359f7f37d94112214e4532430cd65e704c1339a" ```
4e9bcdb9-ccd2-40b7-977a-685d52e4f775
{ "language": "BitBake" }
```bitbake DESCRIPTION = "An e17 module and a python app for the SHR first run wizard" HOMEPAGE = "http://shr-project.org" LICENSE = "GPL" RDEPENDS = "python-elementary shr-settings python-phoneutils e-wm python-dbus python-edbus" SECTION = "x11/application" PV = "0.0.0+gitr${SRCREV}" PR = "r0" inherit autotools SRC_URI = "git://git.shr-project.org/repo/shr-wizard.git;protocol=http;branch=master" S = "${WORKDIR}/git" FILES_${PN} += "${libdir}/enlightenment/modules/wizard/*/*" ``` Remove the inclusion of the debug modules to the package
```bitbake DESCRIPTION = "An e17 module and a python app for the SHR first run wizard" HOMEPAGE = "http://shr-project.org" LICENSE = "GPL" RDEPENDS = "python-elementary shr-settings python-phoneutils e-wm python-dbus python-edbus" SECTION = "x11/application" PV = "0.0.0+gitr${SRCREV}" PR = "r1" inherit autotools SRC_URI = "git://git.shr-project.org/repo/shr-wizard.git;protocol=http;branch=master" S = "${WORKDIR}/git" FILES_${PN} += "${libdir}/enlightenment/modules/wizard/*/page_900.so" ```
923da45b-5c16-4b69-9dc1-941e11c3e858
{ "language": "BitBake" }
```bitbake # This image extends fsl-image-multimedia_full with the following: # XFCE desktop # Disk formatting tools # Modem and wireless support require recipes-fsl/images/fsl-image-multimedia-full.bb IMAGE_FEATURES += "package-management ssh-server-dropbear" IMAGE_INSTALL_append = " e2fsprogs-mke2fs dosfstools" IMAGE_INSTALL_append = " packagegroup-xfce-extended" IMAGE_INSTALL_append = " ppp wvdial linux-firmware canutils" IMAGE_INSTALL_append = " opal6-apps-led-demo opal6-apps-rs485-test" IMAGE_INSTALL_append = " mesa-demos nano" IMAGE_INSTALL_append = " libopencv-core-dev libopencv-highgui-dev \ libopencv-imgproc-dev libopencv-objdetect-dev libopencv-ml-dev" ``` Tidy opencv integration. Added Firefox browser.
```bitbake # This image extends fsl-image-multimedia_full with the following: # XFCE desktop # Disk formatting tools # Modem and wireless support require recipes-fsl/images/fsl-image-multimedia-full.bb IMAGE_FEATURES += "package-management ssh-server-dropbear" IMAGE_INSTALL_append = " e2fsprogs-mke2fs dosfstools" IMAGE_INSTALL_append = " packagegroup-xfce-extended" IMAGE_INSTALL_append = " ppp wvdial linux-firmware canutils" IMAGE_INSTALL_append = " opal6-apps-led-demo opal6-apps-rs485-test" IMAGE_INSTALL_append = " mesa-demos nano" IMAGE_INSTALL_append = " opencv opencv-samples" IMAGE_INSTALL_append = " firefox" ```
76d1379c-21bb-4e42-b278-f4a412c6b257
{ "language": "BitBake" }
```bitbake SRCBRANCH ?= "master-rel-2021.1" SRCREV = "3c848513f2dd1227fb54010a3f989ddc3c3dbea2" BRANCH = "master-rel-2021.1" LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=1ff609e96fc79b87da48a837cbe5db33" PV = "${SRCBRANCH}+git${SRCPV}" include libmetal.inc ``` Update branch for 2021.1 release
```bitbake SRCBRANCH ?= "xlnx_rel_v2021.1" SRCREV = "3c848513f2dd1227fb54010a3f989ddc3c3dbea2" BRANCH = "xlnx_rel_v2021.1" LIC_FILES_CHKSUM ?= "file://LICENSE.md;md5=1ff609e96fc79b87da48a837cbe5db33" PV = "${SRCBRANCH}+git${SRCPV}" include libmetal.inc ```
97bfec40-eed2-41e6-aad2-2b748b8dfc91
{ "language": "BitBake" }
```bitbake DESCRIPTION = "A console-only image with more full-featured Linux system \ functionality installed." IMAGE_FEATURES += "splash ssh-server-openssh" setDownloadDirectory (){ #!/bin/sh -e if [ x"${DOWNLOAD_DIR_TRANSMISSION}" = "x" ]; then exit 0 else mkdir -p ${IMAGE_ROOTFS}/${DOWNLOAD_DIR_TRANSMISSION} chmod 666 ${IMAGE_ROOTFS}/${DOWNLOAD_DIR_TRANSMISSION} fi } ROOTFS_POSTPROCESS_COMMAND += "setDownloadDirectory; " IMAGE_INSTALL = "\ ${CORE_IMAGE_BASE_INSTALL} \ packagegroup-core-full-cmdline \ packagegroup-core-boot \ transmission-web \ filemanager \ " inherit core-image ``` Add dhclient package to image nas
```bitbake DESCRIPTION = "A console-only image with more full-featured Linux system \ functionality installed." IMAGE_FEATURES += "splash ssh-server-openssh" setDownloadDirectory (){ #!/bin/sh -e if [ x"${DOWNLOAD_DIR_TRANSMISSION}" = "x" ]; then exit 0 else mkdir -p ${IMAGE_ROOTFS}/${DOWNLOAD_DIR_TRANSMISSION} chmod 666 ${IMAGE_ROOTFS}/${DOWNLOAD_DIR_TRANSMISSION} fi } ROOTFS_POSTPROCESS_COMMAND += "setDownloadDirectory; " IMAGE_INSTALL = "\ ${CORE_IMAGE_BASE_INSTALL} \ packagegroup-core-full-cmdline \ packagegroup-core-boot \ transmission-web \ filemanager \ dhcp-client \ " inherit core-image ```
6379f79a-d6f3-447c-99a9-62d7fde973f6
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Startup notification support" LICENSE = "LGPL" SECTION = "libs" PRIORITY = "optional" DEPENDS = "virtual/libx11" inherit autotools pkgconfig SRC_URI = "http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.8.tar.gz" do_stage () { autotools_stage_all } ``` Add missing DEPENDs on libsm
```bitbake DESCRIPTION = "Startup notification support" LICENSE = "LGPL" SECTION = "libs" PRIORITY = "optional" DEPENDS = "virtual/libx11 libsm" inherit autotools pkgconfig SRC_URI = "http://www.freedesktop.org/software/startup-notification/releases/startup-notification-0.8.tar.gz" do_stage () { autotools_stage_all } ```
1981c64c-6628-4fb6-a729-9615f0dbea17
{ "language": "BitBake" }
```bitbake SECTION = "libs" LICENSE = "BSD" DESCRIPTION = "A library for configuring and customizing font access." DEPENDS = "expat freetype freetype-native zlib fontconfig-native" SRC_URI = "http://freedesktop.org/fontconfig/release/fontconfig-${PV}.tar.gz \ file://fc-glyphname.patch;patch=1 \ file://fc-lang.patch;patch=1" PR = "r5" PACKAGES =+ "fontconfig-utils" FILES_fontconfig-utils = "${bindir}/*" # Work around past breakage in debian.bbclass RPROVIDES_fontconfig-utils = "libfontconfig-utils" DEBIAN_NOAUTONAME_fontconfig-utils = "1" S = "${WORKDIR}/fontconfig-${PV}" inherit autotools pkgconfig export HASDOCBOOK="no" EXTRA_OECONF = " --disable-docs " EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname" do_stage () { oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR} install -d ${STAGING_INCDIR}/fontconfig for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done } do_install () { autotools_do_install } ``` Use RREPLACES instead of RPROVIDES to prevent upgrades breakage
```bitbake SECTION = "libs" LICENSE = "BSD" DESCRIPTION = "A library for configuring and customizing font access." DEPENDS = "expat freetype freetype-native zlib fontconfig-native" SRC_URI = "http://freedesktop.org/fontconfig/release/fontconfig-${PV}.tar.gz \ file://fc-glyphname.patch;patch=1 \ file://fc-lang.patch;patch=1" PR = "r6" PACKAGES =+ "fontconfig-utils" FILES_fontconfig-utils = "${bindir}/*" # Work around past breakage in debian.bbclass RREPLACES_fontconfig-utils = "libfontconfig-utils" DEBIAN_NOAUTONAME_fontconfig-utils = "1" S = "${WORKDIR}/fontconfig-${PV}" inherit autotools pkgconfig export HASDOCBOOK="no" EXTRA_OECONF = " --disable-docs " EXTRA_OEMAKE = "FC_LANG=fc-lang FC_GLYPHNAME=fc-glyphname" do_stage () { oe_libinstall -so -a -C src libfontconfig ${STAGING_LIBDIR} install -d ${STAGING_INCDIR}/fontconfig for i in ${S}/fontconfig/*.h; do install -m 0644 $i ${STAGING_INCDIR}/fontconfig/; done } do_install () { autotools_do_install } ```
4ad183c9-dcce-47d2-af92-790706a5bad7
{ "language": "BitBake" }
```bitbake require cacaoh-native.inc DEPENDS += "midpath-cldc-native" SRC_URI = "\ http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2;md5sum=8b8907c8b925761c9410bcadb9705346 \ " EXTRA_OECONF += "\ --with-classpath-includedir=${STAGING_INCDIR}/classpath \ --enable-jni \ --enable-java=cldc1.1 \ --with-classpath=cldc1.1 \ --with-classpath-classes=${STAGING_DATADIR}/midpath-cldc/midpath-cldc1.1.jar \ " do_stage() { install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV} } ``` Remove unneeded dependencies and configure arguments.
```bitbake require cacaoh-native.inc SRC_URI = "\ http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2;md5sum=8b8907c8b925761c9410bcadb9705346 \ " do_stage() { install -m 0755 src/cacaoh/.libs/cacaoh ${STAGING_BINDIR}/cacaoh-cldc-${PV} } ```
7a4a6664-8398-4e47-b799-274babcba569
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities." PRIORITY = "optional" SECTION = "libs" LICENSE = "GPL" SRC_URI = "http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/libcap-${PV}.tar.bz2 \ file://makenames.patch;patch=1 \ file://make.patch;patch=1 " S = "${WORKDIR}/libcap-${PV}" do_stage() { install -d ${STAGING_INCDIR}/sys install -m 0644 libcap/include/sys/capability.h ${STAGING_INCDIR}/sys/ oe_libinstall -s -C libcap libcap ${STAGING_LIBDIR} } do_install() { install -d ${D}${includedir}/sys install -m 0644 libcap/include/sys/capability.h ${D}${includedir}/sys/ install -d ${D}${libdir} oe_libinstall -s -C libcap libcap ${D}${libdir} } FILES_${PN} = "${libdir}" FILES_${PN}-dev = "${includedir}"``` Make DEPENDS on flex-native and bison-native explicit. Closes 1659. This is being pulled in automatically for most DISTRO via gcc-cross and binutils-cross but not when these are assumed provided as for Sharp ROM for example.
```bitbake DESCRIPTION = "Libcap is a library for getting and setting POSIX.1e (formerly POSIX 6) draft 15 capabilities." PRIORITY = "optional" SECTION = "libs" LICENSE = "GPL" DEPENDS = "bison-native flex-native" SRC_URI = "http://www.kernel.org/pub/linux/libs/security/linux-privs/kernel-2.4/libcap-${PV}.tar.bz2 \ file://makenames.patch;patch=1 \ file://make.patch;patch=1 " S = "${WORKDIR}/libcap-${PV}" do_stage() { install -d ${STAGING_INCDIR}/sys install -m 0644 libcap/include/sys/capability.h ${STAGING_INCDIR}/sys/ oe_libinstall -s -C libcap libcap ${STAGING_LIBDIR} } do_install() { install -d ${D}${includedir}/sys install -m 0644 libcap/include/sys/capability.h ${D}${includedir}/sys/ install -d ${D}${libdir} oe_libinstall -s -C libcap libcap ${D}${libdir} } FILES_${PN} = "${libdir}" FILES_${PN}-dev = "${includedir}" ```
b206bbbd-7613-4de2-832e-ad172fad0ca2
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Remove cpp '#ifdef' lines from files \ The unifdef utility selectively processes conditional cpp(1) directives. \ It removes from a file both the directives and any additional text that \ they specify should be removed, while otherwise leaving the file alone." HOMEPAGE = "http://dotat.at/prog/unifdef/" PR = "r0" inherit debian-package PV = "2.10" # source format is 3.0 but there is no patch DEBIAN_QUILT_PATCHES = "" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=4da83e7128fb3e762bd4678e7e2f358d" do_install() { oe_runmake install DESTDIR=${D} prefix=${prefix} } BBCLASSEXTEND = "native" ``` Upgrade from 2.10-1 to 2.10-1.1
```bitbake SUMMARY = "Selectively remove #ifdef statements from sources" DESCRIPTION = "Remove cpp '#ifdef' lines from files \ The unifdef utility selectively processes conditional cpp(1) directives. \ It removes from a file both the directives and any additional text that \ they specify should be removed, while otherwise leaving the file alone." HOMEPAGE = "http://dotat.at/prog/unifdef/" inherit debian-package PV = "2.10" DPR = "-1.1" DSC_URI = "${DEBIAN_MIRROR}/main/u/${BPN}/${BPN}_${PV}${DPR}.dsc;md5sum=09957432c20fc52cbf380b7d6d3f6e14" # source format is 3.0 but there is no patch DEBIAN_QUILT_PATCHES = "" LICENSE = "BSD-2-Clause & BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING;md5=4da83e7128fb3e762bd4678e7e2f358d" do_install() { oe_runmake install DESTDIR=${D} prefix=${prefix} } BBCLASSEXTEND = "native" ```
e17c65c0-e820-4c16-8a04-5ad9fa0e31b9
{ "language": "BitBake" }
```bitbake SUMMARY = "Pure-JavaScript CSS selector engine" LICENSE = "GPL-2.0 & MIT & AFL-2.1" LIC_FILES_CHKSUM = "file://MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9" SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/sizzle_1.10.18.orig.tar.gz" SRC_URI[md5sum] = "91477c1edeef9f8100ffd6c4d31725b5" SRC_URI[sha256sum] = "8e04ab84bb74b2e338dffc63cd2e52b007f1d8af01b3d25da4d2e07f2b5890f8" S = "${WORKDIR}/sizzle-${PV}" SIZZLEDIR = "${S}/dist" do_install() { install -d -m 0755 ${D}/${datadir}/javascript/sizzle/ install -m 0644 ${SIZZLEDIR}/*.js ${D}/${datadir}/javascript/sizzle/ } FILES_${PN} = "${datadir}/javascript/sizzle/" ``` Add HOMEPAGE info into recipe file.
```bitbake SUMMARY = "Pure-JavaScript CSS selector engine" HOMEPAGE = "https://github.com/jquery/sizzle/wiki" LICENSE = "GPL-2.0 & MIT & AFL-2.1" LIC_FILES_CHKSUM = "file://MIT-LICENSE.txt;md5=e43aa437a6a1ba421653bd5034333bf9" SRC_URI = "http://kr.archive.ubuntu.com/ubuntu/pool/universe/s/sizzle/sizzle_1.10.18.orig.tar.gz" SRC_URI[md5sum] = "91477c1edeef9f8100ffd6c4d31725b5" SRC_URI[sha256sum] = "8e04ab84bb74b2e338dffc63cd2e52b007f1d8af01b3d25da4d2e07f2b5890f8" S = "${WORKDIR}/sizzle-${PV}" SIZZLEDIR = "${S}/dist" do_install() { install -d -m 0755 ${D}/${datadir}/javascript/sizzle/ install -m 0644 ${SIZZLEDIR}/*.js ${D}/${datadir}/javascript/sizzle/ } FILES_${PN} = "${datadir}/javascript/sizzle/" ```
d0cf0d69-44ed-43e6-9eea-ab3081d9dfa5
{ "language": "BitBake" }
```bitbake DESCRIPTION = "rostopic contains the rostopic command-line tool for displaying debug information about \ ROS Topics, including publishers, subscribers, publishing rate, and ROS Messages." SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=17;endline=17;md5=d566ef916e9dedc494f5f793a6690ba5" DEPENDS = "rostest-native" require ros-comm.inc S = "${WORKDIR}/ros_comm-${PV}/tools/${ROS_BPN}" ``` Add roscpp to package depends
```bitbake DESCRIPTION = "rostopic contains the rostopic command-line tool for displaying debug information about \ ROS Topics, including publishers, subscribers, publishing rate, and ROS Messages." SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=17;endline=17;md5=d566ef916e9dedc494f5f793a6690ba5" DEPENDS = "rostest-native roscpp" require ros-comm.inc S = "${WORKDIR}/ros_comm-${PV}/tools/${ROS_BPN}" ```
7fd63249-b4e0-4563-a9fe-c5b5ad8430cb
{ "language": "BitBake" }
```bitbake SUMMARY = "Unicode Mingti (printed) TrueType Font" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" LICENSE = "Arphic-Public-License" LIC_FILES_CHKSUM = "file://README;md5=62be011094b7865ddc4d1a648444d31a" SRC_DISTRIBUTE_LICENSES += "${PN}" RPROVIDES_${PN} = "virtual-chinese-font" PR = "r6" FONT_PACKAGES = "${PN}" SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz" S = "${WORKDIR}" require ttf.inc FILES_${PN} = "${datadir}" SRC_URI[md5sum] = "d219fcaf953f3eb1889399955a00379f" SRC_URI[sha256sum] = "8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98" ``` Use license file instead of README for license checksums
```bitbake SUMMARY = "Unicode Mingti (printed) TrueType Font" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" LICENSE = "Arphic-Public-License" LIC_FILES_CHKSUM = "file://license/english/ARPHICPL.TXT;md5=4555ed88e9a72fc9562af379d07c3350" SRC_DISTRIBUTE_LICENSES += "${PN}" RPROVIDES_${PN} = "virtual-chinese-font" PR = "r6" FONT_PACKAGES = "${PN}" SRC_URI = "http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz" S = "${WORKDIR}" require ttf.inc FILES_${PN} = "${datadir}" SRC_URI[md5sum] = "d219fcaf953f3eb1889399955a00379f" SRC_URI[sha256sum] = "8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98" ```
0ba89bd7-75c9-4109-b38b-54ded2267e58
{ "language": "BitBake" }
```bitbake DESCRIPTION = "PHP PEAR modules for creating an authentication system" PR = "r0" inherit debian-package LICENSE = "PHP-3.1" LIC_FILES_CHKSUM = "file://debian/copyright;md5=02f173e28791fe9054ea54631abf4dc3" do_install() { install -d ${D}${datadir}/php/Auth/Container install -d ${D}${datadir}/php/Auth/Frontend install -m 644 ${S}/Auth-*/Auth.php ${D}${datadir}/php/ install -m 644 ${S}/Auth-*/Auth/*.php ${D}${datadir}/php/Auth install -m 644 ${S}/Auth-*/Auth/Container/* ${D}${datadir}/php/Auth/Container install -m 644 ${S}/Auth-*/Auth/Frontend/* ${D}${datadir}/php/Auth/Frontend } FILES_${PN}="${datadir}" ``` Correct license and fix error "debian/patches not found"
```bitbake DESCRIPTION = "PHP PEAR modules for creating an authentication system" PR = "r0" inherit debian-package LICENSE = "PHP-3.0 & BSD-3-Clause" LIC_FILES_CHKSUM = " \ file://Auth-1.6.4/Auth.php;beginline=9;endline=13;md5=6863d257d87ab97c7e821ca3fe49a316 \ file://Auth-1.6.4/Auth/Frontend/md5.js;endline=8;md5=915fa4679c019c47741472ce7ce6afd1 \ " # source format is 3.0 (quilt) but there is no debian patch DEBIAN_QUILT_PATCHES = "" do_install() { install -d ${D}${datadir}/php/Auth/Container install -d ${D}${datadir}/php/Auth/Frontend install -m 644 ${S}/Auth-*/Auth.php ${D}${datadir}/php/ install -m 644 ${S}/Auth-*/Auth/*.php ${D}${datadir}/php/Auth install -m 644 ${S}/Auth-*/Auth/Container/* ${D}${datadir}/php/Auth/Container install -m 644 ${S}/Auth-*/Auth/Frontend/* ${D}${datadir}/php/Auth/Frontend } FILES_${PN}="${datadir}" ```
334a51ea-a986-4530-9e1e-b54371bf4d44
{ "language": "BitBake" }
```bitbake SECTION = "base" PR = "r0" require fakeroot_${PV}.bb inherit native SRC_URI += "file://fix-prefix.patch;patch=1" S = "${WORKDIR}/fakeroot-${PV}" EXTRA_OECONF = " --program-prefix=" # Compatability for the rare systems not using or having SYSV python () { if bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0': bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d) } do_stage_append () { oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/ } ``` Remove bogus RDEPENDS on util-linux, replacing with util-linux-native
```bitbake SECTION = "base" PR = "r0" require fakeroot_${PV}.bb inherit native RDEPENDS="util-linux-native" SRC_URI += "file://fix-prefix.patch;patch=1" S = "${WORKDIR}/fakeroot-${PV}" EXTRA_OECONF = " --program-prefix=" # Compatability for the rare systems not using or having SYSV python () { if bb.data.getVar('HOST_NONSYSV', d, True) and bb.data.getVar('HOST_NONSYSV', d, True) != '0': bb.data.setVar('EXTRA_OECONF', ' --with-ipc=tcp --program-prefix= ', d) } do_stage_append () { oe_libinstall -so libfakeroot ${STAGING_LIBDIR}/libfakeroot/ } ```
11ab2b92-42d0-4a7d-93b4-28054883c8f4
{ "language": "BitBake" }
```bitbake SUMMARY = "Fast Artificial Neural Network (FANN) Library" DESCRIPTION = "Fast Artificial Neural Network (FANN) Library is a free open source neural network library, which implements multilayer artificial neural networks in C with support for both fully connected and sparsely connected networks." HOMEPAGE = "https://github.com/libfann/fann" SECTION = "libs/devel" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=f14599a2f089f6ff8c97e2baa4e3d575" inherit cmake SRCREV ?= "7ec1fc7e5bd734f1d3c89b095e630e83c86b9be1" SRC_URI = "git://github.com/libfann/fann.git;branch=master \ " PV = "2.2.0+git${SRCPV}" S = "${WORKDIR}/git" ``` Define LIB_SUFFIX suitable for OE multilib needs
```bitbake SUMMARY = "Fast Artificial Neural Network (FANN) Library" DESCRIPTION = "Fast Artificial Neural Network (FANN) Library is a free open source neural network library, which implements multilayer artificial neural networks in C with support for both fully connected and sparsely connected networks." HOMEPAGE = "https://github.com/libfann/fann" SECTION = "libs/devel" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=f14599a2f089f6ff8c97e2baa4e3d575" inherit cmake SRCREV ?= "7ec1fc7e5bd734f1d3c89b095e630e83c86b9be1" SRC_URI = "git://github.com/libfann/fann.git;branch=master \ " PV = "2.2.0+git${SRCPV}" S = "${WORKDIR}/git" EXTRA_OECMAKE = "-DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" ```
fc545ba1-a9b9-4aea-9f4e-02ee85bb2b45
{ "language": "BitBake" }
```bitbake SUMMARY = "IPSec Manager libraries" DESCRIPTION = "Provides library to offload IPSec security policy & associated security association to NETCP for crypto operations" LIC_FILES_CHKSUM = "file://../ipsecmgr_snoop.h;beginline=1;endline=33;md5=f7eadca4fb5599f508dc11fa1e752919" include ipsecmgr.inc DEPENDS = "libnl-xfrm" CFLAGS += "-I${STAGING_INCDIR}/libnl3" S = "${WORKDIR}/git/build" LIB_INC_DIR = "${WORKDIR}/git" UTILS_LIB_INC_DIR = "${WORKDIR}/git/utils/iface/" do_compile() { # Compile the library make clean make all } do_install() { # Install libraries install -d ${D}${libdir}/ install -c -m 666 libipsecmgr_snoop.a ${D}${libdir}/ install -c -m 666 libipsecmgr_ipc.a ${D}${libdir}/ install -c -m 666 libipsecmgr_syslog.a ${D}${libdir}/ install -d ${D}${includedir}/ install -c -m 666 ${LIB_INC_DIR}/*.h ${D}${includedir}/ install -c -m 666 ${UTILS_LIB_INC_DIR}/*.h ${D}${includedir}/ } ``` Add ALLOW_EMPTY to be set to 1
```bitbake SUMMARY = "IPSec Manager libraries" DESCRIPTION = "Provides library to offload IPSec security policy & associated security association to NETCP for crypto operations" LIC_FILES_CHKSUM = "file://../ipsecmgr_snoop.h;beginline=1;endline=33;md5=f7eadca4fb5599f508dc11fa1e752919" include ipsecmgr.inc DEPENDS = "libnl-xfrm" CFLAGS += "-I${STAGING_INCDIR}/libnl3" S = "${WORKDIR}/git/build" LIB_INC_DIR = "${WORKDIR}/git" UTILS_LIB_INC_DIR = "${WORKDIR}/git/utils/iface/" ALLOW_EMPTY_${PN} = "1" do_compile() { # Compile the library make clean make all } do_install() { # Install libraries install -d ${D}${libdir}/ install -c -m 666 libipsecmgr_snoop.a ${D}${libdir}/ install -c -m 666 libipsecmgr_ipc.a ${D}${libdir}/ install -c -m 666 libipsecmgr_syslog.a ${D}${libdir}/ install -d ${D}${includedir}/ install -c -m 666 ${LIB_INC_DIR}/*.h ${D}${includedir}/ install -c -m 666 ${UTILS_LIB_INC_DIR}/*.h ${D}${includedir}/ } ```
3f9659ee-ee47-4b1a-b772-0f2f683f8853
{ "language": "BitBake" }
```bitbake SUMMARY = "Example application for Atlas SoC FPGA FFT Benchmarking" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "${WORKDIR}/git/COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" PR = "r0" SRCREV = "${AUTOREV}" SRC_URI = " \ git://github.com/dwesterg/atlas-soc-fftsw-apps.git \ " S = "${WORKDIR}/git" do_compile () { source ${S}/build_ne10.sh source ${S}/build_all.sh source ${S}/archive_for_target.sh } do_install () { } ``` Update path to lic file
```bitbake SUMMARY = "Example application for Atlas SoC FPGA FFT Benchmarking" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" PR = "r0" SRCREV = "${AUTOREV}" SRC_URI = " \ git://github.com/dwesterg/atlas-soc-fftsw-apps.git \ " S = "${WORKDIR}/git" do_compile () { source ${S}/build_ne10.sh source ${S}/build_all.sh source ${S}/archive_for_target.sh } do_install () { } ```
03049c48-dfbc-4057-84d1-4dc0e0b88765
{ "language": "BitBake" }
```bitbake # cdparanoia OE build file # Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see packages/COPYING) PR ="r2" LICENSE="GPL" SRC_URI="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-alpha9.8.src.tgz \ file://fixes.patch;patch=1 \ file://Makefile.patch;patch=1" S="${WORKDIR}/cdparanoia-III-alpha9.8" inherit autotools do_install() { oe_runmake BINDIR="${D}/usr/bin" MANDIR="${D}/usr/share/man/" \ INCLUDEDIR="${D}/usr/include/" LIBDIR="${D}/usr/lib" install } do_stage() { install -d ${STAGING_INCDIR} ${STAGING_LIBDIR} install -m 0644 paranoia/cdda_paranoia.h ${STAGING_INCDIR} install -m 0644 interface/cdda_interface.h ${STAGING_INCDIR} oe_libinstall -C interface libcdda_interface ${STAGING_LIBDIR} oe_libinstall -C paranoia libcdda_paranoia ${STAGING_LIBDIR} } ``` Disable parallel make for this package
```bitbake # cdparanoia OE build file # Copyright (C) 2005, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see packages/COPYING) PR ="r2" LICENSE="GPL" SRC_URI="http://downloads.xiph.org/releases/cdparanoia/cdparanoia-III-alpha9.8.src.tgz \ file://fixes.patch;patch=1 \ file://Makefile.patch;patch=1" S="${WORKDIR}/cdparanoia-III-alpha9.8" PARALLEL_MAKE = "" inherit autotools do_install() { oe_runmake BINDIR="${D}/usr/bin" MANDIR="${D}/usr/share/man/" \ INCLUDEDIR="${D}/usr/include/" LIBDIR="${D}/usr/lib" install } do_stage() { install -d ${STAGING_INCDIR} ${STAGING_LIBDIR} install -m 0644 paranoia/cdda_paranoia.h ${STAGING_INCDIR} install -m 0644 interface/cdda_interface.h ${STAGING_INCDIR} oe_libinstall -C interface libcdda_interface ${STAGING_LIBDIR} oe_libinstall -C paranoia libcdda_paranoia ${STAGING_LIBDIR} } ```
d0e1bf49-21ce-45bf-9d9e-08cb76937b6f
{ "language": "BitBake" }
```bitbake require gst-plugins.inc INC_PR = "r0" PR = "${INC_PR}.0" do_configure_prepend() { sed -i -e s:docs::g Makefile.am } DEPENDS += "gst-plugins-base>=0.10.30" EXTRA_OECONF_openpli += "--disable-apexsink --disable-dvdnav --disable-cdaudio --disable-mpeg2enc --disable-mplex" SRC_URI_append_openpli += " file://mpegpsdemux_speedup.diff;patch=1;pnum=0 \ file://mpegtsdemux_fix_ac3_detection.diff;patch=1;pnum=0 \ file://aacparse-fix-rank.diff;patch=1;pnum=1 \ file://ac3parse-fix-rank.diff;patch=1;pnum=1" RCONFLICTS_gst-plugin-mpegdemux = "gst-plugin-fluendo-mpegdemux" RREPLACES_gst-plugin-mpegdemux = "gst-plugin-fluendo-mpegdemux" ``` Revert "gst-plugins-bad: DEPENDS on gst-plugins-base>=0.10.30"
```bitbake require gst-plugins.inc INC_PR = "r0" PR = "${INC_PR}.0" do_configure_prepend() { sed -i -e s:docs::g Makefile.am } DEPENDS += "gst-plugins-base" EXTRA_OECONF_openpli += "--disable-apexsink --disable-dvdnav --disable-cdaudio --disable-mpeg2enc --disable-mplex" SRC_URI_append_openpli += " file://mpegpsdemux_speedup.diff;patch=1;pnum=0 \ file://mpegtsdemux_fix_ac3_detection.diff;patch=1;pnum=0 \ file://aacparse-fix-rank.diff;patch=1;pnum=1 \ file://ac3parse-fix-rank.diff;patch=1;pnum=1" RCONFLICTS_gst-plugin-mpegdemux = "gst-plugin-fluendo-mpegdemux" RREPLACES_gst-plugin-mpegdemux = "gst-plugin-fluendo-mpegdemux" ```
176702f6-0cdf-48b5-8b47-c974d92ee505
{ "language": "BitBake" }
```bitbake SUMMARY = "Real-time file compressor" DESCRIPTION = "lzop is a compression utility which is designed to be a companion to gzip. \ It is based on the LZO data compression library and its main advantages over \ gzip are much higher compression and decompression speed at the cost of some \ compression ratio. The lzop compression utility was designed with the goals \ of reliability, speed, portability and with reasonable drop-in compatibility \ to gzip." HOMEPAGE = "http://www.lzop.org/" PR = "r0" inherit debian-package DEPENDS += "lzo" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=dfeaf3dc4beef4f5a7bdbc35b197f39e" #acinclude.m4: # Need to run autoconf SRC_URI += "file://acinclude.m4 \ " inherit autotools do_configure () { ln -sf ../acinclude.m4 ${S}/acinclude.m4 autotools_do_configure } ``` Add recipe for lzop-native package
```bitbake SUMMARY = "Real-time file compressor" DESCRIPTION = "lzop is a compression utility which is designed to be a companion to gzip. \ It is based on the LZO data compression library and its main advantages over \ gzip are much higher compression and decompression speed at the cost of some \ compression ratio. The lzop compression utility was designed with the goals \ of reliability, speed, portability and with reasonable drop-in compatibility \ to gzip." HOMEPAGE = "http://www.lzop.org/" PR = "r0" inherit debian-package DEPENDS += "lzo" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=dfeaf3dc4beef4f5a7bdbc35b197f39e" #acinclude.m4: # Need to run autoconf SRC_URI += "file://acinclude.m4 \ " inherit autotools do_configure () { ln -sf ../acinclude.m4 ${S}/acinclude.m4 autotools_do_configure } BBCLASSEXTEND += "native nativesdk" ```
05cfa0c8-155d-4d5e-b933-7a5820f86e4b
{ "language": "BitBake" }
```bitbake LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2.1;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "kdelibs4 libkactivities4" inherit kde_cmake # This tag is very odd, it will cause bitbake to create a directory in the workdir of this recipe with the name 2.0+${SRCREV} # But other than that no misbehaviour has been spotted SRC_URI = "git://anongit.kde.org/share-like-connect.git;tag=Active/2.0" SRCREV = "ab39e67ebdb8f67da447fe13bb0cd952d24a2df9" PV = "Active-2.0+git${SRCPV}" S = "${WORKDIR}/git" FILES_${PN} += "\ ${libdir}/libsharelikeconnect.so \ ${libdir}/kde4/*.so \ ${libdir}/kde4/imports/* \ \ ${datadir}/* \ " FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"``` Switch to fixed revision instead of tags.
```bitbake LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://LICENSE.LGPL-2.1;md5=4fbd65380cdd255951079008b364516c" DEPENDS = "kdelibs4 libkactivities4" inherit kde_cmake # This tag is very odd, it will cause bitbake to create a directory in the workdir of this recipe with the name 2.0+${SRCREV} # But other than that no misbehaviour has been spotted SRC_URI = "git://anongit.kde.org/share-like-connect.git;branch=master" ## Tag Active/2.0 SRCREV = "9ed8128284ab9fcab806455bccf0344dd21afbd1" PV = "Active-2.0+git${SRCPV}" S = "${WORKDIR}/git" FILES_${PN} += "\ ${libdir}/libsharelikeconnect.so \ ${libdir}/kde4/*.so \ ${libdir}/kde4/imports/* \ \ ${datadir}/* \ " FILES_${PN}-dbg += "${libdir}/kde4/.debug/*"```
a51aa4a3-94ac-4979-a798-b788ff5b4738
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Unicode Mingti (printed) TrueType Font" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" LICENSE = "${PN}" SRC_DISTRIBUTE_LICENSES += "${PN}" RPROVIDES_${PN} = "virtual-chinese-font" PR = "r2" SRC_URI = \ "http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz" S = "${WORKDIR}" require ttf.inc FILES_${PN} = "${datadir}" SRC_URI[md5sum] = "d219fcaf953f3eb1889399955a00379f" SRC_URI[sha256sum] = "8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98" ``` Switch to subdir= in SRC_URI
```bitbake DESCRIPTION = "Unicode Mingti (printed) TrueType Font" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/CJKUnifonts" LICENSE = "${PN}" SRC_DISTRIBUTE_LICENSES += "${PN}" RPROVIDES_${PN} = "virtual-chinese-font" PR = "r2" SRC_URI = \ "http://archive.ubuntu.com/ubuntu/pool/main/t/ttf-arphic-uming/ttf-arphic-uming_0.2.${PV}.1.orig.tar.gz;subdir=${BPN}-${PV}" require ttf.inc FILES_${PN} = "${datadir}" SRC_URI[md5sum] = "d219fcaf953f3eb1889399955a00379f" SRC_URI[sha256sum] = "8038a6db9e832456d5da5559aff8d15130243be1091bf24f3243503a6f1bda98" ```
dd81f124-89d6-4b32-9c58-344ab3ce26cb
{ "language": "BitBake" }
```bitbake require linux.inc require linux-dtb.inc DESCRIPTION = "Linux kernel for the koelsch board" COMPATIBLE_MACHINE = "koelsch" PR = "r4" PV_append = "+git${SRCREV}" SRCREV = "84331fb0be9d4ee58657eff172c893ba94468ad5" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-backport.git;protocol=git;branch=bsp/ltsi-3.4.25/rcar-gen2-5.2" S = "${WORKDIR}/git" FILESEXTRAPATHS_prepend_koelsch := "${THISDIR}/${PN}:" KERNEL_DEFCONFIG = "koelsch_defconfig" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } ``` Update BSP to version 0.5.3
```bitbake require linux.inc require linux-dtb.inc DESCRIPTION = "Linux kernel for the koelsch board" COMPATIBLE_MACHINE = "koelsch" PR = "r5" PV_append = "+git${SRCREV}" SRCREV = "33b4bbf492ee0cf39ea830a38a12e3c2565c12d5" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas-backport.git;protocol=git;branch=bsp/ltsi-3.4.25/rcar-gen2-5.3" S = "${WORKDIR}/git" FILESEXTRAPATHS_prepend_koelsch := "${THISDIR}/${PN}:" KERNEL_DEFCONFIG = "koelsch_defconfig" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } ```
f7f4b476-9af3-4108-ae5d-e5c6ec8a7995
{ "language": "BitBake" }
```bitbake # Add DSP and gstreamer packages to console image require tvp5151-console-image.bb DSP_INSTALL += " \ gstreamer-ti \ gst-plugins-good-meta \ gst-plugins-bad-meta \ " IMAGE_INSTALL += " \ ${DSP_INSTALL} \ " export IMAGE_BASENAME = "tvp5151-dsp-image" ``` Add Qt embedded to dsp image
```bitbake # Add DSP and gstreamer packages to console image require tvp5151-console-image.bb PR = "1" DSP_INSTALL += " \ gstreamer-ti \ gst-plugins-good-meta \ gst-plugins-bad-meta \ " QT_TOOLS = " \ qt4-embedded-dev\ qt4-embedded \ " IMAGE_INSTALL += " \ ${DSP_INSTALL} \ ${QT_TOOLS} \ " export IMAGE_BASENAME = "tvp5151-dsp-image" ```
3bb6ff3a-5c55-4b2a-8da7-76ca5350fc76
{ "language": "BitBake" }
```bitbake SUMMARY = "An image that builds a Docker image of the environment \ for GNSS-SDR testing purposes." EXTRA_IMAGE_FEATURES += "tools-debug tools-profile tools-sdk dev-pkgs" LICENSE = "MIT" require core-image-container.bb require gnuradio-dev-image.bb RDEPENDS_packagegroup-sdr-base-python += " python3-six" SDK_EXTRA_TOOLS += "nativesdk-python3-six" IMAGE_INSTALL = " \ packagegroup-core-container \ packagegroup-gnss-sdr-base \ " CORE_IMAGE_EXTRA_INSTALL += " \ packagegroup-gnss-sdr-base \ " IMAGE_CLASSES += "image_type_docker" IMAGE_FSTYPES = "docker" inherit core-image # set a meaningful name and tag for the docker output image DOCKER_IMAGE_TAG = "latest" DOCKER_IMAGE_NAME_EXPORT = "gnsssdr-dev-arm32v7:${DOCKER_IMAGE_TAG}" ``` Add build tools to docker image
```bitbake SUMMARY = "An image that builds a Docker image of the environment \ for GNSS-SDR testing purposes." EXTRA_IMAGE_FEATURES += "tools-debug tools-profile tools-sdk dev-pkgs" LICENSE = "MIT" require core-image-container.bb require gnuradio-dev-image.bb RDEPENDS_packagegroup-sdr-base-python += " python3-six" SDK_EXTRA_TOOLS += "nativesdk-python3-six" IMAGE_INSTALL = " \ packagegroup-core-container \ packagegroup-gnss-sdr-buildessential \ packagegroup-gnss-sdr-base \ packagegroup-gnss-sdr-base-extended \ " CORE_IMAGE_EXTRA_INSTALL += " \ packagegroup-gnss-sdr-base \ " IMAGE_CLASSES += "image_type_docker" IMAGE_FSTYPES = "docker" inherit core-image # set a meaningful name and tag for the docker output image DOCKER_IMAGE_TAG = "latest" DOCKER_IMAGE_NAME_EXPORT = "gnsssdr-dev-arm32v7:${DOCKER_IMAGE_TAG}" ```
15fdd427-0f22-4173-a182-95bf67b6f1de
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Firmware files for use with Linux kernel" PR = "r2" PR_append = "+gitr${SRCREV}" SRCREV = "dbb6a54ba8c8d6e6673a3b86ea4c4aac78c808f0" SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git;protocol=git" S = "${WORKDIR}/git" do_compile() { : } do_install() { install -d ${D}/lib/firmware/ cp -RpP * ${D}/lib/firmware/ # fixup wl12xx location ( cd ${D}/lib/firmware ln -sf ti-connectivity/* . ) } PACKAGES =+ "${PN}-wl12xx" FILES_${PN}-wl12xx = "/lib/firmware/wl12* /lib/firmware/TI* /lib/firmware/ti-connectivity" FILES_${PN} += "/lib/firmware/*" PACKAGE_ARCH = "all" ``` Use AUTOREV for most recent firmware
```bitbake DESCRIPTION = "Firmware files for use with Linux kernel" PR = "r2" PR_append = "+gitr${SRCREV}" SRCREV = ${AUTOREV} SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/dwmw2/linux-firmware.git;protocol=git" S = "${WORKDIR}/git" do_compile() { : } do_install() { install -d ${D}/lib/firmware/ cp -RpP * ${D}/lib/firmware/ # fixup wl12xx location ( cd ${D}/lib/firmware ln -sf ti-connectivity/* . ) } PACKAGES =+ "${PN}-wl12xx" FILES_${PN}-wl12xx = "/lib/firmware/wl12* /lib/firmware/TI* /lib/firmware/ti-connectivity" FILES_${PN} += "/lib/firmware/*" PACKAGE_ARCH = "all" ```
12944c13-88da-4206-8ad8-7f85a03ae1a4
{ "language": "BitBake" }
```bitbake ``` Add missing dep to osb-browser.
```bitbake LICENSE = GPL DESCRIPTION = "Gtk+ WebCore - reference browser" HOMEPAGE = "http://gtk-webcore.sourceforge.net/" PRIORITY = "optional" MAINTAINER = "Rene Wagner <[email protected]>" DEPENDS = "osb-nrcit gtk+ glib-2.0 libglade" SECTION = "gpe" SRC_URI = "${SOURCEFORGE_MIRROR}/gtk-webcore/osb-browser-${PV}.tar.gz \ file://no-pedantic.patch;patch=1" inherit autotools ```
2a57c53c-84ec-4dce-a67f-c23c50068286
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Gives a fake root environment" SECTION = "base" LICENSE = "GPL" # fakeroot needs getopt which is provided by the util-linux package RDEPENDS = "util-linux" PR = "r1" SRC_URI = "ftp://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_${PV}.tar.gz" inherit autotools do_stage() { install -d ${STAGING_INCDIR}/fakeroot install -m 644 *.h ${STAGING_INCDIR}/fakeroot autotools_stage_all } ``` Apply patch for fakeroot-native to fakeroot too.
```bitbake DESCRIPTION = "Gives a fake root environment" SECTION = "base" LICENSE = "GPL" # fakeroot needs getopt which is provided by the util-linux package RDEPENDS = "util-linux" PR = "r2" SRC_URI = "ftp://ftp.debian.org/debian/pool/main/f/fakeroot/fakeroot_${PV}.tar.gz \ file://work-with-older-libtool.patch;patch=1" inherit autotools do_stage() { install -d ${STAGING_INCDIR}/fakeroot install -m 644 *.h ${STAGING_INCDIR}/fakeroot autotools_stage_all } ```
6e9231d5-0102-46ed-b2ea-b12e0eedb462
{ "language": "BitBake" }
```bitbake # Image for Beagleboard-based robots require recipes-angstrom/images/console-image.bb DEPENDS += " \ linux-firmware \ gst-plugins-base \ gst-plugins-ugly \ minicom \ avrdude \ ntp \ " IMAGE_INSTALL += " \ linux-firmware-rt2x00 \ kernel-module-rt2x00usb \ kernel-module-rt2800usb \ alsa-utils-amixer \ alsa-utils-aplay \ connman-plugin-ntpd \ gst-plugins-base-audioconvert \ gst-plugins-base-audioresample \ gst-plugins-base-alsa \ gst-plugins-ugly-mad \ minicom \ avrdude \ espeak \ ntp \ " export IMAGE_BASENAME = "robot-image" ``` Tweak included packages and fix for latest Angstrom
```bitbake # Image for Beagleboard-based robots require recipes-images/angstrom/systemd-image.bb DEPENDS += " \ libtirpc \ linux-firmware \ gst-plugins-base \ gst-plugins-ugly \ minicom \ avrdude \ ntp \ " IMAGE_INSTALL += " \ libtirpc \ linux-firmware \ kernel-module-rt2x00usb \ kernel-module-rt2800usb \ kernel-module-uvcvideo \ kernel-module-ftdi-sio \ i2c-tools \ alsa-utils-amixer \ alsa-utils-aplay \ gst-plugins-base-audioconvert \ gst-plugins-base-audioresample \ gst-plugins-base-alsa \ gst-plugins-ugly-mad \ connman-tests \ python-dbus \ minicom \ avrdude \ espeak \ ntp \ " export IMAGE_BASENAME = "robot-image" ```
46caff9b-455d-40a2-a312-efb984911151
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Base package set for Jlime GUI images." SECTION = "x11/wm" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r2" inherit task PROVIDES = "${PACKAGES}" PACKAGES = "\ ${PN}-cli \ ${PN}-gui \ " RDEPENDS_${PN}-cli = " \ htop \ lsof \ file \ vim \ " RDEPENDS_${PN}-gui = " \ leafpad \ gcalctool \ epdfview \ midori \ claws-mail \ pidgin \ " ``` Add gpicview to our images.
```bitbake DESCRIPTION = "Base package set for Jlime GUI images." SECTION = "x11/wm" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r2" inherit task PROVIDES = "${PACKAGES}" PACKAGES = "\ ${PN}-cli \ ${PN}-gui \ " RDEPENDS_${PN}-cli = " \ htop \ lsof \ file \ vim \ " RDEPENDS_${PN}-gui = " \ leafpad \ gcalctool \ gpicview \ epdfview \ midori \ claws-mail \ pidgin \ " ```
b53533d2-9279-4312-b225-9553e1c8de12
{ "language": "BitBake" }
```bitbake DESCRIPTION = "cross-linkage sets up symlinks between cross and staging so the compiler can find things" SECTION = "devel" PACKAGES = "" INHIBIT_DEFAULT_DEPS = "1" PR = "r0" SRC_URI = "" do_configure() { : } do_compile () { : } do_install() { : } do_stage () { install -d ${CROSS_DIR}/${TARGET_SYS}/ rm -rf ${CROSS_DIR}/${TARGET_SYS}/include ln -s ${STAGING_INCDIR}/ ${CROSS_DIR}/${TARGET_SYS}/include rm -rf ${CROSS_DIR}/${TARGET_SYS}/lib ln -s ${STAGING_LIBDIR} ${CROSS_DIR}/${TARGET_SYS}/lib } ``` Make it less destructive and safer
```bitbake DESCRIPTION = "cross-linkage sets up symlinks between cross and staging so the compiler can find things" SECTION = "devel" PACKAGES = "" INHIBIT_DEFAULT_DEPS = "1" PR = "r0" SRC_URI = "" do_configure() { : } do_compile () { : } do_install() { : } do_stage () { install -d ${CROSS_DIR}/${TARGET_SYS}/ if [ -e ${CROSS_DIR}/${TARGET_SYS}/include ]; then cp -pPRr ${CROSS_DIR}/${TARGET_SYS}/include/* ${STAGING_INCDIR} mv ${CROSS_DIR}/${TARGET_SYS}/include/ ${CROSS_DIR}/${TARGET_SYS}/include-oldbackup fi ln -s ${STAGING_INCDIR}/ ${CROSS_DIR}/${TARGET_SYS}/include if [ -e ${CROSS_DIR}/${TARGET_SYS}/lib ]; then cp -pPRr ${CROSS_DIR}/${TARGET_SYS}/lib/* ${STAGING_LIBDIR} mv ${CROSS_DIR}/${TARGET_SYS}/lib/ ${CROSS_DIR}/${TARGET_SYS}/lib-oldbackup fi ln -s ${STAGING_LIBDIR} ${CROSS_DIR}/${TARGET_SYS}/lib } ```
33eda759-6b4d-412c-a4c4-7ca5aa7f4021
{ "language": "BitBake" }
```bitbake DESCRIPTION = "This program used for copy primary framebuffer to secondary \ framebuffer (eg. FBTFT)" LICENSE = "CLOSED" COMPATIBLE_MACHINE = "raspberrypi" SRCBRANCH = "master" SRCREV = "8087a71d0330a078d91aa78656684ab5313616c6" SRC_URI = "\ git://github.com/tasanakorn/rpi-fbcp.git;protocol=git;branch=${SRCBRANCH} \ file://0001-Use-system-lib-directory.patch \ " S = "${WORKDIR}/git" inherit cmake DEPENDS += "userland virtual/libgles2 virtual/egl" do_install() { install -d ${D}${bindir} install -m 0755 fbcp ${D}${bindir} } ``` Update to latest version of fbcp
```bitbake DESCRIPTION = "This program used for copy primary framebuffer to secondary \ framebuffer (eg. FBTFT)" LICENSE = "CLOSED" COMPATIBLE_MACHINE = "raspberrypi" SRCBRANCH = "master" SRCREV = "af8d32246c23cb23e4030e6588668a14341f5ddc" SRC_URI = "\ git://github.com/tasanakorn/rpi-fbcp.git;protocol=git;branch=${SRCBRANCH} \ file://0001-Use-system-lib-directory.patch \ " S = "${WORKDIR}/git" inherit cmake DEPENDS += "userland virtual/libgles2 virtual/egl" do_install() { install -d ${D}${bindir} install -m 0755 fbcp ${D}${bindir} } ```
b7920bfd-c270-4024-86c2-869831b2346f
{ "language": "BitBake" }
```bitbake SUMMARY = "Linux Kernel Crypto API User Space Interface Library" HOMEPAGE = "http://www.chronox.de/libkcapi.html" LICENSE = "BSD | GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=d0421cf231423bda10cea691b613e866" DEPENDS = "libtool" S = "${WORKDIR}/git" # Use v1.1.3 with changes on top for building in OE SRCREV = "1c736c43eb71fbb5640d00efaf34a1edf1972c49" PV = "1.1.3+git${SRCPV}" SRC_URI = " \ git://github.com/smuellerDD/libkcapi.git \ " inherit autotools PACKAGECONFIG ??= "" PACKAGECONFIG[testapp] = "--enable-kcapi-test,,," PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,," do_install_append() { # bindir contains testapp and apps. However it is always created, even # when no binaries are installed (empty bin_PROGRAMS in Makefile.am), rmdir --ignore-fail-on-non-empty ${D}${bindir} } ``` Disable Wsign-compare warning with clang/musl
```bitbake SUMMARY = "Linux Kernel Crypto API User Space Interface Library" HOMEPAGE = "http://www.chronox.de/libkcapi.html" LICENSE = "BSD | GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING;md5=d0421cf231423bda10cea691b613e866" DEPENDS = "libtool" S = "${WORKDIR}/git" # Use v1.1.3 with changes on top for building in OE SRCREV = "1c736c43eb71fbb5640d00efaf34a1edf1972c49" PV = "1.1.3+git${SRCPV}" SRC_URI = " \ git://github.com/smuellerDD/libkcapi.git \ " inherit autotools PACKAGECONFIG ??= "" PACKAGECONFIG[testapp] = "--enable-kcapi-test,,," PACKAGECONFIG[apps] = "--enable-kcapi-speed --enable-kcapi-hasher --enable-kcapi-rngapp --enable-kcapi-encapp --enable-kcapi-dgstapp,,," do_install_append() { # bindir contains testapp and apps. However it is always created, even # when no binaries are installed (empty bin_PROGRAMS in Makefile.am), rmdir --ignore-fail-on-non-empty ${D}${bindir} } CPPFLAGS_append_libc-musl_toolchain-clang = " -Wno-error=sign-compare" ```
27888869-f5c7-4220-acd9-3d55531306b7
{ "language": "BitBake" }
```bitbake # # Copyright (C) 2011 Colin Walters <[email protected]> # LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" inherit gnomeos-contents PACKAGE_INSTALL += "task-core-sdk \ python-dev \ bison flex \ git \ " ``` Add perl-XML-Parser to devel image
```bitbake # # Copyright (C) 2011 Colin Walters <[email protected]> # LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" inherit gnomeos-contents PACKAGE_INSTALL += "task-core-sdk \ python-dev \ bison flex \ git \ libxml-parser-perl \ " ```
a588c285-27a2-47dc-8c25-1f75c2397f09
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Valgrind memory debugger" HOMEPAGE = "http://valgrind.org/" BUGTRACKER = "http://valgrind.org/support/bug_reports.html" LICENSE = "GPLv2+ & BSD & FDLv1.2" inherit autotools DEPENDS += "${HOST_ARCH}/sysroot-librt" RDEPENDS_${PN} += "${HOST_ARCH}/sysroot-librt ${HOST_ARCH}/sysroot-dbg" SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2" SRC_URI += "file://vg-ppc-feature.patch" EXTRA_OECONF = "--enable-tls" FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*" ``` Split out ekstra scripts into their own packages
```bitbake DESCRIPTION = "Valgrind memory debugger" HOMEPAGE = "http://valgrind.org/" BUGTRACKER = "http://valgrind.org/support/bug_reports.html" LICENSE = "GPLv2+ & BSD & FDLv1.2" inherit autotools auto-package-utils DEPENDS += "${HOST_ARCH}/sysroot-librt" RDEPENDS_${PN} += "${HOST_ARCH}/sysroot-librt ${HOST_ARCH}/sysroot-dbg" SRC_URI = "http://www.valgrind.org/downloads/valgrind-${PV}.tar.bz2" SRC_URI += "file://vg-ppc-feature.patch" EXTRA_OECONF = "--enable-tls" AUTO_PACKAGE_UTILS = "callgrind_annotate callgrind_control cg_annotate \ cg_diff cg_merge ms_print valgrind-listener \ no_op_client_for_valgrind" FILES_${PN}-dbg += "${libdir}/${PN}/*/.debug/*" ```
c9eae42b-16f4-455f-9d2c-79cc75cc8d33
{ "language": "BitBake" }
```bitbake def get_filespath_extra(d, subpath): metaroot = next((p for p in d.getVar('BBPATH').split(':') if os.path.basename(p) == 'meta'), None) if metaroot: return os.path.join(metaroot, subpath) + ":" return "" # TODO: improve this, since it is very hacky that this recipe need to build tunctl. # include the existing qemu-helper-native require recipes-devtools/qemu/qemu-helper-native_1.0.bb # get the path to tunctl.c FILESEXTRAPATHS_prepend := "${@get_filespath_extra(d, 'recipes-devtools/qemu/qemu-helper')}" # provide it, to replace the existing PROVIDES += "qemu-helper-native" # replace qemu with qemu-xilinx DEPENDS_remove = "qemu-native" DEPENDS_append = " qemu-xilinx-native" ``` Clean up preferred provider message
```bitbake python () { if d.getVar("PREFERRED_PROVIDER_qemu-helper-native") != d.getVar("PN"): raise bb.parse.SkipRecipe("Set qemu-helper-native provider to use this recipe") } def get_filespath_extra(d, subpath): metaroot = next((p for p in d.getVar('BBPATH').split(':') if os.path.basename(p) == 'meta'), None) if metaroot: return os.path.join(metaroot, subpath) + ":" return "" # TODO: improve this, since it is very hacky that this recipe need to build tunctl. # include the existing qemu-helper-native require recipes-devtools/qemu/qemu-helper-native_1.0.bb # get the path to tunctl.c FILESEXTRAPATHS_prepend := "${@get_filespath_extra(d, 'recipes-devtools/qemu/qemu-helper')}" # provide it, to replace the existing PROVIDES += "qemu-helper-native" # replace qemu with qemu-xilinx DEPENDS_remove = "qemu-native" DEPENDS_append = " qemu-xilinx-native" ```
26d383b8-461b-4a26-a450-5b71fa20da2b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" PV = "4.5.3" SRCREV = "8e9e75502ff910629663c4cdd7779d43ea2dd150" SRC_URI = "git://github.com/tornadoweb/tornado.git;branch=branch4.5" S = "${WORKDIR}/git" inherit setuptools DEPENDS = "python-certifi" RDEPENDS_${PN} = "python-certifi" RCONFLICTS_${PN} = "python-tornado" RCONFLICTS_${PN} = "python-tornado40" RCONFLICTS_${PN} = "python-tornado50" ``` Append to RCONFLICTS instead of overwriting
```bitbake DESCRIPTION = "Tornado is an open source version of the scalable, non-blocking web server and tools that power FriendFeed." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" PV = "4.5.3" SRCREV = "8e9e75502ff910629663c4cdd7779d43ea2dd150" SRC_URI = "git://github.com/tornadoweb/tornado.git;branch=branch4.5" S = "${WORKDIR}/git" inherit setuptools DEPENDS = "python-certifi" RDEPENDS_${PN} = "python-certifi" RCONFLICTS_${PN} = "python-tornado" RCONFLICTS_${PN} += "python-tornado40" RCONFLICTS_${PN} += "python-tornado50" ```
28210990-9882-48be-baf8-ffe38bb7573d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "trajectory_msgs" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5" require common-msgs.inc ``` Add missing dependency on geometry-msgs
```bitbake DESCRIPTION = "trajectory_msgs" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=8;endline=8;md5=d566ef916e9dedc494f5f793a6690ba5" require common-msgs.inc DEPENDS += "geometry-msgs" ```
ce332313-1578-44f4-ae59-4921e4b1b052
{ "language": "BitBake" }
```bitbake SUMMARY = "RADIUS tools" SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" PYPI_PACKAGE = "pyrad" SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9" inherit pypi poetry_core ``` Change poetry bbclass inherit to match oe-core
```bitbake SUMMARY = "RADIUS tools" SECTION = "devel/python" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://PKG-INFO;beginline=8;endline=8;md5=e910b35b0ef4e1f665b9a75d6afb7709" PYPI_PACKAGE = "pyrad" SRC_URI[sha256sum] = "057de4b7e89d8da57ba782c1bde45c63ebee720ae2c0b0a69beaff15c47e30d9" inherit pypi python_poetry_core ```
bad69680-5df5-458e-af12-77fe60d75948
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)" LICENSES = "AL2.0 W3C Public Domain" AUTHOR = "Apache Software Foundation" SRC_URI = "http://archive.apache.org/dist/xml/commons/source/xml-commons-external-${PV}-src.tar.gz" inherit java-library S = "${WORKDIR}" DEPENDS = "fastjar-native" JARFILENAME = "jaxp-1.3.jar" ALTJARFILENAMES = "xml-apis.jar" do_compile() { mkdir -p build/license javac -d build `find javax org -name \*.java` cp LICENSE.*.txt README.*.txt build/license fastjar -c -m manifest.commons -f ${JARFILENAME} -C build . } SRC_URI[md5sum] = "5536f87a816c766f4999ed60593a8701" SRC_URI[sha256sum] = "8e8a412aeb95644eaf14ec1a5cfd04833e38cac4a01b83d73d7de2368a35a597" NATIVE_INSTALL_WORKS = "1" BBCLASSEXTEND = "native" ``` Switch to subdir= in SRC_URI
```bitbake DESCRIPTION = "Java XML parser and transformer APIs (DOM, SAX, JAXP, TrAX)" LICENSES = "AL2.0 W3C Public Domain" AUTHOR = "Apache Software Foundation" SRC_URI = "http://archive.apache.org/dist/xml/commons/source/xml-commons-external-${PV}-src.tar.gz;subdir=${BPN}-${PV}" inherit java-library DEPENDS = "fastjar-native" JARFILENAME = "jaxp-1.3.jar" ALTJARFILENAMES = "xml-apis.jar" do_compile() { mkdir -p build/license javac -d build `find javax org -name \*.java` cp LICENSE.*.txt README.*.txt build/license fastjar -c -m manifest.commons -f ${JARFILENAME} -C build . } SRC_URI[md5sum] = "5536f87a816c766f4999ed60593a8701" SRC_URI[sha256sum] = "8e8a412aeb95644eaf14ec1a5cfd04833e38cac4a01b83d73d7de2368a35a597" NATIVE_INSTALL_WORKS = "1" BBCLASSEXTEND = "native" ```
6b7164a4-5db8-49c5-905f-dbd9bfd5cbb1
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit." HOMEPAGE = "http://www.wxpython.org" LICENSE = "WXwindows" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917" DEPENDS = "wxwidgets-native wxwidgets" PYPI_PACKAGE = "wxPython" SRC_URI += "file://add-back-option-build-base.patch \ file://wxgtk-fixup-build-scripts.patch \ file://sip-fix-override-functions.patch \ " SRC_URI[sha256sum] = "00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b6c3528" S = "${WORKDIR}/wxPython-${PV}" inherit pypi setuptools3 pkgconfig export WX_CONFIG = "${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config" RDEPENDS:${PN} = "\ python3-difflib \ python3-image \ python3-numpy \ python3-pillow \ python3-pprint \ python3-pycairo \ python3-six \ python3-xml \ " ``` Use cross prefix with native wx-config
```bitbake DESCRIPTION = "Python3 interface to the wxWidgets Cross-platform C++ GUI toolkit." HOMEPAGE = "http://www.wxpython.org" LICENSE = "WXwindows" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=fce1d18e2d633d41786c0a8dfbc80917" DEPENDS = "wxwidgets-native wxwidgets" PYPI_PACKAGE = "wxPython" SRC_URI += "file://add-back-option-build-base.patch \ file://wxgtk-fixup-build-scripts.patch \ file://sip-fix-override-functions.patch \ " SRC_URI[sha256sum] = "00e5e3180ac7f2852f342ad341d57c44e7e4326de0b550b9a5c4a8361b6c3528" S = "${WORKDIR}/wxPython-${PV}" inherit pypi setuptools3 pkgconfig export WX_CONFIG = "'${RECIPE_SYSROOT_NATIVE}${bindir}/wx-config --prefix=${STAGING_EXECPREFIXDIR}'" RDEPENDS:${PN} = "\ python3-difflib \ python3-image \ python3-numpy \ python3-pillow \ python3-pprint \ python3-pycairo \ python3-six \ python3-xml \ " ```
cf4bde93-34ec-4462-8c92-a924681cc063
{ "language": "BitBake" }
```bitbake SUMMARY = "Replacement syslog API" DESCRIPTION = "The EventLog library aims to be a replacement of the \ simple syslog() API provided on UNIX systems. The \ major difference between EventLog and syslog is that \ EventLog tries to add structure to messages. EventLog \ provides an interface to build, format and output an \ event record. The exact format and output method can \ be customized by the administrator via a configuration \ file. his package is the runtime part of the library. \ " LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=b8ba8e77bcda9a53fac0fe39fe957767" SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/${BPN}_${PV}.tar.gz" inherit autotools pkgconfig SRC_URI[md5sum] = "68ec8d1ea3b98fa35002bb756227c315" SRC_URI[sha256sum] = "7cb4e6f316daede4fa54547371d5c986395177c12dbdec74a66298e684ac8b85" ``` Add HOMEPAGE info into recipe file.
```bitbake SUMMARY = "Replacement syslog API" HOMEPAGE = "http://www.balabit.com/network-security/syslog-ng/opensource-logging-system" DESCRIPTION = "The EventLog library aims to be a replacement of the \ simple syslog() API provided on UNIX systems. The \ major difference between EventLog and syslog is that \ EventLog tries to add structure to messages. EventLog \ provides an interface to build, format and output an \ event record. The exact format and output method can \ be customized by the administrator via a configuration \ file. his package is the runtime part of the library. \ " LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=b8ba8e77bcda9a53fac0fe39fe957767" SRC_URI = "http://www.balabit.com/downloads/files/syslog-ng/open-source-edition/3.4.2/source/${BPN}_${PV}.tar.gz" inherit autotools pkgconfig SRC_URI[md5sum] = "68ec8d1ea3b98fa35002bb756227c315" SRC_URI[sha256sum] = "7cb4e6f316daede4fa54547371d5c986395177c12dbdec74a66298e684ac8b85" ```
b1498bda-ae55-4c38-aa67-bd966a4f382c
{ "language": "BitBake" }
```bitbake SUMMARY = "Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission" HOMEPAGE = "https://github.com/RPi-Distro/python-sense-hat" SECTION = "devel/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=d80fe312e1ff5fbd97369b093bf21cda" inherit setuptools3 pypi PYPI_PACKAGE = "sense-hat" SRC_URI[md5sum] = "69929250cb72349a8a82edf2584b1d83" SRC_URI[sha256sum] = "f000998d042d96ed722d459312e1bebd0107f9f3015cd34b3e4fabcab9c800af" DEPENDS += " \ jpeg \ zlib \ freetype \ " RDEPENDS_${PN} += " \ ${PYTHON_PN}-numpy \ ${PYTHON_PN}-rtimu \ ${PYTHON_PN}-imaging \ " ``` Switch to using pillow instead of imaging module
```bitbake SUMMARY = "Python module to control the Raspberry Pi Sense HAT used in the Astro Pi mission" HOMEPAGE = "https://github.com/RPi-Distro/python-sense-hat" SECTION = "devel/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=d80fe312e1ff5fbd97369b093bf21cda" inherit setuptools3 pypi PYPI_PACKAGE = "sense-hat" SRC_URI[md5sum] = "69929250cb72349a8a82edf2584b1d83" SRC_URI[sha256sum] = "f000998d042d96ed722d459312e1bebd0107f9f3015cd34b3e4fabcab9c800af" DEPENDS += " \ jpeg \ zlib \ freetype \ " RDEPENDS_${PN} += " \ ${PYTHON_PN}-numpy \ ${PYTHON_PN}-rtimu \ ${PYTHON_PN}-pillow \ " ```
1e05da80-68e1-4685-ac8c-2a1027c68d93
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Minimal ptest image for NI Linux Real-Time x64 and ARM targets" LICENSE = "MIT" require minimal-nilrt-image.bb 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; " ``` Enable .cpio.gz image output for 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; " ```
89ef9836-1842-4539-97d8-a82d04538f89
{ "language": "BitBake" }
```bitbake SUMMARY = "log4cplus provides a simple C++ logging API for log management" SECTION = "libs" HOMEPAGE = "http://sourceforge.net/projects/log4cplus/" BUGTRACKER = "http://sourceforge.net/p/log4cplus/bugs/" LICENSE = "Apache-2.0 BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=65053a46f707ee2b93f09ad22f692170" SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz" SRC_URI[md5sum] = "104bd6dd07ee71bc52ee9adca4d4d5fc" SRC_URI[sha256sum] = "96905e763fc6f1e3a854c3d1964c21e877de909bdddd0aed99806c62a68be838" inherit autotools pkgconfig BBCLASSEXTEND += "native" ``` Fix license format QA error
```bitbake SUMMARY = "log4cplus provides a simple C++ logging API for log management" SECTION = "libs" HOMEPAGE = "http://sourceforge.net/projects/log4cplus/" BUGTRACKER = "http://sourceforge.net/p/log4cplus/bugs/" LICENSE = "Apache-2.0 & BSD-2-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=65053a46f707ee2b93f09ad22f692170" SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BPN}-stable/${PV}/${BP}.tar.gz" SRC_URI[md5sum] = "104bd6dd07ee71bc52ee9adca4d4d5fc" SRC_URI[sha256sum] = "96905e763fc6f1e3a854c3d1964c21e877de909bdddd0aed99806c62a68be838" inherit autotools pkgconfig BBCLASSEXTEND += "native" ```
63a71d97-0e41-462c-b380-a359031fd9a4
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Python interface to Bluetooth LE on Linux" HOMEPAGE = "https://github.com/IanHarvey/bluepy" SECTION = "devel/python" DEPENDS = "${PYTHON_PN} glib-2.0" RDEPENDS_${PN} = "bluez5" LICENSE = "GPLv2 & PD" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/PD;md5=b3597d12946881e13cb3b548d1173851" inherit setuptools3 pkgconfig SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https;rev=7ad565231a97c304c0eff45f2649cd005e69db09" S = "${WORKDIR}/git" TARGET_CC_ARCH += "${LDFLAGS}" ``` Set PV and correct syntax for RDEPENDS
```bitbake DESCRIPTION = "Python interface to Bluetooth LE on Linux" HOMEPAGE = "https://github.com/IanHarvey/bluepy" SECTION = "devel/python" LICENSE = "GPLv2 & PD" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=59e0d45ea684dda215889aa1b5acd001" DEPENDS = "glib-2.0" SRCREV = "7ad565231a97c304c0eff45f2649cd005e69db09" PV = "1.3.0+git${SRCPV}" SRC_URI = "git://github.com/IanHarvey/bluepy.git;protocol=https" S = "${WORKDIR}/git" inherit setuptools3 pkgconfig RDEPENDS:${PN} = "bluez5" TARGET_CC_ARCH += "${LDFLAGS}" ```
fb444c07-b205-4d20-9ce2-d4c83c053f85
{ "language": "BitBake" }
```bitbake SUMMARY = "GUsb is a GObject wrapper for libusb1" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = "glib-2.0 libusb" inherit meson gobject-introspection gtk-doc gettext vala PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false" SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https" SRCREV = "db9edbd8b45662d551194a0985173732f8f557a5" S = "${WORKDIR}/git" ``` Use the correct args to disable vala support
```bitbake SUMMARY = "GUsb is a GObject wrapper for libusb1" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" DEPENDS = "glib-2.0 libusb" inherit meson gobject-introspection gtk-doc gettext vala PACKAGECONFIG ??= "${@bb.utils.contains('GI_DATA_ENABLED', 'True', 'vapi', '', d)}" PACKAGECONFIG[vapi] = "-Dvapi=true,-Dvapi=false" SRC_URI = "git://github.com/hughsie/libgusb.git;branch=main;protocol=https" SRCREV = "db9edbd8b45662d551194a0985173732f8f557a5" S = "${WORKDIR}/git" PACKAGECONFIG[vala] = "-Dvapi=true,-Dvapi=false" ```
b547c8d3-f2a2-4ab6-8d91-0358fbe640cb
{ "language": "BitBake" }
```bitbake require mender.inc MENDER_BRANCH ?= "master" SRC_URI = "git://github.com/mendersoftware/mender;protocol=https;branch=${MENDER_BRANCH}" # The revision listed below is not really important, it's just a way to avoid # network probing during parsing if we are not gonna build the git version # anyway. If git version is enabled, the AUTOREV will be chosen instead of the # SHA. def mender_is_git_version(d): version = d.getVar("PREFERRED_VERSION_${PN}") if version is not None and "git" in version: return d.getVar("AUTOREV") else: return "f6ffa190892202263fdb75975059fbb201adab6a" SRCREV ?= '${@mender_is_git_version(d)}' PV = "${MENDER_BRANCH}-git${SRCPV}" # DO NOT change the checksum here without make sure that ALL licenses (including # dependencies) are included in the LICENSE variable below. LIC_FILES_CHKSUM = "file://LIC_FILES_CHKSUM.sha256;md5=ec8e15a3ea20289732cca4a7ef643ef8" LICENSE = "Apache-2.0 & BSD-2-Clause & BSD-3-Clause & MIT & OLDAP-2.8" # Downprioritize this recipe in version selections. DEFAULT_PREFERENCE = "-1" ``` Update checksum for Mender client to match UBI changes.
```bitbake require mender.inc MENDER_BRANCH ?= "master" SRC_URI = "git://github.com/mendersoftware/mender;protocol=https;branch=${MENDER_BRANCH}" # The revision listed below is not really important, it's just a way to avoid # network probing during parsing if we are not gonna build the git version # anyway. If git version is enabled, the AUTOREV will be chosen instead of the # SHA. def mender_is_git_version(d): version = d.getVar("PREFERRED_VERSION_${PN}") if version is not None and "git" in version: return d.getVar("AUTOREV") else: return "f6ffa190892202263fdb75975059fbb201adab6a" SRCREV ?= '${@mender_is_git_version(d)}' PV = "${MENDER_BRANCH}-git${SRCPV}" # DO NOT change the checksum here without make sure that ALL licenses (including # dependencies) are included in the LICENSE variable below. LIC_FILES_CHKSUM = "file://LIC_FILES_CHKSUM.sha256;md5=ab273c82f23a11ee5ac246ad04db8b9e" LICENSE = "Apache-2.0 & BSD-2-Clause & BSD-3-Clause & MIT & OLDAP-2.8" # Downprioritize this recipe in version selections. DEFAULT_PREFERENCE = "-1" ```
7c2dbfff-8598-4106-b662-f86f0a33734e
{ "language": "BitBake" }
```bitbake SUMMARY = "Simple DirectMedia Layer truetype font library" SECTION = "libs" DEPENDS = "virtual/libsdl freetype" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" PR = "r1" SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \ file://configure.patch \ " S = "${WORKDIR}/SDL_ttf-${PV}" EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config " inherit autotools TARGET_CC_ARCH += "${LDFLAGS}" do_configure_prepend() { MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" for i in ${MACROS}; do rm acinclude/$i done } SRC_URI[md5sum] = "814e6e17e8879254208d23b3b7e0354b" SRC_URI[sha256sum] = "7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a" ``` Fix build with separate builddir
```bitbake SUMMARY = "Simple DirectMedia Layer truetype font library" SECTION = "libs" DEPENDS = "virtual/libsdl freetype" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=27818cd7fd83877a8e3ef82b82798ef4" PR = "r2" SRC_URI = "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-${PV}.tar.gz \ file://configure.patch \ " S = "${WORKDIR}/SDL_ttf-${PV}" EXTRA_OECONF += "SDL_CONFIG=${STAGING_BINDIR_CROSS}/sdl-config " inherit autotools TARGET_CC_ARCH += "${LDFLAGS}" do_configure_prepend() { # Removing these files fixes a libtool version mismatch. MACROS="libtool.m4 lt~obsolete.m4 ltoptions.m4 ltsugar.m4 ltversion.m4" for i in ${MACROS}; do rm ${S}/acinclude/$i done } SRC_URI[md5sum] = "814e6e17e8879254208d23b3b7e0354b" SRC_URI[sha256sum] = "7d38704bcc7c34029c2dcb73b2d4857e8ad76341c6e0faed279eb9f743c66c6a" ```
aa2edd62-3a7c-48df-a905-a14eb2f47b10
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Advanced GPIO for the Raspberry Pi. Extends RPi.GPIO with PWM, \ GPIO interrups, TCP socket interrupts, command line tools and more" HOMEPAGE = "https://github.com/metachris/RPIO" SECTION = "devel/python" LICENSE = "LGPLv3+" LIC_FILES_CHKSUM = "file://README.rst;beginline=41;endline=53;md5=d5d95d7486a4d98c999675c23196b25a" SRCNAME = "RPIO" SRC_URI = "http://pypi.python.org/packages/source/R/RPIO/${SRCNAME}-${PV}.tar.gz \ file://0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch \ " S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools COMPATIBLE_MACHINE = "raspberrypi" SRC_URI[md5sum] = "cefc45422833dcafcd59b78dffc540f4" SRC_URI[sha256sum] = "b89f75dec9de354681209ebfaedfe22b7c178aacd91a604a7bd6d92024e4cf7e" ``` Add RDEPENDS For python-logging & python-threading
```bitbake DESCRIPTION = "Advanced GPIO for the Raspberry Pi. Extends RPi.GPIO with PWM, \ GPIO interrups, TCP socket interrupts, command line tools and more" HOMEPAGE = "https://github.com/metachris/RPIO" SECTION = "devel/python" LICENSE = "LGPLv3+" LIC_FILES_CHKSUM = "file://README.rst;beginline=41;endline=53;md5=d5d95d7486a4d98c999675c23196b25a" SRCNAME = "RPIO" SRC_URI = "http://pypi.python.org/packages/source/R/RPIO/${SRCNAME}-${PV}.tar.gz \ file://0001-include-sys-types.h-explicitly-for-getting-caddr_t-d.patch \ " S = "${WORKDIR}/${SRCNAME}-${PV}" inherit setuptools COMPATIBLE_MACHINE = "raspberrypi" RDEPENDS_${PN} = "\ python-logging \ python-threading \ " SRC_URI[md5sum] = "cefc45422833dcafcd59b78dffc540f4" SRC_URI[sha256sum] = "b89f75dec9de354681209ebfaedfe22b7c178aacd91a604a7bd6d92024e4cf7e" ```
87c53ecc-797c-4bd7-9c13-3667bd168dfb
{ "language": "BitBake" }
```bitbake require python-kconfiglib.inc inherit pypi setuptools3 ``` Consolidate in a single file
```bitbake DESCRIPTION = "Kconfiglib is a Kconfig implementation in Python" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=712177a72a3937909543eda3ad1bfb7c" SRC_URI[md5sum] = "4ad68618824d4bad1d1de1d7eb838bba" SRC_URI[sha256sum] = "bed2cc2216f538eca4255a83a4588d8823563cdd50114f86cf1a2674e602c93c" inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" ```
e2b37237-7480-434d-ba50-ed4c49f62894
{ "language": "BitBake" }
```bitbake SUMMARY = "backport of Python 3.4's enum package" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://enum/LICENSE;md5=0a97a53a514564c20efd7b2e8976c87e" SRC_URI[md5sum] = "5f13a0841a61f7fc295c514490d120d0" SRC_URI[sha256sum] = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1" inherit pypi setuptools BBCLASSEXTEND = "native nativesdk" ``` Add HOMEPAGE info into recipe file.
```bitbake SUMMARY = "backport of Python 3.4's enum package" HOMEPAGE = "https://bitbucket.org/stoneleaf/enum34" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://enum/LICENSE;md5=0a97a53a514564c20efd7b2e8976c87e" SRC_URI[md5sum] = "5f13a0841a61f7fc295c514490d120d0" SRC_URI[sha256sum] = "8ad8c4783bf61ded74527bffb48ed9b54166685e4230386a9ed9b1279e2df5b1" inherit pypi setuptools BBCLASSEXTEND = "native nativesdk" ```
68ad425a-7f70-4ecb-ba1e-b788b854524f
{ "language": "BitBake" }
```bitbake require pango.inc PR = "${INC_PR}.1" SRC_URI += "file://CVE-2010-0421.patch" SRC_URI[archive.md5sum] = "f2eeaf183930e00ed28fca3a6ed1deb0" SRC_URI[archive.sha256sum] = "adbd11f182ec63939d6364cbb59e86991a48582e7d3641cda80529b40b399559" ``` Update LICENSE field version to LGPLv2
```bitbake require pango.inc LICENSE = "LGPLv2+" PR = "${INC_PR}.2" SRC_URI += "file://CVE-2010-0421.patch" SRC_URI[archive.md5sum] = "f2eeaf183930e00ed28fca3a6ed1deb0" SRC_URI[archive.sha256sum] = "adbd11f182ec63939d6364cbb59e86991a48582e7d3641cda80529b40b399559" ```
b19958af-9d61-4164-9bc9-9c42cb4f9848
{ "language": "BitBake" }
```bitbake DESCRIPTION = "A Calculator for Openmoko" SECTION = "openmoko/tools" DEPENDS = "libmokoui2" PV = "0.1.0+svnr${SRCREV}" PR = "r1" inherit openmoko2 SRC_URI += " file://openmoko-calculator.png " do_install_append_openmoko() { install -d ${D}/${datadir}/pixmaps/ install ${WORKDIR}//openmoko-calculator.png ${D}/${datadir}/pixmaps/openmoko-calculator.png } PKG_TAGS_${PN} = "group::unknown alias::Om_Calculator" ``` Add license as band-aid to get it build
```bitbake DESCRIPTION = "A Calculator for Openmoko" SECTION = "openmoko/tools" DEPENDS = "libmokoui2" PV = "0.1.0+svnr${SRCREV}" PR = "r1" inherit openmoko2 LICENSE = "GPL" SRC_URI += " file://openmoko-calculator.png " do_install_append_openmoko() { install -d ${D}/${datadir}/pixmaps/ install ${WORKDIR}//openmoko-calculator.png ${D}/${datadir}/pixmaps/openmoko-calculator.png } PKG_TAGS_${PN} = "group::unknown alias::Om_Calculator" ```
e43819fa-de76-435b-a5c4-cfb3c40997af
{ "language": "BitBake" }
```bitbake DESCRIPTION = "TI High performance libraries" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462" DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib" include hplib.inc CHOICELIST = "yes no" S = "${WORKDIR}/git/ti/runtime/hplib" EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () { for device in ${DEVICELIST} do for choice in ${CHOICELIST} do oe_runmake lib HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device" done done } do_install () { for device in ${DEVICELIST} do oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" done } ``` Add Run time dependency on hplib-mod
```bitbake DESCRIPTION = "TI High performance libraries" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/runtime/hplib/src/COPYING.txt;md5=b7982a377c680ad71ca2fbb735982462" DEPENDS = "common-csl-ip rm-lld qmss-lld sa-lld pktlib" RDEPENDS_${PN} = "hplib-mod" include hplib.inc CHOICELIST = "yes no" S = "${WORKDIR}/git/ti/runtime/hplib" EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR}" do_compile () { for device in ${DEVICELIST} do for choice in ${CHOICELIST} do oe_runmake lib HPLIB_SRC_DIR=${S} USEDYNAMIC_LIB=$choice DEVICE="$device" done done } do_install () { for device in ${DEVICELIST} do oe_runmake install INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" done } ```
b4f8bb12-6b3a-4bb9-b31c-694487833a0f
{ "language": "BitBake" }
```bitbake COMPATIBLE_MACHINE = "raspberrypi" require linux.inc DESCRIPTION = "Linux kernel for the RaspberryPi board" PR = "r1" # Bump MACHINE_KERNEL_PR in the machine config if you update the kernel. # This is on the rpi-patches branch SRCREV = "0ec4154d64ebba48ca2446cde60a90546311defc" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-patches \ " LINUX_VERSION ?= "3.1.9-rpi" PV = "${LINUX_VERSION}+${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" PARALLEL_MAKEINST = "" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } do_install_prepend() { install -d ${D}/lib/firmware } ``` Update kernel to latest upstream
```bitbake COMPATIBLE_MACHINE = "raspberrypi" require linux.inc DESCRIPTION = "Linux kernel for the RaspberryPi board" PR = "r2" # Bump MACHINE_KERNEL_PR in the machine config if you update the kernel. # This is on the rpi-patches branch SRCREV = "14ad68cf4afc7acf14076f895b539d81cd9f32ab" SRC_URI = "git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-patches \ " LINUX_VERSION ?= "3.1.9-rpi" PV = "${LINUX_VERSION}+${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" PARALLEL_MAKEINST = "" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } do_install_prepend() { install -d ${D}/lib/firmware } ```
923f5073-f029-496e-8ae5-74873743b726
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Extended task to get System Test specific apps" LICENSE = "MIT" PR = "r8" inherit packagegroup PACKAGE_ARCH = "${MACHINE_ARCH}" ARAGO_TEST = "\ bonnie++ \ hdparm \ iozone3 \ iperf \ lmbench \ rt-tests \ evtest \ bc \ memtester \ " ARAGO_TI_TEST = "\ ltp-ddt \ " ARAGO_TI_TEST_append_omap-a15 = " \ omapconf \ libdrm-tests \ " RDEPENDS_${PN} = "\ ${ARAGO_TEST} \ ${ARAGO_TI_TEST} \ " ``` Add input-utils to test packages
```bitbake DESCRIPTION = "Extended task to get System Test specific apps" LICENSE = "MIT" PR = "r9" inherit packagegroup PACKAGE_ARCH = "${MACHINE_ARCH}" ARAGO_TEST = "\ bonnie++ \ hdparm \ iozone3 \ iperf \ lmbench \ rt-tests \ evtest \ bc \ memtester \ " ARAGO_TI_TEST = "\ ltp-ddt \ input-utils \ " ARAGO_TI_TEST_append_omap-a15 = " \ omapconf \ libdrm-tests \ " RDEPENDS_${PN} = "\ ${ARAGO_TEST} \ ${ARAGO_TI_TEST} \ " ```
bb61016e-20be-458a-a385-f1124c14e79a
{ "language": "BitBake" }
```bitbake SUMMMARY = "PLOS Base System" LICENSE = "MIT" PR = "r1" inherit packagegroup # For backwards compatibility after rename RPROVIDES_packagegroup-base-plos = "packagegroup-plos-base" RREPLACES_packagegroup-base-plos = "packagegroup-plos-base" RCONFLICTS_packagegroup-base-plos = "packagegroup-plos-base" RDEPENDS_${PN} = " \ formfactor \ timestamp-service \ matchbox-wm \ plos-x-session \ pointercal-xinput \ apache2 \ webmin \ firefox \ " ``` Remove match-box and firefox packages
```bitbake SUMMMARY = "PLOS Base System" LICENSE = "MIT" PR = "r1" inherit packagegroup # For backwards compatibility after rename RPROVIDES_packagegroup-base-plos = "packagegroup-plos-base" RREPLACES_packagegroup-base-plos = "packagegroup-plos-base" RCONFLICTS_packagegroup-base-plos = "packagegroup-plos-base" RDEPENDS_${PN} = " \ formfactor \ timestamp-service \ plos-x-session \ pointercal-xinput \ apache2 \ webmin \ " ```
fcb40143-d0bd-401c-b709-fc44f44f075e
{ "language": "BitBake" }
```bitbake # packagegroup definitions to help the GNSS-SDR community build images # they like. LICENSE = "MIT" inherit packagegroup PACKAGES = " \ packagegroup-gnss-sdr-base \ packagegroup-gnss-sdr-bin \ packagegroup-gnss-sdr-drivers \ " PROVIDES = "${PACKAGES}" SUMMARY_packagegroup-gnss-sdr-base = "Required packages." RDEPENDS_packagegroup-gnss-sdr-base = " \ gnuradio \ gflags \ glog \ armadillo \ gtest \ gnutls \ log4cpp \ matio \ python-mako \ python-six \ packagegroup-gnss-sdr-drivers \ " SUMMARY_packagegroup-gnss-sdr-bin = "GNSS-SDR binary." DEPENDS_packagegroup-gnss-sdr-bin = " \ gnss-sdr \ " SUMMARY_packagegroup-gnss-sdr-drivers = "RF front-end drivers." DEPENDS_packagegroup-gnss-sdr-drivers = " \ uhd \ rtl-sdr \ libbladerf \ libbladerf-bin \ gr-osmosdr \ gr-iio \ " ``` Add libiio and gr-iio to target
```bitbake # packagegroup definitions to help the GNSS-SDR community build images # they like. LICENSE = "MIT" inherit packagegroup PACKAGES = " \ packagegroup-gnss-sdr-base \ packagegroup-gnss-sdr-bin \ packagegroup-gnss-sdr-drivers \ " PROVIDES = "${PACKAGES}" SUMMARY_packagegroup-gnss-sdr-base = "Required packages." RDEPENDS_packagegroup-gnss-sdr-base = " \ gnuradio \ gflags \ glog \ armadillo \ gtest \ gnutls \ log4cpp \ matio \ python-mako \ python-six \ uhd \ rtl-sdr \ libbladerf \ libbladerf-bin \ gr-osmosdr \ gr-iio \ " SUMMARY_packagegroup-gnss-sdr-bin = "GNSS-SDR binary." DEPENDS_packagegroup-gnss-sdr-bin = " \ gnss-sdr \ " SUMMARY_packagegroup-gnss-sdr-drivers = "RF front-end drivers." DEPENDS_packagegroup-gnss-sdr-drivers = " \ uhd \ rtl-sdr \ libbladerf \ libbladerf-bin \ gr-osmosdr \ gr-iio \ " ```
0118b6a7-8f40-40d3-810f-34595cde733d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Packages for Microsoft Azure IoT." LICENSE = "MIT" inherit packagegroup PR = "r0" RDEPENDS_${PN} = "\ azure-iot-sdk-c \ azure-iot-sdk-c-dev \ python-azure-iot-sdk \ node-red-contrib-azureiothubnode \ node-iothub-explorer \ azure-iot-gateway-sdk \ azure-iot-gateway-sdk-dev \ azure-iot-gateway-sdk-modules \ azure-iot-gateway-sdk-samples \ python-azure-cli \ " PACKAGES = "${PN}" PACKAGECONFIG ??= "java" PACKAGECONFIG[java] = "\ , \ , \ , \ azure-iot-sdk-java \ azure-iot-gateway-sdk-java \ azure-iot-device-sdk-java \ " ``` Add missing package to package group
```bitbake DESCRIPTION = "Packages for Microsoft Azure IoT." LICENSE = "MIT" inherit packagegroup PR = "r1" RDEPENDS_${PN} = "\ azure-iot-sdk-c \ azure-iot-sdk-c-dev \ python-azure-iot-sdk \ node-red-contrib-azureiothubnode \ node-iothub-explorer \ azure-iot-gateway-sdk \ azure-iot-gateway-sdk-dev \ azure-iot-gateway-sdk-modules \ azure-iot-gateway-sdk-samples \ python-azure-cli \ " PACKAGES = "${PN}" PACKAGECONFIG ??= "java" PACKAGECONFIG[java] = "\ , \ , \ , \ azure-iot-sdk-java \ azure-iot-gateway-sdk-java \ azure-iot-device-sdk-java \ azure-iot-device-sdk-java-samples \ " ```
a02e7d52-bd39-4081-9b88-a193c316309b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "A library for replaying C64 SID music" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPL" PR = "r1" SRC_URI = "\ ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles/libsidplay-1.36.59.tgz;name=archive \ http://ftp.debian.org/debian/pool/main/libs/libsidplay/libsidplay_1.36.59-5.diff.gz;name=patch \ " inherit autotools SRC_URI[archive.md5sum] = "37c51ba4bd57164b1b0bb7b43b9adece" SRC_URI[archive.sha256sum] = "3da9b38d4eb5bf9e936b9604ba92da0594ef38047d50cf806a8e11c400008024" SRC_URI[patch.md5sum] = "c2945a19ebfc94cb3a04b394ba2e07ed" SRC_URI[patch.sha256sum] = "a6b13f25e5e6b91ad490fe9e8afac22c484f372e4e245d397a813ea6563abdb3" ``` Update LICENSE field version to GPLv2
```bitbake DESCRIPTION = "A library for replaying C64 SID music" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" PR = "r2" SRC_URI = "\ ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles/libsidplay-1.36.59.tgz;name=archive \ http://ftp.debian.org/debian/pool/main/libs/libsidplay/libsidplay_1.36.59-5.diff.gz;name=patch \ " inherit autotools SRC_URI[archive.md5sum] = "37c51ba4bd57164b1b0bb7b43b9adece" SRC_URI[archive.sha256sum] = "3da9b38d4eb5bf9e936b9604ba92da0594ef38047d50cf806a8e11c400008024" SRC_URI[patch.md5sum] = "c2945a19ebfc94cb3a04b394ba2e07ed" SRC_URI[patch.sha256sum] = "a6b13f25e5e6b91ad490fe9e8afac22c484f372e4e245d397a813ea6563abdb3" ```
ea34af6f-6431-4760-8d85-9f7d0c20f5fb
{ "language": "BitBake" }
```bitbake SUMMARY = "MagOS image for development" require magos-image-prod.bb IMAGE_FEATURES += "dev-pkgs tools-debug tools-profile tools-testapps debug-tweaks" IMAGE_INSTALL += "kernel-dev packagegroup-magos-buildtools" ``` Add gstreamer to the devel image
```bitbake SUMMARY = "MagOS image for development" require magos-image-prod.bb IMAGE_FEATURES += "dev-pkgs tools-debug tools-profile tools-testapps debug-tweaks" IMAGE_INSTALL += "kernel-dev \ packagegroup-magos-buildtools \ packagegroup-fsl-gstreamer \ packagegroup-fsl-gstreamer-full \ packagegroup-fslc-gstreamer1.0-full \ gstreamer1.0-rtsp-server \ " ```
3eb9c052-faaa-4773-b8c6-5d57433006ae
{ "language": "BitBake" }
```bitbake SUMMARY = "Python Library for Tom's Obvious, Minimal Language" HOMEPAGE = "https://github.com/uiri/toml" LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=6d6012eea477117abf51c31262a152f8" SRC_URI[md5sum] = "63fffbe2d632865ec29cd69bfdf36682" SRC_URI[sha256sum] = "229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c" inherit pypi setuptools3 RDEPENDS_${PN} += " \ ${PYTHON_PN}-misc \ " ``` Extend with native build variants
```bitbake SUMMARY = "Python Library for Tom's Obvious, Minimal Language" HOMEPAGE = "https://github.com/uiri/toml" LICENSE = "MIT" SECTION = "devel/python" LIC_FILES_CHKSUM = "file://LICENSE;md5=6d6012eea477117abf51c31262a152f8" SRC_URI[md5sum] = "63fffbe2d632865ec29cd69bfdf36682" SRC_URI[sha256sum] = "229f81c57791a41d65e399fc06bf0848bab550a9dfd5ed66df18ce5f05e73d5c" inherit pypi setuptools3 BBCLASSEXTEND = "native nativesdk" RDEPENDS_${PN} += " \ ${PYTHON_PN}-misc \ " ```
9b25b0fa-33b0-491e-8695-240d8c8a3398
{ "language": "BitBake" }
```bitbake require atlas-soc-console-image.bb IMAGE_INSTALL += " \ angstrom-gdm-xfce-hack \ packagegroup-xfce-base \ xterm \ angstrom-x11vnc-xinit \ x11vnc \ xserver-xorg-xvfb \ xkbcomp \ packagegroup-core-x11-xserver \ xserver-nodm-init \ xserver-common \ gimp abiword gedit midori epiphany \ imagemagick \ " export IMAGE_BASENAME = "atlas-soc-image" ``` Add x11vnc systemd initscript to image
```bitbake require atlas-soc-console-image.bb IMAGE_INSTALL += " \ angstrom-gdm-xfce-hack \ packagegroup-xfce-base \ xterm \ angstrom-x11vnc-xinit \ x11vnc \ xserver-xorg-xvfb \ xkbcomp \ packagegroup-core-x11-xserver \ xserver-nodm-init \ xserver-common \ gimp abiword gedit midori epiphany \ imagemagick \ atlas-soc-x11vnc \ " export IMAGE_BASENAME = "atlas-soc-image" ```
083d2757-ff68-4d32-b620-55a648d17e92
{ "language": "BitBake" }
```bitbake # # Copyright (C) 2015 Pelagicore AB DESCRIPTION = "Lightweight media scanner meant to be used in not-so-powerful devices, like embedded systems or old machines." LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" HOMEPAGE = "https://github.com/profusion/lightmediascanner" inherit autotools pkgconfig gettext DEPENDS = "sqlite3" PR = "r0" EXTRA_OECONF += "--program-prefix=lms-" SRCREV = "454be49d1fd22c82d78bddd91f61e478c50b8aa0" SRC_URI = "git://github.com/profusion/lightmediascanner.git \ file://0001-Install-binaries-in-bin-directory.patch" S = "${WORKDIR}/git" FILES_${PN} += "${libdir}/lightmediascanner/plugins/*.so" ``` Package .la files to fix build failure
```bitbake # # Copyright (C) 2015 Pelagicore AB DESCRIPTION = "Lightweight media scanner meant to be used in not-so-powerful devices, like embedded systems or old machines." LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" HOMEPAGE = "https://github.com/profusion/lightmediascanner" inherit autotools pkgconfig gettext DEPENDS = "sqlite3" PR = "r0" EXTRA_OECONF += "--program-prefix=lms-" SRCREV = "454be49d1fd22c82d78bddd91f61e478c50b8aa0" SRC_URI = "git://github.com/profusion/lightmediascanner.git \ file://0001-Install-binaries-in-bin-directory.patch" S = "${WORKDIR}/git" FILES_${PN} += "${libdir}/lightmediascanner/plugins/*.so" FILES_${PN}-dev += "${libdir}/lightmediascanner/plugins/*.la" ```
16ab908d-c02c-432f-9054-5dc81df1e5ec
{ "language": "BitBake" }
```bitbake HOMEPAGE = "https://www.balena.io/" SUMMARY = "Utility to mount container filesystems" DESCRIPTION = "Utility to mount container filesystems" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" inherit go RDEPENDS_${PN} = "util-linux" GO_IMPORT = "github.com/balena-os/mobynit" SRC_URI = "git://${GO_IMPORT};nobranch=1" SRCREV="e6092f412d9187efd5bc0e94c9023a9f37f747d9" S = "${WORKDIR}/${BPN}/src/${GO_IMPORT}" do_compile() { cd ${S} unset GO_LDFLAGS unset GOPATH GOROOT export GOCACHE="${B}/.cache" oe_runmake } do_install() { install -d ${D}/boot install -m 0755 ${S}/mobynit ${D}/boot/init } FILES_${PN} += " \ /boot/init \ " INHIBIT_PACKAGE_STRIP = "1" INSANE_SKIP_${PN} += "already-stripped" ``` Update to correctly mount data partition
```bitbake HOMEPAGE = "https://www.balena.io/" SUMMARY = "Utility to mount container filesystems" DESCRIPTION = "Utility to mount container filesystems" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" inherit go RDEPENDS_${PN} = "util-linux" GO_IMPORT = "github.com/balena-os/mobynit" SRC_URI = "git://${GO_IMPORT};nobranch=1" SRCREV="021887a5619405604eb0ef6ef981ea4969c69616" S = "${WORKDIR}/${BPN}/src/${GO_IMPORT}" do_compile() { cd ${S} unset GO_LDFLAGS unset GOPATH GOROOT export GOCACHE="${B}/.cache" oe_runmake } do_install() { install -d ${D}/boot install -m 0755 ${S}/mobynit ${D}/boot/init } FILES_${PN} += " \ /boot/init \ " INHIBIT_PACKAGE_STRIP = "1" INSANE_SKIP_${PN} += "already-stripped" ```
6eb6ca0d-bb35-4863-9470-aaf073025cc7
{ "language": "BitBake" }
```bitbake # Copyright (C) 2015 Igor Santos <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) SUMMARY = "Universal Ctags" DESCRIPTION = "Universal Ctags is a multilanguage reimplementation of the \ Unix ctags utility. Ctags generates an index of source code \ definitions which is used by numerous editors and utilities \ to instantly locate the definitions." HOMEPAGE = "https://ctags.io/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" inherit autotools-brokensep pkgconfig manpages DEPENDS += "libxml2 jansson libyaml python3-docutils-native" SRCREV = "6df08b82d4845d1b9420d9268f24d5db16ee4480" SRC_URI = "git://github.com/universal-ctags/ctags" S = "${WORKDIR}/git" #do_install() { # install -Dm 755 ${B}/ctags ${D}${bindir}/ctags #} ``` Use PACKAGECONFIG for build options
```bitbake # Copyright (C) 2015 Igor Santos <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) SUMMARY = "Universal Ctags" DESCRIPTION = "Universal Ctags is a multilanguage reimplementation of the \ Unix ctags utility. Ctags generates an index of source code \ definitions which is used by numerous editors and utilities \ to instantly locate the definitions." HOMEPAGE = "https://ctags.io/" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" inherit autotools-brokensep pkgconfig manpages SRCREV = "6df08b82d4845d1b9420d9268f24d5db16ee4480" SRC_URI = "git://github.com/universal-ctags/ctags" S = "${WORKDIR}/git" PACKAGECONFIG ??= " \ readcmd \ xml \ json \ yaml \ " PACKAGECONFIG[readcmd] = "--enable-readcmd,--disable-readcmd" PACKAGECONFIG[etags] = "--enable-etags,--disable-etags" PACKAGECONFIG[xml] = "--enable-xml,--disable-xml,libxml2" PACKAGECONFIG[json] = "--enable-json,--disable-json,jansson" PACKAGECONFIG[seccomp] = "--enable-seccomp,--disable-seccomp,libseccomp" PACKAGECONFIG[yaml] = "--enable-yaml,--disable-yaml,libyaml" PACKAGECONFIG[manpages] = ",,python3-docutils-native" ```
ee202e67-b006-46b0-a8f0-b7534c92757c
{ "language": "BitBake" }
```bitbake SUMMARY = "Twisted Web Sockets" HOMEPAGE = "https://github.com/MostAwesomeDude/txWS" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8" DEPENDS = "python-twisted python-six python-vcversioner" SRC_URI = "git://github.com/MostAwesomeDude/txWS.git" SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414" S = "${WORKDIR}/git" inherit setuptools ``` Add missing dep on python-six-native
```bitbake SUMMARY = "Twisted Web Sockets" HOMEPAGE = "https://github.com/MostAwesomeDude/txWS" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=76699830db7fa9e897f6a1ad05f98ec8" DEPENDS = "python-twisted python-six python-vcversioner python-six-native python-vcversioner-native" SRC_URI = "git://github.com/MostAwesomeDude/txWS.git" SRCREV= "88cf6d9b9b685ffa1720644bd53c742afb10a414" S = "${WORKDIR}/git" inherit setuptools ```
03f7192c-df96-431f-868c-0d4af393c8de
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Required packges for running jupyter notebook with python3 " inherit packagegroup START_JUPYTER_PKG ?= "start-jupyter" #START_JUPYTER_PKG_k26 = "start-jupyterlab" JUPYTER_NOTEBOOK_PACKAGES = " \ packagegroup-python3-jupyter \ python3-core \ python3-ipywidgets \ python3-pydot \ liberation-fonts \ ttf-bitstream-vera \ ${START_JUPYTER_PKG} \ " RDEPENDS_${PN} = "${JUPYTER_NOTEBOOK_PACKAGES}" ``` Revert "Revert "Revert "**TEMPORARY** Disable start-jupyterlab"""
```bitbake DESCRIPTION = "Required packges for running jupyter notebook with python3 " inherit packagegroup START_JUPYTER_PKG ?= "start-jupyter" START_JUPYTER_PKG_k26 = "start-jupyterlab" JUPYTER_NOTEBOOK_PACKAGES = " \ packagegroup-python3-jupyter \ python3-core \ python3-ipywidgets \ python3-pydot \ liberation-fonts \ ttf-bitstream-vera \ ${START_JUPYTER_PKG} \ " RDEPENDS_${PN} = "${JUPYTER_NOTEBOOK_PACKAGES}" ```
7727b222-ffe1-43b6-8fea-d0a957f41635
{ "language": "BitBake" }
```bitbake SUMMARY = "Kernel drivers for the IMG VXE384 MP2 and D5520 encoder/decoder found in TI SoCs" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://common/dq.c;beginline=1;endline=16;md5=e015e28ff5e88576dab9fdf641e3dbfe" inherit module MACHINE_KERNEL_PR_append = "b" PR = "${MACHINE_KERNEL_PR}" COMPATIBLE_MACHINE = "j7-evm" SRCREV = "1f85a7fb3b78c82b44038aaf29bfdb229aeb6bc8" EXTRA_OEMAKE = "KPATH=${STAGING_KERNEL_DIR} KCONF=${STAGING_KERNEL_BUILDDIR}" TARGET_CC_ARCH += "${LDFLAGS}" BRANCH = "master" SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" do_install() { install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra install -m 644 ${S}/vxd-dec.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra } ``` Update SRCREV and build encoder
```bitbake SUMMARY = "Kernel drivers for the IMG VXE384 MP2 and D5520 encoder/decoder found in TI SoCs" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://driver/common/dq.c;beginline=1;endline=16;md5=e015e28ff5e88576dab9fdf641e3dbfe" inherit module MACHINE_KERNEL_PR_append = "c" PR = "${MACHINE_KERNEL_PR}" COMPATIBLE_MACHINE = "j7-evm" SRCREV = "c7657d2ead0ca211ab307dd2f403621de5b3e80d" EXTRA_OEMAKE = "KPATH=${STAGING_KERNEL_DIR} KCONF=${STAGING_KERNEL_BUILDDIR}" TARGET_CC_ARCH += "${LDFLAGS}" BRANCH = "master" SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" do_compile() { oe_runmake all -C ${S}/linux/decoder oe_runmake all -C ${S}/linux/encoder } do_install() { install -d ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra install -m 644 ${S}/linux/decoder/vxd-dec.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra install -m 644 ${S}/linux/encoder/vxe-enc.ko ${D}/${base_libdir}/modules/${KERNEL_VERSION}/extra } ```
a0d5a6e4-f5fb-4b89-9ee1-4ab5030a9213
{ "language": "BitBake" }
```bitbake require recipes-images/angstrom/extended-console-image.bb IMAGE_INSTALL += " \ kernel-modules \ kernel-dev \ linux-firmware \ usbutils \ libusbg \ iw \ systemd-analyze \ vim vim-vimrc \ procps \ screen minicom \ cronie-systemd ntpdate \ tar \ packagegroup-sdk-target \ gcc \ gdb gdbserver \ iproute2 \ lighttpd \ lighttpd-module-cgi \ atlas-soc-lighttpd-conf \ atlas-soc-101 \ atlas-soc-usb-gadget \ atlas-soc-fftdriver-mod \ atlas-soc-fftsw-apps \ atlas-soc-fftsw-apps-src \ atlas-soc-gpio-apps \ atlas-soc-adxl-apps \ gnuplot \ cmake \ " export IMAGE_BASENAME = "atlas-soc-console-image" #overload timestamp function in image.bbclass rootfs_update_timestamp () { date -u +%4Y%2m%2d%2H%2M >${IMAGE_ROOTFS}/etc/timestamp } EXPORT_FUNCTIONS rootfs_update_timestamp ``` Add one day to timestamp
```bitbake require recipes-images/angstrom/extended-console-image.bb IMAGE_INSTALL += " \ kernel-modules \ kernel-dev \ linux-firmware \ usbutils \ libusbg \ iw \ systemd-analyze \ vim vim-vimrc \ procps \ screen minicom \ cronie-systemd ntpdate \ tar \ packagegroup-sdk-target \ gcc \ gdb gdbserver \ iproute2 \ lighttpd \ lighttpd-module-cgi \ atlas-soc-lighttpd-conf \ atlas-soc-101 \ atlas-soc-usb-gadget \ atlas-soc-fftdriver-mod \ atlas-soc-fftsw-apps \ atlas-soc-fftsw-apps-src \ atlas-soc-gpio-apps \ atlas-soc-adxl-apps \ gnuplot \ cmake \ " export IMAGE_BASENAME = "atlas-soc-console-image" #overload timestamp function in image.bbclass rootfs_update_timestamp () { date -u +%4Y%2m%2d%2H%2M -d "+1 day">${IMAGE_ROOTFS}/etc/timestamp } EXPORT_FUNCTIONS rootfs_update_timestamp ```