Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/transmission: fix gtk dependencies
@ 2023-07-17 12:29 Bernd Kuhls
  2023-07-21 21:35 ` Thomas Petazzoni via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2023-07-17 12:29 UTC (permalink / raw)
  To: buildroot

Buildroot commit 80793107a65d95f8dfd0317a726d3a737c78ef67 forgot to add
packages needed for gtk support:
https://github.com/transmission/transmission/blob/main/CMakeLists.txt#L40

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
 package/transmission/Config.in       | 2 ++
 package/transmission/transmission.mk | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/package/transmission/Config.in b/package/transmission/Config.in
index 84bd85eeff..d6567c6452 100644
--- a/package/transmission/Config.in
+++ b/package/transmission/Config.in
@@ -38,6 +38,8 @@ config BR2_PACKAGE_TRANSMISSION_DAEMON
 config BR2_PACKAGE_TRANSMISSION_GTK
 	bool "transmission-gtk"
 	depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS
+	select BR2_PACKAGE_GLIBMM
+	select BR2_PACKAGE_GTKMM3
 	help
 	  Install transmission GTK-based GUI interface.
 
diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk
index f3a200ced3..b2d554e742 100644
--- a/package/transmission/transmission.mk
+++ b/package/transmission/transmission.mk
@@ -74,7 +74,7 @@ endif
 
 ifeq ($(BR2_PACKAGE_TRANSMISSION_GTK),y)
 TRANSMISSION_CONF_OPTS += -DENABLE_GTK=ON
-TRANSMISSION_DEPENDENCIES += libgtk3
+TRANSMISSION_DEPENDENCIES += glibmm gtkmm3 libgtk3
 else
 TRANSMISSION_CONF_OPTS += -DENABLE_GTK=OFF
 endif
-- 
2.39.2

_______________________________________________
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 1/1] package/transmission: fix gtk dependencies
  2023-07-17 12:29 [Buildroot] [PATCH 1/1] package/transmission: fix gtk dependencies Bernd Kuhls
@ 2023-07-21 21:35 ` Thomas Petazzoni via buildroot
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni via buildroot @ 2023-07-21 21:35 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

On Mon, 17 Jul 2023 14:29:15 +0200
Bernd Kuhls <bernd@kuhls.net> wrote:

> Buildroot commit 80793107a65d95f8dfd0317a726d3a737c78ef67 forgot to add
> packages needed for gtk support:
> https://github.com/transmission/transmission/blob/main/CMakeLists.txt#L40
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
> ---
>  package/transmission/Config.in       | 2 ++
>  package/transmission/transmission.mk | 2 +-
>  2 files changed, 3 insertions(+), 1 deletion(-)
> 
> diff --git a/package/transmission/Config.in b/package/transmission/Config.in
> index 84bd85eeff..d6567c6452 100644
> --- a/package/transmission/Config.in
> +++ b/package/transmission/Config.in
> @@ -38,6 +38,8 @@ config BR2_PACKAGE_TRANSMISSION_DAEMON
>  config BR2_PACKAGE_TRANSMISSION_GTK
>  	bool "transmission-gtk"
>  	depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS
> +	select BR2_PACKAGE_GLIBMM
> +	select BR2_PACKAGE_GTKMM3

This option has:

	depends on BR2_TOOLCHAIN_HAS_SYNC_4
	depends on !BR2_nios2

which you did not propagate. There's also tons of other dependencies,
which indeed are not strictly needed as they are already carried by the
top-level transmission option, but if they change, we will forget that
they are also needed because of the dependency on glibmm and gtkmm3.

However, one thing bothers me more than that: you select
BR2_PACKAGE_GLIBMM, but BR2_PACKAGE_GTKMM3 selects
BR2_PACKAGE_GLIBMM2_66, so we will end up with two versions of glibmm.
Are both really used?

Thanks,

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:[~2023-07-21 21:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-17 12:29 [Buildroot] [PATCH 1/1] package/transmission: fix gtk dependencies Bernd Kuhls
2023-07-21 21:35 ` Thomas Petazzoni via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox