[librsvg] Pick headers and loader DLL from correct places into zip package
- From: Tor Lillqvist <tml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Pick headers and loader DLL from correct places into zip package
- Date: Mon, 27 Dec 2010 17:47:44 +0000 (UTC)
commit 202b7d5d2128480a2815ffcb8757e479e4fd33f1
Author: Tor Lillqvist <tml iki fi>
Date: Mon Dec 27 19:16:38 2010 +0200
Pick headers and loader DLL from correct places into zip package
We install the loader DLL in gdk-pixbuf's tree. When zipping up the
loader package, move it from there to be in our own install tree,
and remove the unnecessary libtool archive and import library.
librsvg-zip.in | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/librsvg-zip.in b/librsvg-zip.in
index e295e85..0e8c314 100755
--- a/librsvg-zip.in
+++ b/librsvg-zip.in
@@ -22,15 +22,17 @@ rm $DEVZIP
zip -r -D $DEVZIP -@ <<EOF
bin/rsvg-convert.exe
bin/rsvg-view.exe
-include/librsvg-2
+include/librsvg-2.0
lib/librsvg-2.dll.a
lib/pkgconfig/librsvg-2.0.pc
EOF
-gtk_binary_version=`pkg-config --variable=gtk_binary_version gtk+-2.0`
-
rm $ENGINEZIP
-zip $ENGINEZIP lib/gtk-2.0/${gtk_binary_version}/engines/libsvg.dll
+zip $ENGINEZIP lib/gtk-2.0/@GTK2_BINARY_VERSION@/engines/libsvg.dll
rm $LOADERZIP
-zip $LOADERZIP lib/gtk-2.0/${gtk_binary_version}/loaders/svg_loader.dll
+mkdir -p lib/gdk-pixbuf-2.0/@gdk_pixbuf_binary_version@/loaders
+mv @gdk_pixbuf_binarydir@/loaders/libpixbufloader-svg.dll lib/gdk-pixbuf-2.0/@gdk_pixbuf_binary_version@/loaders
+rm -f @gdk_pixbuf_binarydir@/loaders/libpixbufloader-svg.dll.a
+rm -f @gdk_pixbuf_binarydir@/loaders/libpixbufloader-svg.la
+zip $LOADERZIP lib/gdk-pixbuf-2.0/@gdk_pixbuf_binary_version@/loaders/libpixbufloader-svg.dll
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]