From patchwork Wed Jan 28 06:36:46 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Eric L. Hernes" X-Patchwork-Id: 79915 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 77A24D35685 for ; Wed, 28 Jan 2026 06:37:00 +0000 (UTC) Received: from host.hernesphere.com (host.hernesphere.com [3.13.130.34]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.7461.1769582213097423820 for ; Tue, 27 Jan 2026 22:36:53 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: qinc.tv, ip: 3.13.130.34, mailfrom: dev@qinc.tv) X-Virus-Scanned: Debian amavisd-new at host.hernesphere.com Received: from localhost.localdomain (unknown [50.216.236.226]) by host.hernesphere.com (Postfix) with ESMTPSA id A9809106C68; Wed, 28 Jan 2026 00:36:50 -0600 (CST) Authentication-Results: host.hernesphere.com; spf=pass (sender IP is 50.216.236.226) smtp.mailfrom=dev@qinc.tv smtp.helo=localhost.localdomain Received-SPF: pass (host.hernesphere.com: connection is authenticated) X-Virus-Scanned: Debian amavisd-new at host.hernesphere.com From: "Eric L. Hernes" To: yocto-patches@lists.yoctoproject.org Cc: "Eric L. Hernes" Subject: [meta-darwin][PATCH 1/3] add hfsprogs recipe Date: Tue, 27 Jan 2026 22:36:46 -0800 Message-ID: <20260128063648.1422-1-dev@qinc.tv> X-Mailer: git-send-email 2.50.1 MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 28 Jan 2026 06:37:00 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/3125 hfsprogs is used to create the dmg image file for macOS Signed-off-by: Eric L. Hernes --- recipes-support/hfsprogs/hfsprogs_git.bb | 35 ++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 recipes-support/hfsprogs/hfsprogs_git.bb diff --git a/recipes-support/hfsprogs/hfsprogs_git.bb b/recipes-support/hfsprogs/hfsprogs_git.bb new file mode 100644 index 0000000..17ac0d7 --- /dev/null +++ b/recipes-support/hfsprogs/hfsprogs_git.bb @@ -0,0 +1,35 @@ +SUMMARY = "HFS+ filesystem utilities for Linux" +DESCRIPTION = "Apple's HFS+ filesystem utilities (mkfs.hfsplus, fsck.hfsplus) \ +adapted to work on Linux systems. Based on Apple's diskdev-cmds source code." +HOMEPAGE = "https://github.com/Artoria2e5/hfsprogs" + +LICENSE = "APSL-2.0" +LIC_FILES_CHKSUM = "file://README.md;md5=ea27fd14a7e575753270cc5527d29023" + +SRCREV = "47e4944b2abc57f5d8456ab399671a06031bbfb5" +SRC_URI = "git://github.com/elhernes/hfsprogs.git;branch=master;protocol=https" + +S = "${WORKDIR}/git" + +DEPENDS = "openssl libbsd" + +EXTRA_OEMAKE = "-f Makefile.lnx" + +CFLAGS += "-DDEBUG_BUILD=0 -D_FILE_OFFSET_BITS=64 -DLINUX=1 -DBSD=1 -I${S}/include" + +do_compile() { + oe_runmake ${EXTRA_OEMAKE} +} + +do_install() { + install -d ${D}${sbindir} + install -d ${D}${mandir}/man8 + + install -m 0755 ${S}/newfs_hfs.tproj/newfs_hfs ${D}${sbindir}/mkfs.hfsplus + install -m 0755 ${S}/fsck_hfs.tproj/fsck_hfs ${D}${sbindir}/fsck.hfsplus + + install -m 0644 ${S}/newfs_hfs.tproj/newfs_hfs.8 ${D}${mandir}/man8/mkfs.hfsplus.8 + install -m 0644 ${S}/fsck_hfs.tproj/fsck_hfs.8 ${D}${mandir}/man8/fsck.hfsplus.8 +} + +BBCLASSEXTEND = "native" From patchwork Wed Jan 28 06:36:47 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Eric L. Hernes" X-Patchwork-Id: 79916 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 6D564D35683 for ; Wed, 28 Jan 2026 06:37:00 +0000 (UTC) Received: from host.hernesphere.com (host.hernesphere.com [3.13.130.34]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.7462.1769582216146833095 for ; Tue, 27 Jan 2026 22:36:56 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: qinc.tv, ip: 3.13.130.34, mailfrom: dev@qinc.tv) X-Virus-Scanned: Debian amavisd-new at host.hernesphere.com Received: from localhost.localdomain (unknown [50.216.236.226]) by host.hernesphere.com (Postfix) with ESMTPSA id 037D1106C68; Wed, 28 Jan 2026 00:36:53 -0600 (CST) Authentication-Results: host.hernesphere.com; spf=pass (sender IP is 50.216.236.226) smtp.mailfrom=dev@qinc.tv smtp.helo=localhost.localdomain Received-SPF: pass (host.hernesphere.com: connection is authenticated) X-Virus-Scanned: Debian amavisd-new at host.hernesphere.com From: "Eric L. Hernes" To: yocto-patches@lists.yoctoproject.org Cc: "Eric L. Hernes" Subject: [meta-darwin][PATCH 2/3] add recipe for libdmg-hfsplus Date: Tue, 27 Jan 2026 22:36:47 -0800 Message-ID: <20260128063648.1422-2-dev@qinc.tv> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260128063648.1422-1-dev@qinc.tv> References: <20260128063648.1422-1-dev@qinc.tv> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 28 Jan 2026 06:37:00 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/3126 libdmg-hfsplus contains the `hfsplus` program which copies files from the filesystem to the .dmg image Signed-off-by: Eric L. Hernes --- .../libdmg-hfsplus/libdmg-hfsplus_git.bb | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 recipes-support/libdmg-hfsplus/libdmg-hfsplus_git.bb diff --git a/recipes-support/libdmg-hfsplus/libdmg-hfsplus_git.bb b/recipes-support/libdmg-hfsplus/libdmg-hfsplus_git.bb new file mode 100644 index 0000000..77ac88e --- /dev/null +++ b/recipes-support/libdmg-hfsplus/libdmg-hfsplus_git.bb @@ -0,0 +1,16 @@ +SUMMARY = "Utilities for manipulating macOS dmg files" +DESCRIPTION = "This is a set of utilities for manipulating macOS dmg and hfs files" +HOMEPAGE = "https://github.com/elhernes/libdmg-hfsplus" + +LICENSE = "GPL-3.0-only" + +SRC_URI = "git://github.com/elhernes/libdmg-hfsplus.git;branch=master;protocol=https" +SRCREV = "3c3ce87a7e2f036f771f81147f9e125a2bb207f1" + +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=d32239bcb673463ab874e80d47fae504" + +S = "${WORKDIR}/git" + +inherit cmake + +BBCLASSEXTEND = "native" From patchwork Wed Jan 28 06:36:48 2026 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Eric L. Hernes" X-Patchwork-Id: 79917 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from aws-us-west-2-korg-lkml-1.web.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58791D35683 for ; Wed, 28 Jan 2026 06:37:10 +0000 (UTC) Received: from host.hernesphere.com (host.hernesphere.com [3.13.130.34]) by mx.groups.io with SMTP id smtpd.msgproc02-g2.7464.1769582220157986477 for ; Tue, 27 Jan 2026 22:37:00 -0800 Authentication-Results: mx.groups.io; dkim=none (message not signed); spf=pass (domain: qinc.tv, ip: 3.13.130.34, mailfrom: dev@qinc.tv) X-Virus-Scanned: Debian amavisd-new at host.hernesphere.com Received: from localhost.localdomain (unknown [50.216.236.226]) by host.hernesphere.com (Postfix) with ESMTPSA id F0F9E106C69; Wed, 28 Jan 2026 00:36:57 -0600 (CST) Authentication-Results: host.hernesphere.com; spf=pass (sender IP is 50.216.236.226) smtp.mailfrom=dev@qinc.tv smtp.helo=localhost.localdomain Received-SPF: pass (host.hernesphere.com: connection is authenticated) X-Virus-Scanned: Debian amavisd-new at host.hernesphere.com From: "Eric L. Hernes" To: yocto-patches@lists.yoctoproject.org Cc: "Eric L. Hernes" Subject: [meta-darwin][PATCH 3/3] add bomutils recipe Date: Tue, 27 Jan 2026 22:36:48 -0800 Message-ID: <20260128063648.1422-3-dev@qinc.tv> X-Mailer: git-send-email 2.50.1 In-Reply-To: <20260128063648.1422-1-dev@qinc.tv> References: <20260128063648.1422-1-dev@qinc.tv> MIME-Version: 1.0 List-Id: X-Webhook-Received: from 45-33-107-173.ip.linodeusercontent.com [45.33.107.173] by aws-us-west-2-korg-lkml-1.web.codeaurora.org with HTTPS for ; Wed, 28 Jan 2026 06:37:10 -0000 X-Groupsio-URL: https://lists.yoctoproject.org/g/yocto-patches/message/3127 bomutils is used to build the bill of materials files for macOS .pkg installers Signed-off-by: Eric L. Hernes --- recipes-support/bomutils/bomutils_git.bb | 34 ++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 recipes-support/bomutils/bomutils_git.bb diff --git a/recipes-support/bomutils/bomutils_git.bb b/recipes-support/bomutils/bomutils_git.bb new file mode 100644 index 0000000..04e6dbd --- /dev/null +++ b/recipes-support/bomutils/bomutils_git.bb @@ -0,0 +1,34 @@ +SUMMARY = "Bill Of Materials Utils" +HOMEPAGE = "https://github.com/hogliux/bomutils" +LICENSE = "GPL-2.0-only" + +SRCREV = "f62b59c659b1e57788661dadf87765e226824f67" +SRC_URI = " \ + git://github.com/elhernes/bomutils.git;branch=master;protocol=https \ +" + +LIC_FILES_CHKSUM = "file://${WORKDIR}/git/LICENSE;md5=55d923cdeef7e46b4d6415cb173b345a" + +BBCLASSEXTEND = "native" + +S = "${WORKDIR}/git" +B = "${WORKDIR}/git/build" + +do_compile() { + make -C ${S} +} + +do_install() { + install -d ${D}${bindir} + install -d ${D}${mandir}/man1 + + install -m 0755 ${B}/bin/ls4mkbom ${D}${bindir} + install -m 0755 ${B}/bin/dumpbom ${D}${bindir} + install -m 0755 ${B}/bin/lsbom ${D}${bindir} + install -m 0755 ${B}/bin/mkbom ${D}${bindir} + + install -m 0444 ${B}/man/ls4mkbom.1.gz ${D}${mandir}/man1 + install -m 0444 ${B}/man/dumpbom.1.gz ${D}${mandir}/man1 + install -m 0444 ${B}/man/lsbom.1.gz ${D}${mandir}/man1 + install -m 0444 ${B}/man/mkbom.1.gz ${D}${mandir}/man1 +}