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