Re: cvs of gtsextra-2 fails to build
"Adrian E. Feiguin" <[email protected]> Tue, 13 Sep 2005 17:25:19 -0700
| Newsgroups | gmane.comp.scigraphica.gtkextra |
|---|---|
| Message-ID | <[email protected]> |
Cool, you are in! Welcome to the team ;-) Just add all those changes, I think they would be helpful. Go ahead also with the g_object porting, I think it's a great thing to have someone giving me a hand with this, I really appreciate it. Saludos, <ADRIAN> Stefan Kost wrote: >Hi Adrian, > >my sf.net user-name is 'ensonic'. If you add me to the project I'll >commit the neccesary changed for gtk-doc. Its now working. The three >object that use g_object style come up with everything. I'll further >volunteer to setup docs in one example (e.g. gtksheet) and help porting >to the new gobject api. One thing that others would need to do is >writing the docs. I am not familliar with the internal of the gtkextra >widget. I ofcouse offer help regarding where to put docs and how to >format them. > >Would it be okay if I make two changes to autogen.sh ? >1.) run configure after runningautogen while remembering the options passed >2.) add maintainer-mode to configure options when running autogen > >Stefan > >Adrian E. Feiguin wrote: > > >>I think they are all pretty much there. In any case, obviously the >>port would be a nice contribution as well, would you like to implement >>the changes yourself? If you feel comfortable with it, just send me >>all the patches, or I can grant you cvs access. If you want CVS access >>(I think that would be more practical), just send me your username. >>Thanks! >>Saludos, >><ADRIAN> >> >>Stefan Kost wrote: >> >> >> >>>Hi Adrian, >>> >>>these three type are registred the g_object way: >>>gtk_plot_array_get_type >>>gtk_plot_array_list_get_type >>>gtk_sheet_get_type >>> >>>the other types still use gtk_type_unique() which is deprecated and is >>>only used in deprecated type in gtk+. All other type have been ported to >>>use g_type_register(). >>> >>>The attached types file works for now. If other types should appear in >>>the class hierarchy they need to be ported to the new api. >>> >>>The attached new types file atleast runs and the new -docs.sgml has an >>>api-index and includes the hierarchy. >>> >>>On Mon, 2005-09-12 at 09:52 -0700, Adrian E. Feiguin wrote: >>> >>> >>> >>> >>>>Most of the important code has been ported already. I mean >>>>GtkPlotArray and GtkPlotAxis are GObjects, and I use g_object >>>>instead of gtk_object when I need to reference or dereference them. >>>>The missing parts where you see gtk_object (signals, etc) is not >>>>that important. You'll find the same in the gtk sources. Correct me >>>>if I'm wrong, and if you find any problems, let me know. >>>>Thank you. >>>>Saludos, >>>><ADRIAN> >>>> >>>>Stefan Kost wrote: >>>> >>>> >>>> >>>> >>>>>Hi Adrian, >>>>> >>>>>Uhm, showstopper. Are you plane to migrate the source to use >>>>>g_objec and not gtk_object anytime soon? Beause the gtk_object way >>>>>is deprecated in gtk-doc. >>>>> >>>>>Stefan >>>>> >>>>>Stefan Kost wrote: >>>>> >>>>> >>>>> >>>>> >>>>>>Hi Adrian, >>>>>> >>>>>>as I said, it build now. My Makefiles where just outdated. I'll >>>>>>look in the the problems with the types-file later tonight... Does >>>>>>the rest of the stuff works for you? >>>>>> >>>>>>Stefan >>>>>> >>>>>>Adrian E. Feiguin wrote: >>>>>> >>>>>> >>>>>> >>>>>> >>>>>>>Hi Stefan, I just build everything on FC4, and works just fine, >>>>>>>with menus and everything. This is pretty odd. BTW, I fixed a >>>>>>>couple of little bugs, so I suggest you get the latest cvs code. >>>>>>> >>>>>>>Stefan Kost wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>>>Hi Adrian, >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>>Hi Stefan! Your contribution will be more than welcome, thanks! >>>>>>>>>I just checked and that file is not in Makefile.am, nor in the >>>>>>>>>latest snapshot. >>>>>>>>>Can you check again? >>>>>>>>>Saludos, >>>>>>>>><ADRIAN> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>rerun autogen and now it builds! Sorry. Attached is >>>>>>>>1) a patch done via 'cvs diff -u . >gtk-doc.patch' against cvs HEAD >>>>>>>>2) a bunch of new files that need to go to 'docs/reference/' >>>>>>>>3.) all the old html files should be removed from CVS if everything >>>>>>>>works >>>>>>>> >>>>>>>>The generated docs aren't yet very useful. So whats next: >>>>>>>>each class should have section docs (requires gtk-doc 1.4). I'll >>>>>>>>prepare >>>>>>>>one as an example. Next one needs to go over the section file >>>>>>>>and move >>>>>>>>stuff that is not public down to the private section. Otherwise >>>>>>>>gtk-doc >>>>>>>>would aks for the symbol to be documented. >>>>>>>> >>>>>>>>When also adding the types file gtk-doc will generate inheritance >>>>>>>>hierarchy for the classes. Unfortunately here something goes >>>>>>>>wrong. I >>>>>>>>need to dig further though you sources to check where you are using >>>>>>>>GObject or GtkObject. And I need to check if all the listed >>>>>>>>_get_type >>>>>>>>symbols there are objects. >>>>>>>> >>>>>>>>Stefan >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>------------------------------------------------------- >>>>>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle >>>>>>Practices >>>>>>Agile & Plan-Driven Development * Managing Projects & Teams * >>>>>>Testing & QA >>>>>>Security * Process Improvement & Measurement * >>>>>>http://www.sqe.com/bsce5sf >>>>>>_______________________________________________ >>>>>>Scigraphica-gtkextra mailing list >>>>>>[email protected] >>>>>>https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra >>>>>> >>>>>> >>>>>> >>>>>------------------------------------------------------- >>>>>SF.Net email is Sponsored by the Better Software Conference & EXPO >>>>>September 19-22, 2005 * San Francisco, CA * Development Lifecycle >>>>>Practices >>>>>Agile & Plan-Driven Development * Managing Projects & Teams * >>>>>Testing & QA >>>>>Security * Process Improvement & Measurement * >>>>>http://www.sqe.com/bsce5sf >>>>>_______________________________________________ >>>>>Scigraphica-gtkextra mailing list >>>>>[email protected] >>>>>https://lists.sourceforge.net/lists/listinfo/scigraphica-gtkextra >>>>> >>>>> >>>>> >>>> >>>>------------------------------------------------------------------------ >>>> >>>> >>>>#include <glib.h> >>>>#include <glib-object.h> >>>>#include <gtkextra.h> >>>>#include <gtkextratypebuiltins.h> >>>> >>>>gtk_plot_array_get_type >>>>gtk_plot_array_list_get_type >>>>gtk_sheet_get_type >>>> >>>>------------------------------------------------------------------------ >>>> >>>> >>>><?xml version="1.0"?> >>>><!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN" >>>> >>>>"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"> >>>><book id="index" xmlns:xi="http://www.w3.org/2003/XInclude"> >>>> <bookinfo> >>>> <title>GtkExtra2 Reference Manual</title> >>>> </bookinfo> >>>> >>>> <chapter> >>>> <title>Libraray Reference</title> >>>> <xi:include href="xml/gtkplotflux.xml"/> >>>> <xi:include href="xml/gtkdirtree.xml"/> >>>> <xi:include href="xml/gtkitementry.xml"/> >>>> <xi:include href="xml/gtkplotsurface.xml"/> >>>> <xi:include href="xml/gtkcombobutton.xml"/> >>>> <xi:include href="xml/gtkbordercombo.xml"/> >>>> <xi:include href="xml/gtkplotbar.xml"/> >>>> <xi:include href="xml/gtkplotbox.xml"/> >>>> <xi:include href="xml/gtkplotgdk.xml"/> >>>> <xi:include href="xml/gtkiconlist.xml"/> >>>> <xi:include href="xml/gtkplot.xml"/> >>>> <xi:include href="xml/gtkiconfilesel.xml"/> >>>> <xi:include href="xml/gtkcharsel.xml"/> >>>> <xi:include href="xml/gtkcolorcombo.xml"/> >>>> <xi:include href="xml/gtkplotcandle.xml"/> >>>> <xi:include href="xml/gtkplotcanvas.xml"/> >>>> <xi:include href="xml/gtksheet.xml"/> >>>> <xi:include href="xml/gtkcheckitem.xml"/> >>>> <xi:include href="xml/gtktogglecombo.xml"/> >>>> <xi:include href="xml/gtkplotarray.xml"/> >>>> <xi:include href="xml/gtkplotbubble.xml"/> >>>> <xi:include href="xml/gtkplotpixmap.xml"/> >>>> <xi:include href="xml/gtkplotcanvasrectangle.xml"/> >>>> <xi:include href="xml/gtkplotcanvasline.xml"/> >>>> <xi:include href="xml/gtkplotcanvaspixmap.xml"/> >>>> <xi:include href="xml/gtkplotpolar.xml"/> >>>> <xi:include href="xml/gtkplotcanvasplot.xml"/> >>>> <xi:include href="xml/gtkfontcombo.xml"/> >>>> <xi:include href="xml/gtkplotcanvastext.xml"/> >>>> <xi:include href="xml/gtkplotcanvasellipse.xml"/> >>>> <xi:include href="xml/gtkplot3d.xml"/> >>>> <xi:include href="xml/gtkfilelist.xml"/> >>>> <xi:include href="xml/gtkplotdt.xml"/> >>>> <xi:include href="xml/gtkplotpc.xml"/> >>>> <xi:include href="xml/gtkplotps.xml"/> >>>> <xi:include href="xml/gtkplotcsurface.xml"/> >>>> <xi:include href="xml/gtkplotdata.xml"/> >>>> <xi:include href="xml/gtkplotsegment.xml"/> >>>> <xi:include href="xml/gtkextra-marshal.xml"/> >>>> <xi:include href="xml/gdk-pixbuf-hacks.xml"/> >>>> <xi:include href="xml/gtkextrafeatures.xml"/> >>>> <xi:include href="xml/gtkplotprint.xml"/> >>>> <xi:include href="xml/gtkpsfont.xml"/> >>>> <xi:include href="xml/gtkplotdtriangle.xml"/> >>>> <xi:include href="xml/gtkextratypebuiltins.xml"/> >>>> </chapter> >>>> >>>> <chapter id="objecttree"> >>>> <title>Object Hierarchy</title> >>>> <xi:include href="xml/tree_index.sgml"/> >>>> </chapter> >>>> >>>> <index id="api-index"> >>>> <title>API Index</title> >>>> </index> >>>> >>>></book> >>>> >>>> >>>> > > > ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php