source: postlfs/editors/bluefish.xml@ 7eeacb7

trunk
Last change on this file since 7eeacb7 was 1a7159d, checked in by Xi Ruoyao <xry111@…>, 4 weeks ago

bluefish: Disable the infbrowser plugin instead of building a broken one

The error message from GCC 14 indicates a real problem: the NanoHTTP
functions are removed from libxml >= 2.13.0. Manually injecting a
prototype just papers over the issue as the function just does not exist
in libxml2.so:

$ objdump -T /usr/lib/libxml2.so | grep xmlNanoHTTPFetch \

echo nothing

nothing

Thus we are just building a plugin which isn't loadable at runtime at
all. Note that when linking a shared object the linker does not mandate
the referenced symbols to exist but dlopen() a shared object referencing
a nonexist symbol will cause an "undefined symbol" error.

So it's better not to build this plugin at all, instead of building and
installing a completely broken one.

  • Property mode set to 100644
File size: 5.6 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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 bluefish-download-http "https://www.bennewitz.com/bluefish/stable/source/bluefish-&bluefish-version;.tar.bz2">
8 <!ENTITY bluefish-download-ftp " ">
9 <!ENTITY bluefish-md5sum "48018bcfef0faeceb66b0f2d814ded03">
10 <!ENTITY bluefish-size "4.5 MB">
11 <!ENTITY bluefish-buildsize "52 MB">
12 <!ENTITY bluefish-time "0.4 SBU">
13]>
14
15<sect1 id="bluefish" xreflabel="Bluefish-&bluefish-version;">
16 <?dbhtml filename="bluefish.html"?>
17
18
19 <title>Bluefish-&bluefish-version;</title>
20
21 <indexterm zone="bluefish">
22 <primary sortas="a-Bluefish">Bluefish</primary>
23 </indexterm>
24
25 <sect2 role="package">
26 <title>Introduction to Bluefish</title>
27
28 <para>
29 <application>Bluefish</application> is a
30 <application>GTK+</application> text editor targeted towards
31 programmers and web designers, with many options to write websites,
32 scripts and programming code. <application>Bluefish</application>
33 supports many programming and markup languages, and it focuses on
34 editing dynamic and interactive websites.
35 </para>
36
37 &lfs122_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&bluefish-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&bluefish-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &bluefish-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &bluefish-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &bluefish-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &bluefish-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Bluefish Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required</bridgehead>
76 <para role="required">
77 <xref linkend="gtk3"/>
78 </para>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="recommended">
82 <xref linkend="desktop-file-utils"/> (for updating the desktop
83 database)
84 </para>
85
86 <bridgehead renderas="sect4">Optional</bridgehead>
87 <para role="optional">
88 <xref linkend="enchant"/> (for spell checking),
89 <xref linkend="gucharmap"/>, and
90 <ulink url="https://github.com/relaxng/jing-trang">Jing</ulink>
91 </para>
92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of Bluefish</title>
97
98 <para>
99 First, disable a plugin requiring functions removed in libxml-2.13.0
100 or later:
101 </para>
102
103<screen><userinput>sed '/infbrowser/d' -i src/Makefile.am &amp;&amp;
104autoreconf</userinput></screen>
105
106 <para>
107 Install <application>Bluefish</application> by running the following
108 commands:
109 </para>
110
111<screen><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/bluefish-&bluefish-version; &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 This package does not come with a test suite.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem>
120 user:
121 </para>
122
123<screen role="root"><userinput>make install</userinput></screen>
124
125 <note>
126 <para>
127 This package installs icon files into the
128 <filename class="directory">/usr/share/icons/hicolor</filename>
129 hierarchy and desktop files into the
130 <filename class="directory">/usr/share/applications</filename>
131 hierarchy. You can improve system performance and memory usage by
132 updating <filename>/usr/share/icons/hicolor/icon-theme.cache</filename>
133 and <filename>/usr/share/applications/mimeinfo.cache</filename>. To
134 perform the update you must have <xref linkend="desktop-file-utils"/>
135 (for the desktop cache) and issue the following commands as the
136 <systemitem class="username">root</systemitem> user:
137 </para>
138
139<screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &amp;&amp;
140update-desktop-database</userinput></screen>
141 </note>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Program</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>
155 bluefish
156 </seg>
157 <seg>
158 several under /usr/lib/bluefish/
159 </seg>
160 <seg>
161 /usr/lib/bluefish,
162 /usr/share/bluefish,
163 /usr/share/doc/bluefish-&bluefish-version;, and
164 /usr/share/xml/bluefish
165 </seg>
166 </seglistitem>
167 </segmentedlist>
168
169 <variablelist>
170 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
171 <?dbfo list-presentation="list"?>
172 <?dbhtml list-presentation="table"?>
173
174 <varlistentry id="bluefish-prog">
175 <term><command>bluefish</command></term>
176 <listitem>
177 <para>
178 is a <application>GTK+</application> text editor for markup and
179 programming
180 </para>
181 <indexterm zone="bluefish bluefish-prog">
182 <primary sortas="b-bluefish">bluefish</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.