[Gtk-sharp-list] little bug in gtksourceview-sharp

Roland BARRIOT rbarriot@free.fr
Wed, 12 May 2004 15:35:03 +0200


Hi,

I use the official 0.2 gtksourceview-sharp tarball to run monodevelop. I 
would like to create rpm for monodevelop and its dependencies (as 
gtksourceview-sharp and gecko-sharp). But I have a little problem with 
the gtksourceview-sharp tarball, some files during the make install 
doesn't care about the prefix. I'm not an expert with automake and 
autoconf, but I think there is a problem with makefile.in.


in docs/makefile.in :

install-data-local:
        install -m 644 $(srcdir)/gtksourceview-sharp-docs.source 
`monodoc --get-sourcesdir`
        install -m 644 $(srcdir)/gtksourceview-sharp-docs.tree `monodoc 
--get-sourcesdir`
        install -m 644 $(srcdir)/gtksourceview-sharp-docs.zip `monodoc 
--get-sourcesdir`

`monodoc --get-sourcesdir` -> no prefix for destination !!

in gtksourceview-sharp/makefile.in:

install-apiDATA: $(api_DATA)
        @$(NORMAL_INSTALL)
        test -z "$(apidir)" || $(mkdir_p) "$(DESTDIR)$(apidir)"
        @list='$(api_DATA)'; for p in $$list; do \
          if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \
          f="`echo $$p | sed -e 's|^.*/||'`"; \
          echo " $(apiDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(apidir)/$$f'"; \
          $(apiDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(apidir)/$$f"; \
        done

here, i need to set DESTDIR=   in the make command line within my spec file.

There are maybe others bugs in other makefile section.

I'm not familiar with bugzilla, shoud I add this little bug, or can 
someone do it, or it's not necessary?

Regards,

Roland Barriot

PS: Monodevelop run fine on fc1, GO MONO !!!!