Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 93622 - gtk+: experimental improvement suggestion
Summary: gtk+: experimental improvement suggestion
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: Highest enhancement (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: /dev/null
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-22 18:29 UTC by Reporter
Modified: 2005-09-18 02:44 UTC (History)
0 users

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 Reporter 2005-05-22 18:29:22 UTC
ABSTRACT

Separate USE flags for gtk and gtk2 have been confusing users for such a long 
time; when the practical solution is so close: virtual/gtk+!


                                   MOTIVATION

First off, full credit should go to gentoo's Motif team, without their valuable 
inspiration I would have never been able to come up with this excellent idea! 
Up until January 2005 Motif was just as confusing as gtk+; there was a motif 
USE flag which enabled optional motif support in applications; and an 
additional lesstif flag if said application also supports lesstif. 

Confusing!


                                   RATIONALE

With current ~ebuilds, all lesstif/motif ebuilds PROVIDE virtual/motif; and all 
applications and libraries using it will just have to depend on virtual/motif. 
This EIS (experimental improvement suggenstion) suggests to do the same thing 
for all gtk+ applications.


                                 IMPLEMENTATION

1. Drop gtk/gtk2 madness! All gtk+ ebuilds, version1, version2, and all future 
   versions, PROVIDE virtual/gtk+. Don't worry about missing binary 
   compatibility; users are always free to use revdep-rebuild! virtual/motif is 
   currently PROVIDEd by FOUR binary incompatible implementations, and the 
   motif folks have absolutely convinced me that's the way to go!

2. All gtk+ clients will just have to depend on virtual/gtk+.

3. Create a x11-libs/gtk-config package that installs /usr/bin/gtk-config, so 
   users can set their preference on what gtk+ toolkit to use when emerging. 
   Don't worry if not all apps/libs will work with gtk1/2/3; motif doesn't 
   either! gtk-config already provided by gtk1? doesn't matter, lesstif also 
   comes with motif-config. Just delete it in src_install()! User preferences? 
   Nothing to worry about, Motif folks have promised to think about a solution 
   once x11-libs/motif-config has gone stable. But curent progress has 
   convinced me the same solution will work in gtk-config as well! Files not 
   present in all virtuals? Nothing to worry about either; rm -f is your friend.

4. Once virtual/gtk+ becomes a SUCCESS, those virtuall/motif doubters will 
   finally shut up!


                                     FUTURE

5. Think about a new USE flag: nogtk! Qite a silimiar thing (nomotif) is 
   already in use in app-text/xpdf; and all the arguments for it are sooooooooo 
   convincing; I liked it AT ONCE!

6. Just as motif-config, gtk-config -s should also switch window managers.



  With Kind Regards,
  
  Yours
  
    reporter
Comment 1 foser (RETIRED) gentoo-dev 2005-06-02 12:58:00 UTC
This is so groundbreaking mr.Wurst should probably have bodyguards around him
24/7 to protect him from evil multi-billion dollar global corporations who might
not want the population to know about this radical new approach. To protect
mr.Wurst from his own incredible genius, the right thing to do is to send this
bug as soon to the provided URL as possible.
Comment 2 Mike Gardiner (RETIRED) gentoo-dev 2005-09-18 02:44:27 UTC
...