All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] transmission: fix build without gtk and NLS disabled
@ 2017-08-21  4:27 Baruch Siach
  2017-08-21  5:32 ` Bernd Kuhls
  0 siblings, 1 reply; 3+ messages in thread
From: Baruch Siach @ 2017-08-21  4:27 UTC (permalink / raw)
  To: buildroot

The transmission configure script uses with/without instead of
enable/disable to control GTK support. So gtk support was never really
disabled. That broke the build when transmission happened to build after
libgtk3 with NLS disabled.

Fixes:
http://autobuild.buildroot.net/results/e83/e83e112957bbb9b49060fb2b7a5d391b2748b493/
http://autobuild.buildroot.net/results/f5a/f5a77a1ea448498ebd451e4ab308fa647f0a5506/
http://autobuild.buildroot.net/results/d21/d210711ae09d3fb4c6b597c77a457458451a819a/

Cc: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
---

This also reveals the fact that transmission needs gtk3 not gtk2. But
that's for another patch (after a lengthy build).
---
 package/transmission/transmission.mk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/transmission/transmission.mk b/package/transmission/transmission.mk
index f8abb2b8baea..d84e5cb77ded 100644
--- a/package/transmission/transmission.mk
+++ b/package/transmission/transmission.mk
@@ -82,10 +82,10 @@ TRANSMISSION_CONF_OPTS += --disable-remote
 endif
 
 ifeq ($(BR2_PACKAGE_TRANSMISSION_GTK),y)
-TRANSMISSION_CONF_OPTS += --enable-gtk
+TRANSMISSION_CONF_OPTS += --with-gtk
 TRANSMISSION_DEPENDENCIES += libgtk2
 else
-TRANSMISSION_CONF_OPTS += --disable-gtk
+TRANSMISSION_CONF_OPTS += --without-gtk
 endif
 
 $(eval $(autotools-package))
-- 
2.14.1

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

* [Buildroot] [PATCH] transmission: fix build without gtk and NLS disabled
  2017-08-21  4:27 [Buildroot] [PATCH] transmission: fix build without gtk and NLS disabled Baruch Siach
@ 2017-08-21  5:32 ` Bernd Kuhls
  2017-08-21  6:09   ` Baruch Siach
  0 siblings, 1 reply; 3+ messages in thread
From: Bernd Kuhls @ 2017-08-21  5:32 UTC (permalink / raw)
  To: buildroot

Am Mon, 21 Aug 2017 07:27:16 +0300 schrieb Baruch Siach:

> The transmission configure script uses with/without instead of
> enable/disable to control GTK support. So gtk support was never really
> disabled. That broke the build when transmission happened to build after
> libgtk3 with NLS disabled.

Hi Baruch,

a patch like yours is already available:
http://patchwork.ozlabs.org/patch/786301/

Regards, Bernd

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

* [Buildroot] [PATCH] transmission: fix build without gtk and NLS disabled
  2017-08-21  5:32 ` Bernd Kuhls
@ 2017-08-21  6:09   ` Baruch Siach
  0 siblings, 0 replies; 3+ messages in thread
From: Baruch Siach @ 2017-08-21  6:09 UTC (permalink / raw)
  To: buildroot

Hi Bernd,

On Mon, Aug 21, 2017 at 07:32:27AM +0200, Bernd Kuhls wrote:
> Am Mon, 21 Aug 2017 07:27:16 +0300 schrieb Baruch Siach:
> > The transmission configure script uses with/without instead of
> > enable/disable to control GTK support. So gtk support was never really
> > disabled. That broke the build when transmission happened to build after
> > libgtk3 with NLS disabled.
> 
> a patch like yours is already available:
> http://patchwork.ozlabs.org/patch/786301/

What is blocking that patch?

Anyway, I marked this one as rejected.

Do you plan to update the gtk dependency to gtk3?

baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

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

end of thread, other threads:[~2017-08-21  6:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-08-21  4:27 [Buildroot] [PATCH] transmission: fix build without gtk and NLS disabled Baruch Siach
2017-08-21  5:32 ` Bernd Kuhls
2017-08-21  6:09   ` Baruch Siach

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.