diff --git a/grisbi-0.8.7.tar.bz2 b/grisbi-0.8.7.tar.bz2 deleted file mode 100644 index 4a48bcb..0000000 --- a/grisbi-0.8.7.tar.bz2 +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:b42e14a905d4e5c91e0b1eb6310bdee556409185ddcb5d181f0b90ca847538d7 -size 1896541 diff --git a/grisbi-0.8.8.tar.bz2 b/grisbi-0.8.8.tar.bz2 new file mode 100644 index 0000000..4e4c969 --- /dev/null +++ b/grisbi-0.8.8.tar.bz2 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7c69fbdff557c4b82de0b878fc2b7f6c93ab9abd72351eabbdecc9be4d78946f +size 1905934 diff --git a/grisbi-fix-linking.patch b/grisbi-fix-linking.patch new file mode 100644 index 0000000..d943d2a --- /dev/null +++ b/grisbi-fix-linking.patch @@ -0,0 +1,27 @@ +Index: grisbi-0.8.8/configure.in +=================================================================== +--- grisbi-0.8.8.orig/configure.in ++++ grisbi-0.8.8/configure.in +@@ -54,6 +54,9 @@ dnl ==================================== + dnl Main Grisbi libraries + dnl ================================================================ + ++AC_CHECK_LIBM ++AC_SUBST(LIBM) ++ + #PKG_CHECK_MODULES(GRISBI, [gtk+-2.0 >= 2.2.0 glib-2.0 >= 2.2 gmodule-2.0 >= 2.2 zlib]) + # Temporary hack until Mandriva ships zlib.pc + PKG_CHECK_MODULES(GRISBI, [gtk+-2.0 >= 2.12.0 glib-2.0 >= 2.18.0 gmodule-2.0 >= 2.18.0]) +Index: grisbi-0.8.8/src/Makefile.am +=================================================================== +--- grisbi-0.8.8.orig/src/Makefile.am ++++ grisbi-0.8.8/src/Makefile.am +@@ -16,7 +16,7 @@ libgrisbi_la_LIBADD += \ + else + libgrisbi_la_LDFLAGS = -export_dynamic + endif +-libgrisbi_la_LIBADD += $(GRISBI_LIBS) $(IGE_MAC_LIBS) ++libgrisbi_la_LIBADD += $(LIBM) $(GRISBI_LIBS) $(IGE_MAC_LIBS) + + libgrisbi_la_SOURCES = \ + accueil.c \ diff --git a/grisbi-no_date_time.patch b/grisbi-no_date_time.patch deleted file mode 100644 index df64530..0000000 --- a/grisbi-no_date_time.patch +++ /dev/null @@ -1,81 +0,0 @@ -diff -ur grisbi-0.8.7/src/help.c grisbi-0.8.7.nodate/src/help.c ---- grisbi-0.8.7/src/help.c 2011-06-06 23:09:19.000000000 +0200 -+++ grisbi-0.8.7.nodate/src/help.c 2011-06-07 10:08:53.125402476 +0200 -@@ -161,13 +161,6 @@ - gsb_plugin_get_list(), - "\nVersion de GTK : ", - get_gtk_run_version ( ), -- "\n", -- _("This instance of Grisbi was compiled on\n"), -- gsb_date_get_compiled_time ( ) , -- " ", -- _("at"), -- " ", -- __TIME__, - NULL ); - - GtkWidget * about; -diff -ur grisbi-0.8.7/src/utils_dates.c grisbi-0.8.7.nodate/src/utils_dates.c ---- grisbi-0.8.7/src/utils_dates.c 2011-06-06 23:09:19.000000000 +0200 -+++ grisbi-0.8.7.nodate/src/utils_dates.c 2011-06-07 10:09:28.253867687 +0200 -@@ -631,49 +631,6 @@ - return gsb_parse_date_string ( string ); - } - -- --/** -- * retourne la date de compilation conforme à la locale -- * -- * */ --gchar *gsb_date_get_compiled_time ( void ) --{ -- GDate *date; -- gchar **tab; -- gchar *str; -- const gchar *months[] = {"Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", -- "Sep", "Oct", "Nov", "Dec"}; -- gint mois = 0; -- gint i; -- -- str = g_strdup ( __DATE__ ); -- if ( g_strstr_len ( str, -1, " " ) ) -- { -- tab = g_strsplit ( str, " ", -1 ); -- str = g_strjoinv (" ", tab); -- g_strfreev (tab); -- } -- tab = g_strsplit ( str, " ", -1 ); -- g_free ( str ); -- -- for (i = 0; i < 12; i++) -- { -- if ( !strcmp ( tab[0], months[i] ) ) -- { -- mois = i + 1; -- break; -- } -- } -- -- date = g_date_new_dmy ( atoi ( tab[1] ), mois, atoi ( tab[2] ) ); -- g_strfreev (tab); -- str = gsb_format_gdate ( date ); -- g_date_free ( date ); -- -- return str; --} -- -- - /** - * returns a date with the last day of the month. - * -diff -ur grisbi-0.8.7/src/utils_dates.h grisbi-0.8.7.nodate/src/utils_dates.h ---- grisbi-0.8.7/src/utils_dates.h 2011-06-06 23:09:19.000000000 +0200 -+++ grisbi-0.8.7.nodate/src/utils_dates.h 2011-06-07 10:09:34.193945917 +0200 -@@ -12,7 +12,6 @@ - gboolean gsb_date_check_entry ( GtkWidget *entry ); - GDate *gsb_date_copy ( const GDate *date ); - void gsb_date_free_last_date ( void ); --gchar *gsb_date_get_compiled_time ( void ); - gchar *gsb_date_get_format_date ( void ); - GDate *gsb_date_get_last_day_of_month ( const GDate *date ); - GDate *gsb_date_get_last_entry_date ( const gchar *string ); diff --git a/grisbi.changes b/grisbi.changes index 45c1422..8613617 100644 --- a/grisbi.changes +++ b/grisbi.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Mon Sep 19 07:35:50 UTC 2011 - vuntz@opensuse.org + +- Update to version 0.8.8: + + Fix bug where the transaction is not transferred to the new + account when Edit menu is used + + Fix the name of the International Russian currency RUB -> RUR + + Fix some bugs in the navigation in the left panel + + Fix a crash when the number of recently used files = 0 + + Remove the display of the build date for stable versions +- Drop grisbi-no_date_time.patch: fixed upstream. +- Add grisbi-fix-linking.patch: fix build with strict linker, as in + Factory. +- Add call to autoreconf, needed for above patch. + ------------------------------------------------------------------- Tue Jun 7 10:02:14 CEST 2011 - dimstar@opensuse.org diff --git a/grisbi.spec b/grisbi.spec index e535751..148f375 100644 --- a/grisbi.spec +++ b/grisbi.spec @@ -18,15 +18,15 @@ Name: grisbi -Version: 0.8.7 +Version: 0.8.8 Release: 1 License: GPLv2+ Summary: Personal Accounting Application Url: http://www.grisbi.org Group: Productivity/Office/Finance -Source: http://prdownloads.sourceforge.net/grisbi/grisbi-%{version}.tar.bz2 -# PATCH-FEATURE-UPSTREAM grisbi-no_date_time.patch http://www.grisbi.org/bugsreports/view.php?id=1355 dimstar@opensuse.org -- Do not add build date/time to binaries. -Patch0: grisbi-no_date_time.patch +Source: http://downloads.sourceforge.net/project/grisbi/grisbi%20stable/0.8.x/%{name}-%{version}.tar.bz2 +# PATCH-FIX-UPSTREAM grisbi-fix-linking.patch vuntz@opensuse.org -- Fix build with strict linker; sent upstream by mail on 2011-09-19 +Patch0: grisbi-fix-linking.patch # Needed for make check #BuildRequires: cunit-devel BuildRequires: fdupes @@ -52,6 +52,8 @@ One notable feature is that it respects French accounting rules. %patch0 -p1 %build +# needed for patch0 +autoreconf -fi %configure \ --disable-static \ --with-ofx