aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--business/gnucash/glib-single-include.patch27
-rw-r--r--business/gnucash/gnucash.SlackBuild11
-rw-r--r--business/gnucash/gnucash.info6
3 files changed, 14 insertions, 30 deletions
diff --git a/business/gnucash/glib-single-include.patch b/business/gnucash/glib-single-include.patch
index 5213f5dfed72..51c1e81e3b76 100644
--- a/business/gnucash/glib-single-include.patch
+++ b/business/gnucash/glib-single-include.patch
@@ -1,7 +1,6 @@
-Index: gnucash-2.4.5/src/core-utils/gnc-filepath-utils.c
-===================================================================
---- gnucash-2.4.5.orig/src/core-utils/gnc-filepath-utils.c
-+++ gnucash-2.4.5/src/core-utils/gnc-filepath-utils.c
+diff -Naur gnucash-2.4.11.orig/src/core-utils/gnc-filepath-utils.c gnucash-2.4.11/src/core-utils/gnc-filepath-utils.c
+--- gnucash-2.4.11.orig/src/core-utils/gnc-filepath-utils.c 2012-01-10 00:58:04.000000000 +0100
++++ gnucash-2.4.11/src/core-utils/gnc-filepath-utils.c 2012-10-06 18:05:10.853171945 +0200
@@ -47,7 +47,6 @@
#include "gnc-filepath-utils.h"
@@ -10,23 +9,9 @@ Index: gnucash-2.4.5/src/core-utils/gnc-filepath-utils.c
#define PATH_MAX MAXPATHLEN
#endif
-Index: gnucash-2.4.5/src/gnome-utils/gnc-frequency.c
-===================================================================
---- gnucash-2.4.5.orig/src/gnome-utils/gnc-frequency.c
-+++ gnucash-2.4.5/src/gnome-utils/gnc-frequency.c
-@@ -26,7 +26,7 @@
- #include "config.h"
-
- #include <gtk/gtk.h>
--#include <glib/gtypes.h>
-+#include <glib.h>
- #include <math.h>
- #include <time.h>
-
-Index: gnucash-2.4.5/src/libqof/qof/gnc-date.c
-===================================================================
---- gnucash-2.4.5.orig/src/libqof/qof/gnc-date.c
-+++ gnucash-2.4.5/src/libqof/qof/gnc-date.c
+diff -Naur gnucash-2.4.11.orig/src/libqof/qof/gnc-date.c gnucash-2.4.11/src/libqof/qof/gnc-date.c
+--- gnucash-2.4.11.orig/src/libqof/qof/gnc-date.c 2012-01-10 00:58:15.000000000 +0100
++++ gnucash-2.4.11/src/libqof/qof/gnc-date.c 2012-10-06 18:06:22.286171945 +0200
@@ -40,7 +40,6 @@
#include <string.h>
#include <time.h>
diff --git a/business/gnucash/gnucash.SlackBuild b/business/gnucash/gnucash.SlackBuild
index fe63a3222683..73262f18fc7d 100644
--- a/business/gnucash/gnucash.SlackBuild
+++ b/business/gnucash/gnucash.SlackBuild
@@ -23,8 +23,8 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gnucash
-VERSION=2.4.5
-BUILD=${BUILD:-2}
+VERSION=2.4.11
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -112,7 +112,9 @@ CXXFLAGS="$SLKCFLAGS" \
$OPT_ARGS \
--build=$ARCH-slackware-linux
-make
+# Cut away jobs number from the MAKEFLAGS
+MAKEFLAGS=$(echo "$MAKEFLAGS" | sed "s/-j[0-999]//g")
+make -j1
make install DESTDIR=$PKG
# Create the gconf defaults directory
@@ -124,9 +126,6 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \
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
-rm -f $PKG/usr/info/dir
-gzip -9 $PKG/usr/info/*
-
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
ChangeLog* README* TODO AUTHORS COPYING \
diff --git a/business/gnucash/gnucash.info b/business/gnucash/gnucash.info
index ade7b7bcb3b0..5f262e235193 100644
--- a/business/gnucash/gnucash.info
+++ b/business/gnucash/gnucash.info
@@ -1,8 +1,8 @@
PRGNAM="gnucash"
-VERSION="2.4.5"
+VERSION="2.4.11"
HOMEPAGE="http://www.gnucash.org/"
-DOWNLOAD="http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-2.4.5.tar.bz2"
-MD5SUM="94168fe959743fc342812ac3a01814a1"
+DOWNLOAD="http://downloads.sourceforge.net/sourceforge/gnucash/gnucash-2.4.11.tar.bz2"
+MD5SUM="e59f94a8c4cf41f47a9e74ba725bde45"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="slib libofx gtkhtml goffice"