diff options
Diffstat (limited to 'source/l/librsvg')
-rwxr-xr-x | source/l/librsvg/librsvg.SlackBuild | 15 | ||||
-rw-r--r-- | source/l/librsvg/librsvg_seamonkey-config.diff | 12 |
2 files changed, 5 insertions, 22 deletions
diff --git a/source/l/librsvg/librsvg.SlackBuild b/source/l/librsvg/librsvg.SlackBuild index bd22ff82..ff765afe 100755 --- a/source/l/librsvg/librsvg.SlackBuild +++ b/source/l/librsvg/librsvg.SlackBuild @@ -20,11 +20,10 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# Slackware build script for librsvg - +PKGNAM=librsvg VERSION=${VERSION:-$(echo librsvg-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)} -BUILD=${BUILD:-3} +BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -70,9 +69,6 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -# Patch configure to detect seamonkey-config or mozilla-config -zcat $CWD/librsvg_seamonkey-config.diff.gz | patch -p1 --verbose || exit 1 - CFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ @@ -83,6 +79,7 @@ CFLAGS="$SLKCFLAGS" \ --enable-static=no \ --with-svgz \ --build=$ARCH-slackware-linux +# --with-croco \ make $NUMJOBS || make || exit 1 make install DESTDIR=$PKG || exit 1 @@ -90,10 +87,8 @@ make install DESTDIR=$PKG || exit 1 find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -( cd $PKG/usr/man - find . -type f -exec gzip -9 {} \; - for i in $(find . -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done -) +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $(find $PKG/usr/man -type l) ; do ln -s $(readlink $i).gz $i.gz ; rm $i ; done mkdir -p $PKG/usr/doc/librsvg-$VERSION cp -a \ diff --git a/source/l/librsvg/librsvg_seamonkey-config.diff b/source/l/librsvg/librsvg_seamonkey-config.diff deleted file mode 100644 index 48f830e7..00000000 --- a/source/l/librsvg/librsvg_seamonkey-config.diff +++ /dev/null @@ -1,12 +0,0 @@ -diff -Nur librsvg-2.22.3.orig/configure librsvg-2.22.3/configure ---- librsvg-2.22.3.orig/configure 2008-09-22 19:54:49.000000000 -0500 -+++ librsvg-2.22.3/configure 2008-10-05 17:10:04.772100035 -0500 -@@ -24636,7 +24636,7 @@ - - if test "x$test_mozilla_plugin" != "xno"; then - if test -z "$MOZILLA_CONFIG"; then -- for ac_prog in mozilla-config firefox-config xulrunner-config -+ for ac_prog in mozilla-config firefox-config xulrunner-config seamonkey-config - do - # Extract the first word of "$ac_prog", so it can be a program name with args. - set dummy $ac_prog; ac_word=$2 |