Skip to content

Commit 46d3aad

Browse files
committed
Merge branch 'master' of github.com:jcupitt/ruby-vips
2 parents cf1c796 + 0fa9b4c commit 46d3aad

File tree

1 file changed

+21
-18
lines changed

1 file changed

+21
-18
lines changed

README.md

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,39 +61,42 @@ Install [homebrew](http://mxcl.github.com/homebrew) and enter:
6161

6262
```bash
6363
$ brew tap homebrew/science
64-
$ brew install vips --with-cfitsio --with-fftw --with-imagemagick \
65-
--with-libexif --with-liboil --with-libtiff --with-little-cms \
66-
--with-openexr --with-openslide --with-pango
64+
$ brew install vips
65+
```
66+
67+
You may see some harmless warnings.
68+
69+
To verify that your vips install is working, try:
70+
71+
```bash
72+
$ vips --version
73+
vips-7.42.1-Sat Dec 27 12:01:43 GMT 2014
6774
```
6875

6976
libvips has a lot of optional dependencies. You
70-
may not need all of them. See [the notes
77+
may not need all of them. True `brew info vips` to see what you have enabled
78+
and what is disabled. See also [the notes
7179
here](http://www.vips.ecs.soton.ac.uk/index.php?title=Build_on_OS_X) for
7280
more information.
7381

7482
If you want to build things outside homebrew which depend on vips,
75-
such as ruby-vips, your pkg-config will need to be working. You
76-
need to point pkg-config at the homebrew area, and, additionally, at
77-
homebrew's libxml2 area:
78-
79-
In your .profile, add something like:
83+
such as ruby-vips, your pkg-config will need to be working. To test
84+
`pkg-config`, try:
8085

8186
```bash
82-
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig
87+
$ pkg-config vips --modversion
8388
```
8489

85-
To verify that your vips install is correct and working, try:
86-
87-
```bash
88-
$ vips --version
89-
vips-7.36.4-Tue Nov 19 12:22:47 GMT 2013
90-
```
90+
If you see a version number, you are OK. If you don't, either update your
91+
homebrew, or try adjusting `PKG_CONFIG_PATH`. At various times homebrew has
92+
needed various settings. You might need to point it at homebrew or even at
93+
libxml2.
9194

92-
To verify that your pkg-config is working correctly with vips, try:
95+
To verify that your `pkg-config` is working correctly with vips, try:
9396

9497
```bash
9598
$ pkg-config vips --libs
96-
-L/usr/local/Cellar/vips/7.36.4/lib ... a lot of stuff
99+
-L/usr/local/Cellar/vips/7.42.1/lib ... a lot of stuff
97100
```
98101

99102
TODO: Describe & test with macports.

0 commit comments

Comments
 (0)