Commit graph

8 commits

Author SHA1 Message Date
cmitu
fbc3d1df8e bluetooth: updates for python3
Updated the dependencies and scripts for python3:

* `python-dbus` no longer exists in Debian 11 'bullseye' or Ubuntu > 20.04, installl the `python3` version
* `python-gobject` has been superseeded by `python(3)-gi`, the current package is just a transitional package that pulls
`python-gi` and the old `python-gobject-2` (deprecated). Update the dependencies and the scripts to use the new package.
* set python3 as interpreter for the helper scripts. Fixed the dict syntax for getting items
2021-11-15 06:43:20 +00:00
Jools Wills
57bfd733dd bluetooth - split out boot bluetooth connect script from main code
* running RetroPie-Setup on boot isn't efficient / it should work without RetroPie-Setup present.
 * running it as root on boot causes /opt/retropie/configs/all to be chowned to root due to setupDirectories call
2020-06-22 02:39:26 +01:00
Mathieu Mitchell
213de476a5 [bluez-test-device] Fix indent style
The latest fix made to bluez-test-device did not respect the existing tabs styling present in the file. This commit uses tabs where necessary.
2017-01-23 06:00:43 -05:00
Mathieu Mitchell
d09a77f413 Fix UnicodeEncodeError when enumerating devices
Currently, enumerating devices with non-ascii characters results in a UnicodeEncodeError.

Simply ignore non-ascii characters to ensure devices can be listed.
2017-01-22 15:44:58 -05:00
Jools Wills
b3ff38da10 remove .pyc 2016-06-07 16:05:51 +01:00
Jools Wills
889f8ecdfa Initial rewrite of the setup menu, including per package/module management
* rp_module_menus is no more - instead use rp_module_section with one of
   - core (core packages)
   - main (main packages - which will be installed by default in the image)
   - opt (optional packages)
   - exp (experimental packages)
   - driver (driver packages)
   - config (configuration packages / tools)

 * The setup menu organises the data based on the above sections. more could be added in the future if needed. Packages (internally modules), can be added / configured / removed individually, or as entire sections.

 * The setup menu will automatically detect if a binary is available to be installed. the nobin flag is no longer needed. modules that install directly from binary via aptInstall or via a prebuilt binary need to use an install_bin_ function instead of install_

 * rp_module_section of type "config" will have the "gui_" function called first if it's available, otherwise a standard depends/sources/build/install/configure will be called

 * configure is no longer used for "gui" configuration function - use gui_ instead. Had already started to move to this before, but now it is required.
2016-06-06 22:08:36 +01:00
Jools Wills
9d4f28774f removed .pyc 2016-01-17 20:37:54 +00:00
Jools Wills
603a2807b4 added some bluez5 / jessie workarounds for the bluetooth module
* include some test scripts from the bluez5 repository as they are not readily available on jessie - meaning we don't have to rewrite everything
 * use bluetoothctl for discovery of devices as hcitool scan lists devices, but doesn't make them available via bluez dbus api
2016-01-17 07:31:23 +00:00