Hi Peter,

you seem to have added a new meaning or variant of the --disable- 
deprecated flag.
I think the --disable-deprecated will pass DISABLE_DEPRECATED or  
something like that to CPP when pre-processing the gtk.h header file  
and will thus omit all sorts of definitions. If we really wanted to  
make this flag work with Gtk2Hs, then we would have to omit all  
deprecated definitions depending on the version number of Gtk+ that  
we compile against. This seems to be too much trouble. It is already  
enough work to exclude all new functions for older Gtk+ versions  
since this has to be tested against all older Gtk+ versions. Fully  
supporting the DISABLE_DEPRECATED flag is IMHO too much work for the  
benefit it gives developers.

A cheaper interpretation of --disable-deprecated would be to remove  
all functionality in Gtk2Hs that we think should not be used anymore.  
Examples are the Event module which is replaced by EventM and also  
all module in TreeList/ are deprecated. I think this is your  
interpretation, but I just want to make sure that I understand what  
you're doing. Have you removed anything related to passing  
DISABLE_DEPRECATED to CPP?

Axel.

On Jan 1, 2009, at 19:28, Peter gavin wrote:

> Fri Dec 19 11:55:01 EST 2008  Peter Gavin <pga...@gmail.com>
>   * configure.ac: deprecate sourceview and gnomevfs packages
>
>     hunk ./configure.ac 313
>     -GTKHS_PKG_CHECK(sourceview, sourceview, SOURCEVIEW,  
> [gtksourceview-1.0 >= 0.6.0], [GLIB GTK],
>     - [build sourceview package (default=auto)],
>     +GTKHS_PKG_CHECK_DEPRECATED(sourceview, sourceview, SOURCEVIEW,  
> [gtksourceview-1.0 >= 0.6.0], [GLIB GTK],
>     + [build sourceview package [[DEPRECATED]] (default=no with -- 
> disable-deprecated, default=auto otherwise)],
>     hunk ./configure.ac 378
>     -GTKHS_PKG_CHECK(gnomevfs, gnomevfs, GNOMEVFS, [gnome-vfs-2.0  
> >= 2.0.0 gnome-vfs-module-2.0 >= 2.0.0 ], [GLIB],
>     - [build gnome-vfs package (default=auto)],
>     +GTKHS_PKG_CHECK_DEPRECATED(gnomevfs, gnomevfs, GNOMEVFS,  
> [gnome-vfs-2.0 >= 2.0.0 gnome-vfs-module-2.0 >= 2.0.0 ], [GLIB],
>     + [build gnome-vfs package [[DEPRECATED]] (default=no with -- 
> disable-deprecated, default=auto otherwise)],
>
> ---------------------------------------------------------------------- 
> --------
> _______________________________________________
> Gtk2hs-commit mailing list
> gtk2hs-com...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gtk2hs-commit


------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Gtk2hs-devel mailing list
Gtk2hs-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel

Reply via email to