Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 152200 - interface useflag addition to net-im/gaim-2.0.0beta4
Summary: interface useflag addition to net-im/gaim-2.0.0beta4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
: 152201 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-10-21 01:56 UTC by wimmer anton
Modified: 2006-12-23 00:26 UTC (History)
6 users (show)

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


Attachments
gaim-newflags.patch (gaim-moreflags.patch,2.83 KB, patch)
2006-11-17 07:31 UTC, Georgi Georgiev
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description wimmer anton 2006-10-21 01:56:10 UTC
As of gaim-2.0.0beta4 gaim offers a CLI in addition to the standard gtk+ interface. Maybe useflags should be added to enable the user to choose which interface(s) he prefers to be compiled.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-21 02:14:35 UTC
*** Bug 152201 has been marked as a duplicate of this bug. ***
Comment 2 wimmer anton 2006-10-21 02:21:47 UTC
(In reply to comment #1)
> *** Bug 152201 has been marked as a duplicate of this bug. ***
> 

argh sry for double posting
Comment 3 Jory A. Pratt 2006-10-23 17:06:51 UTC
This will happen later it requires major changes in the ebuild to make it practical.
Comment 4 Priit Laes (IRC: plaes) 2006-10-25 02:26:37 UTC
Well, we already have gtk USE flag, so we can utilize this whether to build gaim w/ gtk support or just text-version of gaim.
Comment 5 Georgi Georgiev 2006-11-17 07:31:37 UTC
Created attachment 102206 [details, diff]
gaim-newflags.patch

What about this patch, I've been using it for a while now with my gaim svn ebuilds.


Summary:
- ncurses
  new use flag, new dep, enables consoleui, warns if ncurses is w/o unicode
- gtk
  new use flag, conditional dep, enables gtkui
- spell, xscreensaver, eds, startup-notification
  make these DEPENDs conditional on gtk
- session-management
  new use flag, new dep (conditional on gtk), enables "sm" configure switch

Unrelated to this bug:
- sasl
  new use flag, new dep, enables cyrus-sasl support
- nas
  remove the use flag, not supported it seems
Comment 6 Kathryn Kulick (RETIRED) gentoo-dev 2006-12-19 21:04:01 UTC
Thank you, should be an adjust -r1 available shortly :)
Comment 7 David Morgan 2006-12-20 04:32:10 UTC
Surely it'd make sense to fall back to the gtk version if neither USE=gtk nor console is specified (in the interests of having sensible defaults and non-interactivity): this is what gaim's always been in the past, and it's what most people will expect (and probably what they want)...

It's kind of annoying when an upgrade fails for this reason *shrug* 
Comment 8 Georgi Georgiev 2006-12-20 04:41:45 UTC
(In reply to comment #7)
> Surely it'd make sense to fall back to the gtk version if neither USE=gtk nor
> console is specified (in the interests of having sensible defaults and
> non-interactivity): this is what gaim's always been in the past, and it's what
> most people will expect (and probably what they want)...

I'd mostly agree with what you're saying, but regardless, it is reasonable to assume that there are people who are compiling something that is not in portage but that utilizes the gaim library '(and nothing more than the gaim library, no gtk interface nor ncurses such) to communicate with Yahoo! ICQ etc. peers. So, my humble vote would be to let users shoot themselves in the feet as much as they like and not be over generous with the band aid.
Comment 9 Stephen Bennett (RETIRED) gentoo-dev 2006-12-20 06:22:14 UTC
Dieing based on USE flag combinations is not allowed. If one interface is required but neither flag is specified, please pick a default one and fall back to that.
Comment 10 Santiago Gala 2006-12-20 08:51:48 UTC
2.0.0_beta5 works here, 2.0.0_beta5-r1 stays forever without opening a socket of showing any user interface. seems to build all right.

Any clue? I'm using amd64
Comment 11 Jory A. Pratt 2006-12-21 09:48:59 UTC
(In reply to comment #7)
> Surely it'd make sense to fall back to the gtk version if neither USE=gtk nor
> console is specified (in the interests of having sensible defaults and
> non-interactivity): this is what gaim's always been in the past, and it's what
> most people will expect (and probably what they want)...
> 
> It's kind of annoying when an upgrade fails for this reason *shrug* 
> 

console is default now ... so your emerge will not die if neither console or gtk use flag are set.
Comment 12 Georgi Georgiev 2006-12-21 21:08:53 UTC
By the way, shouldn't the ncurses dependency be explicitly listed? ncurses is not in any system profile after all. It is true that bash pulls ncurses, which is in turn pulled by python, but hey, maybe there will be a time when portage is not required.
Comment 13 Georgi Georgiev 2006-12-23 00:26:13 UTC
Is there any specific reason why the GUI is enabled by an useflag named after the library (gtk) but the console interface is enabled by an useflag named after the functionality (console) and not the library (ncurses)?