wok-undigest rev 972
Add: gnucash (2.4.11)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Sat Mar 16 21:48:17 2013 +0100 (2013-03-16) |
parents | 2709ce72503a |
children | f5d35251bbcb |
files | gnucash/receipt gnucash/stuff/G_CONST_RETURN_deprecated.patch |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gnucash/receipt Sat Mar 16 21:48:17 2013 +0100 1.3 @@ -0,0 +1,45 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gnucash" 1.7 +VERSION="2.4.11" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="Financial-accounting software" 1.10 +MAINTAINER="domcox@slitaz.org" 1.11 +LICENSE="gpl" 1.12 +WEB_SITE="http://www.gnucash.org" 1.13 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" 1.15 + 1.16 +DEPENDS="GConf gnome-vfs gmp goffice guile libgnome libgnomeui libgsf libofx libwebkit libxslt slib zlib" 1.17 +BUILD_DEPENDS="GConf-dev gnome-vfs-dev gmp-dev goffice-dev guile-dev libgnome-dev libgnomeui-dev libgsf-dev libofx-dev libtool libwebkit-dev libxslt-dev slib" 1.18 + 1.19 +# Rules to configure and make the package. 1.20 +compile_rules() 1.21 +{ 1.22 + # patch G_CONST_RETURN deprecated 1.23 + for file_diff in $stuff/*.patch; do 1.24 + echo -n "Applying patch $(basename $file_diff)" 1.25 + patch -Np3 -i $file_diff > /dev/null 1.26 + status 1.27 + done 1.28 + # busybox compliant 1.29 + sed -i 's/cat -s/cat/g' $src/doc/Makefile.in 1.30 + # build 1.31 + ./configure $CONFIGURE_ARGS \ 1.32 + --prefix="/usr" \ 1.33 + --disable-html-docs \ 1.34 + --with-html-engine="webkit" \ 1.35 + --disable-dbi \ 1.36 + --disable-ofx \ 1.37 + --disable-aqbanking \ 1.38 + --disable-deprecated-glib \ 1.39 + --disable-schemas-install \ 1.40 + LDFLAGS='-Wl,-O1 -Wl,--as-needed' && 1.41 + make && make -j1 install 1.42 +} 1.43 + 1.44 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.45 +genpkg_rules() 1.46 +{ 1.47 + cp -a $install/* $fs 1.48 +}
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gnucash/stuff/G_CONST_RETURN_deprecated.patch Sat Mar 16 21:48:17 2013 +0100 2.3 @@ -0,0 +1,53 @@ 2.4 +Index: gnucash/trunk/src/gnome-utils/gnc-date-edit.c 2.5 +=================================================================== 2.6 +--- a/gnucash/trunk/src/gnome-utils/gnc-date-edit.c 2.7 ++++ b/gnucash/trunk/src/gnome-utils/gnc-date-edit.c 2.8 +@@ -748,4 +748,4 @@ 2.9 + { 2.10 + GNCDateEdit *gde = data; 2.11 +- G_CONST_RETURN char *string; 2.12 ++ const char *string; 2.13 + struct tm tm; 2.14 + 2.15 +Index: gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c 2.16 +=================================================================== 2.17 +--- a/gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c 2.18 ++++ b/gnucash/trunk/src/import-export/aqbanking/gnc-ab-kvp.c 2.19 +@@ -46,5 +46,5 @@ 2.20 + static kvp_frame *gnc_ab_get_book_kvp(QofBook *b, gboolean create); 2.21 + 2.22 +-G_CONST_RETURN gchar * 2.23 ++const gchar * 2.24 + gnc_ab_get_account_accountid(const Account *a) 2.25 + { 2.26 +@@ -65,5 +65,5 @@ 2.27 + } 2.28 + 2.29 +-G_CONST_RETURN gchar * 2.30 ++const gchar * 2.31 + gnc_ab_get_account_bankcode(const Account *a) 2.32 + { 2.33 + 2.34 +Index: gnucash/trunk/src/libqof/qof/guid.c 2.35 +=================================================================== 2.36 +--- a/gnucash/trunk/src/libqof/qof/guid.c 2.37 ++++ b/gnucash/trunk/src/libqof/qof/guid.c 2.38 +@@ -72,5 +72,5 @@ 2.39 + * @return the value stored in @a value 2.40 + */ 2.41 +-G_CONST_RETURN GncGUID* 2.42 ++const GncGUID* 2.43 + gnc_value_get_guid (const GValue *value) 2.44 + { 2.45 + 2.46 +Index: gnucash/trunk/src/libqof/qof/guid.h 2.47 +=================================================================== 2.48 +--- a/gnucash/trunk/src/libqof/qof/guid.h 2.49 ++++ b/gnucash/trunk/src/libqof/qof/guid.h 2.50 +@@ -65,5 +65,5 @@ 2.51 + 2.52 + GType gnc_guid_get_type (void); 2.53 +-G_CONST_RETURN GncGUID* gnc_value_get_guid (const GValue *value); 2.54 ++const GncGUID* gnc_value_get_guid (const GValue *value); 2.55 + 2.56 + /** number of characters needed to encode a guid as a string