transmission: fix build without gtk and NLS disabled
PATCH 1/1 transmission: fix build without gtk and NLS disabled
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/
---
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(-)
package/transmission/transmission.mk +2 -2
@@ -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))
Signature · 1 line
2.14.1
PATCH 1/1 transmission: fix build without gtk and NLS disabled
Am Mon, 21 Aug 2017 07:27:16 +0300 schrieb Baruch Siach:
Quoted 4 lines
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
PATCH 1/1 transmission: fix build without gtk and NLS disabled
Hi Bernd,
Quoted 8 lines · Bernd Kuhls
Am Mon, 21 Aug 2017 07:27:16 +0300 schrieb Baruch Siach:
Quoted 4 lines
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
Signature · 3 lines
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 -