[52d29f7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[52d29f7] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[0045775] | 7 | <!ENTITY gwrap-download-http "http://www.gnucash.org/pub/g-wrap/source/g-wrap-&gwrap-version;.tar.gz">
|
---|
| 8 | <!ENTITY gwrap-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/g-wrap-&gwrap-version;.tar.gz">
|
---|
| 9 | <!ENTITY gwrap-md5sum "bf29b8b563cc27d9f7fd90a6243653aa">
|
---|
| 10 | <!ENTITY gwrap-size "403 KB">
|
---|
| 11 | <!ENTITY gwrap-buildsize "6.0 MB">
|
---|
| 12 | <!ENTITY gwrap-time "0.2 SBU">
|
---|
[52d29f7] | 13 | ]>
|
---|
| 14 |
|
---|
[f6230ab] | 15 | <sect1 id="gwrap" xreflabel="gwrap-&gwrap-version;">
|
---|
[3f455af] | 16 | <?dbhtml filename="gwrap.html"?>
|
---|
[8e75f8b9] | 17 |
|
---|
[3f455af] | 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
[4f26c54] | 21 | <keywordset>
|
---|
| 22 | <keyword role="package">g-wrap-&gwrap-version;.tar</keyword>
|
---|
[22ac237] | 23 | <keyword role="ftpdir">g-wrap</keyword>
|
---|
[4f26c54] | 24 | </keywordset>
|
---|
[3f455af] | 25 | </sect1info>
|
---|
[8e75f8b9] | 26 |
|
---|
[3f455af] | 27 | <title>G-Wrap-&gwrap-version;</title>
|
---|
[8e75f8b9] | 28 |
|
---|
[3f455af] | 29 | <indexterm zone="gwrap">
|
---|
| 30 | <primary sortas="a-G-Wrap">G-Wrap</primary>
|
---|
| 31 | </indexterm>
|
---|
| 32 |
|
---|
| 33 | <sect2 role="package">
|
---|
| 34 | <title>Introduction to G-Wrap</title>
|
---|
[8e75f8b9] | 35 |
|
---|
[3f455af] | 36 | <para>The <application>G-Wrap</application> package contains tools for
|
---|
[74390482] | 37 | exporting <application>C</application> libraries into
|
---|
[0045775] | 38 | <application>Scheme</application> interpreters.</para>
|
---|
| 39 |
|
---|
| 40 | <!-- The version used here is
|
---|
[be2e6a3] | 41 | considered a development version, however it has been confirmed to be a
|
---|
| 42 | reliable replacement for the 'stable' version. The 'stable' version of
|
---|
| 43 | <application>G-Wrap</application> will not build against the recent
|
---|
| 44 | versions of <application>Guile</application> and
|
---|
| 45 | <application>SLIB</application> and there will be no further development
|
---|
| 46 | in the 'stable' series. For further information, please visit the
|
---|
| 47 | <application>G-Wrap</application> homepage at
|
---|
[0045775] | 48 | <ulink url="http://www.nongnu.org/g-wrap/"/>.</para> -->
|
---|
[8e75f8b9] | 49 |
|
---|
[3f455af] | 50 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 51 | <itemizedlist spacing="compact">
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download (HTTP): <ulink url="&gwrap-download-http;"/></para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Download (FTP): <ulink url="&gwrap-download-ftp;"/></para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Download MD5 sum: &gwrap-md5sum;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
| 62 | <para>Download size: &gwrap-size;</para>
|
---|
| 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>Estimated disk space required: &gwrap-buildsize;</para>
|
---|
| 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
| 68 | <para>Estimated build time: &gwrap-time;</para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[8e75f8b9] | 71 |
|
---|
[3f455af] | 72 | <bridgehead renderas="sect3">G-Wrap Dependencies</bridgehead>
|
---|
[8e75f8b9] | 73 |
|
---|
[3f455af] | 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[0045775] | 75 | <para role="required"><xref linkend="slib"/> and
|
---|
| 76 | <xref linkend="GLib"/></para>
|
---|
[feb1f411] | 77 |
|
---|
[0045775] | 78 | <!-- <para>If you are building <application>G-Wrap</application> as a dependency
|
---|
[feb1f411] | 79 | for <application>GnuCash</application>, ensure you have
|
---|
| 80 | <application>GLib</application>-1 installed and you pass the
|
---|
| 81 | <envar>GLIB_XXX</envar> environment variables to the
|
---|
[0045775] | 82 | <command>configure</command> script as shown below.</para> -->
|
---|
[8e75f8b9] | 83 |
|
---|
[3f455af] | 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[0045775] | 85 | <para role="optional"><ulink
|
---|
| 86 | url="http://www.gnu.org/software/guile-gtk/">guile-gtk</ulink> and
|
---|
| 87 | <xref linkend="gcc"/> (build Java so that
|
---|
[cc2fa2f] | 88 | <filename class='libraryfile'>libffi</filename> is built)</para>
|
---|
[8e75f8b9] | 89 |
|
---|
[1039de3] | 90 | <para condition="html" role="usernotes">User Notes:
|
---|
| 91 | <ulink url="&blfs-wiki;/gwrap"/></para>
|
---|
| 92 |
|
---|
[3f455af] | 93 | </sect2>
|
---|
[8e75f8b9] | 94 |
|
---|
[3f455af] | 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of G-Wrap</title>
|
---|
| 97 |
|
---|
| 98 | <para>Install <application>G-Wrap</application> by running the following
|
---|
| 99 | commands:</para>
|
---|
| 100 |
|
---|
[0045775] | 101 | <!-- <screen><userinput>GLIB_CFLAGS=$(glib-config -\-cflags) \
|
---|
| 102 | GLIB_LIBS=$(glib-config -\-libs) \ -->
|
---|
| 103 |
|
---|
| 104 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[acae8df] | 105 | make</userinput></screen>
|
---|
| 106 |
|
---|
[520f6b4f] | 107 | <para>If you have <xref linkend="tetex"/> installed and wish to create
|
---|
[0045775] | 108 | alternate formats of the documentation, issue the following
|
---|
| 109 | commands:</para>
|
---|
| 110 |
|
---|
| 111 | <screen><userinput>cd doc &&
|
---|
| 112 | texi2pdf g-wrap.texi &&
|
---|
| 113 | texi2html g-wrap.texi &&
|
---|
| 114 | makeinfo --plaintext -o g-wrap.txt g-wrap.texi &&
|
---|
| 115 | mv texinfo.tex texinfo.tex.SAVE &&
|
---|
| 116 | texi2dvi g-wrap.texi &&
|
---|
| 117 | dvips -o g-wrap.ps g-wrap.dvi &&
|
---|
| 118 | cd ..</userinput></screen>
|
---|
| 119 |
|
---|
| 120 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
[acae8df] | 121 |
|
---|
| 122 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 123 |
|
---|
| 124 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[8e75f8b9] | 125 |
|
---|
[0045775] | 126 | <para>If you created the alternate formats of the documentation, install
|
---|
| 127 | it using the following commands as the
|
---|
| 128 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 129 |
|
---|
| 130 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/g-wrap-&gwrap-version; &&
|
---|
| 131 | install -v -m644 doc/g-wrap.{pdf,html,txt,dvi,ps} \
|
---|
| 132 | /usr/share/doc/g-wrap-&gwrap-version;</userinput></screen>
|
---|
[3f455af] | 133 | </sect2>
|
---|
[8e75f8b9] | 134 |
|
---|
[0045775] | 135 | <!--
|
---|
[feb1f411] | 136 | <sect2 role="commands">
|
---|
| 137 | <title>Command Explanations</title>
|
---|
| 138 |
|
---|
| 139 | <para><command>GLIB_CFLAGS=$(glib-config ...) GLIB_LIBS=$(glib-config ...)
|
---|
| 140 | ./configure ...</command>: The <command>configure</command> script does
|
---|
| 141 | not pull in the proper <application>GLib</application>-1
|
---|
| 142 | <envar>CFLAGS</envar> and <envar>LIBS</envar> parameters so
|
---|
| 143 | <command>glib-config</command> is used to set them. Omit setting them like
|
---|
| 144 | this if you are not building <application>G-Wrap</application> as a
|
---|
| 145 | dependency for <application>GnuCash</application> and only issue the
|
---|
| 146 | <command>./configure</command> command instead.</para>
|
---|
| 147 |
|
---|
| 148 | </sect2>
|
---|
[0045775] | 149 | -->
|
---|
[feb1f411] | 150 |
|
---|
[3f455af] | 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
[8e75f8b9] | 153 |
|
---|
[3f455af] | 154 | <segmentedlist>
|
---|
[61af8384] | 155 | <segtitle>Installed Program</segtitle>
|
---|
| 156 | <segtitle>Installed Libraries</segtitle>
|
---|
[3f455af] | 157 | <segtitle>Installed Directories</segtitle>
|
---|
[8e75f8b9] | 158 |
|
---|
[3f455af] | 159 | <seglistitem>
|
---|
[61af8384] | 160 | <seg>g-wrap-config</seg>
|
---|
[0045775] | 161 | <seg>libgw-glib.{so,a}, libgw-gtk.{so,a}, libgw-standard.{so,a},
|
---|
| 162 | libgw-wct.{so,a}, libgwrap-glib.{so,a} and libgwrap-wct.{so,a}</seg>
|
---|
| 163 | <!-- <seg>/usr/lib/libffi.{so,a}, /usr/lib/libgw-guile-*.{so,a} and
|
---|
| 164 | /usr/lib/libgwrap-*.{so,a}</seg> -->
|
---|
[be2e6a3] | 165 | <seg>/usr/include/g-wrap, /usr/share/doc/g-wrap-&gwrap-version; and
|
---|
| 166 | /usr/share/guile/site</seg>
|
---|
[3f455af] | 167 | </seglistitem>
|
---|
| 168 | </segmentedlist>
|
---|
[8e75f8b9] | 169 |
|
---|
[3f455af] | 170 | <variablelist>
|
---|
| 171 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 172 | <?dbfo list-presentation="list"?>
|
---|
| 173 | <?dbhtml list-presentation="table"?>
|
---|
[8e75f8b9] | 174 |
|
---|
[3f455af] | 175 | <varlistentry id="g-wrap-config">
|
---|
| 176 | <term><command>g-wrap-config</command></term>
|
---|
| 177 | <listitem>
|
---|
[74390482] | 178 | <para>is a tool to generate <envar>CFLAGS</envar> for linking
|
---|
| 179 | <application>C</application> code to the
|
---|
[3f455af] | 180 | <application>Scheme</application> runtime libraries.</para>
|
---|
| 181 | <indexterm zone="gwrap g-wrap-config">
|
---|
| 182 | <primary sortas="b-g-wrap-config">g-wrap-config</primary>
|
---|
| 183 | </indexterm>
|
---|
| 184 | </listitem>
|
---|
| 185 | </varlistentry>
|
---|
[8e75f8b9] | 186 |
|
---|
[3f455af] | 187 | </variablelist>
|
---|
[8e75f8b9] | 188 |
|
---|
[3f455af] | 189 | </sect2>
|
---|
[8e75f8b9] | 190 |
|
---|
[f6230ab] | 191 | </sect1>
|
---|