OBS User unknown 2007-03-03 11:47:37 +00:00 committed by Git OBS Bridge
parent 42327f6a30
commit 6360824f1f
3 changed files with 28 additions and 1 deletions

View File

@ -0,0 +1,13 @@
Ugly hack. gtk_html_print() is no more implemented! Remove this patch ASAP!
================================================================================
--- src/gnome-utils/gnc-html.c
+++ src/gnome-utils/gnc-html.c
@@ -1325,7 +1325,7 @@
return;
}
- gtk_html_print(GTK_HTML(html->html), ps->context);
+ gtk_html_print_page(GTK_HTML(html->html), ps->context);
gnc_print_session_done(ps);
}

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Mar 2 16:14:36 CET 2007 - sbrabec@suse.cz
- Fixed autoreconf.
- Fixed missing symbol in gtkhtml2.
-------------------------------------------------------------------
Wed Feb 21 12:36:50 CET 2007 - sbrabec@suse.cz

View File

@ -12,13 +12,14 @@
Name: gnucash
Version: 2.0.5
Release: 1
Release: 2
URL: http://www.gnucash.org/
Group: Productivity/Office/Finance
License: GNU General Public License (GPL)
Summary: Personal Finance Manager
Source: %{name}-%{version}.tar.bz2
Patch: fix-desktop-file.diff
Patch1: gnucash-no-gtk_html_print.patch
Requires: guile slib
BuildRequires: doxygen g-wrap-devel gconf2-devel glib2-devel goffice-devel graphviz gtk2-devel gtkhtml2-devel guile-devel indent intltool ktoblzcheck-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libgsf-devel libofx-devel libxml2-devel perl-XML-Parser popt-devel slib update-desktop-files
# Optional features:
@ -410,11 +411,15 @@ Authors:
%if %suse_version > 1020
%patch
%endif
%patch1
sed -i "s:^\(GNC_DOC_INSTALL_DIR=\).*$:\1'%{_docdir}/%{name}':" configure.in
%build
export GUILE_WARN_DEPRECATED=no
export CFLAGS="$RPM_OPT_FLAGS"
# Conflicts with pkg-config:
rm macros/pkg.m4
# FIXME: invalid directory somewhere in the source:
mkdir m4
#intltoolize --force
ACLOCAL="aclocal -I macros" autoreconf -f -i
@ -490,6 +495,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/gnucash
%changelog
* Fri Mar 02 2007 - sbrabec@suse.cz
- Fixed autoreconf.
- Fixed missing symbol in gtkhtml2.
* Wed Feb 21 2007 - sbrabec@suse.cz
- Updated to 2.0.5:
* Use guiles native sort and record.