https://bfwiki.tellefsen.net//api.php?action=feedcontributions&user=Daniel+Leidert&feedformat=atomBluefish Wiki - User contributions [en]2024-03-29T07:59:01ZUser contributionsMediaWiki 1.38.2https://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2667Installing Bluefish2015-09-05T14:01:22Z<p>Daniel Leidert: Update on installing bluefish on Debian (new backport instructions!)</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing the release that is part of Debian / Ubuntu / Mint / etc. ==<br />
<br />
Use<br />
<br />
sudo apt-get install bluefish<br />
sudo aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
== Installing the very latest release on Debian ==<br />
<br />
=== Installing the very latest release on Debian 8 (Jessie/Stable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/jessie-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian jessie-backports main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian stable-backports main<br />
<br />
And install the package via:<br />
<br />
apt-get -t jessie-backports install bluefish<br />
<br />
Report any bugs to the Debian bugtracker.<br />
<br />
=== Installing the very latest release on Debian 7.0 (Wheezy/Oldstable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/wheezy-backports-sloppy/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian wheezy-backports-sloppy main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian oldstable-backports-sloppy main<br />
<br />
And install the package via:<br />
<br />
apt-get -t wheezy-backports-sloppy install bluefish<br />
<br />
Report any bugs to the Debian bugtracker.<br />
<br />
=== Installing the very latest release on Debian 6.0 (Squeeze/Oldoldstable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/squeeze-backports-sloppy/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian-backports squeeze-backports-sloppy main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian-backports oldoldstable-backports-sloppy main<br />
<br />
And install the package via:<br />
<br />
apt-get -t squeeze-backports-sloppy install bluefish<br />
<br />
This version is built with the GTK+ 2 libraries. Report any bugs to the Debian bugtracker.<br />
<br />
== Installing the very latest on Ubuntu Linux ==<br />
<br />
You'll find recent packages of '''bluefish''' in [https://launchpad.net/~klaus-vormweg/+archive/bluefish the Bluefish PPA maintained by Klaus Vormweg]. Follow the instructions given there to add this repository. Then '''bluefish''' can be updated to its latest release:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Please note, that the http://debian.wgdd.de repository has become obsolete. See below, how to clean your system.<br />
<br />
=== Removing obsolete debian.wgdd.de entries from sources.list ===<br />
<br />
The http://debian.wgdd.de/ repository no longer provides packages of bluefish. The above steps make the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_*.list'' or any other file in ''/etc/apt/sources.list.d/'' obsolete. You can safely remove any references to the http://debian.wgdd.de repository, that may look like these:<br />
<br />
deb http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb-src http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb http://debian.wgdd.de/debian stable main contrib non-free<br />
deb-src http://debian.wgdd.de/debian stable main contrib non-free<br />
<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
deb-src http://debian.wgdd.de/debian squeeze main contrib non-free<br />
deb http://debian.wgdd.de/debian oldstable main contrib non-free<br />
deb-src http://debian.wgdd.de/debian oldstable main contrib non-free<br />
<br />
deb http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
deb-src http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
<br />
and update your system:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing the version distributed by Fedora ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing the very latest on Fedora with yum ===<br />
<br />
To enable a bluefish-release yum repository download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-release.repo bluefish-release.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19, 20 and 21. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br/><br />
<br />
=== Installing development versions on Fedora with yum ===<br />
<br />
While care is taken to keep development versions very stable and usable, development versions may crash, contain data eating bugs and incomplete features.<br/><br />
Please report any bugs you might find in [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish Bluefish bugzilla]<br/><br />
<br />
If you wish to test the bleeding edge versions of Bluefish currently under development download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-svn.repo bluefish-svn.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19, 20 and 21. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br />
<br />
=== Browsable Yum repo's for Fedora ===<br />
<br />
These pages were created using repoview.<br />
<br />
Fedora 19 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/x86_64/repoview/ x86_64]<br />
<br />
Fedora 20 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/x86_64/repoview/ x86_64]<br />
<br />
Fedora 21 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/21/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/21/x86_64/repoview/ x86_64]<br />
<br />
= Installing Bluefish on RHEL/CentOS 6.5 =<br />
<br />
=== Installing the very latest on RHEL/CentOS 6.5 ===<br />
<br />
Bluefish packages for RHEL/CentOS 6.5 are available at the links below for i386 and x86_64.<br/><br />
These packages require version 6.5. Previous versions prior to 6.5 had GTK+ 2.18.x.<br/><br />
RHEL/CentOS 6.5 has GTK+ 2.20.x which is the minimum version required to build current versions of Bluefish.<br />
<br />
All packages are built using mock. All packages are signed with this gpg [http://bluefish.linuxexperience.net/downloads/fedora/RPM-GPG-KEY-bluefish-svn.asc key].<br />
<br />
<br />
Required for RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-2.2.7-1.el6.i686.rpm bluefish-2.2.7-1.el6.i686.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-shared-data-2.2.7-1.el6.noarch.rpm bluefish-shared-data-2.2.7-1.el6.noarch.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-2.2.7-1.el6.x86_64.rpm bluefish-2.2.7-1.el6.x86_64.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-shared-data-2.2.7-1.el6.noarch.rpm bluefish-shared-data-2.2.7-1.el6.noarch.rpm]<br />
<br />
Optional debug info RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/i386/bluefish-debuginfo-2.2.7-1.el6.i686.rpm bluefish-debuginfo-2.2.7-1.el6.i686.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/x86_64/bluefish-debuginfo-2.2.7-1.el6.x86_64.rpm bluefish-debuginfo-2.2.7-1.el6.x86_64.rpm]<br />
<br />
= Installing Bluefish on openSUSE =<br />
<br />
Bluefish is available in the main repository. Launch YaST and search for "bluefish" to find and select the appropriate package to install.<br />
<br />
This process is also automated through 1-Click-Install on the openSUSE Build Service: https://software.opensuse.org/package/bluefish<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
<br />
= Installing Bluefish on Slackware =<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
Download the latest version installer from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
In Mavericks there is a system setting called ''Gatekeeper'' that only allows you to install packages from Apple-identified developers. Bluefish is not distributed through the Apple app store, so you will have to workaround that setting.<br />
<br />
Use the contextual menu (e.g. secondary-click button), and you'll see a menu with "Open" in it.<br />
This will present you with a dialogue box, asking you for permission to run the software.<br />
You will only be asked this the first time.<br />
<br />
Alternatively, the ''Gatekeeper'' setting can be disabled. For information, see: <br />
https://kb.wisc.edu/helpdesk/page.php?id=25443 or http://support.apple.com/kb/ht5290<br />
<br />
= Installing Bluefish on Windows XP or newer =<br />
<br />
=== Installing 2.2.7 ===<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer will require internet access to download GTK+ and any spell check dictionaries. Please note that the internet-enabled setup may fail if the installer is run from a network share. See below for instructions for internet-less installation.<br />
<br />
==== Installing without Internet Access ====<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Download the GTK+ 2.24.8 installer (from the gtk-win project): <br />
http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.24.8-2011-12-03-ash.exe?download<br />
<br />
Download any language dictionaries you wish to be able to install: <br />
http://www.muleslow.net/files/aspell/lang/<br />
<br />
Place the files in a new directory named 'redist' in the same directory as the Bluefish installer.<br />
e.x.<br />
Bluefish\<br />
Bluefish\Bluefish-2.2.7-setup.exe<br />
Bluefish\redist\gtk2-runtime-2.24.8-2011-12-03-ash.exe<br />
Bluefish\redist\aspell6-en-7.1-0.tbz2<br />
<br />
The installer will fall back on downloading the files if they are not found in the redist folder, or if the checksum of the local copy is invalid.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2579Installing Bluefish2014-05-26T07:31:48Z<p>Daniel Leidert: Use one paragraph for instructions how to clean the system.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing the release that is part of Debian / Ubuntu / Mint / etc. ==<br />
<br />
Use<br />
<br />
sudo apt-get install bluefish<br />
sudo aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
== Installing the very latest release on Debian ==<br />
<br />
=== Installing the very latest release on Debian 7.0 (Wheezy/Stable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/stable-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian wheezy-backports main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian stable-backports main<br />
<br />
And install the package via:<br />
<br />
apt-get -t wheezy-backports install bluefish<br />
<br />
Report any bugs to the Debian bugtracker.<br />
<br />
Please note, that the http://debian.wgdd.de repository has become obsolete. See below, how to clean your system.<br />
<br />
=== Installing the very latest release on Debian 6.0 (Squeeze/Oldstable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/stable-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian-backports squeeze-backports-sloppy main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian-backports oldstable-backports-sloppy main<br />
<br />
And install the package via:<br />
<br />
apt-get -t squeeze-backports-sloppy install bluefish<br />
<br />
This version is built with the GTK+ 2 libraries. Report any bugs to the Debian bugtracker.<br />
<br />
Please note, that the http://debian.wgdd.de repository has become obsolete. See below, how to clean your system.<br />
<br />
== Installing the very latest on Ubuntu Linux ==<br />
<br />
Users of Ubuntu releases, for which bluefish doesn't get any official update by the Ubuntu team in the past had the possibility to use the [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] repository. This has become obsolete. You'll now find recent packages of '''bluefish''' in this [https://launchpad.net/~klaus-vormweg/+archive/bluefish PPA]. Follow the instrcutions given there to add this repository. Then '''bluefish''' can be updated to its latest release:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Please note, that the http://debian.wgdd.de repository has become obsolete. See below, how to clean your system.<br />
<br />
== Removing obsolete entries from sources.list ==<br />
<br />
The http://debian.wgdd.de/ repository no longer provides packages of bluefish. The above steps make the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_*.list'' or any other file in ''/etc/apt/sources.list.d/'' obsolete. You can safely remove any references to the http://debian.wgdd.de repository, that may look like these:<br />
<br />
deb http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb-src http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb http://debian.wgdd.de/debian stable main contrib non-free<br />
deb-src http://debian.wgdd.de/debian stable main contrib non-free<br />
<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
deb-src http://debian.wgdd.de/debian squeeze main contrib non-free<br />
deb http://debian.wgdd.de/debian oldstable main contrib non-free<br />
deb-src http://debian.wgdd.de/debian oldstable main contrib non-free<br />
<br />
deb http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
deb-src http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
<br />
and update your system:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing the version distributed by Fedora ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing the very latest on Fedora with yum ===<br />
<br />
To enable a bluefish-release yum repository download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-release.repo bluefish-release.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br/><br />
<br />
=== Installing development versions on Fedora with yum ===<br />
<br />
While care is taken to keep development versions very stable and usable, development versions may crash, contain data eating bugs and incomplete features.<br/><br />
Please report any bugs you might find in [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish Bluefish bugzilla]<br/><br />
<br />
If you wish to test the bleeding edge versions of Bluefish currently under development download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-svn.repo bluefish-svn.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br />
<br />
=== Browsable Yum repo's for Fedora ===<br />
<br />
These pages were created using repoview.<br />
<br />
Fedora 19 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/x86_64/repoview/ x86_64]<br />
<br />
Fedora 20 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/x86_64/repoview/ x86_64]<br />
<br />
= Installing Bluefish on RHEL/CentOS 6.5 =<br />
<br />
=== Installing the very latest on RHEL/CentOS 6.5 ===<br />
<br />
Bluefish packages for RHEL/CentOS 6.5 are available at the links below for i386 and x86_64.<br/><br />
These packages require version 6.5. Previous versions prior to 6.5 had GTK+ 2.18.x.<br/><br />
RHEL/CentOS 6.5 has GTK+ 2.20.x which is the minimum version required to build current versions of Bluefish.<br />
<br />
All packages are built using mock. All packages are signed with this gpg [http://bluefish.linuxexperience.net/downloads/fedora/RPM-GPG-KEY-bluefish-svn.asc key].<br />
<br />
<br />
Required for RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-2.2.6-1.el6.i686.rpm bluefish-2.2.6-1.el6.i686.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-2.2.6-1.el6.x86_64.rpm bluefish-2.2.6-1.el6.x86_64.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
Optional debug info RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/i386/bluefish-debuginfo-2.2.6-1.el6.i686.rpm bluefish-debuginfo-2.2.6-1.el6.i686.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/x86_64/bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm]<br />
<br />
= Installing Bluefish on openSUSE =<br />
<br />
Bluefish is available in the main repository. Launch YaST and search for "bluefish" to find and select the appropriate package to install.<br />
<br />
This process is also automated through 1-Click-Install on the openSUSE Build Service: https://software.opensuse.org/package/bluefish<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
<br />
= Installing Bluefish on Slackware =<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
Download http://www.bennewitz.com/bluefish/stable/binaries/macosx/Bluefish-2.2.5-2.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
In Mavericks there is a system setting called ''Gatekeeper'' that only allows you to install packages from Apple-identified developers. Bluefish is not distributed through the Apple app store, so you will have to disable that setting. For more information see <br />
https://kb.wisc.edu/helpdesk/page.php?id=25443 or http://support.apple.com/kb/ht5290<br />
<br />
= Installing Bluefish on Windows XP or newer =<br />
<br />
=== Installing 2.2.5 ===<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer will require internet access to download GTK+ and any spell check dictionaries. Please note that the internet-enabled setup may fail if the installer is run from a network share. See below for instructions for internet-less installation.<br />
<br />
==== Installing without Internet Access ====<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Download the GTK+ 2.24.8 installer (from the gtk-win project): <br />
http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.24.8-2011-12-03-ash.exe?download<br />
<br />
Download any language dictionaries you wish to be able to install: <br />
http://www.muleslow.net/files/aspell/lang/<br />
<br />
Place the files in a new directory named 'redist' in the same directory as the Bluefish installer.<br />
e.x.<br />
Bluefish\<br />
Bluefish\Bluefish-2.2.5-setup.exe<br />
Bluefish\redist\gtk2-runtime-2.24.8-2011-12-03-ash.exe<br />
Bluefish\redist\aspell6-en-7.1-0.tbz2<br />
<br />
The installer will fall back on downloading the files if they are not found in the redist folder, or if the checksum of the local copy is invalid.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2578Installing Bluefish2014-05-26T07:17:33Z<p>Daniel Leidert: Add information on how to install package.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing the release that is part of Debian / Ubuntu / Mint / etc. ==<br />
Use<br />
<br />
sudo apt-get install bluefish<br />
sudo aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
== Installing the very latest release on Debian ==<br />
<br />
=== Installing the very latest release on Debian 7.0 (Wheezy/Stable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/stable-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian wheezy-backports main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian stable-backports main<br />
<br />
And install the package via:<br />
<br />
apt-get -t wheezy-backports install bluefish<br />
<br />
Report any bugs to the Debian bugtracker.<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_wheezy.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb-src http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb http://debian.wgdd.de/debian stable main contrib non-free<br />
deb-src http://debian.wgdd.de/debian stable main contrib non-free<br />
<br />
and update your bluefish packages:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
=== Installing the very latest release on Debian 6.0 (Squeeze/Oldstable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/stable-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian-backports squeeze-backports-sloppy main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian-backports oldstable-backports-sloppy main<br />
<br />
And install the package via:<br />
<br />
apt-get -t squeeze-backports-sloppy install bluefish<br />
<br />
This version is built with the GTK+ 2 libraries. Report any bugs to the Debian bugtracker.<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_squeeze.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
deb-src http://debian.wgdd.de/debian squeeze main contrib non-free<br />
deb http://debian.wgdd.de/debian oldstable main contrib non-free<br />
deb-src http://debian.wgdd.de/debian oldstable main contrib non-free<br />
<br />
and update your bluefish packages:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
== Installing the very latest on Ubuntu Linux ==<br />
<br />
Users of Ubuntu releases, for which bluefish doesn't get any official update by the Ubuntu team in the past had the possibility to use the [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] repository. This has become obsolete. You'll now find recent packages of '''bluefish''' in this [https://launchpad.net/~klaus-vormweg/+archive/bluefish PPA]. Follow the instrcutions given there to add this repository. Then '''bluefish''' can be updated to its latest release:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_ubuntu_VERSION_CODENAME.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
deb-src http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
<br />
and update your system:<br />
<br />
sudo apt-get update<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing the version distributed by Fedora ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing the very latest on Fedora with yum ===<br />
<br />
To enable a bluefish-release yum repository download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-release.repo bluefish-release.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br/><br />
<br />
=== Installing development versions on Fedora with yum ===<br />
<br />
While care is taken to keep development versions very stable and usable, development versions may crash, contain data eating bugs and incomplete features.<br/><br />
Please report any bugs you might find in [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish Bluefish bugzilla]<br/><br />
<br />
If you wish to test the bleeding edge versions of Bluefish currently under development download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-svn.repo bluefish-svn.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br />
<br />
=== Browsable Yum repo's for Fedora ===<br />
<br />
These pages were created using repoview.<br />
<br />
Fedora 19 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/x86_64/repoview/ x86_64]<br />
<br />
Fedora 20 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/x86_64/repoview/ x86_64]<br />
<br />
= Installing Bluefish on RHEL/CentOS 6.5 =<br />
<br />
=== Installing the very latest on RHEL/CentOS 6.5 ===<br />
<br />
Bluefish packages for RHEL/CentOS 6.5 are available at the links below for i386 and x86_64.<br/><br />
These packages require version 6.5. Previous versions prior to 6.5 had GTK+ 2.18.x.<br/><br />
RHEL/CentOS 6.5 has GTK+ 2.20.x which is the minimum version required to build current versions of Bluefish.<br />
<br />
All packages are built using mock. All packages are signed with this gpg [http://bluefish.linuxexperience.net/downloads/fedora/RPM-GPG-KEY-bluefish-svn.asc key].<br />
<br />
<br />
Required for RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-2.2.6-1.el6.i686.rpm bluefish-2.2.6-1.el6.i686.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-2.2.6-1.el6.x86_64.rpm bluefish-2.2.6-1.el6.x86_64.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
Optional debug info RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/i386/bluefish-debuginfo-2.2.6-1.el6.i686.rpm bluefish-debuginfo-2.2.6-1.el6.i686.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/x86_64/bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm]<br />
<br />
= Installing Bluefish on openSUSE =<br />
<br />
Bluefish is available in the main repository. Launch YaST and search for "bluefish" to find and select the appropriate package to install.<br />
<br />
This process is also automated through 1-Click-Install on the openSUSE Build Service: https://software.opensuse.org/package/bluefish<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
<br />
= Installing Bluefish on Slackware =<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
Download http://www.bennewitz.com/bluefish/stable/binaries/macosx/Bluefish-2.2.5-2.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
In Mavericks there is a system setting called ''Gatekeeper'' that only allows you to install packages from Apple-identified developers. Bluefish is not distributed through the Apple app store, so you will have to disable that setting. For more information see <br />
https://kb.wisc.edu/helpdesk/page.php?id=25443 or http://support.apple.com/kb/ht5290<br />
<br />
= Installing Bluefish on Windows XP or newer =<br />
<br />
=== Installing 2.2.5 ===<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer will require internet access to download GTK+ and any spell check dictionaries. Please note that the internet-enabled setup may fail if the installer is run from a network share. See below for instructions for internet-less installation.<br />
<br />
==== Installing without Internet Access ====<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Download the GTK+ 2.24.8 installer (from the gtk-win project): <br />
http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.24.8-2011-12-03-ash.exe?download<br />
<br />
Download any language dictionaries you wish to be able to install: <br />
http://www.muleslow.net/files/aspell/lang/<br />
<br />
Place the files in a new directory named 'redist' in the same directory as the Bluefish installer.<br />
e.x.<br />
Bluefish\<br />
Bluefish\Bluefish-2.2.5-setup.exe<br />
Bluefish\redist\gtk2-runtime-2.24.8-2011-12-03-ash.exe<br />
Bluefish\redist\aspell6-en-7.1-0.tbz2<br />
<br />
The installer will fall back on downloading the files if they are not found in the redist folder, or if the checksum of the local copy is invalid.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2577Installing Bluefish2014-05-26T07:14:39Z<p>Daniel Leidert: Update instructions for Squeeze users too.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing the release that is part of Debian / Ubuntu / Mint / etc. ==<br />
Use<br />
<br />
sudo apt-get install bluefish<br />
sudo aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
== Installing the very latest release on Debian ==<br />
<br />
=== Installing the very latest release on Debian 7.0 (Wheezy/Stable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/stable-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian wheezy-backports main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian stable-backports main<br />
<br />
Report any bugs with these packages to the Debian bugtracker.<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_wheezy.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb-src http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb http://debian.wgdd.de/debian stable main contrib non-free<br />
deb-src http://debian.wgdd.de/debian stable main contrib non-free<br />
<br />
and update your bluefish packages:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
=== Installing the very latest release on Debian 6.0 (Squeeze) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/stable-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. The entry would look like this:<br />
<br />
deb http://YOURMIRROR.debian.org/debian-backports squeeze-backports-sloppy main<br />
<br />
or<br />
<br />
deb http://YOURMIRROR.debian.org/debian-backports oldstable-backports-sloppy main<br />
<br />
This version is built with the GTK+ 2 libraries. Report any bugs with these packages to the Debian bugtracker.<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_squeeze.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
deb-src http://debian.wgdd.de/debian squeeze main contrib non-free<br />
deb http://debian.wgdd.de/debian oldstable main contrib non-free<br />
deb-src http://debian.wgdd.de/debian oldstable main contrib non-free<br />
<br />
and update your bluefish packages:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
== Installing the very latest on Ubuntu Linux ==<br />
<br />
Users of Ubuntu releases, for which bluefish doesn't get any official update by the Ubuntu team in the past had the possibility to use the [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] repository. This has become obsolete. You'll now find recent packages of '''bluefish''' in this [https://launchpad.net/~klaus-vormweg/+archive/bluefish PPA]. Follow the instrcutions given there to add this repository. Then '''bluefish''' can be updated to its latest release:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_ubuntu_VERSION_CODENAME.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
deb-src http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
<br />
and update your system:<br />
<br />
sudo apt-get update<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing the version distributed by Fedora ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing the very latest on Fedora with yum ===<br />
<br />
To enable a bluefish-release yum repository download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-release.repo bluefish-release.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br/><br />
<br />
=== Installing development versions on Fedora with yum ===<br />
<br />
While care is taken to keep development versions very stable and usable, development versions may crash, contain data eating bugs and incomplete features.<br/><br />
Please report any bugs you might find in [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish Bluefish bugzilla]<br/><br />
<br />
If you wish to test the bleeding edge versions of Bluefish currently under development download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-svn.repo bluefish-svn.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br />
<br />
=== Browsable Yum repo's for Fedora ===<br />
<br />
These pages were created using repoview.<br />
<br />
Fedora 19 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/x86_64/repoview/ x86_64]<br />
<br />
Fedora 20 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/x86_64/repoview/ x86_64]<br />
<br />
= Installing Bluefish on RHEL/CentOS 6.5 =<br />
<br />
=== Installing the very latest on RHEL/CentOS 6.5 ===<br />
<br />
Bluefish packages for RHEL/CentOS 6.5 are available at the links below for i386 and x86_64.<br/><br />
These packages require version 6.5. Previous versions prior to 6.5 had GTK+ 2.18.x.<br/><br />
RHEL/CentOS 6.5 has GTK+ 2.20.x which is the minimum version required to build current versions of Bluefish.<br />
<br />
All packages are built using mock. All packages are signed with this gpg [http://bluefish.linuxexperience.net/downloads/fedora/RPM-GPG-KEY-bluefish-svn.asc key].<br />
<br />
<br />
Required for RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-2.2.6-1.el6.i686.rpm bluefish-2.2.6-1.el6.i686.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-2.2.6-1.el6.x86_64.rpm bluefish-2.2.6-1.el6.x86_64.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
Optional debug info RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/i386/bluefish-debuginfo-2.2.6-1.el6.i686.rpm bluefish-debuginfo-2.2.6-1.el6.i686.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/x86_64/bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm]<br />
<br />
= Installing Bluefish on openSUSE =<br />
<br />
Bluefish is available in the main repository. Launch YaST and search for "bluefish" to find and select the appropriate package to install.<br />
<br />
This process is also automated through 1-Click-Install on the openSUSE Build Service: https://software.opensuse.org/package/bluefish<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
<br />
= Installing Bluefish on Slackware =<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
Download http://www.bennewitz.com/bluefish/stable/binaries/macosx/Bluefish-2.2.5-2.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
In Mavericks there is a system setting called ''Gatekeeper'' that only allows you to install packages from Apple-identified developers. Bluefish is not distributed through the Apple app store, so you will have to disable that setting. For more information see <br />
https://kb.wisc.edu/helpdesk/page.php?id=25443 or http://support.apple.com/kb/ht5290<br />
<br />
= Installing Bluefish on Windows XP or newer =<br />
<br />
=== Installing 2.2.5 ===<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer will require internet access to download GTK+ and any spell check dictionaries. Please note that the internet-enabled setup may fail if the installer is run from a network share. See below for instructions for internet-less installation.<br />
<br />
==== Installing without Internet Access ====<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Download the GTK+ 2.24.8 installer (from the gtk-win project): <br />
http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.24.8-2011-12-03-ash.exe?download<br />
<br />
Download any language dictionaries you wish to be able to install: <br />
http://www.muleslow.net/files/aspell/lang/<br />
<br />
Place the files in a new directory named 'redist' in the same directory as the Bluefish installer.<br />
e.x.<br />
Bluefish\<br />
Bluefish\Bluefish-2.2.5-setup.exe<br />
Bluefish\redist\gtk2-runtime-2.24.8-2011-12-03-ash.exe<br />
Bluefish\redist\aspell6-en-7.1-0.tbz2<br />
<br />
The installer will fall back on downloading the files if they are not found in the redist folder, or if the checksum of the local copy is invalid.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2576Installing Bluefish2014-05-16T07:31:30Z<p>Daniel Leidert: Update instructions for Ubuntu users and point them to Klaus Vormweg' PPA. Add instructions on how to remove the debian.wgdd.de repository cleanly.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing the release that is part of Debian / Ubuntu / Mint / etc. ==<br />
Use<br />
<br />
sudo apt-get install bluefish<br />
sudo aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
== Installing the very latest release on Debian ==<br />
<br />
=== Installing the very latest release on Debian 7.0 (Wheezy/Stable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/stable-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. Report any bugs with these packages to the Debian bugtracker.<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_wheezy.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/debian wheezy main contrib non-free<br />
deb-src http://debian.wgdd.de/debian wheezy main contrib non-free<br />
<br />
and update your bluefish packages:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
=== Installing the very latest release on Debian 6.0 (Squeeze) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_squeeze.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
== Installing the very latest on Ubuntu Linux ==<br />
<br />
Users of Ubuntu releases, for which bluefish doesn't get any official update by the Ubuntu team in the past had the possibility to use the [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] repository. This has become obsolete. You'll now find recent packages of '''bluefish''' in this [https://launchpad.net/~klaus-vormweg/+archive/bluefish PPA]. Follow the instrcutions given there to add this repository. Then '''bluefish''' can be updated to its latest release:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_ubuntu_VERSION_CODENAME.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
deb-src http://debian.wgdd.de/ubuntu UBUNTU_VERSION_HERE main restricted universe multiverse <br />
<br />
and update your system:<br />
<br />
sudo apt-get update<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing the version distributed by Fedora ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing the very latest on Fedora with yum ===<br />
<br />
To enable a bluefish-release yum repository download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-release.repo bluefish-release.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br/><br />
<br />
=== Installing development versions on Fedora with yum ===<br />
<br />
While care is taken to keep development versions very stable and usable, development versions may crash, contain data eating bugs and incomplete features.<br/><br />
Please report any bugs you might find in [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish Bluefish bugzilla]<br/><br />
<br />
If you wish to test the bleeding edge versions of Bluefish currently under development download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-svn.repo bluefish-svn.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br />
<br />
=== Browsable Yum repo's for Fedora ===<br />
<br />
These pages were created using repoview.<br />
<br />
Fedora 19 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/x86_64/repoview/ x86_64]<br />
<br />
Fedora 20 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/x86_64/repoview/ x86_64]<br />
<br />
= Installing Bluefish on RHEL/CentOS 6.5 =<br />
<br />
=== Installing the very latest on RHEL/CentOS 6.5 ===<br />
<br />
Bluefish packages for RHEL/CentOS 6.5 are available at the links below for i386 and x86_64.<br/><br />
These packages require version 6.5. Previous versions prior to 6.5 had GTK+ 2.18.x.<br/><br />
RHEL/CentOS 6.5 has GTK+ 2.20.x which is the minimum version required to build current versions of Bluefish.<br />
<br />
All packages are built using mock. All packages are signed with this gpg [http://bluefish.linuxexperience.net/downloads/fedora/RPM-GPG-KEY-bluefish-svn.asc key].<br />
<br />
<br />
Required for RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-2.2.6-1.el6.i686.rpm bluefish-2.2.6-1.el6.i686.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-2.2.6-1.el6.x86_64.rpm bluefish-2.2.6-1.el6.x86_64.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
Optional debug info RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/i386/bluefish-debuginfo-2.2.6-1.el6.i686.rpm bluefish-debuginfo-2.2.6-1.el6.i686.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/x86_64/bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm]<br />
<br />
= Installing Bluefish on openSUSE =<br />
<br />
Bluefish is available in the main repository. Launch YaST and search for "bluefish" to find and select the appropriate package to install.<br />
<br />
This process is also automated through 1-Click-Install on the openSUSE Build Service: https://software.opensuse.org/package/bluefish<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
<br />
= Installing Bluefish on Slackware =<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
Download http://www.bennewitz.com/bluefish/stable/binaries/macosx/Bluefish-2.2.5-2.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
In Mavericks there is a system setting called ''Gatekeeper'' that only allows you to install packages from Apple-identified developers. Bluefish is not distributed through the Apple app store, so you will have to disable that setting. For more information see <br />
https://kb.wisc.edu/helpdesk/page.php?id=25443 or http://support.apple.com/kb/ht5290<br />
<br />
= Installing Bluefish on Windows XP or newer =<br />
<br />
=== Installing 2.2.5 ===<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer will require internet access to download GTK+ and any spell check dictionaries. Please note that the internet-enabled setup may fail if the installer is run from a network share. See below for instructions for internet-less installation.<br />
<br />
==== Installing without Internet Access ====<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Download the GTK+ 2.24.8 installer (from the gtk-win project): <br />
http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.24.8-2011-12-03-ash.exe?download<br />
<br />
Download any language dictionaries you wish to be able to install: <br />
http://www.muleslow.net/files/aspell/lang/<br />
<br />
Place the files in a new directory named 'redist' in the same directory as the Bluefish installer.<br />
e.x.<br />
Bluefish\<br />
Bluefish\Bluefish-2.2.5-setup.exe<br />
Bluefish\redist\gtk2-runtime-2.24.8-2011-12-03-ash.exe<br />
Bluefish\redist\aspell6-en-7.1-0.tbz2<br />
<br />
The installer will fall back on downloading the files if they are not found in the redist folder, or if the checksum of the local copy is invalid.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2575Installing Bluefish2014-05-16T07:19:49Z<p>Daniel Leidert: Update instructions for Debian Wheezy users. Add instructions on how to clean the sources.list and the keyring.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing the release that is part of Debian / Ubuntu / Mint / etc. ==<br />
Use<br />
<br />
sudo apt-get install bluefish<br />
sudo aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
== Installing the very latest release on Debian ==<br />
<br />
=== Installing the very latest release on Debian 7.0 (Wheezy/Stable) ===<br />
<br />
Recent packages for bluefish are available from the [https://packages.debian.org/source/stable-backports/bluefish official Debian backports archive] and can be installed by following the instructions given [http://backports.debian.org/Instructions/ here]. Report any bugs with these packages to the Debian bugtracker.<br />
<br />
This step makes the following entries to either ''/etc/apt/sources.list'' or ''/etc/apt/sources.list.d/debian.wgdd.de_wheezy.list'' (or any other file in this directory) obsolete. You can safely remove any reference to the http://debian.wgdd.de/ repository, that my look like this:<br />
<br />
deb http://debian.wgdd.de/debian wheezy main<br />
<br />
and update your bluefish packages:<br />
<br />
sudo apt-get update<br />
sudo apt-get upgrade<br />
<br />
Also the '''wgdd-archive-keyring''' package then is obsolete together with the repository keyring. If you have the package installed, do:<br />
<br />
sudo apt-get autoremove --purge wgdd-archive-keyring<br />
<br />
... or if you only had the key:<br />
<br />
sudo apt-key del E394D996<br />
<br />
=== Installing the very latest release on Debian 6.0 (Squeeze) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_squeeze.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
== Installing the very latest on Ubuntu Linux ==<br />
<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] lucid main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] maverick main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/debian] precise main restricted universe multiverse<br />
<br />
<br />
Run updates, to pick up the newly available options<br />
sudo apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing the version distributed by Fedora ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing the very latest on Fedora with yum ===<br />
<br />
To enable a bluefish-release yum repository download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-release.repo bluefish-release.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br/><br />
<br />
=== Installing development versions on Fedora with yum ===<br />
<br />
While care is taken to keep development versions very stable and usable, development versions may crash, contain data eating bugs and incomplete features.<br/><br />
Please report any bugs you might find in [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish Bluefish bugzilla]<br/><br />
<br />
If you wish to test the bleeding edge versions of Bluefish currently under development download the [http://bluefish.linuxexperience.net/downloads/fedora/bluefish-svn.repo bluefish-svn.repo] file.<br/><br />
Place this repo file in /etc/yum.repos.d<br/><br />
<br />
Then you can install normally with...<br />
<br />
yum install bluefish<br />
<br />
Packages are currently provided for Fedora 19 and Fedora 20. Packages are provided for both i386 and x86_64.<br/><br />
All packages are built using mock. All packages are signed. You will be prompted to download the GPG key.<br />
<br />
=== Browsable Yum repo's for Fedora ===<br />
<br />
These pages were created using repoview.<br />
<br />
Fedora 19 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/19/x86_64/repoview/ x86_64]<br />
<br />
Fedora 20 - Release<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/i386/repoview/ i386]<br />
* [http://bluefish.linuxexperience.net/downloads/fedora/release/20/x86_64/repoview/ x86_64]<br />
<br />
= Installing Bluefish on RHEL/CentOS 6.5 =<br />
<br />
=== Installing the very latest on RHEL/CentOS 6.5 ===<br />
<br />
Bluefish packages for RHEL/CentOS 6.5 are available at the links below for i386 and x86_64.<br/><br />
These packages require version 6.5. Previous versions prior to 6.5 had GTK+ 2.18.x.<br/><br />
RHEL/CentOS 6.5 has GTK+ 2.20.x which is the minimum version required to build current versions of Bluefish.<br />
<br />
All packages are built using mock. All packages are signed with this gpg [http://bluefish.linuxexperience.net/downloads/fedora/RPM-GPG-KEY-bluefish-svn.asc key].<br />
<br />
<br />
Required for RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-2.2.6-1.el6.i686.rpm bluefish-2.2.6-1.el6.i686.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/i386/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-2.2.6-1.el6.x86_64.rpm bluefish-2.2.6-1.el6.x86_64.rpm]<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/x86_64/bluefish-shared-data-2.2.6-1.el6.noarch.rpm bluefish-shared-data-2.2.6-1.el6.noarch.rpm]<br />
<br />
Optional debug info RHEL/CentOS 6.5..<br />
<br />
i386<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/i386/bluefish-debuginfo-2.2.6-1.el6.i686.rpm bluefish-debuginfo-2.2.6-1.el6.i686.rpm]<br />
<br />
x86_64<br />
* [http://bluefish.linuxexperience.net/downloads/epel6/release/debug/x86_64/bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm bluefish-debuginfo-2.2.6-1.el6.x86_64.rpm]<br />
<br />
= Installing Bluefish on openSUSE =<br />
<br />
Bluefish is available in the main repository. Launch YaST and search for "bluefish" to find and select the appropriate package to install.<br />
<br />
This process is also automated through 1-Click-Install on the openSUSE Build Service: https://software.opensuse.org/package/bluefish<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
<br />
= Installing Bluefish on Slackware =<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
Download http://www.bennewitz.com/bluefish/stable/binaries/macosx/Bluefish-2.2.5-2.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
In Mavericks there is a system setting called ''Gatekeeper'' that only allows you to install packages from Apple-identified developers. Bluefish is not distributed through the Apple app store, so you will have to disable that setting. For more information see <br />
https://kb.wisc.edu/helpdesk/page.php?id=25443 or http://support.apple.com/kb/ht5290<br />
<br />
= Installing Bluefish on Windows XP or newer =<br />
<br />
=== Installing 2.2.5 ===<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer will require internet access to download GTK+ and any spell check dictionaries. Please note that the internet-enabled setup may fail if the installer is run from a network share. See below for instructions for internet-less installation.<br />
<br />
==== Installing without Internet Access ====<br />
Download the latest Bluefish installer from the main download server: <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Download the GTK+ 2.24.8 installer (from the gtk-win project): <br />
http://downloads.sourceforge.net/gtk-win/gtk2-runtime-2.24.8-2011-12-03-ash.exe?download<br />
<br />
Download any language dictionaries you wish to be able to install: <br />
http://www.muleslow.net/files/aspell/lang/<br />
<br />
Place the files in a new directory named 'redist' in the same directory as the Bluefish installer.<br />
e.x.<br />
Bluefish\<br />
Bluefish\Bluefish-2.2.5-setup.exe<br />
Bluefish\redist\gtk2-runtime-2.24.8-2011-12-03-ash.exe<br />
Bluefish\redist\aspell6-en-7.1-0.tbz2<br />
<br />
The installer will fall back on downloading the files if they are not found in the redist folder, or if the checksum of the local copy is invalid.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=2526Getting Bluefish2014-03-05T22:01:05Z<p>Daniel Leidert: Update Debian package installation instructions.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading binaries ==<br />
<br />
We provide pre-compiled binaries for several operating systems. In alphabetical order:<br />
<br />
=== [http://www.debian.org Debian] and [http://www.ubuntu.com Ubuntu] ===<br />
<br />
Packages for the bluefish stable tree can usually be installed from the [http://packages.debian.org/bluefish Debian] or [http://packages.ubuntu.com/bluefish Ubuntu] package pool via apt-get, aptitude, synaptic, ...<br />
<br />
apt-get install bluefish<br />
<br />
For users of [http://packages.debian.org/bluefish Debian stable] (currently Debian Wheezy) packages are provided via [https://packages.debian.org/wheezy-backports/bluefish backports.debian.org]. Just add this repository, follow the instructions given at [http://backports.debian.org/Instructions/] and install bluefish like this:<br />
<br />
apt-get install -t wheezy-backports bluefish<br />
<br />
The old repository [http://debian.wgdd.de debian.wgdd.de] won't provide any bluefish binary packages any longer. After installing the bluefish backport you can also safely remove any reference to this repository including entries to ''sources.list'' and also the repository keyring (package) '''wgdd-archive-keyring'''.<br />
<br />
=== [http://www.gentoo.org Gentoo] ===<br />
<br />
Gentoo users run<br />
<br />
emerge bluefish<br />
<br />
to install the stable version of Bluefish.<br />
<br />
=== [http://www.apple.com/macosx/ MacOSX] and [http://www.opensource.apple.com/ Darwin] ===<br />
<br />
Fink users might install the [http://pdb.finkproject.org/pdb/package.php/bluefish stable version] via<br />
<br />
fink install bluefish<br />
<br />
and the [http://pdb.finkproject.org/pdb/package.php/bluefish-unstable development version] via<br />
<br />
fink install bluefish-unstable<br />
<br />
=== Windows ===<br />
<br />
For Windows an installer is available. Check out the projects [https://sourceforge.net/projects/bluefish/files/ sourceforge.net download page].<br />
<br />
<br />
== Downloading the source ==<br />
<br />
There are several ways to retreive the source of Bluefish.<br />
<br />
=== Downloading a source tarball ===<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
After downloading compare the SHA hashsum of the tarball with the values provided at our [http://bluefish.openoffice.nl homepage].<br />
<br />
=== Downloading the source via Subversion ===<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above. For the current stable tree (1.0) use:<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
For the current development tree (1.3) use:<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z<br />
<br />
=== Downloading the latest source snapshot ===<br />
<br />
The latest snapshot (for the stable or the development tree) can be retreived via subversion as shown above. You can also download the source snapshot as tarball for the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0.tar.gz?view=tar stable] or [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar development] tree.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2214Installing Bluefish2011-04-05T20:41:02Z<p>Daniel Leidert: sudo</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
Use<br />
<br />
sudo apt-get install bluefish<br />
sudo aptitude install bluefish<br />
<br />
or synaptic or any other package manager<br />
<br />
== Installing 2.0 (current stable) ==<br />
<br />
Use<br />
<br />
sudo apt-get install bluefish<br />
sudo aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
The version in Debian Sid is always the latest available. Debian Lenny and Debian Squeeze users may use the procedures below to get the most recent bluefish version.<br />
<br />
=== Installing 2.0 (current stable) release candidates on Debian Sid and Wheezy ===<br />
<br />
This entry is only for Debian Sid/Wheezy users, who want to test the release candidates too. Official bluefish releases are provided via the Debian archive.<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 6.0 (Squeeze) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_squeeze.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 5.0 (Lenny) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
sudo apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
== Installing 2.0 on Ubuntu ==<br />
<br />
sudo apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
Note, that you only need to use the procedures below, if recent bluefish packages are not provided by the Ubuntu archives. This may be the case for released Ubuntu versions after some time. In this case pick up the instructions for your Ubuntu version from below.<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 10.04 or newer ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] lucid main restricted universe multiverse<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] maverick main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
sudo apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 9.04 or 9.10 (Jaunty or Karmic) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] karmic main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
sudo apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 8.04 or 8.10 (Hardy or Intrepid) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] hardy main restricted universe multiverse<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] intrepid main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
sudo apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora13/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on Mandriva Linux =<br />
<br />
To install bluefish on [http://mandriva.com Mandriva], download the latest rpm from http://www.bennewitz.com/bluefish/stable/binaries/mandriva/<br />
Then run the rpm by double-clicking on it. It's that easy. The version for Mandriva 2010.0 x86_64 (i.e. 64 bits) works for Mandriva 2009 Spring x86_64 too.<br />
<br />
Or if you are not interested in keeping the download file, you can just click on the above link, click on the latest version, and when the pop-up asks you if you want to download or install, you can just click install.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
=Installing [http://packages.gentoo.org/package/bluefish Bluefish on Gentoo]=<br />
<br />
==Latest Gentoo stable==<br />
<br />
emerge bluefish<br />
<br />
==Latest available==<br />
<br />
echo 'app-editors/bluefish' >> /etc/portage/package.keywords && emerge bluefish<br />
<br />
= Installing Bluefish on Slackware =<br />
; Kwick n dirty method<br />
: <tt>$ ./configure && make</tt><br />
: <tt># make install</tt><br />
: ''enjoy you are in Slackware ;)''<br />
; But please consider to use a Slackbuild: (you know why)<br />
; Dependencies<br />
: Bluefish depends on Gnome:<br />
: consider to install some ''gnome minimal''.<br />
: Have a look at dependencies file at third party slackbuilders,<br />
: have a look at ./configure issues.<br />
<br />
=== Installing 2.0.1 (current stable) ===<br />
Bluefish needs [http://ftp.gnome.org/pub/GNOME/sources/gvfs/ gvfs] if you want to work with remote files.<br />
: GVFS is work in progress in Slackware, you need to have glib 2.18 (Slack 13.0); GSB (2.28.2) uses glib2 2.22.4 and gvfs 1.4.3.<br /><br />
<br />
You can use your bluefish.SlackBuild 1.0 for Bluefish 2.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.x (current stable) ===<br />
A binary package is not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
<br />
=== Installing 2.0.1 (current stable) Using Macports ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
=== Installing 2.0.3 (current stable) Native (no X11 needed!) ===<br />
<br />
Download Bluefish-2.0.3.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
Version 2.0.3 should work on OSX 10.5 and 10.6.<br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
download Bluefish-2.0.3-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
This installer needs internet access because it will download gtk library and the spell checking dictionaries for you.<br />
<br />
==== Installing without internet access ====<br />
download Bluefish-2.0.3-tagalong.exe from the main download server<br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Now download the GTK+ installer (gtk-runtime-2.14.7-rev-a.exe from http://sourceforge.net/projects/pidgin/files/GTK%2B%20for%20Windows/2.14.7%20Rev%20A/gtk-runtime-2.14.7-rev-a.exe/download) and whatever language dictionaries (from http://www.muleslow.net/files/aspell/lang/) you wish to install and<br />
place them in a directory called 'redist' in the same folder as the<br />
installer. The tagalong install will fall back on downloading the<br />
file if it does not exist locally or the checksum of the local file<br />
does not match the stored value.<br />
<br />
= Installing Bluefish on Windows 7 (64 bit) =<br />
<br />
Bluefish 2.0.2 on Windows 7 (64 bit) will fail to start with the newest version of GTK+. You have to manually download GTK 2.14.7 from http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/GTK%2B%202.14/gtk2-runtime-2.14.7-2009-01-13-ash.exe/download and install it prior installing Bluefish itself. This will prevent Bluefish installer from donwloading the newest version.<br />
<br />
If you already have GTK+ in newer version, you have to uninstall this one, and install version 2.14.7. Otherwise you won't be able to run Bluefish.<br />
<br />
Than download Bluefish-2.0.2-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/ and install it.<br />
<br />
Bluefish won't run with any newer version of GTK+ than 2.14.7, so do not upgrade this library. If it happens, you'll have to manually downgrade to mentioned version.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2213Installing Bluefish2011-04-05T20:33:36Z<p>Daniel Leidert: Adding sudo to commands. Changing URLs.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
Use<br />
<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
<br />
or synaptic or any other package manager<br />
<br />
== Installing 2.0 (current stable) ==<br />
<br />
Use<br />
<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
The version in Debian Sid is always the latest available. Debian Lenny and Debian Squeeze users may use the procedures below to get the most recent bluefish version.<br />
<br />
=== Installing 2.0 (current stable) release candidates on Debian Sid and Wheezy ===<br />
<br />
This entry is only for Debian Sid/Wheezy users, who want to test the release candidates too. Official bluefish releases are provided via the Debian archive.<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 6.0 (Squeeze) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_squeeze.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 5.0 (Lenny) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
sudo apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
== Installing 2.0 on Ubuntu ==<br />
<br />
sudo apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
Note, that you only need to use the procedures below, if recent bluefish packages are not provided by the Ubuntu archives. This may be the case for released Ubuntu versions after some time. In this case pick up the instructions for your Ubuntu version from below.<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 10.04 or newer ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] lucid main restricted universe multiverse<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] maverick main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
sudo apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 9.04 or 9.10 (Jaunty or Karmic) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] karmic main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
sudo apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 8.04 or 8.10 (Hardy or Intrepid) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] hardy main restricted universe multiverse<br />
deb [http://ubuntu.wgdd.de/debian http://ubuntu.wgdd.de/ubuntu] intrepid main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
sudo apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora13/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on Mandriva Linux =<br />
<br />
To install bluefish on [http://mandriva.com Mandriva], download the latest rpm from http://www.bennewitz.com/bluefish/stable/binaries/mandriva/<br />
Then run the rpm by double-clicking on it. It's that easy. The version for Mandriva 2010.0 x86_64 (i.e. 64 bits) works for Mandriva 2009 Spring x86_64 too.<br />
<br />
Or if you are not interested in keeping the download file, you can just click on the above link, click on the latest version, and when the pop-up asks you if you want to download or install, you can just click install.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
=Installing [http://packages.gentoo.org/package/bluefish Bluefish on Gentoo]=<br />
<br />
==Latest Gentoo stable==<br />
<br />
emerge bluefish<br />
<br />
==Latest available==<br />
<br />
echo 'app-editors/bluefish' >> /etc/portage/package.keywords && emerge bluefish<br />
<br />
= Installing Bluefish on Slackware =<br />
; Kwick n dirty method<br />
: <tt>$ ./configure && make</tt><br />
: <tt># make install</tt><br />
: ''enjoy you are in Slackware ;)''<br />
; But please consider to use a Slackbuild: (you know why)<br />
; Dependencies<br />
: Bluefish depends on Gnome:<br />
: consider to install some ''gnome minimal''.<br />
: Have a look at dependencies file at third party slackbuilders,<br />
: have a look at ./configure issues.<br />
<br />
=== Installing 2.0.1 (current stable) ===<br />
Bluefish needs [http://ftp.gnome.org/pub/GNOME/sources/gvfs/ gvfs] if you want to work with remote files.<br />
: GVFS is work in progress in Slackware, you need to have glib 2.18 (Slack 13.0); GSB (2.28.2) uses glib2 2.22.4 and gvfs 1.4.3.<br /><br />
<br />
You can use your bluefish.SlackBuild 1.0 for Bluefish 2.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.x (current stable) ===<br />
A binary package is not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
<br />
=== Installing 2.0.1 (current stable) Using Macports ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
=== Installing 2.0.3 (current stable) Native (no X11 needed!) ===<br />
<br />
Download Bluefish-2.0.3.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
Version 2.0.3 should work on OSX 10.5 and 10.6.<br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
download Bluefish-2.0.3-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
This installer needs internet access because it will download gtk library and the spell checking dictionaries for you.<br />
<br />
==== Installing without internet access ====<br />
download Bluefish-2.0.3-tagalong.exe from the main download server<br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Now download the GTK+ installer (gtk-runtime-2.14.7-rev-a.exe from http://sourceforge.net/projects/pidgin/files/GTK%2B%20for%20Windows/2.14.7%20Rev%20A/gtk-runtime-2.14.7-rev-a.exe/download) and whatever language dictionaries (from http://www.muleslow.net/files/aspell/lang/) you wish to install and<br />
place them in a directory called 'redist' in the same folder as the<br />
installer. The tagalong install will fall back on downloading the<br />
file if it does not exist locally or the checksum of the local file<br />
does not match the stored value.<br />
<br />
= Installing Bluefish on Windows 7 (64 bit) =<br />
<br />
Bluefish 2.0.2 on Windows 7 (64 bit) will fail to start with the newest version of GTK+. You have to manually download GTK 2.14.7 from http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/GTK%2B%202.14/gtk2-runtime-2.14.7-2009-01-13-ash.exe/download and install it prior installing Bluefish itself. This will prevent Bluefish installer from donwloading the newest version.<br />
<br />
If you already have GTK+ in newer version, you have to uninstall this one, and install version 2.14.7. Otherwise you won't be able to run Bluefish.<br />
<br />
Than download Bluefish-2.0.2-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/ and install it.<br />
<br />
Bluefish won't run with any newer version of GTK+ than 2.14.7, so do not upgrade this library. If it happens, you'll have to manually downgrade to mentioned version.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2212Installing Bluefish2011-04-05T20:22:21Z<p>Daniel Leidert: Minor update.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
Use<br />
<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
<br />
or synaptic or any other package manager<br />
<br />
== Installing 2.0 (current stable) ==<br />
<br />
Use<br />
<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
The version in Debian Sid is always the latest available. Debian Lenny and Debian Squeeze users may use the procedures below to get the most recent bluefish version.<br />
<br />
=== Installing 2.0 (current stable) release candidates on Debian Sid and Wheezy ===<br />
<br />
This entry is only for Debian Sid/Wheezy users, who want to test the release candidates too. Official bluefish releases are provided via the Debian archive.<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 6.0 (Squeeze) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_squeeze.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 5.0 (Lenny) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
== Installing 2.0 on Ubuntu ==<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
Note, that you only need to use the procedures below, if recent bluefish packages are not provided by the Ubuntu archives. This may be the case for released Ubuntu versions after some time. In this case pick up the instructions for your Ubuntu version from below.<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 10.04 or newer ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] lucid main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] maverick main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 9.04 or 9.10 (Jaunty or Karmic) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] karmic main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 8.04 or 8.10 (Hardy or Intrepid) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] hardy main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] intrepid main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora13/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on Mandriva Linux =<br />
<br />
To install bluefish on [http://mandriva.com Mandriva], download the latest rpm from http://www.bennewitz.com/bluefish/stable/binaries/mandriva/<br />
Then run the rpm by double-clicking on it. It's that easy. The version for Mandriva 2010.0 x86_64 (i.e. 64 bits) works for Mandriva 2009 Spring x86_64 too.<br />
<br />
Or if you are not interested in keeping the download file, you can just click on the above link, click on the latest version, and when the pop-up asks you if you want to download or install, you can just click install.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
=Installing [http://packages.gentoo.org/package/bluefish Bluefish on Gentoo]=<br />
<br />
==Latest Gentoo stable==<br />
<br />
emerge bluefish<br />
<br />
==Latest available==<br />
<br />
echo 'app-editors/bluefish' >> /etc/portage/package.keywords && emerge bluefish<br />
<br />
= Installing Bluefish on Slackware =<br />
; Kwick n dirty method<br />
: <tt>$ ./configure && make</tt><br />
: <tt># make install</tt><br />
: ''enjoy you are in Slackware ;)''<br />
; But please consider to use a Slackbuild: (you know why)<br />
; Dependencies<br />
: Bluefish depends on Gnome:<br />
: consider to install some ''gnome minimal''.<br />
: Have a look at dependencies file at third party slackbuilders,<br />
: have a look at ./configure issues.<br />
<br />
=== Installing 2.0.1 (current stable) ===<br />
Bluefish needs [http://ftp.gnome.org/pub/GNOME/sources/gvfs/ gvfs] if you want to work with remote files.<br />
: GVFS is work in progress in Slackware, you need to have glib 2.18 (Slack 13.0); GSB (2.28.2) uses glib2 2.22.4 and gvfs 1.4.3.<br /><br />
<br />
You can use your bluefish.SlackBuild 1.0 for Bluefish 2.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.x (current stable) ===<br />
A binary package is not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
<br />
=== Installing 2.0.1 (current stable) Using Macports ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
=== Installing 2.0.3 (current stable) Native (no X11 needed!) ===<br />
<br />
Download Bluefish-2.0.3.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
Version 2.0.3 should work on OSX 10.5 and 10.6.<br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
download Bluefish-2.0.3-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
This installer needs internet access because it will download gtk library and the spell checking dictionaries for you.<br />
<br />
==== Installing without internet access ====<br />
download Bluefish-2.0.3-tagalong.exe from the main download server<br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Now download the GTK+ installer (gtk-runtime-2.14.7-rev-a.exe from http://sourceforge.net/projects/pidgin/files/GTK%2B%20for%20Windows/2.14.7%20Rev%20A/gtk-runtime-2.14.7-rev-a.exe/download) and whatever language dictionaries (from http://www.muleslow.net/files/aspell/lang/) you wish to install and<br />
place them in a directory called 'redist' in the same folder as the<br />
installer. The tagalong install will fall back on downloading the<br />
file if it does not exist locally or the checksum of the local file<br />
does not match the stored value.<br />
<br />
= Installing Bluefish on Windows 7 (64 bit) =<br />
<br />
Bluefish 2.0.2 on Windows 7 (64 bit) will fail to start with the newest version of GTK+. You have to manually download GTK 2.14.7 from http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/GTK%2B%202.14/gtk2-runtime-2.14.7-2009-01-13-ash.exe/download and install it prior installing Bluefish itself. This will prevent Bluefish installer from donwloading the newest version.<br />
<br />
If you already have GTK+ in newer version, you have to uninstall this one, and install version 2.14.7. Otherwise you won't be able to run Bluefish.<br />
<br />
Than download Bluefish-2.0.2-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/ and install it.<br />
<br />
Bluefish won't run with any newer version of GTK+ than 2.14.7, so do not upgrade this library. If it happens, you'll have to manually downgrade to mentioned version.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2211Installing Bluefish2011-04-05T20:21:29Z<p>Daniel Leidert: Dropped. Already handled.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux Sid or Squeeze =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
Use<br />
<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
<br />
or synaptic or any other package manager<br />
<br />
== Installing 2.0 (current stable) ==<br />
<br />
Use<br />
<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
The version in Debian Sid is always the latest available. Debian Lenny and Debian Squeeze users may use the procedures below to get the most recent bluefish version.<br />
<br />
=== Installing 2.0 (current stable) release candidates on Debian Sid ===<br />
<br />
This entry is only for Debian Sid users, who want to test the release candidates too. Official bluefish releases are provided via the Debian archive.<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 6.0 (Squeeze) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_squeeze.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 5.0 (Lenny) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
== Installing 2.0 on Ubuntu ==<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
Note, that you only need to use the procedures below, if recent bluefish packages are not provided by the Ubuntu archives. This may be the case for released Ubuntu versions after some time. In this case pick up the instructions for your Ubuntu version from below.<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 10.04 or newer ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] lucid main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] maverick main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 9.04 or 9.10 (Jaunty or Karmic) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] karmic main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 8.04 or 8.10 (Hardy or Intrepid) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] hardy main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] intrepid main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora13/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on Mandriva Linux =<br />
<br />
To install bluefish on [http://mandriva.com Mandriva], download the latest rpm from http://www.bennewitz.com/bluefish/stable/binaries/mandriva/<br />
Then run the rpm by double-clicking on it. It's that easy. The version for Mandriva 2010.0 x86_64 (i.e. 64 bits) works for Mandriva 2009 Spring x86_64 too.<br />
<br />
Or if you are not interested in keeping the download file, you can just click on the above link, click on the latest version, and when the pop-up asks you if you want to download or install, you can just click install.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
=Installing [http://packages.gentoo.org/package/bluefish Bluefish on Gentoo]=<br />
<br />
==Latest Gentoo stable==<br />
<br />
emerge bluefish<br />
<br />
==Latest available==<br />
<br />
echo 'app-editors/bluefish' >> /etc/portage/package.keywords && emerge bluefish<br />
<br />
= Installing Bluefish on Slackware =<br />
; Kwick n dirty method<br />
: <tt>$ ./configure && make</tt><br />
: <tt># make install</tt><br />
: ''enjoy you are in Slackware ;)''<br />
; But please consider to use a Slackbuild: (you know why)<br />
; Dependencies<br />
: Bluefish depends on Gnome:<br />
: consider to install some ''gnome minimal''.<br />
: Have a look at dependencies file at third party slackbuilders,<br />
: have a look at ./configure issues.<br />
<br />
=== Installing 2.0.1 (current stable) ===<br />
Bluefish needs [http://ftp.gnome.org/pub/GNOME/sources/gvfs/ gvfs] if you want to work with remote files.<br />
: GVFS is work in progress in Slackware, you need to have glib 2.18 (Slack 13.0); GSB (2.28.2) uses glib2 2.22.4 and gvfs 1.4.3.<br /><br />
<br />
You can use your bluefish.SlackBuild 1.0 for Bluefish 2.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.x (current stable) ===<br />
A binary package is not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
<br />
=== Installing 2.0.1 (current stable) Using Macports ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
=== Installing 2.0.3 (current stable) Native (no X11 needed!) ===<br />
<br />
Download Bluefish-2.0.3.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
Version 2.0.3 should work on OSX 10.5 and 10.6.<br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
download Bluefish-2.0.3-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
This installer needs internet access because it will download gtk library and the spell checking dictionaries for you.<br />
<br />
==== Installing without internet access ====<br />
download Bluefish-2.0.3-tagalong.exe from the main download server<br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Now download the GTK+ installer (gtk-runtime-2.14.7-rev-a.exe from http://sourceforge.net/projects/pidgin/files/GTK%2B%20for%20Windows/2.14.7%20Rev%20A/gtk-runtime-2.14.7-rev-a.exe/download) and whatever language dictionaries (from http://www.muleslow.net/files/aspell/lang/) you wish to install and<br />
place them in a directory called 'redist' in the same folder as the<br />
installer. The tagalong install will fall back on downloading the<br />
file if it does not exist locally or the checksum of the local file<br />
does not match the stored value.<br />
<br />
= Installing Bluefish on Windows 7 (64 bit) =<br />
<br />
Bluefish 2.0.2 on Windows 7 (64 bit) will fail to start with the newest version of GTK+. You have to manually download GTK 2.14.7 from http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/GTK%2B%202.14/gtk2-runtime-2.14.7-2009-01-13-ash.exe/download and install it prior installing Bluefish itself. This will prevent Bluefish installer from donwloading the newest version.<br />
<br />
If you already have GTK+ in newer version, you have to uninstall this one, and install version 2.14.7. Otherwise you won't be able to run Bluefish.<br />
<br />
Than download Bluefish-2.0.2-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/ and install it.<br />
<br />
Bluefish won't run with any newer version of GTK+ than 2.14.7, so do not upgrade this library. If it happens, you'll have to manually downgrade to mentioned version.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2210Installing Bluefish2011-04-05T20:20:29Z<p>Daniel Leidert: Updated installation instructions for Debian users.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux 5.0 (Lenny) =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
<br />
add the following line, that fits your Debian version, to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Debian GNU/Linux Sid or Squeeze =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
Use<br />
<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
<br />
or synaptic or any other package manager<br />
<br />
== Installing 2.0 (current stable) ==<br />
<br />
Use<br />
<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
<br />
or any other frontend for the package manager such as synaptic or simply "add / remove programs".<br />
<br />
The version in Debian Sid is always the latest available. Debian Lenny and Debian Squeeze users may use the procedures below to get the most recent bluefish version.<br />
<br />
=== Installing 2.0 (current stable) release candidates on Debian Sid ===<br />
<br />
This entry is only for Debian Sid users, who want to test the release candidates too. Official bluefish releases are provided via the Debian archive.<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 6.0 (Squeeze) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian squeeze main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_squeeze.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Debian 5.0 (Lenny) ===<br />
<br />
Add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Run updates, to pick up the newly available options<br />
<br />
sudo apt-get update<br />
<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
sudo apt-get install wgdd-archive-keyring<br />
sudo apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
== Installing 2.0 on Ubuntu ==<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
Note, that you only need to use the procedures below, if recent bluefish packages are not provided by the Ubuntu archives. This may be the case for released Ubuntu versions after some time. In this case pick up the instructions for your Ubuntu version from below.<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 10.04 or newer ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] lucid main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] maverick main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 9.04 or 9.10 (Jaunty or Karmic) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] karmic main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 8.04 or 8.10 (Hardy or Intrepid) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] hardy main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] intrepid main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora13/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on Mandriva Linux =<br />
<br />
To install bluefish on [http://mandriva.com Mandriva], download the latest rpm from http://www.bennewitz.com/bluefish/stable/binaries/mandriva/<br />
Then run the rpm by double-clicking on it. It's that easy. The version for Mandriva 2010.0 x86_64 (i.e. 64 bits) works for Mandriva 2009 Spring x86_64 too.<br />
<br />
Or if you are not interested in keeping the download file, you can just click on the above link, click on the latest version, and when the pop-up asks you if you want to download or install, you can just click install.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
=Installing [http://packages.gentoo.org/package/bluefish Bluefish on Gentoo]=<br />
<br />
==Latest Gentoo stable==<br />
<br />
emerge bluefish<br />
<br />
==Latest available==<br />
<br />
echo 'app-editors/bluefish' >> /etc/portage/package.keywords && emerge bluefish<br />
<br />
= Installing Bluefish on Slackware =<br />
; Kwick n dirty method<br />
: <tt>$ ./configure && make</tt><br />
: <tt># make install</tt><br />
: ''enjoy you are in Slackware ;)''<br />
; But please consider to use a Slackbuild: (you know why)<br />
; Dependencies<br />
: Bluefish depends on Gnome:<br />
: consider to install some ''gnome minimal''.<br />
: Have a look at dependencies file at third party slackbuilders,<br />
: have a look at ./configure issues.<br />
<br />
=== Installing 2.0.1 (current stable) ===<br />
Bluefish needs [http://ftp.gnome.org/pub/GNOME/sources/gvfs/ gvfs] if you want to work with remote files.<br />
: GVFS is work in progress in Slackware, you need to have glib 2.18 (Slack 13.0); GSB (2.28.2) uses glib2 2.22.4 and gvfs 1.4.3.<br /><br />
<br />
You can use your bluefish.SlackBuild 1.0 for Bluefish 2.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.x (current stable) ===<br />
A binary package is not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
<br />
=== Installing 2.0.1 (current stable) Using Macports ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
=== Installing 2.0.3 (current stable) Native (no X11 needed!) ===<br />
<br />
Download Bluefish-2.0.3.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
Version 2.0.3 should work on OSX 10.5 and 10.6.<br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
download Bluefish-2.0.3-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
This installer needs internet access because it will download gtk library and the spell checking dictionaries for you.<br />
<br />
==== Installing without internet access ====<br />
download Bluefish-2.0.3-tagalong.exe from the main download server<br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Now download the GTK+ installer (gtk-runtime-2.14.7-rev-a.exe from http://sourceforge.net/projects/pidgin/files/GTK%2B%20for%20Windows/2.14.7%20Rev%20A/gtk-runtime-2.14.7-rev-a.exe/download) and whatever language dictionaries (from http://www.muleslow.net/files/aspell/lang/) you wish to install and<br />
place them in a directory called 'redist' in the same folder as the<br />
installer. The tagalong install will fall back on downloading the<br />
file if it does not exist locally or the checksum of the local file<br />
does not match the stored value.<br />
<br />
= Installing Bluefish on Windows 7 (64 bit) =<br />
<br />
Bluefish 2.0.2 on Windows 7 (64 bit) will fail to start with the newest version of GTK+. You have to manually download GTK 2.14.7 from http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/GTK%2B%202.14/gtk2-runtime-2.14.7-2009-01-13-ash.exe/download and install it prior installing Bluefish itself. This will prevent Bluefish installer from donwloading the newest version.<br />
<br />
If you already have GTK+ in newer version, you have to uninstall this one, and install version 2.14.7. Otherwise you won't be able to run Bluefish.<br />
<br />
Than download Bluefish-2.0.2-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/ and install it.<br />
<br />
Bluefish won't run with any newer version of GTK+ than 2.14.7, so do not upgrade this library. If it happens, you'll have to manually downgrade to mentioned version.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=2209Installing Bluefish2011-04-05T20:07:58Z<p>Daniel Leidert: Updated Ubuntu installation instructions.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux 5.0 (Lenny) =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
<br />
add the following line, that fits your Debian version, to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Debian GNU/Linux Sid or Squeeze =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
=== Installing 2.0.1 in Sid (current stable) ===<br />
version 2.0.1 is now in [http://packages.debian.org/sid/bluefish Debian], run:<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux =<br />
<br />
== Installing 1.0.x (old stable) ==<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
== Installing 2.0 on Ubuntu ==<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
Note, that you only need to use the procedures below, if recent bluefish packages are not provided by the Ubuntu archives. This may be the case for released Ubuntu versions after some time. In this case pick up the instructions for your Ubuntu version from below.<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 10.04 or newer ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] lucid main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] maverick main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 9.04 or 9.10 (Jaunty or Karmic) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] karmic main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
<br />
=== Installing 2.0 (current stable) on Ubuntu 8.04 or 8.10 (Hardy or Intrepid) ===<br />
<br />
add the following line that fits your Ubuntu version to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] hardy main restricted universe multiverse<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] intrepid main restricted universe multiverse<br />
<br />
Run updates, to pick up the newly available options<br />
apt-get update<br />
You may see errors at this point, because you've not yet installed the cryptographic key, but that's OK as you're about to do that<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora13/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on Mandriva Linux =<br />
<br />
To install bluefish on [http://mandriva.com Mandriva], download the latest rpm from http://www.bennewitz.com/bluefish/stable/binaries/mandriva/<br />
Then run the rpm by double-clicking on it. It's that easy. The version for Mandriva 2010.0 x86_64 (i.e. 64 bits) works for Mandriva 2009 Spring x86_64 too.<br />
<br />
Or if you are not interested in keeping the download file, you can just click on the above link, click on the latest version, and when the pop-up asks you if you want to download or install, you can just click install.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
=Installing [http://packages.gentoo.org/package/bluefish Bluefish on Gentoo]=<br />
<br />
==Latest Gentoo stable==<br />
<br />
emerge bluefish<br />
<br />
==Latest available==<br />
<br />
echo 'app-editors/bluefish' >> /etc/portage/package.keywords && emerge bluefish<br />
<br />
= Installing Bluefish on Slackware =<br />
; Kwick n dirty method<br />
: <tt>$ ./configure && make</tt><br />
: <tt># make install</tt><br />
: ''enjoy you are in Slackware ;)''<br />
; But please consider to use a Slackbuild: (you know why)<br />
; Dependencies<br />
: Bluefish depends on Gnome:<br />
: consider to install some ''gnome minimal''.<br />
: Have a look at dependencies file at third party slackbuilders,<br />
: have a look at ./configure issues.<br />
<br />
=== Installing 2.0.1 (current stable) ===<br />
Bluefish needs [http://ftp.gnome.org/pub/GNOME/sources/gvfs/ gvfs] if you want to work with remote files.<br />
: GVFS is work in progress in Slackware, you need to have glib 2.18 (Slack 13.0); GSB (2.28.2) uses glib2 2.22.4 and gvfs 1.4.3.<br /><br />
<br />
You can use your bluefish.SlackBuild 1.0 for Bluefish 2.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.x (current stable) ===<br />
A binary package is not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
<br />
=== Installing 2.0.1 (current stable) Using Macports ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
=== Installing 2.0.3 (current stable) Native (no X11 needed!) ===<br />
<br />
Download Bluefish-2.0.3.dmg from http://www.bennewitz.com/bluefish/stable/binaries/macosx/, open it and drag the bluefish icon onto Applications.<br />
<br />
Version 2.0.3 should work on OSX 10.5 and 10.6.<br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.3 (current stable) ===<br />
download Bluefish-2.0.3-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
This installer needs internet access because it will download gtk library and the spell checking dictionaries for you.<br />
<br />
==== Installing without internet access ====<br />
download Bluefish-2.0.3-tagalong.exe from the main download server<br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
Now download the GTK+ installer (gtk-runtime-2.14.7-rev-a.exe from http://sourceforge.net/projects/pidgin/files/GTK%2B%20for%20Windows/2.14.7%20Rev%20A/gtk-runtime-2.14.7-rev-a.exe/download) and whatever language dictionaries (from http://www.muleslow.net/files/aspell/lang/) you wish to install and<br />
place them in a directory called 'redist' in the same folder as the<br />
installer. The tagalong install will fall back on downloading the<br />
file if it does not exist locally or the checksum of the local file<br />
does not match the stored value.<br />
<br />
= Installing Bluefish on Windows 7 (64 bit) =<br />
<br />
Bluefish 2.0.2 on Windows 7 (64 bit) will fail to start with the newest version of GTK+. You have to manually download GTK 2.14.7 from http://sourceforge.net/projects/gtk-win/files/GTK%2B%20Runtime%20Environment/GTK%2B%202.14/gtk2-runtime-2.14.7-2009-01-13-ash.exe/download and install it prior installing Bluefish itself. This will prevent Bluefish installer from donwloading the newest version.<br />
<br />
If you already have GTK+ in newer version, you have to uninstall this one, and install version 2.14.7. Otherwise you won't be able to run Bluefish.<br />
<br />
Than download Bluefish-2.0.2-setup.exe from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/ and install it.<br />
<br />
Bluefish won't run with any newer version of GTK+ than 2.14.7, so do not upgrade this library. If it happens, you'll have to manually downgrade to mentioned version.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=2103Setting up a Windows Build Environment2011-02-07T16:55:18Z<p>Daniel Leidert: Update instructions to build the Windows build environment.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
* Launching of external programs doesn't work.<br />
* Editing of UTF files with a BOM headers is not currently supported.<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2011-02-07<br />
:The MingW project has created a new installer, which makes things much easier but also changes the way to create the build environment.<br />
<br />
;2009-12-10<br />
:If you build your own installers we now use a unicode version of NSIS, [http://www.scratchpaper.com/home Unicode NSIS], to support UTF-8 encoded translations.<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [http://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/mingw-get-inst/mingw-get-inst-20101030/mingw-get-inst-20101030.exe/download automated MinGW installer]. When you are asked for the installation location you have to choose a path without spaces like <tt>C:\MinGW</tt> (but not necessarily this one). From the optional components choose at least the C++ compiler and the MSYS base system.<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually or via the <tt>mingw-get</tt> tool.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all further necessary software needs to be updated and/or installed. You can download and extract them manually or via the <tt>mingw-get</tt> tool. To unzip things we need at least the <tt>unzip</tt> too:<br />
<br />
<pre>mingw-get update<br />
mingw-get install msys-unzip msys-wget</pre><br />
<br />
All MinGW and MSYS packages can be retrieved and installed using this way as long as some internet connection is available.<br />
<br />
We further need some software by third parties (GNOME packages and it's dependencies). Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\MinGW\msys\1.0\</tt>. Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. And also <tt>/local</tt> and <tt>/usr/local</tt> are equal too. ''We install all third party software into <tt>/usr/local</tt>!'':<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\MinGW\local\</tt> or <tt>C:\Programs\msys\1.0\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-bundle_2.14.7-20090119_win32.zip gtk+-bundle_2.14.7-20090119_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.7-1_win32.zip libxml2_2.7.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.7-1_win32.zip libxml2-dev_2.7.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-3_win32.zip GConf_2.22.0-3_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-3_win32.zip GConf-dev_2.22.0-3_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
<!--:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip pkg-config_0.23-3_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-dev_0.23-3_win32.zip pkg-config-dev_0.23-3_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]--><br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\MinGW\local\</tt> or <tt>C:\Programs\msys\1.0\local\</tt>)<br />
:[http://sourceforge.net/projects/win32svn/files/1.6.15/svn-win32-1.6.15.zip/download svn-win32-1.6.15.zip]<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /mingw/share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\MinGW\local\</tt> or <tt>C:\Programs\msys\1.0\local\</tt>)<br />
<!--:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]--><br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...configure options see above...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
In the aspell source add <br />
<br />
#include "asc_ctype.hpp"<br />
<br />
to the includes at '''common/file_util.cpp'''.<br />
<br />
./configure --prefix=/local --disable-rpath --enable-win32-relocatable<br />
<br />
;[http://www.abisource.com/downloads/enchant/1.6.0/enchant-1.6.0.tar.gz Enchant 1.6.0]<br />
<br />
./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell<br />
<br />
<!--;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
./configure --prefix=/local --enable-utf8 --enable-unicode-properties<br />
--><br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.32/gucharmap-2.32.1.tar.bz2 gucharmap 2.32]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest code from trunk:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitly set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the installer you'll need to have [http://www.scratchpaper.com/home Unicode NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/><br />
<br />
==See also==<br />
[[Installing_Bluefish#Installing_Bluefish_on_Windows_XP.2FVista.2F7_.2832_bit.29|Existing win32 builds]]</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=1406Setting up a Windows Build Environment2010-02-28T21:19:09Z<p>Daniel Leidert: We need the pkg-m4 file shipped with pkg-config-dev.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
* Launching of external programs doesn't work.<br />
* Editing of UTF files with a BOM headers is not currently supported.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-12-10<br />
:If you build your own installers we now use a unicode version of NSIS, [http://www.scratchpaper.com/home Unicode NSIS], to support UTF-8 encoded translations.<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/mingw-utils-0.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip pkg-config_0.23-3_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-dev_0.23-3_win32.zip pkg-config-dev_0.23-3_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...configure options see above...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
In the aspell source add <br />
<br />
#include "asc_ctype.hpp"<br />
<br />
to the includes at '''common/file_util.cpp'''.<br />
<br />
./configure --prefix=/local --disable-rpath --enable-win32-relocatable<br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell<br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
./configure --prefix=/local --enable-utf8 --enable-unicode-properties<br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest code from trunk:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitly set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the installer you'll need to have [http://www.scratchpaper.com/home Unicode NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=1398Installing Bluefish2010-02-21T14:16:21Z<p>Daniel Leidert: Typo fix. Version fix for the Ubuntu binary packages (s/9.10/9.04)</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux 5.0 (Lenny) =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
<br />
add the following line, that fits your Debian version, to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Debian GNU/Linux Sid or Squeeze =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
<br />
add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
=== Installing 2.0.0 (current stable) on Ubuntu 8.04 ===<br />
There are no binary packages for 8.04 (yet)<br />
<br />
But you can build from SVN or use the official tarballs.<br />
<br />
=== Installing 2.0.0 (current stable) on Ubuntu 9.04 or newer ===<br />
<br />
add the following line to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_ubuntu.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora12/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
= Installing Bluefish on Gentoo =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
<br />
run <br />
emerge bluefish<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
<br />
it is at this moment unknown when 2.0.0 will hit Gentoo. Probably this won't take long.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
=== Installing 1.0.x (old stable) ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish-devel</tt><br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.0 (current stable) ===<br />
download the installer from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer needs internet access because it will download gtk and spell checking dictionaries for you.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=1391Installing Bluefish2010-02-18T11:03:52Z<p>Daniel Leidert: More work on the Debian installation instructions.</p>
<hr />
<div>= Installing Bluefish on Debian GNU/Linux 5.0 (Lenny) =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
add the following line, that fits your Debian version, to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Debian GNU/Linux Sid or Squeeze =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
add the following line to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux (8.04 and newer) =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
add the following line to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
<br />
'''or''' put a snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_ubuntu.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key and Bluefish:<br />
apt-get install wgdd-archive-keyring<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.0 ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora12/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
= Installing Bluefish on Gentoo =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
run <br />
emerge bluefish<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
it is at this moment unknown when 2.0.0 will hit Gentoo. Probably this won't take long.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.0 ===<br />
Not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
=== Installing 1.0.x ( Stable ) ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
<br />
=== Installing 2.0.0 ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish-devel</tt><br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.0 ===<br />
download the installer from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer needs internet access because it will download gtk and spell checking dictionaries for you.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=1390Installing Bluefish2010-02-18T10:59:13Z<p>Daniel Leidert: Added information about snippets.</p>
<hr />
<div>= Installing Bluefish on Debian Linux 5.0 (Lenny) =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
For Lenny or Sid/Squeeze add the following line, that fits your Debian version, to /etc/apt/sources.list<br />
deb http://debian.wgdd.de/debian lenny main contrib non-free<br />
deb http://debian.wgdd.de/debian sid main contrib non-free<br />
<br />
or put the snippet, that fits your Debian version into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key:<br />
apt-get install wgdd-archive-keyring<br />
<br />
apt-get install bluefish<br />
<br />
<references group="apt.deb" /><br />
<br />
= Installing Bluefish on Ubuntu Linux (8.04 and newer) =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
add the following line to /etc/apt/sources.list<br />
deb [http://debian.wgdd.de/debian http://debian.wgdd.de/ubuntu] jaunty main restricted universe multiverse<br />
<br />
or put the snippet into /etc/apt/sources.list.d/<br />
sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_ubuntu.list -N -P /etc/apt/sources.list.d<br />
<br />
Then install the repository cryptographic key:<br />
apt-get install wgdd-archive-keyring<br />
<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.0 ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora12/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
= Installing Bluefish on Gentoo =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
run <br />
emerge bluefish<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
it is at this moment unknown when 2.0.0 will hit Gentoo. Probably this won't take long.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.0 ===<br />
Not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
=== Installing 1.0.x ( Stable ) ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
<br />
=== Installing 2.0.0 ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish-devel</tt><br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.0 ===<br />
download the installer from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer needs internet access because it will download gtk and spell checking dictionaries for you.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Installing_Bluefish&diff=1389Installing Bluefish2010-02-18T10:48:27Z<p>Daniel Leidert: Fix Debian installaton instructions.</p>
<hr />
<div>= Installing Bluefish on Debian Linux 5.0 (Lenny) =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
use<br />
apt-get install bluefish<br />
aptitude install bluefish<br />
or synaptic or any other package manager<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
For Lenny or Sid/Squeeze add<ref> sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_lenny.list -N -P /etc/apt/sources.list.d</ref><ref> sudo wget http://debian.wgdd.de/stuff/debian.wgdd.de_sid.list -N -P /etc/apt/sources.list.d</ref> the following line, that fits your Debian version, to /etc/apt/sources.list<br />
deb <nowiki>http://debian.wgdd.de/debian lenny</nowiki> main contrib non-free<br />
deb <nowiki>http://debian.wgdd.de/debian sid</nowiki> main contrib non-free<br />
<br />
Then install the repository cryptographic key:<br />
apt-get install wgdd-archive-keyring<br />
<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Ubuntu Linux (8.04 and newer) =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
apt-get install bluefish<br />
<br />
or any other frontend for the package manager such as aptitude, synaptic or simply "add / remove programs"<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
add the following line to /etc/apt/sources.list<br />
deb <nowiki>http://debian.wgdd.de/ubuntu jaunty</nowiki> main restricted universe multiverse<br />
<br />
Then install the repository cryptographic key:<br />
apt-get install wgdd-archive-keyring<br />
<br />
apt-get install bluefish<br />
<br />
= Installing Bluefish on Fedora Linux =<br />
<br />
=== Installing 1.0.x ===<br />
<br />
yum install bluefish<br />
<br />
=== Installing 2.0.0 ===<br />
To get latest updates use the provided yum enabled repository...<br />
<br />
http://www.bennewitz.com/rpms/endurs_repo_i686-release-1.0-9.noarch.rpm<br />
<br />
As an alternative solution you can download the rpm from...<br />
http://www.bennewitz.com/bluefish/stable/binaries/fedora12/<br />
...manually and execute: <tt>sudo yum localinstall <path/to/downloaded/bluefish*.rpm></tt>.<br />
<br />
= Installing Bluefish on AltLinux =<br />
<br />
=== Installing 1.0 ===<br />
Bluefish can be installed on Alt Linux 3.0, 4.0, 4.1, p5, 5.1 or Sisyphus.<br />
<br />
The versions provided by our apt servers are:<br /><br />
* Alt Linux 3.0 - 1.0<br />
* Alt Linux 4.0 - 1.0.5<br />
* Alt Linux 4.1 - 1.0.7<br />
* Alt Linux p5 - 1.0.7<br />
* Alt Linux 5.1 - 1.0.7<br />
* Alt Linux Sisyphus - 1.0.7<br /><br /><br />
To install use:<br />
<tt>apt-get install bluefish</tt><br />
or use synaptic or any other package manager.<br /><br /><br />
Alt Linux Sisyphus also provides 1.3.8 '''(bluefish-unstable)'''.<br />
To install do:<br />
<tt>apt-get install bluefish-unstable</tt><br />
<br />
=== Installing 2.0.0 ===<br />
Bluefish 2.0.0 currently is not in Alt Linux repos, but will soon appear in Sisyphus.<br /><br />
For the moment, to install it you have to:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.i586.rpm<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm bluefish-2.0.0rc3-alt1.i586.rpm<br />
<br />
If you want to build it on your system, just do:<br />
<br />
wget http://alt.u-nix.eu.org/bluefish/bluefish-2.0.0rc3-alt1.src.rpm<br />
rpm -i bluefish-2.0.0rc3-alt1.src.rpm<br />
cd /usr/src/RPM/SPECS<br />
rpmbuild -bb bluefish-2.0.0rc3.spec<br />
cd /usr/src/RPM/RPMS/noarch<br />
rpm -i bluefish-common-2.0.0rc3-alt1.noarch.rpm<br />
For i586 do:<br />
cd /usr/src/RPM/RPMS/i586<br />
rpm -i bluefish-2.0.0rc3-alt1.i586.rpm<br />
For x86_64 do:<br />
cd x86_64<br />
rpm -i bluefish-2.0.0rc3-alt1.x86_64.rpm<br />
<br />
= Installing Bluefish on Gentoo =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
<br />
run <br />
emerge bluefish<br />
<br />
=== Installing 2.0.0 ===<br />
<br />
it is at this moment unknown when 2.0.0 will hit Gentoo. Probably this won't take long.<br />
<br />
= Installing Bluefish on OpenSolaris =<br />
<br />
=== Installing 1.0.x (current stable) ===<br />
search for bluefish in the package manager, select and click apply.<br />
<br />
=== Installing 2.0.0 ===<br />
Not yet available in OpenSolaris, you have to compile from source, see [[Compiling_Bluefish_from_source]].<br />
<br />
= Installing Bluefish on Mac OS X =<br />
<br />
=== Installing 1.0.x ( Stable ) ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish</tt><br />
<br />
<br />
=== Installing 2.0.0 ===<br />
Install [http://www.macports.org Macports].<br />
<br />
Run from Terminal.app<br />
<br />
<tt>sudo port install bluefish-devel</tt><br />
<br />
= Installing Bluefish on Windows XP/Vista/7 (32 bit) =<br />
<br />
=== Installing 2.0.0 ===<br />
download the installer from the main download server <br />
http://www.bennewitz.com/bluefish/stable/binaries/win32/<br />
<br />
The installer needs internet access because it will download gtk and spell checking dictionaries for you.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=633Setting up a Windows Build Environment2009-11-07T00:42:34Z<p>Daniel Leidert: Fixed address of mingw-utils.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/mingw-utils-0.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip pkg-config_0.23-3_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...configure options see above...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
In the aspell source add <br />
<br />
#include "asc_ctype.hpp"<br />
<br />
to the includes at '''common/file_util.cpp'''.<br />
<br />
./configure --prefix=/local --disable-rpath --enable-win32-relocatable<br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell<br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
./configure --prefix=/local --enable-utf8 --enable-unicode-properties<br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the Installer you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=632Setting up a Windows Build Environment2009-11-07T00:40:42Z<p>Daniel Leidert: Fixed address of pkg-config zip file.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config_0.23-3_win32.zip pkg-config_0.23-3_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...configure options see above...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
In the aspell source add <br />
<br />
#include "asc_ctype.hpp"<br />
<br />
to the includes at '''common/file_util.cpp'''.<br />
<br />
./configure --prefix=/local --disable-rpath --enable-win32-relocatable<br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell<br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
./configure --prefix=/local --enable-utf8 --enable-unicode-properties<br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the Installer you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=608Setting up a Windows Build Environment2009-10-10T20:14:51Z<p>Daniel Leidert: Formatting reverted.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-3.zip pkg-config-0.23-3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...configure options see above...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
In the aspell source add <br />
<br />
#include "asc_ctype.hpp"<br />
<br />
to the includes at '''common/file_util.cpp'''.<br />
<br />
./configure --prefix=/local --disable-rpath --enable-win32-relocatable<br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell<br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
./configure --prefix=/local --enable-utf8 --enable-unicode-properties<br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the Installer you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=607Setting up a Windows Build Environment2009-10-10T20:12:54Z<p>Daniel Leidert: Formatting.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-3.zip pkg-config-0.23-3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
#!/bin/sh<br />
<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"<br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
./configure CONFIG_SITE=msys.site ...''configure options see above''...<br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
In the aspell source add <br />
<br />
#include "asc_ctype.hpp"<br />
<br />
to the includes at '''common/file_util.cpp'''.<br />
<br />
./configure --prefix=/local --disable-rpath --enable-win32-relocatable<br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell<br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
./configure --prefix=/local --enable-utf8 --enable-unicode-properties<br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the Installer you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=606Setting up a Windows Build Environment2009-10-10T20:11:38Z<p>Daniel Leidert: Note about aspell fix.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-3.zip pkg-config-0.23-3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...''configure options see above''...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
In the aspell source add <br />
<br />
#include "asc_ctype.hpp"<br />
<br />
to the includes at '''common/file_util.cpp'''.<br />
<br />
./configure --prefix=/local --disable-rpath --enable-win32-relocatable<br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell<br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
./configure --prefix=/local --enable-utf8 --enable-unicode-properties<br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the Installer you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=605Setting up a Windows Build Environment2009-10-10T19:23:44Z<p>Daniel Leidert: pkg-config 0.23-3</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-3.zip pkg-config-0.23-3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...''configure options see above''...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
<pre>./configure --prefix=/local --disable-rpath --enable-win32-relocatable</pre><br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
<pre>./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell</pre><br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
<pre>./configure --prefix=/local --enable-utf8 --enable-unicode-properties</pre><br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
<pre><br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper</pre><br />
<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the Installer you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=604Setting up a Windows Build Environment2009-10-10T19:10:40Z<p>Daniel Leidert: MingW 5.1.6</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.6/MinGW-5.1.6.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-2.zip pkg-config-0.23-2.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...''configure options see above''...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
<pre>./configure --prefix=/local --disable-rpath --enable-win32-relocatable</pre><br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
<pre>./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell</pre><br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
<pre>./configure --prefix=/local --enable-utf8 --enable-unicode-properties</pre><br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
<pre><br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper</pre><br />
<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the Installer you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Main_Page&diff=603Main Page2009-10-10T12:58:28Z<p>Daniel Leidert: Comment out the link to the SVN info in the manual. Getting Bluefish contains this info too.</p>
<hr />
<div>==Welcome to the Bluefish Wiki!==<br />
<br />
The honorable project leader is Olivier Sessink (olivier (at) bluefish.openoffice.nl).<br />
<br />
See our [[Mailinglists]] to get in touch with the Bluefish community and developers. The wiki maintainer is Christian (chris --a--tellefsen.net). If you find typos, broken links, or simply want to contribute, feel free to register.<br />
<br />
=== Help / documentation ===<br />
<br />
* [[Man 1 index|The Bluefish Manual]]<br />
<br />
<!-- * [[Man 1 ch01s04|Downloading From SVN]] --><br />
* [[Enabling Aspell Under MacOSX]]<br />
* [[Typing Japanese under MacOS X]]<br />
<br />
=== Development / contributing ===<br />
<br />
Recent activity:<br />
<br />
* [[Getting Bluefish]]<br />
* [[Project Roadmap]]<br />
* [[Translations|Translation status]]<br />
* [[Sending Patches]]<br />
* [[Debugging Bluefish]]<br />
* [[Setting up a Windows Build Environment]] [[Installation d'un environnement de compilation Windows|(français)]]<br />
* [[Using File Type Icons in Bluefish 1.3]]<br />
<br />
Still useful:<br />
<br />
* [[Compiling Under MacOS X]]<br />
* [[Backtrace Under Mac OS X]]<br />
* [[Customization For MacOS X]]<br />
* [[Compiling Under Cygwin]]<br />
<br />
=== Old stuff, mostly outdated ===<br />
* [[Syntax Highlighting Colours]] - default colors for all languages<br />
* [[Scanner]] - Bluefish text widget with scanning features<br />
* [[Manual]] -- Just so people can work out whos doing what (Now being Maintained by Scott White)<br />
* [[Function Reference 2]] - new function reference for Bluefish (or should we call it Information Center ?)<br />
* Search and Replace dialog<br />
* [[Reproducable Bugs]]<br />
* [[Preferences Refactor]] - Changes and removals on the Prefs Dialog<br />
* [[Feature Requests]]<br />
* [[ToDo List]]<br />
* [[Plugins]]<br />
* [[Current Plans]] from all developers<br />
* [[Gnome HIG]] compliance<br />
* [[Cvs Activity]]<br />
* [[Project Management]] - Olivier<br />
* [[Function Reference]] - implemented already, but we need more references for python, perl etc.<br />
* [[Bookmarks]]<br />
* [[Downloading From CVS]]<br />
* [[Compiling Manual]]<br />
This Wiki is maintained by the Bluefish community. If you want to help to contribute in any way, please contact us on the [[Mailinglists|bluefish mailinglist]]. If you want to help translate Bluefish, have a look at [[Translations]].</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Main_Page&diff=602Main Page2009-10-10T12:56:58Z<p>Daniel Leidert: Minor re-ordering.</p>
<hr />
<div>==Welcome to the Bluefish Wiki!==<br />
<br />
The honorable project leader is Olivier Sessink (olivier (at) bluefish.openoffice.nl).<br />
<br />
See our [[Mailinglists]] to get in touch with the Bluefish community and developers. The wiki maintainer is Christian (chris --a--tellefsen.net). If you find typos, broken links, or simply want to contribute, feel free to register.<br />
<br />
=== Help / documentation ===<br />
<br />
* [[Man 1 index|The Bluefish Manual]]<br />
<br />
* [[Man 1 ch01s04|Downloading From SVN]]<br />
* [[Enabling Aspell Under MacOSX]]<br />
* [[Typing Japanese under MacOS X]]<br />
<br />
=== Development / contributing ===<br />
<br />
Recent activity:<br />
<br />
* [[Getting Bluefish]]<br />
* [[Project Roadmap]]<br />
* [[Translations|Translation status]]<br />
* [[Sending Patches]]<br />
* [[Debugging Bluefish]]<br />
* [[Setting up a Windows Build Environment]] [[Installation d'un environnement de compilation Windows|(français)]]<br />
* [[Using File Type Icons in Bluefish 1.3]]<br />
<br />
Still useful:<br />
<br />
* [[Compiling Under MacOS X]]<br />
* [[Backtrace Under Mac OS X]]<br />
* [[Customization For MacOS X]]<br />
* [[Compiling Under Cygwin]]<br />
<br />
=== Old stuff, mostly outdated ===<br />
* [[Syntax Highlighting Colours]] - default colors for all languages<br />
* [[Scanner]] - Bluefish text widget with scanning features<br />
* [[Manual]] -- Just so people can work out whos doing what (Now being Maintained by Scott White)<br />
* [[Function Reference 2]] - new function reference for Bluefish (or should we call it Information Center ?)<br />
* Search and Replace dialog<br />
* [[Reproducable Bugs]]<br />
* [[Preferences Refactor]] - Changes and removals on the Prefs Dialog<br />
* [[Feature Requests]]<br />
* [[ToDo List]]<br />
* [[Plugins]]<br />
* [[Current Plans]] from all developers<br />
* [[Gnome HIG]] compliance<br />
* [[Cvs Activity]]<br />
* [[Project Management]] - Olivier<br />
* [[Function Reference]] - implemented already, but we need more references for python, perl etc.<br />
* [[Bookmarks]]<br />
* [[Downloading From CVS]]<br />
* [[Compiling Manual]]<br />
This Wiki is maintained by the Bluefish community. If you want to help to contribute in any way, please contact us on the [[Mailinglists|bluefish mailinglist]]. If you want to help translate Bluefish, have a look at [[Translations]].</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Debugging_Bluefish&diff=601Debugging Bluefish2009-10-10T12:54:44Z<p>Daniel Leidert: Typo</p>
<hr />
<div>__TOC__<br />
<br />
<br />
In general: It is always a good idea to tell us your version of '''GTK/Glib installed''' on your system.<br />
<br />
== Debugging symbols ==<br />
<br />
To create a meaningful backtrace you'll need a binary with the debugging symbols attached. Otherwise your backtrace will contain a lot of question marks and won't be useful.<br />
<br />
=== Compile with debugging symbols from source ===<br />
<br />
[http://bfwiki.tellefsen.net/index.php/Getting_Bluefish#Downloading_the_source Get the source]. To compile it with debugging symbols, CFLAGS must contain '''-g'''. You should also use the '''-O0''' optimization flag there.<br />
<br />
The stable version of bluefish, namely 1.0.X at the time of writing, currently strips the debugging symbols during the installation step ('''make install'''). In this case only re-compile the sources and run the resulting binary '''src/bluefish''' in the GNU Debugger.<br />
<br />
=== Install debugging symbols on Debian/Ubuntu systems ===<br />
<br />
To receive debugging symbols for the 1.0 stable series of bluefish in [http://packages.debian.org/bluefish Debian]/[http://packages.ubuntu.com/bluefish Ubuntu] the sources must be recompiled without stripping the resulting binary. This is done by following these steps <ref>More to find in the [http://wiki.debian.org/HowToGetABacktrace Debian Wiki]</ref>:<br />
<br />
DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source bluefish<br />
<br />
For the current development series 1.3 the [http://debian.wgdd.de/debian/ Debian] and [http://debian.wgdd.de/debian/#ubuntu Ubuntu] packages come with a package shipping the debugging symbols: '''bluefish-unstable-dbg'''. Just install it the usual way. You might need some more packages of this type: '''libc6-dbg''', '''libglib2.0-0-dbg''', '''libgtk2.0-0-dbg''', '''libpcre3-dbg''', '''libxml2-dbg'''. This requires some space on your harddrive, but will help us to track down your problem and help '''you'''.<br />
<br />
== Run Bluefish in the debugger ==<br />
<br />
=== Create a meaningful backtrace ===<br />
<br />
To run Bluefish in the GNU Debugger, use:<br />
<br />
gdb bluefish<br />
<br />
or for the '''1.0 series''' (see above):<br />
<br />
gdb src/bluefish<br />
<br />
Then ('''(gdb)''' represents the gdb shell prompt!):<br />
<br />
(gdb) set logging on<br />
Copying output to gdb.txt.<br />
(gdb) r<br />
<br />
This will start bluefish. Now reproduce the crash and then create the backtrace:<br />
<br />
Program received signal SIGSEGV, Segmentation fault.<br />
...<br />
(gdb) bt full<br />
...<br />
(gdb) quit<br />
<br />
Now you'll find a file '''gdb.txt''' in the directory. [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish Open a report in our BTS] and attach this file to the report. This is what a [[Backtrace Should Look Like]].<br />
<br />
=== What other information you should provide to the developers ===<br />
<br />
* the platform you are using<br />
* the gtk version you are using<br />
* the compiler version you are using<br />
* any non-default ./configure options<br />
* the pcre version you are using if you think that is related<br />
* the libaspell version you are using if you think that is related<br />
* the gnome-vfs version you are using if you think that is related (only 1.0 series)<br />
<br />
=== Debugging a Gtk-Critical error ===<br />
<br />
If you set the environment variable '''G_DEBUG''' to ''fatal_warnings'', e.g.<br />
<br />
export G_DEBUG=fatal_warnings<br />
<br />
with bash, it should assert when there is an error. Then launch bluefish with gdb as told you above and you can get a backtrace.<br />
<br />
== Notes and references ==<br />
<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=600Setting up a Windows Build Environment2009-10-10T12:54:26Z<p>Daniel Leidert: Typo.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
=== Current Known Issues ===<br />
<br />
* Socket code doesn't work so files can't be opened externally in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.4/MinGW-5.1.4.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Recent Build Environment Changes ===<br />
<br />
If you are maintaining a build environment for Bluefish please check this subsection occasionally for important changes!<br />
<br />
;2009-09-23:<br />
:The GNOME packages have been updated to reflect those versions which are included with Pidgin's GTK+ installer. This is currently being used as our target runtime environment for the Installer version of Bluefish. If you're first setting up your build environment you can skip this section as the information provided below is always up to date. If you already have a build environment setup you will need to update a few packages to the versions provided below. These include atk (1.26.0->1.24.0), glib (2.20.4->2.18.4), gtk+ (2.16.5->2.14.7), and pango (1.24.5->1.22.4).<br />
<br />
:If you don't intend to run your builds of Bluefish outside of your MSYS environment this change is not required. However if you do wish to do so and wish to remain with GTK+ 2.16 you can use the [http://gtk-win.sourceforge.net/ GTK-Win] installer. This version is not officially supported by the windows development team as of yet because while it's fine for Bluefish it does break some features in Pidgin so keep this in mind if you use both programs.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk_1.24.0-1_win32.zip atk_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.24/atk-dev_1.24.0-1_win32.zip atk-dev_1.24.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib_2.18.4-1_win32.zip glib_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.18/glib-dev_2.18.4-1_win32.zip glib-dev_2.18.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+_2.14.7-1_win32.zip gtk+_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.14/gtk+-dev_2.14.7-1_win32.zip gtk+-dev_2.14.7-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango_1.22.4-1_win32.zip pango_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.22/pango-dev_1.22.4-1_win32.zip pango-dev_1.22.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-2.zip pkg-config-0.23-2.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://www.muleslow.net/files/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[http://www.muleslow.net/files/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[http://www.muleslow.net/files/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [http://www.muleslow.net/files/aspell/lang/ http://www.muleslow.net/files/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...''configure options see above''...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
<pre>./configure --prefix=/local --disable-rpath --enable-win32-relocatable</pre><br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
<pre>./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell</pre><br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
<pre>./configure --prefix=/local --enable-utf8 --enable-unicode-properties</pre><br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [http://www.muleslow.net/files/mingw/patches/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
<pre><br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper</pre><br />
<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
To compile the Installer you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ] plugin installed. You should also have makensis.exe in your path (such as in /opt/nsis).<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<br />
<pre><br />
./configure CONFIG_SITE=win32/config.nsis<br />
cd win32<br />
make -f Makefile.mingw installer<br />
</pre><br />
<br />
<br />
==Notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Debugging_Bluefish&diff=599Debugging Bluefish2009-10-10T12:49:52Z<p>Daniel Leidert: Updated and adjusted.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
In general: It is always a good idea to tell us your version of '''GTK/Glib installed''' on your system.<br />
<br />
== Debugging symbols ==<br />
<br />
To create a meaningful backtrace you'll need a binary with the debugging symbols attached. Otherwise your backtrace will contain a lot of question marks and won't be useful.<br />
<br />
=== Compile with debugging symbols from source ===<br />
<br />
[http://bfwiki.tellefsen.net/index.php/Getting_Bluefish#Downloading_the_source Get the source]. To compile it with debugging symbols, CFLAGS must contain '''-g'''. You should also use the '''-O0''' optimization flag there.<br />
<br />
The stable version of bluefish, namely 1.0.X at the time of writing, currently strips the debugging symbols during the installation step ('''make install'''). In this case only re-compile the sources and run the resulting binary '''src/bluefish''' in the GNU Debugger.<br />
<br />
=== Install debugging symbols on Debian/Ubuntu systems ===<br />
<br />
To receive debugging symbols for the 1.0 stable series of bluefish in [http://packages.debian.org/bluefish Debian]/[http://packages.ubuntu.com/bluefish Ubuntu] the sources must be recompiled without stripping the resulting binary. This is done by following these steps <ref>More to find in the [http://wiki.debian.org/HowToGetABacktrace Debian Wiki]</ref>:<br />
<br />
DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source bluefish<br />
<br />
For the current development series 1.3 the [http://debian.wgdd.de/debian/ Debian] and [http://debian.wgdd.de/debian/#ubuntu Ubuntu] packages come with a package shipping the debugging symbols: '''bluefish-unstable-dbg'''. Just install it the usual way. You might need some more packages of this type: '''libc6-dbg''', '''libglib2.0-0-dbg''', '''libgtk2.0-0-dbg''', '''libpcre3-dbg''', '''libxml2-dbg'''. This requires some space on your harddrive, but will help us to track down your problem and help '''you'''.<br />
<br />
== Run Bluefish in the debugger ==<br />
<br />
=== Create a meaningful backtrace ===<br />
<br />
To run Bluefish in the GNU Debugger, use:<br />
<br />
gdb bluefish<br />
<br />
or for the '''1.0 series''' (see above):<br />
<br />
gdb src/bluefish<br />
<br />
Then ('''(gdb)''' represents the gdb shell prompt!):<br />
<br />
(gdb) set logging on<br />
Copying output to gdb.txt.<br />
(gdb) r<br />
<br />
This will start bluefish. Now reproduce the crash and then create the backtrace:<br />
<br />
Program received signal SIGSEGV, Segmentation fault.<br />
...<br />
(gdb) bt full<br />
...<br />
(gdb) quit<br />
<br />
Now you'll find a file '''gdb.txt''' in the directory. [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish Open a report in our BTS] and attach this file to the report. This is what a [[Backtrace Should Look Like]].<br />
<br />
=== What other information you should provide to the developers ===<br />
<br />
* the platform you are using<br />
* the gtk version you are using<br />
* the compiler version you are using<br />
* any non-default ./configure options<br />
* the pcre version you are using if you think that is related<br />
* the libaspell version you are using if you think that is related<br />
* the gnome-vfs version you are using if you think that is related (only 1.0 series)<br />
<br />
=== Debugging a Gtk-Critical error ===<br />
<br />
If you set the environment variable '''G_DEBUG''' to ''fatal_warnings'', e.g.<br />
<br />
export G_DEBUG=fatal_warnings<br />
<br />
with bash, it should assert when there is an error. Then launch bluefish with gdb as told you above and you can get a backtrace.<br />
<br />
== Notes and References ==<br />
<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Debugging_Bluefish&diff=598Debugging Bluefish2009-10-10T12:30:41Z<p>Daniel Leidert: Update. Added special information for Debian.</p>
<hr />
<div>==== Howto provide Bluefish debugging information====<br />
<br />
=== For a specific release===<br />
<br />
* get the source of this release<br />
<br />
=== For the latest development release===<br />
<br />
* get the latest SVN release (info in [[Getting_Bluefish#Downloading_the_source_via_Subversion|Getting Bluefish]])<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
=== Debugging symbols===<br />
<br />
To create a meaningful backtrace you'll need a binary with the debugging symbols attached. Otherwise your backtrace will contain a lot of question marks and won't be useful.<br />
<br />
==== Compile with debugging symbols from source ====<br />
<br />
To compile the bluefish source with debugging symbols, CFLAGS must contain '''-g'''.<br />
<br />
The stable version of bluefish, namely 1.0.X at the time of writing, currently strips the debugging symbols during the installation step ('''make install'''). In this case only re-compile the sources and run the resulting binary '''src/bluefish''' in the GNU Debugger.<br />
<br />
==== Install debugging symbols on Debian/Ubuntu systems ====<br />
<br />
To receive debugging symbols for the 1.0 stable series of bluefish in [http://packages.debian.org/bluefish Debian]/[http://packages.ubuntu.com/bluefish Ubuntu] the sources must be recompiled without stripping the resulting binary. This is done by following these steps <ref>More to find in the [http://wiki.debian.org/HowToGetABacktrace Debian Wiki]</ref>:<br />
<br />
DEB_BUILD_OPTIONS="nostrip noopt" fakeroot apt-get -b source bluefish<br />
<br />
For the current development series 1.3 the [http://debian.wgdd.de/debian/ Debian] and [http://debian.wgdd.de/debian/#ubuntu Ubuntu] packages come with a package shipping the debugging symbols: '''bluefish-unstable-dbg'''. Just install it the usual way. You might need some more packages of this type: '''libc6-dbg''', '''libglib2.0-0-dbg''', '''libgtk2.0-0-dbg''', '''libpcre3-dbg''', '''libxml2-dbg'''. This requires some space on your harddrive, but will help us to track down your problem and help '''you'''.<br />
<br />
References: <references/><br />
<br />
=== Run Bluefish in the debugger===<br />
<br />
''' use 'gdb src/bluefish' to run bluefish in the debugger, ''' ('gdb src/bluefish-unstable'for development tree) do not* run gdb bluefish or gdb /usr/local/bin/bluefish since these binaries do not have any debugging symbols anymore<br />
* type 'r' to start<br />
* reproduce the crash<br />
* copy & paste the last 50 lines of debugging output to an email<br />
* type 'bt' to get the backstrace info, and copy it also to the mail (if it is over 50 lines, the first lines of the backtrace info are the most interesting)<br />
* send the mail to the general address, the mailinglist or a specific developer<br />
<br />
This is what a [[Backtrace Should Look Like]].<br />
<br />
==== What other information you should provide to the developers====<br />
<br />
* the platform you are using<br />
* the gtk version you are using<br />
* the compiler version you are using<br />
* any non-default ./configure options<br />
* the pcre version you are using if you think that is related<br />
* the gnome-vfs version you are using if you think that is related<br />
* the libaspell version you are using if you think that is related<br />
<br />
=== debugging a Gtk-Critical error===<br />
<br />
If you set the environment var G''DEBUG to fatal''warnings (export G''DEBUG=fatal''warnings with bash), it should assert when there is an error. If you then launch your program with gdb, you can get a backtrace.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=571Getting Bluefish2009-09-29T20:11:26Z<p>Daniel Leidert: Space fixes.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading binaries ==<br />
<br />
We provide pre-compiled binaries for several operating systems. In alphabetical order:<br />
<br />
=== [http://www.debian.org Debian] and [http://www.ubuntu.com Ubuntu] ===<br />
<br />
Packages for the stable tree can usually be installed from the [http://packages.debian.org/bluefish Debian] or [http://packages.ubuntu.com/bluefish Ubuntu] package pool via apt-get, aptitude, synaptic, ...<br />
<br />
apt-get install bluefish<br />
<br />
Packages of the development tree are provided for Debian Lenny & Sid and Ubuntu Jaunty at [http://debian.wgdd.de/debian/]. Please follow the instructions at [http://debian.wgdd.de/debian/#apt-get] to add this repository and its archive key to your system. Then install the packages using<br />
<br />
apt-get install bluefish-unstable<br />
<br />
=== [http://www.gentoo.org Gentoo] ===<br />
<br />
Gentoo users run<br />
<br />
emerge bluefish<br />
<br />
to install the stable version of Bluefish.<br />
<br />
=== [http://www.apple.com/macosx/ MacOSX] and [http://www.opensource.apple.com/ Darwin] ===<br />
<br />
Fink users might install the [http://pdb.finkproject.org/pdb/package.php/bluefish stable version] via<br />
<br />
fink install bluefish<br />
<br />
and the [http://pdb.finkproject.org/pdb/package.php/bluefish-unstable development version] via<br />
<br />
fink install bluefish-unstable<br />
<br />
=== Windows ===<br />
<br />
For Windows an installer is available. Check out the projects [https://sourceforge.net/projects/bluefish/files/ sourceforge.net download page].<br />
<br />
<br />
== Downloading the source ==<br />
<br />
There are several ways to retreive the source of Bluefish.<br />
<br />
=== Downloading a source tarball ===<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
After downloading compare the SHA hashsum of the tarball with the values provided at our [http://bluefish.openoffice.nl homepage].<br />
<br />
=== Downloading the source via Subversion ===<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above. For the current stable tree (1.0) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
For the current development tree (1.3) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z<br />
<br />
=== Downloading the latest source snapshot ===<br />
<br />
The latest snapshot (for the stable or the development tree) can be retreived via subversion as shown above. You can also download the source snapshot as tarball for the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0.tar.gz?view=tar stable] or [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar development] tree.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=570Getting Bluefish2009-09-29T19:52:02Z<p>Daniel Leidert: Alphabetic order.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading binaries ==<br />
<br />
We provide pre-compiled binaries for several operating systems. In alphabetical order:<br />
<br />
=== [http://www.debian.org Debian] and [http://www.ubuntu.com Ubuntu] ===<br />
<br />
Packages for the stable tree can usually be installed from the [http://packages.debian.org/bluefish Debian] or [http://packages.ubuntu.com/bluefish Ubuntu] package pool via apt-get, aptitude, synaptic, ...<br />
<br />
apt-get install bluefish<br />
<br />
Packages of the development tree are provided for Debian Lenny & Sid and Ubuntu Jaunty at [http://debian.wgdd.de/debian/]. Please follow the instructions at [http://debian.wgdd.de/debian/#apt-get] to add this repository and its archive key to your system. Then install the packages using<br />
<br />
apt-get install bluefish-unstable<br />
<br />
=== [http://www.gentoo.org Gentoo] ===<br />
<br />
Gentoo users run<br />
<br />
emerge bluefish<br />
<br />
to install the stable version of Bluefish.<br />
<br />
=== [http://www.apple.com/macosx/ MacOSX] and [http://www.opensource.apple.com/ Darwin] ===<br />
<br />
Fink users might install the [http://pdb.finkproject.org/pdb/package.php/bluefish stable version] via<br />
<br />
fink install bluefish<br />
<br />
and the [http://pdb.finkproject.org/pdb/package.php/bluefish-unstable development version] via<br />
<br />
fink install bluefish-unstable<br />
<br />
=== Windows ===<br />
<br />
For Windows an installer is available. Check out the projects [https://sourceforge.net/projects/bluefish/files/ sourceforge.net download page].<br />
<br />
== Downloading the source ==<br />
<br />
There are several ways to retreive the source of Bluefish.<br />
<br />
=== Downloading a source tarball ===<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
After downloading compare the SHA hashsum of the tarball with the values provided at our [http://bluefish.openoffice.nl homepage].<br />
<br />
<br />
=== Downloading the source via Subversion ===<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above. For the current stable tree (1.0) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
For the current development tree (1.3) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z<br />
<br />
<br />
=== Downloading the latest source snapshot ===<br />
<br />
The latest snapshot (for the stable or the development tree) can be retreived via subversion as shown above. You can also download the source snapshot as tarball for the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0.tar.gz?view=tar stable] or [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar development] tree.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=569Getting Bluefish2009-09-29T19:51:36Z<p>Daniel Leidert: Added OSX/Fink.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading binaries ==<br />
<br />
We provide pre-compiled binaries for several operating systems. In alphabetical order:<br />
<br />
=== [http://www.debian.org Debian] and [http://www.ubuntu.com Ubuntu] ===<br />
<br />
Packages for the stable tree can usually be installed from the [http://packages.debian.org/bluefish Debian] or [http://packages.ubuntu.com/bluefish Ubuntu] package pool via apt-get, aptitude, synaptic, ...<br />
<br />
apt-get install bluefish<br />
<br />
Packages of the development tree are provided for Debian Lenny & Sid and Ubuntu Jaunty at [http://debian.wgdd.de/debian/]. Please follow the instructions at [http://debian.wgdd.de/debian/#apt-get] to add this repository and its archive key to your system. Then install the packages using<br />
<br />
apt-get install bluefish-unstable<br />
<br />
=== [http://www.apple.com/macosx/ MacOSX] and [http://www.opensource.apple.com/ Darwin] ===<br />
<br />
Fink users might install the [http://pdb.finkproject.org/pdb/package.php/bluefish stable version] via<br />
<br />
fink install bluefish<br />
<br />
and the [http://pdb.finkproject.org/pdb/package.php/bluefish-unstable development version] via<br />
<br />
fink install bluefish-unstable<br />
<br />
=== [http://www.gentoo.org Gentoo] ===<br />
<br />
Gentoo users run<br />
<br />
emerge bluefish<br />
<br />
to install the stable version of Bluefish.<br />
<br />
=== Windows ===<br />
<br />
For Windows an installer is available. Check out the projects [https://sourceforge.net/projects/bluefish/files/ sourceforge.net download page].<br />
<br />
== Downloading the source ==<br />
<br />
There are several ways to retreive the source of Bluefish.<br />
<br />
=== Downloading a source tarball ===<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
After downloading compare the SHA hashsum of the tarball with the values provided at our [http://bluefish.openoffice.nl homepage].<br />
<br />
<br />
=== Downloading the source via Subversion ===<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above. For the current stable tree (1.0) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
For the current development tree (1.3) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z<br />
<br />
<br />
=== Downloading the latest source snapshot ===<br />
<br />
The latest snapshot (for the stable or the development tree) can be retreived via subversion as shown above. You can also download the source snapshot as tarball for the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0.tar.gz?view=tar stable] or [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar development] tree.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=568Getting Bluefish2009-09-29T19:39:28Z<p>Daniel Leidert: Remove link.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading binaries ==<br />
<br />
We provide pre-compiled binaries for several operating systems. In alphabetical order:<br />
<br />
=== [http://www.debian.org Debian] and [http://www.ubuntu.com Ubuntu] ===<br />
<br />
Packages for the stable tree can usually be installed from the [http://packages.debian.org/bluefish Debian] or [http://packages.ubuntu.com/bluefish Ubuntu] package pool via apt-get, aptitude, synaptic, ...<br />
<br />
apt-get install bluefish<br />
<br />
Packages of the development tree are provided for Debian Lenny & Sid and Ubuntu Jaunty at [http://debian.wgdd.de/debian/]. Please follow the instructions at [http://debian.wgdd.de/debian/#apt-get] to add this repository and its archive key to your system. Then install the packages using<br />
<br />
apt-get install bluefish-unstable<br />
<br />
=== [http://www.gentoo.org Gentoo] ===<br />
<br />
Gentoo users run<br />
<br />
emerge bluefish<br />
<br />
to install the stable version of Bluefish.<br />
<br />
=== Windows ===<br />
<br />
For Windows an installer is available. Check out the projects [https://sourceforge.net/projects/bluefish/files/ sourceforge.net download page].<br />
<br />
== Downloading the source ==<br />
<br />
There are several ways to retreive the source of Bluefish.<br />
<br />
=== Downloading a source tarball ===<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
After downloading compare the SHA hashsum of the tarball with the values provided at our [http://bluefish.openoffice.nl homepage].<br />
<br />
<br />
=== Downloading the source via Subversion ===<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above. For the current stable tree (1.0) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
For the current development tree (1.3) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z<br />
<br />
<br />
=== Downloading the latest source snapshot ===<br />
<br />
The latest snapshot (for the stable or the development tree) can be retreived via subversion as shown above. You can also download the source snapshot as tarball for the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0.tar.gz?view=tar stable] or [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar development] tree.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=567Getting Bluefish2009-09-29T19:39:04Z<p>Daniel Leidert: Add Windows information.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading binaries ==<br />
<br />
We provide pre-compiled binaries for several operating systems. In alphabetical order:<br />
<br />
=== [http://www.debian.org Debian] and [http://www.ubuntu.com Ubuntu] ===<br />
<br />
Packages for the stable tree can usually be installed from the [http://packages.debian.org/bluefish Debian] or [http://packages.ubuntu.com/bluefish Ubuntu] package pool via apt-get, aptitude, synaptic, ...<br />
<br />
apt-get install bluefish<br />
<br />
Packages of the development tree are provided for Debian Lenny & Sid and Ubuntu Jaunty at [http://debian.wgdd.de/debian/]. Please follow the instructions at [http://debian.wgdd.de/debian/#apt-get] to add this repository and its archive key to your system. Then install the packages using<br />
<br />
apt-get install bluefish-unstable<br />
<br />
=== [http://www.gentoo.org Gentoo] ===<br />
<br />
[http://www.gentoo.org Gentoo] users run<br />
<br />
emerge bluefish<br />
<br />
to install the stable version of Bluefish.<br />
<br />
=== Windows ===<br />
<br />
For Windows an installer is available. Check out the projects [https://sourceforge.net/projects/bluefish/files/ sourceforge.net download page].<br />
<br />
== Downloading the source ==<br />
<br />
There are several ways to retreive the source of Bluefish.<br />
<br />
=== Downloading a source tarball ===<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
After downloading compare the SHA hashsum of the tarball with the values provided at our [http://bluefish.openoffice.nl homepage].<br />
<br />
<br />
=== Downloading the source via Subversion ===<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above. For the current stable tree (1.0) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
For the current development tree (1.3) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z<br />
<br />
<br />
=== Downloading the latest source snapshot ===<br />
<br />
The latest snapshot (for the stable or the development tree) can be retreived via subversion as shown above. You can also download the source snapshot as tarball for the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0.tar.gz?view=tar stable] or [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar development] tree.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Sending_Patches&diff=566Sending Patches2009-09-29T19:36:38Z<p>Daniel Leidert: Refer to Getting Bluefish.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
This is a short document how you should send your patches.<br />
<br />
<br />
==Getting the code==<br />
<br />
To get the bluefish source see [[Getting Bluefish]]. If you have checked out the code, then please first update it to retrieve the latest revision:<br />
<br />
svn update<br />
<br />
<br />
==Notes for hackers==<br />
<br />
The following information is for people wanting to hack on Bluefishs source code.<br />
<br />
===While coding===<br />
<br />
* for indenting use tabs, not spaces<br />
* comment all public functions like it is done in <tt>bf_lib.c</tt> and <tt>gtk_easy.c</tt> (javadoc style, with some small differences)<br />
<!-- * declare all local functions as 'static' --><br />
* declare all non-local functions in the .h file<br />
* for gtk callback functions, use the name of the signal in the name, and append '''_lcb''' to the function name if it is local, or '''_cb''' for non-local callbacks<br />
* more to come...<br />
<br />
===Before creating the patch===<br />
<br />
* run ''make distclean && ./configure && make'' and test if it runs successfull<br />
* if you have the possibility do this even with gcc-2.95 and gcc-3 as compiler<br />
* more to come later...<br />
<br />
<br />
==Notes for translators==<br />
<br />
The following information is for people wanting to translate Bluefish into their language and update an existing language.<br />
<br />
===Before you start===<br />
<br />
Before you start contact our translation coordinator. To get a very last and complete template file run:<br />
<br />
LINGUAS="your_lang" make update-po<br />
<br />
After this step you can begin to work on these translations. For a list of all ''.po'' files for your language use '''find . -name your_lang.po'''. If there are no ''.po'' file for your language please contact our translaton coordinator. Files for a new translation can also be obtained with:<br />
<br />
find . -name "*.pot" -execdir msginit -l your_lang_code --no-translator ";"<br />
<br />
===Before creating the patch===<br />
<br />
The following step is not necessary but it will help you finding issues, which must be fixed, before your changes can be committed to the subversion tree. It requires an installation of the gettext tools.<br />
<br />
find . -name lang.po | xargs msgcat --use-first -o - | msgfmt -o /dev/null --statistics - <br />
<br />
This step should report missing or fuzzy translations and even errors in your .po file. It won't report wrong translations though.<br />
<br />
==Create the patch==<br />
<br />
===Create the patch against the Subversion tree===<br />
<br />
Before you create a patch in the subversion tree you should again update it to the latest SVN revision via <code>svn update</code> and resolve all occuring conflicts (if any). Then produce the patch by using the <code>svn diff</code> command as shown below:<br />
<br />
svn diff | bzip2 -9c &gt; your_patch.diff.bz2<br />
svn diff src/foo.c data/bflang/foo.bflang2 | bzip2 -9c &gt; your_patch.diff.bz2<br />
<br />
====Special notes for translators====<br />
<br />
In case you have updated all <tt>your_lang.po</tt> files in the subversion tree and you want to send us a patch, you can use:<br />
<br />
find . -name your_lang.po | xargs svn diff | bzip2 -9c &gt; your_lang.diff.bz2<br />
<br />
Alternatively you can send us the files too by adding them to a tarball:<br />
<br />
find . -name your_lang.po | xargs tar -cjf your_lang.tar.bz2<br />
<br />
===Create the patch against the tarball===<br />
<br />
Suppose you have two directories, the original tree (e.g. <tt>bluefish-unstable-1.3.6.orig</tt>) and your working tree (e.g. <tt>bluefish-unstable-1.3.6</tt>), then use the <tt>diff</tt> comand to produce a patch. Make sure you<br />
<br />
* run <code>make distclean</code> (or even <code>make maintainer-clean</code>) in both trees<br />
* <code>cd</code> to the parent dir of the two trees<br />
* run <code>diff -purN original-tree working-tree | bzip2 -9c &gt; patch.diff.bz2</code><br />
<br />
<br />
==Sending the patch==<br />
<br />
You can send patches to the [mailto:bluefish-dev@lists.ems.ru development mailinglist]<ref>You can subscribe to the developers' Bluefish mailing list by sending an email containing “subscribe bluefish-dev” to [mailto:bluefish-dev-request@lists.ems.ru bluefish-dev-request@lists.ems.ru].</ref> or attach them to a [http://bugzilla.gnome.org/buglist.cgi?product=bluefish bugzilla bugreport].<br />
<br />
simple isn't it?<br />
<br />
==notes and references==<br />
<references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=565Getting Bluefish2009-09-29T18:33:45Z<p>Daniel Leidert: Add command.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading binaries ==<br />
<br />
We provide pre-compiled binaries for several operating systems. In alphabetical order:<br />
<br />
=== [http://www.debian.org Debian] and [http://www.ubuntu.com Ubuntu] ===<br />
<br />
Packages for the stable tree can usually be installed from the [http://packages.debian.org/bluefish Debian] or [http://packages.ubuntu.com/bluefish Ubuntu] package pool via apt-get, aptitude, synaptic, ...<br />
<br />
apt-get install bluefish<br />
<br />
Packages of the development tree are provided for Debian Lenny & Sid and Ubuntu Jaunty at [http://debian.wgdd.de/debian/]. Please follow the instructions at [http://debian.wgdd.de/debian/#apt-get] to add this repository and its archive key to your system. Then install the packages using<br />
<br />
apt-get install bluefish-unstable<br />
<br />
=== [http://www.gentoo.org Gentoo] ===<br />
<br />
[http://www.gentoo.org Gentoo] users run<br />
<br />
emerge bluefish<br />
<br />
to install the stable version of Bluefish.<br />
<br />
<br />
== Downloading the source ==<br />
<br />
There are several ways to retreive the source of Bluefish.<br />
<br />
=== Downloading a source tarball ===<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
After downloading compare the SHA hashsum of the tarball with the values provided at our [http://bluefish.openoffice.nl homepage].<br />
<br />
<br />
=== Downloading the source via Subversion ===<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above. For the current stable tree (1.0) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
For the current development tree (1.3) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z<br />
<br />
<br />
=== Downloading the latest source snapshot ===<br />
<br />
The latest snapshot (for the stable or the development tree) can be retreived via subversion as shown above. You can also download the source snapshot as tarball for the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0.tar.gz?view=tar stable] or [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar development] tree.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=564Getting Bluefish2009-09-29T18:20:23Z<p>Daniel Leidert: More completion to this page.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading binaries ==<br />
<br />
We provide pre-compiled binaries for several operating systems. In alphabetical order:<br />
<br />
=== [http://www.debian.org Debian] and [http://www.ubuntu.com Ubuntu] ===<br />
<br />
Packages for the stable tree can usually be installed from the [http://packages.debian.org/bluefish Debian] or [http://packages.ubuntu.com/bluefish Ubuntu] package pool via apt-get, aptitude, synaptic, ...<br />
<br />
Packages of the development tree are provided for Debian Lenny & Sid and Ubuntu Jaunty at [http://debian.wgdd.de/debian/]. Please follow the instructions at [http://debian.wgdd.de/debian/#apt-get] to add this repository and its archive key to your system. Then install the packages using<br />
<br />
apt-get install bluefish-unstable<br />
<br />
<br />
=== [http://www.gentoo.org Gentoo] ===<br />
<br />
[http://www.gentoo.org Gentoo] users run<br />
<br />
emerge bluefish<br />
<br />
to install the stable version of Bluefish.<br />
<br />
<br />
== Downloading the source ==<br />
<br />
There are several ways to retreive the source of Bluefish.<br />
<br />
=== Downloading a source tarball ===<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
After downloading compare the SHA hashsum of the tarball with the values provided at our [http://bluefish.openoffice.nl homepage].<br />
<br />
<br />
=== Downloading the source via Subversion ===<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above. For the current stable tree (1.0) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
For the current development tree (1.3) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z<br />
<br />
<br />
=== Downloading the latest source snapshot ===<br />
<br />
The latest snapshot (for the stable or the development tree) can be retreived via subversion as shown above. You can also download the source snapshot as tarball for the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0.tar.gz?view=tar stable] or [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar development] tree.</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=563Getting Bluefish2009-09-29T18:03:33Z<p>Daniel Leidert: Complete subversion info.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading a source tarball ==<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
<br />
== Downloading the source via Subversion ==<br />
<br />
The source code is also via subversion. For the current stable tree (1.0) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
<br />
For the current development tree (1.3) use:<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you need a special release, it can be retreived via (replace ''X'',''Y'',''Z'' with the version numbers, e.g. ''1'', ''3'' and ''7''):<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/tags/bluefish_X_Y_Z</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=562Getting Bluefish2009-09-29T17:59:49Z<p>Daniel Leidert: New point: SVN.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading a source tarball ==<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] (or one of its [http://bluefish.openoffice.nl/download.html mirrors]) or [https://sourceforge.net/projects/bluefish/files sourceforge.net].<br />
<br />
For the stable tree, check out [http://www.bennewitz.com/bluefish/stable/source/] on the master server. For the development version use [http://www.bennewitz.com/bluefish/devel/source/]. The [https://sourceforge.net/projects/bluefish/files sourceforge.net] server has both versions on the same site.<br />
<br />
<br />
== Downloading the source via Subversion ==<br />
<br />
The source code is also via subversion. For the current stable tree (1.0) use:<br />
<br />
<pre>svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/</pre><br />
<br />
For the current development tree (1.3) use:<br />
<br />
<pre>svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/</pre></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Getting_Bluefish&diff=561Getting Bluefish2009-09-29T17:54:09Z<p>Daniel Leidert: First content.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
== Downloading a source tarball ==<br />
<br />
The source tarballs for Bluefish can be downloaded from the [http://www.bennewitz.com/bluefish/ project master server] or [https://sourceforge.net/projects/bluefish/files].</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Main_Page&diff=560Main Page2009-09-29T17:50:03Z<p>Daniel Leidert: Add new point: Getting Bluefish.</p>
<hr />
<div>==Welcome to the Bluefish Wiki!==<br />
<br />
The honorable project leader is Olivier Sessink (olivier (at) bluefish.openoffice.nl).<br />
<br />
See our [[Mailinglists]] to get in touch with the Bluefish community and developers.<br />
<br />
<br />
===The new Bluefish Wiki is here===<br />
<br />
After a bit of downtime, the Wiki has finally returned, and has been migrated to new software.<br />
If there are any glitches, please email Christian (chris --a--tellefsen.net).<br />
<br />
If you find typos, broken links, or simply want to contribute, feel free to register.<br />
<br />
=== Wiki Navigation ===<br />
<br />
* [[Project Roadmap]]<br />
* [[ToDo List]]<br />
* [[Feature Requests]]<br />
* [[Man 1 ch01s04|Downloading From SVN]]<br />
* [[Enabling Aspell Under MacOSX]]<br />
* [[Man 1 index|Bluefish Manual]]<br />
<br />
=== Contributing ===<br />
<br />
* [[Getting Bluefish]]<br />
* [[Debugging Bluefish]]<br />
* [[Sending Patches]]<br />
* [[Reproducable Bugs]]<br />
* [[Compiling Under MacOS X]]<br />
* [[Backtrace Under Mac OS X]]<br />
* [[Customization For MacOS X]]<br />
* [[Typing Japanese under MacOS X]]<br />
* [[Compiling Under Cygwin]]<br />
* [[Setting up a Windows Build Environment]] [[Installation d'un environnement de compilation Windows|(français)]]<br />
* [[Using File Type Icons in Bluefish 1.3]]<br />
<br />
=== Running projects ===<br />
<br />
* Search and Replace dialog<br />
* a lot is going on at [[Translations]]<br />
* [[Manual]] -- Just so people can work out whos doing what (Now being Maintained by Scott White)<br />
* [[Function Reference 2]] - new function reference for Bluefish (or should we call it Information Center ?)<br />
* [[Syntax Highlighting Colours]] - default colors for all languages<br />
* [[Scanner]] - Bluefish text widget with scanning features<br />
<br />
=== Old stuff ===<br />
<br />
* [[Preferences Refactor]] - Changes and removals on the Prefs Dialog<br />
* [[Plugins]]<br />
* [[Current Plans]] from all developers<br />
* [[Gnome HIG]] compliance<br />
* [[Cvs Activity]]<br />
* [[Project Management]] - Olivier<br />
* [[Function Reference]] - implemented already, but we need more references for python, perl etc.<br />
* [[Bookmarks]]<br />
* [[Downloading From CVS]]<br />
* [[Compiling Manual]]<br />
This Wiki is maintained by the Bluefish community. If you want to help to contribute in any way, please contact us on the [[Mailinglists|bluefish mailinglist]]. If you want to help translate Bluefish, have a look at [[Translations]].</div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Sending_Patches&diff=556Sending Patches2009-09-25T12:13:53Z<p>Daniel Leidert: Change command how to create .po files for a new language.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
This is a short document how you should send your patches.<br />
<br />
<br />
==Before starting to code==<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above.<br />
<br />
==Getting the code==<br />
<br />
To checkout one of the branches<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
or<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you already have checked out the code, then please first update it to retrieve the latest revision:<br />
<br />
svn update<br />
<br />
Alternatively download the latest [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar snapshot].<br />
<br />
<br />
==Notes for hackers==<br />
<br />
The following information is for people wanting to hack on Bluefishs source code.<br />
<br />
===While coding===<br />
<br />
* for indenting use tabs, not spaces<br />
* comment all public functions like it is done in <tt>bf_lib.c</tt> and <tt>gtk_easy.c</tt> (javadoc style, with some small differences)<br />
<!-- * declare all local functions as 'static' --><br />
* declare all non-local functions in the .h file<br />
* for gtk callback functions, use the name of the signal in the name, and append '''_lcb''' to the function name if it is local, or '''_cb''' for non-local callbacks<br />
* more to come...<br />
<br />
===Before creating the patch===<br />
<br />
* run ''make distclean && ./configure && make'' and test if it runs successfull<br />
* if you have the possibility do this even with gcc-2.95 and gcc-3 as compiler<br />
* more to come later...<br />
<br />
<br />
==Notes for translators==<br />
<br />
The following information is for people wanting to translate Bluefish into their language and update an existing language.<br />
<br />
===Before you start===<br />
<br />
Before you start contact our translation coordinator. To get a very last and complete template file run:<br />
<br />
LINGUAS="your_lang" make update-po<br />
<br />
After this step you can begin to work on these translations. For a list of all ''.po'' files for your language use '''find . -name your_lang.po'''. If there are no ''.po'' file for your language please contact our translaton coordinator. Files for a new translation can also be obtained with:<br />
<br />
find . -name "*.pot" -execdir msginit -l your_lang_code --no-translator ";"<br />
<br />
===Before creating the patch===<br />
<br />
The following step is not necessary but it will help you finding issues, which must be fixed, before your changes can be committed to the subversion tree. It requires an installation of the gettext tools.<br />
<br />
find . -name lang.po | xargs msgcat --use-first -o - | msgfmt -o /dev/null --statistics - <br />
<br />
This step should report missing or fuzzy translations and even errors in your .po file. It won't report wrong translations though.<br />
<br />
==Create the patch==<br />
<br />
===Create the patch against the Subversion tree===<br />
<br />
Before you create a patch in the subversion tree you should again update it to the latest SVN revision via <code>svn update</code> and resolve all occuring conflicts (if any). Then produce the patch by using the <code>svn diff</code> command as shown below:<br />
<br />
svn diff | bzip2 -9c &gt; your_patch.diff.bz2<br />
svn diff src/foo.c data/bflang/foo.bflang2 | bzip2 -9c &gt; your_patch.diff.bz2<br />
<br />
====Special notes for translators====<br />
<br />
In case you have updated all <tt>your_lang.po</tt> files in the subversion tree and you want to send us a patch, you can use:<br />
<br />
find . -name your_lang.po | xargs svn diff | bzip2 -9c &gt; your_lang.diff.bz2<br />
<br />
Alternatively you can send us the files too by adding them to a tarball:<br />
<br />
find . -name your_lang.po | xargs tar -cjf your_lang.tar.bz2<br />
<br />
===Create the patch against the tarball===<br />
<br />
Suppose you have two directories, the original tree (e.g. <tt>bluefish-unstable-1.3.6.orig</tt>) and your working tree (e.g. <tt>bluefish-unstable-1.3.6</tt>), then use the <tt>diff</tt> comand to produce a patch. Make sure you<br />
<br />
* run <code>make distclean</code> (or even <code>make maintainer-clean</code>) in both trees<br />
* <code>cd</code> to the parent dir of the two trees<br />
* run <code>diff -purN original-tree working-tree | bzip2 -9c &gt; patch.diff.bz2</code><br />
<br />
<br />
==Sending the patch==<br />
<br />
You can send patches to the [mailto:bluefish-dev@lists.ems.ru development mailinglist]<ref>You can subscribe to the developers' Bluefish mailing list by sending an email containing “subscribe bluefish-dev” to [mailto:bluefish-dev-request@lists.ems.ru bluefish-dev-request@lists.ems.ru].</ref> or attach them to a [http://bugzilla.gnome.org/buglist.cgi?product=bluefish bugzilla bugreport].<br />
<br />
simple isn't it?<br />
<br />
==notes and references==<br />
<references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Sending_Patches&diff=544Sending Patches2009-09-21T17:34:14Z<p>Daniel Leidert: Typo fix.</p>
<hr />
<div>__TOC__<br />
<br />
<br />
This is a short document how you should send your patches.<br />
<br />
<br />
==Before starting to code==<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above.<br />
<br />
==Getting the code==<br />
<br />
To checkout one of the branches<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
or<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you already have checked out the code, then please first update it to retrieve the latest revision:<br />
<br />
svn update<br />
<br />
Alternatively download the latest [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar snapshot].<br />
<br />
<br />
==Notes for hackers==<br />
<br />
The following information is for people wanting to hack on Bluefishs source code.<br />
<br />
===While coding===<br />
<br />
* for indenting use tabs, not spaces<br />
* comment all public functions like it is done in <tt>bf_lib.c</tt> and <tt>gtk_easy.c</tt> (javadoc style, with some small differences)<br />
<!-- * declare all local functions as 'static' --><br />
* declare all non-local functions in the .h file<br />
* for gtk callback functions, use the name of the signal in the name, and append '''_lcb''' to the function name if it is local, or '''_cb''' for non-local callbacks<br />
* more to come...<br />
<br />
===Before creating the patch===<br />
<br />
* run ''make distclean && ./configure && make'' and test if it runs successfull<br />
* if you have the possibility do this even with gcc-2.95 and gcc-3 as compiler<br />
* more to come later...<br />
<br />
<br />
==Notes for translators==<br />
<br />
The following information is for people wanting to translate Bluefish into their language and update an existing language.<br />
<br />
===Before you start===<br />
<br />
Before you start contact our translation coordinator. To get a very last and complete template file run:<br />
<br />
LINGUAS="your_lang" make update-po<br />
<br />
After this step you can begin to work on these translations. For a list of all ''.po'' files for your language use '''find . -name your_lang.po'''. If there are no ''.po'' file for your language, please contact our translaton coordinator. Files for a new translation can also be obtained with:<br />
<br />
find . -name "*.pot" -execdir cp "{}" your_lang.po ";"<br />
<br />
===Before creating the patch===<br />
<br />
The following step is not necessary but it will help you finding issues, which must be fixed, before your changes can be committed to the subversion tree. It requires an installation of the gettext tools.<br />
<br />
find . -name lang.po | xargs msgcat --use-first -o - | msgfmt -o /dev/null --statistics - <br />
<br />
This step should report missing or fuzzy translations and even errors in your .po file. It won't report wrong translations though.<br />
<br />
==Create the patch==<br />
<br />
===Create the patch against the Subversion tree===<br />
<br />
Before you create a patch in the subversion tree you should again update it to the latest SVN revision via <code>svn update</code> and resolve all occuring conflicts (if any). Then produce the patch by using the <code>svn diff</code> command as shown below:<br />
<br />
svn diff | bzip2 -9c &gt; your_patch.diff.bz2<br />
svn diff src/foo.c data/bflang/foo.bflang2 | bzip2 -9c &gt; your_patch.diff.bz2<br />
<br />
====Special notes for translators====<br />
<br />
In case you have updated all <tt>your_lang.po</tt> files in the subversion tree and you want to send us a patch, you can use:<br />
<br />
find . -name your_lang.po | xargs svn diff | bzip2 -9c &gt; your_lang.diff.bz2<br />
<br />
Alternatively you can send us the files too by adding them to a tarball:<br />
<br />
find . -name your_lang.po | xargs tar -cjf your_lang.tar.bz2<br />
<br />
===Create the patch against the tarball===<br />
<br />
Suppose you have two directories, the original tree (e.g. <tt>bluefish-unstable-1.3.6.orig</tt>) and your working tree (e.g. <tt>bluefish-unstable-1.3.6</tt>), then use the <tt>diff</tt> comand to produce a patch. Make sure you<br />
<br />
* run <code>make distclean</code> (or even <code>make maintainer-clean</code>) in both trees<br />
* <code>cd</code> to the parent dir of the two trees<br />
* run <code>diff -purN original-tree working-tree | bzip2 -9c &gt; patch.diff.bz2</code><br />
<br />
<br />
==Sending the patch==<br />
<br />
You can send patches to the [mailto:bluefish-dev@lists.ems.ru development mailinglist]<ref>You can subscribe to the developers' Bluefish mailing list by sending an email containing “subscribe bluefish-dev” to [mailto:bluefish-dev-request@lists.ems.ru bluefish-dev-request@lists.ems.ru].</ref> or attach them to a [http://bugzilla.gnome.org/buglist.cgi?product=bluefish bugzilla bugreport].<br />
<br />
simple isn't it?<br />
<br />
==notes and references==<br />
<references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=543Setting up a Windows Build Environment2009-09-21T17:32:29Z<p>Daniel Leidert: Put references to the bottom.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
* Current Known issues:<br />
** Socket code doesn't work so files can't be opened in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.4/MinGW-5.1.4.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.26/atk_1.26.0-1_win32.zip atk_1.26.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.26/atk-dev_1.26.0-1_win32.zip atk-dev_1.26.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.20/glib_2.20.4-1_win32.zip glib_2.20.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.20/glib-dev_2.20.4-1_win32.zip glib-dev_2.20.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+_2.16.5-1_win32.zip gtk+_2.16.5-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-dev_2.16.5-1_win32.zip gtk+-dev_2.16.5-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.24/pango_1.24.5-1_win32.zip pango_1.24.5-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.24/pango-dev_1.24.5-1_win32.zip pango-dev_1.24.5-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-2.zip pkg-config-0.23-2.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[ftp://kernel86.muleslow.net/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[ftp://kernel86.muleslow.net/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[ftp://kernel86.muleslow.net/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [ftp://kernel86.muleslow.net/mingw/aspell/lang/ ftp://kernel86.muleslow.net/mingw/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...''configure options see above''...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
<pre>./configure --prefix=/local --disable-rpath --enable-win32-relocatable</pre><br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
<pre>./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell</pre><br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
<pre>./configure --prefix=/local --enable-utf8 --enable-unicode-properties</pre><br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [ftp://kernel86.muleslow.net/mingw/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
<pre><br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper</pre><br />
<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<pre><br />
./configure --prefix=/ CFLAGS="-mwindows -DNSIS"<br />
make pkgdatadir="./share/bluefish-unstable" localedir="./share/locale"<br />
make install DESTDIR=/path/to/working/bluefish/win32/build<br />
</pre><br />
<br />
Once built you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ plugin] installed to compile the installer. If you have makensis.exe in your path (such as in /opt/nsis) you can pass bluefish.nsi to it directly or you can run the GUI version MakeNSISW after running the installer_dep.sh script. Eventually the following steps will be combined to a single script.<br />
<br />
<pre><br />
cd win32<br />
./installer_dep.sh<br />
makensis bluefish.nsi<br />
</pre><br />
<br />
<br />
==notes and references==<br />
References: <references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Sending_Patches&diff=542Sending Patches2009-09-21T17:29:50Z<p>Daniel Leidert: Snapshot is available via sf.net (viewvc -> create Tarball).</p>
<hr />
<div>__TOC__<br />
<br />
<br />
This is a short document how you should send your patches.<br />
<br />
<br />
==Before starting to code==<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above.<br />
<br />
==Getting the code==<br />
<br />
To checkout one of the branches<br />
<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
or<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/<br />
<br />
If you already have checked out the code, then please first update it to retrieve the latest revision:<br />
<br />
svn update<br />
<br />
Alternatively download the latest [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish.tar.gz?view=tar snapshot].<br />
<br />
<br />
==Notes for hackers==<br />
<br />
The following information is for people wanting to hack on Bluefishs source code.<br />
<br />
===While coding===<br />
<br />
* for indenting use tabs, not spaces<br />
* comment all public functions like it is done in <tt>bf_lib.c</tt> and <tt>gtk_easy.c</tt> (javadoc style, with some small differences)<br />
<!-- * declare all local functions as 'static' --><br />
* declare all non-local functions in the .h file<br />
* for gtk callback functions, use the name of the signal in the name, and append '''_lcb''' to the function name if it is local, or '''_cb''' for non-local callbacks<br />
* more to come...<br />
<br />
===Before creating the patch===<br />
<br />
* run ''make distclean && ./configure && make'' and test if it runs successfull<br />
* if you have the possibility do this even with gcc-2.95 and gcc-3 as compiler<br />
* more to come later...<br />
<br />
<br />
==Notes for translators==<br />
<br />
The following information is for people wanting to translate Bluefish into their language and update an existing language.<br />
<br />
===Before you start===<br />
<br />
Before you start contact our translation coordinator. To get a very last and complete template file run:<br />
<br />
LINGUAS="your_lang" make update-po<br />
<br />
After this step you can begin to work on these translations. For a list of all ''.po'' files for your language use '''find . -name your_lang.po'''. If there are no ''.po'' file for your language, please contact our translaton coordinator. Files for a new translation can also be obtained with:<br />
<br />
find . -name "*.pot" -execdir cp "{}" your_lang.po ";"<br />
<br />
===Before creating the patch===<br />
<br />
The following step is not necessary but it will help you finding issues, which must be fixed, before your changes can be committed to the subversion tree. It requires an installation of the gettext tools.<br />
<br />
find . -name lang.po | xargs msgcat --use-first -o - | msgfmt -o /dev/null --statistics - <br />
<br />
This step should report missing or fuzzy translations and even errors in your .po file. It won't report wrong translations hough.<br />
<br />
<br />
==Create the patch==<br />
<br />
===Create the patch against the Subversion tree===<br />
<br />
Before you create a patch in the subversion tree you should again update it to the latest SVN revision via <code>svn update</code> and resolve all occuring conflicts (if any). Then produce the patch by using the <code>svn diff</code> command as shown below:<br />
<br />
svn diff | bzip2 -9c &gt; your_patch.diff.bz2<br />
svn diff src/foo.c data/bflang/foo.bflang2 | bzip2 -9c &gt; your_patch.diff.bz2<br />
<br />
====Special notes for translators====<br />
<br />
In case you have updated all <tt>your_lang.po</tt> files in the subversion tree and you want to send us a patch, you can use:<br />
<br />
find . -name your_lang.po | xargs svn diff | bzip2 -9c &gt; your_lang.diff.bz2<br />
<br />
Alternatively you can send us the files too by adding them to a tarball:<br />
<br />
find . -name your_lang.po | xargs tar -cjf your_lang.tar.bz2<br />
<br />
===Create the patch against the tarball===<br />
<br />
Suppose you have two directories, the original tree (e.g. <tt>bluefish-unstable-1.3.6.orig</tt>) and your working tree (e.g. <tt>bluefish-unstable-1.3.6</tt>), then use the <tt>diff</tt> comand to produce a patch. Make sure you<br />
<br />
* run <code>make distclean</code> (or even <code>make maintainer-clean</code>) in both trees<br />
* <code>cd</code> to the parent dir of the two trees<br />
* run <code>diff -purN original-tree working-tree | bzip2 -9c &gt; patch.diff.bz2</code><br />
<br />
<br />
==Sending the patch==<br />
<br />
You can send patches to the [mailto:bluefish-dev@lists.ems.ru development mailinglist]<ref>You can subscribe to the developers' Bluefish mailing list by sending an email containing “subscribe bluefish-dev” to [mailto:bluefish-dev-request@lists.ems.ru bluefish-dev-request@lists.ems.ru].</ref> or attach them to a [http://bugzilla.gnome.org/buglist.cgi?product=bluefish bugzilla bugreport].<br />
<br />
simple isn't it?<br />
<br />
==notes and references==<br />
<references/></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Setting_up_a_Windows_Build_Environment&diff=541Setting up a Windows Build Environment2009-09-21T17:27:49Z<p>Daniel Leidert: Remove reference to obsolete strip-prefix script.</p>
<hr />
<div>== Windows Build Status ==<br />
<br />
Binary and plugins are running and should be fully functional. If you encounter unexpected behaviour or bugs, please report your problem to [https://bugzilla.gnome.org/enter_bug.cgi?product=bluefish our BTS].<br />
<br />
* Current Known issues:<br />
** Socket code doesn't work so files can't be opened in a currently running copy of bluefish.<br />
<br />
<br />
== Setting up your Build Environment ==<br />
<br />
The first step is of course to install and setup the MingW and MSYS environments. Start with the [https://sourceforge.net/projects/mingw/files/Automated%20MinGW%20Installer/MinGW%205.1.4/MinGW-5.1.4.exe/download automated MinGW installer]. During installation choose the g++ compiler too ('''do not choose MingW make'''). The preferred location is <tt>C:\MinGW</tt>, but it's not necessary to choose this path. In a second step install the [https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/MSYS-1.0.11.exe/download MSYS base system]. It will ask you for the location of the MingW environment. If you e.g. installed it to <tt>P:\Programs\MinGW</tt>, then type<br />
<br />
<pre>p:/programs/mingw</pre><br />
<br />
when you are asked for the location (JFTR: this information will be put into <tt>/etc/fstab</tt> in the MSYS environment).<br />
<br />
If you know what you are doing, you might alternatively download and unpack (unzip/untar/...) the packages manually.<br />
<br />
<br />
=== Updating the Build Environment ===<br />
<br />
In a second step all necessary software needs to be updated and/or installed. You can download and extract them manually. Extract them to the location, where MSYS has been installed. This place is usually <tt>C:\Programs\msys\1.0\</tt> (or <tt>C:\MingGW\</tt>). Keep in mind, that this place is equal to the root directory <tt>/</tt> and to <tt>/usr/</tt> (as both are the same) in MSYS. JFTR: Also <tt>/local</tt> and <tt>/usr/local</tt> are equal too.<br />
<br />
;''MinGW Packages'' install into MingW root (<tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20API%20for%20MS-Windows/Current%20Release_%20w32api-3.13/w32api-3.13-mingw32-dev.tar.gz/download w32api-3.13-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Utilities/mingw-utils/release%200.3/mingw-utils-0.3.tar.gz/download mingw-utils-0.3.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dev.tar.gz/download mingwrt-3.16-mingw32-dev.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MinGW%20Runtime/mingwrt-3.16/mingwrt-3.16-mingw32-dll.tar.gz/download mingwrt-3.16-mingw32-dll.tar.gz]<br />
<!-- :[https://sourceforge.net/projects/mingw/files/GNU%20Binutils/Current%20Release_%20GNU%20binutils-2.19.1/binutils-2.19.1-mingw32-bin.tar.gz/download binutils-2.19.1-mingw32-bin.tar.gz] --><br />
<br />
;''MSYS Packages'' install into MSYS root directory "<tt>/</tt>" (<tt>C:\Programs\msys\1.0\</tt> or <tt>C:\MinGW\</tt>)<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20Base%20System/Current%20Release_%20MSYS-1.0.11/msysCORE-1.0.11-bin.tar.gz/download msysCORE-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20autoconf/autoconf-2.63-1/autoconf-2.63-1-msys-1.0.11-bin.tar.lzma/download autoconf-2.63-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20automake/automake-1.11-1/automake-1.11-1-msys-1.0.11-bin.tar.lzma/download automake-1.11-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bison/bison-2.4.1-1/bison-2.4.1-1-msys-1.0.11-bin.tar.lzma/download bison-2.4.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz/download bzip2-1.0.5-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma/download crypt-1.1_1-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20findutils/findutils-4.4.2-1/findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma/download findutils-4.4.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20flex/flex-2.5.35-1/flex-2.5.35-1-msys-1.0.11-bin.tar.lzma/download flex-2.5.35-1-msys-1.0.11-bin.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gawk/gawk-3.1.7-1/gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma/download gawk-3.1.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma/download gdbm-1.8.3-2-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gettext/gettext-0.17-1/gettext-0.17-1-msys-1.0.11-bin.tar.lzma/download gettext-0.17-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20grep/grep-2.5.4-1/grep-2.5.4-1-msys-1.0.11-bin.tar.lzma/download grep-2.5.4-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20groff/groff-1.20.1-1/groff-1.20.1-1-msys-1.0.11-bin.tar.lzma/download groff-1.20.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/guile-1.8.7-1-msys-1.0.11-bin.tar.lzma/download guile-1.8.7-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gzip/gzip-1.3.12-1/gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma/download gzip-1.3.12-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20bzip2/bzip2-1.0.5-1/libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz/download libbz2-1.0.5-1-msys-1.0.11-dll-1.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20crypt/crypt-1.1_1-2/libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma/download libcrypt-1.1_1-2-msys-1.0.11-dll-0.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20gdbm/gdbm-1.8.3-2/libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma/download libgdbm-1.8.3-2-msys-1.0.11-dll-3.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20guile/guile-1.8.7-1/libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma/download libguile-1.8.7-1-msys-1.0.11-dll-17.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libiconv/libiconv-1.13.1-1/libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma/download libiconv-1.13.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma/download libltdl-2.2.7a-1-msys-1.0.11-dll-7.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma/download libminires-1.02_1-1-msys-1.0.11-dll.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma/download libopenssl-0.9.8k-1-msys-1.0.11-dll-098.tar.lzma ]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20regex/regex-1.20090805-1/libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma/download libregex-1.20090805-1-msys-1.0.11-dll-1.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20libtool/libtool-2.2.7a-1/libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma/download libtool-2.2.7a-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20lndir/lndir-1.0.1-1/lndir-1.0.1-1-msys-1.0.11-bin.tar.gz/download lndir-1.0.1-1-msys-1.0.11-bin.tar.gz]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20m4/m4-1.4.13-1/m4-1.4.13-1-msys-1.0.11-bin.tar.lzma/download m4-1.4.13-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20man/man-1.6f-1/man-1.6f-1-msys-1.0.11-bin.tar.lzma/download man-1.6f-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20minires/minires-1.02_1-1/minires-1.02_1-1-msys-1.0.11-bin.tar.lzma/download minires-1.02_1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20openssl/openssl-0.9.8k-1/openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma/download openssl-0.9.8k-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20patch/patch-2.5.9-1/patch-2.5.9-1-msys-1.0.11-bin.tar.lzma/download patch-2.5.9-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20perl/perl-5.6.1_2-1/perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma/download perl-5.6.1_2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20sed/sed-4.2.1-1/sed-4.2.1-1-msys-1.0.11-bin.tar.lzma/download sed-4.2.1-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20tar/tar-1.22-1/tar-1.22-1-msys-1.0.11-bin.tar.lzma/download tar-1.22-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20vim/vim-7.2-1/vim-7.2-1-msys-1.0.11-bin.tar.lzma/download vim-7.2-1-msys-1.0.11-bin.tar.lzma]<br />
:[https://sourceforge.net/projects/mingw/files/MSYS%20zlib/zlib-1.2.3-1/zlib-1.2.3-1-msys-1.0.11-dll.tar.gz/download zlib-1.2.3-1-msys-1.0.11-dll.tar.gz]<br />
<br />
;''GNOME Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.26/atk_1.26.0-1_win32.zip atk_1.26.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/atk/1.26/atk-dev_1.26.0-1_win32.zip atk-dev_1.26.0-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo_1.8.8-1_win32.zip cairo_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/cairo-dev_1.8.8-1_win32.zip cairo-dev_1.8.8-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat_2.0.1-1_win32.zip expat_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/expat-dev_2.0.1-1_win32.zip expat-dev_2.0.1-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf_2.22.0-2_win32.zip GConf_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/GConf/2.22/GConf-dev_2.22.0-2_win32.zip GConf-dev_2.22.0-2_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-0.17.zip gettext-runtime-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-runtime-dev-0.17.zip gettext-runtime-dev-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/gettext-tools-0.17.zip gettext-tools-0.17.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.20/glib_2.20.4-1_win32.zip glib_2.20.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/glib/2.20/glib-dev_2.20.4-1_win32.zip glib-dev_2.20.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gnome-common/2.11/gnome-common-2.11.0.zip gnome-common-2.11.0.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+_2.16.5-1_win32.zip gtk+_2.16.5-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/gtk+/2.16/gtk+-dev_2.16.5-1_win32.zip gtk+-dev_2.16.5-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool_0.40.4-1_win32.zip intltool_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/intltool/0.40/intltool-dev_0.40.4-1_win32.zip intltool-dev_0.40.4-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-2.5.zip libgnurx-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libgnurx-dev-2.5.zip libgnurx-dev-2.5.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libiconv-1.9.1.bin.woe32.zip libiconv-1.9.1.bin.woe32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng_1.2.38-1_win32.zip libpng_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libpng-dev_1.2.38-1_win32.zip libpng-dev_1.2.38-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2_2.7.3-1_win32.zip libxml2_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/libxml2-dev_2.7.3-1_win32.zip libxml2-dev_2.7.3-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2-dev_2.14.16-1_win32.zip ORBit2-dev_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/ORBit2/2.14/ORBit2_2.14.16-1_win32.zip ORBit2_2.14.16-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.24/pango_1.24.5-1_win32.zip pango_1.24.5-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/pango/1.24/pango-dev_1.24.5-1_win32.zip pango-dev_1.24.5-1_win32.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/pkg-config-0.23-2.zip pkg-config-0.23-2.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-1.2.3.zip zlib-1.2.3.zip]<br />
:[http://ftp.gnome.org/pub/gnome/binaries/win32/dependencies/zlib-dev-1.2.3.zip zlib-dev-1.2.3.zip]<br />
<br />
;''External Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[http://subversion.tigris.org/files/documents/15/46518/svn-win32-1.6.5.zip svn-win32-1.6.5.zip]<br />
<br />
<br />
=== The Perl Issue ===<br />
<br />
The last thing you need is Perl. The MSYS version is 5.6.1 which is not new enough to pass the configure script for a lot of programs including Bluefish. I use the MSYS 5.6.1 version for autoconf/automake/autogen.sh and an external version such as [http://www.activestate.com/activeperl/ ActiveState's] for anything that needs a newer version. Install the ActivePerl Perl version. Then edit <tt>/etc/fstab</tt> in your MSYS enviroment (usually <tt></tt>) and add the following line:<br />
<br />
<pre>c:/programs/perl /opt/perl</pre><br />
<br />
so Perl is mounted to the MSYS environment.<br />
<br />
<br />
== Configuring your Build Environment == <br />
<br />
You might set a few environment variables as follows.<br />
<br />
<pre>PATH="/bin:/local/bin:/opt/perl/bin"<br />
C_INCLUDE_PATH="/include:/local/include"<br />
LIBRARY_PATH="/lib:/local/lib"</pre><br />
<br />
;Alternatively pass [http://bluefish.svn.sf.net/viewvc/bluefish/trunk/bluefish/config.site/config.msys our config.site script] for MSYS to configure to adjust PATH/CFLAGS/LDFLAGS easily.<br />
<br />
Further we need to adjust the macro search path for aclocal:<br />
<br />
<pre>echo /local/share/aclocal > /share/aclocal/dirlist</pre><br />
<br />
Because of a linker bug in the <tt>gconftool-2</tt> binary add this symbolic link:<br />
<br />
<pre>ln -s /local/bin/libxml2-2.dll /local/bin/libxml2.dll</pre><br />
<br />
<br />
== Building External Packages ==<br />
<br />
To build bluefish we need some libraries not available from the MinGW/MSYS project.<br />
<br />
=== Installing Pre-Compiled Packages ===<br />
<br />
Shawn Novak provides pre-compiled tarballs, which you just need to extract to <tt>/local</tt>:<br />
<br />
;''Custom Packages'' install into MSYS local directory "<tt>/local</tt>" (<tt>C:\Programs\msys\1.0\local\</tt> or <tt>C:\MinGW\local\</tt>)<br />
:[ftp://kernel86.muleslow.net/mingw/pcre-7.9-bin-MinGW-20090902.tbz2 pcre-7.9-bin-MinGW-20090902.tbz2]<br />
:[ftp://kernel86.muleslow.net/mingw/aspell-0.60.6-bin-MinGW-20090901.tbz2 aspell-0.60.6-bin-MinGW-20090901.tbz2]<br />
:[ftp://kernel86.muleslow.net/mingw/enchant-1.5.0-bin-MinGW-20090901.tbz2 enchant-1.5.0-bin-MinGW-20090901.tbz2]<br />
<br />
A full set of dictionaries for Aspell 0.60.6 can be found here: [ftp://kernel86.muleslow.net/mingw/aspell/lang/ ftp://kernel86.muleslow.net/mingw/aspell/lang/]<br />
<br />
=== Building and Installing from the Source ===<br />
<br />
If you wish to build your own version of these custom packages, these are the configure parameters used for the ones provided.<br />
<ref>Note by Daniel Leidert: I further pass a short <tt>msys.site</tt> script with the following content to <tt>configure</tt>:<br />
<br />
<pre>#!/bin/sh<br />
<br />
PATH="/opt/perl/bin:$PATH"<br />
prefix=/local<br />
exec_prefix='${prefix}'<br />
enable_shared=yes<br />
enable_static=no<br />
enable_maintainer_mode=yes<br />
LDFLAGS="-L/local/lib -L/lib"<br />
CFLAGS="-g -Wall -O2 -I/local/include -I/include -mwindows"<br />
CPPFLAGS="-g -Wall -O2 -I/local/include -I/include"</pre><br />
<br />
The configure script is then called as follows together with the switches as shown above:<br />
<br />
<pre>./configure CONFIG_SITE=msys.site ...''configure options see above''...</pre><br />
</ref><br />
<br />
;[ftp://ftp.gnu.org/gnu/aspell/aspell-0.60.6.tar.gz Aspell 0.60.6]<br />
<br />
<pre>./configure --prefix=/local --disable-rpath --enable-win32-relocatable</pre><br />
<br />
;[http://www.abisource.com/downloads/enchant/1.5.0/enchant-1.5.0.tar.gz Enchant 1.5.0]<br />
<br />
<pre>./configure --prefix=/local --enable-aspell --disable-ispell --disable-myspell</pre><br />
<br />
;[ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-7.9.tar.bz2 PCRE 7.9] (UTF-8 support is a '''must''')<br />
<br />
<pre>./configure --prefix=/local --enable-utf8 --enable-unicode-properties</pre><br />
<br />
;[http://ftp.gnome.org/pub/GNOME/sources/gucharmap/2.26/gucharmap-2.26.3.tar.bz2 gucharmap 2.26]<br />
<br />
Unfortunately gucharmap does not build out-of-the-box. The following instructions were taken from the [http://article.gmane.org/gmane.comp.web.bluefish.devel/2197 mailing list]. First apply the following patch by Daniel Leidert [ftp://kernel86.muleslow.net/mingw/gucharmap26.diff gucharmap26.diff] and then configure with the following commands.<br />
<br />
<pre><br />
patch -p0 <gucharmap26.diff<br />
intltoolize -f<br />
libtoolize -f<br />
aclocal -I m4/ --force<br />
autoheader -f<br />
automake -f<br />
autoconf -f<br />
./configure --disable-gconf --disable-schemas-install --disable-scrollkeeper</pre><br />
<br />
References: <references/><br />
<br />
<br />
== Building Bluefish ==<br />
<br />
Check out the latest windows branch:<br />
<br />
<pre>svn checkout https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish</pre><br />
<br />
Run <tt>autogen.sh</tt> (uses perl 5.6.1). Then run <tt>configure</tt> (make sure, Perl from <tt>/opt/perl/bin</tt> is used; e.g. adjust PATH) and make:<br />
<br />
<pre>./autogen.sh<br />
./configure CONFIG_SITE=config.site/config.msys<br />
make<br />
make install</pre><br />
<br />
<br />
== Debugging Bluefish ==<br />
<br />
For console debugging output, configure bluefish by passing '--enable-debugging-output' to <tt>./configure</tt>. Further CFLAGS should contain '-g' (default, also explicitely set by <tt>config.msys</tt>).<br />
<br />
For debugging crashes install the [https://sourceforge.net/projects/mingw/files/GNU%20Source-Level%20Debugger/Current%20Release_%20gdb-5.2.1/gdb-5.2.1-1.exe/download GNU Debugger (GDB)].<br />
<br />
<br />
== Create the Installer ==<br />
<br />
To build the installer configure and build Bluefish with the following commands.<br />
<pre><br />
./configure --prefix=/ CFLAGS="-mwindows -DNSIS"<br />
make pkgdatadir="./share/bluefish-unstable" localedir="./share/locale"<br />
make install DESTDIR=/path/to/working/bluefish/win32/build<br />
</pre><br />
<br />
Once built you'll need to have [http://nsis.sourceforge.net/Main_Page NSIS] with the [http://nsis.sourceforge.net/UnTGZ_plug-in UnTGZ plugin] installed to compile the installer. If you have makensis.exe in your path (such as in /opt/nsis) you can pass bluefish.nsi to it directly or you can run the GUI version MakeNSISW after running the installer_dep.sh script. Eventually the following steps will be combined to a single script.<br />
<br />
<pre><br />
cd win32<br />
./installer_dep.sh<br />
makensis bluefish.nsi<br />
</pre></div>Daniel Leiderthttps://bfwiki.tellefsen.net//index.php?title=Sending_Patches&diff=511Sending Patches2009-09-18T11:24:00Z<p>Daniel Leidert: space fixes</p>
<hr />
<div>__TOC__<br />
<br />
<br />
This is a short document how you should send your patches.<br />
<br />
<br />
==Before starting to code==<br />
<br />
We have two main branches in our [https://bluefish.svn.sourceforge.net Subversion] tree:<br />
<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/http://bluefish.svn.sourceforge.net/viewvc/bluefish/branches/bluefish_1_0/ stable 1.0 branch] (gets mainly bugfixes; no major rewrites)<br />
* the [http://bluefish.svn.sourceforge.net/viewvc/bluefish/trunk/bluefish/ development 1.3 branch] (major rewrites, new features).<br />
<br />
Make a checkout of the branch you want to work on. Sometimes we also have some branches, when we work on new major features or rewrites. But you usually want one of the above.<br />
<br />
<br />
==Getting the code==<br />
<br />
To checkout one of the branches<br />
<br />
<pre>svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/trunk/bluefish/<br />
svn co https://bluefish.svn.sourceforge.net/svnroot/bluefish/branches/bluefish_1_0/</pre><br />
<br />
If you already have checked out the code, then please first update it to retrieve the latest revision:<br />
<br />
<pre>svn update</pre><br />
<br />
Alternatively download the latest snapshot (see also [[Downloading from CVS]]). In this case make a copy of the<br />
<br />
<br />
==Notes for hackers==<br />
<br />
The following information is for people wanting to hack on Bluefishs source code.<br />
<br />
===While coding===<br />
<br />
* for indenting use tabs, not spaces<br />
* comment all public functions like it is done in <tt>bf_lib.c</tt> and <tt>gtk_easy.c</tt> (javadoc style, with some small differences)<br />
<!-- * declare all local functions as 'static' --><br />
* declare all non-local functions in the .h file<br />
* for gtk callback functions, use the name of the signal in the name, and append '''_lcb''' to the function name if it is local, or '''_cb''' for non-local callbacks<br />
* more to come...<br />
<br />
===Before creating the patch===<br />
<br />
* run ''make distclean && ./configure && make'' and test if it runs successfull<br />
* if you have the possibility do this even with gcc-2.95 and gcc-3 as compiler<br />
* more to come later...<br />
<br />
<br />
==Notes for translators==<br />
<br />
The following information is for people wanting to translate Bluefish into their language and update an existing language.<br />
<br />
===Before you start===<br />
<br />
Before you start contact our translation coordinator. To get a very last and complete template file run:<br />
<br />
<pre>LINGUAS="your_lang" make update-po</pre><br />
<br />
After this step you can begin to work on these translations. For a list of all <tt>.po</tt> files for your language use <code>find . -name your_lang.po</code>. If there are no <tt>.po</tt> file for your language, please contact our translaton coordinator. Files for a new translation can also be obtained with:<br />
<br />
<pre>find . -name "*.pot" -execdir cp "{}" your_lang.po ";"</pre><br />
<br />
===Before creating the patch===<br />
<br />
The following step is not necessary but it will help you finding issues, which must be fixed, before your changes can be committed to the subversion tree. It requires an installation of the gettext tools.<br />
<br />
<pre>find . -name lang.po | xargs msgcat --use-first -o - | msgfmt -o /dev/null --statistics -</pre><br />
<br />
This step should report missing or fuzzy translations and even errors in your .po file. It won't report wrong translations hough.<br />
<br />
<br />
==Create the patch==<br />
<br />
===Create the patch against the Subversion tree===<br />
<br />
Before you create a patch in the subversion tree you should again update it to the latest SVN revision via <code>svn update</code> and resolve all occuring conflicts (if any). Then produce the patch by using the <code>svn diff</code> command as shown below:<br />
<br />
<pre>svn diff | bzip2 -9c &gt; your_patch.diff.bz2<br />
svn diff src/foo.c data/bflang/foo.bflang2 | bzip2 -9c &gt; your_patch.diff.bz2</pre><br />
<br />
====Special notes for translators====<br />
<br />
In case you have updated all <tt>your_lang.po</tt> files in the subversion tree and you want to send us a patch, you can use:<br />
<br />
<pre>find . -name your_lang.po | xargs svn diff | bzip2 -9c &gt; your_lang.diff.bz2</pre><br />
<br />
Alternatively you can send us the files too by adding them to a tarball:<br />
<br />
<pre>find . -name your_lang.po | xargs tar -cjf your_lang.tar.bz2</pre><br />
<br />
===Create the patch against the tarball===<br />
<br />
Suppose you have two directories, the original tree (e.g. <tt>bluefish-unstable-1.3.6.orig</tt>) and your working tree (e.g. <tt>bluefish-unstable-1.3.6</tt>), then use the <tt>diff</tt> comand to produce a patch. Make sure you<br />
<br />
* run <code>make distclean</code> (or even <code>make maintainer-clean</code>) in both trees<br />
* <code>cd</code> to the parent dir of the two trees<br />
* run <code>diff -purN original-tree working-tree | bzip2 -9c &gt; patch.diff.bz2</code><br />
<br />
<br />
==Sending the patch==<br />
<br />
You can send patches to the development mailinglist or attach them to a bugzilla bugreport.<br />
<br />
simple isn't it?</div>Daniel Leidert