All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] package/transmission: fix comment
@ 2023-07-23  8:31 Bernd Kuhls
  2023-07-23  8:31 ` [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies Bernd Kuhls
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Bernd Kuhls @ 2023-07-23  8:31 UTC (permalink / raw)
  To: buildroot

The wrong condition was added with buildroot commit
80793107a65d95f8dfd0317a726d3a737c78ef67.

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

diff --git a/package/transmission/Config.in b/package/transmission/Config.in
index 84bd85eeff..fd4c897497 100644
--- a/package/transmission/Config.in
+++ b/package/transmission/Config.in
@@ -49,4 +49,4 @@ comment "transmission needs a toolchain w/ dynamic library, threads, C++, gcc >=
 	depends on BR2_USE_MMU
 	depends on !BR2_BINFMT_FLAT
 	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
-		!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_STATIC_LIBS
+		!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS
-- 
2.39.2

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies
  2023-07-23  8:31 [Buildroot] [PATCH 1/2] package/transmission: fix comment Bernd Kuhls
@ 2023-07-23  8:31 ` Bernd Kuhls
  2023-07-23 14:19   ` Yann E. MORIN
  2023-07-23 14:00 ` [Buildroot] [PATCH 1/2] package/transmission: fix comment Yann E. MORIN
  2023-08-29 20:18 ` Peter Korsgaard
  2 siblings, 1 reply; 6+ messages in thread
From: Bernd Kuhls @ 2023-07-23  8:31 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>
---
v2: removed unneeded glibmm, added gtkmm3 dependencies (Thomas)

 package/transmission/Config.in       | 8 +++++++-
 package/transmission/transmission.mk | 2 +-
 2 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/package/transmission/Config.in b/package/transmission/Config.in
index fd4c897497..7ac18ae6d9 100644
--- a/package/transmission/Config.in
+++ b/package/transmission/Config.in
@@ -37,11 +37,17 @@ config BR2_PACKAGE_TRANSMISSION_DAEMON
 
 config BR2_PACKAGE_TRANSMISSION_GTK
 	bool "transmission-gtk"
+	depends on !BR2_nios2 # gtkmm3
+	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz -> gtkmm3
+	depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango -> gtkmm3
+	depends on BR2_USE_WCHAR # *mm/libgtk3 -> libglib2 -> gtkmm3
 	depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS
+	select BR2_PACKAGE_GTKMM3
 	help
 	  Install transmission GTK-based GUI interface.
 
-comment "transmission-gtk needs NLS enabled"
+comment "transmission-gtk needs libgtk3 and a toolchain with NLS enabled"
+	depends on !BR2_nios2
 	depends on BR2_PACKAGE_LIBGTK3 && !BR2_SYSTEM_ENABLE_NLS
 endif
 
diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk
index f3a200ced3..26deeefa34 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 += 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] 6+ messages in thread

* Re: [Buildroot] [PATCH 1/2] package/transmission: fix comment
  2023-07-23  8:31 [Buildroot] [PATCH 1/2] package/transmission: fix comment Bernd Kuhls
  2023-07-23  8:31 ` [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies Bernd Kuhls
@ 2023-07-23 14:00 ` Yann E. MORIN
  2023-08-29 20:18 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Yann E. MORIN @ 2023-07-23 14:00 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

Bernd, All,

On 2023-07-23 10:31 +0200, Bernd Kuhls spake thusly:
> The wrong condition was added with buildroot commit
> 80793107a65d95f8dfd0317a726d3a737c78ef67.
> 
> Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Applied to master, thanks.

Regards,
Yann E. MORIN.

> ---
>  package/transmission/Config.in | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/package/transmission/Config.in b/package/transmission/Config.in
> index 84bd85eeff..fd4c897497 100644
> --- a/package/transmission/Config.in
> +++ b/package/transmission/Config.in
> @@ -49,4 +49,4 @@ comment "transmission needs a toolchain w/ dynamic library, threads, C++, gcc >=
>  	depends on BR2_USE_MMU
>  	depends on !BR2_BINFMT_FLAT
>  	depends on !BR2_TOOLCHAIN_HAS_THREADS || !BR2_INSTALL_LIBSTDCPP || \
> -		!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || !BR2_STATIC_LIBS
> +		!BR2_TOOLCHAIN_GCC_AT_LEAST_7 || BR2_STATIC_LIBS
> -- 
> 2.39.2
> 
> _______________________________________________
> buildroot mailing list
> buildroot@buildroot.org
> https://lists.buildroot.org/mailman/listinfo/buildroot

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies
  2023-07-23  8:31 ` [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies Bernd Kuhls
@ 2023-07-23 14:19   ` Yann E. MORIN
  2023-08-29 20:18     ` Peter Korsgaard
  0 siblings, 1 reply; 6+ messages in thread
From: Yann E. MORIN @ 2023-07-23 14:19 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

Bernd, All,

On 2023-07-23 10:31 +0200, Bernd Kuhls spake thusly:
> 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>
> ---
> v2: removed unneeded glibmm, added gtkmm3 dependencies (Thomas)
> 
>  package/transmission/Config.in       | 8 +++++++-
>  package/transmission/transmission.mk | 2 +-
>  2 files changed, 8 insertions(+), 2 deletions(-)
> 
> diff --git a/package/transmission/Config.in b/package/transmission/Config.in
> index fd4c897497..7ac18ae6d9 100644
> --- a/package/transmission/Config.in
> +++ b/package/transmission/Config.in
> @@ -37,11 +37,17 @@ config BR2_PACKAGE_TRANSMISSION_DAEMON
>  
>  config BR2_PACKAGE_TRANSMISSION_GTK
>  	bool "transmission-gtk"
> +	depends on !BR2_nios2 # gtkmm3
> +	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz -> gtkmm3
> +	depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango -> gtkmm3
> +	depends on BR2_USE_WCHAR # *mm/libgtk3 -> libglib2 -> gtkmm3

C++ and xide-char are alrady dependencies of transmission, so no need to
replicate them here (yeah, the rule is fuzzy and unwritten, and there is
historical baggage where they are replicated).

>  	depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS
> +	select BR2_PACKAGE_GTKMM3
>  	help
>  	  Install transmission GTK-based GUI interface.
>  
> -comment "transmission-gtk needs NLS enabled"
> +comment "transmission-gtk needs libgtk3 and a toolchain with NLS enabled"
> +	depends on !BR2_nios2
>  	depends on BR2_PACKAGE_LIBGTK3 && !BR2_SYSTEM_ENABLE_NLS

Still, the sync-4 dependency is missing here, no?

Applied to master with the above changes, thanks.

Regards,
Yann E. MORIN.

>  endif
>  
> diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk
> index f3a200ced3..26deeefa34 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 += 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

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 561 099 427 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH 1/2] package/transmission: fix comment
  2023-07-23  8:31 [Buildroot] [PATCH 1/2] package/transmission: fix comment Bernd Kuhls
  2023-07-23  8:31 ` [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies Bernd Kuhls
  2023-07-23 14:00 ` [Buildroot] [PATCH 1/2] package/transmission: fix comment Yann E. MORIN
@ 2023-08-29 20:18 ` Peter Korsgaard
  2 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2023-08-29 20:18 UTC (permalink / raw)
  To: Bernd Kuhls; +Cc: buildroot

>>>>> "Bernd" == Bernd Kuhls <bernd@kuhls.net> writes:

 > The wrong condition was added with buildroot commit
 > 80793107a65d95f8dfd0317a726d3a737c78ef67.

 > Signed-off-by: Bernd Kuhls <bernd@kuhls.net>

Committed to 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* Re: [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies
  2023-07-23 14:19   ` Yann E. MORIN
@ 2023-08-29 20:18     ` Peter Korsgaard
  0 siblings, 0 replies; 6+ messages in thread
From: Peter Korsgaard @ 2023-08-29 20:18 UTC (permalink / raw)
  To: Yann E. MORIN; +Cc: Bernd Kuhls, buildroot

>>>>> "Yann" == Yann E MORIN <yann.morin.1998@free.fr> writes:

 > Bernd, All,
 > On 2023-07-23 10:31 +0200, Bernd Kuhls spake thusly:
 >> 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>
 >> ---
 >> v2: removed unneeded glibmm, added gtkmm3 dependencies (Thomas)
 >> 
 >> package/transmission/Config.in       | 8 +++++++-
 >> package/transmission/transmission.mk | 2 +-
 >> 2 files changed, 8 insertions(+), 2 deletions(-)
 >> 
 >> diff --git a/package/transmission/Config.in b/package/transmission/Config.in
 >> index fd4c897497..7ac18ae6d9 100644
 >> --- a/package/transmission/Config.in
 >> +++ b/package/transmission/Config.in
 >> @@ -37,11 +37,17 @@ config BR2_PACKAGE_TRANSMISSION_DAEMON
 >> 
 >> config BR2_PACKAGE_TRANSMISSION_GTK
 >> bool "transmission-gtk"
 >> +	depends on !BR2_nios2 # gtkmm3
 >> +	depends on BR2_TOOLCHAIN_HAS_SYNC_4 # pangomm, libgtk3 -> pango -> harfbuzz -> gtkmm3
 >> +	depends on BR2_INSTALL_LIBSTDCPP # glibmm, libpangomm -> glibmm/pango -> gtkmm3
 >> +	depends on BR2_USE_WCHAR # *mm/libgtk3 -> libglib2 -> gtkmm3

 > C++ and xide-char are alrady dependencies of transmission, so no need to
 > replicate them here (yeah, the rule is fuzzy and unwritten, and there is
 > historical baggage where they are replicated).

 >> depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS
 >> +	select BR2_PACKAGE_GTKMM3
 >> help
 >> Install transmission GTK-based GUI interface.
 >> 
 >> -comment "transmission-gtk needs NLS enabled"
 >> +comment "transmission-gtk needs libgtk3 and a toolchain with NLS enabled"
 >> +	depends on !BR2_nios2
 >> depends on BR2_PACKAGE_LIBGTK3 && !BR2_SYSTEM_ENABLE_NLS

 > Still, the sync-4 dependency is missing here, no?

 > Applied to master with the above changes, thanks.

Committed to 2023.05.x, thanks.

-- 
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2023-08-29 20:19 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-23  8:31 [Buildroot] [PATCH 1/2] package/transmission: fix comment Bernd Kuhls
2023-07-23  8:31 ` [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies Bernd Kuhls
2023-07-23 14:19   ` Yann E. MORIN
2023-08-29 20:18     ` Peter Korsgaard
2023-07-23 14:00 ` [Buildroot] [PATCH 1/2] package/transmission: fix comment Yann E. MORIN
2023-08-29 20:18 ` Peter Korsgaard

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.