doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
1f850d9d-ff04-421e-8342-ea9c532794bd
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Python client library for Gumstix RoboVero" HOMEPAGE = "https://github.com/robovero/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=52b7490557d2fd1a2c673d32aa5d4b8a" SRCREV = "a0c5719086348af7d1a9c91f04a255f512bb38d4" SRC_URI = "git://github.com/robovero/python.git;branch=master" DEPENDS = "python python-pyserial" RDEPENDS_${PN} = "python-pyserial" PACKAGES += "${PN}-examples" S = "${WORKDIR}/git" inherit python-dir do_install() { SITE_PACKAGES=${D}/${PYTHON_SITEPACKAGES_DIR} install -d ${D}${ROOT_HOME}/robovero-python install -d ${SITE_PACKAGES}/robovero install -m 755 ${S}/*.py ${D}${ROOT_HOME}/robovero-python/ install -m 755 ${S}/robovero/*.py ${SITE_PACKAGES}/robovero/ } FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR} " FILES_${PN}-examples += "${ROOT_HOME}/robovero-python" ``` Install example scripts into /usr/share
```bitbake DESCRIPTION = "Python client library for Gumstix RoboVero" HOMEPAGE = "https://github.com/robovero/python" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/COPYING;md5=52b7490557d2fd1a2c673d32aa5d4b8a" SRCREV = "a0c5719086348af7d1a9c91f04a255f512bb38d4" SRC_URI = "git://github.com/robovero/python.git;branch=master" DEPENDS = "python python-pyserial" RDEPENDS_${PN} = "python-pyserial" PACKAGES += "${PN}-examples" inherit python-dir S = "${WORKDIR}/git" SITE_PACKAGES="${D}/${PYTHON_SITEPACKAGES_DIR}" SHARE="/usr/share" do_install() { install -d ${D}${SHARE}/robovero-python install -d ${SITE_PACKAGES}/robovero install -m 755 ${S}/*.py ${D}${SHARE}/robovero-python/ install -m 755 ${S}/robovero/*.py ${SITE_PACKAGES}/robovero/ } FILES_${PN} += "${PYTHON_SITEPACKAGES_DIR} " FILES_${PN}-examples += "${SHARE}/robovero-python" ```
425da092-e2d0-4ec8-8f39-ab4fcbd69d8d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "johns hello world sample program" PR = "r0" DEPENDS = "" SRC_URI = " \ file://hello.c \ " S = "${WORKDIR}" do_compile () { ${CC} ${CFLAGS} ${LDFLAGS} -o hello hello.c } do_install () { install -d ${D}${bindir}/ install -m 0755 ${S}/hello ${D}${bindir}/ } FILES_${PN} = "${bindir}/hello" ``` Remove redundant FILES_$ from helloworld
```bitbake DESCRIPTION = "johns hello world sample program" PR = "r1" DEPENDS = "" SRC_URI = " \ file://hello.c \ " S = "${WORKDIR}" do_compile () { ${CC} ${CFLAGS} ${LDFLAGS} -o hello hello.c } do_install () { install -d ${D}${bindir} install -m 0755 hello ${D}${bindir} } ```
fab0959a-0759-4663-84ac-d182c15e8c73
{ "language": "BitBake" }
```bitbake SUMMARY = "GNOME default webbrowser" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "gnome-doc-utils libsoup-2.4 webkit-gtk gtk+ gconf iso-codes startup-notification ca-certificates libgnome-keyring" inherit gnome SRC_URI[archive.md5sum] = "0c566b3ffd428d2135e3c8cb65352d64" SRC_URI[archive.sha256sum] = "278a5c00ce07e6a3ea440d289de22dbec3ebec4ded4ff3b4c48b580f469c2dcc" EXTRA_OECONF += " --disable-nss --with-distributor-name=${DISTRO} --without-ca-file" do_configure_prepend() { touch ${S}/gnome-doc-utils.make sed -i -e s:help::g Makefile.am } FILES_${PN} += "${datadir}/icons ${datadir}/dbus-1" RDEPENDS_${PN} = "iso-codes" RRECOMMENDS_${PN} = "ca-certificates" ``` Fix build when S != B
```bitbake SUMMARY = "GNOME default webbrowser" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" DEPENDS = "gnome-doc-utils libsoup-2.4 webkit-gtk gtk+ gconf iso-codes startup-notification ca-certificates libgnome-keyring" inherit gnome SRC_URI[archive.md5sum] = "0c566b3ffd428d2135e3c8cb65352d64" SRC_URI[archive.sha256sum] = "278a5c00ce07e6a3ea440d289de22dbec3ebec4ded4ff3b4c48b580f469c2dcc" EXTRA_OECONF += " --disable-nss --with-distributor-name=${DISTRO} --without-ca-file" do_configure_prepend() { touch ${S}/gnome-doc-utils.make sed -i -e s:help::g ${S}/Makefile.am } FILES_${PN} += "${datadir}/icons ${datadir}/dbus-1" RDEPENDS_${PN} = "iso-codes" RRECOMMENDS_${PN} = "ca-certificates" ```
90f2c2dd-23dd-46f1-81ab-3c8c5aa7cf35
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Systemd Service script to run mpv in a loop with a PNG file for demo purposes." HOMEPAGE = "https://mender.io" LICENSE = "Apache-2.0" SRC_URI = " \ file://${PN}.service \ file://demo-image-locked.png \ file://demo-image-unlocked.png \ file://LICENSE \ " LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" inherit systemd SYSTEMD_SERVICE_${PN} = "${PN}.service" FILES_${PN} += "${systemd_unitdir}/system/${PN}.service" RDEPENDS_${PN} = "mpv" LICENSE_FLAGS_WHITELIST += "commercial" do_install() { install -d ${D}/${systemd_unitdir}/system install -m 0644 ${WORKDIR}/${PN}.service ${D}/${systemd_unitdir}/system install -d ${D}/${sysconfdir}/ install -m 0644 ${WORKDIR}/demo-image-unlocked.png ${D}/${sysconfdir}/ install -m 0644 ${WORKDIR}/demo-image-locked.png ${D}/${sysconfdir}/ ln -s demo-image-unlocked.png ${D}/${sysconfdir}/demo-image.png } ``` Allow the displayed file to be overridden in local.conf
```bitbake DESCRIPTION = "Systemd Service script to run mpv in a loop with a PNG file for demo purposes." HOMEPAGE = "https://mender.io" LICENSE = "Apache-2.0" SRC_URI = " \ file://${PN}.service \ file://demo-image-locked.png \ file://demo-image-unlocked.png \ file://LICENSE \ " LIC_FILES_CHKSUM = "file://${S}/../LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" inherit systemd SYSTEMD_SERVICE_${PN} = "${PN}.service" FILES_${PN} += "${systemd_unitdir}/system/${PN}.service" RDEPENDS_${PN} = "mpv" LICENSE_FLAGS_WHITELIST += "commercial" IMAGE_DISPLAY_IMAGE_FILE ?= "demo-image-unlocked.png" do_install() { install -d ${D}/${systemd_unitdir}/system install -m 0644 ${WORKDIR}/${PN}.service ${D}/${systemd_unitdir}/system install -d ${D}/${sysconfdir}/ install -m 0644 ${WORKDIR}/demo-image-unlocked.png ${D}/${sysconfdir}/ install -m 0644 ${WORKDIR}/demo-image-locked.png ${D}/${sysconfdir}/ ln -s ${IMAGE_DISPLAY_IMAGE_FILE} ${D}/${sysconfdir}/demo-image.png } ```
b217909a-b0a3-47f3-9b38-eba5fe07c5cb
{ "language": "BitBake" }
```bitbake include matchbox-panel.inc PR="r5" SRC_URI = "http://projects.o-hand.com/matchbox/sources/${PN}/0.9/${PN}-${PV}.tar.gz \ file://add_hostap.patch;patch=1 \ file://kernel2.6.patch;patch=1" ``` Include patches to fix polling and cancellation of panel messages.
```bitbake include matchbox-panel.inc PR="r6" SRC_URI = "http://projects.o-hand.com/matchbox/sources/${PN}/0.9/${PN}-${PV}.tar.gz \ file://add_hostap.patch;patch=1 \ http://handhelds.org/~pb/mb-panel-0.9.2-polling.patch;patch=1 \ http://handhelds.org/~pb/mb-panel-0.9.2-msgcancel.patch;patch=1 \ file://kernel2.6.patch;patch=1" ```
535ed8da-dbcd-4d0f-b535-4e5704aaaa2e
{ "language": "BitBake" }
```bitbake # # Copyright (C) 2012 Travelping GmbH # SUMMARY = "Image with TPLino components." LICENSE = "MIT" IMAGE_FEATURES += "splash ssh-server-dropbear ${TPLINO_IMAGE_FEATURES}" inherit core-image-tplino core-image distro_features_check ``` Set root password to "caros"
```bitbake # # Copyright (C) 2015 Travelping GmbH # SUMMARY = "Image with CarOS components." LICENSE = "MIT" IMAGE_FEATURES += "splash ssh-server-dropbear ${TPLINO_IMAGE_FEATURES}" inherit core-image-tplino core-image distro_features_check extrausers # set root password to 'caros' # # compute new value with: perl -e 'print crypt("scg","\$6\$pHNG7CcLpB/\$") . "\n"' # dollar ($) signs need backspace encoding # EXTRA_USERS_PARAMS = "usermod -p '\$6\$pHNG7CcLpB/\$Ema9IqIVLbBX.RbaYeVULVXPsq67amN5QEgjLF9zKWHtx2UhAgopVI.TcgP8WJw58G1LczqWlPIe.39/c2CNL.' root;" ```
8dccebf2-14c9-475e-9676-d00d7831afc8
{ "language": "BitBake" }
```bitbake ``` Add recipe to support RTIMULib
```bitbake DESCRIPTION = "RTIMULib is a C++ and Python library that makes it easy to use 9-dof and \ 10-dof IMUs with embedded Linux systems" HOMEPAGE = "https://github.com/RPi-Distro/RTIMULib/" SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://../../LICENSE;md5=96cdecb41125f498958e09b72faf318e" SRC_URI = "git://github.com/RPi-Distro/RTIMULib.git;protocol=http;branch=master" SRCREV = "b949681af69b45f0f7f4bb53b6770037b5b02178" S = "${WORKDIR}/git/Linux/python/" inherit setuptools ```
b5271195-a4a1-421c-a334-9ff989a75ef9
{ "language": "BitBake" }
```bitbake ``` Add recipe for java notify usage
```bitbake DESCRIPTION = "JNotify library with OSGi extensions." SRCREV = "12121" SRC_URI = "svn://bugcamp.net/bug/trunk;module=${PN};proto=svn" DEPENDS = "fastjar-native virtual/java-initial openjdk-6" #inherit jni-library bug-java-library inherit bug-java-library PACKAGES = ${PN} S = "${WORKDIR}/${PN}" # INHIBIT_PACKAGE_STRIP=1 PR="r2" addtask jar_package after do_compile before do_install do_compile() { mkdir -p build oe_makeclasspath cp -s ${DEPENDS} ${EXTRA_CP} cp=$cp:${WORKDIR}/files/osgi.jar echo "--- JAVAC CLASSPATH ---------------" echo $cp | awk 'BEGIN {FS=":"} {split($0,a,":"); for (i=1; i<=NF; i++) print a[i]; }' echo "-------------------------" javac -sourcepath . -cp $cp -d build `find . -name \*.java` } do_jni_compile() { cd ${S}/src/c/Release oe_runmake all } do_jni_install() { install -d ${D}${JNI_LIB_DIR} install ${S}/src/c/Release/libjnotify.so ${D}${JNI_LIB_DIR} } do_jar_package() { # mkdir META-INF echo 'Manifest-Version: 1.0' > META-INF/MANIFEST.MF echo 'Bundle-Vendor: Bug Labs, Inc.' >> META-INF/MANIFEST.MF echo 'Bundle-Author: Omry Yadan (http://jnotify.sourceforge.net/)' >> META-INF/MANIFEST.MF echo 'Bundle-Name: net.contentobjects.jnotify' >> META-INF/MANIFEST.MF echo 'Bundle-License: LGPL' >> META-INF/MANIFEST.MF echo 'Bundle-SymbolicName: net.contentobjects.jnotify' >> META-INF/MANIFEST.MF echo 'Bundle-Version: ${DISTRO_VERSION}.${PR}' >> META-INF/MANIFEST.MF echo 'Bundle-BuildDate: ${DATETIME}' >> META-INF/MANIFEST.MF echo 'Export-Package: net.contentobjects.jnotify' >> META-INF/MANIFEST.MF fastjar -0 -m META-INF/MANIFEST.MF -C build -c -f ${JARFILENAME} . } FILES_${PN} += "/usr/share/java/${PN}.jar" FILES_${PN} += "/usr/share/java/${P}.jar" FILES_${PN} += "/usr/lib/jni/libjnotify.so" FILES_${PN} += "${JNI_LIB_DIR}/${PN}.so" ```
fe1f0767-0de1-42d1-9648-5064ca9c1df4
{ "language": "BitBake" }
```bitbake ``` Add new release with several bugfixes and merged patches from OE. tested with Angstrom 2008.1
```bitbake DESCRIPTION = "Common X11 scripts and support files" LICENSE = "GPL" SECTION = "x11" RDEPENDS_${PN} = "xmodmap xrandr xdpyinfo" PR = "r0" PACKAGE_ARCH = "all" DEFAULT_PREFERENCE = "-1" RCONFLICTS_${PN} = "xserver-kdrive-common" RREPLACES_${PN} = "xserver-kdrive-common" # we are using a gpe-style Makefile inherit gpe SRC_URI[md5sum] = "82f2f84cd96610e8f7b92c700cd31c14" SRC_URI[sha256sum] = "cd04c33418f776b1e13fcc7af3d6bd0c7cccd03fbabd7dbcd97f88166cc34210" SRC_URI_append = " \ file://setDPI.sh \ file://89xdgautostart.sh" SRC_URI_append_angstrom = " file://xtscal-fix.patch " RDEPENDS_${PN}_append_angstrom = " tslib-calibrate " RDEPENDS_${PN}_append_shr = " xinput-calibrator " SRC_URI_append_shr = " file://89xTs_Calibrate.xinput_calibrator.patch \ file://90xXWindowManager.patch \ file://Xserver.add.nocursor.for.gta.patch \ file://Xserver.add.xserver-system.patch \ file://Xserver.add.dpi.for.gta.patch" do_install_append() { install -m 0755 "${WORKDIR}/setDPI.sh" "${D}/etc/X11/Xinit.d/50setdpi" install -m 0755 "${WORKDIR}/89xdgautostart.sh" "${D}/etc/X11/Xsession.d/89xdgautostart" sed -i 's:^BINDIR=.*$:BINDIR=${bindir}:' ${D}/etc/X11/xserver-common } ```
1769b5c6-3aef-4b97-9c18-f1a5a0e7642e
{ "language": "BitBake" }
```bitbake ``` Add a bitbake recipe to build go-msgpack
```bitbake SUMMARY = "Collection of Open-Source Go libraries and tools" HOMEPAGE = "https://github.com/hashicorp/go-msgpack" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=3f4c936a1236aa7f17ca2a0b0ce4bfdd" PKG_NAME = "github.com/hashicorp/go-msgpack" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "fa3f63826f7c23912c15263591e65d54d080b458" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "go_msgpack_sysroot_preprocess" go_msgpack_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" ```
0485bc61-748f-4d1b-b360-ccde2d1479c3
{ "language": "BitBake" }
```bitbake ``` Package initramfs into package. * Go badass with recursive bitbake invocation idea expressed on ML. * It works! But don't try with BB_NUMBER_THREADS > 1 or at home.
```bitbake DESCRIPTION = "Boot initramfs as a package" PR = "r1" do_compile() { cd ${TOPDIR}; DISTRO=${USERDISTRO} MACHINE=${MACHINE} ANGSTROM_MODE=uclibc IMAGE_FSTYPES=cpio.gz DEPLOY_TO=${D}/boot/initramfs.bin bitbake initramfs-image } do_install() { install -d ${D}/boot/ cd ${TOPDIR}; DISTRO=${USERDISTRO} MACHINE=${MACHINE} ANGSTROM_MODE=uclibc IMAGE_FSTYPES=cpio.gz DEPLOY_TO=${D}/boot/initramfs.bin bitbake initramfs-image -c deploy_to } FILES_${PN} += "/boot/*" PACKAGE_ARCH = "${MACHINE_ARCH}" ```
5cc2c517-7dd2-4e70-8bf4-e7bdff651bf8
{ "language": "BitBake" }
```bitbake ``` Add bitbake recipe to build go-metrics
```bitbake SUMMARY = "A go based metrics library" HOMEPAGE = "https://github.com/armon/go-metrics" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=d2d77030c0183e3d1e66d26dc1f243be" PKG_NAME = "github.com/armon/go-metrics" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "b2d95e5291cdbc26997d1301a5e467ecbb240e25" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "go_metrics_sysroot_preprocess" go_metrics_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" ```
25cf32c6-4a98-4d5c-8022-e5d1ca612f55
{ "language": "BitBake" }
```bitbake ``` Add recipe for the WebKit based LightDM greeter.
```bitbake DESCRIPTION = "LightDM Webkit Greeter" LICENSE = "GPLv3 LGPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS = "lightdm libxklavier consolekit polkit" PR = "r0" inherit autotools SRC_URI = " \ http://launchpad.net/lightdm-webkit-greeter/trunk/${PV}/+download/lightdm-webkit-greeter-${PV}.tar.gz \ " SRC_URI[md5sum] = "ff8247d5bbf3026140531061fbf1f51e" SRC_URI[sha256sum] = "53d6d41127b7c4cccc239d5d98edce868f18f95c76766cd1681ef58d1678c120" do_install_append() { # Basic tweaks to the lightdm-gtk-greeter.conf sed -i -e "s|#show-language-selector=false|show-language-selector=true|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true sed -i -e "s|#xft-rgba=|xft-rgba=rgb|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true sed -i -e "s|#xft-hintstyle=|xft-hintstyle=slight|g" ${D}/${sysconfdir}/lightdm/lightdm-gtk-greeter.conf || true # Carry out more tweaks in a .bbappend to customise the setup. } FILES_${PN} += "${datadir}/xgreeters/lightdm* \ ${datadir}/lightdm* \ " pkg_postinst_${PN} () { # Can't do this offline # Register as default LightDM greeter. sed -i -e "s|#greeter-session=example-gtk-gnome|greeter-theme=lightdm-webkit-greeter|g" ${sysconfdir}/lightdm/lightdm.conf || true } pkg_postrm_${PN} () { # Set back to default when removed. Can't think of a nice way to do this right now that's safe? sed -i -e "s|greeter-theme=lightdm-webkit-greeter|#greeter-session=example-gtk-gnome|g" ${sysconfdir}/lightdm/lightdm.conf || true } ```
29ca615e-9d6b-459b-a3a4-7f71f5d1dea7
{ "language": "BitBake" }
```bitbake ``` Add the recipe for vxd-dec-fw
```bitbake SUMMARY = "Video Decoding Firmware Packaging recipe" LICENSE = "TI-TFL" LIC_FILES_CHKSUM = "file://LICENSE;md5=84ca7278930db001870686ad997d6bb1" BRANCH = "master" SRCREV = "0acbf1d0a7c7eaca0ef14c1a30ce313ea82147e5" SRC_URI = "git://git.ti.com/jacinto7_multimedia/ti-img-encode-decode.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" PV = "1.0-git${SRCPV}" PACKAGE_ARCH = "${MACHINE_ARCH}" VXD_FW_DIR = "${S}/decoder/firmware/" # make sure that lib/firmware, and all its contents are part of the package FILES_${PN} += "${base_libdir}/firmware" do_install() { install -d ${D}${base_libdir}/firmware install -m 0755 ${VXD_FW_DIR}/pvdec_full_bin.fw ${D}${base_libdir}/firmware } # This is used to prevent the build system to strip the executables INHIBIT_PACKAGE_STRIP = "1" # This is used to prevent the build system to split the debug info in a separate file INHIBIT_PACKAGE_DEBUG_SPLIT = "1" # As it likely to be a different arch from the Yocto build, disable checking by adding "arch" to INSANE_SKIP INSANE_SKIP_${PN} += "arch" # we don't want to configure and build the source code do_compile[noexec] = "1" do_configure[noexec] = "1" ```
c9e6fa8f-9579-437c-833d-65df1121e372
{ "language": "BitBake" }
```bitbake ``` Add pinmux utility for am1808
```bitbake DESCRIPTION = "Texas Instruments Pinmux Utility" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=2b328fcf0477d688d8b85f7310f9e6b9" COMPATIBLE_MACHINE = "am180x-evm" PR = "r0" SRC_URI = "https://gforge.ti.com/gf/download/frsrelease/461/4210/Pin_Setup_AM18xx_01_00_1076_03.zip;name=base;subdir=${P}" # Temporarily add LICENSE file here since zip files don't contain any license information. This file was grabbed # from the License Agreement screen when installing pinmux-utility_2.3.1.0. No license information exist for this # version of the pinmux utility. SRC_URI += "file://LICENSE" SRC_URI[base.md5sum] = "5a4eb834bde44c662aaf669882adbfe6" SRC_URI[base.sha256sum] = "6701ca0e91761b9eb80b0097fbb2e2ce2cd8e0bcdc0bd18c34cd0221d9d450d0" S = "${WORKDIR}/${P}" do_unpack_extra() { mv ${WORKDIR}/LICENSE ${WORKDIR}/${P} } addtask unpack_extra after do_unpack before do_patch installdir = "host-tools/pinmux_utils/windows" do_install() { install -d ${D}/${installdir} cp -rf ${S}/bin ${D}/${installdir}/ cp -rf ${S}/configurations ${D}/${installdir}/ } FILES_${PN} += "${installdir}/*" ```
abcfad22-7fa8-475f-be3c-0321aab2e96b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "The Linux bandwidth monitor" MAINTAINER = "Oyvind Repvik <[email protected]" DEPENDS = "ncurses" LICENSE = "Unspecified" PR = "r0" SRC_URI = "${SOURCEFORGE_MIRROR}/bwmon/${P}.tar.gz \ file://makefile.patch;patch=1" EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}" inherit autotools do_install () { install ${S}/bwmon ${D}/usr/bin/bwmon } ``` Make it use , and actually create the dir before installing. (duh)
```bitbake DESCRIPTION = "The Linux bandwidth monitor" MAINTAINER = "Oyvind Repvik <[email protected]" DEPENDS = "ncurses" LICENSE = "Unspecified" PR = "r0" SRC_URI = "${SOURCEFORGE_MIRROR}/bwmon/${P}.tar.gz \ file://makefile.patch;patch=1" EXTRA_OEMAKE = "LDFLAGS=-L${STAGING_LIBDIR}" inherit autotools do_install () { install -d ${D}${bindir} install ${S}/bwmon ${D}${bindir}/bwmon } ```
48ee4d16-8577-466a-a8c2-29ad6303d7fc
{ "language": "BitBake" }
```bitbake ``` Add qmss-lld RTOS package version 02.01.00.12
```bitbake inherit ti-pdk require qmss-lld-02.01.00.12.inc DEPENDS += "rm-lld-rtos" XDCARGS_k2hk-evm = "k2h k2k" XDCARGS_k2l-evm = "k2l" XDCARGS_k2e-evm = "k2e" XDCARGS_k2g-evm = "k2g" ```
605b19da-e7ba-405c-8b96-0df68b1ae73b
{ "language": "BitBake" }
```bitbake ``` Add recipe for linux ptp
```bitbake DESCRIPTION = "This software is an implementation of the Precision Time Protocol (PTP) \ according to IEEE standard 1588 for Linux" HOMEPAGE = "http://linuxptp.sourceforge.net/" SECTION = "console/network" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" PR = "r0" SRC_URI = "http://iweb.dl.sourceforge.net/project/linuxptp/v${PV}/linuxptp-${PV}.tgz" SRC_URI[md5sum] = "664706a86fe1413391d4536080548501" SRC_URI[sha256sum] = "b1651186689ef06e56add506bd9bb55a700ca56e3f92ba71d08f3ad12fad3085" EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} ARCH=${TARGET_ARCH} \ EXTRA_CFLAGS="-D_GNU_SOURCE -DHAVE_CLOCK_ADJTIME \ -DHAVE_ONESTEP_SYNC"" do_install() { install -d ${D}${bindir}/ install -c -m 755 ${S}/ptp4l ${D}${bindir}/ } ```
b526832f-09ac-4f14-9e2c-bac6319e4bbc
{ "language": "BitBake" }
```bitbake ``` Add recipe for freetds package
```bitbake SUMMARY = "FreeTDS command-line utilities" DESCRIPTION = "\ FreeTDS is an implementation of the Tabular DataStream protocol, used for \ connecting to MS SQL and Sybase servers over TCP/IP. \ " HOMEPAGE = "http://www.freetds.org/" PR = "r0" inherit debian-package LICENSE = "GPLv2+ & LGPLv2+" LIC_FILES_CHKSUM = "\ file://COPYING;md5=c93c0550bd3173f4504b2cbd8991e50b \ file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605" inherit autotools DEPENDS += "gnutls unixodbc glib-2.0 krb5" EXTRA_OECONF += "\ --with-gnu-ld --with-tdsver=4.2 \ --with-unixodbc=${STAGING_DIR_HOST}${prefix} \ --sysconfdir=${sysconfdir}/${DPN} \ --enable-sybase-compat --with-gnutls --enable-krb5" # There is no debian/source or debian/patches DEBIAN_PATCH_TYPE = "nopatch" do_install_append() { install -d ${D}${libdir}/odbc LINKLIB=$(basename $(readlink ${D}${libdir}/libtdsodbc.so)) #follow debian/rules mv ${D}${libdir}/$LINKLIB \ ${D}${libdir}/odbc/libtdsodbc.so #follow debian/tdsodbc.install install -D -m 0644 ${S}/debian/odbcinst.ini \ ${D}${datadir}/tdsodbc/odbcinst.ini #follow debian/freetds-common.install install -d ${D}${datadir}/${DPN} mv ${D}${sysconfdir}/${DPN}/freetds.conf \ ${D}${datadir}/${DPN}/freetds.conf rm ${D}${libdir}/libtdsodbc.* rm ${D}${sysconfdir}/${DPN}/* ${D}${libdir}/*.la } PACKAGES =+ "libct libsybdb tdsodbc ${PN}-common" PKG_${PN} = "${PN}-bin" FILES_${PN}-common += "${datadir}/${DPN}" FILES_libct = "${libdir}/libct.so.*" FILES_libsybdb = "${libdir}/libsybdb.so.*" FILES_tdsodbc = "${libdir}/odbc/libtdsodbc.so ${datadir}/tdsodbc" FILES_${PN}-dbg += "${libdir}/odbc/.debug" RDEPENDS_libct += "${PN}-common" RDEPENDS_${PN} += "${PN}-common" RDEPENDS_tdsodbc += "${PN}-common" RDEPENDS_${PN}-dev += "libct libsybdb" ```
5924b640-da83-442f-8a3e-dca85510ef0c
{ "language": "BitBake" }
```bitbake ``` Add new recipe for libclc package
```bitbake SUMMARY=" OpenCL C language implementation" DESCRIPTION="\ libclc is an open implementation of the OpenCL C programming language, \ as specified by the OpenCL 1.1 Specification. \ " HOMEPAGE = "http://libclc.llvm.org" DEBIAN_GIT_BRANCH = "jessie-backports-master" inherit debian-package PV="0.2.0+git20150813" LICENSE = "NCSA & MIT" LIC_FILES_CHKSUM = "\ file://LICENSE.TXT;md5=3d5e39153f76a72ef2ced27e62d33511 \ " DEPENDS = "python llvm-toolchain-3.8" do_configure() { ${S}/configure.py --prefix=${prefix} --with-llvm-config=${STAGING_BINDIR_NATIVE}/llvm-config-3.8 } # This recipe is used for generating libclc-dev package to build # mesa-opencl-icd only do_compile[noexec] = "1" do_install_append(){ mkdir -p ${D}${includedir} mkdir -p ${D}${datadir}/pkgconfig cp -r ${S}/generic/include/clc ${D}${includedir} cp -r ${S}/libclc.pc ${D}${datadir}/pkgconfig } FILES_${PN}-dev = "\ ${includedir}/clc \ ${datadir}/pkgconfig/${PN}.pc \ " ```
4267f07b-0b23-41ac-ac37-a1aa0d6fbac2
{ "language": "BitBake" }
```bitbake SECTION = "libs" PRIORITY = "optional" MAINTAINER = "Phil Blundell <[email protected]>" # DEPENDS = "x11 libpixman libpng fontconfig libxrender xcb glitz" DEPENDS = "x11 libpixman libpng fontconfig libxrender" DESCRIPTION = "Cairo graphics library" LICENSE = "MPL LGPL" PR = "r0" SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz" inherit autotools pkgconfig do_stage () { oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR} } ``` Remove libpixman from cairo depends, since it was usurped into cairo
```bitbake SECTION = "libs" PRIORITY = "optional" MAINTAINER = "Phil Blundell <[email protected]>" DEPENDS = "x11 libpng fontconfig libxrender" DESCRIPTION = "Cairo graphics library" LICENSE = "MPL LGPL" PR = "r1" SRC_URI = "http://cairographics.org/snapshots/cairo-${PV}.tar.gz" inherit autotools pkgconfig do_stage () { oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR} } ```
ef99759b-3ddf-48a3-9cc1-eaf83bad0816
{ "language": "BitBake" }
```bitbake ``` Add recipe for init-system-helpers package
```bitbake SUMMARY = "Helper tools for all init systems" DESCRIPTION = "This package contains helper tools that are necessary for switching between\n\ the various init systems that Debian contains (e.g. sysvinit, upstart,\n\ systemd). An example is deb-systemd-helper, a script that enables systemd unit\n\ files without depending on a running systemd.\n\ .\n\ While this package is maintained by pkg-systemd-maintainers, it is NOT\n\ specific to systemd at all. Maintainers of other init systems are welcome to\n\ include their helpers in this package." HOMEPAGE = "https://packages.qa.debian.org/i/init-system-helpers.html" PR = "r0" inherit debian-package LICENSE = "GPLv3+ & BSD" LIC_FILES_CHKSUM = "\ file://script/deb-systemd-invoke;beginline=3;endline=30;md5=42d36293e53d929566aef24e3e3b9ef8 \ file://systemd2init/COPYING;md5=d32239bcb673463ab874e80d47fae504" do_install() { install -d ${D}${bindir} install -d ${D}${datadir}/dh-systemd install -d ${D}${datadir}/perl5/Debian/Debhelper/Sequence install -d ${D}${datadir}/debhelper #follow debian/dh-systemd.install and debian/init-system-helpers.install install -m 0755 script/* ${D}${bindir} install -m 0755 systemd2init/systemd2init ${D}${bindir} install -m 0644 systemd2init/skeleton.* ${D}${datadir}/dh-systemd install -m 0644 lib/Debian/Debhelper/Sequence/systemd.pm \ ${D}${datadir}/perl5/Debian/Debhelper/Sequence cp -r autoscripts ${D}${datadir}/debhelper } PACKAGES =+ "dh-systemd" FILES_dh-systemd = "\ ${bindir}/dh_systemd_enable ${bindir}/dh_systemd_start \ ${bindir}/systemd2init ${datadir}/debhelper \ ${datadir}/dh-systemd ${datadir}/perl5" RDEPENDS_${PN} = "perl-base" ```
bcbbaf8c-2f8c-4d47-8571-4ec0dd964895
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs." DEPENDS = "pkgconfig gtk+ gvfs" RDEPENDS = "libxfce4util libxfcegui4 gvfs" SECTION = "x11" LICENSE = "GPL-2" PR = "r2" inherit xfce46 XFCE_VERSION = "4.6.1" SRC_URI = "http://files.uvena.de/${PN}/${PN}-${PV}.tar.bz2" do_compile() { oe_runmake } ``` Add fuse-utils to RDEPENDS as Gigolo is not a lot of use without it.
```bitbake DESCRIPTION = "Gigolo is a frontend to easily manage connections to remote filesystems using GIO/GVfs." DEPENDS = "pkgconfig gtk+ gvfs" RDEPENDS = "libxfce4util libxfcegui4 gvfs fuse-utils" SECTION = "x11" LICENSE = "GPL-2" PR = "r3" inherit xfce46 XFCE_VERSION = "4.6.1" SRC_URI = "http://files.uvena.de/${PN}/${PN}-${PV}.tar.bz2" do_compile() { oe_runmake } ```
ca1ee2ae-8e71-4072-a82f-4ef53edebe63
{ "language": "BitBake" }
```bitbake ``` Add eventlog recipe, borrowed from meta-oe
```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" ```
07a95985-410b-4ccf-92ad-86ab7e529852
{ "language": "BitBake" }
```bitbake ``` Add RapidJSON recipe required for AWS IoT C++ Device SDK
```bitbake DESCRIPTION = "A fast JSON parser/generator for C++ with both SAX/DOM style API" HOMEPAGE = "http://rapidjson.org/" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://license.txt;md5=ba04aa8f65de1396a7e59d1d746c2125" inherit cmake PR = "r0" SRC_URI = "git://github.com/miloyip/rapidjson.git" SRCREV = "f54b0e47a08782a6131cc3d60f94d038fa6e0a51" PACKAGES = "${PN}-dev" S = "${WORKDIR}/git" B = "${WORKDIR}/build" EXTRA_OECMAKE += "-DRAPIDJSON_BUILD_DOC=OFF -DRAPIDJSON_BUILD_EXAMPLES=OFF -DRAPIDJSON_BUILD_TESTS=OFF -DRAPIDJSON_BUILD_THIRDPARTY_GTEST=OFF" do_install() { install -d ${D}${includedir}/${PN} install -d ${D}${includedir}/${PN}/error install -d ${D}${includedir}/${PN}/internal install -d ${D}${includedir}/${PN}/msinttypes install -m 0644 ${S}/include/${PN}/*.h ${D}${includedir}/${PN}/ install -m 0644 ${S}/include/${PN}/error/*.h ${D}${includedir}/${PN}/error/ install -m 0644 ${S}/include/${PN}/internal/*.h ${D}${includedir}/${PN}/internal/ install -m 0644 ${S}/include/${PN}/msinttypes/*.h ${D}${includedir}/${PN}/msinttypes/ install -d ${D}${libdir}/pkgconfig install -m 0644 ${B}/*.pc ${D}${libdir}/pkgconfig/ install -d ${D}${libdir}/cmake/RapidJSON install -m 0644 ${B}/RapidJSONConfig.cmake ${D}${libdir}/cmake/RapidJSON install -m 0644 ${B}/RapidJSONConfigVersion.cmake ${D}${libdir}/cmake/RapidJSON } FILES_${PN}-dev += "\ ${includedir} \ ${libdir} \ " ```
605f1524-ab98-46a9-8fa2-74257232cada
{ "language": "BitBake" }
```bitbake ``` Add CPSW 9G support for J7
```bitbake SUMMARY = "R5 PSDK CPSW9G Ethernet Switch Firmware" LICENSE = "TI-TFL" LIC_FILES_CHKSUM = "file://LICENSE.ti;md5=04ad0a015d4bb63c2b9e7b112debf3db" PV = "1.0+git${SRCPV}" PACKAGE_ARCH = "${MACHINE_ARCH}" inherit deploy inherit update-alternatives PROTOCOL = "git" BRANCH = "master" SRCREV = "df7f399319ee401dfbda9317878128a0f718507f" SRC_URI = "git://git.ti.com/glsdk/ti-eth-fw.git;protocol=${PROTOCOL};branch=${BRANCH}" S = "${WORKDIR}/git" CPSW9G_FW_DIR = "${S}/ethfw" CPSW9G_FW_FILENAME = "app_remoteswitchcfg_server.xer5f" # make sure that lib/firmware, and all its contents are part of the package FILES_${PN} += "${base_libdir}/firmware" do_install() { install -d ${D}${base_libdir}/firmware # Ethernet firmware to be loaded on Main R5 core(needs read permission) install -m 0644 ${CPSW9G_FW_DIR}/${CPSW9G_FW_FILENAME} ${D}${base_libdir}/firmware } TARGET_MAIN_R5FSS0_0 = "j7-main-r5f0_0-fw" ALTERNATIVE_${PN} = "j7-main-r5f0_0-fw" ALTERNATIVE_LINK_NAME[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${TARGET_MAIN_R5FSS0_0}" ALTERNATIVE_TARGET[j7-main-r5f0_0-fw] = "${base_libdir}/firmware/${CPSW9G_FW_FILENAME}" ALTERNATIVE_PRIORITY = "17" INHIBIT_PACKAGE_STRIP = "1" INHIBIT_PACKAGE_DEBUG_SPLIT = "1" INSANE_SKIP_${PN} += "arch" do_compile[noexec] = "1" do_configure[noexec] = "1" ```
bc65e29c-c2b9-4d0a-a0a3-ef33f15b95e6
{ "language": "BitBake" }
```bitbake ``` Add the opencl library package.
```bitbake DESCRIPTION = "TI OpenCL" HOMEPAGE = "https://gitorious.design.ti.com/ocl" LICENSE = "BSD" include ocl.inc PR = "${INC_PR}.0" inherit cmake COMPATIBLE_MACHINE = "dra7xx|k2hk-evm" PACKAGE_ARCH = "${MACHINE_ARCH}" PACKAGES += " ${PN}-runtime" DEPENDS = "ocl-gl-headers opencl-monitor cmake-native cmem ti-llvm3.3 ti-llvm3.3-native binutils sqlite3 libffi boost boost-native libloki pkgconfig-native libulm" DEPENDS_append_dra7xx += "ti-ipc virtual/kernel" DEPENDS_append_k2hk-evm += " mpm-transport multiprocmgr" RDEPENDS_${PN}-dev += " ocl-gl-headers-dev opencl-monitor" RDEPENDS_${PN}-runtime += " ${PN} opencl-monitor clocl ti-cgt6x" ALLOW_EMPTY_${PN}-runtime = "1" S = "${WORKDIR}/git/host" export WANT_LLVM_RELEASE = "3.3-ti" OCL_BUILD_TARGET_dra7xx = "ARM_AM57" OCL_BUILD_TARGET_k2hk-evm = "ARM_K2H" EXTRA_OECMAKE += " -DBUILD_TARGET=${OCL_BUILD_TARGET} -DBUILD_OUTPUT=lib -DENABLE_ULM=1" EXTRA_OEMAKE += "KERNEL_INSTALL_DIR=${STAGING_KERNEL_DIR} LINUX_DEVKIT_ROOT=${STAGING_DIR_HOST}" export KERNEL_INSTALL_DIR = "${STAGING_KERNEL_DIR}" FILES_${PN} += " \ ${datadir}/ti/opencl/* \ " ```
7a0de5de-475e-4863-9f90-f10d4bcc009e
{ "language": "BitBake" }
```bitbake ``` Move from meta-qt5-extra to meta-oe
```bitbake SUMMARY = "raw image decoder" LICENSE = "LGPL-2.1 | CDDL-1.0" LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=74c9dffdc42805f9c0de2f97df6031fc" SRC_URI = "git://github.com/LibRaw/LibRaw.git" SRCREV = "0209b6a2caec189e6d1a9b21c10e9e49f46e5a92" S = "${WORKDIR}/git" inherit autotools pkgconfig DEPENDS = "jpeg jasper lcms" ```
9e762ef8-0379-4da5-a709-db17677ce1d1
{ "language": "BitBake" }
```bitbake ``` Add ESD daemon for Nokia 770 to be used with DSP stuff.
```bitbake PR = "r0" LICENSE = "GPL" MAINTAINER = "Florian Boor <[email protected]>" PROVIDES = "esd" RPROVIDES = "esd" DEPENDS = "audiofile osso-dsp-headers" SRC_URI = "http://repository.maemo.org/pool/maemo/ossw/source/o/${PN}/${PN}_${PV}.orig.tar.gz" S = ${WORKDIR}/esd inherit autotools pkgconfig ```
ea1f06d0-8f4a-47b6-a215-95499bff225c
{ "language": "BitBake" }
```bitbake ``` Add e17genmenu, a program to convert KDE and Gnome menus to e17 menus
```bitbake DESCRIPTION = "Convert Gnome or KDE menus to e17 menus" SECTION = "e/utils" DEPENDS = "e virtual/ecore virtual/evas eet engrave" LICENSE = "MIT" HOMEPAGE = "http://sourceforge.net/projects/e17genmenu" MAINTAINER = "Justin Patrin <[email protected]>" PR = "r0" export EET_CONFIG = "${STAGING_BINDIR}/eet-config" export EVAS_CONFIG = "${STAGING_BINDIR}/evas-config" export ECORE_CONFIG = "${STAGING_BINDIR}/ecore-config" export ENGRAVE_CONFIG = "${STAGING_BINDIR}/engrave-config" export ENLIGHTENMENT_CONFIG = "${STAGING_BINDIR}/enlightenment-config" SRC_URI = "${SOURCEFORGE_MIRROR}/e17genmenu/e17genmenu-2.0.2.tar.gz" inherit autotools ```
01dc1b27-da49-4de7-8aa6-b0d29d9a7a80
{ "language": "BitBake" }
```bitbake ``` Add new release of minilite supporting the Nokia 770.
```bitbake inherit gpe LICENSE = "GPL" DEPENDS = "libgpewidget" SECTION = "gpe" DESCRIPTION = "GPE Screen light control dockapp" SRC_URI = "${GPE_MIRROR}/${PN}-${PV}.tar.gz" export CVSBUILD="no" ```
92a65829-8809-402e-90f2-120f5372f06e
{ "language": "BitBake" }
```bitbake ``` Add bitbake recipe to build mapstructure
```bitbake SUMMARY = "Go library for decoding generic map values to structures" HOMEPAGE = "https://github.com/mitchellh/mapstructure" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=3f7765c3d4f58e1f84c4313cecf0f5bd" PKG_NAME = "github.com/mitchellh/mapstructure" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "2caf8efc93669b6c43e0441cdc6aed17546c96f3" S = "${WORKDIR}/git" do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ } SYSROOT_PREPROCESS_FUNCS += "mapstructure_sysroot_preprocess" mapstructure_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/*" ```
13e4616e-c416-46e9-bf05-c14443ccd47f
{ "language": "BitBake" }
```bitbake ``` Add recipe for user space library for udma kernel driver
```bitbake DESCRIPTION = "Provides zero copy access from user-space to packet dma channels via udma kernel driver" LICENSE = "BSD-3-Clause" COMPATIBLE_MACHINE = "keystone" LIC_FILES_CHKSUM = "file://include/udma.h;startline=1;endline=39;md5=ba3c7f91f970afe073b759ced61d0f27" BRANCH = "master" SRC_URI = "git://git.ti.com/keystone-linux/udma.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" # Commit corresponds to UDMA.01.00.00.00 SRCREV = "53d09fb0bc98c41c5eb43623097e363c497d6fd8" PACKAGES =+ "${PN}-test" FILES_${PN}-test = "${bindir}/udma_test" do_install_append() { install -d ${D}${bindir}/ install -d ${D}${libdir}/ install -d ${D}${includedir}/ install -c -m 755 ${S}/udma_test ${D}${bindir}/ install -c -m 755 ${S}/libudma.a ${D}${libdir}/ install -c -m 755 ${S}/libudma.so ${D}${libdir}/libudma.so.1.0.0 cd ${D}${libdir}/ ln -sf libudma.so.1.0.0 libudma.so.1 ln -sf libudma.so.1.0.0 libudma.so install -c -m 755 ${S}/include/* ${D}${includedir}/ } ```
ffe7b335-cf64-4a42-afba-9a834b882b10
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GNOME bluetooth manager" LICENSE = "GPL" SECTION = "x11/gnome" DEPENDS = "gnome-doc-utils-native obexd obex-data-server gconf gtk+ dbus-glib libunique libnotify hal bluez4 gnome-keyring" PR = "r1" inherit gnome SRC_URI[archive.md5sum] = "eb88212922037eb9751f0fcedb9c166e" SRC_URI[archive.sha256sum] = "4caafa8c28195c81d8c51414f3a64489f81b9b46cac56979aeaaff8c9ebb78d4" # No 'nautilus-sendto' recipe in OE et EXTRA_OECONF = "--enable-nautilus-sendto=no" do_configure_append() { sed -i 's,func_fatal_error "error: cannot install,echo "bogus message about,' ${TARGET_PREFIX}libtool } RRECOMMENDS_${PN} += "obexd obex-data-server" RCONFLICTS_${PN} = "bluez-gnome" FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/" ``` Remove support for help file generator to not depend on host system docbook XSL processing.
```bitbake DESCRIPTION = "GNOME bluetooth manager" LICENSE = "GPL" SECTION = "x11/gnome" DEPENDS = "gnome-doc-utils-native obexd obex-data-server gconf gtk+ dbus-glib libunique libnotify hal bluez4 gnome-keyring" PR = "r2" inherit gnome SRC_URI[archive.md5sum] = "eb88212922037eb9751f0fcedb9c166e" SRC_URI[archive.sha256sum] = "4caafa8c28195c81d8c51414f3a64489f81b9b46cac56979aeaaff8c9ebb78d4" # No 'nautilus-sendto' recipe in OE yet EXTRA_OECONF = "--enable-nautilus-sendto=no --disable-scrollkeeper" # No native docbook XSL stylesheets recipe in OE yet do_configure_prepend() { sed -i s/help// Makefile.am } do_configure_append() { sed -i 's,func_fatal_error "error: cannot install,echo "bogus message about,' ${TARGET_PREFIX}libtool } RRECOMMENDS_${PN} += "obexd obex-data-server" RCONFLICTS_${PN} = "bluez-gnome" FILES_${PN}-dbg += "${libdir}/gnome-bluetooth/plugins/.debug/" ```
aeba343a-714a-4d2a-af88-6e708cfc9d5b
{ "language": "BitBake" }
```bitbake ``` Add a build of opencv samples from libv4l branch
```bitbake DESCRIPTION = "Opencv : The Open Computer Vision Library" HOMEPAGE = "http://sourceforge.net/projects/opencvlibrary" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2" PR = "r3" DEPENDS = "opencv" SRCREV = "fb7cc87ed6a7425f3edc58e2d1eb44599496ac09" SRC_URI = "git://github.com/nzjrs/opencv.git;protocol=git;branch=libv4l" PV = "1.1.0+git${SRCREV}" S = "${WORKDIR}/git" do_install() { cd samples/c install -d ${D}/${bindir} for i in *.c; do echo "compiling $i" ${CXX} ${CFLAGS} ${LDFLAGS} -ggdb `pkg-config --cflags opencv` -o `basename $i .c` $i `pkg-config --libs opencv`; install -m 0755 `basename $i .c` ${D}/${bindir} done for i in *.cpp; do echo "compiling $i" ${CXX} ${CFLAGS} ${LDFLAGS} -ggdb `pkg-config --cflags opencv` -o `basename $i .cpp` $i `pkg-config --libs opencv`; install -m 0755 `basename $i .cpp` ${D}/${bindir} done } FILES_${PN} += "${bindir}" ```
aea146fa-8213-413f-9cfd-3620575f117d
{ "language": "BitBake" }
```bitbake ``` Add support for user-defined multimedia in rootfs
```bitbake DESCRIPTION = "MultiMedia files" LICENSE = "GPL" PR = "r5" # This package allows you to add multimedia contents to the file system # To add this, you define # MULTIMEDIA_FILES=<path><filename>.tar.bz2 in local.conf # and include "multimedia" in your image do_install() { install -d ${D}/usr/share/multimedia if [ "x${MULTIMEDIA_FILES}" != "x" ] ; then if [ -f ${MULTIMEDIA_FILES} ] ; then tar jxvf ${MULTIMEDIA_FILES} -C ${D}/usr/share/multimedia fi fi } FILES_${PN} = "\ /usr/share/multimedia/* \ /usr/share/multimedia \ " ```
0a0978d2-9566-4f30-981e-cb14792be070
{ "language": "BitBake" }
```bitbake ``` Add recipe for libusb package
```bitbake SUMMARY = "userspace USB programming library" DESCRIPTION = "\ Library for programming USB applications without the knowledge \ of Linux kernel internals." HOMEPAGE = "http://www.linux-usb.org/" inherit debian-package autotools pkgconfig PR = "r0" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=dcf3c825659e82539645da41a7908589" EXTRA_OECONF = "--disable-build-docs" do_install_append() { install -d ${D}${base_libdir} mv ${D}${libdir}/libusb-0.1.so.* ${D}${base_libdir}/ ln -sf ../../lib/libusb-0.1.so.4 \ ${D}${libdir}/libusb-0.1.so.4 LINKLIB=$(basename $(readlink ${D}${libdir}/libusb.so)) ln -sf ../../lib/$LINKLIB ${D}${libdir}/libusb.so rm ${D}${libdir}/*.la } PACKAGES =+ "${PN}++ ${PN}++-dev" FILES_${PN} += "${bindir}/libusb-config" FILES_${PN}++ = "${libdir}/libusbpp-*" FILES_${PN}++-dev = "${includedir}/usbpp.h ${libdir}/libusbpp.so" DEBIANNAME_${PN} = "${PN}-0.1-4" DEBIANNAME_${PN}++ = "${PN}++-0.1-4c2" DEBIANNAME_${PN}++-dev = "${PN}++-dev" ```
bf25262f-6142-4734-92e6-cc331bf4cfbf
{ "language": "BitBake" }
```bitbake LICENSE = "GPL" inherit gnome DEPENDS += "shared-mime-info intltool-native" RDEPENDS_${PN} = "shared-mime-info" PR = "r1" FILES_${PN}-dev += "${datadir}/pkgconfig/*.pc" SRC_URI[archive.md5sum] = "541858188f80090d12a33b5a7c34d42c" SRC_URI[archive.sha256sum] = "37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7" ``` Update LICENSE field version to GPLv2
```bitbake LICENSE = "GPLv2 GPLv2+" inherit gnome DEPENDS += "shared-mime-info intltool-native" RDEPENDS_${PN} = "shared-mime-info" PR = "r2" FILES_${PN}-dev += "${datadir}/pkgconfig/*.pc" SRC_URI[archive.md5sum] = "541858188f80090d12a33b5a7c34d42c" SRC_URI[archive.sha256sum] = "37196b5b37085bbcd45c338c36e26898fe35dd5975295f69f48028b1e8436fd7" ```
c8dd5a02-de33-4024-86cf-5591d0e69c21
{ "language": "BitBake" }
```bitbake ``` Add new recipe Create recipe to build libbsd from Debian's source code
```bitbake # base recipe: meta/recipes-support/libbsd/libbsd_0.7.0.bb # base branch: master # Copyright (C) 2013 Khem Raj <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) SUMMARY = "Library of utility functions from BSD systems" DESCRIPTION = "This library provides useful functions commonly found on BSD systems, \ and lacking on others like GNU systems, thus making it easier to port \ projects with strong BSD origins, without needing to embed the same \ code over and over again on each project." HOMEPAGE = "http://libbsd.freedesktop.org/wiki/" PR = "r0" inherit debian-package LICENSE = "BSD-4-Clause & MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=f1530ea92aeaa1c5e2547cfd43905d8c" SECTION = "libs" DEPENDS = "" inherit autotools pkgconfig do_install_append() { # move libbsd.so.0* file from ${libdir} to ${base_libdir} as debian jessie install -d ${D}${base_libdir} mv ${D}${libdir}/libbsd.so.0* ${D}${base_libdir}/ # Relink library rel_lib_prefix=`echo ${libdir} | sed 's,\(^/\|\)[^/][^/]*,..,g'` libname=`readlink ${D}${libdir}/libbsd.so | xargs basename` ln -sf ${rel_lib_prefix}${base_libdir}/${libname} ${D}${libdir}/libbsd.so } FILES_${PN}0 += "${base_libdir}/*" ```
9fd08ed9-b7f1-4e4d-adca-08c7d8107191
{ "language": "BitBake" }
```bitbake ``` Add new recipe Create recipe to build dcfldd from Debian's source code
```bitbake # base recipe: not base recipe # base branch: LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" PR = "r0" inherit debian-package inherit autotools ```
e6040d54-df2c-4436-b563-0b91fb134ada
{ "language": "BitBake" }
```bitbake ``` Add recipe for git version
```bitbake SUMMARY = "Ply: A light-weight dynamic tracer for eBPF" HOMEPAGE = "https://github.com/iovisor/ply" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS += "bison-native" SRC_URI = "git://github.com/iovisor/ply" SRCREV = "aa5b9ac31307ec1acece818be334ef801c802a12" S = "${WORKDIR}/git" inherit autotools-brokensep COMPATIBLE_HOST = "(x86_64.*|aarch64.*|arm.*|powerpc.*)-linux" ```
ffda1f1c-acfd-43c3-aa97-f5b6972af287
{ "language": "BitBake" }
```bitbake ``` Add basic at91 image with Wi-Fi support
```bitbake #Angstrom bootstrap at91sam9 image IMAGE_PREPROCESS_COMMAND = "create_etc_timestamp" ANGSTROM_EXTRA_INSTALL += " \ alsa-utils-amixer \ alsa-utils-aplay \ dosfstools \ iperf \ madplay \ mplayer \ mtd-utils \ # nbench-byte \ owl-wifi \ thttpd \ usbview \ " DEPENDS = "task-base-extended \ ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \ " IMAGE_INSTALL = "task-base-extended \ ${ANGSTROM_EXTRA_INSTALL} \ ${@base_contains("MACHINE_FEATURES", "screen", "psplash-zap", "",d)} \ " export IMAGE_BASENAME = "console-at91sam9-image" IMAGE_LINGUAS = "" #we dont need the kernel in the image ROOTFS_POSTPROCESS_COMMAND += "rm -f ${IMAGE_ROOTFS}/boot/*Image*; " inherit image ```
21827c79-2580-45b5-b65b-3314d7bc8fec
{ "language": "BitBake" }
```bitbake ``` Add recipes for jansson packages
```bitbake SUMMARY = "C library for encoding, decoding and manipulating JSON data" DESCRIPTION = " Jansson is a C library for encoding, decoding and manipulating JSON data.\n\ .\n\ It features:\n\ * Simple and intuitive API and data model\n\ * Comprehensive documentation\n\ * No dependencies on other libraries\n\ * Full Unicode support (UTF-8)\n\ * Extensive test suite" HOMEPAGE = "http://www.digip.org/jansson/" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=517b9b5519c82636e516e4969c5ce393" inherit autotools ```
73ffbf54-c000-4e8d-ac30-c51812e438b4
{ "language": "BitBake" }
```bitbake ``` Add recipe fo minicom package
```bitbake #base recipe: /meta/recipes-extended/minicom/minicom_2.7.bb # base branch: master # base commit: 7e4cc9892dc72bfd360855940e715f8d43186053 # SUMMARY = "Text-based modem control and terminal emulation program" DESCRIPTION = " Minicom is a text-based modem control and terminal emulation \ program for Unix-like operating systems" HOMEPAGE = "https://alioth.debian.org/projects/minicom/" PR = "r0" inherit debian-package DEPENDS = "ncurses" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "\ file://COPYING;md5=420477abc567404debca0a2a1cb6b645 \ file://src/minicom.h;beginline=1;endline=12;md5=a58838cb709f0db517f4e42730c49e81" inherit autotools gettext pkgconfig ```
d63dca1d-b63c-46bc-ba65-7724b2703138
{ "language": "BitBake" }
```bitbake ``` Add recipe for php-auth package
```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}" ```
b2fac5dc-855b-48e8-bf1a-e19eff12ec6e
{ "language": "BitBake" }
```bitbake ``` Create recipe for config.txt file
```bitbake DESCRIPTION = "Commented config.txt file for the Raspberry Pi. \ The Raspberry Pi config.txt file is read by the GPU before \ the ARM core is initialised. It can be used to set various \ system configuration parameters." LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" COMPATIBLE_MACHINE = "raspberrypi" SRCREV = "23e90347da3f1a6029984306e7eb5177adc34df8" SRC_URI = "git://github.com/Evilpaul/RPi-config.git;protocol=git;branch=master \ " S = "${WORKDIR}/git" PR = "r0" addtask deploy before do_package after do_install do_deploy() { install -d ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles cp config.txt ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/ if [ -n "${KEY_DECODE_MPG2}" ]; then sed -i '/#decode_MPG2/ c\decode_MPG2=${KEY_DECODE_MPG2}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt fi if [ -n "${KEY_DECODE_WVC1}" ]; then sed -i '/#decode_WVC1/ c\decode_MVC1=${KEY_DECODE_WVC1}' ${DEPLOY_DIR_IMAGE}/bcm2835-bootfiles/config.txt fi } PACKAGE_ARCH = "${MACHINE_ARCH}" ```
4be6f6eb-f16a-4976-a741-cb83868ddf50
{ "language": "BitBake" }
```bitbake ``` Add recipe for libsepol package
```bitbake SUMMARY = "SELinux library for manipulating binary security policies" inherit debian-package PR = "r0" LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=a6f89e2100d9b6cdffcea4f398e37343" do_compile(){ oe_runmake } do_install(){ oe_runmake install DESTDIR=${D} } PACKAGES =+ "sepol-utils" FILES_sepol-utils += "${bindir}/chkcon" FILES_${PN} += "${base_libdir}/libsepol.so.1" ```
4d912ee2-8f73-4622-847b-953ad30c3f29
{ "language": "BitBake" }
```bitbake ``` Add recipe for libvdpau package
```bitbake SUMMARY = "Video Decode and Presentation API for Unix" DESCRIPTION = "\ VDPAU (Video Decode and Presentation API for Unix) is an open source \ library (libvdpau) and API designed by NVIDIA originally for its GeForce \ 8 series and later GPU hardware, targeted at the X Window System on Unix \ operating-systems (including Linux, FreeBSD, and Solaris). This VDPAU API \ allows video programs to offload portions of the video decoding process \ and video post-processing to the GPU video-hardware. \ " HOMEPAGE = "http://cgit.freedesktop.org/~aplattner/libvdpau" PR = "r0" inherit debian-package pkgconfig LICENSE = "MIT" LIC_FILES_CHKSUM = "\ file://COPYING;md5=83af8811a28727a13f04132cc33b7f58" inherit autotools DEPENDS += "libx11 libxext dri2proto" #follow debian/rules EXTRA_OECONF += "--enable-dri2" do_install_append() { rm ${D}${libdir}/vdpau/libvdpau_trace.so \ ${D}${libdir}/vdpau/libvdpau_trace.la \ ${D}${libdir}/*.la } FILES_${PN} += "${libdir}/vdpau/libvdpau_trace.so.*" FILES_${PN}-dbg += "${libdir}/vdpau/.debug" ```
732c7082-00ed-4bed-94b8-e6c13e1c40ae
{ "language": "BitBake" }
```bitbake ``` Move from meta-arago to meta-ti
```bitbake DESCRIPTION = "TI Resource Manager Low Level Driver" LICENSE = "TI BSD" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/drv/rm/COPYING.txt;md5=dc61631b65360e6beb73b6c337800afc" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-rtos/rm-lld.git;destsuffix=git/ti/drv/rm;protocol=git;branch=${BRANCH}" # Below commit ID corresponds to DEV.RM_LLD.02.01.00.04 SRCREV = "59e3bf5fca3995dd0f79bbdd1af988d278a2a049" PR = "r0" PV = "02.01.00.04" COMPATIBLE_MACHINE = "keystone" DEPENDS = "ti-ipc" PACKAGES =+ "${PN}-test" FILES_${PN}-test = "${bindir}/rmDspClientTest_*.out \ ${bindir}/rmLinuxClientTest_*.out \ ${bindir}/ti/drv/rm/test/dts_files/*.dtb" DEVICELIST = "k2h k2k" CHOICELIST = "yes no" BASEDIR = "${WORKDIR}/git" S = "${BASEDIR}/ti/drv/rm" do_compile () { # Now build the lld make -f makefile_armv7 clean lib PDK_INSTALL_PATH=${STAGING_INCDIR} RM_SRC_DIR=${S} for device in ${DEVICELIST} do for choice in ${CHOICELIST} do make -f makefile_armv7 tests IPC_DEVKIT_INSTALL_PATH=${STAGING_INCDIR} PDK_INSTALL_PATH=${BASEDIR} DEVICE="$device" USEDYNAMIC_LIB="$choice" done done } do_install () { install -d ${D}${includedir}/ti/drv/rm install -d ${D}${libdir} install -d ${D}${bindir} for device in ${DEVICELIST} do make -f makefile_armv7 install installbin installbin_test INSTALL_INC_BASE_DIR=${D}${includedir} INSTALL_LIB_BASE_DIR=${D}${libdir} INSTALL_BIN_BASE_DIR=${D}${bindir} DEVICE="$device" done } ```
bf1679d2-448c-445b-88be-4093cb53e225
{ "language": "BitBake" }
```bitbake ``` Create recipe to demonstrate qt5 example.
```bitbake SUMMARY = "QUItIndicators components with few usage examples" HOMEPAGE = "http://quitcoding.com/?page=work#cinex" LICENSE = "CC-BY-3.0" LIC_FILES_CHKSUM = "file://README;beginline=38;endline=45;md5=9a4a88358260db32391eda6ebe7562e5" DEPENDS = "qtdeclarative qtgraphicaleffects" SRC_URI = "http://quitcoding.com/download/QUItIndicators_1.0.1.tar.gz" SRC_URI[md5sum] = "85ec60b553e181c55b331a9921d1b9a0" SRC_URI[sha256sum] = "db84112adbde9b6f28c129e8fb37a6912f4bc34bed18e57f570fb78ea0cb6ae2" S = "${WORKDIR}/QUItIndicators_1.0.1" require recipes-qt/qt5/qt5.inc do_install() { install -d ${D}${datadir}/${P} install -m 0755 ${B}/QUItIndicators ${D}${datadir}/${P} cp -a ${S}/qml ${D}${datadir}/${P} } FILES_${PN}-dbg += "${datadir}/${P}/.debug" FILES_${PN} += "${datadir}" RDEPENDS_${PN} = "qtdeclarative-qmlplugins qtgraphicaleffects-qmlplugins" ```
d3d476cc-e37a-45af-9def-a4e81f2e89ff
{ "language": "BitBake" }
```bitbake ``` Add recipe for janus python library
```bitbake SUMMARY = "Mixed sync-async queue to interoperate between asyncio tasks and classic threads" AUTHOR = "Andrew Svetlov" HOMEPAGE = "https://github.com/aio-libs/janus/" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=23878c357ebb4c8ce1109be365043349" inherit pypi setuptools3 RDEPENDS_${PN} += "\ ${PYTHON_PN}-asyncio \ ${PYTHON_PN}-logging \ ${PYTHON_PN}-threading \ ${PYTHON_PN}-typing \ " PR = "r0" SRC_URI[sha256sum] = "cfc221683160b91b35bae1917e2957b78dad10a2e634f4f8ed119ed72e2a88ef" ```
132526a8-8bbf-488f-93f7-de3d03cd4235
{ "language": "BitBake" }
```bitbake ``` Add a task for the core libraries of QtopiaCore/QtE
```bitbake HOMEPAGE = "http://www.trolltech.com" LICENSE = "MIT" inherit task DESCRIPTION_task-qtopia-core-console = "QtopiaCore Core libraries for XML, SQL, Network, Containers and others." RDEPENDS_task-qtopia-core-console = "\ libqtopiacorecore4 \ libqtopiacorenetwork4 \ libqtopiacorexml4 \ libqtopiacoresql4" ```
e45737a6-477b-45a0-a895-7c5355b397a0
{ "language": "BitBake" }
```bitbake ``` Add the linux-adi kernel from the Parallella repo
```bitbake DECRIPTION = "ADI Kernel" SECTION = "kernel" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" # This version extension should match CONFIG_LOCALVERSION in defconfig LINUX_VERSION_EXTENSION ?= "-adi" PV = "${LINUX_VERSION}${LINUX_VERSION_EXTENSION}+git${SRCREV}" # Source Directory S = "${WORKDIR}/git" # Inherit/include base functionality inherit kernel require recipes-kernel/linux/linux-machine-common.inc # Override COMPATIBLE_MACHINE to include your machine in a bbappend file. COMPATIBLE_MACHINE = "qemuzynq|zynq" PR = "r1" KBRANCH = "bcxcube_epiphany_driver" LINUX_VERSION = "3.12" SRCREV = "203d6a659b5b74fbf279a83a2121ef604769abe7" SRC_URI = "git://github.com/parallella/parallella-linux-adi.git;protocol=https;branch=${KBRANCH}" do_configure_prepend() { cp ${S}/arch/arm/configs/parallella_defconfig ${B}/.config # Enable the Epiphany drive echo "CONFIG_EPIPHANY=y" >> ${B}/.config echo "" >> ${B}/.config } ```
ae57fcd6-a27b-4723-83a8-57e33d9b0195
{ "language": "BitBake" }
```bitbake ``` Add recipe for rng-tools package
```bitbake # # base recipe: https://github.com/joelagnel/meta-openembedded/blob/master/\ # meta-oe/recipes-support/rng-tools/rng-tools_2.bb # base branch: master # base commit: 7fd47b69000367319886af45151581c0ecd88310 # SUMMARY = "Random number generator daemon" DESCRIPTION = " rngd is a daemon that runs conditioning tests (from FIPS 140-2,\ edition of 2002-10-10) on a source of random data, and if that \ data passes the FIPS test,feeds it back as trusted entropy to the\ in-kernel entropy pool. Thus, it increases the amount of true \ random data the kernel has available." PR = "r0" inherit debian-package LICENSE = "GPL-2.0+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit autotools do_install_append() { #Create new folders install -d ${D}${sysconfdir} install -d ${D}${sysconfdir}/default install -d ${D}${sysconfdir}/init.d install -d ${D}${sysconfdir}/logcheck install -d ${D}${sysconfdir}/logcheck/ignore.d.server install -d ${D}${sysconfdir}/logcheck/violations.ignore.d install -m 0644 ${S}/debian/rng-tools.default \ ${D}${sysconfdir}/default/rng-tools install -m 0755 ${S}/debian/rng-tools.init \ ${D}${sysconfdir}/init.d/rng-tools install -m 0644 ${S}/debian/logcheck.ignore \ ${D}${sysconfdir}/logcheck/ignore.d.server/rng-tools cp ${D}${sysconfdir}/logcheck/ignore.d.server/rng-tools \ ${D}${sysconfdir}/logcheck/violations.ignore.d/rng-tools } ```
f7ea7bf1-3479-4dfe-bfea-6c72abc9fcce
{ "language": "BitBake" }
```bitbake ``` Make sure that we are using correct version of u-boot-mkimage.
```bitbake SUMMARY = "U-Boot bootloader image creation tool" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://Licenses/README;md5=0507cd7da8e7ad6d6701926ec9b84c95" SECTION = "bootloader" DEPENDS = "openssl" # This revision corresponds to the tag "v2015.10" # We use the revision in order to avoid having to fetch it from the # repo during parse SRCREV = "5ec0003b19cbdf06ccd6941237cbc0d1c3468e2d" PV = "v2015.10+git${SRCPV}" SRC_URI = "git://git.denx.de/u-boot.git;branch=master" S = "${WORKDIR}/git" EXTRA_OEMAKE = 'CROSS_COMPILE="${TARGET_PREFIX}" CC="${CC} ${CFLAGS} ${LDFLAGS}" STRIP=true V=1' do_compile () { oe_runmake sandbox_defconfig oe_runmake cross_tools NO_SDL=1 } do_install () { install -d ${D}${bindir} install -m 0755 tools/mkimage ${D}${bindir}/uboot-mkimage ln -sf uboot-mkimage ${D}${bindir}/mkimage } BBCLASSEXTEND = "native nativesdk" ```
db8e6e93-e68c-42aa-8203-ac0598cbbffa
{ "language": "BitBake" }
```bitbake ``` Package for LSB init-functions script
```bitbake DESCRIPTION = "Miscellaneous files for the base system." SECTION = "base" PRIORITY = "optional" PR = "r0" LICENSE = "BSD" PACKAGE_ARCH = "all" SRC_URI = "http://ftp.de.debian.org/debian/pool/main/l/lsb/lsb_3.2-23.tar.gz" FILES_${PN} = "/lib/lsb" S = "${WORKDIR}/lsb-3.2" do_compile () { } do_install () { install -d ${D}/lib/lsb install -m 755 init-functions ${D}/lib/lsb/ } ```
13013e06-02fd-4aa2-8276-9a9dcc9d6522
{ "language": "BitBake" }
```bitbake ``` Add new version for testing (this is the version that OpenWrt currently uses, exiting versions no longer build due to kernel network api changes)
```bitbake # Bitbake recipe for the madwifi-ng driver DEFAULT_PREFERENCE = "-1" # Disable stripping of kernel modules, since this action strips too # much out, and the resulting module won't load. INHIBIT_PACKAGE_STRIP = "1" require madwifi-ng_r.inc # PR set after the include, to override what's set in the included file. # PR = "r1" ```
36a60dcf-f80a-469b-bb40-48cf17766868
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GPS navigation/map display software" LICENSE = "GPL" DEPENDS = "sqlite3 gtk+ gnome-vfs-dbus dbus bluez-libs" PV = "1.2.4+svn${SRCDATE}" #only works with SRCDATE_maemo-mapper-nohildon = "20061114" SRC_URI = "svn://garage.maemo.org/svn/maemo-mapper;proto=https;module=trunk \ http://home.tal.org/%7Emilang/n770/maemo-mapper-desktop-20061114-001.patch;patch=1;pnum=0" S = "${WORKDIR}/trunk" inherit autotools pkgconfig #FILES_${PN} = "${bindir}/gpsdrive ${bindir}/wpcvt ${bindir}/wpget ${datadir}/pixmaps ${datadir}/applications" ``` Fix segfault, remap zoom keys, package desktop file
```bitbake DESCRIPTION = "GPS navigation/map display software" LICENSE = "GPL" DEPENDS = "sqlite3 gtk+ gnome-vfs-dbus dbus bluez-libs" RDEPENDS = "bluez-utils" PV = "1.2.4+svn${SRCDATE}" PR = "r1" # Only works with SRCDATE_maemo-mapper-nohildon = "20061114" SRC_URI = "svn://garage.maemo.org/svn/maemo-mapper;proto=https;module=trunk \ http://home.tal.org/%7Emilang/n770/maemo-mapper-desktop-20061114-001.patch;patch=1;pnum=0 \ file://fix_segfault.patch;patch=1" S = "${WORKDIR}/trunk" inherit autotools pkgconfig do_install_append () { install -d ${D}${datadir}/applications/ mv ${D}/maemo-mapper.desktop ${D}${datadir}/applications/ } #FILES_${PN} += "${datadir}/icons" ```
0087d316-7fe0-4d7b-b9f4-c1bfa98f8873
{ "language": "BitBake" }
```bitbake ``` Add new package rules for rkflashtool
```bitbake # Copyright (C) 2014 Romain Perier <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "Tools for flashing Rockchip devices" LICENSE = "AS IS" LIC_FILES_CHKSUM = "file://rkcrc.c;beginline=1;endline=25;md5=5c55527c991502a9b86b768674cdcff5" DEPENDS += "libusb-native" SRC_URI="git://github.com/linux-rockchip/rkflashtool.git" SRCREV = "${AUTOREV}" PR = "r1" PV = "0.1+git${SRCREV}" inherit native S = "${WORKDIR}/git" do_compile() { oe_runmake } do_install() { install -d ${D}/${prefix}/bin for tool in rkcrc rkflashtool rkmisc rkpad rkparameters rkunpack rkunsign; do install -m 0755 ${S}/${tool} ${D}/${prefix}/bin/${tool} done } ```
d095b055-3993-4816-9fca-b6dcc8d9da7c
{ "language": "BitBake" }
```bitbake ``` Add new recipe Create recipe to build debianutils from Debian's source code
```bitbake # base recipe: meta/recipes-support/debianutils/debianutils_4.5.1.bb # base branch: master SUMMARY = "Miscellaneous utilities specific to Debian" SECTION = "base" LICENSE = "GPLv2+ & SMAIL_GPL" LIC_FILES_CHKSUM = "file://debian/copyright;md5=f01a5203d50512fc4830b4332b696a9f" PR = "r0" inherit debian-package inherit autotools do_install_append() { install -d ${D}${base_bindir} mv ${D}${bindir}/run-parts ${D}${base_bindir}/ mv ${D}${bindir}/tempfile ${D}${base_bindir}/ mv ${D}${bindir}/which ${D}${base_bindir}/ # create link binary ln -s ${base_bindir}/which ${D}${bindir}/which } ```
07ed2175-a004-4e1f-9844-9d3c37d494bf
{ "language": "BitBake" }
```bitbake ``` Add recipes for libmatheval packages
```bitbake SUMMARY = "GNU library for evaluating symbolic mathematical expressions" DESCRIPTION = "GNU libmatheval is a library comprising of several procedures that make \ it possible to create an in-memory tree representation of mathematical \ functions over single or multiple variables and later use this \ representation to evaluate functions for specified variable values, to \ create corresponding trees for function derivatives over specified \ variables or to print textual representations of in-memory trees to a \ specified string. The library supports arbitrary variable names in \ expressions, decimal constants, basic unary and binary operators and \ elementary mathematical functions." HOMEPAGE = "http://www.gnu.org/software/libmatheval/" PR = "r0" inherit debian-package LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=f27defe1e96c2e1ecd4e0c9be8967949" inherit autotools gettext pkgconfig do_configure_prepend() { # base on debian/rules touch ${S}/config/config.rpath } DEPENDS += "guile-2.0 flex libtool" RPROVIDES_${PN}-dev = "libmatheval1-dev" ```
a13df0e3-7445-499a-b733-b3462db19074
{ "language": "BitBake" }
```bitbake ``` Add recipe for compiling clk_wiz driver
```bitbake inherit features_check REQUIRED_DISTRO_FEATURES = "clk-wiz" inherit esw python3native DEPENDS += "xilstandalone" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/clk_wiz/src/" ESW_COMPONENT_NAME = "libclk_wiz.a" addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot do_prepare_recipe_sysroot[rdeptask] = "do_unpack" ```
4ac014c5-1108-49c4-b19e-6aba64a1507f
{ "language": "BitBake" }
```bitbake ``` Add recipe for the remmina remote desktop client
```bitbake DESCRIPTION = "A feature rich Remote Desktop Application written in GTK+" HOMEPAGE = "https://remmina.org" SECTION = "Support" LICENSE = "GPLv2 & openssl" LIC_FILES_CHKSUM = "file://LICENSE;md5=dab7215512044d49037272ce1ac4ea8f file://LICENSE.OpenSSL;md5=c1eb3cee0a4dea27503c531267a69769" DEPENDS += "openssl freerdp gtk+3 gdk-pixbuf atk libgcrypt avahi-ui libsodium libssh vte json-glib libsoup-2.4 libvncserver spice spice-protocol libsecret" DEPENDS_append_libc-musl = "libexecinfo" LDFLAGS_append_libc-musl = " -lexecinfo" SRC_URI = "https://gitlab.com/Remmina/Remmina/-/archive/v${PV}/Remmina-v${PV}.tar.bz2 \ " SRC_URI[md5sum] = "6da599c3a5cab2df37a70f8fba2f5438" SRC_URI[sha256sum] = "fbed745438bb0c21467b60cbd67c8148a9289b5ebc7482d06db443bea556af1a" S = "${WORKDIR}/Remmina-v${PV}" inherit cmake EXTRA_OECMAKE += "-DWITH_APPINDICATOR=OFF -DWITH_GETTEXT=OFF -DWITH_TRANSLATIONS=OFF" do_install_append(){ # We dont need the extra stuff form other desktop environments rm -rf ${D}/${datadir}/xsessions rm -rf ${D}/${datadir}/metainfo rm -rf ${D}/${datadir}/gnome-session } RDEPENDS_${PN} = "bash" FILES_${PN}_append = " ${datadir}/icons/hicolor/*" COMPATIBLE_HOST = '(x86_64|i.86).*-linux' ```
c20c5a4a-3952-4a7c-a0e0-5756449aacb5
{ "language": "BitBake" }
```bitbake DESCRIPTION = "ZRally is a top view race game which offers the player mulitple \ tracks and multiple skill levels." SECTION = "opie/games" PRIORITY = "optional" LICENSE = "GPL" AUTHOR = "Kevin Greenhaw <[email protected]>" HOMEPAGE = "http://zrally.sourceforge.net/zrally.html" APPNAME = "zrally" APPTYPE = "binary" APPDESKTOP = "${WORKDIR}" SRC_URI = "${SOURCEFORGE_MIRROR}/zrally/zrally_0.90_src.tar.gz \ file://dir.patch;striplevel=0" S = "${WORKDIR}" inherit opie do_install () { install -d ${D}${palmtopdir}/pics/${APPNAME}/track_pics/ install -m 0644 track_pics/*.png ${D}${palmtopdir}/pics/${APPNAME}/track_pics/ install -m 0644 track_pics/ZRallyIcon.png ${D}${palmtopdir}/pics/ } SRC_URI[md5sum] = "7084c0d2b28108563ca45e5ec1533ba1" SRC_URI[sha256sum] = "c4fb0477fdc110b63d867ae2a46cca7913fa6a0ca8bf574c7189329bea91dcdf" ``` Switch to subdir= in SRC_URI
```bitbake DESCRIPTION = "ZRally is a top view race game which offers the player mulitple \ tracks and multiple skill levels." SECTION = "opie/games" PRIORITY = "optional" LICENSE = "GPL" AUTHOR = "Kevin Greenhaw <[email protected]>" HOMEPAGE = "http://zrally.sourceforge.net/zrally.html" APPNAME = "zrally" APPTYPE = "binary" APPDESKTOP = "${WORKDIR}" SRC_URI = "${SOURCEFORGE_MIRROR}/zrally/zrally_0.90_src.tar.gz;subdir=${BPN}-${PV} \ file://dir.patch;striplevel=0" inherit opie do_install () { install -d ${D}${palmtopdir}/pics/${APPNAME}/track_pics/ install -m 0644 track_pics/*.png ${D}${palmtopdir}/pics/${APPNAME}/track_pics/ install -m 0644 track_pics/ZRallyIcon.png ${D}${palmtopdir}/pics/ } SRC_URI[md5sum] = "7084c0d2b28108563ca45e5ec1533ba1" SRC_URI[sha256sum] = "c4fb0477fdc110b63d867ae2a46cca7913fa6a0ca8bf574c7189329bea91dcdf" ```
d8c0fac4-bbf8-4c2b-ae80-4c76b890e952
{ "language": "BitBake" }
```bitbake ``` Add octomap map server recipe
```bitbake DESCRIPTION = "The OctoMap library implements a 3D occupancy grid mapping approach, providing data structures and mapping algorithms in C++." SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;md5=dfb148c57f55603b266f9fd073e6d1b6" SRC_URI = "git://github.com/OctoMap/octomap_mapping.git;branch=indigo-devel;protocol=git" SRCREV = "122bc60230925009925c99d8e40c1abea287ebf0" DEPENDS = "roscpp visualization-msgs sensor-msgs pcl-ros pcl-conversions nav-msgs std-msgs std-srvs octomap-ros octomap-msgs dynamic-reconfigure nodelet rospy python-six python-bson" DEPENDS += "${PYTHON_PN}-setuptools-native ${PYTHON_PN}-future-native" S = "${WORKDIR}/git/octomap_server" EXTRA_OECMAKE += "-DCMAKE_SKIP_RPATH=ON" inherit catkin ```
31fc70aa-ec4b-4f76-a276-df7dd67b195a
{ "language": "BitBake" }
```bitbake ``` Add recipes for lksctp-tools package
```bitbake SUMMARY = "ser-space access to Linux Kernel SCTP" DESCRIPTION = "SCTP (Stream Control Transmission Protocol) is a message oriented, \ reliable transport protocol, with congestion control, support for \ transparent multi-homing, and multiple ordered streams of messages. \ RFC2960 defines the core protocol." HOMEPAGE = "http://lksctp.sf.net/" inherit debian-package PV = "1.0.16+dfsg" LICENSE = "GPL-2+ & LGPL-2.1+ & BSD-3-Clause" LIC_FILES_CHKSUM = "\ file://COPYING;md5=0c56db0143f4f80c369ee3af7425af6e \ file://COPYING.lib;md5=0a1b79af951c42a9c8573533fbba9a92 \ file://src/withsctp/sctp_bind.c;beginline=10;endline=37;md5=4f5ceff92458066c8cfdfe5b3f824aa0" inherit autotools do_install_append() { # follow libsctp-dev.install install -d ${D}${docdir}/libsctp-dev/examples/ mv ${D}${datadir}/lksctp-tools/* ${D}${docdir}/libsctp-dev/examples/ rm -rf ${D}${libdir}/lksctp-tools/libwithsctp.so \ ${D}${libdir}/lksctp-tools/libwithsctp.la \ ${D}${libdir}/lksctp-tools/libwithsctp.a } PACKAGES =+ "libsctp libsctp-dev" FILES_libsctp = "${libdir}/libsctp${SOLIBS}" FILES_libsctp-dev = "${includedir}/* \ ${libdir}/*.so \ ${libdir}/*.la \ " RPROVIDES_libsctp = "libsctp1" ```
d1f3ac9a-147c-4164-8838-14bded7e943a
{ "language": "BitBake" }
```bitbake ``` Add current version of json-c library
```bitbake DESCRIPTION = "JSON-C - A JSON implementation in C" HOMEPAGE = "https://github.com/json-c/json-c/wiki" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302" SRCREV = "d4e81f9ec8273914739808737fa0a27a3f0589fb" SRC_URI = "git://github.com/json-c/json-c.git" S = "${WORKDIR}/git" inherit autotools ```
c5fa8d29-d0da-406c-8a9c-c063debe10f1
{ "language": "BitBake" }
```bitbake ``` Add recipe for mklibs package
```bitbake SUMMARY = "Shared library reduction script" DESCRIPTION = "\ mklibs produces cut-down shared libraries that contain only the \ routines required by a particular set of executables. This is \ useful when building closed systems where disk space is at a premium, \ such as the Debian installer. \ " PR = "r0" inherit debian-package LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "\ file://src/mklibs-readelf/elf.cpp;md5=eac8712efb9999f3ad0606c57d13424e \ " inherit autotools-brokensep gettext pkgconfig DEPENDS += "libtimedate-perl-native" PACKAGES =+ "${PN}-copy" FILES_${PN}-copy += "\ ${bindir}/mklibs-copy ${bindir}/mklibs-readelf \ ${libdir}/mklibs/* ${docdir}/mklibs-copy/* \ ${mandir}/man1/mklibs-copy.1.gz ${mandir}/man1/mklibs-readelf.1.gz \ " ```
0c5a51b3-153f-485c-8293-1b478763c504
{ "language": "BitBake" }
```bitbake ``` Add recipe for TI trace framework library
```bitbake DESCRIPTION = "TI Trace Framework library" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://${WORKDIR}/git/ti/instrumentation/traceframework/COPYING.txt;md5=e8f6789acdcda76d02ed9203fc2e603d" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-rtos/traceframework.git;destsuffix=git/ti/instrumentation/traceframework;protocol=git;branch=${BRANCH}" # Below commit ID corresponds to DEV.TFWK-01.01.01.06A SRCREV = "bd87f53f4d12dc802bcc5609afb7994643e40cb9" PV = "01.01.01.06" COMPATIBLE_MACHINE = "(tci6614-evm|keystone)" DEPENDS = "cuia" DEVICELIST = "" DEVICELIST_append_tci6614-evm = "c6614" DEVICELIST_append_keystone = "k2k k2h k2e k2l" PACKAGES =+ "${PN}-test" FILES_${PN}-test = "${bindir}/tfw*.out \ ${bindir}/*.txt" BASEDIR = "${WORKDIR}/git" S = "${BASEDIR}/ti/instrumentation/traceframework" EXTRA_OEMAKE += "-f makefile_armv7 PDK_INSTALL_PATH=${STAGING_INCDIR} \ CUIA_INSTALL_DIR=${STAGING_INCDIR} CUIA_LIB_DIR=${STAGING_LIBDIR}" do_compile () { # making the library oe_runmake clean oe_runmake lib # make the test application for device in ${DEVICELIST} do oe_runmake tests DEVICE="$device" TFW_INC_DIR=${BASEDIR} TFW_SRC_DIR=${S} \ TARGET_ROOT_DIR=${D} done } do_install() { for device in ${DEVICELIST} do oe_runmake install DEVICE="$device" TFW_SRC_DIR=${S} TARGET_ROOT_DIR=${D} done } ```
6fc58421-a40f-4a9d-b7d3-b0a7d0f5e749
{ "language": "BitBake" }
```bitbake ``` Add new recipe for multiproc transport library and test code
```bitbake DESCRIPTION = "Multiproc transport layer for KeyStone devices: Provide basic transport layer for moving data between different processing nodes" HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-linux/mpm-transport.git" LICENSE = "BSD-3-Clause & MIT" LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2c17cd1dc60dc06a4c4f2a2c45472a51" COMPATIBLE_MACHINE = "keystone" DEPENDS = "common-csl-ip hyplnk-lld edma3-lld mmap-lld" SRC_URI = "git://git.ti.com/keystone-linux/mpm-transport.git;protocol=git;branch=${BRANCH}" BRANCH = "master" # This commit corresponds to tag DEV.MPM-TRANSPORT-01.00.04.00E SRCREV = "56640c6296f9f4816140364b7620b1d1a483ac40" PV = "1.0.4.0" PR = "r0" S = "${WORKDIR}/git" PACKAGES =+ "${PN}-test" FILES_${PN}-test = "${bindir}/mpm_transport_test.out ${bindir}/mpm_transport_hyplnk_loopback.out ${bindir}/mpm_transport_hyplnk_remote.out ${bindir}/mpm_transport_hyplnk_loopback_dma.out ${bindir}/mpm_transport_hyplnk_loopback64.out" do_compile () { cd ${S} make PDK_INSTALL_PATH=${STAGING_INCDIR} } do_install() { make installbin BASE_DIR=${S} INSTALL_BIN_BASE_DIR=${D}/${bindir} install -d ${D}${includedir}/ install -c -m 755 ${S}/include/* ${D}${includedir}/ install -d ${D}${libdir}/ cp -a ${S}/lib/* ${D}${libdir}/ install -d ${D}${sysconfdir}/mpm/ install -c -m 755 ${S}/scripts/mpm_config.json ${D}${sysconfdir}/mpm/mpm_config.json } ```
741733f2-f01c-45d5-8e17-551560feba33
{ "language": "BitBake" }
```bitbake ``` Add bitbake recipe to build consul-migrate
```bitbake SUMMARY = "Provides data migration for Consul server nodes" HOMEPAGE = "https://github.com/hashicorp/consul-migrate" LICENSE = "MPL-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=b278a92d2c1509760384428817710378" DEPENDS += "raft raft-boltdb raft-mdb" PKG_NAME = "github.com/hashicorp/consul-migrate" SRC_URI = "git://${PKG_NAME}.git" SRCREV = "678fb10cdeae25ab309e99e655148f0bf65f9710" S = "${WORKDIR}/git" do_compile() { #Setting up a symlink to have bolt in a directory go can work with cd ${S} rm -rf .gopath mkdir -p .gopath/src/$(dirname ${PKG_NAME}) ln -sf ../../../../ .gopath/src/${PKG_NAME} #Setting up go variables export GOPATH="${S}/.gopath:${STAGING_DIR_TARGET}/${prefix}/local/go" export GOBIN=${S}/.gopath/bin export GOARCH="${TARGET_ARCH}" # supported amd64, 386, arm if [ "${TARGET_ARCH}" = "x86_64" ]; then export GOARCH="amd64" fi go install ${PKG_NAME} } do_install() { install -d ${D}${prefix}/local/go/src/${PKG_NAME} install -d ${D}${prefix}/bin cp -a ${S}/* ${D}${prefix}/local/go/src/${PKG_NAME}/ cp -a ${S}/.gopath/bin/* ${D}${prefix}/bin/ } SYSROOT_PREPROCESS_FUNCS += "consul_migrate_sysroot_preprocess" consul_migrate_sysroot_preprocess () { install -d ${SYSROOT_DESTDIR}${prefix}/local/go/src/${PKG_NAME} cp -a ${D}${prefix}/local/go/src/${PKG_NAME} ${SYSROOT_DESTDIR}${prefix}/local/go/src/$(dirname ${PKG_NAME}) install -d ${SYSROOT_DESTDIR}${prefix}/bin cp -a ${D}${prefix}/bin/* ${SYSROOT_DESTDIR}${prefix}/bin/ } FILES_${PN} += "${prefix}/local/go/src/${PKG_NAME}/* ${prefix}/bin/*" ```
cc43bee3-07fc-4fde-ac9b-055f11eb5a00
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Entice is the E17 picture viewer" # can also depend on GIMP for editing DEPENDS = "edb evas-x11 ecore-x11 edje epsilon esmart-x11" LICENSE = "MIT" PR = "r0" inherit e RDEPENDS += "libesmart-container-plugins libesmart-thumb0 libesmart-trans-x11-0 libesmart-file-dialog0" SRC_URI = "${E_CVS};module=e17/apps/entice;date=${PV}" S = "${WORKDIR}/entice" EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR}/edje_cc" FILES_${PN} = "${bindir}/* ${libdir}/* ${datadir} ${sysconfdir} ${sbindir}" ``` Fix broken package references to remove parsing errors
```bitbake DESCRIPTION = "Entice is the E17 picture viewer" # can also depend on GIMP for editing DEPENDS = "edb evas-x11 ecore-x11 edje epsilon esmart-x11" LICENSE = "MIT" PR = "r0" inherit e RDEPENDS += "libesmart-container-plugins libesmart-thumb libesmart-trans-x11-0 libesmart-file-dialog" SRC_URI = "${E_CVS};module=e17/apps/entice;date=${PV}" S = "${WORKDIR}/entice" EXTRA_OECONF = "--with-edje-cc=${STAGING_BINDIR}/edje_cc" FILES_${PN} = "${bindir}/* ${libdir}/* ${datadir} ${sysconfdir} ${sbindir}" ```
ae673b3f-e507-42f5-90bf-0267edfd921b
{ "language": "BitBake" }
```bitbake ``` Add initial recipe for cppkafka wrapper
```bitbake SUMMARY = "high level C++ wrapper for rdkafka" DESCRIPTION = "cppkafka allows C++ applications to consume and produce messages using the Apache Kafka protocol." HOMEPAGE = "https://github.com/mfontanini/cppkafka" SECTION = "lib" LICENSE = "BSD-2-Clause" LIC_FILES_CHKSUM = " \ file://LICENSE;md5=d8b4ca15d239dc1485ef495c8f1bcc72 \ " SRC_URI = "git://github.com/mfontanini/cppkafka;protocol=https" SRCREV = "5e4b350806d561473138ce7a982e8f6cf2e77733" DEPENDS = "librdkafka boost chrpath-replacement-native" inherit cmake S = "${WORKDIR}/git" do_install_append(){ chrpath -d ${D}${libdir}/libcppkafka.so.0.3.1 } ```
f5352187-d096-41f3-a75e-aad514669e84
{ "language": "BitBake" }
```bitbake ``` Add recipe for libmongo-client package
```bitbake SUMMARY = "alternative C driver for MongoDB," DESCRIPTION = "\ libmongo-client is meant to be a stable (API, ABI and quality alike), \ clean, well documented and well tested shared library, that strives to\ make the most common use cases as convenient as possible" HOMEPAGE = "https://github.com/algernon/libmongo-client" PR = "r0" inherit debian-package LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=3b83ef96387f14655fc854ddc3c6bd57" inherit autotools pkgconfig DEPENDS += "glib-2.0" #install follow Debian jessie do_install_append() { rm ${D}${libdir}/libmongo-client.la LINKLIB=$(basename $(readlink ${D}${libdir}/libmongo-client.so)) chmod 0644 ${D}${libdir}/${LINKLIB} } #correct the sub-package name DEBIANNAME_${PN}-dbg = "${PN}0-dbg" ```
6cb6fae0-0d8a-4e19-af78-6deead7eff6e
{ "language": "BitBake" }
```bitbake ``` Add recipe for libnih package
```bitbake SUMMARY = "NIH Utility Library" DESCIPTION = "libnih is a light-weight \"standard library\" of C functions to ease the \ development of other libraries and applications, especially those \ normally found in /lib. This package contains the shared library." HOMEPAGE = "https://launchpad.net/libnih" LICENSE = "GPL-2.0+" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit debian-package DEPENDS += "libnih-native dbus" PR = "r0" inherit autotools gettext DEBIAN_PATCH_TYPE = "nopatch" BBCLASSEXTEND = "native" do_install_append() { install -d ${D}${base_libdir} mv ${D}${libdir}/libnih${SOLIBS} ${D}${base_libdir} mv ${D}${libdir}/libnih-dbus${SOLIBS} ${D}${base_libdir} LINKLIB=$(basename $(readlink ${D}${libdir}/libnih.so)) ln -sf ../../lib/$LINKLIB ${D}${libdir}/libnih.so LINKLIB=$(basename $(readlink ${D}${libdir}/libnih-dbus.so)) ln -sf ../../lib/$LINKLIB ${D}${libdir}/libnih-dbus.so } PACKAGES =+ "${PN}-dbus nih-dbus-tool ${PN}-dbus-dev" FILES_${PN}-dbus = "${base_libdir}/libnih-dbus${SOLIBS}" FILES_nih-dbus-tool = "${bindir}/nih-dbus-tool" FILES_${PN}-dbus-dev = "${includedir}/libnih-dbus.h \ ${includedir}/nih-dbus/* \ ${libdir}/libnih-dbus.so \ ${libdir}/pkgconfig/libnih-dbus.pc" FILES_${PN} = "${base_libdir}/libnih${SOLIBS}" ```
6a99f9c2-8d7a-4136-8644-3f7464ee483c
{ "language": "BitBake" }
```bitbake ``` Add recipe for TI Image processing demo for keystone 2
```bitbake DESCRIPTION = "TI Image Processing Demo for KeyStone 2" HOMEPAGE = "http://git.ti.com/cgit/cgit.cgi/keystone-demos/image-proc.git" LICENSE = "BSD & MIT" LIC_FILES_CHKSUM = "file://Makefile;beginline=1;endline=29;md5=ada2acff673fad7c53cbfd2598525f2a" SECTION = "console" COMPATIBLE_MACHINE = "keystone" DEPENDS = "ti-ipc" BRANCH = "master" SRC_URI = "git://git.ti.com/keystone-demos/image-proc.git;protocol=git;branch=${BRANCH}" #Commit corresponds to DEV.DEMO_IMAGE_PROC-01.00.00.01 SRCREV = "1745725128929f6d57a3e8e8ed0ca02fe4b28b51" PV = "1.0.0.1" S = "${WORKDIR}/git" MATRIX_BASE_DIR = "${datadir}/matrix-gui-2.0" MATRIX_WEB_DIR = "${MATRIX_BASE_DIR}" MATRIX_APP_DIR = "${MATRIX_WEB_DIR}/apps" MATRIX_IPD_DIR = "${MATRIX_APP_DIR}/demo_imageproc" MATRIX_CGI_DIR = "${MATRIX_IPD_DIR}/cgi-bin" FILES_${PN} = "${MATRIX_IPD_DIR}/demo_imageproc.html" FILES_${PN} += "${MATRIX_CGI_DIR}/image_processing_master.out" do_install() { install -d ${D}${MATRIX_IPD_DIR} install -d ${D}${MATRIX_CGI_DIR} install -c -m 755 ${S}/ipc/master/image_processing_master.out ${D}${MATRIX_CGI_DIR} install -c -m 755 ${S}/webpage/demo_imageproc.html ${D}${MATRIX_IPD_DIR} } ```
055827e8-6672-4d43-81ac-4a9e9859b2da
{ "language": "BitBake" }
```bitbake ``` Add recipe for linux-netbookpro version 3.1.1
```bitbake SECTION = "kernel" DESCRIPTION = "Linux kernel for Psion Teklogix NetBook Pro" LICENSE = "GPLv2" PR = "r1" DEPENDS="boost-img-native boost-bootcode" SRC_URI = "git://github.com/tworaz/linux.git;protocol=git;branch=v3.1.1-nbpro0" SRCREV="edbc7eca3e93aa2c66acf54f2f6c219faffd2a33" ARCH = "arm" COMPATIBLE_HOST = "arm.*-linux" COMPATIBLE_MACHINE = "netbookpro" S = "${WORKDIR}/git" LIC_FILES_CHKSUM = "file://COPYING;md5=d7810fab7487fb0aad327b76f1be7cd7" inherit kernel NBKPRO_IMG_NAME ?= "nBkProOs.img" NBKPRO_IMG_DESCR ?= "NetBook Pro Linux ${PV}" PACKAGES += "kernel-image-raw" FILES_kernel-image = "/${KERNEL_IMAGEDEST}/${NBKPRO_IMG_NAME}" FILES_kernel-image-raw = "/${KERNEL_IMAGEDEST}/${KERNEL_IMAGETYPE}*" do_configure_prepend() { install -m 0644 ${S}/arch/arm/configs/netbookpro_defconfig ${S}/.config } kernel_do_compile_append() { boost-img create \ -k arch/${ARCH}/boot/Image \ -b ${DEPLOY_DIR_IMAGE}/bcode-latest.bin \ -o ${NBKPRO_IMG_NAME} \ -d "${NBKPRO_IMG_DESCR}" \ -z || die "Failed to create boost img" } kernel_do_install_append() { install -m 0644 ${NBKPRO_IMG_NAME} ${D}/${KERNEL_IMAGEDEST} } kernel_do_deploy_append() { install -m 0644 ${S}/${NBKPRO_IMG_NAME} ${DEPLOYDIR}/${NBKPRO_IMG_NAME}_${KERNEL_VERSION} } pkg_postinst_kernel() { } pkg_postrm_kernel() { } ```
bfb78e90-1a17-4e70-bce9-da174a330c78
{ "language": "BitBake" }
```bitbake ``` Create new recipe using new sourceipk.bbclass feature
```bitbake DESCRIPTION = "Git repositories containing sample board port code" HOMEPAGE = "https://gitorious.org/sitara-board-port" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" inherit allarch CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "board-support/board-port-labs/sitara-board-port-u-boot" SRCIPK_PRESERVE_GIT = "true" PR = "r0" BRANCH = "master" SRC_URI = "git://gitorious.org/sitara-board-port/sitara-board-port-uboot.git;protocol=git;branch=${BRANCH}" SRCREV = "43a81af5ccddc67f9ed5f11664e5478f59574102" S = "${WORKDIR}/git" adjust_git_prepend() { # Checkout a specific branch instead of a commit that is used by default git checkout ${BRANCH} } do_configure() { : } do_compile() { : } ```
8674d9de-1449-466d-9c51-93f94366392a
{ "language": "BitBake" }
```bitbake ``` Add recipe for ebtables package
```bitbake SUMMARY = "Ethernet bridge frame table administration" DESCRIPTION = "Ebtables is used to set up, maintain, and inspect the tables of \ Ethernet frame rules in the Linux kernel. It is analogous to iptables, \ but operates at the MAC layer rather than the IP layer." HOMEPAGE = "http://ebtables.sourceforge.net" PR = "r0" inherit debian-package LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=53b4a999993871a28ab1488fdbd2e73e" inherit autotools-brokensep CFLAGS += "-fstack-protector-all" EXTRA_OEMAKE = " \ 'LIBDIR=${base_libdir}/${PN}' \ 'BINDIR=${base_sbindir}' \ 'CC=${CC}' \ 'CFLAGS=${CFLAGS}' \ 'LDFLAGS=${LDFLAGS}' \ " do_install_append() { # base on debian/rules mv ${D}${sysconfdir}/default/ebtables-config \ ${D}${sysconfdir}/default/ebtables rm -rf ${D}${base_sbindir}/ebtables-save \ ${D}${base_sbindir}/ebtables-restore } RRECOMMENDS_${PN} += "iptables kmod" # Avoid a parallel build problem PARALLEL_MAKE = "" FILES_${PN} += "${base_libdir}/${PN}/*" FILES_${PN}-dbg += "${base_libdir}/${PN}/.debug" ```
0ad81568-a2e2-492e-a512-653600c17b6c
{ "language": "BitBake" }
```bitbake ``` Add recipe for libcgroup package
```bitbake # # Base recipe: recipes-core/libcgroup/libcgroup_0.41.bb # Base branch: jethro # SUMMARY = "Linux control group abstraction library" DESCRIPTION = "libcgroup is a library that abstracts the control group file system \ in Linux. Control groups allow you to limit, account and isolate resource usage \ (CPU, memory, disk I/O, etc.) of groups of processes." PR = "r0" inherit debian-package LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=2d5025d4aa3495befef8f17206a5b0a1" inherit autotools pkgconfig DEPENDS = "bison-native flex-native ${@bb.utils.contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}" EXTRA_OECONF = "${@bb.utils.contains('DISTRO_FEATURES', 'pam', '--enable-pam-module-dir=${base_libdir}/security --enable-pam=yes', '--enable-pam=no', d)}" do_install_append() { # Moving libcgroup to base_libdir if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then mkdir -p ${D}/${base_libdir}/ mv -f ${D}${libdir}/libcgroup.so.* ${D}${base_libdir}/ rel_lib_prefix=`echo ${libdir} | sed 's,\(^/\|\)[^/][^/]*,..,g'` ln -sf ${rel_lib_prefix}${base_libdir}/libcgroup.so.1 ${D}${libdir}/libcgroup.so fi # pam modules in ${base_libdir}/security/ should be binary .so files, not symlinks. if [ -f ${D}${base_libdir}/security/pam_cgroup.so.0.0.0 ]; then mv -f ${D}${base_libdir}/security/pam_cgroup.so.0.0.0 ${D}${base_libdir}/security/pam_cgroup.so rm -f ${D}${base_libdir}/security/pam_cgroup.so.* fi } PACKAGES =+ "cgroup-tools libpam-cgroup" FILES_cgroup-tools += "${bindir}/* ${sbindir}/*" FILES_libpam-cgroup += "${base_libdir}/security/pam_cgroup.so*" FILES_${PN}-dbg += "${base_libdir}/security/.debug" FILES_${PN}-dev += "${base_libdir}/security/*.la" # Rename package follow Debian DEBIANNAME_${PN} = "${PN}1" ```
3c113516-c74b-4a47-b775-ff85e86f5d76
{ "language": "BitBake" }
```bitbake ``` Add sensor repository for mraa
```bitbake SUMMARY = "Sensor/Actuator repository for Mraa" SECTION = "libs" AUTHOR = "Brendan Le Foll, Tom Ingleby, Yevgeniy Kiveisha" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=66493d54e65bfc12c7983ff2e884f37f" DEPENDS = "libjpeg-turbo mraa" SRC_URI = "git://github.com/intel-iot-devkit/upm.git;protocol=git;tag=v${PV}" S = "${WORKDIR}/git" inherit distutils-base pkgconfig python-dir cmake CFLAGS_append_edison = " -msse3 -mfpmath=sse" FILES_${PN}-doc += "${datadir}/upm/examples/" RDEPENDS_${PN} += "mraa" # override this in local.conf to get a subset of bindings. # BINDINGS_pn-upm="python" # will result in only the python bindings being built/packaged. BINDINGS ?= "python nodejs" PACKAGECONFIG ??= "${@bb.utils.contains('PACKAGES', 'node-${PN}', 'nodejs', '', d)} \ ${@bb.utils.contains('PACKAGES', 'python-${PN}', 'python', '', d)}" PACKAGECONFIG[python] = "-DBUILDSWIGPYTHON=ON, -DBUILDSWIGPYTHON=OFF, swig-native ${PYTHON_PN}," PACKAGECONFIG[nodejs] = "-DBUILDSWIGNODE=ON, -DBUILDSWIGNODE=OFF, swig-native nodejs," ### Python ### # Python dependency in PYTHON_PN (from poky/meta/classes/python-dir.bbclass) # Possible values for PYTHON_PN: "python" or "python3" # python-upm package containing Python bindings FILES_${PYTHON_PN}-${PN} = "${PYTHON_SITEPACKAGES_DIR} \ ${datadir}/${BPN}/examples/python/ \ ${prefix}/src/debug/${BPN}/${PV}-${PR}/build/src/*/pyupm_* \ " RDEPENDS_${PYTHON_PN}-${PN} += "${PYTHON_PN} mraa" INSANE_SKIP_${PYTHON_PN}-${PN} = "debug-files" ### Node ### # node-upm package containing Nodejs bindings FILES_node-${PN} = "${prefix}/lib/node_modules/ \ ${datadir}/${BPN}/examples/javascript/ \ " RDEPENDS_node-${PN} += "nodejs mraa" INSANE_SKIP_node-${PN} = "debug-files" ### Include desired language bindings ### PACKAGES =+ "${@bb.utils.contains('BINDINGS', 'nodejs', 'node-${PN}', '', d)}" PACKAGES =+ "${@bb.utils.contains('BINDINGS', 'python', 'python-${PN}', '', d)}" ```
03b2e362-a0ea-4108-a06b-c1ffd3939b7c
{ "language": "BitBake" }
```bitbake ``` Add recipe for libdatetime-timezone-perl package
```bitbake SUMMARY = "framework exposing the Olson time zone database to Perl" DESCRIPTION = "\ DateTime::TimeZone is a Perl module framework providing an interface to the \ Olson time zone database. It exposes the database as a set of modules, one \ for each time zone defined, allowing for various optimizations in doing time \ zone calculations. \ .\ The Olson time zone database is the best available source for worldwide time \ zone information and is available from <URL:ftp://ftp.iana.org/tz/releases/>. \ " HOMEPAGE = "http://datetime.perl.org/" PR = "r0" inherit debian-package LICENSE = "Artistic-1.0 | GPL-1+" LIC_FILES_CHKSUM = "\ file://LICENSE;md5=8cb5990fa1f243cd63c97cfd08571fe7" inherit cpan do_install_append() { rm ${D}${PERLLIBDIRS}/vendor_perl/*/DateTime/TimeZone/Local/Win32.pm } RDEPENDS_${PN} += "libparams-validate-perl" ```
4dd05587-19eb-43e0-8104-f02223712692
{ "language": "BitBake" }
```bitbake ``` Add TI VPE GStreamer plugins
```bitbake DESCRIPTION = "GStreamer elements to use the Video Processing Engine (VPE) found on some TI devices" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" require gst-plugins-ti.inc PR = "${INC_PR}.0" SRCREV = "5107007ca1be8ed66f6a9ec3ffbb70ec7eb0b120" SRC_URI = "git://git.ti.com/glsdk/gst-plugin-vpe.git;protocol=git" ```
234fb010-f487-48ac-b2fd-4da1a6ddec02
{ "language": "BitBake" }
```bitbake ``` Add repositories for Imagination specific demo on DRM
```bitbake DESCRIPTION = "Imagination PowerVR SDK" HOMEPAGE = "http://community.imgtec.com/developers/powervr/installers" LICENSE = "TI-TSPA" LIC_FILES_CHKSUM = "file://LegalNotice.txt;md5=d9c0ca03b9845110090435a33eec4a33" SRC_URI = "git://git.ti.com/glsdk/img-pvr-sdk.git;protocol=git" SRCREV = "edbd108d1582560429192dc0221f0a8fddea0928" PR = "r3" S = "${WORKDIR}/git" do_install () { oe_runmake install DESTDIR=${D} } INHIBIT_PACKAGE_STRIP = "1" INSANE_SKIP_${PN} += "dev-so" FILES_${PN} += "/opt/img-powervr-sdk/Examples/Advanced/OGLES2ChameleonMan /opt/img-powervr-sdk/Examples/Advanced/OGLES2Coverflow /opt/img-powervr-sdk/Examples/Advanced/OGLES2ExampleUI /opt/img-powervr-sdk/Examples/Advanced/OGLES2Navigation /opt/img-powervr-sdk/PVRHub/* /opt/img-powervr-sdk/PVRScopeDeveloper/*" ```
3ad456ec-24a4-4ee8-a080-18e1b8eac7df
{ "language": "BitBake" }
```bitbake ``` Add new release of gpe-login.
```bitbake LICENSE = "GPL" inherit gpe DESCRIPTION = "GPE user login screen" SECTION = "gpe" PRIORITY = "optional" MAINTAINER = "Philip Blundell <[email protected]>" DEPENDS = "gtk+ libgpewidget gpe-ownerinfo xkbd" RDEPENDS = "xkbd" RPROVIDES = "gpe-session-starter" PR = "r0" ```
c9da6daa-4e7f-4ac7-adf2-10b94e2aee2f
{ "language": "BitBake" }
```bitbake PV = "0.0cvs${CVSDATE}" SECTION = "libs" PRIORITY = "optional" MAINTAINER = "Phil Blundell <[email protected]>" # DEPENDS = "x11 libpixman libpng fontconfig libxrender xcb glitz" DEPENDS = "x11 libpixman libpng fontconfig libxrender" DESCRIPTION = "Cairo graphics library" LICENSE = "MPL LGPL" PR = "r1" SRC_URI = "cvs://anoncvs:[email protected]/cvs/cairo;module=cairo \ file://status.patch;patch=1" S = "${WORKDIR}/cairo" inherit autotools pkgconfig do_stage () { oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR} } ``` Fix syntax error in the cairo .bb.
```bitbake PV = "0.0cvs${CVSDATE}" SECTION = "libs" PRIORITY = "optional" MAINTAINER = "Phil Blundell <[email protected]>" # DEPENDS = "x11 libpixman libpng fontconfig libxrender xcb glitz" DEPENDS = "x11 libpixman libpng fontconfig libxrender" DESCRIPTION = "Cairo graphics library" LICENSE = "MPL LGPL" PR = "r1" SRC_URI = "cvs://anoncvs:[email protected]/cvs/cairo;module=cairo \ file://status.patch;patch=1" S = "${WORKDIR}/cairo" inherit autotools pkgconfig do_stage () { oe_runmake install DESTDIR="" bindir=${STAGING_BINDIR} includedir=${STAGING_INCDIR} libdir=${STAGING_LIBDIR} prefix=${STAGING_DIR} } ```
5d96b601-d647-4f43-9940-f4845793e91a
{ "language": "BitBake" }
```bitbake # libaio-oracle .bb build file # Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see /COPYING) DESCRIPTION="This is a library for accessing the new AIO system calls (asynchronous i/o) for the Linux kernel." HOMEPAGE="http://oss.oracle.com/projects/libaio-oracle" LICENSE="GPL" SRC_URI="http://oss.oracle.com/projects/libaio-oracle/dist/files/${PN}-${PV}.tar.gz" DEPENDS="libaio" RDEPENDS="libaio" inherit autotools FILES_${PN}="/usr" #We don't have a raw.h with uClibc, so copy in the one from glibc SRC_URI_append_linux-uclibc=" file://raw.h" do_configure_prepend_linux-uclibc () { install -D -m 0644 ${WORKDIR}/raw.h ${S}/sys/raw.h } do_stage() { rm -rf ${STAGE_TEMP} mkdir -p ${STAGE_TEMP} oe_runmake DESTDIR="${STAGE_TEMP}" install install -m 0644 ${STAGE_TEMP}/usr/include/libaio-oracle/libaio-oracle.h ${STAGING_INCDIR} rm -f ${STAGE_TEMP}/usr/lib/*.la oe_libinstall -a -so -C ${STAGE_TEMP}/usr/lib libaio-oracle ${STAGING_LIBDIR} } ``` Change license from GPL to LGPL. See COPYING.LIB.
```bitbake # libaio-oracle .bb build file # Copyright (C) 2005-2006, Advanced Micro Devices, Inc. All Rights Reserved # Released under the MIT license (see /COPYING) DESCRIPTION="This is a library for accessing the new AIO system calls (asynchronous i/o) for the Linux kernel." HOMEPAGE="http://oss.oracle.com/projects/libaio-oracle" LICENSE="LGPL" PR = "r1" SRC_URI="http://oss.oracle.com/projects/libaio-oracle/dist/files/${PN}-${PV}.tar.gz" DEPENDS="libaio" RDEPENDS="libaio" inherit autotools FILES_${PN}="/usr" #We don't have a raw.h with uClibc, so copy in the one from glibc SRC_URI_append_linux-uclibc=" file://raw.h" do_configure_prepend_linux-uclibc () { install -D -m 0644 ${WORKDIR}/raw.h ${S}/sys/raw.h } do_stage() { rm -rf ${STAGE_TEMP} mkdir -p ${STAGE_TEMP} oe_runmake DESTDIR="${STAGE_TEMP}" install install -m 0644 ${STAGE_TEMP}/usr/include/libaio-oracle/libaio-oracle.h ${STAGING_INCDIR} rm -f ${STAGE_TEMP}/usr/lib/*.la oe_libinstall -a -so -C ${STAGE_TEMP}/usr/lib libaio-oracle ${STAGING_LIBDIR} } ```
68907426-cad7-403a-8902-9448dc7d5836
{ "language": "BitBake" }
```bitbake ``` Add recipes for rinse packages
```bitbake SUMMARY = "RPM installation environment" DESCRIPTION = "\ This is a tool for bootstrapping a basic RPM-based distribution of \ GNU/Linux. It is comparable in purpose to the standard Debian \ debootstrap utility, but works upon RPM-based distributions instead. \ Rinse can setup 32 and 64-bit installations of: \ * CentOS \ * Scientific Linux CERN \ * Fedora \ * OpenSUSE" HOMEPAGE = "http://collab-maint.alioth.debian.org/rinse/" LICENSE = "GPL-1.0 | Artistic-2.0" LIC_FILES_CHKSUM = "file://bin/rinse;beginline=165;endline=174;md5=dd2cdd3c695a6d3cc7450140acc46571" PR = "r0" inherit debian-package PV = "3.0.9" do_compile(){ oe_runmake } do_install(){ oe_runmake 'DESTDIR=${D}' install } ```
04d98d25-bf3f-4a06-967e-a3a4e599d868
{ "language": "BitBake" }
```bitbake ``` Add recipes for csh package
```bitbake SUMMARY = "Shell with C-like syntax" DESCRIPTION = "The C shell was originally written at UCB to overcome limitations in the \ Bourne shell. Its flexibility and comfort (at that time) quickly made it \ the shell of choice until more advanced shells like ksh, bash, zsh or \ tcsh appeared. Most of the latter incorporate features original to csh." inherit debian-package PV = "20110502" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://csh.h;beginline=4;endline=30;md5=60d2e466017ade807b579cb0367517e6" inherit autotools-brokensep update-alternatives DEPENDS += "bmake-native libbsd" export MAKE="bmake" export LDADD="${LDFLAGS}" do_compile() { oe_runmake CC="${CC}" } do_install() { install -D ${B}/csh ${D}${base_bindir}/bsd-csh } do_install_append_class-native() { ln -sf bsd-csh ${D}${base_bindir}/csh } # Add update-alternatives definitions base on debian/postinst ALTERNATIVE_PRIORITY="30" ALTERNATIVE_${PN} = "csh" ALTERNATIVE_LINK_NAME[csh] = "${base_bindir}/csh" ALTERNATIVE_TARGET[csh] = "${base_bindir}/bsd-csh" RPROVIDES_${PN} = "c-shell" RDEPENDS_${PN}_class-target += "libbsd" BBCLASSEXTEND = "native" # Disable parallel make PARALLEL_MAKE = "" ```
befcfe3e-3468-4b54-8558-168867f4af86
{ "language": "BitBake" }
```bitbake ``` Add a recipe for tsd
```bitbake SRC_URI="https://github.com/DefinitelyTyped/${PN}/archive/${PV}.tar.gz;downloadfilename=${PN}-${PV}.tar.gz" LICENSE="Apache-2.0" LIC_FILES_CHKSUM="file://LICENSE.txt;md5=585c0b2e399c33bf30e5021bbd5abaa6" SRC_URI[md5sum]="7827e85f7220543b29eaa45ad139135a" SRC_URI[sha256sum]="d8c951e8be81b951c13390bc8cb90b9e49d043be089626097ee9e7b8026f0328" inherit npm-global do_clean() { rm -f ${STAGING_DIR_NATIVE}/usr/bin/${BPN} rm -rf ${STAGING_DIR_NATIVE}/usr/lib/node_modules/${BPN} } ```
c1fcdb36-21d0-469a-b885-25c3be900cc1
{ "language": "BitBake" }
```bitbake ``` Add initial recipe for msp430 chronos watch support
```bitbake DESCRIPTION = "eZ430 Chronos Tools - MSP430 Development Kit/Watch" HOMEPAGE = "http://processors.wiki.ti.com/index.php/EZ430-Chronos" SECTION = "multimedia" PV = "1_05_00_00" SRC_URI = "http://focus.ti.com/lit/sw/slac388/slac388.zip;name=slac388zip" SRC_URI[slac388zip.md5sum] = "22d4104a07af584222828fb377793796" SRC_URI[slac388zip.sha256sum] = "1c9cd1e36015e8db3b36c98be41907628144b76002b3f76b27fd310f4bd35ad7" require ti-paths.inc require ti-staging.inc require ti-eula-unpack.inc S = "${WORKDIR}/ti/eZ430-Chronos" BINFILE="Chronos-Setup" TI_BIN_UNPK_CMDS="Y:workdir:" do_unpack_append() { os.system('mv "Texas Instruments" ti') } do_compile() { echo "Do Nothing for Now" } do_install() { install -d ${D}/${installdir}/ti-msp430-chronos-apps cp -pPrf "${S}"/"Control Center"/* ${D}/${installdir}/ti-msp430-chronos-apps } PACKAGES += "ti-msp430-chronos-apps" FILES_ti-msp430-chronos-apps = "${installdir}/ti-msp430-chronos-apps/*" RDEPENDS_ti-msp430-chronos-apps += " tcl xdotool" ```
3e983bb8-c3ed-4453-b789-d1a4ed66a779
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Abuse-SDL is a port of Abuse by Crack Dot Com to Linux using the Simple DirectMedia Layer library." PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer <[email protected]>" SECTION = "opie/games" LICENSE = "GPL" DEPENDS = "virtual/libsdl libsdl-mixer libsdl-image" FILES_${PN} += "${datadir}/games" SRC_URI = "http://www.labyrinth.net.au/~trandor/abuse/files/abuse_sdl-${PV}.tar.bz2" S = "${WORKDIR}/abuse_sdl-${PV}" inherit autotools ``` Remove bogus 'opie' from section in the abuse .bb
```bitbake DESCRIPTION = "Abuse-SDL is a port of Abuse by Crack Dot Com to Linux using the Simple DirectMedia Layer library." PRIORITY = "optional" MAINTAINER = "Michael 'Mickey' Lauer <[email protected]>" SECTION = "games" LICENSE = "GPL" DEPENDS = "virtual/libsdl libsdl-mixer libsdl-image" FILES_${PN} += "${datadir}/games" SRC_URI = "http://www.labyrinth.net.au/~trandor/abuse/files/abuse_sdl-${PV}.tar.bz2" S = "${WORKDIR}/abuse_sdl-${PV}" inherit autotools ```
fca2375e-cfed-4ede-bedb-40f52858a05a
{ "language": "BitBake" }
```bitbake ``` Add recipe for ti customised softhsm package
```bitbake DESCRIPTION = "TI softhsmv2 package" LICENSE = "BSD-2-Clause | BSD-3-Clause | ISC | IBM-License | FSFULLR | Zlib" LIC_FILES_CHKSUM = "file://LICENSE;md5=55144a048ba54f211a1aaa38c7fd2424" SECTION = "libs" mntdir = "/mnt" inherit autotools pkgconfig DEPENDS = "openssl libdaemon" COMPATIBLE_MACHINE = "(tci6614-evm|keystone)" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-linux/ti-softhsmv2.git;protocol=git;branch=${BRANCH}" #Following commit corresponds to tag DEV.SOFTHSM-01.03.00.01 SRCREV = "c79d93ac2a326567a7245dda1b903ef340b5650c" PV = "1.3.0.1" S = "${WORKDIR}/git" CFLAGS += " -mno-unaligned-access" CPPFLAGS += " -mno-unaligned-access" INITSCRIPT_NAME = "softhsm-daemon.sh" INITSCRIPT_PARAMS = "defaults 10" inherit update-rc.d SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-O2", "-O3")}" SELECTED_OPTIMIZATION := "${@d.getVar("SELECTED_OPTIMIZATION", True).replace("-ggdb2", "")}" FILES_${PN} += "${libdir}/softhsm/lib*.so.* ${mntdir}/*" FILES_${PN}-dbg += "${libdir}/softhsm/.debug" FILES_${PN}-staticdev += "${libdir}/softhsm/*.a " FILES_${PN}-dev += "${libdir}/softhsm/*.la ${libdir}/softhsm/lib*.so" do_install_append() { install -d ${D}${mntdir}/securedbv0 install -d ${D}${mntdir}/securedbv1 install -d ${D}${sysconfdir}/init.d/ install -c -m 755 ${S}/src/bin/daemon/softhsm-daemon.sh ${D}${sysconfdir}/init.d/${INITSCRIPT_NAME} } ```
af711f0d-2f27-4f07-9536-e2ef79e1243f
{ "language": "BitBake" }
```bitbake ``` Add recipe for ganglia-web package
```bitbake SUMMARY = "cluster monitoring toolkit" DESCRIPTION = "Ganglia is a scalable, real-time cluster monitoring environment \ that collects cluster statistics in an open and well-defined XML format." HOMEPAGE = "http://ganglia.info/" PR = "r0" inherit debian-package LICENSE = "BSD" LIC_FILES_CHKSUM = "file://COPYING;md5=3b3c74375e67e92756770b3ee9debc5f" # source format is 3.0 (quilt) but there is no debian patch DEBIAN_QUILT_PATCHES = "" #compile and install follow debian/rules do_compile_prepend() { touch ChangeLog NEWS } do_install() { install -d ${D}${sysconfdir}/ganglia-webfrontend oe_runmake install APACHE_USER=www-data DESTDIR=${D} \ GDESTDIR=${datadir}/ganglia-webfrontend \ GWEB_STATEDIR=${localstatedir}/lib/ganglia-web cp -f ${S}/debian/apache.conf \ ${D}${sysconfdir}/ganglia-webfrontend cp -f ${S}/debian/conf_debian.php \ ${D}${datadir}/ganglia-webfrontend/conf.php rm ${D}${datadir}/ganglia-webfrontend/COPYING } PKG_${PN} = "${PN}frontend" FILES_${PN} += "${datadir}" RDEPENDS_${PN} += "apache2 rrdtool" ```
23051b47-c354-4b05-8da9-808a049fb981
{ "language": "BitBake" }
```bitbake ``` Add recipe for integrating hdmi drivers
```bitbake SUMMARY = "Xilinx HDMI Linux Kernel module" SECTION = "kernel/modules" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE.md;md5=eb723b61539feef013de476e68b5c50a" XILINX_HDMI_VERSION = "1.0.0" PV = "${XILINX_HDMI_VERSION}" S = "${WORKDIR}/git" BRANCH ?= "master" REPO ?= "git://gitenterprise.xilinx.com/ipssw/hdmi-modules.git;protocol=https" SRCREV ?= "a0ca96b977dbe18a2a7bb4041346827d4a3c6cb3" SRC_URI[md5sum] = "9c267ce818c29efdcc5ec405a4b33ae3" SRC_URI[sha256sum] = "5ca81352d491e5b0bbfc40c7e22451ce1a569e2f6c83c2456af66c9f0f4ca7f1" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" inherit module COMPATIBLE_MACHINE = "^$" COMPATIBLE_MACHINE_zynqmp = "zynqmp" ```
fbf9adbb-b3fa-4d3e-9600-679e44e4ba8d
{ "language": "BitBake" }
```bitbake ``` Add recipe for libevdev package
```bitbake SUMMARY = "Wrapper library for evdev devices" HOMEPAGE = "http://www.freedesktop.org/wiki/Software/libevdev/" SECTION = "libs" LICENSE = "MIT-X" LIC_FILES_CHKSUM = "file://COPYING;md5=75aae0d38feea6fda97ca381cb9132eb \ file://libevdev/libevdev.h;endline=21;md5=7ff4f0b5113252c2f1a828e0bbad98d1" SRC_URI = "http://www.freedesktop.org/software/libevdev/${BP}.tar.xz" SRC_URI[md5sum] = "ab67de8f949e84ae2abb48af09eda423" SRC_URI[sha256sum] = "265411ce79a592b3074e9d07fb97d462745d0c7ef178254a6f720245ed253446" inherit autotools pkgconfig # # debian # inherit debian-package DEBIAN_SECTION = "misc" DPR = "0" ```
5117fcea-dcb1-4ba3-961c-72fd41492f4b
{ "language": "BitBake" }
```bitbake ``` Add the openjpeg recipe necessary for building efl
```bitbake DESCRIPTION = "OpenJPEG library is an open-source JPEG 2000 codec" HOMEPAGE = "http://www.openjpeg.org" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=c648878b4840d7babaade1303e7f108c" SRC_URI = "https://github.com/uclouvain/${BPN}/archive/v${PV}.tar.gz;downloadfilename=${BP}.tar.gz" SRC_URI[md5sum] = "0cc4b2aee0a9b6e9e21b7abcd201a3ec" SRC_URI[sha256sum] = "82c27f47fc7219e2ed5537ac69545bf15ed8c6ba8e6e1e529f89f7356506dbaa" inherit cmake DEPENDS = "libpng tiff lcms zlib" # standard path for *.cmake EXTRA_OECMAKE += "-DOPENJPEG_INSTALL_PACKAGE_DIR=${baselib}/cmake \ -DOPENJPEG_INSTALL_LIB_DIR:PATH=${libdir}" FILES_${PN}-dev += "${libdir}/cmake/*.cmake" ```
739ed006-f9ea-41c2-833b-1cf52a5302ab
{ "language": "BitBake" }
```bitbake ``` Add srctree based recipe to aid development.
```bitbake include recipes/gnuradio/gnuradio.inc inherit srctree autotools gitver PV = "${GITVER}" # Set S (the path to the source directory) via local.conf using the line: # S_pn-gnuradio-srctree = "/home/username/src/git/gnuradio" do_copy_to_target() { scp -rp ${D}/* [email protected]:/ } addtask copy_to_target after do_install before do_package ```
957c89ae-43e6-4830-b739-6c9b26ee5e4a
{ "language": "BitBake" }
```bitbake ``` Add triggerhappy hotkey daemon recipe
```bitbake SUMMARY = "A lightweight hotkey daemon" HOMEPAGE = "https://github.com/wertarbyte/triggerhappy" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" SRC_URI = "https://github.com/wertarbyte/triggerhappy/archive/debian/0.5.0-1.tar.gz" SRC_URI[md5sum] = "77f90a18c775e47c4c5e9e08987ca32f" SRC_URI[sha256sum] = "9150bafbf7f2de7d57e6cc154676c33da98dc11ac6442e1ca57e5dce82bd4292" S = "${WORKDIR}/${PN}-debian-${PV}-1" inherit autotools-brokensep pkgconfig update-rc.d systemd PACKAGECONFIG = "${@bb.utils.contains('DISTRO_FEATURES','systemd','systemd','',d)}" PACKAGECONFIG[systemd] = ",,systemd" INITSCRIPT_NAME = "triggerhappy" INITSCRIPT_PARAMS = "defaults" SYSTEMD_SERVICE_${PN} = "triggerhappy.service triggerhappy.socket" FILES_${PN} = "\ ${sbindir}/thd \ ${sbindir}/th-cmd \ ${sysconfdir}/triggerhappy/triggers.d \ ${nonarch_base_libdir}/udev/rules.d/80-triggerhappy.rules \ ${sysconfdir}/init.d/triggerhappy \ ${systemd_unitdir}/system \ " CONFFILES_${PN} = "${sysconfdir}/udev/rules.d/80-triggerhappy.rules" do_install_append() { install -d ${D}${sysconfdir}/triggerhappy/triggers.d install -d ${D}${nonarch_base_libdir}/udev/rules.d install -m 0644 ${S}/udev/triggerhappy-udev.rules ${D}${nonarch_base_libdir}/udev/rules.d/80-triggerhappy.rules install -d ${D}${sysconfdir}/init.d install -m 0755 ${S}/debian/init.d ${D}${sysconfdir}/init.d/triggerhappy if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then install -d ${D}/${systemd_unitdir}/system install -m 0644 ${S}/systemd/triggerhappy.socket ${D}${systemd_unitdir}/system install -m 0644 ${S}/systemd/triggerhappy.service ${D}${systemd_unitdir}/system fi } ```
67ae7dd6-424a-481e-8d3a-8cc2b182f42d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GNU Transport Layer Security Library" DEPENDS = "zlib libgcrypt" PR = "r2" LICENSE = "LGPL" SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.gz \ file://gnutls-openssl.patch;patch=1" inherit autotools PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin" FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*" FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*" FILES_${PN} = "${libdir}/libgnutls.so.*" FILES_${PN}-bin = "${bindir}/gnutls-serv ${bindir}/gnutls-cli \ ${bindir}/srptool ${bindir}/certtool ${bindir}/gnutls-srpcrypt" FILES_${PN}-dev += "${bindir}/*-config ${bindir}/gnutls-cli-debug" EXTRA_OECONF="--with-included-opencdk" do_stage() { oe_libinstall -C lib/.libs -so -a libgnutls ${STAGING_LIBDIR} oe_libinstall -C libextra/.libs -so -a libgnutls-extra ${STAGING_LIBDIR} oe_libinstall -C libextra/.libs -so -a libgnutls-openssl ${STAGING_LIBDIR} autotools_stage_includes } ``` Fix building of gnutls when host system has libtasn1.
```bitbake DESCRIPTION = "GNU Transport Layer Security Library" DEPENDS = "zlib libgcrypt" PR = "r3" LICENSE = "LGPL" SRC_URI = "ftp://ftp.gnutls.org/pub/gnutls/gnutls-${PV}.tar.gz \ file://gnutls-openssl.patch;patch=1" inherit autotools PACKAGES =+ "${PN}-openssl ${PN}-extra ${PN}-bin" FILES_${PN}-openssl = "${libdir}/libgnutls-openssl.so.*" FILES_${PN}-extra = "${libdir}/libgnutls-extra.so.*" FILES_${PN} = "${libdir}/libgnutls.so.*" FILES_${PN}-bin = "${bindir}/gnutls-serv ${bindir}/gnutls-cli \ ${bindir}/srptool ${bindir}/certtool ${bindir}/gnutls-srpcrypt" FILES_${PN}-dev += "${bindir}/*-config ${bindir}/gnutls-cli-debug" EXTRA_OECONF="--with-included-opencdk --with-included-libtasn1" do_stage() { oe_libinstall -C lib/.libs -so -a libgnutls ${STAGING_LIBDIR} oe_libinstall -C libextra/.libs -so -a libgnutls-extra ${STAGING_LIBDIR} oe_libinstall -C libextra/.libs -so -a libgnutls-openssl ${STAGING_LIBDIR} autotools_stage_includes } ```