Re: Continued .. Moving up the chain: Breaking gnome 2.0 alpha builds



On Fri, 2002-01-18 at 00:09, Owen Taylor wrote:
> 
> Gregory Leblanc <gleblanc linuxweasel com> writes:
> 
> > On Thu, 2002-01-17 at 15:01, R.I.P. Deaddog wrote:
> > > On Thu, 17 Jan 2002, Chris Chabot wrote:
> > > 
> > > > Also, gtk+ and other packages fail when the redhat's default gtk-doc is 
> > > > installed. Since upgrading it and all the tools is not a simple job, the 
> > > > 'easy' solution seems to be `rpm -e gtk-doc`
> > > 
> > > So, is it warranted to have a new release of gtk-doc within a few
> > > days?
> > 
> > Only if someone can figure out why it works for some packages, but not
> > for others.  I suspect that it's some difference in the makefiles, but
> > haven't had time to investigate further.  I'm not sure it's a gtk-doc
> > problem.
> 
> There is generally no reason to have gtk-doc when building 
> from tarballs except that the packages default to using it when
> it is found.
> 
> Making a new gtk-doc release is just a few minutes, so, it may be
> worth doing it just because it is easy, but people will be happier if
> they configure with --disable-gtk-doc in general.

here's a patch to fix gtk building with the new gtk-doc patch.

jacob
-- 
"In fact, can you imagine anything more terrifying than a zombie clown?"
	-- moby
Index: Makefile.am
===================================================================
RCS file: /cvs/gnome/gtk+/docs/reference/gtk/Makefile.am,v
retrieving revision 1.31
diff -u -r1.31 Makefile.am
--- Makefile.am	2002/01/11 22:39:03	1.31
+++ Makefile.am	2002/01/18 18:06:59
@@ -198,7 +198,7 @@
 scan-build.stamp: $(HFILE_GLOB)
 	@echo '*** Scanning header files ***'
 	if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null ; then \
-	    CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
+	    CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" CFLAGS="$(GTKDOC_CFLAGS)" LDFLAGS="$(GTKDOC_LIBS)" gtkdoc-scangobj --type-init-func="gtk_type_init(0)" --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
 	else \
 	    cd $(srcdir) ; \
 	    for i in $(SCANOBJ_FILES) ; do \


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]