You are not logged in.

#1 2004-12-15 18:47:19

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

[System: Utilities] Bashish

[edit] _PLEASE_ dont use this package, its buggy and really REALLY bad.. i suggest using eterm if you want themes, the package remains for reference purposes or in the hope it one day becomes a reasonable application.. in the mean time.. STAY AWAY [/edit]

edit PKGBUILD updated

pretty kick ass bash theming tool..
its quite useless without a graphical terminal though
i was using xfterm4 but it cant handle the ascii graphics let alone images..
im not sure how the gnome or kde terminals will handle it, so ive left out Eterm as a dependency for now.

run `bashish' and it will create a new terminal for you

quite a messy looking pkg build.. but thats how the install is.. its basically a copy of the ebuild but a bit more readable.. look at the ebuild and youll see what i mean.. bleugh!

i havent copied across the man pages, i may do it later.

PKGBUILD

# Contributor: Adam Griffiths
pkgname=bashish
pkgver=1.9.24
pkgrel=1
pkgdesc="Bashish brings themes to the console!"
url="http://bashish.sourceforge.net/"
license="GPL"
depends=('bash')
source=(http://dl.sourceforge.net/sourceforge/bashish/$pkgname-$pkgver.tar.gz)
md5sums=('150085fb2004811781af448bbe560e4b')

build()
{
  cd $startdir

  # set the default theme
printf "
#!bashish.conf
THEME="quake"
DEFAULT_TERMINAL=""
DEFAULT_SHELL=""
" 1> $startdir/bashish-$pkgver/bashish-root/modules/sh/conf/bashish.conf

  mkdir -p $startdir/pkg/usr/share/bashish
  cp -Rd $startdir/bashish-$pkgver/bashish-root/* $startdir/pkg/usr/share/bashish

  mkdir -p $startdir/pkg/usr/bin

  # create a file for executing bashish
printf "
#!/bin/sh
export BASHISH_USERDIR=$HOME/.bashish/
export BASHISHDIR=/usr/share/bashish/
test -z "$BASHISH_DISABLEUSERMODE" && if test -f $BASHISH_USERDIR/modules/sh/usermode/main;then
. $BASHISH_USERDIR/modules/sh/usermode/main
else
. $BASHISHDIR/modules/sh/usermode/main
fi

" 1> $startdir/pkg/usr/bin/bashish

  chmod 755 $startdir/pkg/usr/bin/bashish

  # copy the man pages
#TODO
}


enjoy!

Offline

#2 2004-12-16 03:38:28

whatah
Member
Registered: 2003-08-10
Posts: 114

Re: [System: Utilities] Bashish

You have chmod 755 "$stardir"...
it should be chmod 755 $startdir with the 't'.

Offline

#3 2004-12-16 06:39:16

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: [System: Utilities] Bashish

crap! ofcourse!
heh.. it was a late night..
ill update the pkgbuild...
thanks

Offline

#4 2004-12-17 06:07:06

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [System: Utilities] Bashish

carefull with this

one of it's included themes, aqua I think did rm -rf when you su'ed to root.

Offline

#5 2004-12-17 06:20:58

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: [System: Utilities] Bashish

iphitus wrote:

carefull with this

one of it's included themes, aqua I think did rm -rf when you su'ed to root.

LOL..that's no good.


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#6 2004-12-17 09:25:57

oscar
Member
From: Kiruna, Sweden
Registered: 2004-08-13
Posts: 457

Re: [System: Utilities] Bashish

...and I can't make it work hmm
there is nothing in /usr/share/bashish sad


To err is human... to really foul up requires the root password.

Offline

#7 2004-12-17 10:30:47

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: [System: Utilities] Bashish

ill look into the empty /usr/share/bashish problem now..


some themes change the title bar to
"root# rm -rf /"
when you su
its meant to be a joke.. although i dont find it funny at all.. it freaked me out a few times and now it just makes me feel that the whole program is dodgy..

i think thats maybe what you saw

ive been using it the last day.. its quite buggy if you ask me... when you change themes / start it up, it resizes the window numerous times..
the more times you change themes the longer it seems to take..
when changing themes i get `command not found's printed during the sporadic flashing that occurs during a theme change... and su'ing... well.. ill just let you guys see for yourselves..
i think its just a glorified font / background changer.. with bugs.. lots

its cool... but... far from perfect..

Offline

#8 2004-12-17 10:47:59

Father
Member
From: Australia
Registered: 2004-06-01
Posts: 209

Re: [System: Utilities] Bashish

i updated the pkgbuild with a different dl mirror.
i cant see anything else wrong with the pkgbuild, it works for me!


btw, if thats not how i should handle sourceforge dls, please tell me.

thanks

Offline

#9 2004-12-18 05:43:53

neotuli
Lazy Developer
From: London, UK
Registered: 2004-07-06
Posts: 1,204
Website

Re: [System: Utilities] Bashish

Father wrote:

btw, if thats not how i should handle sourceforge dls, please tell me.

I don't know if there's any "official" or "good" way to handle those dl's, but I tend to lean toward not using a sf mirror in the sources, because occastionally the mirrors change, and well, that would mean having to fix the pkgbuild  :?  . I try to stick to using http://dl.sf.net/{projectname}/{file} , because AFAIK, using this will automatically make it pull from one of the active mirrors...not sure on that..correct me if I'm wrong. Anyhow, point is, that address is most likely to still be there next year.

PS: I just did some checking, and I seem to have concluded that indeed, pulling from this address will automattically assign an active mirror. yay!

edit: Nevermind sad I was wrong, checked a bit further, that's just the sf main site, but it still has a better chance of being there next year.


The suggestion box only accepts patches.

Offline

#10 2004-12-18 09:38:02

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: [System: Utilities] Bashish

Well if a program's going to joke around about rm -rf while I'm su'ing to root, it kinda aint that funny, it's terribly buggy, and I also had the command not found errors. I dont suggest anyone uses this.

Offline

Board footer

Powered by FluxBB