source: archive/gwrap.xml@ 0a4d6ef0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.0 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0a4d6ef0 was d0cf396, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Clean up III. General Libraries and Utilities

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10189 af4574ff-66df-0310-9fd7-8a98e5e911e0

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