From 74ee904fedfb68265863a61bd4e5dc4ebb4fc0b6 Mon Sep 17 00:00:00 2001 From: jan.dudek Date: Wed, 17 Dec 2008 12:57:23 +0000 Subject: Makefile, readme git-svn-id: http://gdk-pixbuf-psd.googlecode.com/svn/trunk@15 c5539ac3-5556-0410-9a1f-7faf0b045682 --- Makefile | 7 +------ README | 16 ++++++++++++++++ 2 files changed, 17 insertions(+), 6 deletions(-) create mode 100644 README diff --git a/Makefile b/Makefile index 6a54008..d2bfbec 100644 --- a/Makefile +++ b/Makefile @@ -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 - - diff --git a/README b/README new file mode 100644 index 0000000..074d340 --- /dev/null +++ b/README @@ -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 + -- cgit v1.1-32-gdbae