Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180937 - www-apps/mozilla-launcher: waste dependency to x11-apps/xdpyinfo
Summary: www-apps/mozilla-launcher: waste dependency to x11-apps/xdpyinfo
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-05 09:51 UTC by Enrico 'nekrad' Weigelt
Modified: 2007-06-05 09:56 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 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!