doc_id
stringlengths
36
36
metadata
dict
input
stringlengths
28
4.3k
output
stringlengths
11
5.45k
947ac2c9-89fa-4882-91b9-c2fd2ce8d98c
{ "language": "BitBake" }
```bitbake SUMMARY = "Organize packages to avoid duplication across all images (with X11)" inherit packagegroup distro_features_check REQUIRED_DISTRO_FEATURES = "x11" SUMMARY_packagegroup-rpb-x11 = "Apps that can be used in X11 Desktop" RDEPENDS_packagegroup-rpb-x11 = "\ chromium \ ffmpeg \ glmark2 \ gps-utils \ gpsd \ gstreamer1.0-plugins-bad-meta \ gstreamer1.0-plugins-base-meta \ gstreamer1.0-plugins-good-meta \ ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial_gstreamer1.0-libav", "gstreamer1.0-libav", "", d)} \ gtkperf \ kmscube \ mesa-demos \ openbox \ openbox-theme-clearlooks \ xf86-video-modesetting \ xterm \ " ``` Change chromium target to chromium-x11
```bitbake SUMMARY = "Organize packages to avoid duplication across all images (with X11)" inherit packagegroup distro_features_check REQUIRED_DISTRO_FEATURES = "x11" SUMMARY_packagegroup-rpb-x11 = "Apps that can be used in X11 Desktop" RDEPENDS_packagegroup-rpb-x11 = "\ chromium-x11 \ ffmpeg \ glmark2 \ gps-utils \ gpsd \ gstreamer1.0-plugins-bad-meta \ gstreamer1.0-plugins-base-meta \ gstreamer1.0-plugins-good-meta \ ${@bb.utils.contains("LICENSE_FLAGS_WHITELIST", "commercial_gstreamer1.0-libav", "gstreamer1.0-libav", "", d)} \ gtkperf \ kmscube \ mesa-demos \ openbox \ openbox-theme-clearlooks \ xf86-video-modesetting \ xterm \ " ```
a216dc64-66d2-4ee6-9a74-12b53875cb10
{ "language": "BitBake" }
```bitbake SECTION = "console/utils" DESCRIPTION = "Utilities for User-Mode-Linux" LICENSE = "GPL-2.0" DEPENDS = "zlib ncurses readline" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" SRC_URI = "http://downloads.sourceforge.net/project/user-mode-linux/tools/1/uml_utilities_${PV}.tar.bz2 \ file://fix-ldflags.patch \ file://unstrip.patch \ " SRC_URI[md5sum] = "2c1ccd9efacbfb39e42d482b89b2550a" SRC_URI[sha256sum] = "4f179b1db021ef15ac7e9b2eed57c525db127a754c574f591c367460cded9f41" PR = "r1" S = "${WORKDIR}/tools" do_compile() { oe_runmake } do_install() { oe_runmake install DESTDIR=${D} } FILES_${PN} += "${libdir}" FILES_${PN}-dbg += "${libdir}/uml/.debug" ``` Fix build errors exposed with multilib
```bitbake SECTION = "console/utils" DESCRIPTION = "Utilities for User-Mode-Linux" LICENSE = "GPL-2.0" DEPENDS = "zlib ncurses readline" LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" SRC_URI = "http://downloads.sourceforge.net/project/user-mode-linux/tools/1/uml_utilities_${PV}.tar.bz2 \ file://fix-ldflags.patch \ file://unstrip.patch \ " SRC_URI[md5sum] = "2c1ccd9efacbfb39e42d482b89b2550a" SRC_URI[sha256sum] = "4f179b1db021ef15ac7e9b2eed57c525db127a754c574f591c367460cded9f41" PR = "r1" S = "${WORKDIR}/tools" do_compile() { oe_runmake } do_install() { oe_runmake install DESTDIR=${D} } FILES_${PN} += "${exec_prefix}${nonarch_base_libdir}" FILES_${PN}-dbg += "${exec_prefix}${nonarch_base_libdir}/uml/.debug" ```
d85c3e82-cbb0-4f5b-a910-ab6798220731
{ "language": "BitBake" }
```bitbake SECTION = "console/utils" DESCRIPTION = "Control program for GPS units using the MediaTek (MTK) chipset" HOMEPAGE = "http://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/gps_logger_i_blue_747" LICENSE = "GPL" PACKAGE_ARCH = "all" RDEPENDS = "libdevice-serialport-perl libtimedate-perl perl-module-file-basename perl-module-getopt-std" SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/${PN}/${P}.tar.gz" do_install() { install -d ${D}${bindir} install -m 0755 mtkbabel ${D}${bindir}/ install -d ${D}${mandir}/man1 install -m 0644 mtkbabel.1 ${D}${mandir}/man1/ } ``` Allow to set faster logging.
```bitbake SECTION = "console/utils" DESCRIPTION = "Control program for GPS units using the MediaTek (MTK) chipset" HOMEPAGE = "http://www.rigacci.org/wiki/doku.php/doc/appunti/hardware/gps_logger_i_blue_747" LICENSE = "GPL" PACKAGE_ARCH = "all" PR = "r1" RDEPENDS = "libdevice-serialport-perl libtimedate-perl perl-module-file-basename perl-module-getopt-std" SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/${PN}/${P}.tar.gz \ file://fast-logging.patch;patch=1" do_install() { install -d ${D}${bindir} install -m 0755 mtkbabel ${D}${bindir}/ install -d ${D}${mandir}/man1 install -m 0644 mtkbabel.1 ${D}${mandir}/man1/ } ```
782bb8dd-8bac-481a-a8c6-5c49551b96f2
{ "language": "BitBake" }
```bitbake LICENSE = "GPL" SECTION = "console/utils" PRIORITY = "required" MAINTAINER = "Greg Gilbert <[email protected]>" DESCRIPTION = "gzip (GNU zip) is a compression utility designed \ to be a replacement for 'compress'. The GNU Project uses it as \ the standard compression program for its system." SRC_URI = "${DEBIAN_MIRROR}/main/g/gzip/gzip_${PV}.orig.tar.gz \ file://configure.patch;patch=1" S = "${WORKDIR}/gzip-${PV}" inherit autotools ``` Update to follow the FHS and use update-alternatives for gzip, gunzip and zcat
```bitbake LICENSE = "GPL" SECTION = "console/utils" PRIORITY = "required" MAINTAINER = "Greg Gilbert <[email protected]>" DESCRIPTION = "gzip (GNU zip) is a compression utility designed \ to be a replacement for 'compress'. The GNU Project uses it as \ the standard compression program for its system." PR = "r1" SRC_URI = "${DEBIAN_MIRROR}/main/g/gzip/gzip_${PV}.orig.tar.gz \ file://configure.patch;patch=1" S = "${WORKDIR}/gzip-${PV}" inherit autotools do_install () { autotools_do_install # Rename and move files into /bin (FHS) install -d ${D}${base_bindir} mv ${D}${bindir}/gunzip ${D}${base_bindir}/gunzip.${PN} mv ${D}${bindir}/gzip ${D}${base_bindir}/gzip.${PN} mv ${D}${bindir}/zcat ${D}${base_bindir}/zcat.${PN} } pkg_postinst_${PN} () { update-alternatives --install ${base_bindir}/gunzip gunzip gunzip.${PN} 100 update-alternatives --install ${base_bindir}/gzip gzip gzip.${PN} 100 update-alternatives --install ${base_bindir}/zcat zcat zcat.${PN} 100 } pkg_prerm_${PN} () { update-alternatives --remove gunzip gunzip.${PN} update-alternatives --remove gzip gzip.${PN} update-alternatives --remove zcat zcat.${PN} } ```
eb523d13-8887-4adc-a25e-97a0bba075ab
{ "language": "BitBake" }
```bitbake # # Copyright (C) 2017 Pelagicore AB # # SPDX-License-Identifier: MIT # DESCRIPTION = "Packagegroups that add useful development tools to meta-bistro." LICENSE = "MIT" PR = "r1" inherit packagegroup PROVIDES = "${PACKAGES}" PACKAGES = "packagegroup-bistro-utils" RDEPENDS_packagegroup-bistro-utils = " \ alsa-utils-amixer \ alsa-utils-alsamixer \ connman \ connman-client \ ethtool \ fbset \ gawk \ gdbserver \ git \ ldd \ lsof \ ltrace \ net-tools \ openssh-sftp-server \ perf \ rsync \ swaplogger \ systemd-additional-units \ systemd-analyze \ valgrind \ vim \ " ``` Split into debug utils and utils
```bitbake # # Copyright (C) 2017 Pelagicore AB # # SPDX-License-Identifier: MIT # DESCRIPTION = "Packagegroups that add useful development tools to meta-bistro." LICENSE = "MIT" PR = "r1" inherit packagegroup PROVIDES = "${PACKAGES}" PACKAGES = "packagegroup-bistro-utils \ packagegroup-bistro-debug-utils" RDEPENDS_packagegroup-bistro-utils = " \ alsa-utils-amixer \ alsa-utils-alsamixer \ ethtool \ fbset \ gawk \ git \ lsof \ net-tools \ openssh-sftp-server \ perf \ rsync \ vim \ " RDEPENDS_packagegroup-bistro-debug-utils = " \ gdbserver \ ldd \ ltrace \ swaplogger \ systemd-additional-units \ systemd-analyze \ strace \ valgrind \ "```
47f131cf-8971-4e68-a30d-c0652935334c
{ "language": "BitBake" }
```bitbake DESCRIPTION = "A library to control Raspberry Pi GPIO channels" HOMEPAGE = "https://projects.drogon.net/raspberry-pi/wiringpi/" SECTION = "devel/libs" LICENSE = "LGPLv3+" LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" # tag 2.46 SRCREV = "8d188fa0e00bb8c6ff6eddd07bf92857e9bd533a" S = "${WORKDIR}/git" SRC_URI = "git://git.drogon.net/wiringPi \ file://0001-Add-initial-cross-compile-support.patch \ " COMPATIBLE_MACHINE = "^rpi$" CFLAGS_prepend = "-I${S}/wiringPi -I${S}/devLib " EXTRA_OEMAKE += "'INCLUDE_DIR=${D}${includedir}' 'LIB_DIR=${D}${libdir}'" EXTRA_OEMAKE += "'DESTDIR=${D}/usr' 'PREFIX=""'" do_compile() { oe_runmake -C devLib oe_runmake -C wiringPi oe_runmake -C gpio 'LDFLAGS=${LDFLAGS} -L${S}/wiringPi -L${S}/devLib' } do_install() { oe_runmake -C devLib install oe_runmake -C wiringPi install oe_runmake -C gpio install } ``` Add missing dependency on libcrypt
```bitbake DESCRIPTION = "A library to control Raspberry Pi GPIO channels" HOMEPAGE = "https://projects.drogon.net/raspberry-pi/wiringpi/" SECTION = "devel/libs" LICENSE = "LGPLv3+" LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=e6a600fd5e1d9cbde2d983680233ad02" DEPENDS += "virtual/crypt" # tag 2.46 SRCREV = "8d188fa0e00bb8c6ff6eddd07bf92857e9bd533a" S = "${WORKDIR}/git" SRC_URI = "git://git.drogon.net/wiringPi \ file://0001-Add-initial-cross-compile-support.patch \ " COMPATIBLE_MACHINE = "^rpi$" CFLAGS_prepend = "-I${S}/wiringPi -I${S}/devLib " EXTRA_OEMAKE += "'INCLUDE_DIR=${D}${includedir}' 'LIB_DIR=${D}${libdir}'" EXTRA_OEMAKE += "'DESTDIR=${D}/usr' 'PREFIX=""'" do_compile() { oe_runmake -C devLib oe_runmake -C wiringPi oe_runmake -C gpio 'LDFLAGS=${LDFLAGS} -L${S}/wiringPi -L${S}/devLib' } do_install() { oe_runmake -C devLib install oe_runmake -C wiringPi install oe_runmake -C gpio install } ```
cfc5854a-01de-44b6-92f3-979a99b1744b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "DVD access multimeda library" SECTION = "libs/multimedia" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=64e753fa7d1ca31632bc383da3b57c27" SRC_URI = "http://dvdnav.mplayerhq.hu/releases/libdvdread-${PV}.tar.bz2" SRC_URI[md5sum] = "ab7a19d3ab1a437ae754ef477d6231a4" SRC_URI[sha256sum] = "0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097" inherit autotools lib_package binconfig pkgconfig CONFIGUREOPTS := "${@d.getVar('CONFIGUREOPTS', True).replace('--disable-silent-rules', ' ')}" do_configure_prepend() { # For some weird reason, libdvdread only provides a `configure2' script... cp ${S}/configure2 ${S}/configure } ``` Use _remove operator to drop silent rules
```bitbake DESCRIPTION = "DVD access multimeda library" SECTION = "libs/multimedia" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=64e753fa7d1ca31632bc383da3b57c27" SRC_URI = "http://dvdnav.mplayerhq.hu/releases/libdvdread-${PV}.tar.bz2" SRC_URI[md5sum] = "ab7a19d3ab1a437ae754ef477d6231a4" SRC_URI[sha256sum] = "0bea15da842a4b04a482b009d72dcc6d9c9524ccc1bf67e5748319ec5ada8097" inherit autotools lib_package binconfig pkgconfig CONFIGUREOPTS_remove = "--disable-silent-rules" do_configure_prepend() { # For some weird reason, libdvdread only provides a `configure2' script... cp ${S}/configure2 ${S}/configure } ```
c48fdc71-7a4b-4152-b072-0f68da649a8d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "PROJ.4 - Cartographic Projections Library" HOMEPAGE = "http://trac.osgeo.org/proj/" SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=74d9aaec5fa0cd734341e8c4dc91b608" SRC_URI = "http://download.osgeo.org/proj/proj-${PV}.tar.gz" SRC_URI[md5sum] = "d815838c92a29179298c126effbb1537" SRC_URI[sha256sum] = "2db2dbf0fece8d9880679154e0d6d1ce7c694dd8e08b4d091028093d87a9d1b5" inherit autotools pkgconfig ``` Use 'lib_package' class and add data files
```bitbake SUMMARY = "PROJ.4 - Cartographic Projections library" HOMEPAGE = "http://trac.osgeo.org/proj/" SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=74d9aaec5fa0cd734341e8c4dc91b608" SRC_URI = "http://download.osgeo.org/proj/proj-${PV}.tar.gz" SRC_URI[md5sum] = "d815838c92a29179298c126effbb1537" SRC_URI[sha256sum] = "2db2dbf0fece8d9880679154e0d6d1ce7c694dd8e08b4d091028093d87a9d1b5" inherit autotools pkgconfig lib_package FILES_${PN} += "${datadir}/proj" ```
a67eff43-2c32-4609-a544-56f5295b4629
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds" PR = "r0.03" do_compile() { mkdir -p ${S}/${sysconfdir}/opkg for feed in Multiverse; do echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf done } do_install () { install -d ${D}${sysconfdir}/opkg install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/ } PACKAGE_ARCH = "${MACHINE_ARCH}" CONFFILES_${PN} += "${sysconfdir}/opkg/Multiverse-feed.conf" PKG_TAGS_${PN} = "group::repos alias::Om_Multiverse" OPENMOKO_URI = "http://downloads.openmoko.org/repository" ``` Revert "[openmoko] Fix the feed configuration"
```bitbake DESCRIPTION = "Configuration files for online package repositories of Openmoko community repository feeds" PR = "r0.03" do_compile() { mkdir -p ${S}/${sysconfdir}/opkg for feed in Multiverse; do echo "src/gz daily-${feed} ${OPENMOKO_URI}/${feed}" > ${S}/${sysconfdir}/opkg/${feed}-feed.conf done } do_install () { install -d ${D}${sysconfdir}/opkg install -m 0644 ${S}/${sysconfdir}/opkg/* ${D}${sysconfdir}/opkg/ } PACKAGE_ARCH = "${MACHINE_ARCH}" CONFFILES_${PN} += "${sysconfdir}/opkg/community-repository-feed.conf" PKG_TAGS_${PN} = "group::repos alias::Om_Multiverse" OPENMOKO_URI = "http://downloads.openmoko.org/repository" ```
6aa96887-5677-4322-b878-bf5c6f90cc6e
{ "language": "BitBake" }
```bitbake DESCRIPTION = "To make access to the Linux kernel cpufreq subsystem easier for users and cpufreq userspace tools, a cpufrequtils package was created" DEPENDS = "libtool-cross" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" SRCREV = "adb7e044755aa06b12212d05c4acbcccb023d2cd" SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git \ file://cpufrequtils-nls.patch \ " PR = "r1" S = "${WORKDIR}/git" TARGET_CC_ARCH += "${LDFLAGS}" EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} LIBTOOL='${HOST_SYS}-libtool --tag cc' STRIPCMD=echo" do_compile() { oe_runmake } do_install() { oe_runmake -e install DESTDIR=${D} } ``` Replace non-existant kernel.org git source
```bitbake DESCRIPTION = "To make access to the Linux kernel cpufreq subsystem easier for users and cpufreq userspace tools, a cpufrequtils package was created" DEPENDS = "libtool-cross" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" SRCREV = "adb7e044755aa06b12212d05c4acbcccb023d2cd" # SRC_URI = "git://git.kernel.org/pub/scm/utils/kernel/cpufreq/cpufrequtils.git \ SRC_URI = "git://github.com/emagii/cpufrequtils.git \ file://cpufrequtils-nls.patch \ " PR = "r2" S = "${WORKDIR}/git" TARGET_CC_ARCH += "${LDFLAGS}" EXTRA_OEMAKE = "V=1 CROSS=${TARGET_PREFIX} LIBTOOL='${HOST_SYS}-libtool --tag cc' STRIPCMD=echo" do_compile() { oe_runmake } do_install() { oe_runmake -e install DESTDIR=${D} } ```
805b4109-6ac2-4185-a42b-8c5306084a2d
{ "language": "BitBake" }
```bitbake # (c) Copyright 2012 Hewlett-Packard Development Company, L.P. DESCRIPTION = "SmartKey is the webOS service for spell checking." LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" SECTION = "webos/base" DEPENDS = "libpbnjson cjson glib-2.0 luna-service2 icu hunspell" PR = "r1" inherit autotools inherit webos_component inherit webos_public_repo inherit webos_enhanced_submissions WEBOS_GIT_TAG = "submissions/${WEBOS_SUBMISSION}" SRC_URI = "${OPENWEBOS_GIT_REPO}/${PN};tag=${WEBOS_GIT_TAG};protocol=git" S = "${WORKDIR}/git" EXTRA_OEMAKE = "PLATFORM=${TARGET_ARCH}" do_install_prepend() { export INSTALL_DIR="${D}" } do_install_append() { chmod o-rwx ${D}${bindir}/com.palm.smartkey } ``` Add service files to package
```bitbake # (c) Copyright 2012 Hewlett-Packard Development Company, L.P. DESCRIPTION = "Implementation of the Open webOS SmartKey spell checking service using hunspell" SECTION = "webos/base" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" DEPENDS = "libpbnjson cjson glib-2.0 luna-service2 icu hunspell" PR = "r2" #Uncomment once do_install() has been moved out of the recipe #inherit webos_component inherit webos_public_repo inherit webos_enhanced_submissions inherit webos_system_bus inherit webos_daemon WEBOS_GIT_TAG = "submissions/${WEBOS_SUBMISSION}" SRC_URI = "${OPENWEBOS_GIT_REPO}/${PN};tag=${WEBOS_GIT_TAG};protocol=git" S = "${WORKDIR}/git" EXTRA_OEMAKE += "PLATFORM=${TARGET_ARCH}" do_install() { oe_runmake INSTALL_DIR=${D} install oe_runmake INCLUDE_DIR=${D}${includedir} LIB_DIR=${D}${libdir} stage } ```
5be5c9c9-6f02-404f-b3a6-17304a9b60e0
{ "language": "BitBake" }
```bitbake require recipes/uhd/uhd.inc INHERIT += "srctree" PR = "${INC_PR}.0" #PV = "${GITVER}" # Set S (the path to the source directory) via local.conf using the line: # S_pn-uhd = "/home/username/src/git/uhd/host" do_copy_to_target() { scp -rp ${D}/* [email protected]:/ } addtask copy_to_target after do_install before do_package ``` Comment out install to target.
```bitbake require recipes/uhd/uhd.inc INHERIT += "srctree" EXTRA_OECMAKE += "-DENABLE_USRP_E=TRUE" PR = "${INC_PR}.0" #PV = "${GITVER}" # Set S (the path to the source directory) via local.conf using the line: # S_pn-uhd-srctree = "/home/username/src/git/uhd/host" #do_copy_to_target() { # scp -rp ${D}/* [email protected]:/ #} #addtask copy_to_target after do_install before do_package ```
12832ee9-9527-431e-93bb-3d68875efc55
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Standard Gtk+ theme for the OpenMoko distribution" SECTION = "openmoko/base" PV = "0.0+svn${SRCDATE}" PR = "r3" inherit openmoko-base SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=themes;proto=https" S = "${WORKDIR}" dirs = "themes/openmoko-standard" do_install() { find ${WORKDIR} -name ".svn" | xargs rm -rf install -d ${D}${datadir}/themes/ for i in ${dirs}; do cp -fpPR ${WORKDIR}/$i ${D}${datadir}/themes/ done install -d ${D}${sysconfdir}/gtk-2.0 echo 'include "${datadir}/themes/openmoko-standard/gtk-2.0/gtkrc"' >> ${D}${sysconfdir}/gtk-2.0/gtkrc } FILES_${PN} = "${datadir} ${sysconfdir}" ``` Use http, not https (synced with OM svn)
```bitbake DESCRIPTION = "Standard Gtk+ theme for the OpenMoko distribution" SECTION = "openmoko/base" PV = "0.0+svn${SRCDATE}" PR = "r3" inherit openmoko-base SRC_URI = "${OPENMOKO_MIRROR}/src/target/${OPENMOKO_RELEASE}/artwork;module=themes;proto=http" S = "${WORKDIR}" dirs = "themes/openmoko-standard" do_install() { find ${WORKDIR} -name ".svn" | xargs rm -rf install -d ${D}${datadir}/themes/ for i in ${dirs}; do cp -fpPR ${WORKDIR}/$i ${D}${datadir}/themes/ done install -d ${D}${sysconfdir}/gtk-2.0 echo 'include "${datadir}/themes/openmoko-standard/gtk-2.0/gtkrc"' >> ${D}${sysconfdir}/gtk-2.0/gtkrc } FILES_${PN} = "${datadir} ${sysconfdir}" ```
59de76c9-d128-4b44-ab4c-34342f4e0d05
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Ethernet Switch configuration management" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://switch-config.c;beginline=1;endline=14;md5=659ff9658cbaba3110b81804af60de75" PV = "2.0" PR = "r4" BRANCH ?= "v4.1" BRANCH_aarch64 ?= "am65x-v1.0" SRCREV = "7efabd92177199205808ebd993267b04e8c2fb6a" SRCREV_aarch64 = "3b31ce5fe8bd5a3560b89f2a709fb3e3b877326d" SRC_URI = "git://git.ti.com/switch-config/switch-config.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" do_configure() { sed 's|-I$(KBUILD_OUTPUT)/usr/include|${TOOLCHAIN_OPTIONS} -I.|' -i ${S}/Makefile } do_install() { install -d ${D}${bindir}/ install -c -m 755 ${S}/switch-config ${D}${bindir}/switch-config } ``` Update v4.1 branch to the latest version commit
```bitbake DESCRIPTION = "Ethernet Switch configuration management" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://switch-config.c;beginline=1;endline=14;md5=659ff9658cbaba3110b81804af60de75" PV = "2.0" PR = "r4" BRANCH ?= "v4.1" BRANCH_aarch64 ?= "am65x-v1.0" SRCREV = "15e8be3b1249ac4193031127565eec5b64ecaff1" SRCREV_aarch64 = "3b31ce5fe8bd5a3560b89f2a709fb3e3b877326d" SRC_URI = "git://git.ti.com/switch-config/switch-config.git;protocol=git;branch=${BRANCH}" S = "${WORKDIR}/git" EXTRA_OEMAKE = "CROSS_COMPILE=${TARGET_PREFIX} CC="${CC}"" do_configure() { sed 's|-I$(KBUILD_OUTPUT)/usr/include|${TOOLCHAIN_OPTIONS} -I.|' -i ${S}/Makefile } do_install() { install -d ${D}${bindir}/ install -c -m 755 ${S}/switch-config ${D}${bindir}/switch-config } ```
fdb0d0be-6ddd-4866-9150-1c8201068c45
{ "language": "BitBake" }
```bitbake SUMMARY = "JSON for modern C++" HOMEPAGE = "https://nlohmann.github.io/json/" SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f969127d7b7ed0a8a63c2bbeae002588" SRC_URI = "git://github.com/nlohmann/json.git;nobranch=1;protocol=https \ " SRCREV = "4f8fba14066156b73f1189a2b8bd568bde5284c5" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE += "-DJSON_BuildTests=OFF" # nlohmann-json is a header only C++ library, so the main package will be empty. RDEPENDS:${PN}-dev = "" BBCLASSEXTEND = "native nativesdk" # other packages commonly reference the file directly as "json.hpp" # create symlink to allow this usage do_install:append() { ln -s nlohmann/json.hpp ${D}${includedir}/json.hpp } ``` Set CVE_PRODUCT according to NVD
```bitbake SUMMARY = "JSON for modern C++" HOMEPAGE = "https://nlohmann.github.io/json/" SECTION = "libs" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE.MIT;md5=f969127d7b7ed0a8a63c2bbeae002588" CVE_PRODUCT = "json-for-modern-cpp" SRC_URI = "git://github.com/nlohmann/json.git;nobranch=1;protocol=https \ " SRCREV = "4f8fba14066156b73f1189a2b8bd568bde5284c5" S = "${WORKDIR}/git" inherit cmake EXTRA_OECMAKE += "-DJSON_BuildTests=OFF" # nlohmann-json is a header only C++ library, so the main package will be empty. RDEPENDS:${PN}-dev = "" BBCLASSEXTEND = "native nativesdk" # other packages commonly reference the file directly as "json.hpp" # create symlink to allow this usage do_install:append() { ln -s nlohmann/json.hpp ${D}${includedir}/json.hpp } ```
c69d6164-b563-47a2-a0b0-98586545b2ee
{ "language": "BitBake" }
```bitbake SUMMARY = "A set of utilities to help QCA driver development." HOMEPAGE = "https://github.com/qca/qca-swiss-army-knife" SECTION = "devel" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=884c3f3a874b2a0cfa283c7db0e5d604" SRCREV = "5ede3cc07e9a52f115101c28f833242b772eeaab" SRC_URI = " \ git://github.com/qca/${BPN}.git;branch=master;protocol=https \ file://0001-ath10k-bdencoder-Switch-to-python3.patch \ file://0002-ath10k-bdencoder-Add-option-to-switch-to-ath11k-mode.patch \ " PV = "0.0+${SRCPV}" S = "${WORKDIR}/git" do_install () { install -d ${D}/${bindir} install -m 0755 tools/scripts/*/* ${D}/${bindir} } BBCLASSEXTEND = "native nativesdk" ``` Add perl and python to rdeps
```bitbake SUMMARY = "A set of utilities to help QCA driver development." HOMEPAGE = "https://github.com/qca/qca-swiss-army-knife" SECTION = "devel" LICENSE = "ISC" LIC_FILES_CHKSUM = "file://LICENSE;md5=884c3f3a874b2a0cfa283c7db0e5d604" SRCREV = "5ede3cc07e9a52f115101c28f833242b772eeaab" SRC_URI = " \ git://github.com/qca/${BPN}.git;branch=master;protocol=https \ file://0001-ath10k-bdencoder-Switch-to-python3.patch \ file://0002-ath10k-bdencoder-Add-option-to-switch-to-ath11k-mode.patch \ " PV = "0.0+${SRCPV}" S = "${WORKDIR}/git" do_install () { install -d ${D}/${bindir} install -m 0755 tools/scripts/*/* ${D}/${bindir} } BBCLASSEXTEND = "native nativesdk" RDEPENDS_${PN} += "perl python3-core" ```
557190ab-5524-4ee4-b4de-fa0dd9508ff2
{ "language": "BitBake" }
```bitbake # # This file was derived from the 'Hello World!' example recipe in the # Yocto Project Development Manual. # DESCRIPTION = "Open Content Decryption Module" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea83f8bc099c40bde8c4f2441a6eb40b" SRC_URI = "git://github.com/kuscsik/linaro-cdmi.git;protocol=https;branch=master" SRCREV_pn-ocdmi ?= "${AUTOREV}" S = "${WORKDIR}/git" EXTRA_OECONF_append = "${@base_contains('MACHINE_FEATURES', 'optee', '--enable-aes-ta', '', d)} " # * use-playready : Enables support for Playready CDMI. # # * debug-build : Builds OCDM with debug symbols and verbose logging. DEPENDS_append = " openssl portmap" DEPENDS_append = "${@base_contains('MACHINE_FEATURES','optee',' optee-aes-decryptor ','',d)}" # Only ClearKey implementation depends on ssl DEPENDS_remove = " \ ${@base_contains('PACKAGECONFIG','use-playready','openssl','',d)} \ " inherit autotools ``` Update GIT to point to linaro-home repo.
```bitbake # # This file was derived from the 'Hello World!' example recipe in the # Yocto Project Development Manual. # DESCRIPTION = "Open Content Decryption Module" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea83f8bc099c40bde8c4f2441a6eb40b" SRC_URI = "git://github.com/linaro-home/open-content-decryption-module-cdmi.git;protocol=https;branch=master" SRCREV_pn-ocdmi ?= "${AUTOREV}" S = "${WORKDIR}/git" EXTRA_OECONF_append = "${@base_contains('MACHINE_FEATURES', 'optee', '--enable-aes-ta', '', d)} " # * use-playready : Enables support for Playready CDMI. # # * debug-build : Builds OCDM with debug symbols and verbose logging. DEPENDS_append = " openssl portmap" DEPENDS_append = "${@base_contains('MACHINE_FEATURES','optee',' optee-aes-decryptor ','',d)}" # Only ClearKey implementation depends on ssl DEPENDS_remove = " \ ${@base_contains('PACKAGECONFIG','use-playready','openssl','',d)} \ " inherit autotools ```
30c41c5d-3aaf-42d3-ba81-6f43b618af1f
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Git repositories containing sample board port code" HOMEPAGE = "https://gitorious.org/sitara-board-port" LICENSE = "GPLv2" DEPENDS += "git-native" SRC_URI = "file://LICENSE" LIC_FILES_CHKSUM = "file://LICENSE;md5=d9fb2a547cd8e6bb75c0ecf427a139a9" inherit allarch CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "board-support/board-port-labs" PR = "r3" REPOS ?= "git://gitorious.org/sitara-board-port/sitara-board-port-linux.git \ git://gitorious.org/sitara-board-port/sitara-board-port-uboot.git \ " S = "${WORKDIR}" # Checkout the REPOS before the do_patch task so that it will be done prior # to the srcipk being made. do_repos_checkout() { cd ${S} for r in ${REPOS} do git clone $r done } addtask repos_checkout after do_fetch before do_patch ``` Update to the latest version
```bitbake DESCRIPTION = "Git repositories containing sample board port code" HOMEPAGE = "https://gitorious.org/sitara-board-port" LICENSE = "GPLv2" DEPENDS += "git-native" SRC_URI = "file://LICENSE" LIC_FILES_CHKSUM = "file://LICENSE;md5=d9fb2a547cd8e6bb75c0ecf427a139a9" inherit allarch CREATE_SRCIPK = "1" SRCIPK_INSTALL_DIR = "board-support/board-port-labs" PR = "r4" REPOS ?= "git://gitorious.org/sitara-board-port/sitara-board-port-linux.git \ git://gitorious.org/sitara-board-port/sitara-board-port-uboot.git \ " S = "${WORKDIR}" # Checkout the REPOS before the do_patch task so that it will be done prior # to the srcipk being made. do_repos_checkout() { cd ${S} for r in ${REPOS} do git clone $r done } addtask repos_checkout after do_fetch before do_patch ```
3ef7bc0d-a42f-4b9f-b6e0-9d04b6f16dd2
{ "language": "BitBake" }
```bitbake require ipkg-utils_${PV}.bb RDEPENDS = "" PR = "r15" inherit native # Avoid circular dependencies from package_ipk.bbclass PACKAGES = "" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ipkg-utils" INSTALL += "ipkg-list-fields arfile.py" do_stage() { for i in ${INSTALL}; do install -m 0755 $i ${STAGING_BINDIR} done } ``` Remove ipkg-list-fields because already in ipkg-utils
```bitbake require ipkg-utils_${PV}.bb RDEPENDS = "" PR = "r15" inherit native # Avoid circular dependencies from package_ipk.bbclass PACKAGES = "" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/ipkg-utils" INSTALL += "arfile.py" do_stage() { for i in ${INSTALL}; do install -m 0755 $i ${STAGING_BINDIR} done } ```
b5e0fdc8-a4a5-468f-a943-4bd0221a0bbe
{ "language": "BitBake" }
```bitbake require u-boot.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-omap3-git/${MACHINE}" SRCREV = "61fa2cb5bbbffa11c43c05c29ff32316ad589f51" PV = "2008.10+${PR}+git${SRCREV}" PR="r12" PE = "1" SRC_URI = "git://www.sakoman.net/git/u-boot-arm.git;branch=omap3-j24;protocol=git \ " S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}" ``` Switch to git branch containing upstream submission patches
```bitbake require u-boot.inc FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/u-boot-omap3-git/${MACHINE}" SRCREV = "31090807d5a4a5f967dca1db6636532a6ec394ca" PV = "2008.10+${PR}+git${SRCREV}" PR="r13" PE = "1" SRC_URI = "git://www.sakoman.net/git/u-boot-omap3.git;branch=omap3-dev;protocol=git \ " S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}" ```
f803e83e-5b56-4c4e-b725-8fa5e14c0e75
{ "language": "BitBake" }
```bitbake DESCRIPTION = "X.Org X server -- A10/A13 display driver" PR = "1" LICENSE = "MIT-X" LIC_FILES_CHKSUM = "file://COPYING;md5=827da9afab1f727f2a66574629e0f39c" SRC_URI = "git://github.com/robclark/libdri2.git;protocol=http;branch=master" SRCREV_pn-${PN} = "4f1eef3183df2b270c3d5cbef07343ee5127a6a4" S = "${WORKDIR}/git" inherit autotools ``` Fix dependecies and description of libdri2 recipe.
```bitbake DESCRIPTION = "Library for the DRI2 extension to the X Window System" PR = "2" DEPENDS = "libdrm libxext xextproto libxfixes" LICENSE = "MIT-X" LIC_FILES_CHKSUM = "file://COPYING;md5=827da9afab1f727f2a66574629e0f39c" SRC_URI = "git://github.com/robclark/libdri2.git;protocol=http;branch=master" SRCREV_pn-${PN} = "4f1eef3183df2b270c3d5cbef07343ee5127a6a4" S = "${WORKDIR}/git" inherit autotools ```
6abb8e69-db76-423f-bacd-cfe1645e2f7e
{ "language": "BitBake" }
```bitbake DESCRIPTION = "mender" HOMEPAGE = "https://mender.io/" #From oe-meta-go (https://github.com/mem/oe-meta-go) DEPENDS = "go-cross" S = "${WORKDIR}/git" SRC_URI = "git://[email protected]/mendersoftware/mender.git;protocol=ssh" SRCREV = "${AUTOREV}" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" inherit go do_compile() { go build -o mender } do_install() { install -d "${D}/${bindir}" install -m 0755 "${S}/mender" "${D}/${bindir}" } ``` Change Mender recipe description to trigger automatic Jenkins build.
```bitbake DESCRIPTION = "Mender tool for doing OTA software updates." HOMEPAGE = "https://mender.io/" #From oe-meta-go (https://github.com/mem/oe-meta-go) DEPENDS = "go-cross" S = "${WORKDIR}/git" SRC_URI = "git://[email protected]/mendersoftware/mender.git;protocol=ssh" SRCREV = "${AUTOREV}" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10" inherit go do_compile() { go build -o mender } do_install() { install -d "${D}/${bindir}" install -m 0755 "${S}/mender" "${D}/${bindir}" } ```
17e3056d-d2b9-4096-9c87-352102bbc992
{ "language": "BitBake" }
```bitbake inherit features_check REQUIRED_DISTRO_FEATURES = "canps" inherit esw python3native DEPENDS += "xilstandalone " ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/canps/src/" ESW_COMPONENT_NAME = "libcanps.a" addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot do_prepare_recipe_sysroot[rdeptask] = "do_unpack" ``` Fix naming in the recipe
```bitbake inherit features_check REQUIRED_DISTRO_FEATURES = "xxvethernet" inherit esw python3native DEPENDS += "xilstandalone" ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/xxvethernet/src/" ESW_COMPONENT_NAME = "libxxvethernet.a" addtask do_generate_driver_data before do_configure after do_prepare_recipe_sysroot do_prepare_recipe_sysroot[rdeptask] = "do_unpack" ```
0dcff588-0c1b-4470-8b0d-bb54f2e2f367
{ "language": "BitBake" }
```bitbake require frameworkd_git.bb FILESPATH = "${FILE_DIRNAME}/frameworkd" SRC_URI = "\ ${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master \ file://frameworkd \ file://frameworkd.conf \ " ``` Use base_set_filespath for machine specific subdirs in FILESPATH
```bitbake require frameworkd_git.bb FILESPATH = "${@base_set_filespath([ '${FILE_DIRNAME}/frameworkd', '${FILE_DIRNAME}/files', '${FILE_DIRNAME}' ], d)}" PR="r1" SRC_URI = "\ ${FREESMARTPHONE_GIT}/framework.git;protocol=git;branch=master \ file://frameworkd \ file://frameworkd.conf \ " ```
e8503e07-7aae-4389-9852-07229ef37e47
{ "language": "BitBake" }
```bitbake SUMMARY = "GTK+ applet for NetworkManager" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "gtk+3 libnma libnotify libsecret networkmanager iso-codes nss" GNOMEBASEBUILDCLASS = "meson" inherit features_check gnomebase gsettings gtk-icon-cache gettext REQUIRED_DISTRO_FEATURES = "x11" SRC_URI[archive.sha256sum] = "ddbb400ace804b59cc513611ce9701f7ef3f00de151dbbfb96284c8c1ef2b18b" # We don't not have ubuntu's appindicator (yet?) EXTRA_OEMESON = "-Dappindicator=no" PACKAGECONFIG ??= "" PACKAGECONFIG[modemmanager] = "-Dwwan=true, -Dwwan=false, modemmanager" PACKAGECONFIG[selinux] = "-Dselinux=true, -Dselinux=false, libselinux" RDEPENDS_${PN} =+ "networkmanager" FILES_${PN} += " \ ${datadir}/nm-applet/ \ ${datadir}/libnma/wifi.ui \ ${datadir}/metainfo \ " ``` Add missing dependency on libgudev
```bitbake SUMMARY = "GTK+ applet for NetworkManager" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" DEPENDS = "gtk+3 libnma libnotify libsecret libgudev networkmanager iso-codes nss" GNOMEBASEBUILDCLASS = "meson" inherit features_check gnomebase gsettings gtk-icon-cache gettext REQUIRED_DISTRO_FEATURES = "x11" SRC_URI[archive.sha256sum] = "ddbb400ace804b59cc513611ce9701f7ef3f00de151dbbfb96284c8c1ef2b18b" # We don't not have ubuntu's appindicator (yet?) EXTRA_OEMESON = "-Dappindicator=no" PACKAGECONFIG ??= "" PACKAGECONFIG[modemmanager] = "-Dwwan=true, -Dwwan=false, modemmanager" PACKAGECONFIG[selinux] = "-Dselinux=true, -Dselinux=false, libselinux" RDEPENDS_${PN} =+ "networkmanager" FILES_${PN} += " \ ${datadir}/nm-applet/ \ ${datadir}/libnma/wifi.ui \ ${datadir}/metainfo \ " ```
ea98c5f6-ffab-46af-a498-69d8403cab71
{ "language": "BitBake" }
```bitbake require qte-common_${PV}.inc PR = "r8" EXTRA_OECONF += "-static -thread" do_stage() { rm -rf ${STAGING_DIR}/${HOST_SYS}/qt2 install -d ${STAGING_DIR}/${HOST_SYS}/qt2/lib oe_libinstall -a -C lib libqte-mt ${STAGING_DIR}/${HOST_SYS}/qt2/lib rm -f include/qxt.h install -d ${STAGING_DIR}/${HOST_SYS}/qt2/include cp -pfLR include/* ${STAGING_DIR}/${HOST_SYS}/qt2/include cp -pPR lib/fonts ${STAGING_DIR}/${HOST_SYS}/qt2/lib/ } do_install() { : } PACKAGE_ARCH = "${MACHINE_ARCH}" ``` Set DEFAULT_PREF=-1, this is hightly adhoc target. * To help a bit people who try to build OPIE w/o reading instructions.
```bitbake require qte-common_${PV}.inc PR = "r8" DEFAULT_PREFERENCE = "-1" EXTRA_OECONF += "-static -thread" do_stage() { rm -rf ${STAGING_DIR}/${HOST_SYS}/qt2 install -d ${STAGING_DIR}/${HOST_SYS}/qt2/lib oe_libinstall -a -C lib libqte-mt ${STAGING_DIR}/${HOST_SYS}/qt2/lib rm -f include/qxt.h install -d ${STAGING_DIR}/${HOST_SYS}/qt2/include cp -pfLR include/* ${STAGING_DIR}/${HOST_SYS}/qt2/include cp -pPR lib/fonts ${STAGING_DIR}/${HOST_SYS}/qt2/lib/ } do_install() { : } PACKAGE_ARCH = "${MACHINE_ARCH}" ```
2c6850c4-8111-46a3-92ed-821afbe1107f
{ "language": "BitBake" }
```bitbake SECTION = "gpe/libs" LICENSE = "BSD-X" PRIORITY = "optional" DEPENDS = "libgpewidget libxsettings x11" inherit autotools pkgconfig gpe SRC_URI = "${GPE_MIRROR}/xsettings-client-${PV}.tar.bz2" S = ${WORKDIR}/xsettings-client-${PV} headers = "xsettings-client.h xsettings-common.h" do_stage () { oe_libinstall -so libXsettings-client ${STAGING_LIBDIR} mkdir -p ${STAGING_INCDIR} for h in ${headers}; do install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h done } ``` Remove an unneeded gpe dependency
```bitbake SECTION = "gpe/libs" LICENSE = "BSD-X" PRIORITY = "optional" DEPENDS = "libxsettings x11" inherit autotools pkgconfig gpe SRC_URI = "${GPE_MIRROR}/xsettings-client-${PV}.tar.bz2" S = ${WORKDIR}/xsettings-client-${PV} headers = "xsettings-client.h xsettings-common.h" do_stage () { oe_libinstall -so libXsettings-client ${STAGING_LIBDIR} mkdir -p ${STAGING_INCDIR} for h in ${headers}; do install -m 0644 ${S}/$h ${STAGING_INCDIR}/$h done } ```
0e783987-0ab3-4b66-a978-8510882c0418
{ "language": "BitBake" }
```bitbake SUMMARY = "A wrapper for the FluidSynth, allowing it to function as a DSSI plugin" HOMEPAGE = "http://dssi.sourceforge.net/download.html#FluidSynth-DSSI" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit autotools pkgconfig gtk-icon-cache DEPENDS += " \ fluidsynth \ gtk+ \ dssi \ liblo \ ladspa-sdk \ " SRC_URI = "git://github.com/schnitzeltony/fluidsynth-dssi.git" SRCREV = "49471882d39d9b954d95457606db40fbde1d5a72" S = "${WORKDIR}/git" PV = "1.0.0+git${SRCPV}" FILES_${PN} += " \ ${libdir}/dssi \ " ``` Update to get configurable synth.dynamic-sample-loading
```bitbake SUMMARY = "A wrapper for the FluidSynth, allowing it to function as a DSSI plugin" HOMEPAGE = "http://dssi.sourceforge.net/download.html#FluidSynth-DSSI" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit autotools pkgconfig gtk-icon-cache DEPENDS += " \ fluidsynth \ gtk+ \ dssi \ liblo \ ladspa-sdk \ " SRC_URI = "git://github.com/schnitzeltony/fluidsynth-dssi.git" SRCREV = "6ece68627f6a06b935361f4f06556fc03ef4fd1c" S = "${WORKDIR}/git" PV = "1.0.0+git${SRCPV}" FILES_${PN} += " \ ${libdir}/dssi \ " ```
fc5ede87-3f5d-41e1-b30d-ba457bc5a1e6
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Shared Transport Line Discipline User Mode initialisation Manager Daemon" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://uim.c;beginline=1;endline=18;md5=9f0bbfbc10c67689e81a523e2976c31e" INITSCRIPT_NAME = "uim-sysfs" INITSCRIPT_PARAMS = "defaults 03" inherit update-rc.d SRCREV = "a75f45be2d5c74fc1dd913d08afc30f09a230aa9" SRC_URI = "git://git.ti.com/ti-bt/uim.git" S = "${WORKDIR}/git" EXTRA_OEMAKE = "CC=${TARGET_PREFIX}gcc" do_install() { install -d ${D}${bindir} install -m 0755 uim ${D}${bindir} install -d ${D}${sysconfdir}/init.d install -m 0755 scripts/uim-sysfs ${D}${sysconfdir}/init.d } ``` Fix build breaks when toolchain is used from sstate
```bitbake DESCRIPTION = "Shared Transport Line Discipline User Mode initialisation Manager Daemon" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://uim.c;beginline=1;endline=18;md5=9f0bbfbc10c67689e81a523e2976c31e" INITSCRIPT_NAME = "uim-sysfs" INITSCRIPT_PARAMS = "defaults 03" inherit update-rc.d SRCREV = "a75f45be2d5c74fc1dd913d08afc30f09a230aa9" SRC_URI = "git://git.ti.com/ti-bt/uim.git" S = "${WORKDIR}/git" do_install() { install -d ${D}${bindir} install -m 0755 uim ${D}${bindir} install -d ${D}${sysconfdir}/init.d install -m 0755 scripts/uim-sysfs ${D}${sysconfdir}/init.d } ```
03c248f1-70f2-4f46-89e1-46f6a28767d8
{ "language": "BitBake" }
```bitbake require fakeroot.inc PR = "${INC_PR}.0" SRC_URI =+ "\ ${DEBIAN_MIRROR}/main/f/fakeroot/fakeroot_${PV}.orig.tar.bz2 \ file://quiet-getopt-check.patch \ " SRC_URI[md5sum] = "659a1f3a36554abfc2a3eaad2fdc0604" SRC_URI[sha256] = "b035c834944bf9482027f48c388de8492e96609825265ac03f05408d0b3aae68" ``` Update URI to a functioning one
```bitbake require fakeroot.inc PE = "1" PR = "${INC_PR}.0" SRC_URI =+ "\ http://snapshot.debian.org/archive/debian/20110301/pool/main/f/fakeroot/fakeroot_1.14.5.orig.tar.bz2 \ file://quiet-getopt-check.patch \ " SRC_URI[md5sum] = "659a1f3a36554abfc2a3eaad2fdc0604" SRC_URI[sha256] = "b035c834944bf9482027f48c388de8492e96609825265ac03f05408d0b3aae68" ```
4ce0ca9f-a77a-41cc-b7f8-d5077806a61f
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Base package set for Jlime images." SECTION = "x11/wm" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r4" inherit task PROVIDES = "${PACKAGES}" PACKAGES = "\ ${PN}-cli \ ${PN}-gui \ " RDEPENDS_${PN}-cli = " \ dropbear \ file \ htop \ lsof \ sudo \ tmux \ vim \ " RDEPENDS_${PN}-gui = " \ abiword \ batti \ claws-mail \ epdfview \ gcalctool \ gnome-mplayer \ leafpad \ liferea \ midori \ notification-daemon \ pidgin \ remmina \ xarchiver \ xchat \ xnoise \ " ``` Add gnumeric to jlime images.
```bitbake DESCRIPTION = "Base package set for Jlime images." SECTION = "x11/wm" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" PR = "r4" inherit task PROVIDES = "${PACKAGES}" PACKAGES = "\ ${PN}-cli \ ${PN}-gui \ " RDEPENDS_${PN}-cli = " \ dropbear \ file \ htop \ lsof \ sudo \ tmux \ vim \ " RDEPENDS_${PN}-gui = " \ abiword \ batti \ claws-mail \ epdfview \ gcalctool \ gnumeric \ gnome-mplayer \ leafpad \ liferea \ midori \ notification-daemon \ pidgin \ remmina \ xarchiver \ xchat \ xnoise \ " ```
dd4fd3c1-4fc5-44b6-bb25-c9447d3074d3
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing." HOMEPAGE = "http://www.gnu.org/software/gdbm/gdbm.html" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPL" PR = "r5" SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ file://makefile.patch \ file://libtool-mode.patch \ file://chmod.patch" inherit autotools TARGET_CC_ARCH += "${LDFLAGS}" SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1" SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9" BBCLASSEXTEND = "native" ``` Update LICENSE field version to GPLv2
```bitbake DESCRIPTION = "GNU dbm is a set of database routines that use extensible hashing." HOMEPAGE = "http://www.gnu.org/software/gdbm/gdbm.html" SECTION = "libs" PRIORITY = "optional" LICENSE = "GPLv2+" PR = "r6" SRC_URI = "${GNU_MIRROR}/gdbm/gdbm-${PV}.tar.gz \ file://makefile.patch \ file://libtool-mode.patch \ file://chmod.patch" inherit autotools TARGET_CC_ARCH += "${LDFLAGS}" SRC_URI[md5sum] = "1d1b1d5c0245b1c00aff92da751e9aa1" SRC_URI[sha256sum] = "cc340338a2e28b40058ab9eb5354a21d53f88a1582ea21ba0bb185c37a281dc9" BBCLASSEXTEND = "native" ```
f3baf2e8-da6d-474d-b311-bc332a46ed52
{ "language": "BitBake" }
```bitbake LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=7dbc59dc445b2261c4fb2f9466e3446a" DEPENDS = "automoc4-native polkit" RDEPENDS_${PN} = "libqtcore4 polkit" inherit qt4x11 cmake SRC_URI = "git://anongit.kde.org/polkit-qt-1.git;branch=master" ## Tag v0.103.0 SRCREV = "26045cb6da3efb1eba8612ef47ffa63da64ae9a0" EXTRA_OECMAKE =+ "-DAUTOMOC4_EXECUTABLE=${STAGING_BINDIR_NATIVE}/automoc4 \ -DUSE_COMMON_CMAKE_PACKAGE_CONFIG_DIR=FALSE" FILES_${PN}-dev = "${libdir}/PolkitQt-1/cmake" PV = "v0.103.0+git${SRCPV}" S = "${WORKDIR}/git" ``` Fix cmake search path for includes and libraries
```bitbake LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=7dbc59dc445b2261c4fb2f9466e3446a" DEPENDS = "automoc4-native polkit" RDEPENDS_${PN} = "libqtcore4 polkit" inherit qt4x11 cmake kde_exports SRC_URI = "git://anongit.kde.org/polkit-qt-1.git;branch=master" ## Tag v0.103.0 SRCREV = "26045cb6da3efb1eba8612ef47ffa63da64ae9a0" EXTRA_OECMAKE += "-DAUTOMOC4_EXECUTABLE=${STAGING_BINDIR_NATIVE}/automoc4 \ -DUSE_COMMON_CMAKE_PACKAGE_CONFIG_DIR=FALSE" KDE_EXPORT_FILES = "${S}/PolkitQt-1Config.cmake" FILES_${PN}-dev += "${libdir}/PolkitQt-1/cmake" PV = "v0.103.0+git${SRCPV}" S = "${WORKDIR}/git" ```
5284cd45-a35b-4ad7-a559-480481c9a179
{ "language": "BitBake" }
```bitbake DESCRIPTION = "This package contains the ROS bindings for the tf2 library, for both Python and C++." SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5" DEPENDS = "actionlib rosgraph tf2 tf2-py" require geometry-experimental.inc ``` Add missing dependency on message-filters
```bitbake DESCRIPTION = "This package contains the ROS bindings for the tf2 library, for both Python and C++." SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5" DEPENDS = "actionlib message-filters rosgraph tf2 tf2-py" require geometry-experimental.inc ```
9b35af76-0159-4f7c-b963-476879497f1c
{ "language": "BitBake" }
```bitbake require sdcc_${PV}.bb DEPENDS = "" # don't need native-tools patch here SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-src-${PV}.tar.bz2 \ " inherit native do_stage() { oe_runmake install } ``` Add bison-native and flex-native to DEPENDS
```bitbake require sdcc_${PV}.bb DEPENDS = "bison-native flex-native" PR = "r1" # don't need native-tools patch here SRC_URI = "${SOURCEFORGE_MIRROR}/sdcc/sdcc-src-${PV}.tar.bz2 \ " inherit native do_stage() { oe_runmake install } ```
772455cc-ed44-4b83-a605-2f9545662b6b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" require gstreamer1.0-plugins-ti.inc PR = "${INC_PR}.24" SRCREV = "e797c1d832cc8ee1dd66d1683991cb6d7316ed63" BRANCH ?= "master" SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git;branch=${BRANCH} \ " FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" ``` Update SRCREV and PR to pick bug fixes
```bitbake DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" require gstreamer1.0-plugins-ti.inc PR = "${INC_PR}.25" SRCREV = "f4cd1300aa5afadc81c2b4099ea1ee1cb29e6856" BRANCH ?= "master" SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git;branch=${BRANCH} \ " FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" ```
5fc787ed-e653-4258-a9f7-6ea2dab567f9
{ "language": "BitBake" }
```bitbake require linux.inc DESCRIPTION = "Linux kernel for the OpenPandora handheld" KERNEL_IMAGETYPE = "uImage" COMPATIBLE_MACHINE = "raspberrypi" # This is on the rpi-patches branch SRCREV = "2fb814968753d0d4a5fdf056a3a8c9eee3c41aa6" SRC_URI = " \ git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-patches \ " PV = "3.1.9-rpi+${PR}+git${SRCREV}" S = "${WORKDIR}/git" # NOTE: For now we pull in the default config from the RPi kernel GIT tree. KERNEL_DEFCONFIG = "bcmrpi_defconfig" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } ``` Use zImage not uImage as the bootloader is not uBoot ;).
```bitbake require linux.inc DESCRIPTION = "Linux kernel for the RaspberryPi board" KERNEL_IMAGETYPE = "zImage" COMPATIBLE_MACHINE = "raspberrypi" # This is on the rpi-patches branch SRCREV = "2fb814968753d0d4a5fdf056a3a8c9eee3c41aa6" SRC_URI = " \ git://github.com/raspberrypi/linux.git;protocol=git;branch=rpi-patches \ " PV = "3.1.9-rpi+${PR}+git${SRCREV}" S = "${WORKDIR}/git" # NOTE: For now we pull in the default config from the RPi kernel GIT tree. KERNEL_DEFCONFIG = "bcmrpi_defconfig" do_configure_prepend() { install -m 0644 ${S}/arch/${ARCH}/configs/${KERNEL_DEFCONFIG} ${WORKDIR}/defconfig || die "No default configuration for ${MACHINE} / ${KERNEL_DEFCONFIG} available." } ```
d7eb600f-7a46-4f03-8d19-6483548a5d97
{ "language": "BitBake" }
```bitbake SUMMARY = "updatehub's device identity scripts" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=838c366f69b72c5df05c96dff79b35f2" SRC_URI = "git://github.com/updatehub/device-identity;protocol=https" SRCREV = "d32cb72abdd789ce28c66d87f4582ae07d465ee4" S = "${WORKDIR}/git" inherit allarch do_configure[noexec] = "1" do_compile[noexec] = "1" do_install() { install -Dm 0755 primary_iface ${D}/${datadir}/updatehub/device-identity.d/primary_iface install -Dm 0755 cpuinfo_serial ${D}/${datadir}/updatehub/device-identity.d/cpuinfo_serial } python split_plugins_packages () { device_identity_dir = d.expand('${datadir}/updatehub/device-identity.d/') do_split_packages(d, device_identity_dir, '^(.*)', 'updatehub-device-identity-%s', 'updatehub %s device identity script', extra_depends='') } PACKAGES_DYNAMIC = "updatehub-device-identity-*" PACKAGESPLITFUNCS_prepend = " split_plugins_packages " PACKAGE_ARCH = "${MACHINE_ARCH}" ``` Add ALLOW_EMPTY to install -dev package
```bitbake SUMMARY = "updatehub's device identity scripts" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://COPYING;md5=838c366f69b72c5df05c96dff79b35f2" SRC_URI = "git://github.com/updatehub/device-identity;protocol=https" SRCREV = "d32cb72abdd789ce28c66d87f4582ae07d465ee4" S = "${WORKDIR}/git" inherit allarch do_configure[noexec] = "1" do_compile[noexec] = "1" do_install() { install -Dm 0755 primary_iface ${D}/${datadir}/updatehub/device-identity.d/primary_iface install -Dm 0755 cpuinfo_serial ${D}/${datadir}/updatehub/device-identity.d/cpuinfo_serial } python split_plugins_packages () { device_identity_dir = d.expand('${datadir}/updatehub/device-identity.d/') do_split_packages(d, device_identity_dir, '^(.*)', 'updatehub-device-identity-%s', 'updatehub %s device identity script', extra_depends='') } PACKAGES_DYNAMIC = "updatehub-device-identity-*" PACKAGESPLITFUNCS_prepend = " split_plugins_packages " PACKAGE_ARCH = "${MACHINE_ARCH}" ALLOW_EMPTY_${PN} = "1" ```
3923854b-44d3-4323-aad8-26825779745c
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Gomunicator is a GSM Voice and SMS application for GPE" HOMEPAGE = "http://www.linuxdevelopment.org/projects.html" LICENSE = "GPLv2" AUTHOR = "Robert Woerle" MAINTAINER = "Koen Kooi <[email protected]>" DEPENDS = "libgpewidget gtk+ glib-2.0" #Remove the dash below when 0.1.3 changes in PV PV = "0.1.3+cvs-${SRCDATE}" inherit autotools pkgconfig SRC_URI = "cvs://[email protected]/cvsroot/xanadux;module=gomunicator" S = "${WORKDIR}/${PN}" ``` Create gomunicator icon to desktop by installing the gomunicator.desktop.
```bitbake DESCRIPTION = "Gomunicator is a GSM Voice and SMS application for GPE" HOMEPAGE = "http://www.linuxdevelopment.org/projects.html" LICENSE = "GPLv2" AUTHOR = "Robert Woerle" MAINTAINER = "Koen Kooi <[email protected]>" DEPENDS = "libgpewidget gtk+ glib-2.0" #Remove the dash below when 0.1.3 changes in PV PV = "0.1.3+cvs-${SRCDATE}" inherit autotools pkgconfig SRC_URI = "cvs://[email protected]/cvsroot/xanadux;module=gomunicator" S = "${WORKDIR}/${PN}" do_install_append() { install -d ${D}${datadir}/applications install -m 0644 gomunicator.desktop ${D}${datadir}/applications/ } ```
16eaed25-63c5-4c3a-8a5d-bbd026daf648
{ "language": "BitBake" }
```bitbake SUMMARY = "Library implementing Secure RTP (RFC 3711)" DESCRIPTION = "This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), \ the Universal Security Transform (UST), and a supporting cryptographic kernel. The SRTP API \ is documented in include/srtp.h, and the library is in libsrtp2.a (after compilation)." HOMEPAGE = "https://github.com/cisco/libsrtp" BUGTRACKER = "https://github.com/cisco/libsrtp/issues" SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=2909fcf6f09ffff8430463d91c08c4e1" SRC_URI = "git://github.com/cisco/libsrtp.git;branch=2_4_x_throttle;protocol=https" SRCREV = "90d05bf8980d16e4ac3f16c19b77e296c4bc207b" S = "${WORKDIR}/git" inherit meson pkgconfig ``` Add support for specifying the crypto library
```bitbake SUMMARY = "Library implementing Secure RTP (RFC 3711)" DESCRIPTION = "This package provides an implementation of the Secure Real-time Transport Protocol (SRTP), \ the Universal Security Transform (UST), and a supporting cryptographic kernel. The SRTP API \ is documented in include/srtp.h, and the library is in libsrtp2.a (after compilation)." HOMEPAGE = "https://github.com/cisco/libsrtp" BUGTRACKER = "https://github.com/cisco/libsrtp/issues" SECTION = "libs" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://LICENSE;md5=2909fcf6f09ffff8430463d91c08c4e1" SRC_URI = "git://github.com/cisco/libsrtp.git;branch=2_4_x_throttle;protocol=https" SRCREV = "90d05bf8980d16e4ac3f16c19b77e296c4bc207b" S = "${WORKDIR}/git" PACKAGECONFIG ?= "" PACKAGECONFIG[nss] = "-Dcrypto-library=nss,, nss,,, openssl" PACKAGECONFIG[openssl] = "-Dcrypto-library=openssl,, openssl,,, nss" inherit meson pkgconfig ```
a88630c0-5f57-4ae4-85e5-a8e03f1b69e9
{ "language": "BitBake" }
```bitbake require samba.inc require samba-basic.inc LICENSE = "GPLv3" S = "${SRCDIR}/samba-${PV}/source3" SRC_URI += "file://config-h.patch" SRC_URI += "file://tdbheaderfix.patch;patchdir=${SRCDIR}/samba-${PV}" EXTRA_OECONF += "\ SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \ samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \ linux_getgrouplist_ok=no \ samba_cv_HAVE_BROKEN_GETGROUPS=no \ samba_cv_HAVE_FTRUNCATE_EXTEND=yes \ samba_cv_have_setresuid=yes \ samba_cv_have_setresgid=yes \ samba_cv_HAVE_WRFILE_KEYTAB=yes \ samba_cv_linux_getgrouplist_ok=yes \ " do_compile () { base_do_compile } ``` Comment out SRC_URI patch with patchdir parameter
```bitbake require samba.inc require samba-basic.inc LICENSE = "GPLv3" S = "${SRCDIR}/samba-${PV}/source3" SRC_URI += "file://config-h.patch" # FIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIIXMMEEEEEEE # need to figure out if we should add support for patchdir #SRC_URI += "file://tdbheaderfix.patch;patchdir=${SRCDIR}/samba-${PV}" EXTRA_OECONF += "\ SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes \ samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \ linux_getgrouplist_ok=no \ samba_cv_HAVE_BROKEN_GETGROUPS=no \ samba_cv_HAVE_FTRUNCATE_EXTEND=yes \ samba_cv_have_setresuid=yes \ samba_cv_have_setresgid=yes \ samba_cv_HAVE_WRFILE_KEYTAB=yes \ samba_cv_linux_getgrouplist_ok=yes \ " do_compile () { base_do_compile } ```
403b205a-8361-43b1-b09f-26faab682e9e
{ "language": "BitBake" }
```bitbake SUMMARY = "Wrap gnu screen into a multi session getty" HOMEPAGE = "https://github.com/WindRiver-OpenSourceLabs/meta-overc" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" PKG_NAME = "github.com/miekg/dns" SRC_URI = "file://COPYING \ file://screen-getty.c \ file://screen-gettyrc \ file://agetty-shell.c \ file://Makefile \ file://[email protected] \ " S = "${WORKDIR}" FILES_${PN} += "/lib/systemd" do_install() { oe_runmake DEST=${D} install install -d ${D}/${systemd_unitdir}/system install -m 644 ${WORKDIR}/[email protected] ${D}/${systemd_unitdir}/system } ``` Make use of bitbake variables where appropriate.
```bitbake SUMMARY = "Wrap gnu screen into a multi session getty" HOMEPAGE = "https://github.com/WindRiver-OpenSourceLabs/meta-overc" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" PKG_NAME = "github.com/miekg/dns" SRC_URI = "file://COPYING \ file://screen-getty.c \ file://screen-gettyrc \ file://agetty-shell.c \ file://Makefile \ file://[email protected] \ " S = "${WORKDIR}" FILES_${PN} += "${systemd_unitdir}" do_install() { oe_runmake DEST=${D} SBIN=${base_sbindir} install install -d ${D}/${systemd_unitdir}/system install -m 644 ${WORKDIR}/[email protected] ${D}/${systemd_unitdir}/system } ```
22b7b473-33ba-4d3d-b2e0-47128d1a0875
{ "language": "BitBake" }
```bitbake LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://LICENSE;md5=a23a74b3f4caf9616230789d94217acb" DEPENDS += "attr ima-evm-utils tclap" SRC_URI = "git://github.com/mgerstner/ima-inspect.git" SRCREV = "e912be2d2a9fdf30a9693a7fc5d6b2473990a71c" S = "${WORKDIR}/git" inherit autotools ``` Fix build problem on ima-inspect
```bitbake LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://LICENSE;md5=a23a74b3f4caf9616230789d94217acb" DEPENDS += "attr ima-evm-utils tclap" SRC_URI = "git://github.com/mgerstner/ima-inspect.git" SRCREV = "e912be2d2a9fdf30a9693a7fc5d6b2473990a71c" S = "${WORKDIR}/git" inherit autotools pkgconfig ```
7369c8ea-d6ea-41bf-ab32-35fe1dbf9563
{ "language": "BitBake" }
```bitbake SUMMARY = "IIO blocks for GNU Radio" HOMEPAGE = "https://github.com/analogdevicesinc/gr-iio" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" PR = "r1" DEPENDS = "gnuradio libiio libad9361-iio bison-native" inherit distutils3-base cmake pkgconfig python3native S = "${WORKDIR}/git" PV = "0.3" SRCREV = "b3bd9edfaa03e8c63631f9166e1997870cc6b9ba" GIT_BRANCH = "upgrade-3.8" SRC_URI = "git://github.com/analogdevicesinc/gr-iio.git;branch=${GIT_BRANCH};protocol=https " FILES_${PN} += " \ /usr/share/gnuradio/grc/blocks/* \ " ``` Fix gr-iio recipe for newer Boost
```bitbake SUMMARY = "IIO blocks for GNU Radio" HOMEPAGE = "https://github.com/analogdevicesinc/gr-iio" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" PR = "r2" DEPENDS = "gnuradio libiio libad9361-iio bison-native" inherit distutils3-base cmake pkgconfig python3native S = "${WORKDIR}/git" PV = "0.3" SRCREV = "f1bb949a1e616687c42f4ff08b943e2b1d598151" GIT_BRANCH = "update-boost173" SRC_URI = "git://github.com/analogdevicesinc/gr-iio.git;branch=${GIT_BRANCH};protocol=https " FILES_${PN} += " \ /usr/share/gnuradio/grc/blocks/* \ " ```
9426521b-54ff-47af-bb4d-7f41beb626d8
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" require gstreamer1.0-plugins-ti.inc PR = "${INC_PR}.25" SRCREV = "f4cd1300aa5afadc81c2b4099ea1ee1cb29e6856" BRANCH ?= "master" SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git;branch=${BRANCH} \ " FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" ``` Update SRCREV with bug fixes
```bitbake DESCRIPTION = "GStreamer elements to use the multimedia accelerators available on some TI parts" LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" require gstreamer1.0-plugins-ti.inc PR = "${INC_PR}.26" SRCREV = "c8f6051ac3dff629aa00c22667fcc33cb1cfd074" BRANCH ?= "master" SRC_URI = "git://git.ti.com/glsdk/gst-plugin-ducati.git;protocol=git;branch=${BRANCH} \ " FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" ```
8755b208-8f7e-47be-b0cf-2279b4818bde
{ "language": "BitBake" }
```bitbake SUMMARY = "PMU ROM for QEMU" DESCRIPTION = "The ZynqMP PMU ROM for QEMU emulation" HOMEPAGE = "http://www.xilinx.com" SECTION = "bsp" LICENSE = "Proprietary" LICENSE_FLAGS = "xilinx" LIC_FILES_CHKSUM = "file://PMU_ROM-LICENSE.txt;md5=d43d49bc1eb1c907fc6f4ea75abafdfc" SRC_URI = "https://www.xilinx.com/bin/public/openDownload?filename=PMU_ROM.tar.gz" SRC_URI[sha256sum] = "f9a450ef960979463ea0a87a35fafb4a5b62d3a741de30cbcef04c8edc22a7cf" S = "${WORKDIR}/PMU_ROM" inherit deploy native INHIBIT_DEFAULT_DEPS = "1" PACKAGE_ARCH = "${MACHINE_ARCH}" do_compile[noexec] = "1" do_install[noexec] = "1" do_deploy () { install -D ${S}/pmu-rom.elf ${DEPLOYDIR}/pmu-rom.elf } addtask deploy before do_build after do_install ``` Remove PACKAGE_ARCH and skip do_configure
```bitbake SUMMARY = "PMU ROM for QEMU" DESCRIPTION = "The ZynqMP PMU ROM for QEMU emulation" HOMEPAGE = "http://www.xilinx.com" SECTION = "bsp" LICENSE = "Proprietary" LICENSE_FLAGS = "xilinx" LIC_FILES_CHKSUM = "file://PMU_ROM-LICENSE.txt;md5=d43d49bc1eb1c907fc6f4ea75abafdfc" SRC_URI = "https://www.xilinx.com/bin/public/openDownload?filename=PMU_ROM.tar.gz" SRC_URI[sha256sum] = "f9a450ef960979463ea0a87a35fafb4a5b62d3a741de30cbcef04c8edc22a7cf" S = "${WORKDIR}/PMU_ROM" inherit deploy native INHIBIT_DEFAULT_DEPS = "1" do_configure[noexec] = "1" do_compile[noexec] = "1" do_install[noexec] = "1" do_deploy () { install -D ${S}/pmu-rom.elf ${DEPLOYDIR}/pmu-rom.elf } addtask deploy before do_build after do_install ```
926f171e-8ba6-4a58-afe7-0984d1678758
{ "language": "BitBake" }
```bitbake DESCRIPTION = "A module to control Raspberry Pi GPIO channels" HOMEPAGE = "https://sourceforge.net/projects/raspberry-gpio-python/" SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=9b95630a648966b142f1a0dcea001cb7" PYPI_PACKAGE = "RPi.GPIO" inherit pypi distutils3 SRC_URI += "file://0001-Remove-nested-functions.patch" SRC_URI[md5sum] = "777617f9dea9a1680f9af43db0cf150e" SRC_URI[sha256sum] = "7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f" COMPATIBLE_MACHINE = "^rpi$" # ignore issues with -fno-common from gcc-10 until it's fixed in upstream: # https://sourceforge.net/p/raspberry-gpio-python/tickets/187/ CFLAGS += "-fcommon" ``` Replace setuptool3 instead of distutils3
```bitbake DESCRIPTION = "A module to control Raspberry Pi GPIO channels" HOMEPAGE = "https://sourceforge.net/projects/raspberry-gpio-python/" SECTION = "devel/python" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENCE.txt;md5=9b95630a648966b142f1a0dcea001cb7" PYPI_PACKAGE = "RPi.GPIO" inherit pypi setuptools3 SRC_URI += "file://0001-Remove-nested-functions.patch" SRC_URI[md5sum] = "777617f9dea9a1680f9af43db0cf150e" SRC_URI[sha256sum] = "7424bc6c205466764f30f666c18187a0824077daf20b295c42f08aea2cb87d3f" COMPATIBLE_MACHINE = "^rpi$" # ignore issues with -fno-common from gcc-10 until it's fixed in upstream: # https://sourceforge.net/p/raspberry-gpio-python/tickets/187/ CFLAGS += "-fcommon" ```
5801133e-bdcf-4136-bb1a-abb5500672be
{ "language": "BitBake" }
```bitbake DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons." SECTION = "libs" AUTHOR = "Lennart Poettering <[email protected]>" HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" LICENSE = "LGPL" SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" inherit autotools pkgconfig EXTRA_OECONF = "--disable-lynx --disable-doxygen" do_stage () { oe_libinstall -a -so -C libdaemon libdaemon ${STAGING_LIBDIR} install -d ${STAGING_INCDIR}/libdaemon for i in dlog.h dexec.h dfork.h dsignal.h dnonblock.h dpid.h; do install -m 0644 ${S}/libdaemon/$i ${STAGING_INCDIR}/libdaemon/ done } ``` Add missing header file daemon.h to package.
```bitbake DESCRIPTION = "libdaemon is a lightweight C library which eases the writing of UNIX daemons." SECTION = "libs" AUTHOR = "Lennart Poettering <[email protected]>" HOMEPAGE = "http://0pointer.de/lennart/projects/libdaemon/" LICENSE = "LGPL" PR = "r1" SRC_URI = "http://0pointer.de/lennart/projects/libdaemon/libdaemon-${PV}.tar.gz" inherit autotools pkgconfig EXTRA_OECONF = "--disable-lynx --disable-doxygen" do_stage () { oe_libinstall -a -so -C libdaemon libdaemon ${STAGING_LIBDIR} install -d ${STAGING_INCDIR}/libdaemon for i in daemon.h dlog.h dexec.h dfork.h dsignal.h dnonblock.h dpid.h; do install -m 0644 ${S}/libdaemon/$i ${STAGING_INCDIR}/libdaemon/ done } ```
d47592b2-07e4-4c20-90a1-11a8cec7d390
{ "language": "BitBake" }
```bitbake HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php" SUMMARY = "Moblin Glib D-Bus integration" LICENSE = "GPL LGPL" DEPENDS = "glib-2.0 dbus" PE = "1" PV = "0.0+gitr${SRCREV}" S = "${WORKDIR}/git" SRC_URI = "git://moblin.org/repos/projects/libgdbus.git;proto=http" inherit autotools pkgconfig do_stage() { autotools_stage_all } ``` Use the right git server, use the right protocol - moblin.org => git.moblin.org - really use http as protocol
```bitbake HOMEPAGE = "http://www.moblin.org/projects/projects_connman.php" SUMMARY = "Moblin Glib D-Bus integration" LICENSE = "GPL LGPL" DEPENDS = "glib-2.0 dbus" PE = "1" PV = "0.0+gitr${SRCREV}" S = "${WORKDIR}/git" SRC_URI = "git://git.moblin.org/repos/projects/libgdbus.git;protocol=http" inherit autotools pkgconfig do_stage() { autotools_stage_all } ```
e1aceec6-71c7-4f86-8bec-39098afe6c19
{ "language": "BitBake" }
```bitbake UMMARY = "IIO blocks for GNU Radio" HOMEPAGE = "https://github.com/analogdevicesinc/gr-iio" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS ="gnuradio libiio libad9361-iio bison-native" inherit distutils3-base cmake pkgconfig export BUILD_SYS export HOST_SYS="${MULTIMACH_TARGET_SYS}" S="${WORKDIR}/git" PV = "0.3" SRCREV = "b3bd9edfaa03e8c63631f9166e1997870cc6b9ba" GIT_BRANCH = "upgrade-3.8" SRC_URI = "git://github.com/analogdevicesinc/gr-iio.git;branch=${GIT_BRANCH};protocol=https " FILES_${PN} += " \ /usr/share/gnuradio/grc/blocks/* \ " ``` Fix typo in gr-iio recipe
```bitbake SUMMARY = "IIO blocks for GNU Radio" HOMEPAGE = "https://github.com/analogdevicesinc/gr-iio" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS ="gnuradio libiio libad9361-iio bison-native" inherit distutils3-base cmake pkgconfig export BUILD_SYS export HOST_SYS="${MULTIMACH_TARGET_SYS}" S="${WORKDIR}/git" PV = "0.3" SRCREV = "b3bd9edfaa03e8c63631f9166e1997870cc6b9ba" GIT_BRANCH = "upgrade-3.8" SRC_URI = "git://github.com/analogdevicesinc/gr-iio.git;branch=${GIT_BRANCH};protocol=https " FILES_${PN} += " \ /usr/share/gnuradio/grc/blocks/* \ " ```
aface108-5fdb-46fa-9876-3f65a03e3f35
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Minimal statically compiled Hello world!" LICENSE = "GPL" PR = "r0" S = "${WORKDIR}/${P}" do_fetch () { mkdir -p ${WORKDIR}/${P} cd ${WORKDIR}/${P} printf "#include <stdio.h>\nint main(void)\n{\n\tprintf(\"Hello world!\\\n\");\twhile(1);\n\treturn 0;\n}\n" >helloworld.c } do_compile () { ${CC} -o helloworld helloworld.c -static } do_install () { install -d ${D}${bindir} install -m 0755 helloworld ${D}${bindir}/ # /bin/init is on purpose, it is tried after /sbin/init and /etc/init # so if a sysvinit is installed, it will be used instead of helloworld install -d ${D}${base_bindir} ln -sf ${bindir}/helloworld ${D}${base_bindir}/init } ``` Use {C,LD}FLAGS during build. Duh.
```bitbake DESCRIPTION = "Minimal statically compiled Hello world!" LICENSE = "GPL" PR = "r1" S = "${WORKDIR}/${P}" do_fetch () { mkdir -p ${WORKDIR}/${P} cd ${WORKDIR}/${P} printf "#include <stdio.h>\nint main(void)\n{\n\tprintf(\"Hello world!\\\n\");\twhile(1);\n\treturn 0;\n}\n" >helloworld.c } do_compile () { ${CC} ${CFLAGS} -c -o helloworld.o helloworld.c ${CC} ${LDFLAGS} -o helloworld helloworld.o -static } do_install () { install -d ${D}${bindir} install -m 0755 helloworld ${D}${bindir}/ # /bin/init is on purpose, it is tried after /sbin/init and /etc/init # so if a sysvinit is installed, it will be used instead of helloworld install -d ${D}${base_bindir} ln -sf ${bindir}/helloworld ${D}${base_bindir}/init } ```
9fdd6dd4-9a6f-437e-a25c-630af8f8192b
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Python Bindings for the Cairo canvas library" SECTION = "devel/python" HOMEPAGE = "http://cairographics.org/pycairo" LICENSE = "LGPL MPL" # cairo >= 1.8.0 DEPENDS = "cairo" PR = "ml4" SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \ file://fix-setup-py.patch" S = "${WORKDIR}/pycairo-${PV}" inherit distutils pkgconfig do_configure_append() { sed -e 's:@prefix@:${prefix}:' -e 's:@includedir@:\$\{prefix\}/include:' -e 's:@VERSION@:${PV}:' pycairo.pc.in > pycairo.pc } do_install_append() { mv ${D}${datadir}/include/* ${D}${includedir} mv ${D}${datadir}/lib/* ${D}${libdir} install -d ${D}${includedir}/pycairo ln -sf ..//pycairo.h ${D}${includedir}/pycairo/ } SRC_URI[md5sum] = "847f5377c32228a656819f5bd18eb6b4" SRC_URI[sha256sum] = "a2272dafceb25ed9fedd0b10429dfec9c412b3b36eb6137f79c87e7d004036d4" ``` Update LICENSE field version to LGPLv2.1
```bitbake DESCRIPTION = "Python Bindings for the Cairo canvas library" SECTION = "devel/python" HOMEPAGE = "http://cairographics.org/pycairo" LICENSE = "LGPLv2.1 MPL-1.1" # cairo >= 1.8.0 DEPENDS = "cairo" PR = "ml5" SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \ file://fix-setup-py.patch" S = "${WORKDIR}/pycairo-${PV}" inherit distutils pkgconfig do_configure_append() { sed -e 's:@prefix@:${prefix}:' -e 's:@includedir@:\$\{prefix\}/include:' -e 's:@VERSION@:${PV}:' pycairo.pc.in > pycairo.pc } do_install_append() { mv ${D}${datadir}/include/* ${D}${includedir} mv ${D}${datadir}/lib/* ${D}${libdir} install -d ${D}${includedir}/pycairo ln -sf ..//pycairo.h ${D}${includedir}/pycairo/ } SRC_URI[md5sum] = "847f5377c32228a656819f5bd18eb6b4" SRC_URI[sha256sum] = "a2272dafceb25ed9fedd0b10429dfec9c412b3b36eb6137f79c87e7d004036d4" ```
6a7476b3-4da7-42a3-86c3-0b01fa7f6462
{ "language": "BitBake" }
```bitbake DESCRIPTION = "GNOME XML Parser library" SECTION = "libs" PRIORITY = "optional" LICENSE = "MIT" PR = "r5" SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz" inherit autotools pkgconfig binconfig EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" export LDFLAGS += "-ldl" do_stage() { autotools_stage_all install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/ #this is need it by php during its install install -m 0755 xml2-config ${STAGING_BINDIR_CROSS} } python populate_packages_prepend () { # autonamer would call this libxml2-2, but we don't want that if bb.data.getVar('DEBIAN_NAMES', d, 1): bb.data.setVar('PKG_libxml2', 'libxml2', d) } PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" FILES_${PN}-dev += "${bindir}/*-config" FILES_${PN}-utils += "${bindir}/*" ``` Create the directory before staging files into it.
```bitbake DESCRIPTION = "GNOME XML Parser library" SECTION = "libs" PRIORITY = "optional" LICENSE = "MIT" PR = "r5" SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz" inherit autotools pkgconfig binconfig EXTRA_OECONF = "--without-python --without-debug --without-legacy --without-catalog --without-docbook --with-c14n" export LDFLAGS += "-ldl" do_stage() { autotools_stage_all install -d ${STAGING_DATADIR}/aclocal/ install -d ${STAGING_BINDIR_CROSS} install -m 0644 libxml.m4 ${STAGING_DATADIR}/aclocal/ #this is need it by php during its install install -m 0755 xml2-config ${STAGING_BINDIR_CROSS} } python populate_packages_prepend () { # autonamer would call this libxml2-2, but we don't want that if bb.data.getVar('DEBIAN_NAMES', d, 1): bb.data.setVar('PKG_libxml2', 'libxml2', d) } PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale" FILES_${PN}-dev += "${bindir}/*-config" FILES_${PN}-utils += "${bindir}/*" ```
7935563d-4aa5-4f8e-9cb6-4f346c0f0fa5
{ "language": "BitBake" }
```bitbake inherit esw deploy ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/" DEPENDS += "xilffs xiltimer" do_configure:prepend() { ( cd ${S} lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ ) } ESW_CUSTOM_LINKER_FILE ?= "None" EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" do_install() { install -d ${D}/${base_libdir}/firmware install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware } do_deploy() { install -d ${DEPLOYDIR}/${BPN}/ install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ } addtask deploy before do_build after do_package FILES:${PN} = "${base_libdir}/firmware/*.elf" ``` Add REQURIED_DISTRO_FEATURES to match dependency xilffs
```bitbake inherit esw deploy # Requires by dependency xilffs REQUIRED_DISTRO_FEATURES = "sdps" ESW_COMPONENT_SRC = "/lib/sw_services/xilffs/examples/" DEPENDS += "xilffs xiltimer" do_configure:prepend() { ( cd ${S} lopper ${DTS_FILE} -- baremetallinker_xlnx.py ${ESW_MACHINE} ${S}/${ESW_COMPONENT_SRC} install -m 0755 memory.ld ${S}/${ESW_COMPONENT_SRC}/ install -m 0755 *.cmake ${S}/${ESW_COMPONENT_SRC}/ ) } ESW_CUSTOM_LINKER_FILE ?= "None" EXTRA_OECMAKE = "-DCUSTOM_LINKER_FILE=${@d.getVar('ESW_CUSTOM_LINKER_FILE')}" do_install() { install -d ${D}/${base_libdir}/firmware install -m 0755 ${B}/*.elf ${D}/${base_libdir}/firmware } do_deploy() { install -d ${DEPLOYDIR}/${BPN}/ install -Dm 0644 ${WORKDIR}/package/${base_libdir}/firmware/*.elf ${DEPLOYDIR}/${BPN}/ } addtask deploy before do_build after do_package FILES:${PN} = "${base_libdir}/firmware/*.elf" ```
ace15769-f250-42ad-a8f4-ae55946f8007
{ "language": "BitBake" }
```bitbake ``` Set FILESPATH in ncurses-native so the patches actually apply.
```bitbake SECTION = "libs" include ncurses_${PV}.bb inherit native EXTRA_OEMAKE = '"BUILD_CCFLAGS=${BUILD_CCFLAGS}"' DEPENDS = "" FILESPATH = "${FILE_DIRNAME}/local:${FILE_DIRNAME}/ncurses-${PV}-${PR}:${FILE_DIRNAME}/ncurses-${PV}:${FILE_DIRNAME}/ncurses:${FILE_DIRNAME}" ```
4befdb3d-2f96-4178-96b0-d93b5105f9be
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Python Bindings for the Cairo canvas library" SECTION = "devel/python" HOMEPAGE = "http://cairographics.org/pycairo" LICENSE = "LGPL MPL" # cairo >= 1.8.0 DEPENDS = "cairo" PR = "ml4" SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \ file://fix-setup-py.patch" S = "${WORKDIR}/pycairo-${PV}" inherit distutils pkgconfig do_configure_append() { sed -e 's:@prefix@:${prefix}:' -e 's:@includedir@:\$\{prefix\}/include:' -e 's:@VERSION@:${PV}:' pycairo.pc.in > pycairo.pc } do_install_append() { mv ${D}${datadir}/include/* ${D}${includedir} mv ${D}${datadir}/lib/* ${D}${libdir} install -d ${D}${includedir}/pycairo ln -sf ..//pycairo.h ${D}${includedir}/pycairo/ } SRC_URI[md5sum] = "847f5377c32228a656819f5bd18eb6b4" SRC_URI[sha256sum] = "a2272dafceb25ed9fedd0b10429dfec9c412b3b36eb6137f79c87e7d004036d4" ``` Update LICENSE field version to LGPLv2.1
```bitbake DESCRIPTION = "Python Bindings for the Cairo canvas library" SECTION = "devel/python" HOMEPAGE = "http://cairographics.org/pycairo" LICENSE = "LGPLv2.1 MPL-1.1" # cairo >= 1.8.0 DEPENDS = "cairo" PR = "ml5" SRC_URI = "http://cairographics.org/releases/pycairo-${PV}.tar.gz \ file://fix-setup-py.patch" S = "${WORKDIR}/pycairo-${PV}" inherit distutils pkgconfig do_configure_append() { sed -e 's:@prefix@:${prefix}:' -e 's:@includedir@:\$\{prefix\}/include:' -e 's:@VERSION@:${PV}:' pycairo.pc.in > pycairo.pc } do_install_append() { mv ${D}${datadir}/include/* ${D}${includedir} mv ${D}${datadir}/lib/* ${D}${libdir} install -d ${D}${includedir}/pycairo ln -sf ..//pycairo.h ${D}${includedir}/pycairo/ } SRC_URI[md5sum] = "847f5377c32228a656819f5bd18eb6b4" SRC_URI[sha256sum] = "a2272dafceb25ed9fedd0b10429dfec9c412b3b36eb6137f79c87e7d004036d4" ```
c217dc1c-b0cc-4f19-a4fb-81cb493f6a70
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Library for reading mod-like audio files." HOMEPAGE = "http://modplug-xmms.sf.net" SECTION = "libs" LICENSE = "GPL" PR = "r1" SRC_URI = "${SOURCEFORGE_MIRROR}/modplug-xmms/libmodplug-${PV}.tar.gz" inherit autotools pkgconfig # NOTE: autotools_stage_all does nothing here, we need to do it manually do_install_append() { install -d ${D}${includedir}/libmodplug install -m 0644 ${S}/src/modplug.h ${D}${includedir}/libmodplug install -m 0644 ${S}/src/modplug.h ${D}${includedir}/ } SRC_URI[md5sum] = "d2d9ccd8da22412999caed076140f786" SRC_URI[sha256sum] = "3cfdebb60833a082e2f2b8faa3892bc9201d05c64051503e8007d8c98ae9e4c2" ``` Update LICENSE field version to PD
```bitbake DESCRIPTION = "Library for reading mod-like audio files." HOMEPAGE = "http://modplug-xmms.sf.net" SECTION = "libs" LICENSE = "PD" PR = "r2" SRC_URI = "${SOURCEFORGE_MIRROR}/modplug-xmms/libmodplug-${PV}.tar.gz" inherit autotools pkgconfig # NOTE: autotools_stage_all does nothing here, we need to do it manually do_install_append() { install -d ${D}${includedir}/libmodplug install -m 0644 ${S}/src/modplug.h ${D}${includedir}/libmodplug install -m 0644 ${S}/src/modplug.h ${D}${includedir}/ } SRC_URI[md5sum] = "d2d9ccd8da22412999caed076140f786" SRC_URI[sha256sum] = "3cfdebb60833a082e2f2b8faa3892bc9201d05c64051503e8007d8c98ae9e4c2" ```
6c98e064-93d6-4dc9-9aa0-df7e24174fed
{ "language": "BitBake" }
```bitbake require u-boot.inc # This is needs to be validated among supported BSP's before we can # make it default DEFAULT_PREFERENCE = "-1" # To build u-boot for your machine, provide the following lines in # your machine config, replacing the assignments as appropriate for # your machine. # UBOOT_MACHINE = "omap3_beagle_config" # UBOOT_ENTRYPOINT = "0x80008000" # UBOOT_LOADADDRESS = "0x80008000" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" PV = "v2013.01.01+git${SRCPV}" PR = "r4" SRCREV = "b6af5fcc8dfcc9240c158e5d0f07716245d67a56" SRC_URI = "git://git.denx.de/u-boot-sh.git;branch=renesas/bsp/rcar-gen2-5;protocol=git" S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}" ``` Update BSP to version 0.5.3
```bitbake require u-boot.inc # This is needs to be validated among supported BSP's before we can # make it default DEFAULT_PREFERENCE = "-1" # To build u-boot for your machine, provide the following lines in # your machine config, replacing the assignments as appropriate for # your machine. # UBOOT_MACHINE = "omap3_beagle_config" # UBOOT_ENTRYPOINT = "0x80008000" # UBOOT_LOADADDRESS = "0x80008000" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" PV = "v2013.01.01+git${SRCPV}" PR = "r5" SRCREV = "14c8f0753662a7b4802340279e62e4e6b9a6d612" SRC_URI = "git://git.denx.de/u-boot-sh.git;branch=renesas/bsp/rcar-gen2-5.3;protocol=git" S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}" ```
3b290541-7a7b-4e23-a84a-21a7c2dece21
{ "language": "BitBake" }
```bitbake SUMMARY = "A container image for domain 0 which is used for container control" DESCRIPTION = "Launched from the essential image, this is a container image \ used for controlling other containers in the system. \ " HOMEPAGE = "http://www.windriver.com" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" POD_DOM0_EXTRA_INSTALL ?= " " PACKAGE_EXCLUDE = "busybox* " PV = "0.4" DOM0_MAIN_PKGS = " packagegroup-core-boot \ packagegroup-dom0 \ packagegroup-util-linux \ packagegroup-core-ssh-openssh \ " IMAGE_INSTALL += "${DOM0_MAIN_PKGS} \ packagegroup-container \ packagegroup-service-discovery \ ${POD_DOM0_EXTRA_INSTALL} \ " IMAGE_FEATURES += "package-management doc-pkgs" IMAGE_FSTYPES = "tar.bz2" inherit core-image inherit builder-base ``` Add overc-system-agent to dom0 image
```bitbake SUMMARY = "A container image for domain 0 which is used for container control" DESCRIPTION = "Launched from the essential image, this is a container image \ used for controlling other containers in the system. \ " HOMEPAGE = "http://www.windriver.com" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" POD_DOM0_EXTRA_INSTALL ?= " " PACKAGE_EXCLUDE = "busybox* " PV = "0.4" DOM0_MAIN_PKGS = " packagegroup-core-boot \ packagegroup-dom0 \ packagegroup-util-linux \ packagegroup-core-ssh-openssh \ overc-system-agent \ " IMAGE_INSTALL += "${DOM0_MAIN_PKGS} \ packagegroup-container \ packagegroup-service-discovery \ ${POD_DOM0_EXTRA_INSTALL} \ " IMAGE_FEATURES += "package-management doc-pkgs" IMAGE_FSTYPES = "tar.bz2" inherit core-image inherit builder-base ```
74a548f5-b46c-483b-8f46-4653a7bd5bcf
{ "language": "BitBake" }
```bitbake DESCRIPTION = "TI CSL" LICENSE = "TI BSD" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" COMPATIBLE_MACHINE = "keystone" ALLOW_EMPTY_${PN} = "1" PR = "r0" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}" # commit ID corresponds to DEV.CSL_KEYSTONE2.02.00.00.17 SRCREV = "f6f90144c14e1ee783c4b893b52e54830be8166e" S = "${WORKDIR}/git" do_install () { install -d ${D}${includedir}/ti/csl find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl } ``` Update to csl version 2.1.0.5
```bitbake DESCRIPTION = "Chip support library low level interface" LICENSE = "BSD-3-Clause" LIC_FILES_CHKSUM = "file://COPYING.txt;md5=5857833e20836213677fac33f9aded21" COMPATIBLE_MACHINE = "keystone" ALLOW_EMPTY_${PN} = "1" PR = "r1" BRANCH="master" SRC_URI = "git://git.ti.com/keystone-rtos/common-csl-ip.git;protocol=git;branch=${BRANCH}" # commit ID corresponds to DEV.CSL_KEYSTONE2.02.01.00.05A SRCREV = "80d18dda4a76ce1a22cf2b5156f111390d75bea4" S = "${WORKDIR}/git" do_install () { install -d ${D}${includedir}/ti/csl find . -name "*.h" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl find ./src/ip/serdes_sb/V0 -name "*.c" -type f | xargs -I {} cp --parents {} ${D}${includedir}/ti/csl } ```
4bc2b6f7-0e8c-4eca-ad9d-cb5cae7756a2
{ "language": "BitBake" }
```bitbake SUMMARY = "Building and installing bootgen" DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" S = "${WORKDIR}/git" DEPENDS += "openssl" RDEPENDS:${PN} += "openssl" REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" BRANCH ?= "master" SRCREV = "4eac958eb6c831ffa5768a0e2cd4be23c5efe2e0" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' CXXFLAGS:append = " -std=c++0x" TARGET_CC_ARCH += "${LDFLAGS}" do_install() { install -d ${D}${bindir} install -Dm 0755 ${S}/bootgen ${D}${bindir} } FILES:${PN} = "${bindir}/bootgen" BBCLASSEXTEND = "native nativesdk" ``` Update to bootgen SRCREV to point to latest commit.
```bitbake SUMMARY = "Building and installing bootgen" DESCRIPTION = "Building and installing bootgen, a Xilinx tool that lets you stitch binary files together and generate device boot images" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=d526b6d0807bf263b97da1da876f39b1" S = "${WORKDIR}/git" DEPENDS += "openssl" RDEPENDS:${PN} += "openssl" REPO ?= "git://github.com/Xilinx/bootgen.git;protocol=https" BRANCH ?= "master" SRCREV = "d890ba298685b73307a01a9dbcc8702f9afcdbcc" BRANCHARG = "${@['nobranch=1', 'branch=${BRANCH}'][d.getVar('BRANCH', True) != '']}" SRC_URI = "${REPO};${BRANCHARG}" EXTRA_OEMAKE += 'CROSS_COMPILER="${CXX}" -C ${S}' CXXFLAGS:append = " -std=c++0x" TARGET_CC_ARCH += "${LDFLAGS}" do_install() { install -d ${D}${bindir} install -Dm 0755 ${S}/bootgen ${D}${bindir} } FILES:${PN} = "${bindir}/bootgen" BBCLASSEXTEND = "native nativesdk" ```
f54ba7cf-87db-49f8-8ecb-6bf384c46abe
{ "language": "BitBake" }
```bitbake VIMVER = "72" # vim-tiny sets that too VIMFEATURES ?= "big" # GUI type - gvim recipe sets "gtk2" VIMGUI ?= "no" # gvim recipes uses "--with-x" VIMX ?= "--without-x" require vim.inc PR = "${INC_PR}.3" # 001-411.diff contains 411 patches fetched from upstream SRC_URI += "file://001-411.diff;apply=no" SRC_URI += "file://configure.in_remove_CC_quotes.patch;apply=no" SRC_URI += "file://vimrc" # we need to apply patches in other dir then ${S} do_patch() { cd ${WORKDIR}/vim${VIMVER} patch -p1 <${WORKDIR}/001-411.diff patch -p1 <${WORKDIR}/configure.in_remove_CC_quotes.patch } do_install_append() { install -m 0644 ${WORKDIR}/vimrc ${D}/${datadir}/vim } RCONFLICTS_${PN} = "gvim vim-tiny" PACKAGES =+ "${PN}-vimrc" FILES_${PN}-vimrc = "${datadir}/vim/vimrc" ``` Switch to patchdir rather than applying in do_configure
```bitbake VIMVER = "72" # vim-tiny sets that too VIMFEATURES ?= "big" # GUI type - gvim recipe sets "gtk2" VIMGUI ?= "no" # gvim recipes uses "--with-x" VIMX ?= "--without-x" require vim.inc PR = "${INC_PR}.3" # 001-411.diff contains 411 patches fetched from upstream SRC_URI += "file://001-411.diff;patchdir=.." SRC_URI += "file://configure.in_remove_CC_quotes.patch;patchdir=.." SRC_URI += "file://vimrc" do_install_append() { install -m 0644 ${WORKDIR}/vimrc ${D}/${datadir}/vim } RCONFLICTS_${PN} = "gvim vim-tiny" PACKAGES =+ "${PN}-vimrc" FILES_${PN}-vimrc = "${datadir}/vim/vimrc" ```
36f3a570-1286-40b6-bc23-55885d0b6b49
{ "language": "BitBake" }
```bitbake DESCRIPTION = "TI QMSS low level driver unit test and example binaries" DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld cmem" include qmss-lld.inc PR = "${INC_PR}.2" CHOICELIST = "yes no" do_compile () { # Now build the lld in the updated directory for device in ${DEVICELIST} do make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} for choice in ${CHOICELIST} do make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" done done } do_install () { for device in ${DEVICELIST} do make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir} done } ``` Add explicit dependency on uio-module-drv
```bitbake DESCRIPTION = "TI QMSS low level driver unit test and example binaries" DEPENDS="common-csl-ip rm-lld cppi-lld qmss-lld cmem uio-module-drv" include qmss-lld.inc PR = "${INC_PR}.2" CHOICELIST = "yes no" do_compile () { # Now build the lld in the updated directory for device in ${DEVICELIST} do make -f makefile_armv7 clean PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} for choice in ${CHOICELIST} do make -f makefile_armv7 tests examples PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} USEDYNAMIC_LIB="$choice" done done } do_install () { for device in ${DEVICELIST} do make -f makefile_armv7 installbin PDK_INSTALL_PATH=${STAGING_INCDIR} DEVICE="$device" QMSS_SRC_DIR=${S} INSTALL_BIN_BASE_DIR=${D}${bindir} done } ```
1d651c84-0bd3-48ef-87a9-816d34d3b95c
{ "language": "BitBake" }
```bitbake SECTION = "console/network" DESCRIPTION = "IPv6 router advertisement daemon" LICENSE = "BSD" SRC_URI = "http://v6web.litech.org/radvd/dist/radvd-${PV}.tar.gz \ file://automake.patch;patch=1" S = "${WORKDIR}/radvd-${PV}" inherit autotools ``` Add build time dependancy on flex.
```bitbake SECTION = "console/network" DESCRIPTION = "IPv6 router advertisement daemon" LICENSE = "BSD" SRC_URI = "http://v6web.litech.org/radvd/dist/radvd-${PV}.tar.gz \ file://automake.patch;patch=1" S = "${WORKDIR}/radvd-${PV}" DEPENDS = "flex" inherit autotools ```
a80f0bfa-878f-4872-9d0e-4d4d79974046
{ "language": "BitBake" }
```bitbake # # This file was derived from the 'Hello World!' example recipe in the # Yocto Project Development Manual. # DESCRIPTION = "Open Content Decryption Module" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea83f8bc099c40bde8c4f2441a6eb40b" SRC_URI = "git://github.com/kuscsik/linaro-cdmi.git;protocol=https;branch=master" SRCREV_pn-ocdmi ?= "${AUTOREV}" S = "${WORKDIR}/git" EXTRA_OECONF_append = "${@base_contains('MACHINE_FEATURES', 'optee', '--enable-aes-ta', '', d)} " # * use-playready : Enables support for Playready CDMI. # # * debug-build : Builds OCDM with debug symbols and verbose logging. DEPENDS_append = " openssl portmap" DEPENDS_append = "${@base_contains('MACHINE_FEATURES','optee',' optee-aes-decryptor ','',d)}" # Only ClearKey implementation depends on ssl DEPENDS_remove = " \ ${@base_contains('PACKAGECONFIG','use-playready','openssl','',d)} \ " inherit autotools ``` Update GIT to point to linaro-home repo.
```bitbake # # This file was derived from the 'Hello World!' example recipe in the # Yocto Project Development Manual. # DESCRIPTION = "Open Content Decryption Module" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=ea83f8bc099c40bde8c4f2441a6eb40b" SRC_URI = "git://github.com/linaro-home/open-content-decryption-module-cdmi.git;protocol=https;branch=master" SRCREV_pn-ocdmi ?= "${AUTOREV}" S = "${WORKDIR}/git" EXTRA_OECONF_append = "${@base_contains('MACHINE_FEATURES', 'optee', '--enable-aes-ta', '', d)} " # * use-playready : Enables support for Playready CDMI. # # * debug-build : Builds OCDM with debug symbols and verbose logging. DEPENDS_append = " openssl portmap" DEPENDS_append = "${@base_contains('MACHINE_FEATURES','optee',' optee-aes-decryptor ','',d)}" # Only ClearKey implementation depends on ssl DEPENDS_remove = " \ ${@base_contains('PACKAGECONFIG','use-playready','openssl','',d)} \ " inherit autotools ```
b6a3df05-9a52-4109-afb3-56cf52881ae5
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Action GUI for Installer" HOMEPAGE = "http://assassin.projects.openmoko.org/" LICENSE = "GPL" DEPENDS = "dbus (>= 1.1.1) glib-2.0 e-wm packagekit etk edbus eet" PV = "0.2+svnr${SRCREV}" PR = "r6" SRC_URI = "svn://svn.projects.openmoko.org/svnroot/;module=assassin;proto=https" S = "${WORKDIR}/assassin" inherit autotools pkgconfig EXTRA_OECONF = "" FILES_${PN} += "${prefix}/share/*" ``` Add curl to assassin's depends. Tick did a quick hack to assassin for access networking. It's is a temporary solution.
```bitbake DESCRIPTION = "Action GUI for Installer" HOMEPAGE = "http://assassin.projects.openmoko.org/" LICENSE = "GPL" DEPENDS = "dbus (>= 1.1.1) glib-2.0 e-wm packagekit etk edbus eet curl" RDEPENDS = "etk-theme-ninja" PV = "0.2+svnr${SRCREV}" PR = "r6.02" SRC_URI = "svn://svn.projects.openmoko.org/svnroot/;module=assassin;proto=https" S = "${WORKDIR}/assassin" inherit autotools pkgconfig EXTRA_OECONF = "" FILES_${PN} += "${prefix}/share/*" ```
d5e7c2f4-565a-48e2-ac74-6b479827c016
{ "language": "BitBake" }
```bitbake # Copyright (C) 2015 Khem Raj <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "OpenWrt MDNS daemon" HOMEPAGE = "http://git.openwrt.org/?p=project/mdnsd.git;a=summary" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=12;md5=ce0be9da20a926574bf76c1285343bef" SECTION = "base" DEPENDS = "json-c libcap libubox ubus" SRC_URI = "git://git.openwrt.org/project/mdnsd.git \ " SRCREV = "59e4fc98162d253b4e5ecd110f7bc5ea3962e221" S = "${WORKDIR}/git" inherit cmake pkgconfig openwrt-services openwrt TARGET_CFLAGS_append = " -Wno-error=array-bounds" FILES_${PN} += "${libdir}/*" ``` Update SRVREV fix error *format* type 'long unsigned int'
```bitbake # Copyright (C) 2015 Khem Raj <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "OpenWrt MDNS daemon" HOMEPAGE = "http://git.openwrt.org/?p=project/mdnsd.git;a=summary" LICENSE = "GPL-2.0" LIC_FILES_CHKSUM = "file://main.c;beginline=1;endline=12;md5=ce0be9da20a926574bf76c1285343bef" SECTION = "base" DEPENDS = "json-c libcap libubox ubus" SRC_URI = "git://git.openwrt.org/project/mdnsd.git \ " SRCREV = "78aa36b0e9808e801c527c6dc47320e593309522" S = "${WORKDIR}/git" inherit cmake pkgconfig openwrt-services openwrt TARGET_CFLAGS_append = " -Wno-error=array-bounds" FILES_${PN} += "${libdir}/*" ```
834112fe-b55c-4467-b90d-afc13a8423f5
{ "language": "BitBake" }
```bitbake SUMMARY = "MPSSD" LICENSE = "GPL" LIC_FILES_CHKSUM = "file://COPYING;md5=58dd7e3251f8a7d8c3784355098b8d53" export KERNELDIR = "${STAGING_KERNEL_DIR}" S = "${WORKDIR}/mpssd" SRC_URI = " \ file://mpssd.tar.gz \ " do_compile() { cd ${S} make all || die } do_install() { install -d ${D}${bindir} install -m 755 ${S}/mpssd ${D}${bindir} } FILES_${PN} = " \ ${bindir}/mpssd \ " ``` Add mpssd dependency on kernel
```bitbake SUMMARY = "MPSSD" LICENSE = "GPL" LIC_FILES_CHKSUM = "file://COPYING;md5=58dd7e3251f8a7d8c3784355098b8d53" DEPENDS = "virtual/kernel" export KERNELDIR = "${STAGING_KERNEL_DIR}" S = "${WORKDIR}/mpssd" SRC_URI = " \ file://mpssd.tar.gz \ " do_compile() { cd ${S} make all || die } do_install() { install -d ${D}${bindir} install -m 755 ${S}/mpssd ${D}${bindir} } FILES_${PN} = " \ ${bindir}/mpssd \ " ```
077daa42-3f5b-45ad-9c37-656923959876
{ "language": "BitBake" }
```bitbake LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" inherit autotools DEPENDS = "openssh" SRC_URI = "http://netcologne.dl.sourceforge.net/project/virtuoso/virtuoso/6.1.4/virtuoso-opensource-6.1.4.tar.gz \ file://fix-weird-md5-error.diff \ file://config-cross.diff \ file://build-sanely.diff \ " SRC_URI[md5sum] = "7110a0b4b171b84850d346f4fe648172" SRC_URI[sha256sum] = "153f92211a23e05dcf4bde4c94d2963d06321d00f213c50025d740b96140154e" EXTRA_OECONF =+ "\ --disable-all-vads \ --disable-openldap \ --disable-wbxml2 \ --disable-imsg \ --disable-hslookup \ " S = "${WORKDIR}/${BPN}-opensource-${PV}" ``` Fix build if imagemagick is present
```bitbake LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f" inherit autotools DEPENDS = "openssl" SRC_URI = "http://netcologne.dl.sourceforge.net/project/virtuoso/virtuoso/6.1.4/virtuoso-opensource-6.1.4.tar.gz \ file://fix-weird-md5-error.diff \ file://config-cross.diff \ file://build-sanely.diff \ " SRC_URI[md5sum] = "7110a0b4b171b84850d346f4fe648172" SRC_URI[sha256sum] = "153f92211a23e05dcf4bde4c94d2963d06321d00f213c50025d740b96140154e" # These options will prevent the run testing of features while crosscompiling # Otherwise Autotools would notices it and give us an error. EXTRA_OECONF =+ "\ --disable-all-vads \ --disable-openldap \ --disable-wbxml2 \ --disable-imsg \ --disable-hslookup \ --disable-imagemagick \ " FILES_${PN} += "${libdir}/*.so" S = "${WORKDIR}/${BPN}-opensource-${PV}" ```
dafeadfe-2c9e-475f-ae5c-c869a63bafee
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Linux kernel for Beck IPC Hardware" KERNEL_IMAGETYPE = "zImage" require recipes-kernel/linux/linux.inc require recipes-kernel/linux/linux-dtb.inc COMPATIBLE_MACHINE = "(sc145-db150)" PV = "4.9.18" PR = "r0" SRCREV_pn-${PN} = "e255a9806fcb124986e0b62d6d320b61892d4947" SRC_URI += "git://github.com/beck-ipc/kernel-at-chip.git;protocol=https;branch=v4.9-beck; \ file://defconfig" S = "${WORKDIR}/git" ``` Set Kernel image type in device configuration.
```bitbake DESCRIPTION = "Linux kernel for Beck IPC Hardware" require recipes-kernel/linux/linux.inc require recipes-kernel/linux/linux-dtb.inc COMPATIBLE_MACHINE = "(sc145-db150)" PV = "4.9.18" PR = "r0" SRCREV_pn-${PN} = "e255a9806fcb124986e0b62d6d320b61892d4947" SRC_URI += "git://github.com/beck-ipc/kernel-at-chip.git;protocol=https;branch=v4.9-beck; \ file://defconfig" S = "${WORKDIR}/git" ```
a441d566-4249-4a38-ab00-0deda4aa53f4
{ "language": "BitBake" }
```bitbake # # This file was derived from the 'Hello World!' example recipe in the # Yocto Project Development Manual. # FILESEXTRAPATHS_prepend := "${THISDIR}:" DESCRIPTION = "ACME Utilities" SECTION = "acme" DEPENDS = "" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=578ecfeb82fabd60bb6310f0bf6af799" SRCREV = "v1.0" SRC_URI = "git://github.com/BayLibre/acme-utils.git" SRC_URI[md5sum] = "d9d7179a5fa9721806d6ff866bda212f" S = "${WORKDIR}/git" do_compile() { make -C api } do_install() { install -d ${D}${bindir} install -m 0755 api/dut-hard-reset ${D}${bindir} install -m 0755 api/dut-switch-* ${D}${bindir} install -m 0755 api/dut-dump-probe ${D}${bindir} } ``` Switch to python-cli version of acme-utils
```bitbake FILESEXTRAPATHS_prepend := "${THISDIR}:" DESCRIPTION = "ACME Utilities" SECTION = "acme" DEPENDS = "" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://LICENSE;md5=578ecfeb82fabd60bb6310f0bf6af799" SRC_URI = "git://github.com/bayLibre-acme/acme-utils.git;branch=python-cli" SRCREV = "python-cli" S = "${WORKDIR}/git" RDEPENDS_${PN} = "python3-modules" inherit systemd SYSTEMD_SERVICE_${PN} = "pyacmed.service" SYSTEMD_PACKAGES = "${PN}" do_compile() { make -C api } do_install() { install -d ${D}${bindir} install -d ${D}${systemd_unitdir}/system/ install -m 0755 api/dut-hard-reset ${D}${bindir} install -m 0755 api/dut-switch-* ${D}${bindir} install -m 0755 api/dut-dump-probe ${D}${bindir} install -m 0755 pyacmed/pyacmed ${D}${bindir} install -m 0644 pyacmed/pyacmed.service ${D}${systemd_unitdir}/system sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/pyacmed.service } ```
5a1b9cba-ebf0-4a03-91f7-df6779cc85ba
{ "language": "BitBake" }
```bitbake LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit autotools gtk-doc DEPENDS = "raptor" RDEPENDS_${PN} = "raptor" SRC_URI = "git://github.com/dajobe/rasqal.git;branch=master \ file://No-docs-and-NOCONFIGURE.patch \ file://Fix-cross-compile.patch \ " SRCREV = "ffc5f88dcaa20b279a39b537db1c65019003b16d" PV = "0.9.27+git${SRCPV}" S = "${WORKDIR}/git" EXTRA_OECONF = "\ --enable-maintainer-mode \ --disable-gtk-doc \ --with-regex-library=posix \ --with-decimal=gmp \ " # Rasqal autogen.sh does not work properly, so let OE do the job do_configure() { cd ${S} export NOCONFIGURE="no"; ./autogen.sh oe_runconf } ``` Fix race conditions with PARALLEL_MAKE = ""
```bitbake LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" inherit autotools gtk-doc DEPENDS = "raptor" RDEPENDS_${PN} = "raptor" SRC_URI = "git://github.com/dajobe/rasqal.git;branch=master \ file://No-docs-and-NOCONFIGURE.patch \ file://Fix-cross-compile.patch \ " SRCREV = "ffc5f88dcaa20b279a39b537db1c65019003b16d" PV = "0.9.27+git${SRCPV}" S = "${WORKDIR}/git" EXTRA_OECONF = "\ --enable-maintainer-mode \ --disable-gtk-doc \ --with-regex-library=posix \ --with-decimal=gmp \ " # Rasqal autogen.sh does not work properly, so let OE do the job do_configure() { cd ${S} export NOCONFIGURE="no"; ./autogen.sh oe_runconf } PARALLEL_MAKE = ""```
360f9307-c8db-4247-b952-7f69b4395dff
{ "language": "BitBake" }
```bitbake SUMMARY = "A system tool for maintaining the /etc/rc*.d hierarchy" DESCRIPTION = "Chkconfig is a basic system utility. It updates and queries runlevel \ information for system services. Chkconfig manipulates the numerous \ symbolic links in /etc/rc.d, to relieve system administrators of some \ of the drudgery of manually editing the symbolic links." HOMEPAGE = "http://fedorahosted.org/releases/c/h/chkconfig" PR = "r0" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://t/libtap.sh;md5=6c36428024c005158a85a2881975599c" do_install() { install -d ${D}${base_sbindir} install -m 0644 ${S}/chkconfig ${D}${base_sbindir}/ } FILES_${PN} += "${base_sbindir}/*" ``` Correct the permission of file
```bitbake SUMMARY = "A system tool for maintaining the /etc/rc*.d hierarchy" DESCRIPTION = "\ Chkconfig is a basic system utility. It updates and queries runlevel \ information for system services. Chkconfig manipulates the numerous \ symbolic links in /etc/rc.d, to relieve system administrators of some \ of the drudgery of manually editing the symbolic links." HOMEPAGE = "http://fedorahosted.org/releases/c/h/chkconfig" PR = "r1" inherit debian-package LICENSE = "MIT" LIC_FILES_CHKSUM = "file://t/libtap.sh;md5=6c36428024c005158a85a2881975599c" #install follow Debian jessie do_install() { install -d ${D}${base_sbindir} install -m 0755 ${S}/chkconfig ${D}${base_sbindir}/ } FILES_${PN} += "${base_sbindir}/*" ```
a3a76f41-905d-4acb-a658-6586f839547b
{ "language": "BitBake" }
```bitbake require libhildonmime.inc DEPENDS += "osso-gnome-vfs2" PR = "r0" SRC_URI = "http://repository.maemo.org/pool/maemo4.0/free/source/libh/${PN}/${PN}_${PV}-1.tar.gz" ``` Set extra config flag to avoid -Werror to get used.
```bitbake require libhildonmime.inc DEPENDS += "osso-gnome-vfs2" PR = "r0" SRC_URI = "http://repository.maemo.org/pool/maemo4.0/free/source/libh/${PN}/${PN}_${PV}-1.tar.gz" EXTRA_OECONF += "--with-compile-warnings=no" ```
b0acd8f7-142d-44c9-acec-d82db9c81176
{ "language": "BitBake" }
```bitbake require u-boot-socfpga-common.inc require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc SRC_URI = "git://github.com/altera-opensource/u-boot-socfpga.git;branch=socfpga_v2019.04" SRCREV = "bc38a09daa09e73b075006d8006caa84bb2fe0fe" DEPENDS += "dtc-native bc-native u-boot-mkimage-native" ``` Update u-boot-socfpga to latest release
```bitbake require u-boot-socfpga-common.inc require ${COREBASE}/meta/recipes-bsp/u-boot/u-boot.inc SRC_URI = "git://github.com/altera-opensource/u-boot-socfpga.git;branch=socfpga_v2019.04" SRCREV = "8c4cd804d6d77fbc4d7201d19755b6e89d43ae65" DEPENDS += "dtc-native bc-native u-boot-mkimage-native" ```
56a38309-0e9b-4f4d-9e85-44bb96dfbecf
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Test Utilities for Firefly MV Cameras" HOMEPAGE = "http://github.com/nzjrs/firefly-mv/tree/master" SECTION = "console/utils" PRIORITY = "optional" LICENSE = "GPL" PR = "r4" DEPENDS = "libdc1394 gtk+" #FIXME: Why are these lines necessary?, why isnt pkg-config in the #Makefile sufficient? CFLAGS_append = " $(pkg-config --cflags gtk+-2.0)" LIBS_append = " $(pkg-config --libs gtk+-2.0)" SRCREV = "1374fa542d63d688a96851cebc04d486ac8b6dd8" SRC_URI = "git://github.com/nzjrs/firefly-mv.git;protocol=git;branch=master" inherit pkgconfig S = "${WORKDIR}/git" do_compile() { oe_runmake } do_install () { install -d ${D}${bindir} install -m 0755 dc1394-camls ${D}${bindir}/ install -m 0755 dc1394-show ${D}${bindir}/ install -m 0755 dc1394-view ${D}${bindir}/ } ``` Install the record and playback utils from dc1394
```bitbake DESCRIPTION = "Test Utilities for Firefly MV Cameras" HOMEPAGE = "http://github.com/nzjrs/firefly-mv/tree/master" SECTION = "console/utils" PRIORITY = "optional" LICENSE = "GPL" PR = "r5" DEPENDS = "libdc1394 gtk+" #FIXME: Why are these lines necessary?, why isnt pkg-config in the #Makefile sufficient? CFLAGS_append = " $(pkg-config --cflags gtk+-2.0)" LIBS_append = " $(pkg-config --libs gtk+-2.0)" SRCREV = "3625d125cd8f4d932911991ac3e32fe09a52fa37" SRC_URI = "git://github.com/nzjrs/firefly-mv.git;protocol=git;branch=master" inherit pkgconfig S = "${WORKDIR}/git" do_compile() { oe_runmake } do_install () { install -d ${D}${bindir} install -m 0755 dc1394-camls ${D}${bindir}/ install -m 0755 dc1394-show ${D}${bindir}/ install -m 0755 dc1394-view ${D}${bindir}/ install -m 0755 dc1394-record ${D}${bindir}/ install -m 0755 dc1394-play ${D}${bindir}/ } ```
05bd5316-c8d3-4e51-8087-97a6d3a31733
{ "language": "BitBake" }
```bitbake require recipes-graphics/xorg-driver/xorg-driver-video.inc LIC_FILES_CHKSUM = "file://COPYING;md5=f8ad89d9d9a024f19d7dcc5acb044a42" DESCRIPTION = "X.org server -- Geode GX2/LX display driver" PR = "${INC_PR}.0" SRC_URI[md5sum] = "a99c521db731c2f1df309057a8465e4c" SRC_URI[sha256sum] = "28d845d727d99bfa4d4b93c5486ec01b72eb222e0910a766089db1103b1c2d92" COMPATIBLE_HOST = "i.86.*-linux" ``` Add rdepends on EXA Xorg module
```bitbake require recipes-graphics/xorg-driver/xorg-driver-video.inc LIC_FILES_CHKSUM = "file://COPYING;md5=f8ad89d9d9a024f19d7dcc5acb044a42" DESCRIPTION = "X.org server -- Geode GX2/LX display driver" PR = "${INC_PR}.1" SRC_URI[md5sum] = "a99c521db731c2f1df309057a8465e4c" SRC_URI[sha256sum] = "28d845d727d99bfa4d4b93c5486ec01b72eb222e0910a766089db1103b1c2d92" COMPATIBLE_HOST = "i.86.*-linux" RDEPENDS_${PN} += "xserver-xorg-module-exa" ```
3b0fcffb-10f9-48a0-906c-dd133dc1a7b2
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ various well-known 3D model formats in a uniform manner." HOMEPAGE = "http://www.assimp.org/" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87" DEPENDS = "boost" SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip" SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b" SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e" inherit cmake FILES_${PN}-dev += "${libdir}/cmake" ``` Add missing dependency on virtual/libgl
```bitbake DESCRIPTION = "Open Asset Import Library is a portable Open Source library to import \ various well-known 3D model formats in a uniform manner." HOMEPAGE = "http://www.assimp.org/" SECTION = "devel" LICENSE = "BSD" LIC_FILES_CHKSUM = "file://LICENSE;md5=bc4231a2268da8fc55525ad119638a87" DEPENDS = "boost virtual/libgl" SRC_URI = "http://sourceforge.net/projects/${BPN}/files/${BPN}-3.1/${BPN}-${PV}_no_test_models.zip" SRC_URI[md5sum] = "ccd4788204509da58a3a53c7aeda7a8b" SRC_URI[sha256sum] = "da9827876f10a8b447270368753392cfd502e70a2e9d1361554e5dfcb1fede9e" inherit cmake FILES_${PN}-dev += "${libdir}/cmake" ```
76ce924f-df57-4b5c-9de7-52aa983e7a7d
{ "language": "BitBake" }
```bitbake DESCRIPTION = "NI Watchdog Petter" SECTION = "base" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0835ade698e0bcf8506ecda2f7b4f302" inherit update-rc.d S = "${WORKDIR}" SRC_URI = "file://LICENSE \ file://niwatchdogpet.c \ file://niwatchdogpet.sh" INITSCRIPT_NAME = "niwatchdogpet" INITSCRIPT_PARAMS = "start 03 S ." CFLAGS_append = " -std=c89 -Wall -Werror -pedantic" do_compile() { ${CC} -Os ${CFLAGS} ${WORKDIR}/niwatchdogpet.c -o niwatchdogpet ${LDFLAGS} } do_install() { install -m 0755 -d ${D}${sbindir} ${D}${sysconfdir}/init.d install -m 0755 ${S}/niwatchdogpet ${D}${sbindir} install -m 0755 ${S}/niwatchdogpet.sh ${D}${sysconfdir}/init.d/niwatchdogpet } ``` Move watchdogpet later in startup
```bitbake DESCRIPTION = "NI Watchdog Petter" SECTION = "base" LICENSE = "MIT" LIC_FILES_CHKSUM = "file://LICENSE;md5=0835ade698e0bcf8506ecda2f7b4f302" inherit update-rc.d S = "${WORKDIR}" SRC_URI = "file://LICENSE \ file://niwatchdogpet.c \ file://niwatchdogpet.sh" INITSCRIPT_NAME = "niwatchdogpet" INITSCRIPT_PARAMS = "start 04 S ." CFLAGS_append = " -std=c89 -Wall -Werror -pedantic" do_compile() { ${CC} -Os ${CFLAGS} ${WORKDIR}/niwatchdogpet.c -o niwatchdogpet ${LDFLAGS} } do_install() { install -m 0755 -d ${D}${sbindir} ${D}${sysconfdir}/init.d install -m 0755 ${S}/niwatchdogpet ${D}${sbindir} install -m 0755 ${S}/niwatchdogpet.sh ${D}${sysconfdir}/init.d/niwatchdogpet } ```
1b285042-ac31-4184-9d49-cdafc97ca06f
{ "language": "BitBake" }
```bitbake HOMEPAGE = "http://github.com/krallin/tini" SUMMARY = "Minimal init for containers" DESCRIPTION = "Tini is the simplest init you could think of. \ All Tini does is spawn a single child (Tini is meant to be run in a container), \ and wait for it to exit all the while reaping zombies and performing signal forwarding. \ " SRCREV = "949e6facb77383876aeff8a6944dde66b3089574" SRC_URI = " \ git://github.com/krallin/tini.git \ file://0001-Do-not-strip-the-output-binary-allow-yocto-to-do-thi.patch \ " LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=ffc9091894702bc5dcf4cc0085561ef5" S = "${WORKDIR}/git" BBCLASSEXTEND = "native" # tini links with -static, so no PIE for us SECURITY_CFLAGS_pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}" inherit cmake do_install() { mkdir -p ${D}/${bindir} install -m 0755 ${B}/tini-static ${D}/${bindir}/docker-init } ``` Switch from docker to balena and minor formatting changes
```bitbake HOMEPAGE = "http://github.com/krallin/tini" SUMMARY = "Minimal init for containers" DESCRIPTION = "Tini is the simplest init you could think of. All Tini does is \ spawn a single child (Tini is meant to be run in a container), and wait for \ it to exit all the while reaping zombies and performing signal forwarding. " SRCREV = "949e6facb77383876aeff8a6944dde66b3089574" SRC_URI = " \ git://github.com/krallin/tini.git \ file://0001-Do-not-strip-the-output-binary-allow-yocto-to-do-thi.patch \ " LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=ffc9091894702bc5dcf4cc0085561ef5" S = "${WORKDIR}/git" BBCLASSEXTEND = "native" # tini links with -static, so no PIE for us SECURITY_CFLAGS_pn-${PN} = "${SECURITY_NO_PIE_CFLAGS}" inherit cmake do_install() { mkdir -p ${D}/${bindir} install -m 0755 ${B}/tini-static ${D}/${bindir}/balena-init } ```
840f076e-7a3e-40a7-b3f9-094182d501af
{ "language": "BitBake" }
```bitbake require linux-ti-staging_5.4.bb # Look in the generic major.minor directory for files # This will have priority over generic non-rt path FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:" BRANCH = "ti-rt-linux-5.4.y" SRCREV = "d4b0f63810a64c5f5c9876ba3492b647553d385d" PV = "5.4.74+git${SRCPV}" ``` Update RT kernel hash to pick up a few fixes
```bitbake require linux-ti-staging_5.4.bb # Look in the generic major.minor directory for files # This will have priority over generic non-rt path FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-5.4:" BRANCH = "ti-rt-linux-5.4.y" SRCREV = "9002faf1c069e1b0d435199a80a89268e69aeecf" PV = "5.4.74+git${SRCPV}" ```
94953f80-223c-4c7d-a6fb-de21a97e8574
{ "language": "BitBake" }
```bitbake SUMMARY = "The utility to manipulate machines owner keys which managed in shim" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS += "openssl efivar" PV = "0.3.0+git${SRCPV}" SRC_URI = "\ git://github.com/lcp/mokutil.git \ " SRCREV = "e19adc575c1f9d8f08b7fbc594a0887ace63f83f" S = "${WORKDIR}/git" inherit autotools pkgconfig EXTRA_OEMAKE += "\ EFIVAR_LIBS='-L${STAGING_LIBDIR} -lefivar' \ OPENSSL_LIBS='-L${STAGING_LIBDIR} -lssl -lcrypto' \ " COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64).*-linux' FILES_${PN} += "${datadir}/bash-completion/*" RDEPENDS_${PN} += "openssl efivar" ``` Fix build failure due to missing crypt.h
```bitbake SUMMARY = "The utility to manipulate machines owner keys which managed in shim" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" DEPENDS += "openssl efivar virtual/crypt" PV = "0.3.0+git${SRCPV}" SRC_URI = "\ git://github.com/lcp/mokutil.git \ " SRCREV = "e19adc575c1f9d8f08b7fbc594a0887ace63f83f" S = "${WORKDIR}/git" inherit autotools pkgconfig EXTRA_OEMAKE += "\ EFIVAR_LIBS='-L${STAGING_LIBDIR} -lefivar' \ OPENSSL_LIBS='-L${STAGING_LIBDIR} -lssl -lcrypto' \ " COMPATIBLE_HOST = '(i.86|x86_64|arm|aarch64).*-linux' FILES_${PN} += "${datadir}/bash-completion/*" RDEPENDS_${PN} += "openssl efivar" ```
e75ba9ba-f12c-4145-9732-b23f548f3bfb
{ "language": "BitBake" }
```bitbake DESCRIPTION = "The OpenMoko Dialer" SECTION = "openmoko/pim" DEPENDS = "libmokogsmd2 libmokoui2 libmokojournal2 gstreamer" RDEPENDS = "gst-meta-audio" PV = "0.1.0+svn${SVNREV}" PR = "r2" inherit openmoko2 EXTRA_OECONF = "--with-dbusbindir=${STAGING_BINDIR_NATIVE}" FILES_${PN} += "${datadir}/openmoko-dialer/ ${datadir}/dbus-1/services/" ``` Switch dependency. The dialer uses pulseaudio instead of gstreamer now.
```bitbake DESCRIPTION = "The OpenMoko Dialer" SECTION = "openmoko/pim" DEPENDS = "libmokogsmd2 libmokoui2 libmokojournal2 pulseaudio" PV = "0.1.0+svn${SVNREV}" PR = "r3" inherit openmoko2 EXTRA_OECONF = "--with-dbusbindir=${STAGING_BINDIR_NATIVE}" FILES_${PN} += "${datadir}/openmoko-dialer/ ${datadir}/dbus-1/services/" ```
93c13bd0-2c93-4c24-991e-9bf52df344a4
{ "language": "BitBake" }
```bitbake LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24" DEPENDS = "kdelibs4" require kde4.inc SRC_URI = "git://anongit.kde.org/kde-runtime;protocol=git;branch=master \ file://Disable-docs.patch" SRCREV = "37a52f48ebd4850d07cd8fe7277e6fa7a653c2ae" PV = "4.7.97+git${SRCPV}" EXTRA_OECMAKE =+ "\ -DKDEBASE_DISABLE_MULTIMEDIA=ON \ \ -DKActivities_DIR=${STAGING_DATADIR}/apps/cmake/modules \ " # -DPHONON_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \ S = "${WORKDIR}/git" # build out of tree #OECMAKE_SOURCEPATH = ".." #OECMAKE_BUILDPATH = "build" #BBCLASSEXTEND = "native" ``` Add soprano to the dependencies.
```bitbake LICENSE = "LGPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=5c213a7de3f013310bd272cdb6eb7a24" DEPENDS = "kdelibs4 soprano" require kde4.inc SRC_URI = "git://anongit.kde.org/kde-runtime;protocol=git;branch=master \ file://Disable-docs.patch" SRCREV = "37a52f48ebd4850d07cd8fe7277e6fa7a653c2ae" PV = "4.7.97+git${SRCPV}" EXTRA_OECMAKE =+ "\ -DKDEBASE_DISABLE_MULTIMEDIA=ON \ \ -DKActivities_DIR=${STAGING_DATADIR}/apps/cmake/modules \ " # -DPHONON_INCLUDE_DIR=${OE_QMAKE_INCDIR_QT} \ S = "${WORKDIR}/git" # build out of tree #OECMAKE_SOURCEPATH = ".." #OECMAKE_BUILDPATH = "build" #BBCLASSEXTEND = "native" ```
db169086-6645-40e3-9275-d44d6d73d30e
{ "language": "BitBake" }
```bitbake # # Copyright (C) 2011 Colin Walters <[email protected]> # LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" inherit gnomeos-contents PACKAGE_INSTALL += "task-core-sdk-dev \ bison flex \ git \ pseudo \ " ``` Add python-dev to devel image, drop pseudo
```bitbake # # Copyright (C) 2011 Colin Walters <[email protected]> # LICENSE = "MIT" LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" inherit gnomeos-contents PACKAGE_INSTALL += "task-core-sdk-dev \ python-dev \ bison flex \ git \ " ```
191d99e9-acf8-4868-b81d-0575310c1b72
{ "language": "BitBake" }
```bitbake SUMMARY = "Module for Low Power Actions on sitec systems S4 Comm Pro X" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" MAINTAINER = "Robert Lehmann <[email protected]>" inherit module PR = "r1" PV = "${KERNEL_VERSION}" SRC_URI = "file://Makefile \ file://main.c \ file://sitec_lp.h \ file://sts_fm.c \ file://sts_fm.h \ " S = "${WORKDIR}" # The inherit of module.bbclass will automatically name module packages with # "kernel-module-" prefix as required by the oe-core build environment. ``` Add FILESEXTRAPATHS_append to bb file
```bitbake SUMMARY = "Module for Low Power Actions on sitec systems S4 Comm Pro X" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" MAINTAINER = "Robert Lehmann <[email protected]>" inherit module PR = "r2" PV = "${KERNEL_VERSION}" FILESEXTRAPATHS_append := "${THISDIR}/${PN}:" SRC_URI = "file://Makefile \ file://main.c \ file://sitec_lp.h \ file://sts_fm.c \ file://sts_fm.h \ " S = "${WORKDIR}" # The inherit of module.bbclass will automatically name module packages with # "kernel-module-" prefix as required by the oe-core build environment. ```
31c2e764-3a7e-4a2d-8921-e0f7eeb7e3c2
{ "language": "BitBake" }
```bitbake require cppcheck.inc SRC_URI = " https://github.com/danmar/cppcheck/archive/${PV}.tar.gz \ file://0001-makefile.patch \ file://0002-pkgconfig-instaed-of-pcre-config.patch \ file://cppcheck.sca.description" SRC_URI[md5sum] = "eba3b8b4d69045bd24104c2d0cc0cb0c" SRC_URI[sha256sum] = "ea7ac1cd2f5c00ecffd596fd0f7281cba44308e565a634fae02b77ecd927c153" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" ``` Add downloadfilename parameter to SRC_URI
```bitbake require cppcheck.inc SRC_URI = " https://github.com/danmar/cppcheck/archive/${PV}.tar.gz;downloadfilename=${BP}.tar.gz \ file://0001-makefile.patch \ file://0002-pkgconfig-instaed-of-pcre-config.patch \ file://cppcheck.sca.description" SRC_URI[md5sum] = "eba3b8b4d69045bd24104c2d0cc0cb0c" SRC_URI[sha256sum] = "ea7ac1cd2f5c00ecffd596fd0f7281cba44308e565a634fae02b77ecd927c153" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" ```
408645b8-f323-489b-8962-e48218caf940
{ "language": "BitBake" }
```bitbake SUMMARY = "Utility functions for dLeyna libraries" DESCRIPTION = "dleyna-core is a library of utility functions that are used \ by the higher level dLeyna libraries that communicate with DLNA devices, \ e.g., dleyna-server. In brief, it provides APIs for logging, error, settings \ and task management and an IPC asbstraction API." HOMEPAGE = "https://01.org/dleyna/" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ file://libdleyna/core/core.c;endline=21;md5=139cba0c634344abc9456694fbb5083b" DEPENDS = "glib-2.0 gupnp" SRC_URI = "git://github.com/01org/${BPN}.git" SRCREV = "27a3786ec013f64fd58243410a60798f824acec3" S = "${WORKDIR}/git" inherit autotools pkgconfig ``` Update to latest to support gupnp 1.2
```bitbake SUMMARY = "Utility functions for dLeyna libraries" DESCRIPTION = "dleyna-core is a library of utility functions that are used \ by the higher level dLeyna libraries that communicate with DLNA devices, \ e.g., dleyna-server. In brief, it provides APIs for logging, error, settings \ and task management and an IPC asbstraction API." HOMEPAGE = "https://01.org/dleyna/" LICENSE = "LGPLv2.1+" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c \ file://libdleyna/core/core.c;endline=21;md5=68602998351825b0844aae34c684c54e" DEPENDS = "glib-2.0 gupnp" PV .= "+git${SRCPV}" SRC_URI = "git://github.com/01org/${BPN}.git" SRCREV = "1c6853f5bc697dc0a8774fd70dbc915c4dbe7c5b" S = "${WORKDIR}/git" inherit autotools pkgconfig ```
f782eb00-bcd4-47e2-861e-56bf1cddaaa6
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Diversity_radar - a GPS location based communicative application" HOMEPAGE = "http://diversity.projects.openmoko.org/" SECTION = "openmoko/applications" LICENSE = "GPL" DEPENDS = "python-evas python-edje python-ecore python-edbus python-dbus python-etk" RDEPENDS_${PN} = "diversity-daemon" PV = "0.0.4+svnr${SRCREV}" PR = "r0.01" SRC_URI = "svn://svn.projects.openmoko.org/svnroot/diversity/toys;module=diversity-radar;proto=http" S = "${WORKDIR}/${PN}" inherit setuptools FILES_${PN} += "${prefix}/share/*" PKG_TAGS_${PN} = "group::communication" ``` Revert "[diversity] remove PACKAGES = "${PN}" from diversity-radar"
```bitbake DESCRIPTION = "Diversity_radar - a GPS location based communicative application" HOMEPAGE = "http://diversity.projects.openmoko.org/" SECTION = "openmoko/applications" LICENSE = "GPL" DEPENDS = "python-evas python-edje python-ecore python-edbus python-dbus python-etk" RDEPENDS_${PN} = "diversity-daemon" PV = "0.0.4+svnr${SRCREV}" PR = "r0" SRC_URI = "svn://svn.projects.openmoko.org/svnroot/diversity/toys;module=diversity-radar;proto=http" S = "${WORKDIR}/${PN}" inherit setuptools PACKAGES = "${PN}" FILES_${PN} += "${prefix}/share/*" PKG_TAGS_${PN} = "group::communication" ```
46513831-cced-452a-9fc0-1026c4c6ae13
{ "language": "BitBake" }
```bitbake require shared-mime-info.inc DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" PR = "r2" do_install_append() { update-mime-database ${D}${datadir}/mime } # freedesktop.org.xml is huge and only needed when updating the db # mime.bbclass will add the dependency on it automagically PACKAGES =+ "freedesktop-mime-info" FILES_freedesktop-mime-info = "${datadir}/mime/packages/freedesktop.org.xml" RDEPENDS_freedesktop-mime-info = "shared-mime-info" SRC_URI[md5sum] = "01d72161f7d88123fbccd378871f02f0" SRC_URI[sha256sum] = "1c247e03418d6b90bcbc0da6c1abe6ac9cd5bacf9c3a2f3b6105376cf7b0eed8" ``` Update LICENSE field version to GPLv2
```bitbake require shared-mime-info.inc LICENSE = "GPLv2" DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" PR = "r3" do_install_append() { update-mime-database ${D}${datadir}/mime } # freedesktop.org.xml is huge and only needed when updating the db # mime.bbclass will add the dependency on it automagically PACKAGES =+ "freedesktop-mime-info" FILES_freedesktop-mime-info = "${datadir}/mime/packages/freedesktop.org.xml" RDEPENDS_freedesktop-mime-info = "shared-mime-info" SRC_URI[md5sum] = "01d72161f7d88123fbccd378871f02f0" SRC_URI[sha256sum] = "1c247e03418d6b90bcbc0da6c1abe6ac9cd5bacf9c3a2f3b6105376cf7b0eed8" ```
13c1d33e-c7cd-4ab8-a470-4c1abf71e02b
{ "language": "BitBake" }
```bitbake require recipes-images/angstrom/extended-console-image.bb IMAGE_INSTALL += " \ kernel-headers \ kernel-modules \ linux-firmware \ usbutils \ libusbg \ iw \ systemd-analyze \ vim vim-vimrc \ procps \ screen minicom \ cronie-systemd ntpdate \ tar \ packagegroup-sdk-target \ gcc \ gdb gdbserver \ iproute2 \ lighttpd \ lighttpd-module-cgi \ atlas-soc-lighttpd-conf \ atlas-soc-101 \ atlas-soc-usb-gadget \ gator \ fftdriver-mod \ gnuplot \ " export IMAGE_BASENAME = "atlas-soc-console-image" ``` Update image to include fftsw-apps
```bitbake require recipes-images/angstrom/extended-console-image.bb IMAGE_INSTALL += " \ kernel-headers \ kernel-modules \ linux-firmware \ usbutils \ libusbg \ iw \ systemd-analyze \ vim vim-vimrc \ procps \ screen minicom \ cronie-systemd ntpdate \ tar \ packagegroup-sdk-target \ gcc \ gdb gdbserver \ iproute2 \ lighttpd \ lighttpd-module-cgi \ atlas-soc-lighttpd-conf \ atlas-soc-101 \ atlas-soc-usb-gadget \ fftdriver-mod \ fftsw-apps \ gnuplot \ " export IMAGE_BASENAME = "atlas-soc-console-image" ```
42d017d5-1ed6-4277-883b-2e92bc0bf7c6
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Python 3 compatible Python 2 `random` Module" HOMEPAGE = "https://pypi.org/project/random2/" LICENSE = "PSFv2" LIC_FILES_CHKSUM = "file://setup.py;beginline=13;endline=13;md5=7767ca95316ceeac60eda07a2f2245ca" SRC_URI = "https://files.pythonhosted.org/packages/ee/b5/5aca5217501fbd06b1e5aed6d5986baa0da5380880e6bb6f421ed18e3a32/random2-${PV}.zip" SRC_URI[sha256sum] = "34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007" S = "${WORKDIR}/random2-${PV}" inherit setuptools3 BBCLASSEXTEND = "native" ``` Define PIP_INSTALL_PACKAGE to fix wheel install
```bitbake DESCRIPTION = "Python 3 compatible Python 2 `random` Module" HOMEPAGE = "https://pypi.org/project/random2/" LICENSE = "PSFv2" LIC_FILES_CHKSUM = "file://setup.py;beginline=13;endline=13;md5=7767ca95316ceeac60eda07a2f2245ca" SRC_URI = "https://files.pythonhosted.org/packages/ee/b5/5aca5217501fbd06b1e5aed6d5986baa0da5380880e6bb6f421ed18e3a32/random2-${PV}.zip" SRC_URI[sha256sum] = "34ad30aac341039872401595df9ab2c9dc36d0b7c077db1cea9ade430ed1c007" S = "${WORKDIR}/random2-${PV}" inherit setuptools3 PIP_INSTALL_PACKAGE = "random2" BBCLASSEXTEND = "native" ```
3d1b5491-b1e2-4c73-94a5-083b22669517
{ "language": "BitBake" }
```bitbake DESCRIPTION = "luaposix is a POSIX binding for Lua." LICENSE = "MIT" HOMEPAGE = "https://github.com/luaposix/luaposix" LIC_FILES_CHKSUM = "file://LICENSE;md5=f81069e00c0cad249f20efe958276db1" DEPENDS += "lua-native lua virtual/crypt" SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release-v${PV};protocol=https \ " SRCREV = "14043c5086ae738823a5dfbc9170d9e14193fbef" S = "${WORKDIR}/git" LUA_VERSION = "5.4" B = "${S}" inherit pkgconfig do_compile() { ${S}/build-aux/luke } do_install() { ${S}/build-aux/luke PREFIX=${D}${prefix} install } FILES:${PN} = "${datadir}/lua/${LUA_VERSION} \ ${libdir}/lua/${LUA_VERSION}" ``` Fix INST_LIBDIR to honor libdir var
```bitbake DESCRIPTION = "luaposix is a POSIX binding for Lua." LICENSE = "MIT" HOMEPAGE = "https://github.com/luaposix/luaposix" LIC_FILES_CHKSUM = "file://LICENSE;md5=f81069e00c0cad249f20efe958276db1" DEPENDS += "lua-native lua virtual/crypt" SRC_URI = "git://github.com/luaposix/luaposix.git;branch=release-v${PV};protocol=https \ " SRCREV = "14043c5086ae738823a5dfbc9170d9e14193fbef" S = "${WORKDIR}/git" LUA_VERSION = "5.4" B = "${S}" inherit pkgconfig do_compile() { ${S}/build-aux/luke } do_install() { ${S}/build-aux/luke PREFIX=${D}${prefix} INST_LIBDIR=${D}${libdir}/lua/${LUA_VERSION} install } FILES:${PN} = "${datadir}/lua/${LUA_VERSION} \ ${libdir}/lua/${LUA_VERSION}" ```
81468d00-0ffa-4ecc-9095-ef5d0399078a
{ "language": "BitBake" }
```bitbake require recipes-graphics/xorg-app/xorg-app-common.inc SUMMARY = "A program to compile XKB keyboard description" DESCRIPTION = "The xkbevd event daemon listens for specified XKB \ events and executes requested commands if they occur. " LIC_FILES_CHKSUM = "file://COPYING;md5=208668fa9004709ba22c2b748140956c" DEPENDS += "libxkbfile" BBCLASSEXTEND = "native" SRC_URI[md5sum] = "c747faf1f78f5a5962419f8bdd066501" SRC_URI[sha256sum] = "2430a2e5302a4cb4a5530c1df8cb3721a149bbf8eb377a2898921a145197f96a" ``` Add bison-native to build deps
```bitbake require recipes-graphics/xorg-app/xorg-app-common.inc SUMMARY = "A program to compile XKB keyboard description" DESCRIPTION = "The xkbevd event daemon listens for specified XKB \ events and executes requested commands if they occur. " LIC_FILES_CHKSUM = "file://COPYING;md5=208668fa9004709ba22c2b748140956c" DEPENDS += "libxkbfile bison-native" BBCLASSEXTEND = "native" SRC_URI[md5sum] = "c747faf1f78f5a5962419f8bdd066501" SRC_URI[sha256sum] = "2430a2e5302a4cb4a5530c1df8cb3721a149bbf8eb377a2898921a145197f96a" ```
7a518534-ba47-46de-9f25-de69792af4ff
{ "language": "BitBake" }
```bitbake DESCRIPTION = "Enlightenment Window Mananger Library" DEPENDS = "freetype eet evas-x11 ecore-x11 embryo imlib2-x11 edje-native" LICENSE = "MIT" CVSDATE = "${PV}" PR = "r0" inherit efl SRC_URI = "cvs://[email protected]/cvsroot/enlightenment;module=e17/apps/e \ file://fix-configure.patch;patch=1" S = "${WORKDIR}/e" PROFILE = "LORES_PDA" PROFILE_c7x0 = "HIRES_PDA" PROFILE_tosa = "HIRES_PDA" PROFILE_spitz = "HIRES_PDA" PROFILE_akita = "HIRES_PDA" EXTRA_OECONF = "--with-profile=${PROFILE} \ --with-edje-cc=${STAGING_BINDIR}/edje_cc \ --x-includes=${STAGING_INCDIR}/X11 \ --x-libraries=${STAGING_LIBDIR}" do_compile() { oe_runmake -C src/lib } headers = "E_Lib.h" do_install() { oe_runmake -C src/lib install DESTDIR=${D} } ``` Add edje to e depends
```bitbake DESCRIPTION = "Enlightenment Window Mananger Library" DEPENDS = "freetype eet evas-x11 ecore-x11 embryo imlib2-x11 edje-native edje" LICENSE = "MIT" CVSDATE = "${PV}" PR = "r0" inherit efl SRC_URI = "cvs://[email protected]/cvsroot/enlightenment;module=e17/apps/e \ file://fix-configure.patch;patch=1" S = "${WORKDIR}/e" PROFILE = "LORES_PDA" PROFILE_c7x0 = "HIRES_PDA" PROFILE_tosa = "HIRES_PDA" PROFILE_spitz = "HIRES_PDA" PROFILE_akita = "HIRES_PDA" EXTRA_OECONF = "--with-profile=${PROFILE} \ --with-edje-cc=${STAGING_BINDIR}/edje_cc \ --x-includes=${STAGING_INCDIR}/X11 \ --x-libraries=${STAGING_LIBDIR}" do_compile() { oe_runmake -C src/lib } headers = "E_Lib.h" do_install() { oe_runmake -C src/lib install DESTDIR=${D} } ```
4617e35d-6bab-4c28-8d75-ce300bb624d4
{ "language": "BitBake" }
```bitbake require u-boot.inc # This is needs to be validated among supported BSP's before we can # make it default DEFAULT_PREFERENCE = "-1" # To build u-boot for your machine, provide the following lines in # your machine config, replacing the assignments as appropriate for # your machine. # UBOOT_MACHINE = "omap3_beagle_config" # UBOOT_ENTRYPOINT = "0x80008000" # UBOOT_LOADADDRESS = "0x80008000" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" PV = "v2013.01.01+git${SRCPV}" PR = "r5" SRCREV = "14c8f0753662a7b4802340279e62e4e6b9a6d612" SRC_URI = "git://git.denx.de/u-boot-sh.git;branch=renesas/bsp/rcar-gen2-5.3;protocol=git" S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}" ``` Update BSP to version 0.5.4
```bitbake require u-boot.inc # This is needs to be validated among supported BSP's before we can # make it default DEFAULT_PREFERENCE = "-1" # To build u-boot for your machine, provide the following lines in # your machine config, replacing the assignments as appropriate for # your machine. # UBOOT_MACHINE = "omap3_beagle_config" # UBOOT_ENTRYPOINT = "0x80008000" # UBOOT_LOADADDRESS = "0x80008000" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=1707d6db1d42237583f50183a5651ecb" PV = "v2013.01.01+git${SRCPV}" PR = "r6" SRCREV = "fb213ade2bdd7a20a74b34ef4effdfcaa74ae96c" SRC_URI = "git://git.denx.de/u-boot-sh.git;branch=renesas/bsp/rcar-gen2-5.4;protocol=git" S = "${WORKDIR}/git" PACKAGE_ARCH = "${MACHINE_ARCH}" ```
decb117b-ac5e-400b-af21-8a497bf984e9
{ "language": "BitBake" }
```bitbake require libav.inc LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.LGPLv2.1;md5=e344c8fa836c3a41c4cbd79d7bd3a379 \ file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ " # When bumping SRCREV make sure you bump PR here and in dependant recipes (gst-ffmpeg, gnash, omxil, etc) to account for SOVERSION changes SRCREV = "62c473934822afd317dfef27754a0ff71f58ce2a" PV = "0.6.5" PR = "${INC_PR}.0" SRC_URI = "git://git.libav.org/libav.git;protocol=git;branch=release/0.6" S = "${WORKDIR}/git" ``` Update git version to 2012-10-04 snapshot
```bitbake require libav.inc LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ file://COPYING.GPLv3;md5=d32239bcb673463ab874e80d47fae504 \ file://COPYING.LGPLv2.1;md5=bd7a443320af8c812e4c18d1b79df004 \ file://COPYING.LGPLv3;md5=e6a600fd5e1d9cbde2d983680233ad02" DEPENDS += "libpostproc" PV = "0.8.99+git${SRCPV}" PR = "${INC_PR}.0" DEFAULT_PREFERENCE = "-1" # When bumping SRCREV make sure you bump PR here and in dependant # recipes (gst-ffmpeg, gnash, omxil, etc) to account for SOVERSION # changes SRCREV = "4673a5a761f329af0aa56fc84f34ed898188bfa2" SRC_URI = "git://git.libav.org/libav.git;protocol=git" S = "${WORKDIR}/git" # postproc has been split EXTRA_OECONF := "${@oe_filter_out('--enable-postproc', '${EXTRA_OECONF}', d)}" ```
833bee18-5be0-4790-8218-094d47783f36
{ "language": "BitBake" }
```bitbake # Copyright (C) 2014 Khem Raj <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "C library implementing OAuth Core RFC 5849" HOMEPAGE = "http://liboauth.sourceforge.net" LICENSE = "MIT|GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=6266718a5241c045c8099d9be48817df \ file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" SECTION = "libs" DEPENDS = "curl" SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BP}.tar.gz" SRC_URI[md5sum] = "689b46c2b3ab1a39735ac33f714c4f7f" SRC_URI[sha256sum] = "0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f" inherit autotools pkgconfig ``` Add missing OpenSSL build dependency
```bitbake # Copyright (C) 2014 Khem Raj <[email protected]> # Released under the MIT license (see COPYING.MIT for the terms) DESCRIPTION = "C library implementing OAuth Core RFC 5849" HOMEPAGE = "http://liboauth.sourceforge.net" LICENSE = "MIT|GPL-2.0" LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=6266718a5241c045c8099d9be48817df \ file://COPYING.GPL;md5=0636e73ff0215e8d672dc4c32c317bb3" SECTION = "libs" DEPENDS = "curl openssl" SRC_URI = "${SOURCEFORGE_MIRROR}/project/${BPN}/${BP}.tar.gz" SRC_URI[md5sum] = "689b46c2b3ab1a39735ac33f714c4f7f" SRC_URI[sha256sum] = "0df60157b052f0e774ade8a8bac59d6e8d4b464058cc55f9208d72e41156811f" inherit autotools pkgconfig ```
4319ee61-3fb4-4411-a7f7-f61b553057c1
{ "language": "BitBake" }
```bitbake LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=72d977d697c3c05830fdff00a7448931" SRCREV = "b31bce98d65f894aad6427bcf6f3f7822e261a59" PV = "1.0+git${SRCPV}" SRC_URI = "git://github.com/hartkopp/can-isotp.git;protocol=https" S = "${WORKDIR}/git" inherit module EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}" PNBLACKLIST[can-isotp] ?= "Kernel module Needs forward porting to kernel 5.2+" ``` Upgrade to latest on master
```bitbake LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=72d977d697c3c05830fdff00a7448931" SRCREV = "beb4650660179963a8ed5b5cbf2085cc1b34f608" PV = "1.0+git${SRCPV}" SRC_URI = "git://github.com/hartkopp/can-isotp.git;protocol=https" S = "${WORKDIR}/git" inherit module EXTRA_OEMAKE += "KERNELDIR=${STAGING_KERNEL_DIR}" do_install_append() { install -Dm 644 ${S}/include/uapi/linux/can/isotp.h ${D}${includedir}/linux/can/isotp.h } ```
97836382-8a0f-4d8b-aae9-cb37372393da
{ "language": "BitBake" }
```bitbake SUMMARY = "Microchip WILC devices firmware files for use with Linux kernel" SECTION = "kernel" LICENSE = "MICROCHIP_FW" LIC_FILES_CHKSUM = "file://LICENCE.wilc_fw;beginline=6;md5=e1a0446d046c966a27276cf8e728f687" SRCREV = "wilc_linux_15_2" SRC_URI = "git://github.com/linux4wilc/firmware.git;protocol=https" S = "${WORKDIR}/git" inherit allarch do_install() { install -d ${D}/lib/firmware/mchp/ cp -r ${S}/* ${D}/lib/firmware/mchp/ # remove unneeded file rm -f ${D}/lib/firmware/mchp/README.md rm -rf ${D}/lib/firmware/mchp/LICENCE.wilc_fw chmod -x ${D}/lib/firmware/mchp/* } FILES_${PN} += " \ ${base_libdir}/firmware/mchp/wilc*.bin \ " # TODO: use ALTERNATIVE like in "linux-firmware" package ``` Use nonarch_base_libdir instead of hardcoding firmware path prefix
```bitbake SUMMARY = "Microchip WILC devices firmware files for use with Linux kernel" SECTION = "kernel" LICENSE = "MICROCHIP_FW" LIC_FILES_CHKSUM = "file://LICENCE.wilc_fw;beginline=6;md5=e1a0446d046c966a27276cf8e728f687" SRCREV = "wilc_linux_15_2" SRC_URI = "git://github.com/linux4wilc/firmware.git;protocol=https" S = "${WORKDIR}/git" inherit allarch do_install() { install -d ${D}${nonarch_base_libdir}/firmware/mchp/ cp -r ${S}/* ${D}${nonarch_base_libdir}/firmware/mchp/ # remove unneeded file rm -f ${D}${nonarch_base_libdir}/firmware/mchp/README.md rm -rf ${D}${nonarch_base_libdir}/firmware/mchp/LICENCE.wilc_fw chmod -x ${D}${nonarch_base_libdir}/firmware/mchp/* } FILES_${PN} += " \ ${nonarch_base_libdir}/firmware/mchp/wilc*.bin \ " # TODO: use ALTERNATIVE like in "linux-firmware" package ```