Re: gnome2: calling gnome_help_display() fails



On Mon, 2003-01-27 at 05:38, Vladislav Grinchenko wrote:
> Rodrigo,
> 
> thanks for advice. I modified my Makefile.am to include defines below
> and used GNOME_PROGRAM_STANDARD_PROPERTIES, with the same result - no
> dice. 
> 
oh, maybe you need the OMF files for scrollkeeper. I have them installed
and it works, so maybe that's what you're missing:

$ cat doc/libgda-C.omf.in
<?xml version="1.0" standalone="no"?>
<!DOCTYPE omf PUBLIC "-//OMF//DTD Scrollkeeper OMF Variant V1.0//EN"
"http://scrollkeeper.sourceforge.net/dtds/scrollkeeper-omf-1.0/scrollkeeper-omf.dtd";>
<omf>
  <resource>
    <creator>
      Rodrigo Moya
    </creator>
    <title>
      libgda (GNOME/GNU Data Access) Manual
    </title>
    <date>August 2002</date>
    <subject category="GNOME|Development"/>
    <description>
      Complete manual for the use of libgda tools and programs,
      as well as for the complete API.
    </description>
    <type>user's guide</type>
    <format mime="text/html"/>
    <identifier
url="file:/@prefix@/share/gtk-doc/html/libgda/index.html"/>
    <language code="C"/>
    <relation seriesid="ebe4f574-a94d-11d6-8bc3-bd1f202a92f8"/>
    <rights type="GNU FDL" license.version="1.1"/>
  </resource>
</omf>

use something similar (replacing the seriesid with the value returned by
scrollkeeper-gen-seriesid), and in your Makefile.am:

if HAVE_SCROLLKEEPER
 
omf_dest_dir=$(datadir)/omf/libgda
scrollkeeper_localstate_dir = $(SCROLLKEEPER_LOCALSTATE_DIR)
 
install-data-local:
        $(mkinstalldirs) $(DESTDIR)$(omf_dest_dir)
        -for file in $(srcdir)/*.omf; do                        \
                $(INSTALL_DATA) $$file $(DESTDIR)$(omf_dest_dir); \
        done
        -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
 
uninstall-local:
        -for file in $(srcdir)/*.omf; do                        \
                basefile=`basename $$file`;                     \
                rm -f $(omf_dest_dir)/$$basefile;               \
        done
        -rmdir $(omf_dest_dir)
        -scrollkeeper-update -p $(scrollkeeper_localstate_dir)
 
endif
 
EXTRA_DIST = \
        NAMESPACE \
        libgda-C.omf.in

that should work, I think.

cheers




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