Compiling Bluefish from source: Difference between revisions

From Bluefish Wiki
Jump to navigation Jump to search
 
(10 intermediate revisions by 2 users not shown)
Line 17: Line 17:


=== Debian and Ubuntu packages required ===
=== Debian and Ubuntu packages required ===
* automake
<pre>
* autoconf
apt install  automake autoconf make libtool intltool libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev
* make
</pre>
* libtool
==== Debian / Ubuntu packages for the upcoming 2.2.14 release  ====
* intltool
<pre>
* libgtk-3-dev
apt install automake autoconf make libtool autopoint libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev
* libxml2-dev
</pre>
and optional
=== Fedora packages required ===
* libenchant-dev
<pre>
* libgucharmap-2-90-dev
dnf install automake autoconf libtool gtk3-devel enchant2-devel libxml2-devel gucharmap-devel python3-devel gettext-devel
* python-dev
</pre>


== Getting and compiling ==
== Getting and compiling ==
Line 41: Line 41:
= Compiling bluefish straight from subversion =
= Compiling bluefish straight from subversion =
=== Building (assumes required packages have been installed) ===
=== Building (assumes required packages have been installed) ===
  svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish
  {{SVN|checkout}}
  cd bluefish
  cd bluefish-code/bluefish
  ./autogen.sh
  ./autogen.sh
  ./configure
  ./configure
  make
  make
  sudo make install
  sudo make install


=== Debian and Ubuntu packages required to build from subversion ===
=== Debian and Ubuntu packages required to build from subversion ===
* libtool
<pre>
* intltool
apt install libtool autopoint automake autoconf make libgtk-3-dev libenchant-2-dev libgucharmap-2-90-dev libxml2-dev subversion python3-dev
* automake
</pre>
* autoconf
* make
* libgtk-3-dev
* libenchant-dev
* libgucharmap-2-90-dev
* libxml2-dev
* subversion
* python-dev

Latest revision as of 12:57, 5 May 2023

Compiling bluefish from source tarballs

installing the requirements

Build requirements:

  • a C compiler (for example gcc or clang-gcc)
  • gnu make

Library / header file requirements:

  • gtk+ 2 or 3 development files (sometimes called libgtk2.0-dev or libgtk2-devel, or libgtk-3-dev)
  • libxml2 development files (sometimes called libxml2-dev or libxml2-devel)

Optional libraries / header files:

  • libenchant + development files (for spell checking, libenchant-dev)
  • libgucharmap + development files (for the character map side pane plugin, libgucharmap-dev)
  • python development files (python-dev or python-devel)

Debian and Ubuntu packages required

apt install  automake autoconf make libtool intltool libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev

Debian / Ubuntu packages for the upcoming 2.2.14 release

apt install automake autoconf make libtool autopoint libgtk-3-dev libxml2-dev libenchant-2-dev libgucharmap-2-90-dev python3-dev

Fedora packages required

dnf install automake autoconf libtool gtk3-devel enchant2-devel libxml2-devel gucharmap-devel python3-devel gettext-devel

Getting and compiling

  • get the latest source from http://www.bennewitz.com/bluefish/stable/source/
  • unpack
    • for a gzipped file tar -xzf bluefish-2.2.xxxx.tar.gz
    • for a bzipped file tar -xjf bluefish-2.2.xxxx.tar.bz2
  • cd bluefish-2.2.xxxx
  • run ./configure
  • run make
  • switch to root and run make install

Compiling bluefish straight from subversion

Building (assumes required packages have been installed)

svn checkout https://svn.code.sf.net/p/bluefish/code/trunk bluefish-code
cd bluefish-code/bluefish
./autogen.sh
./configure
make
sudo make install

Debian and Ubuntu packages required to build from subversion

apt install libtool autopoint automake autoconf make libgtk-3-dev libenchant-2-dev libgucharmap-2-90-dev libxml2-dev subversion python3-dev