Page 1 of 2
bluefish 2.0 - how to install
Posted: 4. Mar 2010, 16:02
by nekron29
Hello all !
First, congrats on such a fine & light distro - just installed
Second - i need to have installed bluefish html editor. As you maybe know the 2.0 stable version is out and full of good things (
http://bluefish.openoffice.nl/download.html). Can you please tell me what is the best way to install it ? Which reposit to use or not , things like that...
Thanks a lot,
Razvan
Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 16:29
by damNageHack
Hi nekron29,
welcome to Salix
I would try to build it a package and maybe suggest it for repository. Please give me some time to let me do the job.

Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 16:30
by nekron29
damNageHack wrote:Hi nekron29,
welcome to Salix
I would try to build it a package and maybe suggest it for repository. Please give me some time to let me do the job.

thanks a lot

appreciate the effort
regards
Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 16:59
by thenktor
Would be nice if you could do it damnagehack

Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 18:06
by gapan
I'm not sure it's possible to run bluefish 2.0 in Slackware/Salix 13.0. It might need a newer gtk+2 than what's available. I don't really know, I'm just guessing though.
Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 19:08
by damNageHack
gapan wrote:I'm not sure it's possible to run bluefish 2.0 in Slackware/Salix 13.0. It might need a newer gtk+2 than what's available. I don't really know, I'm just guessing though.
http://bluefish.openoffice.nl/download.html wrote:The 2.0.0 release requires gtk 2.14 or newer, libpcre 3.0 or higher and optionally libenchant for spell checking and libgucharmap for the character map plugin. The old 1.0.7 release requires gtk version 2.0 or newer (gtk 2.4 or newer is recommended), libpcre and (optional) libaspell 0.50 or higher and (optional) gnome-vfs for remote files.
make works

Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 19:18
by gapan
Great

Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 19:49
by damNageHack
Here you go:
Code: Select all
#Packager: Raphael Groner <raphgro(at)web.de>
pkgname=bluefish
pkgver=2.0.0
pkgrel=1rg
arch=noarch # fails for binaries
source=http://www.bennewitz.com/$pkgname/stable/source/$pkgname-$pkgver.tar.bz2
sourcetemplate=http://people.salixos.org/damnagehack/$pkgname
docs=("readme" "install" "copying" "authors" "news" "todo")
url=http://bluefish.openoffice.nl/index.html
doinst() {
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi
if [ -x /usr/bin/update-mime-database ]; then
/usr/bin/update-mime-database usr/share/mime >/dev/null 2>&1
fi
if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
if [ -x /usr/bin/gtk-update-icon-cache ]; then
/usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
fi
fi
}
slackdesc=\
(
#|-----handy-ruler------------------------------------------------------|
"Bluefish (GTK-based HTML Editor)"
"Bluefish is a powerful editor for experienced web designers "
"and programmers. Bluefish supports many programming and markup "
"languages, but it focuses on editing dynamic and interactive "
"websites. See features for an extensive overview, take a look "
"at the screenshots, or download it right away. Bluefish is an "
"open source development project, released under the GPL licence."
""
"Homepage: http://bluefish.openoffice.nl/index.html"
)
build() {
cd $startdir/src/$pkgname-$pkgver
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--without-libgnomeui \
--disable-update-databases \
--build=$arch-slackware-linux
make -j || return 1
make install DESTDIR=$startdir/pkg
## get rid of this ugly install warning about /usr/share/doc
mkdir -p $startdir/pkg/usr/doc/$pkgname-$pkgver
mv $startdir/pkg/usr/share/doc/$pkgname/* \
$startdir/pkg/usr/doc/$pkgname-$pkgver
rm -r $startdir/pkg/usr/share/doc
## choose the right ChangeLog, slkbuild can not find it
install -D ChangeLog $startdir/pkg/usr/doc/$pkgname-$pkgver/ChangeLog
}
HOWTO:
- replace "noarch" with "i486" (Salix 32) or "x86_64" (Salix 64)
- run slkbuild in the folder where you placed the SLKBUILD file
Sorry, but I do not want to maintain this package cause I am no web developer and therefore do not need this application.
Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 20:23
by nekron29
@damNageHack - super
dumb question what should i do with the code ?
nekron
Re: bluefish 2.0 - how to install
Posted: 4. Mar 2010, 20:26
by Shador
damNageHack wrote:HOWTO:
- replace "noarch" with "i486" (Salix 32) or "x86_64" (Salix 64)
- run slkbuild in the folder where you placed the SLKBUILD file
Pretty clear, eh?
