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