source: archive/gwrap.xml

trunk
Last change on this file was 45ab6c7, checked in by Xi Ruoyao <xry111@…>, 3 months ago

more SVN prop clean up

Remove "$LastChanged$" everywhere, and also some unused $Date$

  • Property mode set to 100644
File size: 6.8 KB
Line 
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 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>G-Wrap-&gwrap-version;</title>
23
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>
30
31 <para>The <application>G-Wrap</application> package contains tools for
32 exporting <application>C</application> libraries into
33 <application>Scheme</application> interpreters.</para>
34
35 <!-- The version used here is
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
43 <ulink url="http://www.nongnu.org/g-wrap/"/>.</para> -->
44
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>
66
67 <bridgehead renderas="sect3">G-Wrap Dependencies</bridgehead>
68
69 <bridgehead renderas="sect4">Required</bridgehead>
70 <para role="required"><xref linkend="slib"/> and
71 <xref linkend="GLib"/></para>
72
73 <!-- <para>If you are building <application>G-Wrap</application> as a dependency
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
77 <command>configure</command> script as shown below.</para> -->
78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <para role="optional"><ulink
81 url="http://www.gnu.org/software/guile-gtk/">guile-gtk</ulink> and
82 <xref linkend="libffi"/> or <xref linkend="gcc"/> (build Java so that
83 <filename class='libraryfile'>libffi</filename> is built)</para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/gwrap"/></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) \
97GLIB_LIBS=$(glib-config -\-libs) \ -->
98
99<screen><userinput>./configure --prefix=/usr &amp;&amp;
100make</userinput></screen>
101
102 <para>If you have <xref linkend="texlive"/> installed and wish to create
103 alternate formats of the documentation, issue the following
104 commands:</para>
105
106<screen><userinput>cd doc &amp;&amp;
107texi2pdf g-wrap.texi &amp;&amp;
108texi2html g-wrap.texi &amp;&amp;
109makeinfo --plaintext -o g-wrap.txt g-wrap.texi &amp;&amp;
110mv texinfo.tex texinfo.tex.SAVE &amp;&amp;
111texi2dvi g-wrap.texi &amp;&amp;
112dvips -o g-wrap.ps g-wrap.dvi &amp;&amp;
113cd ..</userinput></screen>
114
115 <para>To test the results, issue: <command>make check</command>.</para>
116
117 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
118
119<screen role="root"><userinput>make install</userinput></screen>
120
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; &amp;&amp;
126install -v -m644 doc/g-wrap.{pdf,html,txt,dvi,ps} \
127 /usr/share/doc/g-wrap-&gwrap-version;</userinput></screen>
128 </sect2>
129
130 <!--
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
136 not pull in the proper <application>GLib</application>-1
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>
144 -->
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Program</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>g-wrap-config</seg>
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> -->
160 <seg>/usr/include/g-wrap, /usr/share/doc/g-wrap-&gwrap-version; and
161 /usr/share/guile/site</seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="g-wrap-config">
171 <term><command>g-wrap-config</command></term>
172 <listitem>
173 <para>is a tool to generate <envar>CFLAGS</envar> for linking
174 <application>C</application> code to the
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>
181
182 </variablelist>
183
184 </sect2>
185
186</sect1>
Note: See TracBrowser for help on using the repository browser.