mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
business/gnucash: Updated for version 2.4.11.
Updated also the glib patch and forced single job build Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
44a10084d2
commit
1f5cb51154
3 changed files with 14 additions and 30 deletions
|
@ -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>
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue