All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] package/cups: install D-Bus config file cups.conf
@ 2026-09-03 13:37 Andreas Vida
  2026-09-16 21:42 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Andreas Vida @ 2026-09-03 13:37 UTC (permalink / raw)
  To: buildroot; +Cc: Angelo Compagnucci, Olivier Schonken

When CUPS is built with D-Bus enabled,
install cups.conf under /usr/share/dbus-1/system.d
as it already happens in other packages that have D-Bus configs
e.g. dnsmasq, wpa_supplicant etc.

Signed-off-by: Andreas Vida <andreas.vida@ginzinger.com>
---
  package/cups/cups.mk | 5 +++++
  1 file changed, 5 insertions(+)

diff --git a/package/cups/cups.mk b/package/cups/cups.mk
index 0df4f411bb..096a1be21d 100644
--- a/package/cups/cups.mk
+++ b/package/cups/cups.mk
@@ -45,6 +45,11 @@ endif
  ifeq ($(BR2_PACKAGE_DBUS),y)
  CUPS_CONF_OPTS += --enable-dbus
  CUPS_DEPENDENCIES += dbus
+define CUPS_INSTALL_DBUS
+	$(INSTALL) -m 0644 -D $(@D)/desktop/cups.conf \
+	$(TARGET_DIR)/usr/share/dbus-1/system.d/cups.conf
+endef
+CUPS_POST_INSTALL_TARGET_HOOKS += CUPS_INSTALL_DBUS
  else
  CUPS_CONF_OPTS += --disable-dbus
  endif
-- 
2.47.3
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [Buildroot] [PATCH] package/cups: install D-Bus config file cups.conf
  2026-09-03 13:37 [Buildroot] [PATCH] package/cups: install D-Bus config file cups.conf Andreas Vida
@ 2026-09-16 21:42 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2026-09-16 21:42 UTC (permalink / raw)
  To: Andreas Vida; +Cc: buildroot, Angelo Compagnucci, Olivier Schonken

On Thu, Sep 03, 2026 at 03:37:54PM +0200, Andreas Vida wrote:
> When CUPS is built with D-Bus enabled,
> install cups.conf under /usr/share/dbus-1/system.d
> as it already happens in other packages that have D-Bus configs
> e.g. dnsmasq, wpa_supplicant etc.
> 
> Signed-off-by: Andreas Vida <andreas.vida@ginzinger.com>

Thanks a lot, applied. Note that your patch was white-space damaged,
so I had to fix it up manually. For future patches, please use "git
send-email" which ensures patches arrive clean on the mailing list.

Thanks a lot for your contribution!

Thomas
-- 
Thomas Petazzoni, co-owner and CEO, Bootlin
Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-09-16 21:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-03 13:37 [Buildroot] [PATCH] package/cups: install D-Bus config file cups.conf Andreas Vida
2026-09-16 21:42 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.