1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY gwrap-download-http "http://www.gnucash.org/pub/g-wrap/source/g-wrap-&gwrap-version;.tar.gz">
|
---|
8 | <!ENTITY gwrap-download-ftp "&gentoo-ftp-repo;/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">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gwrap" xreflabel="G-Wrap-&gwrap-version;">
|
---|
16 | <?dbhtml filename="gwrap.html"?>
|
---|
17 |
|
---|
18 |
|
---|
19 | <title>G-Wrap-&gwrap-version;</title>
|
---|
20 |
|
---|
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>
|
---|
27 |
|
---|
28 | <para>The <application>G-Wrap</application> package contains tools for
|
---|
29 | exporting <application>C</application> libraries into
|
---|
30 | <application>Scheme</application> interpreters.</para>
|
---|
31 |
|
---|
32 | <!-- The version used here is
|
---|
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
|
---|
40 | <ulink url="http://www.nongnu.org/g-wrap/"/>.</para> -->
|
---|
41 |
|
---|
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>
|
---|
63 |
|
---|
64 | <bridgehead renderas="sect3">G-Wrap Dependencies</bridgehead>
|
---|
65 |
|
---|
66 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
67 | <para role="required"><xref linkend="slib"/> and
|
---|
68 | <xref linkend="GLib"/></para>
|
---|
69 |
|
---|
70 | <!-- <para>If you are building <application>G-Wrap</application> as a dependency
|
---|
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
|
---|
74 | <command>configure</command> script as shown below.</para> -->
|
---|
75 |
|
---|
76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
77 | <para role="optional"><ulink
|
---|
78 | url="http://www.gnu.org/software/guile-gtk/">guile-gtk</ulink> and
|
---|
79 | <xref linkend="libffi"/> or <xref linkend="gcc"/> (build Java so that
|
---|
80 | <filename class='libraryfile'>libffi</filename> is built)</para>
|
---|
81 |
|
---|
82 | <para condition="html" role="usernotes">User Notes:
|
---|
83 | <ulink url="&blfs-wiki;/gwrap"/></para>
|
---|
84 |
|
---|
85 | </sect2>
|
---|
86 |
|
---|
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 |
|
---|
93 | <!-- <screen><userinput>GLIB_CFLAGS=$(glib-config -\-cflags) \
|
---|
94 | GLIB_LIBS=$(glib-config -\-libs) \ -->
|
---|
95 |
|
---|
96 | <screen><userinput>./configure --prefix=/usr &&
|
---|
97 | make</userinput></screen>
|
---|
98 |
|
---|
99 | <para>If you have <xref linkend="texlive"/> installed and wish to create
|
---|
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>
|
---|
113 |
|
---|
114 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
115 |
|
---|
116 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
117 |
|
---|
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>
|
---|
125 | </sect2>
|
---|
126 |
|
---|
127 | <!--
|
---|
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
|
---|
133 | not pull in the proper <application>GLib</application>-1
|
---|
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>
|
---|
141 | -->
|
---|
142 |
|
---|
143 | <sect2 role="content">
|
---|
144 | <title>Contents</title>
|
---|
145 |
|
---|
146 | <segmentedlist>
|
---|
147 | <segtitle>Installed Program</segtitle>
|
---|
148 | <segtitle>Installed Libraries</segtitle>
|
---|
149 | <segtitle>Installed Directories</segtitle>
|
---|
150 |
|
---|
151 | <seglistitem>
|
---|
152 | <seg>g-wrap-config</seg>
|
---|
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> -->
|
---|
157 | <seg>/usr/include/g-wrap, /usr/share/doc/g-wrap-&gwrap-version; and
|
---|
158 | /usr/share/guile/site</seg>
|
---|
159 | </seglistitem>
|
---|
160 | </segmentedlist>
|
---|
161 |
|
---|
162 | <variablelist>
|
---|
163 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
164 | <?dbfo list-presentation="list"?>
|
---|
165 | <?dbhtml list-presentation="table"?>
|
---|
166 |
|
---|
167 | <varlistentry id="g-wrap-config">
|
---|
168 | <term><command>g-wrap-config</command></term>
|
---|
169 | <listitem>
|
---|
170 | <para>is a tool to generate <envar>CFLAGS</envar> for linking
|
---|
171 | <application>C</application> code to the
|
---|
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>
|
---|
178 |
|
---|
179 | </variablelist>
|
---|
180 |
|
---|
181 | </sect2>
|
---|
182 |
|
---|
183 | </sect1>
|
---|