From 11ba1fd65b2585f89798b57c13d4924baa3ced91 Mon Sep 17 00:00:00 2001 From: Thierry N Date: Tue, 11 Aug 2009 20:29:42 +0200 Subject: Ajout de librsvg#2.26.0-1 --- extra/librsvg/.footprint | 35 +++++++++++++++++++++++++++++++++++ extra/librsvg/.md5sum | 1 + extra/librsvg/Pkgfile | 25 +++++++++++++++++++++++++ extra/librsvg/post-install | 4 ++++ 4 files changed, 65 insertions(+) create mode 100644 extra/librsvg/.footprint create mode 100644 extra/librsvg/.md5sum create mode 100755 extra/librsvg/Pkgfile create mode 100644 extra/librsvg/post-install diff --git a/extra/librsvg/.footprint b/extra/librsvg/.footprint new file mode 100644 index 000000000..f5b1c9583 --- /dev/null +++ b/extra/librsvg/.footprint @@ -0,0 +1,35 @@ +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/rsvg +-rwxr-xr-x root/root usr/bin/rsvg-convert +-rwxr-xr-x root/root usr/bin/rsvg-view +drwxr-xr-x root/root usr/include/ +drwxr-xr-x root/root usr/include/librsvg-2/ +drwxr-xr-x root/root usr/include/librsvg-2/librsvg/ +-rw-r--r-- root/root usr/include/librsvg-2/librsvg/librsvg-enum-types.h +-rw-r--r-- root/root usr/include/librsvg-2/librsvg/librsvg-features.h +-rw-r--r-- root/root usr/include/librsvg-2/librsvg/rsvg-cairo.h +-rw-r--r-- root/root usr/include/librsvg-2/librsvg/rsvg.h +drwxr-xr-x root/root usr/lib/ +drwxr-xr-x root/root usr/lib/gtk-2.0/ +drwxr-xr-x root/root usr/lib/gtk-2.0/2.10.0/ +drwxr-xr-x root/root usr/lib/gtk-2.0/2.10.0/engines/ +-rwxr-xr-x root/root usr/lib/gtk-2.0/2.10.0/engines/libsvg.la +-rwxr-xr-x root/root usr/lib/gtk-2.0/2.10.0/engines/libsvg.so +drwxr-xr-x root/root usr/lib/gtk-2.0/2.10.0/loaders/ +-rwxr-xr-x root/root usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.la +-rwxr-xr-x root/root usr/lib/gtk-2.0/2.10.0/loaders/svg_loader.so +-rwxr-xr-x root/root usr/lib/librsvg-2.la +lrwxrwxrwx root/root usr/lib/librsvg-2.so -> librsvg-2.so.2.26.0 +lrwxrwxrwx root/root usr/lib/librsvg-2.so.2 -> librsvg-2.so.2.26.0 +-rwxr-xr-x root/root usr/lib/librsvg-2.so.2.26.0 +drwxr-xr-x root/root usr/lib/mozilla/ +drwxr-xr-x root/root usr/lib/mozilla/plugins/ +drwxr-xr-x root/root usr/lib/pkgconfig/ +-rw-r--r-- root/root usr/lib/pkgconfig/librsvg-2.0.pc +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/rsvg.1.gz +drwxr-xr-x root/root usr/share/pixmaps/ +-rw-r--r-- root/root usr/share/pixmaps/svg-viewer.svg diff --git a/extra/librsvg/.md5sum b/extra/librsvg/.md5sum new file mode 100644 index 000000000..c700c9197 --- /dev/null +++ b/extra/librsvg/.md5sum @@ -0,0 +1 @@ +65dbd726a514fe8b797d26254b8efc1e librsvg-2.26.0.tar.bz2 diff --git a/extra/librsvg/Pkgfile b/extra/librsvg/Pkgfile new file mode 100755 index 000000000..0f0004302 --- /dev/null +++ b/extra/librsvg/Pkgfile @@ -0,0 +1,25 @@ +# Description: Librairie SVG +# URL: http://librsvg.sourceforge.net/ +# Maintainer: NuTyX core team +# Packager: thierryn1 at hispeed dot ch +# Depends on: gtk, libxml2, libgsf + +name=librsvg +version=2.26.0 +release=1 +source=(http://ftp.gnome.org/pub/GNOME/sources/$name/2.26/$name-$version.tar.bz2) + +build() { + cd $name-$version + ./configure --prefix=/usr \ + --enable-gtk-theme \ + --disable-static \ + --disable-mozilla-plugin \ + --enable-pixbuf-loader \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --disable-gtk-doc + make + make DESTDIR=$PKG install + rm -rf $PKG/usr/share/gtk-doc +} diff --git a/extra/librsvg/post-install b/extra/librsvg/post-install new file mode 100644 index 000000000..e2322474b --- /dev/null +++ b/extra/librsvg/post-install @@ -0,0 +1,4 @@ +#!/bin/bash +# Mise à jour des pixbuf loaders pour ajouter le support SVG à GTK2 +/usr/bin/gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules +/usr/bin/gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders -- cgit v1.2.3-70-g09d2