Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 574234 - app-i18n/scim - missing dependencies
Summary: app-i18n/scim - missing dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PATCH
: 648930 648970 649064 (view as bug list)
Depends on:
Blocks:
 
Reported: 2016-02-09 10:43 UTC by Michael Palimaka (kensington)
Modified: 2024-05-31 11:59 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Palimaka (kensington) gentoo-dev 2016-02-09 10:43:09 UTC
app-i18n/scim has a number of missing/automagic dependencies, including Qt.

When handling Qt support, the correct path to moc needs to be provided:

--- a/app-i18n/scim/scim-1.4.14.ebuild
+++ b/app-i18n/scim/scim-1.4.14.ebuild
@@ -3,7 +3,7 @@
 # $Id$
 
 EAPI="4"
-inherit eutils flag-o-matic multilib gnome2-utils autotools-utils
+inherit eutils flag-o-matic multilib gnome2-utils autotools-utils qmake-utils
 
 DESCRIPTION="Smart Common Input Method (SCIM) is an Input Method (IM) development platform"
 HOMEPAGE="http://www.scim-im.org/"
@@ -50,6 +50,7 @@ src_configure() {
        local myeconfargs=(
                $(use_with doc doxygen)
                --enable-ld-version-script
+               --with-qt4-moc="$(qt4_get_bindir)/moc"
                $gtk_version
        )
        autotools-utils_src_configure


 * Checking app-i18n/scim-1.4.14 for undeclared dependencies
 *   /usr/lib64/scim-1.0/1.4.0/SetupUI/aaa-imengine-setup.so links to /usr/lib64/libgdk_pixbuf-2.0.so.0
 *     Missing DEPEND on x11-libs/gdk-pixbuf
 *     Missing RDEPEND on x11-libs/gdk-pixbuf
 *   /usr/lib64/scim-1.0/1.4.0/SetupUI/panel-gtk-setup.so links to /usr/lib64/libcairo.so.2
 *     Missing DEPEND on x11-libs/cairo
 *     Missing RDEPEND on x11-libs/cairo
 *   /usr/lib64/scim-1.0/1.4.0/SetupUI/panel-gtk-setup.so links to /usr/lib64/libfontconfig.so.1
 *     Missing DEPEND on media-libs/fontconfig
 *     Missing RDEPEND on media-libs/fontconfig
 *   /usr/lib64/scim-1.0/1.4.0/SetupUI/panel-gtk-setup.so links to /usr/lib64/libfreetype.so.6
 *     Missing DEPEND on media-libs/freetype
 *     Missing RDEPEND on media-libs/freetype
 *   /usr/lib64/gtk-3.0/3.0.0/immodules/im-scim.so links to /usr/lib64/libcairo-gobject.so.2
 *     Missing DEPEND on x11-libs/cairo
 *     Missing RDEPEND on x11-libs/cairo
 *   /usr/lib64/qt4/qt4/plugins/inputmethods/im-scim.so links to /usr/lib64/qt4/libQtGui.so.4
 *     Missing DEPEND on dev-qt/qtgui
 *     Missing RDEPEND on dev-qt/qtgui
 *   /usr/lib64/qt4/qt4/plugins/inputmethods/im-scim.so links to /usr/lib64/qt4/libQtCore.so.4
 *     Missing DEPEND on dev-qt/qtcore
 *     Missing RDEPEND on dev-qt/qtcore
 *   /usr/lib64/libscim-1.0.so.8.2.6 links to /usr/lib64/libltdl.so.7
 *     Missing DEPEND on dev-libs/libltdl
 *     Missing RDEPEND on dev-libs/libltdl
Comment 1 Andreas Sturmlechner gentoo-dev 2018-01-07 21:17:49 UTC
ping, anyone here?
Comment 2 Andreas Sturmlechner gentoo-dev 2018-02-27 10:41:09 UTC
*** Bug 648930 has been marked as a duplicate of this bug. ***
Comment 3 Andreas Sturmlechner gentoo-dev 2018-02-27 10:42:51 UTC
FTR, any solution to this bug should hard-disable Qt4.
Comment 4 Andreas Sturmlechner gentoo-dev 2018-02-27 17:54:05 UTC
*** Bug 648970 has been marked as a duplicate of this bug. ***
Comment 5 zlg (RETIRED) gentoo-dev 2018-02-27 21:37:41 UTC
Adding '--disable-qt4-immodule' to the econf call will at least fix the build issue and SCIM will run. May as well add '--disable-qt3-immodule' too, even though we haven't had Qt3 for quite a while. Upstream doesn't appear to have Qt5 support yet so we're limited to GTK2 and GTK3.
Comment 6 Andreas Sturmlechner gentoo-dev 2018-03-03 16:45:58 UTC
*** Bug 649064 has been marked as a duplicate of this bug. ***
Comment 7 Larry the Git Cow gentoo-dev 2018-03-08 19:33:05 UTC
The bug has been referenced in the following commit(s):

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

commit a680b7ff0a201cfd7270f2d1cd41ca079967173c
Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
AuthorDate: 2018-03-08 19:21:03 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2018-03-08 19:32:51 +0000

    app-i18n/scim: Fix automagic dependencies on Qt 4.
    
    Bug: https://bugs.gentoo.org/574234

 app-i18n/scim/scim-1.4.14.ebuild | 13 ++++++++++---
 app-i18n/scim/scim-1.4.17.ebuild | 13 ++++++++++---
 app-i18n/scim/scim-1.4.18.ebuild | 13 ++++++++++---
 3 files changed, 30 insertions(+), 9 deletions(-)}
Comment 8 Pacho Ramos gentoo-dev 2018-06-19 06:58:01 UTC
(In reply to Larry the Git Cow from comment #7)
> The bug has been referenced in the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=a680b7ff0a201cfd7270f2d1cd41ca079967173c
> 
> commit a680b7ff0a201cfd7270f2d1cd41ca079967173c
> Author:     Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>
> AuthorDate: 2018-03-08 19:21:03 +0000
> Commit:     Mike Gilbert <floppym@gentoo.org>
> CommitDate: 2018-03-08 19:32:51 +0000
> 
>     app-i18n/scim: Fix automagic dependencies on Qt 4.
>     
>     Bug: https://bugs.gentoo.org/574234
> 
>  app-i18n/scim/scim-1.4.14.ebuild | 13 ++++++++++---
>  app-i18n/scim/scim-1.4.17.ebuild | 13 ++++++++++---
>  app-i18n/scim/scim-1.4.18.ebuild | 13 ++++++++++---
>  3 files changed, 30 insertions(+), 9 deletions(-)}


the deps were fixed here, right?
Comment 9 Arfrever Frehtes Taifersar Arahesis 2018-06-19 17:44:58 UTC
Only Qt-related dependencies were fixed.
Comment 10 Andreas Sturmlechner gentoo-dev 2020-07-02 13:39:22 UTC
No longer has to block bug 544108 then.
Comment 11 Larry the Git Cow gentoo-dev 2024-05-31 11:59:05 UTC
The bug has been closed via the following commit(s):

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

commit 8fb5c71aadf6bcc5951f7e92883bb6853534f33c
Author:     Arthur Zamarin <arthurzam@gentoo.org>
AuthorDate: 2024-05-31 11:57:41 +0000
Commit:     Arthur Zamarin <arthurzam@gentoo.org>
CommitDate: 2024-05-31 11:58:52 +0000

    app-i18n/scim: EAPI=8, deps fixes, enable tests
    
    Closes: https://bugs.gentoo.org/891457
    Closes: https://bugs.gentoo.org/865485
    Closes: https://bugs.gentoo.org/841593
    Closes: https://bugs.gentoo.org/836019
    Closes: https://bugs.gentoo.org/574234
    Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org>

 app-i18n/scim/scim-1.4.18-r1.ebuild | 129 ++++++++++++++++++++++++++++++++++++
 1 file changed, 129 insertions(+)