You are not logged in.

#1 2004-06-05 20:29:44

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

PyXMMS, PyXDG, and Gdesklets

Some popular gdesklets (Starterbar, CornerXMMS) require some dependencies.
CornerXMMS requires PyXMMS 1.06.  I have a package for the latest version, here it is:

PKGBUILD:

pkgname=pyxmms
pkgver=2.02
pkgrel=1
pkgdesc="A python port of XMMS"
url="http://www.via.ecp.fr/~flo/"
license=""
depends=(python)
makedepends=()
conflicts=()
replaces=()
backup=()
install=
source=(http://people.via.ecp.fr/~flo/2002/PyXMMS/dist/$pkgname-$pkgver.tar.gz setup.cfg)
md5sums=()

build() {
  mkdir -p $startdir/pkg/usr
  cd $startdir/src/$pkgname-$pkgver
  cp ../../setup.cfg ./
  echo prefix=$startdir/pkg/usr/ >> setup.cfg
  python ./setup.py build
  python ./setup.py install 
}

setup.cfg:

[sdist]
formats=bztar,gztar,zip

[bdist]
formats=bztar,gztar,zip

[install]

(Is there anyway to remove one line from the end of a file via command line?

I changed the version number for the pkgbuild, but it didn't compile.

You need pyXDG for the starterbar desklet to work.  I tried making a package for it, but it had a python module installation system that I didn't know how to --prefix.   Can anyone else help?


I was thinking after some of these deps are in the database a gdesklet package be made.  All the gdesklets will be in /usr/share/gdesklets/.  To add a desklet, you just do gdesklets /usr/share/gdesklets/somedesklet/desklet.display.  It'd be a compilation of a lot of popular desklets, rather then a bunch of individual packages. What do you think?  Thanks for your help in advance!


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#2 2004-06-08 13:03:24

Nuak
Member
Registered: 2004-03-23
Posts: 24

Re: PyXMMS, PyXDG, and Gdesklets

It's a good idea making a desklets package.
I tell you what i have done: i have compiled dpkg from debian, and extracted de gdesklets-data package from debian. Then you have all desklets (displays and sensors) ready to use.
I have the same problem with pyXDG.

PSI desklets works in your desktop? Not in mine.


ARCH LINUX USER SINCE MARCH 23, 2004
XboxRebelion http://www.xboxrebelion.net

Offline

#3 2004-06-08 14:11:20

Nuak
Member
Registered: 2004-03-23
Posts: 24

Re: PyXMMS, PyXDG, and Gdesklets

Hi, I have created a pyXDG package
Enjoy!
http://bbs.archlinux.org/viewtopic.php?p=30076


ARCH LINUX USER SINCE MARCH 23, 2004
XboxRebelion http://www.xboxrebelion.net

Offline

#4 2004-06-08 16:35:58

punkrockguy318
Member
From: New Jersey
Registered: 2004-02-15
Posts: 711
Website

Re: PyXMMS, PyXDG, and Gdesklets

Yeah, gdesklets remind me of my days with SuSe RPMs.  Dependency hell!  A gdesklet package would work nice.  It seems like a lot of the desklets are broken.  The popular desklets that would need to be included are:  PSI, Starterbar, CornerXMMS, clocks, andt hings like that.  The pyXDG package looks very nice!  I'll give it a try!

PS:  PSI doesn't work on my machine either.


If I have the gift of prophecy and can fathom all mysteries and all knowledge, and if I have a faith that can move mountains, but have not love, I am nothing.   1 Corinthians 13:2

Offline

#5 2004-06-08 16:43:27

Nuak
Member
Registered: 2004-03-23
Posts: 24

Re: PyXMMS, PyXDG, and Gdesklets

punkrockguy318 wrote:

Yeah, gdesklets remind me of my days with SuSe RPMs.  Dependency hell!  A gdesklet package would work nice.  It seems like a lot of the desklets are broken.  The popular desklets that would need to be included are:  PSI, Starterbar, CornerXMMS, clocks, andt hings like that.  The pyXDG package looks very nice!  I'll give it a try!

PS:  PSI doesn't work on my machine either.

Hey, I have the gDesklets Starterbar up and running in my machine with the pyXDG package  big_smile

Damn PSI sensors...


ARCH LINUX USER SINCE MARCH 23, 2004
XboxRebelion http://www.xboxrebelion.net

Offline

#6 2004-07-19 05:14:00

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

Re: PyXMMS, PyXDG, and Gdesklets

I can't seem to get starterbar running...how did you guys to it??


The suggestion box only accepts patches.

Offline

#7 2004-07-19 05:32:06

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

Re: PyXMMS, PyXDG, and Gdesklets

Nevermind  roll  , I killed X and co. and it all started magically working....


The suggestion box only accepts patches.

Offline

#8 2004-09-01 03:44:50

longhornxtreme
Member
Registered: 2004-07-10
Posts: 131

Re: PyXMMS, PyXDG, and Gdesklets

I think thats a really good idea... I'm struggling through trying to set up Psi sensors and I think I'm pretty much going to give up... one for my linux newbness... 2 for lack of documenations.... 3 for dependency hell... the whole point of arch isn't messing with this dependency crap....

(Not that I'm blaming Arch at all... I finally found the near perfect distro... that keeps getting better)

If there's anything I can do to help let me know... bear in mind I'm still a newb as far as indepth workings of nix systems are concerned....

Offline

Board footer

Powered by FluxBB