source: pst/scanning/xsane.xml@ 4d2a1d4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 4d2a1d4 was 4d2a1d4, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Remove an unnecessary sed from xsane

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

  • Property mode set to 100644
File size: 5.5 KB
RevLine 
[60268ba]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" [
[5d1668d]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
[014030f]6
[67fcdc1]7 <!ENTITY xsane-download-http " ">
[07354067]8 <!ENTITY xsane-download-ftp "ftp://ftp2.sane-project.org/pub/sane/xsane/xsane-&xsane-version;.tar.gz">
[67fcdc1]9 <!ENTITY xsane-md5sum "936f1cc76b37caa8f285e1e15ac7e0aa">
10 <!ENTITY xsane-size "2.8 MB">
[d00ea0b]11 <!ENTITY xsane-buildsize "23 MB">
12 <!ENTITY xsane-time "0.2 SBU">
[5d1668d]13]>
14
[781a3e82]15<sect1 id="xsane" xreflabel="XSane-&xsane-version;">
[60268ba]16 <?dbhtml filename="xsane.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>XSane-&xsane-version;</title>
24
25 <indexterm zone="xsane">
26 <primary sortas="a-XSane">XSane</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to XSane</title>
31
32 <para><application>XSane</application> is another front end for
33 <xref linkend="sane"/>. It has additional features to improve the image
34 quality and ease of use compared to <command>xscanimage</command>.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&xsane-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&xsane-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &xsane-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &xsane-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &xsane-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &xsane-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">XSane Dependencies</bridgehead>
59
60 <bridgehead renderas="sect4">Required</bridgehead>
[3b10fa8]61 <para role="required">
[67fcdc1]62 <xref linkend="gtk2"/> and
63 <xref linkend="sane"/> (back ends)
64 </para>
[60268ba]65
66 <bridgehead renderas="sect4">Optional</bridgehead>
[67fcdc1]67 <para role="optional">
68 <xref linkend="libtiff"/>,
69 <xref linkend="libjpeg"/>,
70 <xref linkend="lcms"/>, and
71 <xref linkend="gimp"/>
72 </para>
[60268ba]73
[977061b0]74 <para condition="html" role="usernotes">User Notes:
75 <ulink url="&blfs-wiki;/xsane"/></para>
76
[60268ba]77 </sect2>
78
79 <sect2 role="installation">
80 <title>Installation of XSane</title>
81
82 <para>Install <application>XSane</application> by running the following
83 commands:</para>
84
[4d2a1d4]85<screen><userinput>sed -i -e 's/png_ptr->jmpbuf/png_jmpbuf(png_ptr)/' src/xsane-save.c &amp;&amp;
[67fcdc1]86./configure --prefix=/usr &amp;&amp;
[60268ba]87make</userinput></screen>
88
[d00ea0b]89 <para>This package does not come with a test suite.</para>
90
[60268ba]91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
[d00ea0b]93<screen role="root"><userinput>make xsanedocdir=/usr/share/doc/xsane-&xsane-version; install &amp;&amp;
[67fcdc1]94ln -v -s ../../doc/xsane-&xsane-version; /usr/share/sane/xsane/doc</userinput></screen>
[60268ba]95
96 <para>If <application>GIMP</application> is installed, issue the following
97 command as the <systemitem class="username">root</systemitem> user:</para>
98
99<screen role="root"><userinput>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</userinput></screen>
100
101 </sect2>
102
103 <sect2 role="commands">
104 <title>Command Explanations</title>
105
[d00ea0b]106 <para><command>ln -v -s ../../doc/xsane-&xsane-version;
107 /usr/share/sane/xsane/doc</command>: This symlink is created to ensure that
108 any program that looks for the <application>XSane</application>
109 documentation in the default location will find it, as the documentation
110 is installed in an alternate location specified in the
111 <command>make install</command> command.</para>
112
[60268ba]113 <para><command>ln -v -s /usr/bin/xsane /usr/lib/gimp/2.0/plug-ins/</command>:
114 This creates a link in the system-wide <application>GIMP</application>
115 <filename class='directory'>plug-ins</filename> directory so that users can
116 access <application>XSane</application> directly from
117 <application>GIMP</application>. <application>GIMP</application> must be
118 available before building <application>XSane</application> for this to work.
119 Alternatively, create the link in <filename
120 class='directory'>~/.gimp-2.0/plug-ins/</filename> to provide individual
121 user access. <command>man xsane</command> for additional information.</para>
122
123 </sect2>
124
125 <sect2 role="content">
126 <title>Contents</title>
127
128 <segmentedlist>
129 <segtitle>Installed Program</segtitle>
130 <segtitle>Installed Libraries</segtitle>
131 <segtitle>Installed Directory</segtitle>
132
133 <seglistitem>
134 <seg>xsane</seg>
135 <seg>None</seg>
[d00ea0b]136 <seg>/usr/share/doc/xsane-&xsane-version; and
137 /usr/share/sane/xsane</seg>
[60268ba]138 </seglistitem>
139 </segmentedlist>
140
141 <variablelist>
142 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
143 <?dbfo list-presentation="list"?>
144 <?dbhtml list-presentation="table"?>
145
146 <varlistentry id="xsane-prog">
147 <term><command>xsane</command></term>
148 <listitem>
149 <para>is a graphical user-interface to control an image acquisition
150 device such as a flatbed scanner.</para>
151 <indexterm zone="xsane xsane-prog">
152 <primary sortas="b-xsane">xsane</primary>
153 </indexterm>
154 </listitem>
155 </varlistentry>
156
157 </variablelist>
158
159 </sect2>
[7008de1]160
161</sect1>
Note: See TracBrowser for help on using the repository browser.