You are not logged in.

#1 2005-03-22 23:22:55

grail
Member
Registered: 2005-02-22
Posts: 70

gnome-bluetooth

I've tried compiling and installing the new gnome-bluetooth package but have had no success. I would be very appreciative if someone could create a PKGBUILD for this that works with all of it's dependacies.

Offline

#2 2005-03-23 00:56:35

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

Re: gnome-bluetooth

Post your PKGBUILD and/or errors you got.  Maybe we could give you some hints.

Offline

#3 2005-03-23 03:27:22

grail
Member
Registered: 2005-02-22
Posts: 70

Re: gnome-bluetooth

Well I've fixed the issue. It was just my stupidy in not setting the correct prefix for libbtctl. Anyway here are the current working PKGBUILD for gnome-bluetooth and it's dependancy libbtctl

pkgname=libbtctl
pkgver=0.4.1
pkgrel=1
pkgdesc="GNOME Bluetooth Subsystem wrapper"
url="http://usefulinc.com/software/libbtctl"
depends=('glib' 'pygtk')
groups=()
source=(http://downloads.usefulinc.com/libbtctl/$pkgname-$pkgver.tar.gz)
md5sums=('7c858214d32d76e45a87b34dd885df37')
build() {
          cd $startdir/src/$pkgname-$pkgver
          ./configure --prefix=/opt/gnome
          make || return 1
          make DESTDIR=$startdir/pkg install || return 1
}
pkgname=gnome-bluetooth
pkgver=0.5.1
pkgrel=1
pkgdesc="GNOME Bluetooth Subsystem"
url="http://usefulinc.com/software/gnome-bluetooth"
depends=('libgnome' 'libgnomeui' 'gconf' 'libglade' 'pygtk' 'libbtctl')
groups=()
source=(http://downloads.usefulinc.com/gnome-bluetooth/$pkgname-$pkgver.tar.gz)
md5sums=('60dfef22c0cc075ac1e3d84c249b8ca3')
build() {
          cd $startdir/src/$pkgname-$pkgver
          ./configure --prefix=/opt/gnome
          make || return 1
          make DESTDIR=$startdir/pkg install || return 1
}

Offline

#4 2005-03-24 14:02:47

Remenic
Member
Registered: 2005-02-03
Posts: 11

Re: gnome-bluetooth

libbtctl depends on openobex.

and gnome-bluetooth depends on gob2 as well

After adding these dependencies, it compiled and installed fine, but how am I supposed to use this? bluetooth:/// in nautilus doesn't work...

Offline

#5 2005-03-29 19:43:03

starthis
Member
Registered: 2004-12-25
Posts: 46

Re: gnome-bluetooth

You should run 'gnome-bluetooth-manager'.

I installed both packages using the above PKGBUILD files, but running gnome-bluetooth-manager fails, this is the output :

Traceback (most recent call last):
  File "/opt/gnome/lib/python2.4/site-packages/gnomebt/manager.py", line 275, in ?
    BTManager ().main ()
  File "/opt/gnome/lib/python2.4/site-packages/gnomebt/manager.py", line 78, in __init__
    self.setup_gui ()
  File "/opt/gnome/lib/python2.4/site-packages/gnomebt/manager.py", line 143, in setup_gui
    gnome.ui.PREFERENCES_NEVER)
TypeError: gtk.HBox.__init__() takes at most 2 arguments (3 given)

I patched the manager.py so it would call the Appbar constructor with default values, and then the manager worked. Though I found my cellphone during scan, dropping files on the icon to send them still fails.

So far I haven't found out how to integrate bluetooth with nautilus either.

The good news is that all hardware works correctly, hcitool works, only gnome doesn't want to cooperate yet wink

Offline

#6 2005-03-29 20:55:04

bluesurfer
Member
From: Regensburg, Germany
Registered: 2004-08-29
Posts: 22

Re: gnome-bluetooth

I have exactly the same failure.
Can you please send me your manager.py??

Offline

#7 2005-03-30 18:44:22

starthis
Member
Registered: 2004-12-25
Posts: 46

Re: gnome-bluetooth

Line 143 looks like this :

self.statusbar = gnome.ui.AppBar ()

This will make the gnome-bluetooth-manager run without the the statusbar, but the real problem lays at the AppBar constructor that calls its parent (HBox) with the wrong number of arguments. This can only be fixed by using a fixed version of gnome-python.

Offline

#8 2005-11-16 16:30:28

Michiel
Member
From: Westkapelle, Zeeland, NL
Registered: 2005-02-13
Posts: 34
Website

Re: gnome-bluetooth

When i try to start the bluetooth manager i get:

michiel@serenity ~$ gnome-bluetooth-manager 
ImportError: could not import gnomecanvas
ImportError: cannot import name DockItem from bonobo.ui
Traceback (most recent call last):
  File "/opt/gnome/lib/python2.4/site-packages/gnomebt/manager.py", line 274, in ?
    BTManager ().main ()
  File "/opt/gnome/lib/python2.4/site-packages/gnomebt/manager.py", line 78, in __init__
    self.setup_gui ()
  File "/opt/gnome/lib/python2.4/site-packages/gnomebt/manager.py", line 96, in setup_gui
    self.window = gnome.ui.App ('gnome-bluetooth', 
AttributeError: 'module' object has no attribute 'App'

So I think the package should depend on another python package...

[Edit]
I just found out i have the gnome-python package, and I have gnomecanvas.so in /usr/lib/python..... so what could be wrong here?


All you got to do, is tell the story right...

Offline

#9 2005-11-16 20:36:18

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

Re: gnome-bluetooth

FYI: gnome-bluetooth was recently added to the extra repo.  If you use the above PKGBUILD, upgrade to the one in extra.

Offline

#10 2005-11-17 10:59:58

Michiel
Member
From: Westkapelle, Zeeland, NL
Registered: 2005-02-13
Posts: 34
Website

Re: gnome-bluetooth

I have the one from the extra repo...


All you got to do, is tell the story right...

Offline

Board footer

Powered by FluxBB