Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 86822

Summary: motif-config feature request
Product: Gentoo Linux Reporter: Martin Flugeldufel <martin_flugeldufel>
Component: [OLD] UnspecifiedAssignee: Heinrich Wendel (RETIRED) <lanius>
Status: RESOLVED INVALID    
Severity: normal CC: dragonheart
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Flugeldufel 2005-03-26 19:23:58 UTC
Problem:
  Motif applications will be built against whatever version motif-config 
  considers to be the "current profile". Some apps work best with a specific 
  version, others just plain break with Lesstif (using XmComboBox, f.example).
  That's probably not a major problem when emerging an application for the 
  first time, but certainly is when more than one are updated at once.

Solution:
  Make motif applications listen to a "lesstif" USE flag, similar to "gtk2", 
  "xaw3d", etc., so even when mass-updating the user's preferences are 
  remembered per ebuild.
Comment 1 Daniel Black (RETIRED) gentoo-dev 2005-03-26 22:10:22 UTC
/etc/portage/package.use can be used to store individual use flags per package. see man portage for details.
Comment 2 Martin Flugeldufel 2005-03-27 19:23:03 UTC
That's actually what I'm suggesting and also how things worked until late 2004. 
Unfortunately, with the advent of "motif-config" there IS nothing one could
put in "portage.use".
Comment 3 Heinrich Wendel (RETIRED) gentoo-dev 2005-03-28 09:34:12 UTC
If apps don't work with a specified version of motif they should depend on the version that works, they can get the includes and linking flags from motif-config with motif-config -I and motif-config -L.