Bug 285364 - devel/dbus cad/PrusaSlicer CMake find_package(DBus1) comes up empty
Summary: devel/dbus cad/PrusaSlicer CMake find_package(DBus1) comes up empty
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Gleb Popov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-03-13 10:46 UTC by Chad Jacob Milios
Modified: 2025-03-13 15:08 UTC (History)
1 user (show)

See Also:
arrowd: maintainer-feedback+


Attachments
add to devel/dbus/files/ (851 bytes, patch)
2025-03-13 10:46 UTC, Chad Jacob Milios
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chad Jacob Milios 2025-03-13 10:46:34 UTC
Created attachment 258621 [details]
add to devel/dbus/files/

i suspect find_package(DBus1) wouldn't work (relies on DBus1Config.cmake). most software that uses CMake seems to use pkg_check_modules(DBUS dbus-1) instead (relies instead on pkgconf)

would someone with a bit more sense than i tell me if the attached patch (to devel/dbus) is worthwhile or if i'm just way off base?

it solved for me the error shown here: https://pkg-status.freebsd.org/gohan04/data/141amd64-default-foo/2025-03-11_09h56m37s/logs/PrusaSlicer-2.9.0.log
Comment 1 Gleb Popov freebsd_committer freebsd_triage 2025-03-13 10:51:30 UTC
The patch makes sense.
Comment 2 commit-hook freebsd_committer freebsd_triage 2025-03-13 15:07:28 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e26d0a171d4822ba33a92c90c0ef36f7c19b3264

commit e26d0a171d4822ba33a92c90c0ef36f7c19b3264
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-03-13 15:05:20 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-03-13 15:06:44 +0000

    devel/dbus: Fix CMake config file

    PR:             285364
    Reported by:    Chad Jacob Milios <milios@ccsys.com>

 devel/dbus/Makefile                                         |  1 +
 devel/dbus/files/patch-cmake_DBus1Config.pkgconfig.in (new) | 11 +++++++++++
 2 files changed, 12 insertions(+)
Comment 3 Gleb Popov freebsd_committer freebsd_triage 2025-03-13 15:08:11 UTC
Pushed, thank you.