Update upstream source from tag 'upstream/2.4'
Update to upstream version '2.4'
with Debian dir ade02c66cf1c4f0608530373645443e2b026da50
Ritesh Raj Sarraf
6 years ago
301 | 301 | docdir = @docdir@ |
302 | 302 | dvidir = @dvidir@ |
303 | 303 | exec_prefix = @exec_prefix@ |
304 | geoclue_user = @geoclue_user@ | |
304 | 305 | host = @host@ |
305 | 306 | host_alias = @host_alias@ |
306 | 307 | host_cpu = @host_cpu@ |
0 | 2.4 | |
1 | --- | |
2 | ||
3 | This release fixes data being incorrectly read from sensors due to | |
4 | a naively broken compilation fix. It also supports Geoclue running | |
5 | as a different user than "geoclue". | |
6 | ||
0 | 7 | 2.3 |
1 | 8 | --- |
2 | 9 |
92 | 92 | made iio-sensor-proxy fail to see any events coming from sensors until the |
93 | 93 | sensor was power-cycled (unplugged and replugged, or suspended and resumed). |
94 | 94 | |
95 | The bug was finally fixed in [this commit](https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?h=fixes-togreg&id=eafad73ed3851707fa6e3124a255fc049ff9545d) | |
95 | The bug was finally fixed in [this commit](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f1664eaacec31035450132c46ed2915fd2b2049a) | |
96 | 96 | in the upstream kernel and backported to stable releases. If you experience |
97 | 97 | unresponsive sensors, ask your distributor to make sure this patch was |
98 | 98 | applied to the version you're using. |
116 | 116 | - Dell Inspiron 13 7000 |
117 | 117 | - Dell Venue 11 Pro (7140) |
118 | 118 | - Dell Venue 8 Pro |
119 | - Dell XPS 9365 | |
119 | 120 | - HP Pavilion X360 |
120 | 121 | - HP Spectre x360 (Kaby Lake) |
121 | 122 | - Lenovo IdeaPad Yoga 13 |
125 | 126 | - Lenovo Yoga 2 13" and 11" |
126 | 127 | - Lenovo Yoga 2 Pro |
127 | 128 | - Lenovo Yoga 460 |
129 | - Lenovo Yoga 710-11ISK | |
128 | 130 | - Lenovo Yoga 900 |
129 | 131 | - Microsoft Surface Pro 2 |
130 | 132 | - Onda v975w |
92 | 92 | made iio-sensor-proxy fail to see any events coming from sensors until the |
93 | 93 | sensor was power-cycled (unplugged and replugged, or suspended and resumed). |
94 | 94 | |
95 | The bug was finally fixed in [this commit](https://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git/commit/?h=fixes-togreg&id=eafad73ed3851707fa6e3124a255fc049ff9545d) | |
95 | The bug was finally fixed in [this commit](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=f1664eaacec31035450132c46ed2915fd2b2049a) | |
96 | 96 | in the upstream kernel and backported to stable releases. If you experience |
97 | 97 | unresponsive sensors, ask your distributor to make sure this patch was |
98 | 98 | applied to the version you're using. |
116 | 116 | - Dell Inspiron 13 7000 |
117 | 117 | - Dell Venue 11 Pro (7140) |
118 | 118 | - Dell Venue 8 Pro |
119 | - Dell XPS 9365 | |
119 | 120 | - HP Pavilion X360 |
120 | 121 | - HP Spectre x360 (Kaby Lake) |
121 | 122 | - Lenovo IdeaPad Yoga 13 |
125 | 126 | - Lenovo Yoga 2 13" and 11" |
126 | 127 | - Lenovo Yoga 2 Pro |
127 | 128 | - Lenovo Yoga 460 |
129 | - Lenovo Yoga 710-11ISK | |
128 | 130 | - Lenovo Yoga 900 |
129 | 131 | - Microsoft Surface Pro 2 |
130 | 132 | - Onda v975w |
0 | 0 | #! /bin/sh |
1 | 1 | # Guess values for system-dependent variables and create Makefiles. |
2 | # Generated by GNU Autoconf 2.69 for iio-sensor-proxy 2.3. | |
2 | # Generated by GNU Autoconf 2.69 for iio-sensor-proxy 2.4. | |
3 | 3 | # |
4 | 4 | # Report bugs to <hadess@hadess.net>. |
5 | 5 | # |
579 | 579 | # Identity of this package. |
580 | 580 | PACKAGE_NAME='iio-sensor-proxy' |
581 | 581 | PACKAGE_TARNAME='iio-sensor-proxy' |
582 | PACKAGE_VERSION='2.3' | |
583 | PACKAGE_STRING='iio-sensor-proxy 2.3' | |
582 | PACKAGE_VERSION='2.4' | |
583 | PACKAGE_STRING='iio-sensor-proxy 2.4' | |
584 | 584 | PACKAGE_BUGREPORT='hadess@hadess.net' |
585 | 585 | PACKAGE_URL='' |
586 | 586 | |
589 | 589 | LTLIBOBJS |
590 | 590 | LIBOBJS |
591 | 591 | GDBUS_CODEGEN |
592 | geoclue_user | |
592 | 593 | IIO_SENSOR_PROXY_LIBS |
593 | 594 | IIO_SENSOR_PROXY_CFLAGS |
594 | 595 | HAVE_GTK_TESTS_FALSE |
728 | 729 | with_udevrulesdir |
729 | 730 | with_systemdsystemunitdir |
730 | 731 | enable_gtk_tests |
732 | with_geoclue_user | |
731 | 733 | ' |
732 | 734 | ac_precious_vars='build_alias |
733 | 735 | host_alias |
1286 | 1288 | # Omit some internal or obsolete options to make the list less imposing. |
1287 | 1289 | # This message is too long to be a string in the A/UX 3.1 sh. |
1288 | 1290 | cat <<_ACEOF |
1289 | \`configure' configures iio-sensor-proxy 2.3 to adapt to many kinds of systems. | |
1291 | \`configure' configures iio-sensor-proxy 2.4 to adapt to many kinds of systems. | |
1290 | 1292 | |
1291 | 1293 | Usage: $0 [OPTION]... [VAR=VALUE]... |
1292 | 1294 | |
1357 | 1359 | |
1358 | 1360 | if test -n "$ac_init_help"; then |
1359 | 1361 | case $ac_init_help in |
1360 | short | recursive ) echo "Configuration of iio-sensor-proxy 2.3:";; | |
1362 | short | recursive ) echo "Configuration of iio-sensor-proxy 2.4:";; | |
1361 | 1363 | esac |
1362 | 1364 | cat <<\_ACEOF |
1363 | 1365 | |
1386 | 1388 | --with-udevrulesdir=DIR Directory for udev rules |
1387 | 1389 | --with-systemdsystemunitdir=DIR |
1388 | 1390 | Directory for systemd service files |
1391 | --with-geoclue-user=USER | |
1392 | The USER (existing) as which geoclue service is | |
1393 | running (default: geoclue) | |
1389 | 1394 | |
1390 | 1395 | Some influential environment variables: |
1391 | 1396 | CC C compiler command |
1479 | 1484 | test -n "$ac_init_help" && exit $ac_status |
1480 | 1485 | if $ac_init_version; then |
1481 | 1486 | cat <<\_ACEOF |
1482 | iio-sensor-proxy configure 2.3 | |
1487 | iio-sensor-proxy configure 2.4 | |
1483 | 1488 | generated by GNU Autoconf 2.69 |
1484 | 1489 | |
1485 | 1490 | Copyright (C) 2012 Free Software Foundation, Inc. |
1580 | 1585 | This file contains any messages produced by compilers while |
1581 | 1586 | running configure, to aid debugging if configure makes a mistake. |
1582 | 1587 | |
1583 | It was created by iio-sensor-proxy $as_me 2.3, which was | |
1588 | It was created by iio-sensor-proxy $as_me 2.4, which was | |
1584 | 1589 | generated by GNU Autoconf 2.69. Invocation command line was |
1585 | 1590 | |
1586 | 1591 | $ $0 $@ |
2459 | 2464 | |
2460 | 2465 | # Define the identity of the package. |
2461 | 2466 | PACKAGE='iio-sensor-proxy' |
2462 | VERSION='2.3' | |
2467 | VERSION='2.4' | |
2463 | 2468 | |
2464 | 2469 | |
2465 | 2470 | cat >>confdefs.h <<_ACEOF |
5752 | 5757 | |
5753 | 5758 | fi |
5754 | 5759 | |
5760 | ||
5761 | # Check whether --with-geoclue-user was given. | |
5762 | if test "${with_geoclue_user+set}" = set; then : | |
5763 | withval=$with_geoclue_user; geoclue_user="$with_geoclue_user" | |
5764 | else | |
5765 | geoclue_user="geoclue" | |
5766 | fi | |
5767 | ||
5768 | ||
5769 | ||
5755 | 5770 | # Extract the first word of "gdbus-codegen", so it can be a program name with args. |
5756 | 5771 | set dummy gdbus-codegen; ac_word=$2 |
5757 | 5772 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5 |
6389 | 6404 | # report actual input values of CONFIG_FILES etc. instead of their |
6390 | 6405 | # values after options handling. |
6391 | 6406 | ac_log=" |
6392 | This file was extended by iio-sensor-proxy $as_me 2.3, which was | |
6407 | This file was extended by iio-sensor-proxy $as_me 2.4, which was | |
6393 | 6408 | generated by GNU Autoconf 2.69. Invocation command line was |
6394 | 6409 | |
6395 | 6410 | CONFIG_FILES = $CONFIG_FILES |
6446 | 6461 | cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 |
6447 | 6462 | ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" |
6448 | 6463 | ac_cs_version="\\ |
6449 | iio-sensor-proxy config.status 2.3 | |
6464 | iio-sensor-proxy config.status 2.4 | |
6450 | 6465 | configured by $0, generated by GNU Autoconf 2.69, |
6451 | 6466 | with options \\"\$ac_cs_config\\" |
6452 | 6467 |
0 | 0 | AC_PREREQ(2.59) |
1 | 1 | |
2 | AC_INIT([iio-sensor-proxy], [2.3], [hadess@hadess.net]) | |
2 | AC_INIT([iio-sensor-proxy], [2.4], [hadess@hadess.net]) | |
3 | 3 | |
4 | 4 | AX_IS_RELEASE([git-directory]) |
5 | 5 | |
50 | 50 | |
51 | 51 | PKG_CHECK_MODULES(IIO_SENSOR_PROXY, gio-2.0 gudev-1.0 >= 232) |
52 | 52 | |
53 | AC_ARG_WITH(geoclue-user, | |
54 | AS_HELP_STRING([--with-geoclue-user=USER], | |
55 | [The USER (existing) as which geoclue service is running (default: geoclue)]), | |
56 | geoclue_user="$with_geoclue_user", | |
57 | geoclue_user="geoclue") | |
58 | AC_SUBST(geoclue_user) | |
59 | ||
53 | 60 | AC_PATH_PROG([GDBUS_CODEGEN],[gdbus-codegen]) |
54 | 61 | |
55 | 62 | AC_CONFIG_FILES([ |
8 | 8 | dbusconfdir = $(sysconfdir)/dbus-1/system.d |
9 | 9 | dbusconf_DATA = net.hadess.SensorProxy.conf |
10 | 10 | |
11 | CLEANFILES = iio-sensor-proxy.service | |
12 | EXTRA_DIST = $(udevrules_DATA) $(dbusconf_DATA) $(systemdservice_in_files) | |
11 | net.hadess.SensorProxy.conf: net.hadess.SensorProxy.conf.in Makefile | |
12 | @sed -e "s|\@geoclue_user\@|$(geoclue_user)|" $< > $@ | |
13 | ||
14 | ||
15 | CLEANFILES = iio-sensor-proxy.service net.hadess.SensorProxy.conf | |
16 | EXTRA_DIST = $(udevrules_DATA) $(dbusconf_DATA) $(systemdservice_in_files) net.hadess.SensorProxy.conf.in |
244 | 244 | docdir = @docdir@ |
245 | 245 | dvidir = @dvidir@ |
246 | 246 | exec_prefix = @exec_prefix@ |
247 | geoclue_user = @geoclue_user@ | |
247 | 248 | host = @host@ |
248 | 249 | host_alias = @host_alias@ |
249 | 250 | host_cpu = @host_cpu@ |
280 | 281 | systemdservice_DATA = iio-sensor-proxy.service |
281 | 282 | dbusconfdir = $(sysconfdir)/dbus-1/system.d |
282 | 283 | dbusconf_DATA = net.hadess.SensorProxy.conf |
283 | CLEANFILES = iio-sensor-proxy.service | |
284 | EXTRA_DIST = $(udevrules_DATA) $(dbusconf_DATA) $(systemdservice_in_files) | |
284 | CLEANFILES = iio-sensor-proxy.service net.hadess.SensorProxy.conf | |
285 | EXTRA_DIST = $(udevrules_DATA) $(dbusconf_DATA) $(systemdservice_in_files) net.hadess.SensorProxy.conf.in | |
285 | 286 | all: all-am |
286 | 287 | |
287 | 288 | .SUFFIXES: |
541 | 542 | iio-sensor-proxy.service: iio-sensor-proxy.service.in Makefile |
542 | 543 | $(AM_V_GEN) $(SED) -e "s|\@sbindir\@|$(sbindir)|" $< > $@ |
543 | 544 | |
545 | net.hadess.SensorProxy.conf: net.hadess.SensorProxy.conf.in Makefile | |
546 | @sed -e "s|\@geoclue_user\@|$(geoclue_user)|" $< > $@ | |
547 | ||
544 | 548 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
545 | 549 | # Otherwise a system limit (for SysV at least) may be exceeded. |
546 | 550 | .NOEXPORT: |
0 | <?xml version="1.0" encoding="UTF-8"?> <!-- -*- XML -*- --> | |
1 | ||
2 | <!DOCTYPE busconfig PUBLIC | |
3 | "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN" | |
4 | "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd"> | |
5 | <busconfig> | |
6 | ||
7 | <!-- Only root can own the service --> | |
8 | <policy user="root"> | |
9 | <allow own="net.hadess.SensorProxy"/> | |
10 | </policy> | |
11 | ||
12 | <!-- Only Geoclue can access the compass --> | |
13 | <policy user="@geoclue_user@"> | |
14 | <allow send_destination="net.hadess.SensorProxy" send_interface="net.hadess.SensorProxy.Compass" send_path="/net/hadess/SensorProxy/Compass"/> | |
15 | <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Introspectable" send_path="/net/hadess/SensorProxy/Compass"/> | |
16 | <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Properties" send_path="/net/hadess/SensorProxy/Compass"/> | |
17 | <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Peer" send_path="/net/hadess/SensorProxy/Compass"/> | |
18 | </policy> | |
19 | ||
20 | <!-- Anyone can talk to the main interface --> | |
21 | <policy context="default"> | |
22 | <allow send_destination="net.hadess.SensorProxy" send_interface="net.hadess.SensorProxy"/> | |
23 | <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Introspectable"/> | |
24 | <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Properties"/> | |
25 | <allow send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Peer"/> | |
26 | <deny send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Introspectable" send_path="/net/hadess/SensorProxy/Compass"/> | |
27 | <deny send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Properties" send_path="/net/hadess/SensorProxy/Compass"/> | |
28 | <deny send_destination="net.hadess.SensorProxy" send_interface="org.freedesktop.DBus.Peer" send_path="/net/hadess/SensorProxy/Compass"/> | |
29 | <!-- <deny send_destination="net.hadess.SensorProxy" send_interface="net.hadess.SensorProxy.Compass"/> --> | |
30 | </policy> | |
31 | ||
32 | </busconfig> |
220 | 220 | docdir = @docdir@ |
221 | 221 | dvidir = @dvidir@ |
222 | 222 | exec_prefix = @exec_prefix@ |
223 | geoclue_user = @geoclue_user@ | |
223 | 224 | host = @host@ |
224 | 225 | host_alias = @host_alias@ |
225 | 226 | host_cpu = @host_cpu@ |
345 | 346 | @GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp |
346 | 347 | |
347 | 348 | #### setup #### |
348 | GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_$(V)) | |
349 | GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY)) | |
349 | GTK_DOC_V_SETUP = $(GTK_DOC_V_SETUP_@AM_V@) | |
350 | GTK_DOC_V_SETUP_ = $(GTK_DOC_V_SETUP_@AM_DEFAULT_V@) | |
350 | 351 | GTK_DOC_V_SETUP_0 = @echo " DOC Preparing build"; |
351 | 352 | |
352 | 353 | #### scan #### |
353 | GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_$(V)) | |
354 | GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY)) | |
354 | GTK_DOC_V_SCAN = $(GTK_DOC_V_SCAN_@AM_V@) | |
355 | GTK_DOC_V_SCAN_ = $(GTK_DOC_V_SCAN_@AM_DEFAULT_V@) | |
355 | 356 | GTK_DOC_V_SCAN_0 = @echo " DOC Scanning header files"; |
356 | GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_$(V)) | |
357 | GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY)) | |
357 | GTK_DOC_V_INTROSPECT = $(GTK_DOC_V_INTROSPECT_@AM_V@) | |
358 | GTK_DOC_V_INTROSPECT_ = $(GTK_DOC_V_INTROSPECT_@AM_DEFAULT_V@) | |
358 | 359 | GTK_DOC_V_INTROSPECT_0 = @echo " DOC Introspecting gobjects"; |
359 | 360 | |
360 | 361 | #### xml #### |
361 | GTK_DOC_V_XML = $(GTK_DOC_V_XML_$(V)) | |
362 | GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY)) | |
362 | GTK_DOC_V_XML = $(GTK_DOC_V_XML_@AM_V@) | |
363 | GTK_DOC_V_XML_ = $(GTK_DOC_V_XML_@AM_DEFAULT_V@) | |
363 | 364 | GTK_DOC_V_XML_0 = @echo " DOC Building XML"; |
364 | 365 | |
365 | 366 | #### html #### |
366 | GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_$(V)) | |
367 | GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY)) | |
367 | GTK_DOC_V_HTML = $(GTK_DOC_V_HTML_@AM_V@) | |
368 | GTK_DOC_V_HTML_ = $(GTK_DOC_V_HTML_@AM_DEFAULT_V@) | |
368 | 369 | GTK_DOC_V_HTML_0 = @echo " DOC Building HTML"; |
369 | GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_$(V)) | |
370 | GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY)) | |
370 | GTK_DOC_V_XREF = $(GTK_DOC_V_XREF_@AM_V@) | |
371 | GTK_DOC_V_XREF_ = $(GTK_DOC_V_XREF_@AM_DEFAULT_V@) | |
371 | 372 | GTK_DOC_V_XREF_0 = @echo " DOC Fixing cross-references"; |
372 | 373 | |
373 | 374 | #### pdf #### |
374 | GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_$(V)) | |
375 | GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY)) | |
375 | GTK_DOC_V_PDF = $(GTK_DOC_V_PDF_@AM_V@) | |
376 | GTK_DOC_V_PDF_ = $(GTK_DOC_V_PDF_@AM_DEFAULT_V@) | |
376 | 377 | GTK_DOC_V_PDF_0 = @echo " DOC Building PDF"; |
377 | 378 | all: all-am |
378 | 379 | |
590 | 591 | |
591 | 592 | setup-build.stamp: |
592 | 593 | -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ |
593 | files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ | |
594 | if test "x$$files" != "x" ; then \ | |
595 | for file in $$files ; do \ | |
596 | destdir=`dirname $(abs_builddir)/$$file`; \ | |
597 | test -d "$$destdir" || mkdir -p "$$destdir"; \ | |
598 | test -f $(abs_srcdir)/$$file && \ | |
599 | cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ | |
600 | done; \ | |
601 | fi; \ | |
594 | files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ | |
595 | if test "x$$files" != "x" ; then \ | |
596 | for file in $$files ; do \ | |
597 | destdir=`dirname $(abs_builddir)/$$file`; \ | |
598 | test -d "$$destdir" || mkdir -p "$$destdir"; \ | |
599 | test -f $(abs_srcdir)/$$file && \ | |
600 | cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ | |
601 | done; \ | |
602 | fi; \ | |
602 | 603 | fi |
603 | 604 | $(AM_V_at)touch setup-build.stamp |
604 | 605 | |
605 | 606 | scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) |
606 | 607 | $(GTK_DOC_V_SCAN)_source_dir='' ; \ |
607 | 608 | for i in $(DOC_SOURCE_DIR) ; do \ |
608 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
609 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
609 | 610 | done ; \ |
610 | 611 | gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) |
611 | 612 | $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ |
612 | scanobj_options=""; \ | |
613 | gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ | |
614 | if test "$$?" = "0"; then \ | |
615 | if test "x$(V)" = "x1"; then \ | |
616 | scanobj_options="--verbose"; \ | |
617 | fi; \ | |
613 | scanobj_options=""; \ | |
614 | gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ | |
615 | if test "$$?" = "0"; then \ | |
616 | if test "x$(V)" = "x1"; then \ | |
617 | scanobj_options="--verbose"; \ | |
618 | 618 | fi; \ |
619 | CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ | |
620 | gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ | |
619 | fi; \ | |
620 | CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ | |
621 | gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ | |
621 | 622 | else \ |
622 | for i in $(SCANOBJ_FILES) ; do \ | |
623 | test -f $$i || touch $$i ; \ | |
624 | done \ | |
623 | for i in $(SCANOBJ_FILES) ; do \ | |
624 | test -f $$i || touch $$i ; \ | |
625 | done \ | |
625 | 626 | fi |
626 | 627 | $(AM_V_at)touch scan-build.stamp |
627 | 628 | |
631 | 632 | sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent |
632 | 633 | $(GTK_DOC_V_XML)_source_dir='' ; \ |
633 | 634 | for i in $(DOC_SOURCE_DIR) ; do \ |
634 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
635 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
635 | 636 | done ; \ |
636 | 637 | gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) |
637 | 638 | $(AM_V_at)touch sgml-build.stamp |
666 | 667 | cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) |
667 | 668 | -@test "x$(HTML_IMAGES)" = "x" || \ |
668 | 669 | for file in $(HTML_IMAGES) ; do \ |
669 | if test -f $(abs_srcdir)/$$file ; then \ | |
670 | cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ | |
671 | fi; \ | |
672 | if test -f $(abs_builddir)/$$file ; then \ | |
673 | cp $(abs_builddir)/$$file $(abs_builddir)/html; \ | |
674 | fi; \ | |
670 | test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ | |
671 | test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \ | |
675 | 672 | done; |
676 | 673 | $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) |
677 | 674 | $(AM_V_at)touch html-build.stamp |
7 | 7 | <link rel="up" href="ref-dbus.html" title="D-Bus API Reference"> |
8 | 8 | <link rel="prev" href="gdbus-net.hadess.SensorProxy.html" title="net.hadess.SensorProxy"> |
9 | 9 | <link rel="next" href="ix01.html" title="Index"> |
10 | <meta name="generator" content="GTK-Doc V1.25 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.26 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
111 | 111 | </div> |
112 | 112 | </div> |
113 | 113 | <div class="footer"> |
114 | <hr>Generated by GTK-Doc V1.25</div> | |
114 | <hr>Generated by GTK-Doc V1.26</div> | |
115 | 115 | </body> |
116 | 116 | </html>⏎ |
7 | 7 | <link rel="up" href="ref-dbus.html" title="D-Bus API Reference"> |
8 | 8 | <link rel="prev" href="ref-dbus.html" title="D-Bus API Reference"> |
9 | 9 | <link rel="next" href="gdbus-net.hadess.SensorProxy.Compass.html" title="net.hadess.SensorProxy.Compass"> |
10 | <meta name="generator" content="GTK-Doc V1.25 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.26 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
187 | 187 | </div> |
188 | 188 | </div> |
189 | 189 | <div class="footer"> |
190 | <hr>Generated by GTK-Doc V1.25</div> | |
190 | <hr>Generated by GTK-Doc V1.26</div> | |
191 | 191 | </body> |
192 | 192 | </html>⏎ |
5 | 5 | <meta name="generator" content="DocBook XSL Stylesheets Vsnapshot"> |
6 | 6 | <link rel="home" href="index.html" title="Sensor Proxy Reference Manual"> |
7 | 7 | <link rel="next" href="ref-dbus.html" title="D-Bus API Reference"> |
8 | <meta name="generator" content="GTK-Doc V1.25 (XML mode)"> | |
8 | <meta name="generator" content="GTK-Doc V1.26 (XML mode)"> | |
9 | 9 | <link rel="stylesheet" href="style.css" type="text/css"> |
10 | 10 | </head> |
11 | 11 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
21 | 21 | <code class="email"><<a class="email" href="mailto:hadess@hadess.net">hadess@hadess.net</a>></code><br> |
22 | 22 | </p></div></div> |
23 | 23 | </div></div></div> |
24 | <div><p class="releaseinfo">Version 2.3 | |
24 | <div><p class="releaseinfo">Version 2.4 | |
25 | 25 | </p></div> |
26 | 26 | <div><p class="copyright">Copyright © 2015 Red Hat, Inc.</p></div> |
27 | 27 | <div><div class="legalnotice"> |
71 | 71 | </dl></div> |
72 | 72 | </div> |
73 | 73 | <div class="footer"> |
74 | <hr>Generated by GTK-Doc V1.25</div> | |
74 | <hr>Generated by GTK-Doc V1.26</div> | |
75 | 75 | </body> |
76 | 76 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Sensor Proxy Reference Manual"> |
8 | 8 | <link rel="prev" href="gdbus-net.hadess.SensorProxy.Compass.html" title="net.hadess.SensorProxy.Compass"> |
9 | 9 | <link rel="next" href="license.html" title="Appendix A. License"> |
10 | <meta name="generator" content="GTK-Doc V1.25 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.26 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
24 | 24 | <div xmlns:xlink="http://www.w3.org/1999/xlink" class="index"><div class="indexdiv"> |
25 | 25 | <h3>N</h3> |
26 | 26 | <dl> |
27 | <dt id="ientry-idm140244601422144">net.hadess.SensorProxy, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-interface-net-hadess-SensorProxy.top_of_page">net.hadess.SensorProxy</a> | |
27 | <dt id="ientry-idm140581295620688">net.hadess.SensorProxy, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-interface-net-hadess-SensorProxy.top_of_page">net.hadess.SensorProxy</a> | |
28 | 28 | </dt> |
29 | <dt id="ientry-idm140244607833040">net.hadess.SensorProxy.ClaimAccelerometer(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-method-net-hadess-SensorProxy.ClaimAccelerometer">The ClaimAccelerometer() method</a> | |
29 | <dt id="ientry-idm140581302157616">net.hadess.SensorProxy.ClaimAccelerometer(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-method-net-hadess-SensorProxy.ClaimAccelerometer">The ClaimAccelerometer() method</a> | |
30 | 30 | </dt> |
31 | <dt id="ientry-idm140244607459024">net.hadess.SensorProxy.ClaimLight(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-method-net-hadess-SensorProxy.ClaimLight">The ClaimLight() method</a> | |
31 | <dt id="ientry-idm140581302132016">net.hadess.SensorProxy.ClaimLight(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-method-net-hadess-SensorProxy.ClaimLight">The ClaimLight() method</a> | |
32 | 32 | </dt> |
33 | <dt id="ientry-idm140244600711328">net.hadess.SensorProxy.Compass, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-interface-net-hadess-SensorProxy-Compass.top_of_page">net.hadess.SensorProxy.Compass</a> | |
33 | <dt id="ientry-idm140581294781600">net.hadess.SensorProxy.Compass, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-interface-net-hadess-SensorProxy-Compass.top_of_page">net.hadess.SensorProxy.Compass</a> | |
34 | 34 | </dt> |
35 | <dt id="ientry-idm140244600646016">net.hadess.SensorProxy.Compass.ClaimCompass(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-method-net-hadess-SensorProxy-Compass.ClaimCompass">The ClaimCompass() method</a> | |
35 | <dt id="ientry-idm140581294556400">net.hadess.SensorProxy.Compass.ClaimCompass(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-method-net-hadess-SensorProxy-Compass.ClaimCompass">The ClaimCompass() method</a> | |
36 | 36 | </dt> |
37 | <dt id="ientry-idm140244602300272">net.hadess.SensorProxy.Compass.ReleaseCompass(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-method-net-hadess-SensorProxy-Compass.ReleaseCompass">The ReleaseCompass() method</a> | |
37 | <dt id="ientry-idm140581294551248">net.hadess.SensorProxy.Compass.ReleaseCompass(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-method-net-hadess-SensorProxy-Compass.ReleaseCompass">The ReleaseCompass() method</a> | |
38 | 38 | </dt> |
39 | <dt id="ientry-idm140244601891856">net.hadess.SensorProxy.Compass:CompassHeading, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-property-net-hadess-SensorProxy-Compass.CompassHeading">The "CompassHeading" property</a> | |
39 | <dt id="ientry-idm140581297335056">net.hadess.SensorProxy.Compass:CompassHeading, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-property-net-hadess-SensorProxy-Compass.CompassHeading">The "CompassHeading" property</a> | |
40 | 40 | </dt> |
41 | <dt id="ientry-idm140244602294496">net.hadess.SensorProxy.Compass:HasCompass, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-property-net-hadess-SensorProxy-Compass.HasCompass">The "HasCompass" property</a> | |
41 | <dt id="ientry-idm140581297339248">net.hadess.SensorProxy.Compass:HasCompass, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.Compass.html#gdbus-property-net-hadess-SensorProxy-Compass.HasCompass">The "HasCompass" property</a> | |
42 | 42 | </dt> |
43 | <dt id="ientry-idm140244607826832">net.hadess.SensorProxy.ReleaseAccelerometer(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-method-net-hadess-SensorProxy.ReleaseAccelerometer">The ReleaseAccelerometer() method</a> | |
43 | <dt id="ientry-idm140581302136848">net.hadess.SensorProxy.ReleaseAccelerometer(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-method-net-hadess-SensorProxy.ReleaseAccelerometer">The ReleaseAccelerometer() method</a> | |
44 | 44 | </dt> |
45 | <dt id="ientry-idm140244607820800">net.hadess.SensorProxy.ReleaseLight(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-method-net-hadess-SensorProxy.ReleaseLight">The ReleaseLight() method</a> | |
45 | <dt id="ientry-idm140581302125520">net.hadess.SensorProxy.ReleaseLight(), <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-method-net-hadess-SensorProxy.ReleaseLight">The ReleaseLight() method</a> | |
46 | 46 | </dt> |
47 | <dt id="ientry-idm140244607809888">net.hadess.SensorProxy:AccelerometerOrientation, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.AccelerometerOrientation">The "AccelerometerOrientation" property</a> | |
47 | <dt id="ientry-idm140581302114608">net.hadess.SensorProxy:AccelerometerOrientation, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.AccelerometerOrientation">The "AccelerometerOrientation" property</a> | |
48 | 48 | </dt> |
49 | <dt id="ientry-idm140244607814176">net.hadess.SensorProxy:HasAccelerometer, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.HasAccelerometer">The "HasAccelerometer" property</a> | |
49 | <dt id="ientry-idm140581302118896">net.hadess.SensorProxy:HasAccelerometer, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.HasAccelerometer">The "HasAccelerometer" property</a> | |
50 | 50 | </dt> |
51 | <dt id="ientry-idm140244601676320">net.hadess.SensorProxy:HasAmbientLight, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.HasAmbientLight">The "HasAmbientLight" property</a> | |
51 | <dt id="ientry-idm140581295579648">net.hadess.SensorProxy:HasAmbientLight, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.HasAmbientLight">The "HasAmbientLight" property</a> | |
52 | 52 | </dt> |
53 | <dt id="ientry-idm140244601667296">net.hadess.SensorProxy:LightLevel, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.LightLevel">The "LightLevel" property</a> | |
53 | <dt id="ientry-idm140581295570624">net.hadess.SensorProxy:LightLevel, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.LightLevel">The "LightLevel" property</a> | |
54 | 54 | </dt> |
55 | <dt id="ientry-idm140244601672352">net.hadess.SensorProxy:LightLevelUnit, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.LightLevelUnit">The "LightLevelUnit" property</a> | |
55 | <dt id="ientry-idm140581295575680">net.hadess.SensorProxy:LightLevelUnit, <a class="indexterm" href="gdbus-net.hadess.SensorProxy.html#gdbus-property-net-hadess-SensorProxy.LightLevelUnit">The "LightLevelUnit" property</a> | |
56 | 56 | </dt> |
57 | 57 | </dl> |
58 | 58 | </div></div> |
59 | 59 | </div> |
60 | 60 | <div class="footer"> |
61 | <hr>Generated by GTK-Doc V1.25</div> | |
61 | <hr>Generated by GTK-Doc V1.26</div> | |
62 | 62 | </body> |
63 | 63 | </html>⏎ |
6 | 6 | <link rel="home" href="index.html" title="Sensor Proxy Reference Manual"> |
7 | 7 | <link rel="up" href="index.html" title="Sensor Proxy Reference Manual"> |
8 | 8 | <link rel="prev" href="ix01.html" title="Index"> |
9 | <meta name="generator" content="GTK-Doc V1.25 (XML mode)"> | |
9 | <meta name="generator" content="GTK-Doc V1.26 (XML mode)"> | |
10 | 10 | <link rel="stylesheet" href="style.css" type="text/css"> |
11 | 11 | </head> |
12 | 12 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
701 | 701 | </p> |
702 | 702 | </div> |
703 | 703 | <div class="footer"> |
704 | <hr>Generated by GTK-Doc V1.25</div> | |
704 | <hr>Generated by GTK-Doc V1.26</div> | |
705 | 705 | </body> |
706 | 706 | </html>⏎ |
7 | 7 | <link rel="up" href="index.html" title="Sensor Proxy Reference Manual"> |
8 | 8 | <link rel="prev" href="index.html" title="Sensor Proxy Reference Manual"> |
9 | 9 | <link rel="next" href="gdbus-net.hadess.SensorProxy.html" title="net.hadess.SensorProxy"> |
10 | <meta name="generator" content="GTK-Doc V1.25 (XML mode)"> | |
10 | <meta name="generator" content="GTK-Doc V1.26 (XML mode)"> | |
11 | 11 | <link rel="stylesheet" href="style.css" type="text/css"> |
12 | 12 | </head> |
13 | 13 | <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> |
44 | 44 | </div> |
45 | 45 | </div> |
46 | 46 | <div class="footer"> |
47 | <hr>Generated by GTK-Doc V1.25</div> | |
47 | <hr>Generated by GTK-Doc V1.26</div> | |
48 | 48 | </body> |
49 | 49 | </html>⏎ |
80 | 80 | |
81 | 81 | #### setup #### |
82 | 82 | |
83 | GTK_DOC_V_SETUP=$(GTK_DOC_V_SETUP_$(V)) | |
84 | GTK_DOC_V_SETUP_=$(GTK_DOC_V_SETUP_$(AM_DEFAULT_VERBOSITY)) | |
83 | GTK_DOC_V_SETUP=$(GTK_DOC_V_SETUP_@AM_V@) | |
84 | GTK_DOC_V_SETUP_=$(GTK_DOC_V_SETUP_@AM_DEFAULT_V@) | |
85 | 85 | GTK_DOC_V_SETUP_0=@echo " DOC Preparing build"; |
86 | 86 | |
87 | 87 | setup-build.stamp: |
88 | 88 | -$(GTK_DOC_V_SETUP)if test "$(abs_srcdir)" != "$(abs_builddir)" ; then \ |
89 | files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ | |
90 | if test "x$$files" != "x" ; then \ | |
91 | for file in $$files ; do \ | |
92 | destdir=`dirname $(abs_builddir)/$$file`; \ | |
93 | test -d "$$destdir" || mkdir -p "$$destdir"; \ | |
94 | test -f $(abs_srcdir)/$$file && \ | |
95 | cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ | |
96 | done; \ | |
97 | fi; \ | |
89 | files=`echo $(SETUP_FILES) $(DOC_MODULE).types`; \ | |
90 | if test "x$$files" != "x" ; then \ | |
91 | for file in $$files ; do \ | |
92 | destdir=`dirname $(abs_builddir)/$$file`; \ | |
93 | test -d "$$destdir" || mkdir -p "$$destdir"; \ | |
94 | test -f $(abs_srcdir)/$$file && \ | |
95 | cp -pf $(abs_srcdir)/$$file $(abs_builddir)/$$file || true; \ | |
96 | done; \ | |
97 | fi; \ | |
98 | 98 | fi |
99 | 99 | $(AM_V_at)touch setup-build.stamp |
100 | 100 | |
101 | ||
102 | 101 | #### scan #### |
103 | 102 | |
104 | GTK_DOC_V_SCAN=$(GTK_DOC_V_SCAN_$(V)) | |
105 | GTK_DOC_V_SCAN_=$(GTK_DOC_V_SCAN_$(AM_DEFAULT_VERBOSITY)) | |
103 | GTK_DOC_V_SCAN=$(GTK_DOC_V_SCAN_@AM_V@) | |
104 | GTK_DOC_V_SCAN_=$(GTK_DOC_V_SCAN_@AM_DEFAULT_V@) | |
106 | 105 | GTK_DOC_V_SCAN_0=@echo " DOC Scanning header files"; |
107 | 106 | |
108 | GTK_DOC_V_INTROSPECT=$(GTK_DOC_V_INTROSPECT_$(V)) | |
109 | GTK_DOC_V_INTROSPECT_=$(GTK_DOC_V_INTROSPECT_$(AM_DEFAULT_VERBOSITY)) | |
107 | GTK_DOC_V_INTROSPECT=$(GTK_DOC_V_INTROSPECT_@AM_V@) | |
108 | GTK_DOC_V_INTROSPECT_=$(GTK_DOC_V_INTROSPECT_@AM_DEFAULT_V@) | |
110 | 109 | GTK_DOC_V_INTROSPECT_0=@echo " DOC Introspecting gobjects"; |
111 | 110 | |
112 | 111 | scan-build.stamp: setup-build.stamp $(HFILE_GLOB) $(CFILE_GLOB) |
113 | 112 | $(GTK_DOC_V_SCAN)_source_dir='' ; \ |
114 | 113 | for i in $(DOC_SOURCE_DIR) ; do \ |
115 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
114 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
116 | 115 | done ; \ |
117 | 116 | gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES) |
118 | 117 | $(GTK_DOC_V_INTROSPECT)if grep -l '^..*$$' $(DOC_MODULE).types > /dev/null 2>&1 ; then \ |
119 | scanobj_options=""; \ | |
120 | gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ | |
121 | if test "$$?" = "0"; then \ | |
122 | if test "x$(V)" = "x1"; then \ | |
123 | scanobj_options="--verbose"; \ | |
124 | fi; \ | |
118 | scanobj_options=""; \ | |
119 | gtkdoc-scangobj 2>&1 --help | grep >/dev/null "\-\-verbose"; \ | |
120 | if test "$$?" = "0"; then \ | |
121 | if test "x$(V)" = "x1"; then \ | |
122 | scanobj_options="--verbose"; \ | |
125 | 123 | fi; \ |
126 | CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ | |
127 | gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ | |
124 | fi; \ | |
125 | CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" \ | |
126 | gtkdoc-scangobj $(SCANGOBJ_OPTIONS) $$scanobj_options --module=$(DOC_MODULE); \ | |
128 | 127 | else \ |
129 | for i in $(SCANOBJ_FILES) ; do \ | |
130 | test -f $$i || touch $$i ; \ | |
131 | done \ | |
128 | for i in $(SCANOBJ_FILES) ; do \ | |
129 | test -f $$i || touch $$i ; \ | |
130 | done \ | |
132 | 131 | fi |
133 | 132 | $(AM_V_at)touch scan-build.stamp |
134 | 133 | |
137 | 136 | |
138 | 137 | #### xml #### |
139 | 138 | |
140 | GTK_DOC_V_XML=$(GTK_DOC_V_XML_$(V)) | |
141 | GTK_DOC_V_XML_=$(GTK_DOC_V_XML_$(AM_DEFAULT_VERBOSITY)) | |
139 | GTK_DOC_V_XML=$(GTK_DOC_V_XML_@AM_V@) | |
140 | GTK_DOC_V_XML_=$(GTK_DOC_V_XML_@AM_DEFAULT_V@) | |
142 | 141 | GTK_DOC_V_XML_0=@echo " DOC Building XML"; |
143 | 142 | |
144 | 143 | sgml-build.stamp: setup-build.stamp $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt $(expand_content_files) xml/gtkdocentities.ent |
145 | 144 | $(GTK_DOC_V_XML)_source_dir='' ; \ |
146 | 145 | for i in $(DOC_SOURCE_DIR) ; do \ |
147 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
146 | _source_dir="$${_source_dir} --source-dir=$$i" ; \ | |
148 | 147 | done ; \ |
149 | 148 | gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS) |
150 | 149 | $(AM_V_at)touch sgml-build.stamp |
165 | 164 | |
166 | 165 | #### html #### |
167 | 166 | |
168 | GTK_DOC_V_HTML=$(GTK_DOC_V_HTML_$(V)) | |
169 | GTK_DOC_V_HTML_=$(GTK_DOC_V_HTML_$(AM_DEFAULT_VERBOSITY)) | |
167 | GTK_DOC_V_HTML=$(GTK_DOC_V_HTML_@AM_V@) | |
168 | GTK_DOC_V_HTML_=$(GTK_DOC_V_HTML_@AM_DEFAULT_V@) | |
170 | 169 | GTK_DOC_V_HTML_0=@echo " DOC Building HTML"; |
171 | 170 | |
172 | GTK_DOC_V_XREF=$(GTK_DOC_V_XREF_$(V)) | |
173 | GTK_DOC_V_XREF_=$(GTK_DOC_V_XREF_$(AM_DEFAULT_VERBOSITY)) | |
171 | GTK_DOC_V_XREF=$(GTK_DOC_V_XREF_@AM_V@) | |
172 | GTK_DOC_V_XREF_=$(GTK_DOC_V_XREF_@AM_DEFAULT_V@) | |
174 | 173 | GTK_DOC_V_XREF_0=@echo " DOC Fixing cross-references"; |
175 | 174 | |
176 | 175 | html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) |
189 | 188 | cd html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE) |
190 | 189 | -@test "x$(HTML_IMAGES)" = "x" || \ |
191 | 190 | for file in $(HTML_IMAGES) ; do \ |
192 | if test -f $(abs_srcdir)/$$file ; then \ | |
193 | cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ | |
194 | fi; \ | |
195 | if test -f $(abs_builddir)/$$file ; then \ | |
196 | cp $(abs_builddir)/$$file $(abs_builddir)/html; \ | |
197 | fi; \ | |
191 | test -f $(abs_srcdir)/$$file && cp $(abs_srcdir)/$$file $(abs_builddir)/html; \ | |
192 | test -f $(abs_builddir)/$$file && cp $(abs_builddir)/$$file $(abs_builddir)/html; \ | |
198 | 193 | done; |
199 | 194 | $(GTK_DOC_V_XREF)gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS) |
200 | 195 | $(AM_V_at)touch html-build.stamp |
201 | 196 | |
202 | 197 | #### pdf #### |
203 | 198 | |
204 | GTK_DOC_V_PDF=$(GTK_DOC_V_PDF_$(V)) | |
205 | GTK_DOC_V_PDF_=$(GTK_DOC_V_PDF_$(AM_DEFAULT_VERBOSITY)) | |
199 | GTK_DOC_V_PDF=$(GTK_DOC_V_PDF_@AM_V@) | |
200 | GTK_DOC_V_PDF_=$(GTK_DOC_V_PDF_@AM_DEFAULT_V@) | |
206 | 201 | GTK_DOC_V_PDF_0=@echo " DOC Building PDF"; |
207 | 202 | |
208 | 203 | pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files) $(expand_content_files) |
315 | 315 | docdir = @docdir@ |
316 | 316 | dvidir = @dvidir@ |
317 | 317 | exec_prefix = @exec_prefix@ |
318 | geoclue_user = @geoclue_user@ | |
318 | 319 | host = @host@ |
319 | 320 | host_alias = @host_alias@ |
320 | 321 | host_cpu = @host_cpu@ |
198 | 198 | drv_data->parent = g_udev_device_get_parent (drv_data->dev); |
199 | 199 | drv_data->dev_path = g_udev_device_get_device_file (device); |
200 | 200 | drv_data->name = g_udev_device_get_property (device, "NAME"); |
201 | if (!drv_data->name) | |
202 | drv_data->name = g_udev_device_get_property (device, "ID_MODEL"); | |
201 | 203 | drv_data->client = g_udev_client_new (subsystems); |
202 | 204 | |
203 | 205 | mount_matrix = g_udev_device_get_property (device, "ACCEL_MOUNT_MATRIX"); |
43 | 43 | unsigned location; |
44 | 44 | }; |
45 | 45 | |
46 | #define _IIO_GETU(__data, __idx, __size, __shift) \ | |
47 | (((guint##__size) (((const guint8 *) (__data))[__idx])) << (__shift)) | |
48 | ||
49 | #define _IIO_READ_UINT32_BE(data) (_IIO_GETU (data, 0, 32, 24) | \ | |
50 | _IIO_GETU (data, 1, 32, 16) | \ | |
51 | _IIO_GETU (data, 2, 32, 8) | \ | |
52 | _IIO_GETU (data, 3, 32, 0)) | |
53 | ||
54 | #define _IIO_READ_UINT32_LE(data) (_IIO_GETU (data, 3, 32, 24) | \ | |
55 | _IIO_GETU (data, 2, 32, 16) | \ | |
56 | _IIO_GETU (data, 1, 32, 8) | \ | |
57 | _IIO_GETU (data, 0, 32, 0)) | |
58 | ||
59 | static inline guint32 | |
60 | iio_readu32 (struct iio_channel_info *info, const guint8 * data) | |
61 | { | |
62 | if (info->be) | |
63 | return _IIO_READ_UINT32_BE (data + info->location); | |
64 | return _IIO_READ_UINT32_LE(data + info->location); | |
65 | } | |
66 | ||
67 | #define _IIO_GET(__data, __idx, __size, __shift) \ | |
68 | (((guint##__size) (((const guint8 *) (__data))[__idx])) << (__shift)) | |
69 | ||
70 | #define _IIO_READ_INT32_BE(data) (_IIO_GET (data, 0, 32, 24) | \ | |
71 | _IIO_GET (data, 1, 32, 16) | \ | |
72 | _IIO_GET (data, 2, 32, 8) | \ | |
73 | _IIO_GET (data, 3, 32, 0)) | |
74 | ||
75 | #define _IIO_READ_INT32_LE(data) (_IIO_GET (data, 3, 32, 24) | \ | |
76 | _IIO_GET (data, 2, 32, 16) | \ | |
77 | _IIO_GET (data, 1, 32, 8) | \ | |
78 | _IIO_GET (data, 0, 32, 0)) | |
79 | ||
80 | static inline gint32 | |
81 | iio_read32 (struct iio_channel_info *info, const gint8 * data) | |
82 | { | |
83 | if (info->be) | |
84 | return _IIO_READ_INT32_BE (data + info->location); | |
85 | return _IIO_READ_INT32_LE(data + info->location); | |
86 | } | |
87 | ||
46 | 88 | static char * |
47 | 89 | iioutils_break_up_name (const char *name) |
48 | 90 | { |
492 | 534 | /* only a few cases implemented so far */ |
493 | 535 | case 4: |
494 | 536 | if (!buffer_data->channels[k]->is_signed) { |
495 | guint32 val = *(data + buffer_data->channels[k]->location); | |
537 | guint32 val = iio_readu32(buffer_data->channels[k], (guint8 *) data); | |
496 | 538 | val = val >> buffer_data->channels[k]->shift; |
497 | 539 | if (buffer_data->channels[k]->bits_used < 32) |
498 | 540 | val &= ((guint32) 1 << buffer_data->channels[k]->bits_used) - 1; |
499 | 541 | *ch_val = (int) val; |
500 | 542 | *ch_present = TRUE; |
501 | 543 | } else { |
502 | gint32 val = *(data + buffer_data->channels[k]->location); | |
544 | gint32 val = iio_read32(buffer_data->channels[k], (gint8 *) data); | |
503 | 545 | val = val >> buffer_data->channels[k]->shift; |
504 | 546 | if (buffer_data->channels[k]->bits_used < 32) |
505 | 547 | val &= ((guint32) 1 << buffer_data->channels[k]->bits_used) - 1; |