bluefish 2.0 - how to install

You have a problem with Salix? Post here and we'll do what we can to help.
nekron29
Posts: 5
Joined: 4. Mar 2010, 09:04

bluefish 2.0 - how to install

Post 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
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: bluefish 2.0 - how to install

Post 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. ;)
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
nekron29
Posts: 5
Joined: 4. Mar 2010, 09:04

Re: bluefish 2.0 - how to install

Post 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
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: bluefish 2.0 - how to install

Post by thenktor »

Would be nice if you could do it damnagehack :)
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: bluefish 2.0 - how to install

Post 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.
Image
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: bluefish 2.0 - how to install

Post 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 :)
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: bluefish 2.0 - how to install

Post by gapan »

Great :)
Image
Image
User avatar
damNageHack
Posts: 663
Joined: 24. Sep 2009, 17:07

Re: bluefish 2.0 - how to install

Post 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.
Image
This is the oppinion of the author, it does not force you to share and is signed automatically.
You are free to keep them all errors for your own. Linux is the best game I ever played.
nekron29
Posts: 5
Joined: 4. Mar 2010, 09:04

Re: bluefish 2.0 - how to install

Post by nekron29 »

@damNageHack - super :)

dumb question what should i do with the code ?

nekron
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: bluefish 2.0 - how to install

Post 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? :mrgreen:
Image
Post Reply