From a50161baf2dcbcba5e100c90442682eae39ca7c1 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 24 Apr 2019 03:15:47 +0700 Subject: [PATCH] mate-utils: Upgraded to 1.22.1. Signed-off-by: Willy Sudiarto Raharjo --- extra/mate-utils/inkscape.patch | 13 +++++++++++++ extra/mate-utils/mate-utils.SlackBuild | 6 +++++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 extra/mate-utils/inkscape.patch diff --git a/extra/mate-utils/inkscape.patch b/extra/mate-utils/inkscape.patch new file mode 100644 index 0000000..8351010 --- /dev/null +++ b/extra/mate-utils/inkscape.patch @@ -0,0 +1,13 @@ +--- mate-utils-1.22.1/configure.ac.old 2019-04-24 03:09:08.151268279 +0700 ++++ mate-utils-1.22.1/configure.ac 2019-04-24 03:09:21.538393496 +0700 +@@ -34,10 +34,6 @@ + if test x$RSVG_CONVERT = x ; then + AC_MSG_ERROR([could not locate rsvg-convert]) + fi +-AC_PATH_PROG(INKSCAPE, inkscape) +-if test x$INKSCAPE = x ; then +- AC_MSG_ERROR([could not locate inkscape]) +-fi + + MATE_COMPILE_WARNINGS([yes]) + diff --git a/extra/mate-utils/mate-utils.SlackBuild b/extra/mate-utils/mate-utils.SlackBuild index e1fb3be..3c01649 100644 --- a/extra/mate-utils/mate-utils.SlackBuild +++ b/extra/mate-utils/mate-utils.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=mate-utils -VERSION=${VERSION:-1.22.0} +VERSION=${VERSION:-1.22.1} BUILD=${BUILD:-1} TAG=${TAG:-_msb} @@ -75,6 +75,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Patch to not detect inkscape as build dep +patch -p1 < $CWD/inkscape.patch + +autoreconf -fiv CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \