You are not logged in.
Pages: 1
Could somebody be so kind so create a PKGBUILD for lbrc (http://lbrc.berlios.de)? Thanks.
Offline
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
# 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
Thank you very much.
Offline
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
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
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
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
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
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
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
Pages: 1