diff options
-rw-r--r-- | Makefile | 7 | ||||
-rw-r--r-- | README | 16 |
2 files changed, 17 insertions, 6 deletions
@@ -1,5 +1,3 @@ -# ok, our Makefile slightly sucks at the moment - CC = gcc CFLAGS=-Wall -std=c99 @@ -11,13 +9,10 @@ all: -shared -fpic -DGDK_PIXBUF_ENABLE_BACKEND clean: + rm libpixbufloader-psd.so install: chmod 644 libpixbufloader-psd.so mkdir -p $(DESTDIR)/usr/lib/gtk-2.0/2.10.0/loaders/ cp libpixbufloader-psd.so $(DESTDIR)/usr/lib/gtk-2.0/2.10.0/loaders/ -# and then run the following as root: -# gdk-pixbuf-query-loaders libpixbufloader-psd.so >> /etc/gtk-2.0/gdk-pixbuf.loaders - - @@ -0,0 +1,16 @@ +Installation instructions + +$ tar xvf gdk-pixbuf-psd_20081217.tar.gz +$ cd gdk-pixbuf-psd_20081217 +$ make +$ sudo cp libpixbufloader-psd.so /usr/lib/gtk-2.0/2.10.0/loaders/ + +Make sure the above path is correct on your system. Now you need to setup loader with gdk-pixbuf-query-loaders. On Ubuntu (Intrepid) it goes like this: + +$ gdk-pixbuf-query-loaders /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-psd.so | sudo tee /usr/lib/gtk-2.0/2.10.0/loader-files.d/gdk-pixbuf-psd.loaders + +On Gentoo: + +$ su +# gdk-pixbuf-query-loaders /usr/lib/gtk-2.0/2.10.0/loaders/libpixbufloader-psd.so >> /etc/gtk-2.0/gdk-pixbuf.loaders + |