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

Bug 180937

Summary: www-apps/mozilla-launcher: waste dependency to x11-apps/xdpyinfo
Product: Gentoo Linux Reporter: Enrico 'nekrad' Weigelt <weigelt>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Enrico 'nekrad' Weigelt 2007-06-05 09:51:19 UTC
www-apps/mozilla-launcher has an totally useless dependency to x11-apps/xdpyinfo.


Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-06-05 09:56:00 UTC
  # If xdpyinfo isn't installed, then this will just check $DISPLAY
  screens=("$DISPLAY"
    $(xdpyinfo 2>/dev/null | awk '
      /^name of display:/ {
        disp = substr($NF, 0, match($NF, /\.[^.]*$/)-1)
      }
      /^number of screens:/ {
        for (i = 0; i < $NF; i++) {
          this = sprintf("%s.%d", disp, i)
          if (this != ENVIRON["DISPLAY"])
            print this
        }
      }')
    )

Kindly do some research before filing bugs. Thanks!