First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 62153
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: CJK Team <cjk@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: liuspider <liuspider@users.sourceforge.net>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 62153 depends on: Show dependency tree
Show dependency graph
Bug 62153 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-08-29 15:31 0000
Below are copied from /usr/portage/app-i18n/scim/scim-0.99.8.ebuild

RDEPEND="virtual/x11
    gnome? ( >=gnome-base/gconf-1.2
        >=dev-libs/libxml2-2.5
        >=gnome-base/orbit-2.8 )
    >=x11-libs/gtk+-2
    >=dev-libs/atk-1
    >=x11-libs/pango-1
    >=dev-libs/glib-2
    !app-i18n/scim-cvs
    !<app-i18n/scim-chinese-0.4.0"
DEPEND="${RDEPEND}
    dev-lang/perl"

scim-lib can be installed/compiled without gtk stuffs, if the user only wants KDE user interface (given he installs skim afterwards, he can use scim-lib without any problems)

So I think these four should be surrounded by gtk ? (...)
    >=x11-libs/gtk+-2
    >=dev-libs/atk-1
    >=x11-libs/pango-1
    >=dev-libs/glib-2

Thanks

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Mamoru KOMACHI (RETIRED) 2004-08-30 09:25:05 0000 -------
It does depend on GTK+ stuff. Try `ldd /usr/lib/scim-1.0/scim-panel-gtk`
and see gtk+2, atk, pango and glib are linked. If we cannot disable gtk 
stuff from scim-lib, we have to make scim-lib hard-depend on them. I made a 
patch to disable gtk2 features (gtk-utils) from scim (also added 
--disable-gtk2-immodule --disable-frontend-x11 --disable-setup-ui to 
configure flag), but skim won't run with the modified version of scim 
(it seems to need frontend-x11 and frontend-x11 requires scim-panel-gtk, 
which requires gtk).

If you know how to disable gtk2 completely (i.e. disable gtk2 even if 
it is installed), I'm happy to fix the ebuild. 

------- Comment #2 From liuspider 2004-09-03 20:35:54 0000 -------
scim-lib 1.0.0 is just released

A new configure parameter was introduced in this version: --disable-panel-gtk, and frontend-x11 does not depend on gtk-utils anymore

so it is possible now to disable gtk stuffs completely:
--disable-panel-gtk --disable-gtk2-immodule --disable-setup-ui

Another concern: IMO most users who do not want gtk user interfaces (panel-gtk and setup-ui) may still use gtk2 based applications, so I think gtk2-immodule should be enabled if gtk2 is installed even if -gtk is present in USE (Just remove --disable-gtk2-immodule in the configure parameters, and the configure script will compile gtk2-immodule if gtk2 is detected).

------- Comment #3 From Mamoru KOMACHI (RETIRED) 2004-09-03 21:51:29 0000 -------
Thanks for the headsup, I'll test and add it tonight.

As for gtk2 immodules, if we build them scim will depend on gtk2,
so there isn't any point changing DEPEND to not include gtk2.
If I leave gtk2 immodules and just change gtk interface, I will not 
change DEPEND but pass '--disable-panel-gtk  --disable-setup-ui' 
to configure script if USE="-gtk".

------- Comment #4 From liuspider 2004-09-04 07:32:53 0000 -------
I know what you mean.

But my point is that: if the user does not have gtk2 installed, then gtk2-immodule is useless to him, and we should not force him to install gtk2. What's your opinion?

------- Comment #5 From Mamoru KOMACHI (RETIRED) 2004-09-07 06:42:54 0000 -------
Fixed in CVS. Thanks.

First Last Prev Next    No search results available      Search page      Enter new bug