2009-10-08, 10:12
Allfodr Wrote:@flxfxp With updated installation procedure this works like a charm, I just want to say thanks to all involved.
It was a whole lot of effort trying to automate everything, from the driver to the adding of the devices, but it sure payed off
If you notice that some buttons aren't working, don't be afraid, I'm still very busy assigning all buttons. I'm currently updating the deb online at least once a day with new button features. Be sure to also check this thread if I make any changes to the Keymap.xml. To remove the package do "sudo -r bluez-patched"
and the reinstall using "sudo -i bluez-patched_4.54-1_i386.deb"
If you like to create your own deps, I created this raw but handy script:
Code:
#!/bin/bash
########################################################################
case "$1" in
create)
echo
echo "start!"
rm debs/*.*
dh_make -m -f bluez-patched-4.54.tar.gz
./configure
make clean
make
fakeroot debian/rules binary
mv ../*.deb debs/
rm ../bluez-patched_4.54.orig.tar.gz
echo
echo "Done building deps"
echo
;;
buildenv)
echo
if [ "$(id -u)" != "0" ]; then
echo "Sorry, you must execute this option with sudo."
exit 1
fi
echo "Installing required tools..."
apt-get install build-essential dh-make debhelper devscripts libnl1 putty-tools -y
apt-get build-dep bluez -y
echo
echo "Done installing required tools"
echo
;;
*)
echo
echo "Usage: $SCRIPTNAME {create|buildenv}" >&2
echo
echo "Create: creates a deb in the debs folder"
echo "Buildenv: installs all tools needed for compiling"
echo
exit 1
;;
esac
exit 0
Be sure that the folder name of your bluez is something like bluez-patched-4.54 and it also holds the bluez-patched-4.54.tar.gz original package
you can download the whole package for building deps yourself here:
http://flx.me/script/bluez-patched-4.54.tar.gz