You are not logged in.

#1 2008-08-27 15:34:14

tuuss
Member
Registered: 2007-12-21
Posts: 14

lbrc

Could somebody be so kind so create a PKGBUILD for lbrc (http://lbrc.berlios.de)? Thanks.

Offline

#2 2008-08-27 18:26:42

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: lbrc

Here you are. It's my first one and I don't have bluetooth so I haven't tried it, I hope it works. At least it builds here smile

# Contributor: Enrique Sainz <esbaixauli@gmail.com>

pkgname=LBRC
pkgver=0.6.2
pkgrel=1
pkgdesc="Linux Bluetooth Remote Control"
arch=('i686' 'x86_64')
url="http://developer.berlios.de/projects/lbrc/"
license=('GPL')
depends=('dbus-python' 'python-pybluez' 'python-simplejson' 'pygobject' 'jre')
source=(http://download2.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6cdb88e8357556b4f64380077c003ab6')

build() {
  cd $startdir/src/lbrc-$pkgver

  python setup.py build || return 1
  python setup.py install --root=$startdir/pkg --install-scripts=/usr/bin
}

Bye!

Offline

#3 2008-08-27 23:49:09

tuuss
Member
Registered: 2007-12-21
Posts: 14

Re: lbrc

Thank you very much.

Offline

#4 2008-08-28 12:36:34

tuuss
Member
Registered: 2007-12-21
Posts: 14

Re: lbrc

Traceback (most recent call last):
  File "/usr/bin/LBRC-applet", line 14, in <module>
    from LBRC_gtk_gui.applet import Applet
  File "/usr/lib/python2.5/site-packages/LBRC_gtk_gui/applet.py", line 5, in <module>
    import egg.trayicon
ImportError: No module named egg.trayicon

Still can't run. I do not know why.

Offline

#5 2008-08-28 12:48:45

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: lbrc

Try this, I think I had missed a couple of deps.

# Contributor: Enrique Sainz <esbaixauli@gmail.com>

pkgname=LBRC
pkgver=0.6.2
pkgrel=1
pkgdesc="Linux Bluetooth Remote Control"
arch=('i686' 'x86_64')
url="http://developer.berlios.de/projects/lbrc/"
license=('GPL')
depends=('dbus-python' 'python-pybluez' 'python-simplejson' 'pygobject' 'jre' 'gnome-python-extras' 'python-notify')
source=(http://download2.berlios.de/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('6cdb88e8357556b4f64380077c003ab6')

build() {
  cd $startdir/src/lbrc-$pkgver

  python setup.py build || return 1
  python setup.py install --root=$startdir/pkg --install-scripts=/usr/bin
}

Offline

#6 2008-08-28 13:35:40

tuuss
Member
Registered: 2007-12-21
Posts: 14

Re: lbrc

Thanks for your fast response. But it still doesn't work.
When I run: LBRC-applet
2008-08-28 21:33:45,376 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:45,960 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:46,520 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:47,120 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:47,716 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:48,277 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:48,836 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:49,397 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:49,956 Applet   WARNING  DBUS Component not found
2008-08-28 21:33:50,516 Applet   WARNING  DBUS Component not found
Could not connect to DBUS component of LBRC
File "/usr/bin/LBRCdbus", line 3, in <module>
    from LBRC.dbusinterface import Core
  File "/usr/lib/python2.5/site-packages/LBRC/dbusinterface.py", line 9, in <module>
    from LBRC.VolumeControl import VolumeControl
  File "/usr/lib/python2.5/site-packages/LBRC/VolumeControl.py", line 4, in <module>
    import gst
ImportError: No module named gst

And the result of running LBRCdbus:

Offline

#7 2008-08-28 14:11:45

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: lbrc

According to the readme, the only requirement which is not in the deps array is the uinput device driver. To make it work you have to follow the usage section of the readme:

http://svn.berlios.de/wsvn/lbrc/branches/0.6.2/README

I'm sorry but I can't help you any more, I think. Btw, there is no jre under Requirements in that readme, so maybe that dep is not needed, I'm not sure.

Offline

#8 2008-08-28 23:37:17

tuuss
Member
Registered: 2007-12-21
Posts: 14

Re: lbrc

Anyway thank you again. After installing gstreamer0.10-python, there is no importError. But I get such error.
Traceback (most recent call last):
  File "/usr/lib/python2.5/logging/__init__.py", line 744, in emit
    msg = self.format(record)
  File "/usr/lib/python2.5/logging/__init__.py", line 630, in format
    return fmt.format(record)
  File "/usr/lib/python2.5/logging/__init__.py", line 430, in format
    s = s + record.exc_text
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe6 in position 174: ordinal not in range(128)

Offline

#9 2008-08-29 11:24:01

Surgat_
Member
Registered: 2007-08-08
Posts: 317

Re: lbrc

It seems that it's trying to decode some text with ascii while it's unicode, so it returns an error. But I don't know how to solve that issue.

Offline

#10 2010-06-04 16:12:18

quantumphaze
Member
From: Melbourne, Australia
Registered: 2008-11-14
Posts: 175

Re: lbrc

Has anyone got this working?

Using a slightly modified PKGBUILD (download link and version) it installs correctly and runs without any printed errors. Yet I can't get anything to actually work. It connects and the bluetooth light blinks when I press buttons on the phone.

It's probably an issue with uinput but I don't know what to do with it

New PKGBUILD

 
# Contributor: Enrique Sainz <esbaixauli@gmail.com>

pkgname=lbrc
pkgver=0.6.4
pkgrel=1
pkgdesc="Linux Bluetooth Remote Control"
arch=('i686' 'x86_64')
url="http://developer.berlios.de/projects/lbrc/"
license=('GPL')
depends=('dbus-python' 'python-pybluez' 'python-simplejson' 'pygobject' 'gnome-python-extras' 'python-notify' 'python-xlib')
source=(http://download2.berlios.de/$pkgname/$pkgname\_$pkgver.orig.tar.gz)
md5sums=('145d8a0f3368e5621d855e28d7bc0b84')

build() {
  cd $startdir/src/lbrc-$pkgver

  python setup.py build || return 1
  python setup.py install --root=$startdir/pkg --install-scripts=/usr/bin
}

▁▂▃▄▅▆▇█▉▊▋▌▍▎▏▏▎▍▌▋▊▉█▇▆▅▄▃▂▁

Offline

Board footer

Powered by FluxBB