1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY gwrap-download-http "http://download.savannah.gnu.org/releases/g-wrap/g-wrap-&gwrap-version;.tar.gz">
|
---|
8 | <!ENTITY gwrap-download-ftp " ">
|
---|
9 | <!ENTITY gwrap-md5sum "4d83964f51376500eedced538c1620cb">
|
---|
10 | <!ENTITY gwrap-size "826 KB">
|
---|
11 | <!ENTITY gwrap-buildsize "8.6 MB">
|
---|
12 | <!ENTITY gwrap-time "0.2 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="gwrap" xreflabel="gwrap-&gwrap-version;">
|
---|
16 | <?dbhtml filename="gwrap.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | <keywordset>
|
---|
22 | <keyword role="package">g-wrap-&gwrap-version;.tar</keyword>
|
---|
23 | <keyword role="ftpdir">g-wrap</keyword>
|
---|
24 | </keywordset>
|
---|
25 | </sect1info>
|
---|
26 |
|
---|
27 | <title>G-Wrap-&gwrap-version;</title>
|
---|
28 |
|
---|
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>
|
---|
35 |
|
---|
36 | <para>The <application>G-Wrap</application> package contains tools for
|
---|
37 | exporting <application>C</application> libraries into
|
---|
38 | <application>Scheme</application> interpreters. The version used here is
|
---|
39 | considered a development version, however it has been confirmed to be a
|
---|
40 | reliable replacement for the 'stable' version. The 'stable' version of
|
---|
41 | <application>G-Wrap</application> will not build against the recent
|
---|
42 | versions of <application>Guile</application> and
|
---|
43 | <application>SLIB</application> and there will be no further development
|
---|
44 | in the 'stable' series. For further information, please visit the
|
---|
45 | <application>G-Wrap</application> homepage at
|
---|
46 | <ulink url="http://www.nongnu.org/g-wrap/"/>.</para>
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
49 | <itemizedlist spacing="compact">
|
---|
50 | <listitem>
|
---|
51 | <para>Download (HTTP): <ulink url="&gwrap-download-http;"/></para>
|
---|
52 | </listitem>
|
---|
53 | <listitem>
|
---|
54 | <para>Download (FTP): <ulink url="&gwrap-download-ftp;"/></para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>Download MD5 sum: &gwrap-md5sum;</para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>Download size: &gwrap-size;</para>
|
---|
61 | </listitem>
|
---|
62 | <listitem>
|
---|
63 | <para>Estimated disk space required: &gwrap-buildsize;</para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>Estimated build time: &gwrap-time;</para>
|
---|
67 | </listitem>
|
---|
68 | </itemizedlist>
|
---|
69 |
|
---|
70 | <bridgehead renderas="sect3">G-Wrap Dependencies</bridgehead>
|
---|
71 |
|
---|
72 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
73 | <para role="required"><xref linkend="guile"/>, and
|
---|
74 | <xref linkend="GLib"/> or <xref linkend="glib2"/></para>
|
---|
75 |
|
---|
76 | <para>If you are building <application>G-Wrap</application> as a dependency
|
---|
77 | for <application>GnuCash</application>, ensure you have
|
---|
78 | <application>GLib</application>-1 installed and you pass the
|
---|
79 | <envar>GLIB_XXX</envar> environment variables to the
|
---|
80 | <command>configure</command> script as shown below.</para>
|
---|
81 |
|
---|
82 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
83 | <para role="optional"><xref linkend="gcc"/> (build Java so that
|
---|
84 | <filename class='libraryfile'>libffi</filename> is built),
|
---|
85 | <xref linkend="GTK"/>, and
|
---|
86 | <ulink url="http://www.gnu.org/software/guile-gtk/">guile-gtk</ulink></para>
|
---|
87 |
|
---|
88 | </sect2>
|
---|
89 |
|
---|
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 |
|
---|
96 | <screen><userinput>GLIB_CFLAGS=$(glib-config --cflags) \
|
---|
97 | GLIB_LIBS=$(glib-config --libs) \
|
---|
98 | ./configure --prefix=/usr &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>The test suite for this package is currently broken.</para>
|
---|
102 |
|
---|
103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
104 |
|
---|
105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
106 |
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | <sect2 role="commands">
|
---|
110 | <title>Command Explanations</title>
|
---|
111 |
|
---|
112 | <para><command>GLIB_CFLAGS=$(glib-config ...) GLIB_LIBS=$(glib-config ...)
|
---|
113 | ./configure ...</command>: The <command>configure</command> script does
|
---|
114 | not pull in the proper <application>GLib</application>-1
|
---|
115 | <envar>CFLAGS</envar> and <envar>LIBS</envar> parameters so
|
---|
116 | <command>glib-config</command> is used to set them. Omit setting them like
|
---|
117 | this if you are not building <application>G-Wrap</application> as a
|
---|
118 | dependency for <application>GnuCash</application> and only issue the
|
---|
119 | <command>./configure</command> command instead.</para>
|
---|
120 |
|
---|
121 | </sect2>
|
---|
122 |
|
---|
123 | <sect2 role="content">
|
---|
124 | <title>Contents</title>
|
---|
125 |
|
---|
126 | <segmentedlist>
|
---|
127 | <segtitle>Installed Program</segtitle>
|
---|
128 | <segtitle>Installed Libraries</segtitle>
|
---|
129 | <segtitle>Installed Directories</segtitle>
|
---|
130 |
|
---|
131 | <seglistitem>
|
---|
132 | <seg>g-wrap-config</seg>
|
---|
133 | <seg>/usr/lib/libffi.[so,a], /usr/lib/libgw-guile-*.[so,a] and
|
---|
134 | /usr/lib/libgwrap-*.[so,a]</seg>
|
---|
135 | <seg>/usr/include/g-wrap, /usr/share/doc/g-wrap-&gwrap-version; and
|
---|
136 | /usr/share/guile/site</seg>
|
---|
137 | </seglistitem>
|
---|
138 | </segmentedlist>
|
---|
139 |
|
---|
140 | <variablelist>
|
---|
141 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
142 | <?dbfo list-presentation="list"?>
|
---|
143 | <?dbhtml list-presentation="table"?>
|
---|
144 |
|
---|
145 | <varlistentry id="g-wrap-config">
|
---|
146 | <term><command>g-wrap-config</command></term>
|
---|
147 | <listitem>
|
---|
148 | <para>is a tool to generate <envar>CFLAGS</envar> for linking
|
---|
149 | <application>C</application> code to the
|
---|
150 | <application>Scheme</application> runtime libraries.</para>
|
---|
151 | <indexterm zone="gwrap g-wrap-config">
|
---|
152 | <primary sortas="b-g-wrap-config">g-wrap-config</primary>
|
---|
153 | </indexterm>
|
---|
154 | </listitem>
|
---|
155 | </varlistentry>
|
---|
156 |
|
---|
157 | </variablelist>
|
---|
158 |
|
---|
159 | </sect2>
|
---|
160 |
|
---|
161 | </sect1>
|
---|