diff options
author | jan.dudek | 2008-12-17 12:57:23 +0000 |
---|---|---|
committer | jan.dudek | 2008-12-17 12:57:23 +0000 |
commit | 74ee904fedfb68265863a61bd4e5dc4ebb4fc0b6 (patch) | |
tree | d00d4de11d6b27f6c126ce82d41dcd093bc50073 | |
parent | caa9606b3f4f7d112e19b7f1d9471c76e1f8baf6 (diff) | |
download | gdk-pixbuf-psd-74ee904fedfb68265863a61bd4e5dc4ebb4fc0b6.tar.gz gdk-pixbuf-psd-74ee904fedfb68265863a61bd4e5dc4ebb4fc0b6.tar.bz2 |
Makefile, readme
git-svn-id: http://gdk-pixbuf-psd.googlecode.com/svn/trunk@15 c5539ac3-5556-0410-9a1f-7faf0b045682
-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 + |