Re: Deprecated libraries

2009-09-29 Thread Derek Atkins
Phil Longstaff plongst...@rogers.com writes:

 I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
 disabled.  I submitted a patch for one simple change.  GnomeDruid (libgnomeui)
 is deprecated in favor of GtkAssistant.  I logged a bug for this one. 
 GtkTooltips is deprecated in favor of GtkTooltip.  However, there are comments
 in the code to the effect that some needed features aren't in Gtk (tooltip on
 each item of a combo box).  Others, as Derek says, are dependencies of our
 dependencies.

When were these new interfaces added to Gtk?  Do we have a new minimum
version of Gtk?

 Re major versions: 2.4 will have the new db backend and webkit instead of
 gtkhtml.  I think 2.6 should have new reports (Chris Dennis' eguile-based
 reports) and register rewrite.

I thought the basic e-guile reports were in 2.4.. Are you saying they
are not?  Or are you saying that a full conversion of all reports to
eguile would wait?  Personally I think we should just have a mix; I'm
not convinced all reports require a conversion to e-guile.

 Phil

-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
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Phil Longstaff
I think our current version of Gtk hasn't changed.

Re e-guile reports: I think the first e-guile report is in 2.3.X, but I haven't 
really tested to see if it is or how it works.

Phil





From: Derek Atkins warl...@mit.edu
To: Phil Longstaff plongst...@rogers.com
Cc: Geert Janssens janssens-ge...@telenet.be; gnucash-devel@gnucash.org
Sent: Tuesday, September 29, 2009 11:59:14 AM
Subject: Re: Deprecated libraries

Phil Longstaff plongst...@rogers.com writes:

 I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
 disabled.  I submitted a patch for one simple change.  GnomeDruid (libgnomeui)
 is deprecated in favor of GtkAssistant.  I logged a bug for this one. 
 GtkTooltips is deprecated in favor of GtkTooltip.  However, there are comments
 in the code to the effect that some needed features aren't in Gtk (tooltip on
 each item of a combo box).  Others, as Derek says, are dependencies of our
 dependencies.

When were these new interfaces added to Gtk?  Do we have a new minimum
version of Gtk?

 Re major versions: 2.4 will have the new db backend and webkit instead of
 gtkhtml.  I think 2.6 should have new reports (Chris Dennis' eguile-based
 reports) and register rewrite.

I thought the basic e-guile reports were in 2.4.. Are you saying they
are not?  Or are you saying that a full conversion of all reports to
eguile would wait?  Personally I think we should just have a mix; I'm
not convinced all reports require a conversion to e-guile.

 Phil

-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
  warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Derek Atkins
Phil,

What I meant was: Are these new APIs available in Gtk 2.6 (which is our
current minimum version of Gtk).  If the code wont still build against
Gtk 2.6 then we should consider changing the configure script to
something more recent or fixing the code to make sure we retain gtk-2.6
support.

-derek

Phil Longstaff plongst...@rogers.com writes:

 I think our current version of Gtk hasn't changed.

 Re e-guile reports: I think the first e-guile report is in 2.3.X, but I
 haven't really tested to see if it is or how it works.

 Phil

 ━━
 From: Derek Atkins warl...@mit.edu
 To: Phil Longstaff plongst...@rogers.com
 Cc: Geert Janssens janssens-ge...@telenet.be; gnucash-devel@gnucash.org
 Sent: Tuesday, September 29, 2009 11:59:14 AM
 Subject: Re: Deprecated libraries

 Phil Longstaff plongst...@rogers.com writes:

 I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
 disabled.  I submitted a patch for one simple change.  GnomeDruid
 (libgnomeui)
 is deprecated in favor of GtkAssistant.  I logged a bug for this one.
 GtkTooltips is deprecated in favor of GtkTooltip.  However, there are
 comments
 in the code to the effect that some needed features aren't in Gtk (tooltip
 on
 each item of a combo box).  Others, as Derek says, are dependencies of our
 dependencies.

 When were these new interfaces added to Gtk?  Do we have a new minimum
 version of Gtk?

 Re major versions: 2.4 will have the new db backend and webkit instead of
 gtkhtml.  I think 2.6 should have new reports (Chris Dennis' eguile-based
 reports) and register rewrite.

 I thought the basic e-guile reports were in 2.4.. Are you saying they
 are not?  Or are you saying that a full conversion of all reports to
 eguile would wait?  Personally I think we should just have a mix; I'm
 not convinced all reports require a conversion to e-guile.

 Phil

 -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-IAN1NWH
   warl...@mit.eduPGP key available


-- 
   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
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-29 Thread Bill Nottingham
Derek Atkins (warl...@mit.edu) said: 
 Phil Longstaff plongst...@rogers.com writes:
 
  I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
  disabled.  I submitted a patch for one simple change.  GnomeDruid 
  (libgnomeui)
  is deprecated in favor of GtkAssistant.  I logged a bug for this one. 
  GtkTooltips is deprecated in favor of GtkTooltip.  However, there are 
  comments
  in the code to the effect that some needed features aren't in Gtk (tooltip 
  on
  each item of a combo box).  Others, as Derek says, are dependencies of our
  dependencies.
 
 When were these new interfaces added to Gtk?  Do we have a new minimum
 version of Gtk?

GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.

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


Re: Deprecated libraries

2009-09-29 Thread Derek Atkins

Quoting Bill Nottingham nott...@redhat.com:


Derek Atkins (warl...@mit.edu) said:

Phil Longstaff plongst...@rogers.com writes:

 I tried a build last night with deprecated gnome/glib/gtk/gdk/... features
 disabled.  I submitted a patch for one simple change.  GnomeDruid 
(libgnomeui)

 is deprecated in favor of GtkAssistant.  I logged a bug for this one.
 GtkTooltips is deprecated in favor of GtkTooltip.  However, there 
are comments
 in the code to the effect that some needed features aren't in Gtk 
(tooltip on

 each item of a combo box).  Others, as Derek says, are dependencies of our
 dependencies.

When were these new interfaces added to Gtk?  Do we have a new minimum
version of Gtk?


GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.


Thanks Bill.  It's kinda what I was afraid of.

I think I can convince myself that it's okay to require gtk-2.10.
I'm not sure about 2.12.  What version does Ubuntu 8.04 have?
I think we'd blow RHEL-5 out of the water if we increase the
gtk requirement that far, wont we?


Bill


-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
  warl...@mit.eduPGP key available

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


Re: Deprecated libraries

2009-09-29 Thread Bill Nottingham
Derek Atkins (warl...@mit.edu) said: 
 When were these new interfaces added to Gtk?  Do we have a new minimum
 version of Gtk?
 
 GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.
 
 Thanks Bill.  It's kinda what I was afraid of.
 
 I think I can convince myself that it's okay to require gtk-2.10.
 I'm not sure about 2.12.  What version does Ubuntu 8.04 have?
 I think we'd blow RHEL-5 out of the water if we increase the
 gtk requirement that far, wont we?

RHEL 5 ships gtk-2.10.x, yes.

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


Re: Deprecated libraries

2009-09-29 Thread Derek Atkins

Quoting Bill Nottingham nott...@redhat.com:


Derek Atkins (warl...@mit.edu) said:

When were these new interfaces added to Gtk?  Do we have a new minimum
version of Gtk?

GtkAssistant is from GTK+ 2.10. GtkToolTip is GTK+ 2.12.

Thanks Bill.  It's kinda what I was afraid of.

I think I can convince myself that it's okay to require gtk-2.10.
I'm not sure about 2.12.  What version does Ubuntu 8.04 have?
I think we'd blow RHEL-5 out of the water if we increase the
gtk requirement that far, wont we?


RHEL 5 ships gtk-2.10.x, yes.


Answering my own question, ub8.04 has 2.12, but I don't think we should
ignore el5..  So like I said I'm happy to drop everything pre-el5 and
increase our gtk requirement to 2.10, but I think 2.12 is too new.

So Phil, that means we cannot use GtkToolTip and have to continue using
the old GtkTooltips...   Unless you want to copy the new API into a
compatibility library like we did for lib/glib28 etc?  But minimum
requirement should be gtk-2.10.

Thanks,


Bill


-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
  warl...@mit.eduPGP key available

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


Re: Deprecated libraries

2009-09-25 Thread Derek Atkins
Hi,

Geert Janssens janssens-ge...@telenet.be writes:

[snip]
 What's the state of these libraries in GnuCash ? If I run an ldd on the 2.3.5 
 binary, it still links to most of these libraries.

Many of these libraries are used indirectly (e.g., they are dependencies
of our dependencies).  However I know the register DOES use the gnome
canvas.  Which means the Register Rewrite branch needs to complete
before this move can finish.

 I'm just thinking out loud here. Gnome 2.30 or 2.32 will become Gnome 3.0 
 according to the release notes. This means Gnome 3.0 will hit some major 
 distributions in about 1 year. So in about 1 year there will be gnome 
 installations that no longer carry these deprecated libraries, and hence 
 break 
 GnuCash as it is now.

 GnuCash in working towards a new major release (2.4). Personally, I don't 
 expect GnuCash to do another major release in a one year timeframe. And I 
 assume a minor release is not the proper place to go on changing library 
 dependencies.

 So I was wondering, is the 2.4 release not the best time to remove GnuCash' 
 dependency on these deprecated libraries ?

I don't think we should worry about this for 2.4.  HOWEVER I do think
that AFTER 2.4 we should try to finish the register rewrite and perform
a gnome-3 migration for a future GnuCash 2.6 or 3.0.

 Geert

-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
   warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-25 Thread Phil Longstaff
I tried a build last night with deprecated gnome/glib/gtk/gdk/... features 
disabled.  I submitted a patch for one simple change.  GnomeDruid (libgnomeui) 
is deprecated in favor of GtkAssistant.  I logged a bug for this one.  
GtkTooltips is deprecated in favor of GtkTooltip.  However, there are comments 
in the code to the effect that some needed features aren't in Gtk (tooltip on 
each item of a combo box).  Others, as Derek says, are dependencies of our 
dependencies.

Re major versions: 2.4 will have the new db backend and webkit instead of 
gtkhtml.  I think 2.6 should have new reports (Chris Dennis' eguile-based 
reports) and register rewrite.

Phil





From: Derek Atkins warl...@mit.edu
To: Geert Janssens janssens-ge...@telenet.be
Cc: gnucash-devel@gnucash.org
Sent: Friday, September 25, 2009 10:00:48 AM
Subject: Re: Deprecated libraries

Hi,

Geert Janssens janssens-ge...@telenet.be writes:

[snip]
 What's the state of these libraries in GnuCash ? If I run an ldd on the 2.3.5 
 binary, it still links to most of these libraries.

Many of these libraries are used indirectly (e.g., they are dependencies
of our dependencies).  However I know the register DOES use the gnome
canvas.  Which means the Register Rewrite branch needs to complete
before this move can finish.

 I'm just thinking out loud here. Gnome 2.30 or 2.32 will become Gnome 3.0 
 according to the release notes. This means Gnome 3.0 will hit some major 
 distributions in about 1 year. So in about 1 year there will be gnome 
 installations that no longer carry these deprecated libraries, and hence 
 break 
 GnuCash as it is now.

 GnuCash in working towards a new major release (2.4). Personally, I don't 
 expect GnuCash to do another major release in a one year timeframe. And I 
 assume a minor release is not the proper place to go on changing library 
 dependencies.

 So I was wondering, is the 2.4 release not the best time to remove GnuCash' 
 dependency on these deprecated libraries ?

I don't think we should worry about this for 2.4.  HOWEVER I do think
that AFTER 2.4 we should try to finish the register rewrite and perform
a gnome-3 migration for a future GnuCash 2.6 or 3.0.

 Geert

-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
  warl...@mit.eduPGP key available
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel


Re: Deprecated libraries

2009-09-25 Thread John Ralls


On Sep 25, 2009, at 7:16 AM, Phil Longstaff wrote:



Re major versions: 2.4 will have the new db backend and webkit  
instead of gtkhtml.  I think 2.6 should have new reports (Chris  
Dennis' eguile-based reports) and register rewrite.




Apropos webkit instead of gtkhtml, Gnucash-2.3.5's configure demands  
gtkhtml even with html-engine=webkit. The error when it's not present  
is:


checking GOFFICE_LIBS... -L/opt/gnucash-2.3.x/lib -lgoffice-0.8
checking for libgtkhtml-3.14... no
configure: error: Goffice uses Cairo/GtkPrint but didn't find GtkHTML  
with GtkPrint support


Is that because webkit integration isn't complete yet, or because  
configure.in needs to be adjusted?


Regards,
John Ralls

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


Re: Deprecated libraries

2009-09-25 Thread Phil Longstaff
On September 25, 2009 07:00:29 pm John Ralls wrote:
 On Sep 25, 2009, at 7:16 AM, Phil Longstaff wrote:
  Re major versions: 2.4 will have the new db backend and webkit
  instead of gtkhtml.  I think 2.6 should have new reports (Chris
  Dennis' eguile-based reports) and register rewrite.

 Apropos webkit instead of gtkhtml, Gnucash-2.3.5's configure demands
 gtkhtml even with html-engine=webkit. The error when it's not present
 is:

 checking GOFFICE_LIBS... -L/opt/gnucash-2.3.x/lib -lgoffice-0.8
 checking for libgtkhtml-3.14... no
 configure: error: Goffice uses Cairo/GtkPrint but didn't find GtkHTML
 with GtkPrint support

 Is that because webkit integration isn't complete yet, or because
 configure.in needs to be adjusted?

That's a bug in configure.in

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


Deprecated libraries

2009-09-24 Thread Geert Janssens
While reading the release notes of the just release gnome 2.28, my eye caught 
this paragraph:

Quote
Fixing Usage of Deprecated Libraries

Starting with GNOME 3.0, various deprecated parts of GNOME will be removed. 
These deprecated components include libraries such as libart_lgpl, libbonobo, 
libbonoboui, libglade, libgnome, libgnomecanvas, libgnomeprint, 
libgnomeprintui, libgnomeui and libgnomevfs. For applications that ship as 
part of the GNOME Desktop, a number of cleanup tasks [1] have been carried out 
to ensure no deprecated code is used. This will ensure the smooth transition 
to GNOME 3.0.

Developers are strongly urged to follow this example in their own applications 
too. Furthermore, for any developers (or potential developers) who wish to 
help us out, the GNOME goals [1] wiki page lists the various tasks that are 
yet to be completed. An automatically created and updated status overview of 
remaining work for modules that are supported by the JHBuild build tool can be 
found here [2].
/Quote

What's the state of these libraries in GnuCash ? If I run an ldd on the 2.3.5 
binary, it still links to most of these libraries.

I'm just thinking out loud here. Gnome 2.30 or 2.32 will become Gnome 3.0 
according to the release notes. This means Gnome 3.0 will hit some major 
distributions in about 1 year. So in about 1 year there will be gnome 
installations that no longer carry these deprecated libraries, and hence break 
GnuCash as it is now.

GnuCash in working towards a new major release (2.4). Personally, I don't 
expect GnuCash to do another major release in a one year timeframe. And I 
assume a minor release is not the proper place to go on changing library 
dependencies.

So I was wondering, is the 2.4 release not the best time to remove GnuCash' 
dependency on these deprecated libraries ?

Geert

--
[1] http://live.gnome.org/GnomeGoals
[2] http://www.gnome.org/~fpeters/299.html
___
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel