This commit is contained in:
parent
42327f6a30
commit
6360824f1f
13
gnucash-no-gtk_html_print.patch
Normal file
13
gnucash-no-gtk_html_print.patch
Normal 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);
|
||||||
|
}
|
||||||
|
|
@ -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
|
Wed Feb 21 12:36:50 CET 2007 - sbrabec@suse.cz
|
||||||
|
|
||||||
|
10
gnucash.spec
10
gnucash.spec
@ -12,13 +12,14 @@
|
|||||||
|
|
||||||
Name: gnucash
|
Name: gnucash
|
||||||
Version: 2.0.5
|
Version: 2.0.5
|
||||||
Release: 1
|
Release: 2
|
||||||
URL: http://www.gnucash.org/
|
URL: http://www.gnucash.org/
|
||||||
Group: Productivity/Office/Finance
|
Group: Productivity/Office/Finance
|
||||||
License: GNU General Public License (GPL)
|
License: GNU General Public License (GPL)
|
||||||
Summary: Personal Finance Manager
|
Summary: Personal Finance Manager
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Patch: fix-desktop-file.diff
|
Patch: fix-desktop-file.diff
|
||||||
|
Patch1: gnucash-no-gtk_html_print.patch
|
||||||
Requires: guile slib
|
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
|
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:
|
# Optional features:
|
||||||
@ -410,11 +411,15 @@ Authors:
|
|||||||
%if %suse_version > 1020
|
%if %suse_version > 1020
|
||||||
%patch
|
%patch
|
||||||
%endif
|
%endif
|
||||||
|
%patch1
|
||||||
sed -i "s:^\(GNC_DOC_INSTALL_DIR=\).*$:\1'%{_docdir}/%{name}':" configure.in
|
sed -i "s:^\(GNC_DOC_INSTALL_DIR=\).*$:\1'%{_docdir}/%{name}':" configure.in
|
||||||
|
|
||||||
%build
|
%build
|
||||||
export GUILE_WARN_DEPRECATED=no
|
export GUILE_WARN_DEPRECATED=no
|
||||||
export CFLAGS="$RPM_OPT_FLAGS"
|
export CFLAGS="$RPM_OPT_FLAGS"
|
||||||
|
# Conflicts with pkg-config:
|
||||||
|
rm macros/pkg.m4
|
||||||
|
# FIXME: invalid directory somewhere in the source:
|
||||||
mkdir m4
|
mkdir m4
|
||||||
#intltoolize --force
|
#intltoolize --force
|
||||||
ACLOCAL="aclocal -I macros" autoreconf -f -i
|
ACLOCAL="aclocal -I macros" autoreconf -f -i
|
||||||
@ -490,6 +495,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_includedir}/gnucash
|
%{_includedir}/gnucash
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Mar 02 2007 - sbrabec@suse.cz
|
||||||
|
- Fixed autoreconf.
|
||||||
|
- Fixed missing symbol in gtkhtml2.
|
||||||
* Wed Feb 21 2007 - sbrabec@suse.cz
|
* Wed Feb 21 2007 - sbrabec@suse.cz
|
||||||
- Updated to 2.0.5:
|
- Updated to 2.0.5:
|
||||||
* Use guiles native sort and record.
|
* Use guiles native sort and record.
|
||||||
|
Loading…
Reference in New Issue
Block a user