Bug 189350 - net-dialup/ppp: removal of gtk1-interface
Bug#: 189350 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: net-dialup@gentoo.org Reported By: hanno@gentoo.org
Component: Applications
URL: 
Summary: net-dialup/ppp: removal of gtk1-interface
Keywords:  
Status Whiteboard: 
Opened: 2007-08-18 11:35 0000
Description:   Opened: 2007-08-18 11:35 0000
ppp contains a gtk-useflag which builds a gtk1-interface. I doubt it's of much
use and it'll cause a system with gtk useflag to fetch in gtk1-deps.

I'd suggest to just remove that.

------- Comment #1 From Samuli Suominen 2007-08-18 11:38:17 0000 -------
In fact, I've noticed it's a automagic dep.. even if you USE="-gtk" ppp, it
ends up linking against GTK+-1.2 if it's found in system. :(

------- Comment #2 From Alin Năstac 2007-08-18 12:27:35 0000 -------
(In reply to comment #0)
Actually it is very useful for paranoid people who doesn't like storing their
PPP passwords in files. For those, pppd has a plugin called passprompt. When
gtk useflag is enabled, the /usr/sbin/pppgetpass looks like this:
#!/bin/sh

if [ -z "$DISPLAY" ]; then
  exec pppgetpass.vt "$@"
else
  exec pppgetpass.gtk "$@"
fi

I would say this functionality is too neat to loose.

(In reply to comment #1)
What program/library is liked against GTK-1? Did you checked with equery uses
ppp?

------- Comment #3 From Samuli Suominen 2007-08-20 14:25:08 0000 -------
(In reply to comment #2)

> (In reply to comment #1)
> What program/library is liked against GTK-1? Did you checked with equery uses
> ppp?
> 

Installing the stuff back to give some output, until then ignore me.

------- Comment #4 From Alin Năstac 2007-08-31 08:49:28 0000 -------
Turns out it can use gtk2 just as well.

Fixed in ppp-2.4.4-r12. Right now this revision is pmasked, but I will unmask
it as soon as solution for bug 190143 is tested.