Added screenresolution 1.6 #14279

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@shazron
shazron commented Aug 18, 2012

Change your screen resolution from the command-line. For the Retina Macbook Pro, you can change it to the max resolution by running:
screenresolution set 2880x1800x32@0

@adamv
adamv commented Sep 7, 2012

Note: self-submission, but project looks active, useful.

@pyro2927

If non-authors can vote, I vote this be included.

@pyro2927

It doesn't seem to build on my machine though:

joe@Soren-066 ~ $ brew install https://raw.github.com/shazron/homebrew/25c2ac6e521e095ef236ccdc8d27f7b1f970bdc5/Library/Formula/screenresolution.rb
######################################################################## 100.0%
==> Downloading https://github.com/shazron/screenresolution/tarball/1.6
######################################################################## 100.0%
==> make DESTDIR= PREFIX=/usr/local/Cellar/screenresolution/1.6 install
brew: superenv removed: -m64
lipo -arch i386 screenresolution32 -arch x86_64 screenresolution64 \
        -create -output screenresolution
lipo: specifed architecture type (i386) for file (screenresolution32) does not match its cputype (16777223) and cpusubtype (3) (should be cputype (7) and cpusubtype (3))
make: *** [screenresolution] Error 1

Error: screenresolution did not build
Logs: /Users/joe/Library/Logs/Homebrew/screenresolution/
Help: https://github.com/mxcl/homebrew/wiki/troubleshooting
      https://github.com/mxcl/homebrew/issues/14279
@adamv
adamv commented Oct 24, 2012

Building a fat binary makes sense for distributing the binary, but in Homebrew we prefer not to.

@adamv
adamv commented Nov 5, 2012

For inclusion in Homebrew this needs to be changed to not build fat binaries by default; we build 32-bit or 64-bit intel based on the OS and CPU.

@adamv
adamv commented Jan 1, 2013

This doesn't compile out-of-the-box for me either (version 1.7); fails with linker errors.

Passing on this for now, though it does look useful enough for inclusion.

For reference, Homebrew prefers that the compiler NOT be hard-coded in the make file, or at least, the make invocation should override with what Homebrew determines as the best compiler; also, we prefer to build either 32 bit or 64 bit depending on the hardware/OS preference, rather than building fat binaries by default.

@adamv adamv closed this Jan 1, 2013
@xu-cheng xu-cheng locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.