You are not logged in.

#1 2005-03-04 15:58:41

tony
Member
Registered: 2004-10-11
Posts: 108

Could someone help please - Fluxspace PKBUILD

I would like to ask someone from powerusers  wink  to be so kind and make package for fluxspace:

http://sourceforge.net/project/showfile … p_id=76737

Or could you post PKBUILD and I would try to make it with ABS.

Many thanks

I've seen request for the same package but in my case PKBUILD could be enough actually I tried some of those I found around here and had to admit it's just great to see it work.
Only Kompose build didn't work don't know why  :cry:

Offline

#2 2005-03-06 13:38:33

tony
Member
Registered: 2004-10-11
Posts: 108

Re: Could someone help please - Fluxspace PKBUILD

O.K. noone seems to be responding so far so I've tried to make it myself.
First this is PKBUILD I've created(don't laugh please it's the first try):
pkgname=Fluxspace
pkgver=0.4.0_alpha
pkgrel=1
pkgdesc=""
url="http://sourceforge.net/project/showfiles.php?group_id=76737"
license="GPL"
depends=(python imlib)
makedepends=(imlib)
install=fluxspace.install
source=(http://belnet.dl.sourceforge.net/sourceforge/fluxspace/fluxspace-0.4.0_alpha.tar.gz)


build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  /usr/bin/make || return 1
  /usr/bin/make prefix=$startdir/pkg/usr install
  cd $startdir/pkg/usr/bin
}

This build apparently doesn't work as it should when I try to makepkg the last what few lines what I got:
checking for imlib_create_image in -lImlib2... no
configure: error: *** Imlib2 was not found - make sure the imlib2 development package is installed. ***
Makefile:15: *** missing separator.  Stop.
==> ERROR: Build Failed.  Aborting...

Now it seems that the Imlib2 is missing even that I found some cvs in arch repository I couldn't install it - and ***missing separator . . . what does it mean? I hope that someone is going to drop few helping lines.
Thank you.

Offline

#3 2005-03-06 19:40:08

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Could someone help please - Fluxspace PKBUILD

You need imlib2:
pacman -S imlib2

Offline

#4 2005-03-07 06:33:49

tony
Member
Registered: 2004-10-11
Posts: 108

Re: Could someone help please - Fluxspace PKBUILD

First of all many thanks to you Snowman I really appreciate your help.
I've tried to update to imlib2 and because it had some dependencies with e17
I forced update. Anyway when started makepkg process I got this:

Menu.cc: In member function `void FbTk::Menu::update(int)':
Menu.cc:496: error: no matching function for call to `FbTk::FbPixmap::FbPixmap(FbTk::FbPixmap)'
make[3]: *** [Menu.lo] Error 1
make[3]: Leaving directory `/var/abs/local/fluxspace/src/Fluxspace-0.4.0_alpha/src/FbTk'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/abs/local/fluxspace/src/Fluxspace-0.4.0_alpha/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/abs/local/fluxspace/src/Fluxspace-0.4.0_alpha'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...
I don't have any ideas what this means. Can you help me please. . .

:cry:

Offline

#5 2005-03-07 16:33:28

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Could someone help please - Fluxspace PKBUILD

tony wrote:

I don't have any ideas what this means. Can you help me please. . .

It means that there is a problem with the code. (It's an alpha version.)  Sorry, I can't help you with that as I don't know C++.

Offline

#6 2005-03-08 13:09:44

tony
Member
Registered: 2004-10-11
Posts: 108

Re: Could someone help please - Fluxspace PKBUILD

You don't have to be sorry Snowman cause you have done much more than anyone else. Thank you once more. I've tried earlier version and it seems to be working. PKBUILD is here for comment or so:

pkgname=fluxspace
pkgver=0.0.3
pkgrel=1
pkgdesc="Fluxbox's window management with new desktop management capabilities"
url="http://sourceforge.net/project/showfiles.php?group_id=76737"
license="GPL"
depends=(python imlib2)
makedepends=(imlib)
install=fluxspace.install
source=(http://ovh.dl.sourceforge.net/sourceforge/fluxspace/fluxspace-0.0.3.tar.gz)


build() {
  cd $startdir/src/$pkgname-$pkgver
  ./configure --prefix=/usr
  /usr/bin/make || return 1
  /usr/bin/make prefix=$startdir/pkg/usr install
  cd $startdir/pkg/usr/bin
}

I'll try to make packages for some slits and other staff for flux.

Offline

#7 2005-03-08 18:56:38

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: Could someone help please - Fluxspace PKBUILD

Glad that it worked for version 0.0.3!. I haven't tried the PKGBUILD but here's some comment:
1.change the url to http://fluxspace.sourceforge.net/  that's the fluxspace home page.
2. in makedepends, change imlib to imlib2
3. You didn't post the fluxspace.install file. If it doesn't exist, remove the "install=fluxspace.install" line
4. for the source don't specifify any specific mirror, i.e. use source=(http://dl.sourceforge.net/sourceforge/fluxspace/fluxspace-0.0.3.tar.gz)
5. md5sums are missing
6.you can remove the  "cd $startdir/pkg/usr/bin " at the end, it has no use.
7. according to the fluxspace home page, there is a dependency on "Fluxbox or other Blackbox derivative"

You can also use namcap to test your PKGBUILD and package.  namcap is  not perfect but it is an useful tool.

Offline

#8 2005-03-08 19:37:45

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Could someone help please - Fluxspace PKBUILD

The error lines from the original alpha build are because you need fluxbox installed.   Fbtk is the fluxbox toolkit, and is installed with fluxbox.  Therefore, add "fluxbox" to the depends.

Offline

#9 2005-03-09 06:26:25

tony
Member
Registered: 2004-10-11
Posts: 108

Re: Could someone help please - Fluxspace PKBUILD

Thank you both. I'm going to fix that and I'll let you know. One more thing I've seen some docks or slits for enlightenment dr16 made as package I would like to try to make something like this for flux. Do you have any ideas how to make pkbuild for e.g. five or more docks that it would be kind of "one package"? Thank you.

Offline

#10 2005-03-14 23:59:18

thegnu
Member
From: Brooklyn, NY
Registered: 2004-05-04
Posts: 280
Website

Re: Could someone help please - Fluxspace PKBUILD

tony wrote:

Thank you both. I'm going to fix that and I'll let you know. One more thing I've seen some docks or slits for enlightenment dr16 made as package I would like to try to make something like this for flux. Do you have any ideas how to make pkbuild for e.g. five or more docks that it would be kind of "one package"? Thank you.

You would have to just add the individual sources, and figure out how to build each one.  You would basically just in each field put the steps for each one independently like:

sources=('http://package1.gz' 'http://package2.gz' package3.gz')
dep=('pac1dep' 'pac2dep' pac3dep')

build{
cd $startdir/src/package1
install package1

cd $startdir/src/package2
install package2

cd $startdir/src/package3
install package3
}


fffft!

Offline

#11 2005-03-20 08:51:37

tony
Member
Registered: 2004-10-11
Posts: 108

Re: Could someone help please - Fluxspace PKBUILD

Haven't been here for a while. Thank you when I have time I'll try to build it and let you know.

Thank you

Offline

Board footer

Powered by FluxBB