summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar jan.dudek2008-12-17 12:57:23 +0000
committerGravatar jan.dudek2008-12-17 12:57:23 +0000
commit74ee904fedfb68265863a61bd4e5dc4ebb4fc0b6 (patch)
treed00d4de11d6b27f6c126ce82d41dcd093bc50073
parentcaa9606b3f4f7d112e19b7f1d9471c76e1f8baf6 (diff)
downloadgdk-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--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
+