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