Skip to contentSkip to conversation

package/transmission: fix comment

PATCH Applied Bernd Kuhls 3 participants 6 messages Jul 23, 2023 – Aug 29, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 package/transmission: fix comment

The wrong condition was added with buildroot commit 80793107a65d95f8dfd0317a726d3a737c78ef67.

---
 package/transmission/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/transmission/Config.in +1 -1
index 84bd85eeff..fd4c897497 100644
@@ -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
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw

PATCH v2 2/2 package/transmission: fix gtk dependencies

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

---
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(-)
package/transmission/Config.in +7 -1
index fd4c897497..7ac18ae6d9 100644
@@ -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
 
package/transmission/transmission.mk +1 -1
index f3a200ced3..26deeefa34 100644
@@ -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
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#2 lore raw

Re: [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies

Bernd, All,

On 2023-07-23 10:31 +0200, Bernd Kuhls spake thusly:

Quoted 17 lines

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

---
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(-)
package/transmission/Config.in +0 -0
index fd4c897497..7ac18ae6d9 100644

package/transmission/Config.in config BR2_PACKAGE_TRANSMISSION_DAEMON · line 43

Quoted 7 lines
package/transmission/Config.in +4 -0
@@ -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).

package/transmission/Config.in config BR2_PACKAGE_TRANSMISSION_DAEMON · line 51

Quoted 9 lines
package/transmission/Config.in +3 -1
 	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.

Quoted 22 lines
package/transmission/Config.in +0 -0
 endif
 
package/transmission/transmission.mk +1 -1
index f3a200ced3..26deeefa34 100644
@@ -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
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#3 lore raw

Re: [Buildroot] [PATCH v2 2/2] package/transmission: fix gtk dependencies

Quoted 38 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Yann" == Yann E MORIN <[email protected]> writes:

Bernd, All,
On 2023-07-23 10:31 +0200, Bernd Kuhls spake thusly:

Quoted 20 lines

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

---
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(-)
package/transmission/Config.in +0 -0
index fd4c897497..7ac18ae6d9 100644
@@ -37,11 +37,17 @@ config BR2_PACKAGE_TRANSMISSION_DAEMON
 

config BR2_PACKAGE_TRANSMISSION_GTK
bool "transmission-gtk"

package/transmission/Config.in config BR2_PACKAGE_TRANSMISSION_DAEMON · line 43

Quoted 4 lines
package/transmission/Config.in +4 -0
+	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).

Quoted 5 lines

depends on BR2_PACKAGE_LIBGTK3 && BR2_SYSTEM_ENABLE_NLS

package/transmission/Config.in +1 -0
+	select BR2_PACKAGE_GTKMM3

help
Install transmission GTK-based GUI interface.

Quoted 8 lines
Quoted 4 lines
package/transmission/Config.in +2 -1
-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.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#4 lore raw
In reply to Bernd Kuhls

Bernd, All,

On 2023-07-23 10:31 +0200, Bernd Kuhls spake thusly:

Quoted 4 lines

The wrong condition was added with buildroot commit 80793107a65d95f8dfd0317a726d3a737c78ef67.

Applied to master, thanks.

Regards,
Yann E. MORIN.

Quoted 21 lines
---
 package/transmission/Config.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/transmission/Config.in +1 -1
index 84bd85eeff..fd4c897497 100644
@@ -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
Signature · 6 lines
2.39.2

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------.
|  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
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#5 lore raw
In reply to Bernd Kuhls
Quoted 6 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

The wrong condition was added with buildroot commit 80793107a65d95f8dfd0317a726d3a737c78ef67.

Committed to 2023.05.x, thanks.

Signature · 5 lines
Bye, Peter Korsgaard
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot