I fixed the #2 problem as well. The problem is that "gtk_html_print" is
renamed to "gtk_html_print_page"; refere to
http://svn.gnome.org/viewcvs/gtkhtml/trunk/src/gtkhtml.h?r1=8386&r2=5139.
There are a couple other changes to FreeBSD ports. I attached a new diff to
the marcus's CVS.
1. As I first attempt was to see if the bug #2 was fixed in earlier version, I
updated to version 2.0.5.
2. Bzip2 was available so I chagned.
3. I also fixed dependecies; USE_GNOME arguments and RUN_DEPENDS.
Regards,
Hiro
P.S. I believe these fixes contains useful information for gnucash development
team and ccing as well.
On Sun, 18 Feb 2007 16:36:29 -0500
Yoshihiro Ota <[EMAIL PROTECTED]> wrote:
> Hello.
>
> There is a mistake in the Makefile which causes install to fail all times.
> gw-gnc.0 is a part of
> gnucash plist. In the make file, it is from g-wrap. Take a look at the
> command below.
>
> The attached patch to fix this problem. However, there are 2 problmes:
>
> 1. I do not know what is expected from g-wrap. In another word, I do not
> know if g-wrap is a
> LIB_DEPNEDS for gnucash. Please, fix it appropreately.
>
> 2. The build fails in the middle. I am not sure if it is because of my
> environment or something
> else. I temporary commented out the line with the problem to verify my
> patch. At least, there
> was only one build error I saw of. I will spend a bit more time and see what
> I can find.
>
> By the way, this is the version I am patching against:
> http://www.marcuscom.com:8080/cgi-bin/cvsweb.cgi/ports/finance/gnucash/
>
> Regards,
> Hiro
diff -urN gnucash.orig/Makefile gnucash/Makefile
--- gnucash.orig/Makefile Sun Dec 24 15:17:58 2006
+++ gnucash/Makefile Tue Feb 20 17:23:04 2007
@@ -7,7 +7,7 @@
#
PORTNAME= gnucash
-PORTVERSION= 2.0.3
+PORTVERSION= 2.0.5
CATEGORIES= finance gnome
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} \
http://www.gnucash.org/pub/gnucash/sources/stable/
@@ -16,10 +16,11 @@
MAINTAINER= [EMAIL PROTECTED]
COMMENT= Quicken-like money and finance manager
+USE_BZIP2= yes
LIB_DEPENDS= guile.15:${PORTSDIR}/lang/guile \
popt.0:${PORTSDIR}/devel/popt \
ofx.3:${PORTSDIR}/finance/libofx \
- gw-gnc.0:${PORTSDIR}/devel/g-wrap
+ gwrap-core-runtime.0:${PORTSDIR}/devel/g-wrap
RUN_DEPENDS= ${LOCALBASE}/share/guile/1.6/slibcat:${PORTSDIR}/lang/slib-guile \
${SITE_PERL}/HTML/Base.pm:${PORTSDIR}/www/p5-HTML \
${SITE_PERL}/LWP.pm:${PORTSDIR}/www/p5-libwww \
@@ -35,7 +36,8 @@
USE_GMAKE= yes
USE_XPM= yes
USE_PERL5= yes
-USE_GNOME= gnomeprefix gtkhtml3 libgsf_gnome libglade2
+USE_GNOME= gnomeprefix gtkhtml3 libgsf_gnome libglade2 \
+ libgnomeprint libgnomeprintui
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-glib-config=${GLIB_CONFIG} \
diff -urN gnucash.orig/distinfo gnucash/distinfo
--- gnucash.orig/distinfo Sun Dec 24 15:17:58 2006
+++ gnucash/distinfo Tue Feb 20 17:26:13 2007
@@ -1,3 +1,3 @@
-MD5 (gnucash-2.0.3.tar.gz) = c1a17171bca9b8d5cd25d2c1c83c947e
-SHA256 (gnucash-2.0.3.tar.gz) = 2808cadeb1d371aa172a09bb1af98c104f1b904908897a491d6f8adf34dbb426
-SIZE (gnucash-2.0.3.tar.gz) = 10422763
+MD5 (gnucash-2.0.5.tar.bz2) = 28f9b160fc01c4e597aca4c53d71fafe
+SHA256 (gnucash-2.0.5.tar.bz2) = b7e2efcdc79ba864a1730af9e0197cdbf586c9008196eaffffce8f020f1fb479
+SIZE (gnucash-2.0.5.tar.bz2) = 7372056
diff -urN gnucash.orig/files/patch-gtk_html_print.diff gnucash/files/patch-gtk_html_print.diff
--- gnucash.orig/files/patch-gtk_html_print.diff Wed Dec 31 19:00:00 1969
+++ gnucash/files/patch-gtk_html_print.diff Tue Feb 20 23:20:40 2007
@@ -0,0 +1,11 @@
+--- src/gnome-utils/gnc-html.c.orig Tue Feb 20 23:18:48 2007
++++ src/gnome-utils/gnc-html.c Tue Feb 20 23:18:38 2007
+@@ -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);
+ }
+
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel