summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile7
-rw-r--r--README16
2 files changed, 17 insertions, 6 deletions
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
+