source: postlfs/editors/bluefish.xml@ 1a7159d

12.2 lazarus trunk
Last change on this file since 1a7159d 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
RevLine 
[ab4fdfc]1<?xml version="1.0" encoding="UTF-8"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[1881a5b]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c6b192c]7 <!ENTITY bluefish-download-http "https://www.bennewitz.com/bluefish/stable/source/bluefish-&bluefish-version;.tar.bz2">
[b75ede9]8 <!ENTITY bluefish-download-ftp " ">
[8c90e62a]9 <!ENTITY bluefish-md5sum "48018bcfef0faeceb66b0f2d814ded03">
[5717fa78]10 <!ENTITY bluefish-size "4.5 MB">
[8c90e62a]11 <!ENTITY bluefish-buildsize "52 MB">
12 <!ENTITY bluefish-time "0.4 SBU">
[1881a5b]13]>
14
[32d0e29]15<sect1 id="bluefish" xreflabel="Bluefish-&bluefish-version;">
[1881a5b]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
[de930747]28 <para>
29 <application>Bluefish</application> is a
[c627795]30 <application>GTK+</application> text editor targeted towards
[de930747]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>
[671e64f]36
[898ff2b]37 &lfs122_checked;
[1881a5b]38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
[de930747]42 <para>
43 Download (HTTP): <ulink url="&bluefish-download-http;"/>
44 </para>
[1881a5b]45 </listitem>
46 <listitem>
[de930747]47 <para>
48 Download (FTP): <ulink url="&bluefish-download-ftp;"/>
49 </para>
[1881a5b]50 </listitem>
51 <listitem>
[de930747]52 <para>
53 Download MD5 sum: &bluefish-md5sum;
54 </para>
[1881a5b]55 </listitem>
56 <listitem>
[de930747]57 <para>
58 Download size: &bluefish-size;
59 </para>
[1881a5b]60 </listitem>
61 <listitem>
[de930747]62 <para>
63 Estimated disk space required: &bluefish-buildsize;
64 </para>
[1881a5b]65 </listitem>
66 <listitem>
[de930747]67 <para>
68 Estimated build time: &bluefish-time;
69 </para>
[1881a5b]70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Bluefish Dependencies</bridgehead>
[6195a27c]74
75 <bridgehead renderas="sect4">Required</bridgehead>
[b75ede9]76 <para role="required">
[990dbf0]77 <xref linkend="gtk3"/>
[8eb6b8b]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)
[b75ede9]84 </para>
[6195a27c]85
[1881a5b]86 <bridgehead renderas="sect4">Optional</bridgehead>
[de930747]87 <para role="optional">
[c627795]88 <xref linkend="enchant"/> (for spell checking),
[abfacaf]89 <xref linkend="gucharmap"/>, and
[0fe2f5b]90 <ulink url="https://github.com/relaxng/jing-trang">Jing</ulink>
[de930747]91 </para>
[1881a5b]92
93 </sect2>
94
95 <sect2 role="installation">
96 <title>Installation of Bluefish</title>
97
[898ff2b]98 <para>
[1a7159d]99 First, disable a plugin requiring functions removed in libxml-2.13.0
100 or later:
[898ff2b]101 </para>
102
[1a7159d]103<screen><userinput>sed '/infbrowser/d' -i src/Makefile.am &amp;&amp;
104autoreconf</userinput></screen>
[898ff2b]105
[b75ede9]106 <para>
107 Install <application>Bluefish</application> by running the following
108 commands:
109 </para>
[1881a5b]110
[f51038d]111<screen><userinput>./configure --prefix=/usr --docdir=/usr/share/doc/bluefish-&bluefish-version; &amp;&amp;
[1881a5b]112make</userinput></screen>
113
[f716ef4]114 <para>
115 This package does not come with a test suite.
116 </para>
[6195a27c]117
[b75ede9]118 <para>
119 Now, as the <systemitem class="username">root</systemitem>
120 user:
121 </para>
[1881a5b]122
[32d0e29]123<screen role="root"><userinput>make install</userinput></screen>
[da9eace]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
[4e207bb]134 perform the update you must have <xref linkend="desktop-file-utils"/>
135 (for the desktop cache) and issue the following commands as the
[da9eace]136 <systemitem class="username">root</systemitem> user:
137 </para>
138
[ff5ce8ec]139<screen role="root"><userinput>gtk-update-icon-cache -t -f --include-image-data /usr/share/icons/hicolor &amp;&amp;
[da9eace]140update-desktop-database</userinput></screen>
141 </note>
142
[1881a5b]143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
[6195a27c]149 <segtitle>Installed Program</segtitle>
[c3c56b2]150 <segtitle>Installed Libraries</segtitle>
[671e64f]151 <segtitle>Installed Directories</segtitle>
[1881a5b]152
153 <seglistitem>
[de930747]154 <seg>
[c627795]155 bluefish
156 </seg>
[c3c56b2]157 <seg>
[14ea7e8]158 several under /usr/lib/bluefish/
[c3c56b2]159 </seg>
[c627795]160 <seg>
161 /usr/lib/bluefish,
162 /usr/share/bluefish,
[f51038d]163 /usr/share/doc/bluefish-&bluefish-version;, and
[c627795]164 /usr/share/xml/bluefish
[de930747]165 </seg>
[1881a5b]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>
[de930747]177 <para>
[c627795]178 is a <application>GTK+</application> text editor for markup and
[4c24eb0a]179 programming
[de930747]180 </para>
[1881a5b]181 <indexterm zone="bluefish bluefish-prog">
182 <primary sortas="b-bluefish">bluefish</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
[c627795]186
[1881a5b]187 </variablelist>
[c627795]188
[1881a5b]189 </sect2>
[c627795]190
[1881a5b]191</sect1>
Note: See TracBrowser for help on using the repository browser.