Re: [semi-OT] dependencies libraries

2008-09-07 Thread Stefan Kost

hi,

you can try gtkdoc-depscan (since gtk-doc 1.10). It will tell you which versions 
of the libs you check against you require and also because of which symbols. The 
information can be used to turn some into soft-deps (not requiring it and have 
conditional code). Only problem is that gtkdoc-depscan does not recognize 
conditional code :/ If someone has a great idea + patch, that would be awesome.


Stefan

Andrea Zagli schrieb:
how can i do to know the exact libraries versions which my applications 
depends on?


for example: if i develop with gtk 2.12 (but i can do the same reasoning 
with any other library) how can i do to know if i used (or not) new 
functions/classes introduced on that version? (of course without look 
inside library documentation for every function/class that i used)


thanks




___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: [semi-OT] dependencies libraries

2008-09-01 Thread Gabriele Greco
On Sun, Aug 31, 2008 at 10:46 AM, Brian J. Tarricone [EMAIL PROTECTED]wrote:

  for example: if i develop with gtk 2.12 (but i can do the same
  reasoning with any other library) how can i do to know if i used (or
  not) new functions/classes introduced on that version? (of course
  without look inside library documentation for every function/class
  that i used)

 That's pretty much the only way to do it, looking through the
 documentation.  If you really want to target a specific minimum version
 (say, 2.8), then you should develop against that version.


The autopackage project (www.autopackage.org) distributes a set of OLD gtk
headers/linklibs (I think 2.4, or 2.6 ones), suited to develop GTK+ apps
that runs on the vast majority of linux distro actually deployed.

Linking to them also remove the dependency from cairo. This is important
because if you link to a recent version of GTK (2.8+) also if you take care
to use only 2.0 apis you'll give your program an implicit dependency from
cairo.

-- 
Bye,
 Gabry
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


[semi-OT] dependencies libraries

2008-08-31 Thread Andrea Zagli
how can i do to know the exact libraries versions which my  
applications depends on?


for example: if i develop with gtk 2.12 (but i can do the same  
reasoning with any other library) how can i do to know if i used (or  
not) new functions/classes introduced on that version? (of course  
without look inside library documentation for every function/class  
that i used)


thanks
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: [semi-OT] dependencies libraries

2008-08-31 Thread Brian J. Tarricone
On Sun, 31 Aug 2008 10:41:42 +0200 Andrea Zagli wrote:

 how can i do to know the exact libraries versions which my  
 applications depends on?
 
 for example: if i develop with gtk 2.12 (but i can do the same  
 reasoning with any other library) how can i do to know if i used (or  
 not) new functions/classes introduced on that version? (of course  
 without look inside library documentation for every function/class  
 that i used)

That's pretty much the only way to do it, looking through the
documentation.  If you really want to target a specific minimum version
(say, 2.8), then you should develop against that version.

-brian
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list