Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 550662 - app-i18n/uim-1.8.6-r1: uim-pref-* does not build without USE=gtk
Summary: app-i18n/uim-1.8.6-r1: uim-pref-* does not build without USE=gtk
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor
Assignee: CJK Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-05-28 16:16 UTC by jyhpsycho
Modified: 2018-05-28 14:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
config.log output with USE='-gtk gtk3'. See "configure:32149: WARNING: uim-pref needs Gtk+ or Qt toolkit, disabled..." (config.log,284.37 KB, text/x-log)
2015-05-28 16:16 UTC, jyhpsycho
Details
patched ebuild. (uim-1.8.6-r1.ebuild,6.18 KB, text/plain)
2015-05-28 16:19 UTC, jyhpsycho
Details
patch file. (uim-1.8.6-r1.ebuild_default-tk.patch,674 bytes, patch)
2015-05-28 16:24 UTC, jyhpsycho
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description jyhpsycho 2015-05-28 16:16:02 UTC
Created attachment 404184 [details]
config.log output with USE='-gtk gtk3'. See "configure:32149: WARNING: uim-pref needs Gtk+ or Qt toolkit, disabled..."

configure script of uim package has '--enable-default-toolkit' option, and its default value is 'gtk'. It does not properly set if '--without-gtk2' option is given. For example, it does not set to 'gtk3' automatically when user specify only 'gtk3' USE flag. It causes "Pref : no" (and maybe some other side effects) on configure result, and uim-perf-gtk3 or uim-perf-qt4 does not built, at least.
Comment 1 jyhpsycho 2015-05-28 16:19:43 UTC
Created attachment 404186 [details]
patched ebuild.

I'll attach working ebuild file using portage overlay. It sets --enable-default-toolkit option properly on myconf variable before running econf.
Comment 2 jyhpsycho 2015-05-28 16:24:19 UTC
Created attachment 404188 [details, diff]
patch file.
Comment 3 Larry the Git Cow gentoo-dev 2018-05-28 14:56:15 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4774cff8971e892558198e043d8c9c7211fc594

commit e4774cff8971e892558198e043d8c9c7211fc594
Author:     Akinori Hattori <hattya@gentoo.org>
AuthorDate: 2018-05-28 14:32:34 +0000
Commit:     Akinori Hattori <hattya@gentoo.org>
CommitDate: 2018-05-28 14:55:58 +0000

    app-i18n/uim: specify default toolkit
    
    Closes: https://bugs.gentoo.org/550662
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 app-i18n/uim/uim-1.8.6-r1.ebuild | 1 +
 app-i18n/uim/uim-1.8.6-r2.ebuild | 1 +
 2 files changed, 2 insertions(+)