Browse Source

l/goffice: Upgraded to goffice-0.10.31.

slackware-14.2
Damien Goutte-Gattat 5 years ago
parent
commit
a196ad303a
  1. 1
      l/goffice/goffice-0.10.31.tar.xz.sha1
  2. 12
      l/goffice/goffice-0.8.17-pcre.diff
  3. 1
      l/goffice/goffice-0.8.17.tar.xz.sha1
  4. 9
      l/goffice/goffice.SlackBuild

1
l/goffice/goffice-0.10.31.tar.xz.sha1

@ -0,0 +1 @@
4c1ccd7439946df14bb80755e001b359c0e1c5ac goffice-0.10.31.tar.xz

12
l/goffice/goffice-0.8.17-pcre.diff

@ -1,12 +0,0 @@
diff -Naur goffice-0.8.17.orig/goffice/utils/regutf8.c goffice-0.8.17/goffice/utils/regutf8.c
--- goffice-0.8.17.orig/goffice/utils/regutf8.c 2009-09-06 01:52:09.000000000 +0200
+++ goffice-0.8.17/goffice/utils/regutf8.c 2014-03-26 10:49:40.406498585 +0100
@@ -155,7 +155,7 @@
default: return GO_REG_BADPAT;
}
} else {
- gor->re_nsub = pcre_info (r, NULL, NULL);
+ gor->re_nsub = pcre_fullinfo (r, NULL, 0, NULL);
gor->nosub = (cflags & GO_REG_NOSUB) != 0;
return 0;
}

1
l/goffice/goffice-0.8.17.tar.xz.sha1

@ -1 +0,0 @@
aceee7ddff4a473131b4a0ac1c05e52a82755a4e goffice-0.8.17.tar.xz

9
l/goffice/goffice.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2014 Damien Goutte-Gattat
# Copyright (C) 2014,2016 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -27,9 +27,9 @@
# Source package infos
NAMESRC=${NAMESRC:-goffice}
VERSION=${VERSION:-0.8.17}
VERSION=${VERSION:-0.10.31}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.xz}
WGET=${WGET:-http://ftp.gnome.org/pub/gnome/sources/goffice/0.8/$ARCHIVE}
WGET=${WGET:-http://ftp.gnome.org/pub/gnome/sources/goffice/0.10/$ARCHIVE}
# Build infos
NAMEPKG=${NAMEPKG:-goffice}
@ -84,7 +84,6 @@ cd $TMP
echo "Building $ARCHIVE..."
tar xf $CWD/$ARCHIVE
cd $NAME
patch -p 1 < $CWD/goffice-0.8.17-pcre.diff
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./configure \
@ -95,7 +94,7 @@ make install-strip DESTDIR=$PKG
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS BUGS COPYING ChangeLog MAINTAINERS NEWS README \
install -m 644 AUTHORS BUGS COPYING* ChangeLog MAINTAINERS NEWS README \
$PKG/usr/doc/$NAME
# Copy slack-desc file

Loading…
Cancel
Save