Re: problems with gtk_html_print in gtkhtml.h

2007-02-16 Thread Derek Atkins
Indeed...

Did they not change the .so version when they removed the symbol?

-derek

Ian Lewis [EMAIL PROTECTED] writes:

 Well, regardless of whether it's deprecated or obsoleted if gtkhtml starts
 removing fuctions from files then it means that the newer and older versions
 will be incompatible.

 2007/2/16, David Hampton [EMAIL PROTECTED]:

 On Thu, 2007-02-15 at 19:15 -0500, Derek Atkins wrote:
  Quoting David Hampton [EMAIL PROTECTED]:
 
   On Thu, 2007-02-15 at 16:52 -0500, digger vermont wrote:
  
   My reading skill (programming) is not very good but it seems that
 they
   are getting rid of the dependency on libgnomeprint.
  
   Well, that makes sense since libgnomeprint was obsoleted by the
 various
   GtkPrint* functions in gtk 2.10.
 
  Fun..  And of course FC5 still only has gtk 2.8..  So we need to support
  both interfaces...   *sigh*

 Sorry, deprecated was the word I meant to use.  There is some overlap
 where releases have both.

 David

 ___
 gnucash-devel mailing list
 gnucash-devel@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel

 --
 Ian Lewis
 [EMAIL PROTECTED]
 http://www.ianlewis.org/
 http://jsxe.sourceforge.net


-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: problems with gtk_html_print in gtkhtml.h

2007-02-16 Thread Bill Nottingham
Derek Atkins ([EMAIL PROTECTED]) said: 
 Indeed...
 
 Did they not change the .so version when they removed the symbol?

No. Bug filed upstream @ gnome.org.

Bill
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: problems with gtk_html_print in gtkhtml.h

2007-02-15 Thread digger vermont
Hi Derek,

On Thu, 2007-02-15 at 11:17 -0500, Derek Atkins wrote:
 Hi,
 
 digger vermont [EMAIL PROTECTED] writes:
 
  Not getting any response from the bugreport I thought I'd build 2.04
  myself and also ran into what looks like may be the same problem.  It
  stalls where gnc-html.c is looking  for gtk_html_print from
  gtkhtml/gtkhtml.h  
 
 Actually, that's NOT what the error below is saying.  The error below

...

 [snip]
  Looking at /usr/include/libgtkhtml-3.8/gtkhtml/gtkhtml.h I can't find
  gtk_html_print. Ubuntu/Feisty is using version 3.13.91-0ubuntu1 for
  libgtkhtml3.8-dev.
 
 Oh REALLY?  If gtk_html_print weren't declared somewhere then the

Yeah really :)  If you're curious I attached a diff between
gtkhtml-3.13.6/src/gtkhtml.h and gtkhtml-3.13.91/src/gtkhtml.h.

My reading skill (programming) is not very good but it seems that they
are getting rid of the dependency on libgnomeprint. 

 compile would've blown out MUCH earlier..  Oh, unless you have
 error-on-warning disabled, which you would if you're building from
 the tarball and don't explicitly --enable-error-on-warning.
 

Yeah in my hurry I forgot that.  I reconfigured with
--enable-error-on-warning and and it does stop earlier:

make[5]: Entering directory
`/home/digger/src/gnucash-2.0.4/src/gnome-utils'
if /bin/bash ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H
-I. -I. -I../.. -I../.. -I../.. -I../..-DPREFIX=\/usr/local\
-DSYSCONFDIR=\/usr/local/etc/gnucash\ -DDATADIR=
\/usr/local/share/gnucash\ -DLIBDIR=\/usr/local/lib/gnucash\
-I../../src/core-utils -I../../src/gnc-module -I../../src/engine
-I../../src/backend/file -I../../src/network-utils -I../../src/app-utils
-I../../src -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/freetype2
-I/usr/include/libpng12 -I/usr/include/libgnomeprint-2.2
-I/usr/include/libart-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-I/usr/include/pango-1.0 -I/usr/include/libgnomeprintui-2.2
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/freetype2
-I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/libpng12 -DORBIT2=1 -pthread
-I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12
-I/usr/include/libxml2 -DORBIT2=1 -pthread -I/usr/include/libgtkhtml-3.8
-I/usr/include/libgnomeui-2.0 -I/usr/include/gtk-unix-print-2.0
-I/usr/include/libglade-2.0 -I/usr/include/libgnome-2.0
-I/usr/include/libgnomecanvas-2.0 -I/usr/include/gtk-2.0
-I/usr/include/libart-2.0 -I/usr/include/gconf/2
-I/usr/include/libbonoboui-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-keyring-1
-I/usr/include/orbit-2.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libbonobo-2.0
-I/usr/include/bonobo-activation-2.0 -I/usr/include/pango-1.0
-I/usr/include/freetype2 -I/usr/lib/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/libpng12
-I/usr/include/libxml2  -std=gnu99   -I../../lib/libqof/qof
-I../../lib/libqof/qof -I../../lib/goffice-0.0.4 -DORBIT2=1 -pthread
-I/usr/include/libgsf-1 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/libxml2
-I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0
-I/usr/lib/gnome-vfs-2.0/include -I/usr/include/gnome-vfs-module-2.0
-I/usr/include/orbit-2.0 -I/usr/include/bonobo-activation-2.0
-I/usr/include/gconf/2   -g -O2 -Wall -Wunused -Wmissing-prototypes
-Wmissing-declarations   -Werror -Wdeclaration-after-statement
-Wno-pointer-sign -D_FORTIFY_SOURCE=2 -MT gnc-html.lo -MD -MP -MF
.deps/gnc-html.Tpo -c -o gnc-html.lo gnc-html.c; \
then mv -f .deps/gnc-html.Tpo .deps/gnc-html.Plo; else rm -f
.deps/gnc-html.Tpo; exit 1; fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../.. -I../.. -DPREFIX=
\/usr/local\ -DSYSCONFDIR=\/usr/local/etc/gnucash\ -DDATADIR=
\/usr/local/share/gnucash\ -DLIBDIR=\/usr/local/lib/gnucash\
-I../../src/core-utils -I../../src/gnc-module -I../../src/engine
-I../../src/backend/file -I../../src/network-utils 

Re: problems with gtk_html_print in gtkhtml.h

2007-02-15 Thread David Hampton
On Thu, 2007-02-15 at 16:52 -0500, digger vermont wrote:

 My reading skill (programming) is not very good but it seems that they
 are getting rid of the dependency on libgnomeprint. 

Well, that makes sense since libgnomeprint was obsoleted by the various
GtkPrint* functions in gtk 2.10.

David


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: problems with gtk_html_print in gtkhtml.h

2007-02-15 Thread Derek Atkins
Quoting David Hampton [EMAIL PROTECTED]:

 On Thu, 2007-02-15 at 16:52 -0500, digger vermont wrote:

 My reading skill (programming) is not very good but it seems that they
 are getting rid of the dependency on libgnomeprint.

 Well, that makes sense since libgnomeprint was obsoleted by the various
 GtkPrint* functions in gtk 2.10.

Fun..  And of course FC5 still only has gtk 2.8..  So we need to support
both interfaces...   *sigh*

 David

-derek

-- 
   Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
   Member, MIT Student Information Processing Board  (SIPB)
   URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH
   [EMAIL PROTECTED]PGP key available

___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: problems with gtk_html_print in gtkhtml.h

2007-02-15 Thread David Hampton
On Thu, 2007-02-15 at 19:15 -0500, Derek Atkins wrote:
 Quoting David Hampton [EMAIL PROTECTED]:
 
  On Thu, 2007-02-15 at 16:52 -0500, digger vermont wrote:
 
  My reading skill (programming) is not very good but it seems that they
  are getting rid of the dependency on libgnomeprint.
 
  Well, that makes sense since libgnomeprint was obsoleted by the various
  GtkPrint* functions in gtk 2.10.
 
 Fun..  And of course FC5 still only has gtk 2.8..  So we need to support
 both interfaces...   *sigh*

Sorry, deprecated was the word I meant to use.  There is some overlap
where releases have both.

David


___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: problems with gtk_html_print in gtkhtml.h

2007-02-15 Thread Ian Lewis
Well, regardless of whether it's deprecated or obsoleted if gtkhtml starts
removing fuctions from files then it means that the newer and older versions
will be incompatible.

2007/2/16, David Hampton [EMAIL PROTECTED]:

 On Thu, 2007-02-15 at 19:15 -0500, Derek Atkins wrote:
  Quoting David Hampton [EMAIL PROTECTED]:
 
   On Thu, 2007-02-15 at 16:52 -0500, digger vermont wrote:
  
   My reading skill (programming) is not very good but it seems that
 they
   are getting rid of the dependency on libgnomeprint.
  
   Well, that makes sense since libgnomeprint was obsoleted by the
 various
   GtkPrint* functions in gtk 2.10.
 
  Fun..  And of course FC5 still only has gtk 2.8..  So we need to support
  both interfaces...   *sigh*

 Sorry, deprecated was the word I meant to use.  There is some overlap
 where releases have both.

 David


 ___
 gnucash-devel mailing list
 gnucash-devel@gnucash.org
 https://lists.gnucash.org/mailman/listinfo/gnucash-devel




-- 
Ian Lewis
[EMAIL PROTECTED]
http://www.ianlewis.org/
http://jsxe.sourceforge.net
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


problems with gtk_html_print in gtkhtml.h

2007-02-14 Thread digger vermont
Hello All,

I've had problems printing from Gnucash for weeks now.  I've filed a bug
on it.  Ubuntu is at version 2.0.2-3ubuntu1 for Feisty. 

https://bugs.launchpad.net/ubuntu/+source/gnucash/+bug/82194

Not getting any response from the bugreport I thought I'd build 2.04
myself and also ran into what looks like may be the same problem.  It
stalls where gnc-html.c is looking  for gtk_html_print from
gtkhtml/gtkhtml.h  

Making all in test
make[5]: Entering directory
`/home/digger/src/gnucash-2.0.4/src/gnome-utils/test'
/bin/bash ../../../libtool --tag=CC --mode=link gcc  -g -O2 -Wall
-Wunused -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2   -o
test-gnc-recurrence  test-gnc-recurrence.o -Wl,--export-dynamic -pthread
-lgnomeui-2 -lSM -lICE -lbonoboui-2 -lgnomevfs-2 -lgnome-keyring
-lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0
-lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm
-lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr
-lXcursor -lXfixes -lpango-1.0 -lcairo -lX11 -lbonobo-2
-lbonobo-activation -lgconf-2 -lgmodule-2.0 -ldl -lORBit-2 -lgthread-2.0
-lrt -lgobject-2.0
-lglib-2.0   ../../../src/app-utils/libgncmod-app-utils.la 
../../../src/gnome-utils/libgncmod-gnome-utils.la 
../../../src/engine/libgncmod-engine.la -lpopt -lm  -lm
gcc -g -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2
-o .libs/test-gnc-recurrence test-gnc-recurrence.o -Wl,--export-dynamic
-pthread  ../../../src/app-utils/.libs/libgncmod-app-utils.so 
../../../src/gnome-utils/.libs/libgncmod-gnome-utils.so 
/home/digger/src/gnucash-2.0.4/src/backend/file/.libs/libgnc-backend-file-utils.so
 
/home/digger/src/gnucash-2.0.4/src/network-utils/.libs/libgncmod-network-utils.so
 /home/digger/src/gnucash-2.0.4/src/app-utils/.libs/libgncmod-app-utils.so 
/home/digger/src/gnucash-2.0.4/src/engine/.libs/libgw-engine.so 
/home/digger/src/gnucash-2.0.4/src/engine/.libs/libgncmod-engine.so 
/home/digger/src/gnucash-2.0.4/src/calculation/.libs/libgncmod-calculation.so 
-lgnomeprintui-2-2 -lgtkhtml-3.8 
/home/digger/src/gnucash-2.0.4/lib/goffice-0.0.4/goffice/.libs/libgoffice-1.so 
/usr/lib/libglade-2.0.so -lgnomeprint-2-2 /usr/lib/libgnomeui-2.so 
/usr/lib/libbonoboui-2.so /usr/lib/libgnome-keyring.so 
/usr/lib/libgnomecanvas-2.so -lSM -lICE /usr/lib/libgnome-2.so 
/usr/lib/libart_lgpl_2.so /usr/lib/libpangoft2-1.0.so -lgsf-gnome-1 -lgsf-1 
/usr/lib/libbonobo-2.so /usr/lib/libgnomevfs-2.so!
  /usr/lib/libbonobo-activation.so /usr/lib/libORBitCosNaming-2.so 
/usr/lib/libxml2.so ../../../src/engine/.libs/libgncmod-engine.so 
/home/digger/src/gnucash-2.0.4/src/gnc-module/.libs/libgncmodule.so 
/usr/lib/libltdl.so 
/home/digger/src/gnucash-2.0.4/src/core-utils/.libs/libcore-utils.so 
/usr/lib/libgconf-2.so /usr/lib/libORBit-2.so /usr/lib/libgtk-x11-2.0.so 
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so 
/usr/lib/libpangocairo-1.0.so -lXext -lXinerama -lXi -lXrandr -lXcursor 
-lXfixes /usr/lib/libpango-1.0.so /usr/lib/libcairo.so /usr/lib/libfreetype.so 
-lz -lfontconfig -lpng12 -lXrender -lX11 /usr/lib/libgwrap-guile-runtime.so 
/usr/lib/libgwrap-core-runtime.so /usr/lib/libguile.so 
/usr/lib/libguile-ltdl.so -lcrypt /usr/lib/libffi.so 
/home/digger/src/gnucash-2.0.4/lib/libqof/qof/.libs/libgncqof.so 
/usr/lib/libgthread-2.0.so -lpthread -lrt /usr/lib/libgobject-2.0.so 
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so /usr/lib/libpopt.so -!
 lm -Wl,--rpath -Wl,/opt/gnucash/lib/gnucash -Wl,--rpath -Wl,/opt/gnuca
sh/lib
../../../src/gnome-utils/.libs/libgncmod-gnome-utils.so: undefined
reference to `gtk_html_print'
collect2: ld returned 1 exit status
make[5]: *** [test-gnc-recurrence] Error 1
make[5]: Leaving directory
`/home/digger/src/gnucash-2.0.4/src/gnome-utils/test'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory
`/home/digger/src/gnucash-2.0.4/src/gnome-utils'
make[3]: *** [all] Error 2
make[3]: Leaving directory
`/home/digger/src/gnucash-2.0.4/src/gnome-utils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/digger/src/gnucash-2.0.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/digger/src/gnucash-2.0.4'
make: *** [all] Error 2

Looking at /usr/include/libgtkhtml-3.8/gtkhtml/gtkhtml.h I can't find
gtk_html_print. Ubuntu/Feisty is using version 3.13.91-0ubuntu1 for
libgtkhtml3.8-dev.

I looked at the changes to gtkhtml.h at
http://svn.gnome.org/viewcvs/gtkhtml/trunk/src/ and it looks to me like
the function gtk_html_print has been removed.

So, given that Ubuntu is using the development branch I guess I'm not
sure where to go from here. I'll add the info to the ubuntu bugreport.
However on the Gnucash end, is this a known problem and/or should I file
a bugreport with Gnucash?

Thanks,

digger





___