Import Debian changes 2.1.1-1
blueman (2.1.1-1) unstable; urgency=low
.
* New release
Christopher Schramm authored 4 years ago
Christopher Schramm committed 3 years ago
11 | 11 | steps: |
12 | 12 | - checkout |
13 | 13 | - run: apt-get update |
14 | - run: apt-get install -y -qq --no-install-recommends sudo automake autoconf libglib2.0-dev libtool intltool python3-dev python-gi python-gi-dev cython python3-dbus dh-autoreconf libbluetooth-dev gtk-update-icon-cache python-pip | |
14 | - run: apt-get install -y -qq --no-install-recommends sudo automake autoconf libglib2.0-dev libtool intltool python3-dev python-gi python-gi-dev cython dh-autoreconf libbluetooth-dev gtk-update-icon-cache python-pip | |
15 | 15 | - run: ./autogen.sh |
16 | 16 | - run: make |
17 | 17 | - run: make distcheck |
44 | 44 | - run: python3 -m pip install --user flake8 |
45 | 45 | - run: python3 -m flake8 |
46 | 46 | |
47 | flake8-3.8: | |
48 | docker: | |
49 | - image: circleci/python:3.8.0b1 | |
50 | ||
51 | steps: | |
52 | - checkout | |
53 | - run: python3 -m pip install --user flake8 | |
54 | - run: python3 -m flake8 | |
55 | ||
47 | 56 | workflows: |
48 | 57 | version: 2 |
49 | 58 | build_and_test: |
52 | 61 | - flake8-3.4 |
53 | 62 | - flake8-3.6 |
54 | 63 | - flake8-3.7 |
64 | - flake8-3.8 |
0 | 0 | # Changelog |
1 | ||
2 | ## 2.1.1 | |
3 | ||
4 | ### Bugs fixed | |
5 | ||
6 | * Using recent connections did not work | |
7 | * Switching adapters did not work | |
8 | * Errors when removing a device | |
9 | * Error tracebacks from info dialog | |
1 | 10 | |
2 | 11 | ## 2.1 |
3 | 12 |
14 | 14 | * [pulseaudio](http://www.freedesktop.org/wiki/Software/PulseAudio/) (optional; its bluetooth module is required to actually use audio devices) |
15 | 15 | * [pycairo](http://cairographics.org/pycairo/) |
16 | 16 | * [PyGObject 3](https://wiki.gnome.org/PyGObject) |
17 | * [Python](http://www.python.org/) (>= 3.2) | |
17 | * [Python](http://www.python.org/) (>= 3.3) | |
18 | 18 | * [net-tools](http://net-tools.sourceforge.net/) for blueman 2.0 and net-tools __or__ [iproute2](https://wiki.linuxfoundation.org/networking/iproute2) for blueman 2.1 |
19 | 19 | * [libnm](https://wiki.gnome.org/Projects/NetworkManager) For managing DUN and PANU connection (GI bindings) |
20 | 20 | |
22 | 22 | |
23 | 23 | * [BlueZ 5](http://www.bluez.org/) |
24 | 24 | * [Cython](http://www.cython.org/) |
25 | * [dbus-python](http://www.freedesktop.org/wiki/Software/DBusBindings/#python) | |
26 | 25 | * [GLib 2](http://www.gtk.org/) (>= 2.32) |
27 | 26 | * [intltool](http://freedesktop.org/wiki/Software/intltool/) |
28 | 27 | * [libtool](http://www.gnu.org/software/libtool/) |
29 | 28 | * [PyGObject 3](https://wiki.gnome.org/PyGObject) |
30 | * [Python](http://www.python.org/) (>= 3.2) | |
29 | * [Python](http://www.python.org/) (>= 3.3) | |
31 | 30 | |
32 | 31 | ## Additional dependencies for VCS version |
33 | 32 |
0 | 0 | @%:@! /bin/sh |
1 | 1 | @%:@ Guess values for system-dependent variables and create Makefiles. |
2 | @%:@ Generated by GNU Autoconf 2.69 for blueman 2.1. | |
2 | @%:@ Generated by GNU Autoconf 2.69 for blueman 2.1.1. | |
3 | 3 | @%:@ |
4 | 4 | @%:@ Report bugs to <https://github.com/blueman-project/blueman/issues>. |
5 | 5 | @%:@ |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='blueman' |
591 | 591 | PACKAGE_TARNAME='blueman' |
592 | PACKAGE_VERSION='2.1' | |
593 | PACKAGE_STRING='blueman 2.1' | |
592 | PACKAGE_VERSION='2.1.1' | |
593 | PACKAGE_STRING='blueman 2.1.1' | |
594 | 594 | PACKAGE_BUGREPORT='https://github.com/blueman-project/blueman/issues' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1466 | 1466 | # Omit some internal or obsolete options to make the list less imposing. |
1467 | 1467 | # This message is too long to be a string in the A/UX 3.1 sh. |
1468 | 1468 | cat <<_ACEOF |
1469 | \`configure' configures blueman 2.1 to adapt to many kinds of systems. | |
1469 | \`configure' configures blueman 2.1.1 to adapt to many kinds of systems. | |
1470 | 1470 | |
1471 | 1471 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1472 | 1472 | |
1537 | 1537 | |
1538 | 1538 | if test -n "$ac_init_help"; then |
1539 | 1539 | case $ac_init_help in |
1540 | short | recursive ) echo "Configuration of blueman 2.1:";; | |
1540 | short | recursive ) echo "Configuration of blueman 2.1.1:";; | |
1541 | 1541 | esac |
1542 | 1542 | cat <<\_ACEOF |
1543 | 1543 | |
1700 | 1700 | test -n "$ac_init_help" && exit $ac_status |
1701 | 1701 | if $ac_init_version; then |
1702 | 1702 | cat <<\_ACEOF |
1703 | blueman configure 2.1 | |
1703 | blueman configure 2.1.1 | |
1704 | 1704 | generated by GNU Autoconf 2.69 |
1705 | 1705 | |
1706 | 1706 | Copyright (C) 2012 Free Software Foundation, Inc. |
2069 | 2069 | This file contains any messages produced by compilers while |
2070 | 2070 | running configure, to aid debugging if configure makes a mistake. |
2071 | 2071 | |
2072 | It was created by blueman $as_me 2.1, which was | |
2072 | It was created by blueman $as_me 2.1.1, which was | |
2073 | 2073 | generated by GNU Autoconf 2.69. Invocation command line was |
2074 | 2074 | |
2075 | 2075 | $ $0 $@ |
2935 | 2935 | |
2936 | 2936 | # Define the identity of the package. |
2937 | 2937 | PACKAGE='blueman' |
2938 | VERSION='2.1' | |
2938 | VERSION='2.1.1' | |
2939 | 2939 | |
2940 | 2940 | |
2941 | 2941 | cat >>confdefs.h <<_ACEOF |
15807 | 15807 | # report actual input values of CONFIG_FILES etc. instead of their |
15808 | 15808 | # values after options handling. |
15809 | 15809 | ac_log=" |
15810 | This file was extended by blueman $as_me 2.1, which was | |
15810 | This file was extended by blueman $as_me 2.1.1, which was | |
15811 | 15811 | generated by GNU Autoconf 2.69. Invocation command line was |
15812 | 15812 | |
15813 | 15813 | CONFIG_FILES = $CONFIG_FILES |
15873 | 15873 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15874 | 15874 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15875 | 15875 | ac_cs_version="\\ |
15876 | blueman config.status 2.1 | |
15876 | blueman config.status 2.1.1 | |
15877 | 15877 | configured by $0, generated by GNU Autoconf 2.69, |
15878 | 15878 | with options \\"\$ac_cs_config\\" |
15879 | 15879 |
0 | 0 | @%:@! /bin/sh |
1 | 1 | @%:@ Guess values for system-dependent variables and create Makefiles. |
2 | @%:@ Generated by GNU Autoconf 2.69 for blueman 2.1. | |
2 | @%:@ Generated by GNU Autoconf 2.69 for blueman 2.1.1. | |
3 | 3 | @%:@ |
4 | 4 | @%:@ Report bugs to <https://github.com/blueman-project/blueman/issues>. |
5 | 5 | @%:@ |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='blueman' |
591 | 591 | PACKAGE_TARNAME='blueman' |
592 | PACKAGE_VERSION='2.1' | |
593 | PACKAGE_STRING='blueman 2.1' | |
592 | PACKAGE_VERSION='2.1.1' | |
593 | PACKAGE_STRING='blueman 2.1.1' | |
594 | 594 | PACKAGE_BUGREPORT='https://github.com/blueman-project/blueman/issues' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1466 | 1466 | # Omit some internal or obsolete options to make the list less imposing. |
1467 | 1467 | # This message is too long to be a string in the A/UX 3.1 sh. |
1468 | 1468 | cat <<_ACEOF |
1469 | \`configure' configures blueman 2.1 to adapt to many kinds of systems. | |
1469 | \`configure' configures blueman 2.1.1 to adapt to many kinds of systems. | |
1470 | 1470 | |
1471 | 1471 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1472 | 1472 | |
1537 | 1537 | |
1538 | 1538 | if test -n "$ac_init_help"; then |
1539 | 1539 | case $ac_init_help in |
1540 | short | recursive ) echo "Configuration of blueman 2.1:";; | |
1540 | short | recursive ) echo "Configuration of blueman 2.1.1:";; | |
1541 | 1541 | esac |
1542 | 1542 | cat <<\_ACEOF |
1543 | 1543 | |
1700 | 1700 | test -n "$ac_init_help" && exit $ac_status |
1701 | 1701 | if $ac_init_version; then |
1702 | 1702 | cat <<\_ACEOF |
1703 | blueman configure 2.1 | |
1703 | blueman configure 2.1.1 | |
1704 | 1704 | generated by GNU Autoconf 2.69 |
1705 | 1705 | |
1706 | 1706 | Copyright (C) 2012 Free Software Foundation, Inc. |
2069 | 2069 | This file contains any messages produced by compilers while |
2070 | 2070 | running configure, to aid debugging if configure makes a mistake. |
2071 | 2071 | |
2072 | It was created by blueman $as_me 2.1, which was | |
2072 | It was created by blueman $as_me 2.1.1, which was | |
2073 | 2073 | generated by GNU Autoconf 2.69. Invocation command line was |
2074 | 2074 | |
2075 | 2075 | $ $0 $@ |
2935 | 2935 | |
2936 | 2936 | # Define the identity of the package. |
2937 | 2937 | PACKAGE='blueman' |
2938 | VERSION='2.1' | |
2938 | VERSION='2.1.1' | |
2939 | 2939 | |
2940 | 2940 | |
2941 | 2941 | cat >>confdefs.h <<_ACEOF |
15803 | 15803 | # report actual input values of CONFIG_FILES etc. instead of their |
15804 | 15804 | # values after options handling. |
15805 | 15805 | ac_log=" |
15806 | This file was extended by blueman $as_me 2.1, which was | |
15806 | This file was extended by blueman $as_me 2.1.1, which was | |
15807 | 15807 | generated by GNU Autoconf 2.69. Invocation command line was |
15808 | 15808 | |
15809 | 15809 | CONFIG_FILES = $CONFIG_FILES |
15869 | 15869 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15870 | 15870 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15871 | 15871 | ac_cs_version="\\ |
15872 | blueman config.status 2.1 | |
15872 | blueman config.status 2.1.1 | |
15873 | 15873 | configured by $0, generated by GNU Autoconf 2.69, |
15874 | 15874 | with options \\"\$ac_cs_config\\" |
15875 | 15875 |
48 | 48 | 'configure.ac' |
49 | 49 | ], |
50 | 50 | { |
51 | 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, | |
52 | 'LT_CMD_MAX_LEN' => 1, | |
53 | 'AM_MAKE_INCLUDE' => 1, | |
54 | 'AM_MAINTAINER_MODE' => 1, | |
55 | 'AM_SUBST_NOTMAKE' => 1, | |
56 | 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
57 | 'AC_LTDL_DLSYM_USCORE' => 1, | |
58 | '_IT_SUBST' => 1, | |
59 | 'AM_MISSING_PROG' => 1, | |
60 | '_LT_AC_LANG_CXX' => 1, | |
61 | 'LT_AC_PROG_GCJ' => 1, | |
62 | 'AC_LIBTOOL_DLOPEN' => 1, | |
51 | 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, | |
52 | '_AC_AM_CONFIG_HEADER_HOOK' => 1, | |
53 | 'AM_AUTOMAKE_VERSION' => 1, | |
54 | 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, | |
55 | '_LT_WITH_SYSROOT' => 1, | |
56 | '_LT_AC_LOCK' => 1, | |
57 | 'AM_PROG_CC_C_O' => 1, | |
58 | 'AM_SET_DEPDIR' => 1, | |
59 | 'AC_DISABLE_STATIC' => 1, | |
60 | 'AM_PROG_INSTALL_STRIP' => 1, | |
61 | '_LT_AC_LANG_C_CONFIG' => 1, | |
62 | 'AM_RUN_LOG' => 1, | |
63 | 'AC_PATH_MAGIC' => 1, | |
64 | '_AM_SET_OPTION' => 1, | |
65 | 'LT_OUTPUT' => 1, | |
66 | 'IT_PO_SUBDIR' => 1, | |
67 | 'AC_LTDL_OBJDIR' => 1, | |
68 | 'AM_PROG_LD' => 1, | |
69 | 'AC_LIBTOOL_DLOPEN_SELF' => 1, | |
70 | 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, | |
71 | 'AC_LIBTOOL_FC' => 1, | |
72 | 'AC_PROG_EGREP' => 1, | |
73 | '_LT_LINKER_BOILERPLATE' => 1, | |
74 | 'AM_GLIB_DEFINE_LOCALEDIR' => 1, | |
75 | 'AC_LIBTOOL_PROG_CC_C_O' => 1, | |
76 | '_LT_AC_TRY_DLOPEN_SELF' => 1, | |
77 | '_LT_LINKER_OPTION' => 1, | |
78 | '_LT_PROG_ECHO_BACKSLASH' => 1, | |
79 | 'AC_LIBLTDL_INSTALLABLE' => 1, | |
63 | 80 | '_AM_SUBST_NOTMAKE' => 1, |
64 | 'AC_LTDL_SYSSEARCHPATH' => 1, | |
65 | 'AC_LTDL_PREOPEN' => 1, | |
66 | 'AC_LTDL_ENABLE_INSTALL' => 1, | |
67 | 'AC_LIBTOOL_PROG_CC_C_O' => 1, | |
68 | '_LT_AC_SHELL_INIT' => 1, | |
69 | 'AM_INIT_AUTOMAKE' => 1, | |
70 | 'LT_PROG_GO' => 1, | |
71 | 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, | |
72 | 'LTDL_INIT' => 1, | |
73 | 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, | |
74 | 'AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE' => 1, | |
75 | 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, | |
76 | 'LT_LANG' => 1, | |
81 | 'AM_CHECK_PYMOD' => 1, | |
82 | 'LT_SYS_MODULE_PATH' => 1, | |
83 | '_LT_PROG_FC' => 1, | |
84 | 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, | |
85 | 'LT_FUNC_ARGZ' => 1, | |
86 | 'AC_LIBTOOL_LANG_C_CONFIG' => 1, | |
87 | 'LTSUGAR_VERSION' => 1, | |
88 | '_AM_IF_OPTION' => 1, | |
89 | '_LT_DLL_DEF_P' => 1, | |
90 | 'AM_PROG_NM' => 1, | |
91 | 'LT_LIB_M' => 1, | |
77 | 92 | '_LT_AC_SYS_LIBPATH_AIX' => 1, |
78 | 'LT_PATH_NM' => 1, | |
79 | '_LT_COMPILER_BOILERPLATE' => 1, | |
80 | 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, | |
81 | 'AM_AUX_DIR_EXPAND' => 1, | |
82 | '_LT_LIBOBJ' => 1, | |
83 | 'AC_PROG_LD' => 1, | |
84 | 'm4_pattern_forbid' => 1, | |
85 | 'AM_PROG_CC_C_O' => 1, | |
86 | 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, | |
87 | 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, | |
88 | 'AM_DISABLE_STATIC' => 1, | |
89 | 'LT_SYS_MODULE_PATH' => 1, | |
90 | 'LT_SYS_DLOPEN_SELF' => 1, | |
91 | '_LT_PROG_LTMAIN' => 1, | |
92 | 'AM_PROG_LIBTOOL' => 1, | |
93 | 'include' => 1, | |
94 | 'IT_PO_SUBDIR' => 1, | |
95 | 'AC_LIBTOOL_CXX' => 1, | |
96 | 'GLIB_GSETTINGS' => 1, | |
97 | '_LT_LINKER_OPTION' => 1, | |
98 | 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, | |
99 | 'AC_LIBTOOL_PROG_LD_SHLIBS' => 1, | |
100 | 'LT_INIT' => 1, | |
101 | 'AC_CONFIG_MACRO_DIR_TRACE' => 1, | |
102 | 'PKG_INSTALLDIR' => 1, | |
103 | '_AM_PROG_CC_C_O' => 1, | |
104 | 'PKG_CHECK_VAR' => 1, | |
105 | 'AC_CONFIG_MACRO_DIR' => 1, | |
93 | 'AC_LIBTOOL_PICMODE' => 1, | |
106 | 94 | 'AM_SANITY_CHECK' => 1, |
107 | 95 | 'AC_PROG_LIBTOOL' => 1, |
96 | 'AM_PROG_INSTALL_SH' => 1, | |
97 | 'LT_INIT' => 1, | |
108 | 98 | 'LTDL_INSTALLABLE' => 1, |
109 | 'LT_AC_PROG_SED' => 1, | |
110 | 'LT_WITH_LTDL' => 1, | |
111 | '_LT_PROG_CXX' => 1, | |
112 | 'AM_PROG_INSTALL_STRIP' => 1, | |
113 | 'AM_SET_DEPDIR' => 1, | |
114 | '_LT_PROG_FC' => 1, | |
115 | 'AC_LIBTOOL_GCJ' => 1, | |
116 | 'AM_PROG_LD' => 1, | |
117 | '_LT_LINKER_BOILERPLATE' => 1, | |
118 | 'AC_PATH_TOOL_PREFIX' => 1, | |
119 | 'AC_LIBTOOL_SYS_HARD_LINK_LOCKS' => 1, | |
120 | 'AC_LIBTOOL_LANG_GCJ_CONFIG' => 1, | |
121 | 'AC_DISABLE_STATIC' => 1, | |
99 | 'AM_INIT_AUTOMAKE' => 1, | |
122 | 100 | 'AC_LTDL_SYMBOL_USCORE' => 1, |
123 | '_LT_AC_FILE_LTDLL_C' => 1, | |
124 | 'AC_LIBTOOL_FC' => 1, | |
125 | 'AM_PYTHON_CHECK_VERSION' => 1, | |
126 | '_LT_COMPILER_OPTION' => 1, | |
127 | '_LT_AC_SYS_COMPILER' => 1, | |
128 | 'AM_SET_LEADING_DOT' => 1, | |
129 | 'AC_PROG_INTLTOOL' => 1, | |
130 | 'LT_LIB_M' => 1, | |
131 | 'GLIB_GNU_GETTEXT' => 1, | |
132 | 'LT_SUPPORTED_TAG' => 1, | |
133 | 'AC_LTDL_OBJDIR' => 1, | |
134 | '_LT_AC_LANG_RC_CONFIG' => 1, | |
135 | 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, | |
136 | 'AM_PATH_PYTHON' => 1, | |
137 | '_LT_AC_LANG_CXX_CONFIG' => 1, | |
138 | '_LT_DLL_DEF_P' => 1, | |
139 | 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, | |
140 | 'AC_LIBTOOL_COMPILER_OPTION' => 1, | |
141 | 'LT_CONFIG_LTDL_DIR' => 1, | |
142 | '_AM_SET_OPTION' => 1, | |
143 | '_LT_PROG_F77' => 1, | |
144 | 'LTSUGAR_VERSION' => 1, | |
145 | 'LT_OUTPUT' => 1, | |
146 | '_LT_PROG_ECHO_BACKSLASH' => 1, | |
147 | '_AM_CONFIG_MACRO_DIRS' => 1, | |
148 | '_AM_IF_OPTION' => 1, | |
149 | 'AC_LTDL_SHLIBEXT' => 1, | |
150 | 'm4_include' => 1, | |
151 | 'PKG_CHECK_MODULES_STATIC' => 1, | |
152 | 'AM_GLIB_GNU_GETTEXT' => 1, | |
153 | '_LTDL_SETUP' => 1, | |
154 | '_AM_PROG_TAR' => 1, | |
155 | 'LT_PROG_RC' => 1, | |
156 | '_LT_AC_LANG_GCJ_CONFIG' => 1, | |
157 | 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, | |
158 | 'LTVERSION_VERSION' => 1, | |
159 | 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, | |
160 | '_LT_AC_LANG_F77_CONFIG' => 1, | |
161 | 'AM_PROG_NM' => 1, | |
162 | '_PKG_SHORT_ERRORS_SUPPORTED' => 1, | |
163 | 'AM_GLIB_DEFINE_LOCALEDIR' => 1, | |
164 | 'AC_LIBTOOL_SETUP' => 1, | |
165 | 'LT_SYS_DLOPEN_DEPLIBS' => 1, | |
166 | 'GLIB_RUN_PROG' => 1, | |
167 | 'AC_ENABLE_FAST_INSTALL' => 1, | |
168 | 'AM_CONDITIONAL' => 1, | |
169 | 'AC_LIBTOOL_F77' => 1, | |
170 | 'AC_ENABLE_SHARED' => 1, | |
171 | '_LT_AC_TRY_DLOPEN_SELF' => 1, | |
172 | 'AC_LIBTOOL_CONFIG' => 1, | |
173 | 'm4_pattern_allow' => 1, | |
174 | 'AC_LIBTOOL_PICMODE' => 1, | |
175 | 'AM_PROG_INSTALL_SH' => 1, | |
176 | 'AS_AC_EXPAND' => 1, | |
177 | 'LT_LIB_DLLOAD' => 1, | |
178 | 'LT_SYS_MODULE_EXT' => 1, | |
179 | 'AC_LIBLTDL_INSTALLABLE' => 1, | |
180 | 'AC_LIBTOOL_LANG_C_CONFIG' => 1, | |
181 | 'AC_DEFUN' => 1, | |
182 | 'AC_LTDL_DLLIB' => 1, | |
183 | 'AC_DISABLE_SHARED' => 1, | |
184 | 'AM_NLS' => 1, | |
185 | 'AC_ENABLE_STATIC' => 1, | |
186 | 'AM_RUN_LOG' => 1, | |
187 | '_AM_DEPENDENCIES' => 1, | |
188 | 'AC_LIBLTDL_CONVENIENCE' => 1, | |
189 | '_LT_AC_TAGVAR' => 1, | |
190 | 'LT_PROG_GCJ' => 1, | |
191 | 'LTOBSOLETE_VERSION' => 1, | |
192 | 'PKG_PROG_PKG_CONFIG' => 1, | |
193 | 'AC_WITH_LTDL' => 1, | |
194 | 'AC_LIBTOOL_RC' => 1, | |
195 | 'AM_CHECK_PYMOD' => 1, | |
196 | 'AC_LIBTOOL_WIN32_DLL' => 1, | |
197 | '_LT_AC_LANG_C_CONFIG' => 1, | |
198 | 'AC_LIB_LTDL' => 1, | |
199 | 'LTOPTIONS_VERSION' => 1, | |
200 | 'AC_DEPLIBS_CHECK_METHOD' => 1, | |
201 | 'LT_FUNC_ARGZ' => 1, | |
202 | 'LT_PATH_LD' => 1, | |
203 | 'AM_MISSING_HAS_RUN' => 1, | |
204 | 'LT_FUNC_DLSYM_USCORE' => 1, | |
205 | 'AM_DEP_TRACK' => 1, | |
101 | 'LT_AC_PROG_EGREP' => 1, | |
102 | '_AM_PROG_CC_C_O' => 1, | |
103 | 'AC_LIBTOOL_DLOPEN' => 1, | |
206 | 104 | 'AM_SILENT_RULES' => 1, |
207 | 'AC_LIBTOOL_DLOPEN_SELF' => 1, | |
208 | '_GSETTINGS_SUBST' => 1, | |
209 | '_LT_AC_CHECK_DLFCN' => 1, | |
210 | 'LTDL_CONVENIENCE' => 1, | |
211 | '_LT_PREPARE_SED_QUOTE_VARS' => 1, | |
212 | 'AU_DEFUN' => 1, | |
213 | 'AC_CHECK_LIBM' => 1, | |
214 | 'AC_PROG_LD_RELOAD_FLAG' => 1, | |
215 | '_m4_warn' => 1, | |
216 | '_LT_CC_BASENAME' => 1, | |
217 | '_AM_MANGLE_OPTION' => 1, | |
218 | '_LT_AC_PROG_ECHO_BACKSLASH' => 1, | |
219 | '_LT_AC_TAGCONFIG' => 1, | |
220 | '_LT_REQUIRED_DARWIN_CHECKS' => 1, | |
221 | '_AM_SET_OPTIONS' => 1, | |
222 | 'LT_SYS_SYMBOL_USCORE' => 1, | |
223 | 'AM_DISABLE_SHARED' => 1, | |
224 | 'AC_DISABLE_FAST_INSTALL' => 1, | |
225 | '_AC_AM_CONFIG_HEADER_HOOK' => 1, | |
226 | 'AM_ENABLE_STATIC' => 1, | |
227 | 'LT_AC_PROG_EGREP' => 1, | |
228 | 'AM_AUTOMAKE_VERSION' => 1, | |
229 | 'AC_LIBTOOL_LINKER_OPTION' => 1, | |
230 | '_LT_AC_LANG_F77' => 1, | |
231 | 'AC_DEFUN_ONCE' => 1, | |
232 | '_AM_AUTOCONF_VERSION' => 1, | |
233 | 'AC_LIBTOOL_OBJDIR' => 1, | |
234 | 'IT_PROG_INTLTOOL' => 1, | |
235 | 'AC_PATH_MAGIC' => 1, | |
236 | 'AM_CHECK_PYTHON_HEADERS' => 1, | |
237 | '_LT_WITH_SYSROOT' => 1, | |
238 | 'AC_LTDL_SHLIBPATH' => 1, | |
239 | 105 | 'AM_ENABLE_SHARED' => 1, |
240 | 106 | '_AC_PROG_LIBTOOL' => 1, |
107 | 'AM_SET_LEADING_DOT' => 1, | |
108 | '_PKG_SHORT_ERRORS_SUPPORTED' => 1, | |
109 | 'm4_pattern_allow' => 1, | |
110 | 'AC_LIBTOOL_SETUP' => 1, | |
111 | 'AC_LIBTOOL_SYS_OLD_ARCHIVE' => 1, | |
112 | '_LT_AC_LANG_RC_CONFIG' => 1, | |
113 | 'LT_SYS_DLOPEN_SELF' => 1, | |
114 | 'LT_PROG_RC' => 1, | |
115 | '_AM_SET_OPTIONS' => 1, | |
116 | '_m4_warn' => 1, | |
117 | 'LT_WITH_LTDL' => 1, | |
118 | '_LT_COMPILER_BOILERPLATE' => 1, | |
119 | 'AM_DISABLE_SHARED' => 1, | |
120 | 'AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
121 | 'PKG_CHECK_EXISTS' => 1, | |
122 | '_LT_AC_FILE_LTDLL_C' => 1, | |
123 | '_LT_AC_LANG_GCJ_CONFIG' => 1, | |
124 | 'LT_SYS_DLOPEN_DEPLIBS' => 1, | |
125 | '_LTDL_SETUP' => 1, | |
241 | 126 | '_LT_AC_LANG_GCJ' => 1, |
127 | 'LT_PROG_GO' => 1, | |
128 | 'AC_LIBTOOL_LINKER_OPTION' => 1, | |
129 | '_LT_AC_LANG_CXX' => 1, | |
130 | 'AC_PROG_LD_GNU' => 1, | |
131 | 'AC_LIBTOOL_RC' => 1, | |
132 | 'AM_MAINTAINER_MODE' => 1, | |
133 | '_LT_PATH_TOOL_PREFIX' => 1, | |
134 | 'AM_PYTHON_CHECK_VERSION' => 1, | |
135 | '_LT_AC_LANG_CXX_CONFIG' => 1, | |
136 | 'AM_CHECK_PYTHON_HEADERS' => 1, | |
137 | 'AC_ENABLE_STATIC' => 1, | |
138 | 'AC_WITH_LTDL' => 1, | |
139 | 'LT_FUNC_DLSYM_USCORE' => 1, | |
140 | 'PKG_CHECK_MODULES' => 1, | |
141 | '_LT_CC_BASENAME' => 1, | |
142 | 'AM_MAKE_INCLUDE' => 1, | |
143 | 'LT_AC_PROG_RC' => 1, | |
144 | 'AC_PATH_TOOL_PREFIX' => 1, | |
145 | 'm4_include' => 1, | |
146 | 'AC_LIBTOOL_PROG_COMPILER_NO_RTTI' => 1, | |
147 | 'AC_LIBLTDL_CONVENIENCE' => 1, | |
148 | '_LT_AC_PROG_CXXCPP' => 1, | |
149 | 'AC_LTDL_SHLIBEXT' => 1, | |
150 | 'AC_DEPLIBS_CHECK_METHOD' => 1, | |
151 | 'AC_LIBTOOL_PROG_COMPILER_PIC' => 1, | |
152 | 'AM_DISABLE_STATIC' => 1, | |
153 | '_LT_AC_TAGVAR' => 1, | |
154 | '_LT_AC_SYS_COMPILER' => 1, | |
155 | 'AC_LTDL_ENABLE_INSTALL' => 1, | |
156 | 'AC_CONFIG_MACRO_DIR_TRACE' => 1, | |
157 | 'LT_PROG_GCJ' => 1, | |
158 | 'LTDL_INIT' => 1, | |
159 | 'PKG_CHECK_VAR' => 1, | |
242 | 160 | 'PKG_NOARCH_INSTALLDIR' => 1, |
243 | 'AC_PROG_EGREP' => 1, | |
244 | 'PKG_CHECK_MODULES' => 1, | |
161 | '_LT_REQUIRED_DARWIN_CHECKS' => 1, | |
162 | 'AC_CHECK_LIBM' => 1, | |
163 | 'AC_LIBTOOL_COMPILER_OPTION' => 1, | |
164 | 'LT_SYS_DLSEARCH_PATH' => 1, | |
165 | 'AM_CONDITIONAL' => 1, | |
166 | 'AM_NLS' => 1, | |
167 | '_AM_PROG_TAR' => 1, | |
168 | 'AC_DEFUN_ONCE' => 1, | |
169 | 'AC_LIBTOOL_CXX' => 1, | |
170 | 'LT_LIB_DLLOAD' => 1, | |
171 | 'AM_MISSING_HAS_RUN' => 1, | |
172 | 'AS_AC_EXPAND' => 1, | |
173 | '_AM_DEPENDENCIES' => 1, | |
174 | 'PKG_PROG_PKG_CONFIG' => 1, | |
175 | 'LT_AC_PROG_SED' => 1, | |
176 | 'AC_PROG_LD' => 1, | |
177 | '_LT_COMPILER_OPTION' => 1, | |
178 | '_LT_AC_CHECK_DLFCN' => 1, | |
179 | '_LT_PREPARE_SED_QUOTE_VARS' => 1, | |
180 | 'AC_LTDL_DLLIB' => 1, | |
181 | 'AC_LTDL_PREOPEN' => 1, | |
182 | 'AC_LIBTOOL_WIN32_DLL' => 1, | |
183 | 'AC_LIBTOOL_LANG_F77_CONFIG' => 1, | |
184 | 'AC_CONFIG_MACRO_DIR' => 1, | |
185 | 'LTOBSOLETE_VERSION' => 1, | |
186 | 'LT_SYS_SYMBOL_USCORE' => 1, | |
187 | 'PKG_INSTALLDIR' => 1, | |
188 | 'AC_PROG_INTLTOOL' => 1, | |
189 | 'AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH' => 1, | |
190 | '_IT_SUBST' => 1, | |
191 | 'AM_GLIB_GNU_GETTEXT' => 1, | |
192 | 'AC_LIBTOOL_CONFIG' => 1, | |
193 | 'AC_PROG_LD_RELOAD_FLAG' => 1, | |
194 | 'AC_ENABLE_FAST_INSTALL' => 1, | |
195 | 'LT_LANG' => 1, | |
196 | '_LT_AC_PROG_ECHO_BACKSLASH' => 1, | |
197 | 'AM_SET_CURRENT_AUTOMAKE_VERSION' => 1, | |
198 | '_AM_MANGLE_OPTION' => 1, | |
199 | '_LT_PROG_LTMAIN' => 1, | |
200 | 'AC_LIBTOOL_LANG_CXX_CONFIG' => 1, | |
201 | 'AM_PROG_LIBTOOL' => 1, | |
202 | 'AC_LIBTOOL_LANG_RC_CONFIG' => 1, | |
203 | 'LTDL_CONVENIENCE' => 1, | |
204 | 'AC_PROG_NM' => 1, | |
205 | 'PKG_CHECK_MODULES_STATIC' => 1, | |
206 | 'include' => 1, | |
207 | '_LT_AC_LANG_F77' => 1, | |
208 | 'AC_LIBTOOL_POSTDEP_PREDEP' => 1, | |
209 | '_LT_PROG_F77' => 1, | |
210 | '_AM_CONFIG_MACRO_DIRS' => 1, | |
211 | 'AC_DISABLE_FAST_INSTALL' => 1, | |
212 | '_LT_AC_TAGCONFIG' => 1, | |
213 | 'GLIB_RUN_PROG' => 1, | |
214 | 'LTVERSION_VERSION' => 1, | |
215 | 'AM_MISSING_PROG' => 1, | |
216 | '_LT_AC_LANG_F77_CONFIG' => 1, | |
217 | 'IT_PROG_INTLTOOL' => 1, | |
218 | 'AU_DEFUN' => 1, | |
219 | 'LT_PATH_LD' => 1, | |
220 | 'AC_LTDL_DLSYM_USCORE' => 1, | |
221 | 'AC_ENABLE_SHARED' => 1, | |
222 | '_GSETTINGS_SUBST' => 1, | |
223 | 'AC_LTDL_SYS_DLOPEN_DEPLIBS' => 1, | |
224 | '_LT_LIBOBJ' => 1, | |
225 | 'AC_LTDL_SHLIBPATH' => 1, | |
226 | 'GLIB_GSETTINGS' => 1, | |
227 | 'AC_DISABLE_SHARED' => 1, | |
228 | '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
229 | 'GLIB_GNU_GETTEXT' => 1, | |
230 | 'AM_DEP_TRACK' => 1, | |
231 | 'AC_LTDL_SYSSEARCHPATH' => 1, | |
232 | 'AM_ENABLE_STATIC' => 1, | |
233 | 'LT_PATH_NM' => 1, | |
234 | 'AC_DEFUN' => 1, | |
235 | 'AC_LIBTOOL_OBJDIR' => 1, | |
236 | 'LT_CONFIG_LTDL_DIR' => 1, | |
237 | 'm4_pattern_forbid' => 1, | |
238 | 'AC_LIB_LTDL' => 1, | |
239 | 'LT_SUPPORTED_TAG' => 1, | |
240 | 'AC_LIBTOOL_SYS_MAX_CMD_LEN' => 1, | |
241 | '_LT_AC_SHELL_INIT' => 1, | |
242 | 'AC_LIBTOOL_SYS_DYNAMIC_LINKER' => 1, | |
243 | 'AC_LIBTOOL_GCJ' => 1, | |
244 | 'AC_LIBTOOL_F77' => 1, | |
245 | '_LT_PROG_CXX' => 1, | |
246 | 'LTOPTIONS_VERSION' => 1, | |
247 | 'LT_AC_PROG_GCJ' => 1, | |
248 | 'AM_PATH_PYTHON' => 1, | |
245 | 249 | 'AC_LIBTOOL_SYS_LIB_STRIP' => 1, |
246 | 'LT_SYS_DLSEARCH_PATH' => 1, | |
247 | 'AC_PROG_NM' => 1, | |
248 | '_LT_PATH_TOOL_PREFIX' => 1, | |
249 | 'LT_AC_PROG_RC' => 1, | |
250 | 'AC_PROG_LD_GNU' => 1, | |
251 | 'PKG_CHECK_EXISTS' => 1, | |
252 | '_LT_AC_PROG_CXXCPP' => 1, | |
253 | '_AM_OUTPUT_DEPENDENCY_COMMANDS' => 1, | |
254 | '_LT_AC_LOCK' => 1 | |
250 | 'AM_AUX_DIR_EXPAND' => 1, | |
251 | 'LT_CMD_MAX_LEN' => 1, | |
252 | 'AM_SUBST_NOTMAKE' => 1, | |
253 | '_AM_AUTOCONF_VERSION' => 1, | |
254 | 'LT_SYS_MODULE_EXT' => 1 | |
255 | 255 | } |
256 | 256 | ], 'Autom4te::Request' ), |
257 | 257 | bless( [ |
266 | 266 | 'configure.ac' |
267 | 267 | ], |
268 | 268 | { |
269 | 'AC_CONFIG_HEADERS' => 1, | |
270 | 'AM_PROG_MOC' => 1, | |
271 | 'AC_CANONICAL_TARGET' => 1, | |
272 | '_AM_SUBST_NOTMAKE' => 1, | |
273 | 'AM_MAINTAINER_MODE' => 1, | |
274 | 'AM_MAKEFILE_INCLUDE' => 1, | |
275 | 'AC_CANONICAL_SYSTEM' => 1, | |
276 | 'm4_pattern_forbid' => 1, | |
277 | 'LT_CONFIG_LTDL_DIR' => 1, | |
269 | 278 | '_AM_COND_IF' => 1, |
270 | 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, | |
271 | 'AC_CONFIG_HEADERS' => 1, | |
279 | 'AC_CANONICAL_HOST' => 1, | |
280 | 'LT_SUPPORTED_TAG' => 1, | |
281 | 'AM_PROG_AR' => 1, | |
282 | 'AC_FC_PP_DEFINE' => 1, | |
283 | '_AM_COND_ENDIF' => 1, | |
284 | 'AC_CONFIG_AUX_DIR' => 1, | |
285 | 'AM_INIT_AUTOMAKE' => 1, | |
286 | 'AC_LIBSOURCE' => 1, | |
287 | 'AC_CONFIG_FILES' => 1, | |
288 | 'include' => 1, | |
289 | 'AM_EXTRA_RECURSIVE_TARGETS' => 1, | |
290 | 'AC_PROG_LIBTOOL' => 1, | |
291 | 'LT_INIT' => 1, | |
292 | 'AC_FC_FREEFORM' => 1, | |
293 | 'm4_include' => 1, | |
272 | 294 | '_AM_COND_ELSE' => 1, |
273 | 'AC_CANONICAL_SYSTEM' => 1, | |
274 | 'AC_PROG_LIBTOOL' => 1, | |
275 | 'AM_SILENT_RULES' => 1, | |
276 | 'AC_SUBST' => 1, | |
277 | 'AM_ENABLE_MULTILIB' => 1, | |
278 | 'AC_DEFINE_TRACE_LITERAL' => 1, | |
295 | 'AC_SUBST_TRACE' => 1, | |
296 | 'AM_POT_TOOLS' => 1, | |
297 | 'AC_CANONICAL_BUILD' => 1, | |
298 | 'AM_PROG_LIBTOOL' => 1, | |
279 | 299 | 'AC_FC_PP_SRCEXT' => 1, |
280 | 'AC_CANONICAL_BUILD' => 1, | |
281 | 'AM_PROG_FC_C_O' => 1, | |
282 | 'AM_MAKEFILE_INCLUDE' => 1, | |
283 | 'm4_include' => 1, | |
284 | 'AM_MAINTAINER_MODE' => 1, | |
285 | 'AC_INIT' => 1, | |
286 | '_LT_AC_TAGCONFIG' => 1, | |
287 | 'AM_POT_TOOLS' => 1, | |
288 | 'LT_SUPPORTED_TAG' => 1, | |
289 | 'AC_FC_PP_DEFINE' => 1, | |
290 | 'AM_AUTOMAKE_VERSION' => 1, | |
291 | 'AM_PROG_MKDIR_P' => 1, | |
292 | 'AM_PROG_CXX_C_O' => 1, | |
293 | 'AC_CANONICAL_TARGET' => 1, | |
294 | 'AC_LIBSOURCE' => 1, | |
295 | 'AM_PROG_MOC' => 1, | |
296 | '_m4_warn' => 1, | |
297 | '_AM_SUBST_NOTMAKE' => 1, | |
298 | 'AH_OUTPUT' => 1, | |
299 | 'AM_INIT_AUTOMAKE' => 1, | |
300 | 'm4_pattern_allow' => 1, | |
301 | 'AM_PROG_F77_C_O' => 1, | |
300 | 'AM_PATH_GUILE' => 1, | |
301 | 'AC_CONFIG_SUBDIRS' => 1, | |
302 | 'AM_PROG_CC_C_O' => 1, | |
302 | 303 | 'AM_XGETTEXT_OPTION' => 1, |
303 | 304 | 'AM_CONDITIONAL' => 1, |
304 | 'LT_CONFIG_LTDL_DIR' => 1, | |
305 | 'AC_CONFIG_SUBDIRS' => 1, | |
306 | 'AM_PROG_CC_C_O' => 1, | |
307 | 'AC_FC_FREEFORM' => 1, | |
308 | 'm4_pattern_forbid' => 1, | |
305 | '_AM_MAKEFILE_INCLUDE' => 1, | |
306 | 'm4_pattern_allow' => 1, | |
307 | 'AM_NLS' => 1, | |
308 | 'AM_PROG_FC_C_O' => 1, | |
309 | 'AM_GNU_GETTEXT_INTL_SUBDIR' => 1, | |
310 | 'AM_AUTOMAKE_VERSION' => 1, | |
311 | 'AM_PROG_CXX_C_O' => 1, | |
312 | '_LT_AC_TAGCONFIG' => 1, | |
313 | 'AM_SILENT_RULES' => 1, | |
314 | 'AC_FC_SRCEXT' => 1, | |
309 | 315 | 'AC_CONFIG_LINKS' => 1, |
316 | 'AM_PROG_MKDIR_P' => 1, | |
317 | 'sinclude' => 1, | |
318 | 'AH_OUTPUT' => 1, | |
310 | 319 | 'AC_REQUIRE_AUX_FILE' => 1, |
311 | 'AM_PATH_GUILE' => 1, | |
312 | 'AC_FC_SRCEXT' => 1, | |
313 | 'AM_NLS' => 1, | |
314 | '_AM_COND_ENDIF' => 1, | |
315 | '_AM_MAKEFILE_INCLUDE' => 1, | |
316 | 'AM_PROG_AR' => 1, | |
320 | '_m4_warn' => 1, | |
321 | 'AC_DEFINE_TRACE_LITERAL' => 1, | |
322 | 'm4_sinclude' => 1, | |
323 | 'AM_PROG_F77_C_O' => 1, | |
317 | 324 | 'AC_CONFIG_LIBOBJ_DIR' => 1, |
318 | 'AM_EXTRA_RECURSIVE_TARGETS' => 1, | |
319 | 'AC_CONFIG_FILES' => 1, | |
320 | 'AC_CANONICAL_HOST' => 1, | |
321 | 'LT_INIT' => 1, | |
322 | 325 | 'AM_GNU_GETTEXT' => 1, |
323 | 'include' => 1, | |
324 | 'AM_PROG_LIBTOOL' => 1, | |
325 | 'sinclude' => 1, | |
326 | 'm4_sinclude' => 1, | |
327 | 'AC_CONFIG_AUX_DIR' => 1, | |
328 | 'AC_SUBST_TRACE' => 1 | |
326 | 'AM_ENABLE_MULTILIB' => 1, | |
327 | 'AC_INIT' => 1, | |
328 | 'AC_SUBST' => 1 | |
329 | 329 | } |
330 | 330 | ], 'Autom4te::Request' ) |
331 | 331 | ); |
1 | 1 | m4trace:aclocal.m4:10838: -1- AC_SUBST_TRACE([am__quote]) |
2 | 2 | m4trace:aclocal.m4:10838: -1- m4_pattern_allow([^am__quote$]) |
3 | 3 | m4trace:aclocal.m4:11533: -1- m4_include([acinclude.m4]) |
4 | m4trace:configure.ac:3: -1- AC_INIT([blueman], [2.1], [https://github.com/blueman-project/blueman/issues]) | |
4 | m4trace:configure.ac:3: -1- AC_INIT([blueman], [2.1.1], [https://github.com/blueman-project/blueman/issues]) | |
5 | 5 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^_?A[CHUM]_]) |
6 | 6 | m4trace:configure.ac:3: -1- m4_pattern_forbid([_AC_]) |
7 | 7 | m4trace:configure.ac:3: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) |
118 | 118 | row = self.get(tree_iter, "device") |
119 | 119 | dev = row["device"] |
120 | 120 | |
121 | self.device_remove_event(dev, tree_iter) | |
121 | self.device_remove_event(dev) | |
122 | 122 | |
123 | 123 | def on_selection_changed(self, selection): |
124 | 124 | _model, tree_iter = selection.get_selected() |
215 | 215 | def device_add_event(self, device): |
216 | 216 | self.add_device(device) |
217 | 217 | |
218 | def device_remove_event(self, device, tree_iter): | |
218 | def device_remove_event(self, device): | |
219 | 219 | logging.debug(device) |
220 | if tree_iter is None: | |
221 | tree_iter = self.find_device(device) | |
220 | tree_iter = self.find_device(device) | |
222 | 221 | |
223 | 222 | if self.compare(self.selected(), tree_iter): |
224 | 223 | self.emit("device-selected", None, None) |
230 | 229 | def set_adapter(self, adapter=None): |
231 | 230 | self.clear() |
232 | 231 | if self.discovering: |
232 | self.stop_discovery() | |
233 | 233 | self.emit("adapter-property-changed", self.Adapter, ("Discovering", False)) |
234 | self.stop_discovery() | |
235 | 234 | |
236 | 235 | adapter = adapter_path_to_name(adapter) |
237 | 236 | |
238 | logging.debug(adapter) | |
239 | ||
240 | # The pattern may be incorrect (ie removed adapter), see #590 | |
241 | try: | |
242 | self.Adapter = self.manager.get_adapter(adapter) | |
243 | except bluez.errors.DBusNoSuchAdapterError: | |
244 | logging.info('Adapter pattern not valid, trying default adapter.') | |
245 | ||
246 | try: | |
247 | self.Adapter = self.manager.get_adapter() | |
248 | self.__adapter_path = self.Adapter.get_object_path() | |
249 | except bluez.errors.DBusNoSuchAdapterError as e: | |
250 | logging.exception(e) | |
251 | self.Adapter = None | |
252 | self.__adapter_path = None | |
253 | finally: | |
254 | self.emit("adapter-changed", None) | |
237 | logging.debug("Setting adapter to: %s " % adapter) | |
238 | ||
239 | if adapter is not None: | |
240 | try: | |
241 | self.Adapter = self.manager.get_adapter(adapter) | |
242 | self.__adapter_path = self.Adapter.get_object_path() | |
243 | self.emit("adapter-changed", self.__adapter_path) | |
244 | except bluez.errors.DBusNoSuchAdapterError: | |
245 | logging.warning('Failed to set adapter, trying first available.') | |
246 | self.set_adapter(None) | |
247 | return | |
248 | else: | |
249 | adapters = self.manager.get_adapters() | |
250 | if len(adapters) > 0: | |
251 | self.Adapter = adapters[0] | |
252 | self.__adapter_path = self.Adapter.get_object_path() | |
253 | else: | |
254 | self.Adapter = None | |
255 | self.__adapter_path = None | |
256 | ||
257 | self.emit("adapter-changed", self.__adapter_path) | |
255 | 258 | |
256 | 259 | def update_progress(self, time, totaltime): |
257 | 260 | if not self.discovering: |
332 | 335 | for i in self.liststore: |
333 | 336 | tree_iter = i.iter |
334 | 337 | device = self.get(tree_iter, "device")["device"] |
335 | self.device_remove_event(device, tree_iter) | |
338 | self.device_remove_event(device) | |
336 | 339 | self.liststore.clear() |
337 | 340 | self.emit("device-selected", None, None) |
338 | 341 | |
344 | 347 | row = self.path_to_row[object_path] |
345 | 348 | if row.valid(): |
346 | 349 | path = row.get_path() |
347 | tree_iter = self.get_model().get_iter(path) | |
350 | tree_iter = self.liststore.get_iter(path) | |
348 | 351 | return tree_iter |
349 | 352 | else: |
350 | 353 | del self.path_to_row[object_path] |
358 | 361 | row = self.path_to_row[path] |
359 | 362 | if row.valid(): |
360 | 363 | path = row.get_path() |
361 | tree_iter = self.get_model().get_iter(path) | |
364 | tree_iter = self.liststore.get_iter(path) | |
362 | 365 | return tree_iter |
363 | 366 | else: |
364 | 367 | del self.path_to_row[path] |
383 | 386 | |
384 | 387 | if object_path: |
385 | 388 | logging.info("Caching new device %s" % object_path) |
386 | self.path_to_row[object_path] = Gtk.TreeRowReference.new(self.get_model(), | |
387 | self.get_model().get_path(tree_iter)) | |
389 | self.path_to_row[object_path] = Gtk.TreeRowReference.new(self.liststore, | |
390 | self.liststore.get_path(tree_iter)) | |
388 | 391 | |
389 | 392 | def append(self, **columns): |
390 | 393 | tree_iter = GenericList.append(self, **columns) |
201 | 201 | |
202 | 202 | return target |
203 | 203 | |
204 | def device_remove_event(self, device, tree_iter): | |
204 | def device_remove_event(self, device): | |
205 | tree_iter = self.find_device(device) | |
206 | ||
205 | 207 | row_fader = self.get(tree_iter, "row_fader")["row_fader"] |
206 | ||
207 | def on_finished(fader): | |
208 | ||
209 | fader.disconnect(signal) | |
210 | fader.freeze() | |
211 | super().device_remove_event(device, tree_iter) | |
212 | ||
213 | signal = row_fader.connect("animation-finished", on_finished) | |
208 | row_fader.connect("animation-finished", self.__on_fader_finished, device, tree_iter) | |
214 | 209 | row_fader.thaw() |
215 | 210 | self.emit("device-selected", None, None) |
216 | 211 | row_fader.animate(start=row_fader.get_state(), end=0.0, duration=400) |
212 | ||
213 | def __on_fader_finished(self, fader, device, tree_iter): | |
214 | fader.disconnect_by_func(self.__on_fader_finished) | |
215 | fader.freeze() | |
216 | super().device_remove_event(device) | |
217 | 217 | |
218 | 218 | def device_add_event(self, device): |
219 | 219 | self.add_device(device) |
110 | 110 | check_bluetooth_status(_("Bluetooth needs to be turned on for the device manager to function"), |
111 | 111 | lambda: Gtk.main_quit()) |
112 | 112 | |
113 | manager = bluez.Manager() | |
113 | 114 | try: |
114 | bluez.Manager().get_adapter(self.Config['last-adapter']) | |
115 | manager.get_adapter(self.Config['last-adapter']) | |
115 | 116 | except bluez.errors.DBusNoSuchAdapterError: |
116 | logging.error('No bluetooth adapter(s) found.') | |
117 | exit(1) | |
117 | logging.error('Default adapter not found, trying first available.') | |
118 | try: | |
119 | manager.get_adapter(None) | |
120 | except bluez.errors.DBusNoSuchAdapterError: | |
121 | logging.error('No adapter(s) found, exiting') | |
122 | exit(1) | |
118 | 123 | |
119 | 124 | self._applet_sig = self.Applet.connect('g-signal', on_applet_signal) |
120 | 125 |
208 | 208 | item["mitem"]["sensitive"] = True |
209 | 209 | self.parent.Plugins.Menu.on_menu_changed() |
210 | 210 | |
211 | self.parent.DbusSvc.connect_service(item["device"], item["uuid"], reply, err) | |
211 | self.parent.Plugins.DBusService.connect_service(item["device"], item["uuid"], reply, err) | |
212 | 212 | |
213 | 213 | def add_item(self, item): |
214 | 214 | if not item["mitem"]: |
70 | 70 | ('AddressType', None), |
71 | 71 | ('Name', None), |
72 | 72 | ('Alias', None), |
73 | ('Class', lambda x: x and "0x{:06x}".format(x)), | |
73 | ('Class', lambda x: "0x{:06x}".format(x)), | |
74 | 74 | ('Appearance', lambda x: "0x{:04x}".format(x)), |
75 | 75 | ('Icon', None), |
76 | 76 | ('Paired', format_boolean), |
82 | 82 | ('UUIDs', format_uuids), |
83 | 83 | ('Modalias', None), |
84 | 84 | ('Adapter', None), |
85 | ('ManufacturerData', None), | |
86 | ('ServiceData', None), | |
87 | ('AdvertisingData', None) | |
85 | # FIXME below 3 we need some sample data to decode and display properly | |
86 | ('ManufacturerData', str), | |
87 | ('ServiceData', str), | |
88 | ('AdvertisingData', str) | |
88 | 89 | ) |
89 | 90 | for name, func in properties: |
90 | 91 | try: |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for blueman 2.1. | |
2 | # Generated by GNU Autoconf 2.69 for blueman 2.1.1. | |
3 | 3 | # |
4 | 4 | # Report bugs to <https://github.com/blueman-project/blueman/issues>. |
5 | 5 | # |
589 | 589 | # Identity of this package. |
590 | 590 | PACKAGE_NAME='blueman' |
591 | 591 | PACKAGE_TARNAME='blueman' |
592 | PACKAGE_VERSION='2.1' | |
593 | PACKAGE_STRING='blueman 2.1' | |
592 | PACKAGE_VERSION='2.1.1' | |
593 | PACKAGE_STRING='blueman 2.1.1' | |
594 | 594 | PACKAGE_BUGREPORT='https://github.com/blueman-project/blueman/issues' |
595 | 595 | PACKAGE_URL='' |
596 | 596 | |
1466 | 1466 | # Omit some internal or obsolete options to make the list less imposing. |
1467 | 1467 | # This message is too long to be a string in the A/UX 3.1 sh. |
1468 | 1468 | cat <<_ACEOF |
1469 | \`configure' configures blueman 2.1 to adapt to many kinds of systems. | |
1469 | \`configure' configures blueman 2.1.1 to adapt to many kinds of systems. | |
1470 | 1470 | |
1471 | 1471 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1472 | 1472 | |
1537 | 1537 | |
1538 | 1538 | if test -n "$ac_init_help"; then |
1539 | 1539 | case $ac_init_help in |
1540 | short | recursive ) echo "Configuration of blueman 2.1:";; | |
1540 | short | recursive ) echo "Configuration of blueman 2.1.1:";; | |
1541 | 1541 | esac |
1542 | 1542 | cat <<\_ACEOF |
1543 | 1543 | |
1700 | 1700 | test -n "$ac_init_help" && exit $ac_status |
1701 | 1701 | if $ac_init_version; then |
1702 | 1702 | cat <<\_ACEOF |
1703 | blueman configure 2.1 | |
1703 | blueman configure 2.1.1 | |
1704 | 1704 | generated by GNU Autoconf 2.69 |
1705 | 1705 | |
1706 | 1706 | Copyright (C) 2012 Free Software Foundation, Inc. |
2069 | 2069 | This file contains any messages produced by compilers while |
2070 | 2070 | running configure, to aid debugging if configure makes a mistake. |
2071 | 2071 | |
2072 | It was created by blueman $as_me 2.1, which was | |
2072 | It was created by blueman $as_me 2.1.1, which was | |
2073 | 2073 | generated by GNU Autoconf 2.69. Invocation command line was |
2074 | 2074 | |
2075 | 2075 | $ $0 $@ |
2935 | 2935 | |
2936 | 2936 | # Define the identity of the package. |
2937 | 2937 | PACKAGE='blueman' |
2938 | VERSION='2.1' | |
2938 | VERSION='2.1.1' | |
2939 | 2939 | |
2940 | 2940 | |
2941 | 2941 | cat >>confdefs.h <<_ACEOF |
15803 | 15803 | # report actual input values of CONFIG_FILES etc. instead of their |
15804 | 15804 | # values after options handling. |
15805 | 15805 | ac_log=" |
15806 | This file was extended by blueman $as_me 2.1, which was | |
15806 | This file was extended by blueman $as_me 2.1.1, which was | |
15807 | 15807 | generated by GNU Autoconf 2.69. Invocation command line was |
15808 | 15808 | |
15809 | 15809 | CONFIG_FILES = $CONFIG_FILES |
15869 | 15869 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
15870 | 15870 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
15871 | 15871 | ac_cs_version="\\ |
15872 | blueman config.status 2.1 | |
15872 | blueman config.status 2.1.1 | |
15873 | 15873 | configured by $0, generated by GNU Autoconf 2.69, |
15874 | 15874 | with options \\"\$ac_cs_config\\" |
15875 | 15875 |